@acorex-platform/module-measurement-core-client 0.0.32 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-measurement-dimension.mjs +280 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-measurement-dimension.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-measurement-range.mjs +405 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-measurement-range.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-quantity-type.mjs +242 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-quantity-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-size-item.mjs +250 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-size-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-size-rule.mjs +327 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-size-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-sizing-dimension-usage.mjs +276 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-sizing-dimension-usage.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-sizing-profile.mjs +326 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-sizing-profile.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-unit-conversion.mjs +291 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-unit-conversion.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-unit-of-measure.mjs +315 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entities-unit-of-measure.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-acorex-platform-module-measurement-core-client-contracts-entity-catalog-D_3qAB6g.mjs +99 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-acorex-platform-module-measurement-core-client-contracts-entity-catalog-D_3qAB6g.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-measurement-dimension.entity-hKoZ7MYW.mjs +208 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-measurement-dimension.entity-hKoZ7MYW.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-measurement-range.entity-5TG_paCh.mjs +333 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-measurement-range.entity-5TG_paCh.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-quantity-type.entity-qM6kczXO.mjs +170 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-quantity-type.entity-qM6kczXO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-item.entity-DBZTjTbr.mjs +178 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-item.entity-DBZTjTbr.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-rule.entity-DdsOkrLS.mjs +255 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-rule.entity-DdsOkrLS.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-dimension-usage.entity-D0L5v_Lw.mjs +204 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-dimension-usage.entity-D0L5v_Lw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-profile.entity-BWZ882vO.mjs +254 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-profile.entity-BWZ882vO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-unit-conversion.entity-DDLTaqsv.mjs +219 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-unit-conversion.entity-DDLTaqsv.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-unit-of-measure.entity-CYJDuSvX.mjs +243 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog-unit-of-measure.entity-CYJDuSvX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-measurement-core-client-local-entities.mjs +37 -0
- package/fesm2022/acorex-platform-module-measurement-core-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-measurement-core-client.mjs.map +1 -1
- package/package.json +45 -1
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-measurement-dimension.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-measurement-range.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-quantity-type.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-size-item.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-size-rule.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-sizing-dimension-usage.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-sizing-profile.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-unit-conversion.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entities-unit-of-measure.d.ts +5 -0
- package/types/acorex-platform-module-measurement-core-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-measurement-core-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-measurement-core-client-contracts-entity-catalog-acorex-platform-module-measurement-core-client-contracts-entity-catalog-D_3qAB6g.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function sizingDimensionUsageFactory() {
|
|
8
|
+
const sections = [
|
|
9
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
10
|
+
];
|
|
11
|
+
const propertyLayouts = [
|
|
12
|
+
{ name: 'sizeChartId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
13
|
+
{ name: 'measurementDimensionId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
14
|
+
{ name: 'required', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
|
|
15
|
+
{ name: 'primary', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
|
|
16
|
+
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
|
|
17
|
+
{ name: 'priority', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
18
|
+
];
|
|
19
|
+
const entityDef = {
|
|
20
|
+
module: RootConfig.module.name,
|
|
21
|
+
name: RootConfig.entities.sizingDimensionUsage.name,
|
|
22
|
+
title: RootConfig.entities.sizingDimensionUsage.title,
|
|
23
|
+
icon: RootConfig.entities.sizingDimensionUsage.icon,
|
|
24
|
+
formats: {
|
|
25
|
+
individual: RootConfig.entities.sizingDimensionUsage.title,
|
|
26
|
+
plural: RootConfig.entities.sizingDimensionUsage.titlePlural,
|
|
27
|
+
searchResult: {
|
|
28
|
+
title: '{{ measurementDimension.title }}',
|
|
29
|
+
description: '{{ sizeChart.title }}',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
plugins: [{ name: 'history' }, { name: 'compare' }],
|
|
33
|
+
groups: [
|
|
34
|
+
{ id: 'basic-info', title: '@measurement-core:sizes.entities.sizing-dimension-usage.groups.basic-info' },
|
|
35
|
+
],
|
|
36
|
+
properties: [
|
|
37
|
+
{
|
|
38
|
+
name: 'id',
|
|
39
|
+
title: '@general:terms.common.id',
|
|
40
|
+
groupId: 'basic-info',
|
|
41
|
+
schema: {
|
|
42
|
+
dataType: 'uuid',
|
|
43
|
+
visible: false,
|
|
44
|
+
readonly: true,
|
|
45
|
+
unique: { enabled: true },
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'sizeChartId',
|
|
50
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sizing-profile.title',
|
|
51
|
+
groupId: 'basic-info',
|
|
52
|
+
options: {
|
|
53
|
+
sort: { enabled: true },
|
|
54
|
+
filter: {
|
|
55
|
+
advance: { enabled: true },
|
|
56
|
+
inline: { enabled: true },
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
schema: {
|
|
60
|
+
dataType: 'string',
|
|
61
|
+
interface: {
|
|
62
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
63
|
+
options: {
|
|
64
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sizingProfile.name}`,
|
|
65
|
+
expose: [
|
|
66
|
+
{ source: 'id', target: 'sizeChartId' },
|
|
67
|
+
{ source: 'title', target: 'sizeChart.title' },
|
|
68
|
+
{ source: 'code', target: 'sizeChart.code' },
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
validations: [{ rule: 'required' }],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'measurementDimensionId',
|
|
77
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.measurement-dimension.title',
|
|
78
|
+
groupId: 'basic-info',
|
|
79
|
+
options: {
|
|
80
|
+
sort: { enabled: true },
|
|
81
|
+
filter: {
|
|
82
|
+
advance: { enabled: true },
|
|
83
|
+
inline: { enabled: true },
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
schema: {
|
|
87
|
+
dataType: 'string',
|
|
88
|
+
interface: {
|
|
89
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
90
|
+
options: {
|
|
91
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.measurementDimension.name}`,
|
|
92
|
+
expose: [
|
|
93
|
+
{ source: 'id', target: 'measurementDimensionId' },
|
|
94
|
+
{ source: 'title', target: 'measurementDimension.title' },
|
|
95
|
+
{ source: 'code', target: 'measurementDimension.code' },
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
validations: [{ rule: 'required' }],
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'required',
|
|
104
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.required.title',
|
|
105
|
+
groupId: 'basic-info',
|
|
106
|
+
schema: {
|
|
107
|
+
dataType: 'boolean',
|
|
108
|
+
interface: {
|
|
109
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
110
|
+
options: {
|
|
111
|
+
trulyText: '@general:terms.common.yes-no.yes',
|
|
112
|
+
falsyText: '@general:terms.common.yes-no.no',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'primary',
|
|
119
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.primary.title',
|
|
120
|
+
groupId: 'basic-info',
|
|
121
|
+
schema: {
|
|
122
|
+
dataType: 'boolean',
|
|
123
|
+
interface: {
|
|
124
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
125
|
+
options: {
|
|
126
|
+
trulyText: '@general:terms.common.yes-no.yes',
|
|
127
|
+
falsyText: '@general:terms.common.yes-no.no',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'sortOrder',
|
|
134
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sort-order.title',
|
|
135
|
+
groupId: 'basic-info',
|
|
136
|
+
schema: {
|
|
137
|
+
dataType: 'number',
|
|
138
|
+
interface: {
|
|
139
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
140
|
+
options: {
|
|
141
|
+
minValue: 0,
|
|
142
|
+
placeholder: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sort-order.placeholder',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
name: 'priority',
|
|
149
|
+
title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.priority.title',
|
|
150
|
+
groupId: 'basic-info',
|
|
151
|
+
schema: {
|
|
152
|
+
dataType: 'number',
|
|
153
|
+
interface: {
|
|
154
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
155
|
+
options: {
|
|
156
|
+
placeholder: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.priority.placeholder',
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
columns: [
|
|
163
|
+
{ name: 'sizeChartId', options: { width: '180px', dataPath: 'sizeChart.title', order: 1 } },
|
|
164
|
+
{ name: 'measurementDimensionId', options: { width: '200px', dataPath: 'measurementDimension.title', order: 2 } },
|
|
165
|
+
{ name: 'required', options: { width: '90px', order: 3 } },
|
|
166
|
+
{ name: 'primary', options: { width: '90px', order: 4 } },
|
|
167
|
+
{ name: 'sortOrder', options: { width: '100px', order: 5 } },
|
|
168
|
+
],
|
|
169
|
+
interfaces: {
|
|
170
|
+
master: {
|
|
171
|
+
create: {
|
|
172
|
+
sections,
|
|
173
|
+
properties: propertyLayouts,
|
|
174
|
+
},
|
|
175
|
+
update: {
|
|
176
|
+
sections,
|
|
177
|
+
properties: propertyLayouts,
|
|
178
|
+
},
|
|
179
|
+
single: {
|
|
180
|
+
title: '{{ measurementDimension.title }}',
|
|
181
|
+
sections,
|
|
182
|
+
properties: propertyLayouts,
|
|
183
|
+
actions: [...entityMasterRecordActions()],
|
|
184
|
+
},
|
|
185
|
+
list: {
|
|
186
|
+
actions: [...entityMasterCrudActions()],
|
|
187
|
+
views: [
|
|
188
|
+
createAllQueryView({
|
|
189
|
+
sorts: [
|
|
190
|
+
{ name: 'sizeChartId', dir: 'asc' },
|
|
191
|
+
{ name: 'sortOrder', dir: 'asc' },
|
|
192
|
+
],
|
|
193
|
+
}),
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
};
|
|
199
|
+
return entityDef;
|
|
200
|
+
}
|
|
201
|
+
//#endregion
|
|
202
|
+
|
|
203
|
+
export { sizingDimensionUsageFactory };
|
|
204
|
+
//# sourceMappingURL=acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-dimension-usage.entity-D0L5v_Lw.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-dimension-usage.entity-D0L5v_Lw.mjs","sources":["../../../../libs/modules/measurement-core/contracts/src/entities/sizing-dimension-usage/sizing-dimension-usage.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function sizingDimensionUsageFactory(): Promise<AXPEntity> {\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n ];\n\n const propertyLayouts = [\n { name: 'sizeChartId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'measurementDimensionId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'required', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'primary', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'priority', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.sizingDimensionUsage.name,\n title: RootConfig.entities.sizingDimensionUsage.title,\n icon: RootConfig.entities.sizingDimensionUsage.icon,\n formats: {\n individual: RootConfig.entities.sizingDimensionUsage.title,\n plural: RootConfig.entities.sizingDimensionUsage.titlePlural,\n searchResult: {\n title: '{{ measurementDimension.title }}',\n description: '{{ sizeChart.title }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }],\n groups: [\n { id: 'basic-info', title: '@measurement-core:sizes.entities.sizing-dimension-usage.groups.basic-info' },\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: 'sizeChartId',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sizing-profile.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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.sizingProfile.name}`,\n expose: [\n { source: 'id', target: 'sizeChartId' },\n { source: 'title', target: 'sizeChart.title' },\n { source: 'code', target: 'sizeChart.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'measurementDimensionId',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.measurement-dimension.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.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.measurementDimension.name}`,\n expose: [\n { source: 'id', target: 'measurementDimensionId' },\n { source: 'title', target: 'measurementDimension.title' },\n { source: 'code', target: 'measurementDimension.code' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'required',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.required.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n options: {\n trulyText: '@general:terms.common.yes-no.yes',\n falsyText: '@general:terms.common.yes-no.no',\n },\n },\n },\n },\n {\n name: 'primary',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.primary.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n options: {\n trulyText: '@general:terms.common.yes-no.yes',\n falsyText: '@general:terms.common.yes-no.no',\n },\n },\n },\n },\n {\n name: 'sortOrder',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sort-order.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.sort-order.placeholder',\n },\n },\n },\n },\n {\n name: 'priority',\n title: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.priority.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n placeholder: '@measurement-core:sizes.entities.sizing-dimension-usage.fields.priority.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'sizeChartId', options: { width: '180px', dataPath: 'sizeChart.title', order: 1 } },\n { name: 'measurementDimensionId', options: { width: '200px', dataPath: 'measurementDimension.title', order: 2 } },\n { name: 'required', options: { width: '90px', order: 3 } },\n { name: 'primary', options: { width: '90px', order: 4 } },\n { name: 'sortOrder', options: { width: '100px', 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: '{{ measurementDimension.title }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'sizeChartId', dir: 'asc' },\n { name: 'sortOrder', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,2BAA2B,GAAA;AAC/C,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;KACrE;AAED,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QACjF,EAAE,IAAI,EAAE,wBAAwB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAC5F,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAA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E,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;AACvC,oBAAA,KAAK,EAAE;AACL,wBAAA,kBAAkB,CAAC;AACjB,4BAAA,KAAK,EAAE;AACL,gCAAA,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,EAAE;AACnC,gCAAA,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,KAAK,EAAE;AAClC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-measurement-core-client-contracts-entity-catalog-acorex-platform-module-measurement-core-client-contracts-entity-catalog-D_3qAB6g.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function sizingProfileFactory() {
|
|
8
|
+
const sections = [
|
|
9
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
10
|
+
{ id: 'configuration', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
11
|
+
];
|
|
12
|
+
const propertyLayouts = [
|
|
13
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
14
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
|
|
15
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
16
|
+
{ name: 'regionId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
17
|
+
{ name: 'matchStrategy', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
18
|
+
{ name: 'enforceNoOverlap', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
19
|
+
];
|
|
20
|
+
const entityDef = {
|
|
21
|
+
module: RootConfig.module.name,
|
|
22
|
+
name: RootConfig.entities.sizingProfile.name,
|
|
23
|
+
title: RootConfig.entities.sizingProfile.title,
|
|
24
|
+
icon: RootConfig.entities.sizingProfile.icon,
|
|
25
|
+
formats: {
|
|
26
|
+
individual: RootConfig.entities.sizingProfile.title,
|
|
27
|
+
plural: RootConfig.entities.sizingProfile.titlePlural,
|
|
28
|
+
searchResult: {
|
|
29
|
+
title: '{{ title }}',
|
|
30
|
+
description: '{{ code }}',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
plugins: [
|
|
34
|
+
{ name: 'history' },
|
|
35
|
+
{ name: 'compare' },
|
|
36
|
+
{ name: 'disable' },
|
|
37
|
+
{
|
|
38
|
+
name: 'category',
|
|
39
|
+
options: {
|
|
40
|
+
appearance: { icon: true, color: true },
|
|
41
|
+
metaData: { enabled: true, title: 'Meta Data Configuration' },
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
relatedEntities: [
|
|
46
|
+
{
|
|
47
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sizeItem.name}`,
|
|
48
|
+
title: RootConfig.entities.sizeItem.titlePlural,
|
|
49
|
+
icon: RootConfig.entities.sizeItem.icon,
|
|
50
|
+
layout: {
|
|
51
|
+
type: 'page-list',
|
|
52
|
+
},
|
|
53
|
+
columns: ['code', 'title', 'sortOrder'],
|
|
54
|
+
conditions: [entityDetailsSimpleCondition('sizeChartId')],
|
|
55
|
+
actions: [...entityDetailsCrudActions('sizeChartId')],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sizingDimensionUsage.name}`,
|
|
59
|
+
title: RootConfig.entities.sizingDimensionUsage.titlePlural,
|
|
60
|
+
icon: RootConfig.entities.sizingDimensionUsage.icon,
|
|
61
|
+
layout: {
|
|
62
|
+
type: 'page-list',
|
|
63
|
+
},
|
|
64
|
+
columns: ['measurementDimensionId', 'required', 'primary', 'sortOrder'],
|
|
65
|
+
conditions: [entityDetailsSimpleCondition('sizeChartId')],
|
|
66
|
+
actions: [...entityDetailsCrudActions('sizeChartId')],
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sizeRule.name}`,
|
|
70
|
+
title: RootConfig.entities.sizeRule.titlePlural,
|
|
71
|
+
icon: RootConfig.entities.sizeRule.icon,
|
|
72
|
+
layout: {
|
|
73
|
+
type: 'page-list',
|
|
74
|
+
},
|
|
75
|
+
columns: ['sizeChartId', 'sizeItemId', 'measurementDimensionId', 'measurementRangeId', 'matchBehavior', 'priority'],
|
|
76
|
+
conditions: [entityDetailsSimpleCondition('sizeChartId')],
|
|
77
|
+
actions: [...entityDetailsCrudActions('sizeChartId')],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
groups: [
|
|
81
|
+
{ id: 'basic-info', title: '@measurement-core:sizes.entities.sizing-profile.groups.basic-info' },
|
|
82
|
+
{ id: 'configuration', title: '@measurement-core:sizes.entities.sizing-profile.groups.configuration' },
|
|
83
|
+
],
|
|
84
|
+
properties: [
|
|
85
|
+
{
|
|
86
|
+
name: 'id',
|
|
87
|
+
title: '@general:terms.common.id',
|
|
88
|
+
groupId: 'basic-info',
|
|
89
|
+
schema: {
|
|
90
|
+
dataType: 'uuid',
|
|
91
|
+
visible: false,
|
|
92
|
+
readonly: true,
|
|
93
|
+
unique: { enabled: true },
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'code',
|
|
98
|
+
title: '@general:terms.common.code',
|
|
99
|
+
groupId: 'basic-info',
|
|
100
|
+
options: {
|
|
101
|
+
sort: { enabled: true },
|
|
102
|
+
filter: {
|
|
103
|
+
advance: { enabled: true },
|
|
104
|
+
inline: { enabled: true },
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
schema: {
|
|
108
|
+
dataType: 'string',
|
|
109
|
+
interface: {
|
|
110
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
111
|
+
options: {
|
|
112
|
+
placeholder: '@measurement-core:sizes.entities.sizing-profile.fields.code.placeholder',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
unique: { enabled: true },
|
|
116
|
+
},
|
|
117
|
+
validations: [{ rule: 'required' }],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'title',
|
|
121
|
+
title: '@general:terms.common.title',
|
|
122
|
+
groupId: 'basic-info',
|
|
123
|
+
options: {
|
|
124
|
+
sort: { enabled: true },
|
|
125
|
+
filter: {
|
|
126
|
+
advance: { enabled: true },
|
|
127
|
+
inline: { enabled: true },
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
schema: {
|
|
131
|
+
dataType: 'string',
|
|
132
|
+
interface: {
|
|
133
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
134
|
+
options: {
|
|
135
|
+
placeholder: '@measurement-core:sizes.entities.sizing-profile.fields.title.placeholder',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
validations: [{ rule: 'required' }],
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'description',
|
|
143
|
+
title: '@general:terms.common.description',
|
|
144
|
+
groupId: 'basic-info',
|
|
145
|
+
schema: {
|
|
146
|
+
dataType: 'string',
|
|
147
|
+
interface: {
|
|
148
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
149
|
+
options: {
|
|
150
|
+
rows: 3,
|
|
151
|
+
placeholder: '@measurement-core:sizes.entities.sizing-profile.fields.description.placeholder',
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'regionId',
|
|
158
|
+
title: '@measurement-core:sizes.entities.sizing-profile.fields.region.title',
|
|
159
|
+
groupId: 'configuration',
|
|
160
|
+
options: {
|
|
161
|
+
sort: { enabled: true },
|
|
162
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
163
|
+
},
|
|
164
|
+
schema: {
|
|
165
|
+
dataType: 'string',
|
|
166
|
+
interface: {
|
|
167
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
168
|
+
options: {
|
|
169
|
+
entity: 'LocationManagement.GeographicRegion',
|
|
170
|
+
valueField: 'id',
|
|
171
|
+
textField: 'title',
|
|
172
|
+
columns: ['code', 'title'],
|
|
173
|
+
expose: [
|
|
174
|
+
{ source: 'id', target: 'region.id' },
|
|
175
|
+
{ source: 'title', target: 'region.title' },
|
|
176
|
+
],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'matchStrategy',
|
|
183
|
+
title: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.title',
|
|
184
|
+
groupId: 'configuration',
|
|
185
|
+
schema: {
|
|
186
|
+
dataType: 'string',
|
|
187
|
+
interface: {
|
|
188
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
189
|
+
options: {
|
|
190
|
+
valueField: 'value',
|
|
191
|
+
textField: 'text',
|
|
192
|
+
dataSource: [
|
|
193
|
+
{ value: 'primary-first', text: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.options.primary-first' },
|
|
194
|
+
{ value: 'all-required', text: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.options.all-required' },
|
|
195
|
+
],
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
name: 'enforceNoOverlap',
|
|
202
|
+
title: '@measurement-core:sizes.entities.sizing-profile.fields.enforce-no-overlap.title',
|
|
203
|
+
groupId: 'configuration',
|
|
204
|
+
schema: {
|
|
205
|
+
dataType: 'boolean',
|
|
206
|
+
interface: {
|
|
207
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
208
|
+
options: {
|
|
209
|
+
trulyText: '@general:terms.common.yes-no.yes',
|
|
210
|
+
falsyText: '@general:terms.common.yes-no.no',
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
columns: [
|
|
217
|
+
{ name: 'code', options: { width: '140px', order: 1 } },
|
|
218
|
+
{ name: 'title', options: { width: '220px', order: 2 } },
|
|
219
|
+
{ name: 'region', options: { width: '140px', order: 3 } },
|
|
220
|
+
{ name: 'description', options: { width: '220px', order: 4 } },
|
|
221
|
+
],
|
|
222
|
+
interfaces: {
|
|
223
|
+
master: {
|
|
224
|
+
create: {
|
|
225
|
+
sections,
|
|
226
|
+
properties: propertyLayouts,
|
|
227
|
+
},
|
|
228
|
+
update: {
|
|
229
|
+
sections,
|
|
230
|
+
properties: propertyLayouts,
|
|
231
|
+
},
|
|
232
|
+
single: {
|
|
233
|
+
title: '{{ title }}',
|
|
234
|
+
sections,
|
|
235
|
+
properties: propertyLayouts,
|
|
236
|
+
actions: [...entityMasterRecordActions()],
|
|
237
|
+
},
|
|
238
|
+
list: {
|
|
239
|
+
actions: [...entityMasterCrudActions()],
|
|
240
|
+
views: [
|
|
241
|
+
createAllQueryView({
|
|
242
|
+
sorts: [{ name: 'code', dir: 'asc' }],
|
|
243
|
+
}),
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
};
|
|
249
|
+
return entityDef;
|
|
250
|
+
}
|
|
251
|
+
//#endregion
|
|
252
|
+
|
|
253
|
+
export { sizingProfileFactory };
|
|
254
|
+
//# sourceMappingURL=acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-profile.entity-BWZ882vO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-measurement-core-client-contracts-entity-catalog-sizing-profile.entity-BWZ882vO.mjs","sources":["../../../../libs/modules/measurement-core/contracts/src/entities/sizing-profile/sizing-profile.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nexport async function sizingProfileFactory(): Promise<AXPEntity> {\n const sections = [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'configuration', 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: 8, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'regionId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'matchStrategy', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'enforceNoOverlap', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.sizingProfile.name,\n title: RootConfig.entities.sizingProfile.title,\n icon: RootConfig.entities.sizingProfile.icon,\n formats: {\n individual: RootConfig.entities.sizingProfile.title,\n plural: RootConfig.entities.sizingProfile.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ code }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'compare' },\n { name: 'disable' },\n {\n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n metaData: { enabled: true, title: 'Meta Data Configuration' },\n },\n },\n ],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.sizeItem.name}`,\n title: RootConfig.entities.sizeItem.titlePlural,\n icon: RootConfig.entities.sizeItem.icon,\n layout: {\n type: 'page-list',\n },\n columns: ['code', 'title', 'sortOrder'],\n conditions: [entityDetailsSimpleCondition('sizeChartId')],\n actions: [...entityDetailsCrudActions('sizeChartId')],\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.sizingDimensionUsage.name}`,\n title: RootConfig.entities.sizingDimensionUsage.titlePlural,\n icon: RootConfig.entities.sizingDimensionUsage.icon,\n layout: {\n type: 'page-list',\n },\n columns: ['measurementDimensionId', 'required', 'primary', 'sortOrder'],\n conditions: [entityDetailsSimpleCondition('sizeChartId')],\n actions: [...entityDetailsCrudActions('sizeChartId')],\n },\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.sizeRule.name}`,\n title: RootConfig.entities.sizeRule.titlePlural,\n icon: RootConfig.entities.sizeRule.icon,\n layout: {\n type: 'page-list',\n },\n columns: ['sizeChartId', 'sizeItemId', 'measurementDimensionId', 'measurementRangeId', 'matchBehavior', 'priority'],\n conditions: [entityDetailsSimpleCondition('sizeChartId')],\n actions: [...entityDetailsCrudActions('sizeChartId')],\n },\n ],\n groups: [\n { id: 'basic-info', title: '@measurement-core:sizes.entities.sizing-profile.groups.basic-info' },\n { id: 'configuration', title: '@measurement-core:sizes.entities.sizing-profile.groups.configuration' },\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 placeholder: '@measurement-core:sizes.entities.sizing-profile.fields.code.placeholder',\n },\n },\n unique: { enabled: true },\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: '@measurement-core:sizes.entities.sizing-profile.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@measurement-core:sizes.entities.sizing-profile.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'regionId',\n title: '@measurement-core:sizes.entities.sizing-profile.fields.region.title',\n groupId: 'configuration',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'LocationManagement.GeographicRegion',\n valueField: 'id',\n textField: 'title',\n columns: ['code', 'title'],\n expose: [\n { source: 'id', target: 'region.id' },\n { source: 'title', target: 'region.title' },\n ],\n },\n },\n },\n },\n {\n name: 'matchStrategy',\n title: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.title',\n groupId: 'configuration',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'primary-first', text: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.options.primary-first' },\n { value: 'all-required', text: '@measurement-core:sizes.entities.sizing-profile.fields.match-strategy.options.all-required' },\n ],\n },\n },\n },\n },\n {\n name: 'enforceNoOverlap',\n title: '@measurement-core:sizes.entities.sizing-profile.fields.enforce-no-overlap.title',\n groupId: 'configuration',\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n options: {\n trulyText: '@general:terms.common.yes-no.yes',\n falsyText: '@general:terms.common.yes-no.no',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'code', options: { width: '140px', order: 1 } },\n { name: 'title', options: { width: '220px', order: 2 } },\n { name: 'region', options: { width: '140px', order: 3 } },\n { name: 'description', options: { width: '220px', 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"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,oBAAoB,GAAA;AACxC,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACpE,QAAA,EAAE,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;KACxE;AAED,IAAA,MAAM,eAAe,GAAG;QACtB,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QACzE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAC1E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,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