@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,178 @@
|
|
|
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 sizeItemFactory() {
|
|
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: 'code', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
|
|
14
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 3 } } } },
|
|
15
|
+
{ name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },
|
|
16
|
+
];
|
|
17
|
+
const entityDef = {
|
|
18
|
+
module: RootConfig.module.name,
|
|
19
|
+
name: RootConfig.entities.sizeItem.name,
|
|
20
|
+
title: RootConfig.entities.sizeItem.title,
|
|
21
|
+
icon: RootConfig.entities.sizeItem.icon,
|
|
22
|
+
formats: {
|
|
23
|
+
individual: RootConfig.entities.sizeItem.title,
|
|
24
|
+
plural: RootConfig.entities.sizeItem.titlePlural,
|
|
25
|
+
searchResult: {
|
|
26
|
+
title: '{{ title || code }}',
|
|
27
|
+
description: '{{ sizeChart.title }}',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'disable' }],
|
|
31
|
+
groups: [
|
|
32
|
+
{ id: 'basic-info', title: '@measurement-core:sizes.entities.size-item.groups.basic-info' },
|
|
33
|
+
],
|
|
34
|
+
properties: [
|
|
35
|
+
{
|
|
36
|
+
name: 'id',
|
|
37
|
+
title: '@general:terms.common.id',
|
|
38
|
+
groupId: 'basic-info',
|
|
39
|
+
schema: {
|
|
40
|
+
dataType: 'uuid',
|
|
41
|
+
visible: false,
|
|
42
|
+
readonly: true,
|
|
43
|
+
unique: { enabled: true },
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'sizeChartId',
|
|
48
|
+
title: '@measurement-core:sizes.entities.size-item.fields.sizing-profile.title',
|
|
49
|
+
groupId: 'basic-info',
|
|
50
|
+
options: {
|
|
51
|
+
sort: { enabled: true },
|
|
52
|
+
filter: {
|
|
53
|
+
advance: { enabled: true },
|
|
54
|
+
inline: { enabled: true },
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
schema: {
|
|
58
|
+
dataType: 'string',
|
|
59
|
+
interface: {
|
|
60
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
61
|
+
options: {
|
|
62
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sizingProfile.name}`,
|
|
63
|
+
expose: [
|
|
64
|
+
{ source: 'id', target: 'sizeChartId' },
|
|
65
|
+
{ source: 'title', target: 'sizeChart.title' },
|
|
66
|
+
{ source: 'code', target: 'sizeChart.code' },
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
validations: [{ rule: 'required' }],
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'code',
|
|
75
|
+
title: '@general:terms.common.code',
|
|
76
|
+
groupId: 'basic-info',
|
|
77
|
+
options: {
|
|
78
|
+
sort: { enabled: true },
|
|
79
|
+
filter: {
|
|
80
|
+
advance: { enabled: true },
|
|
81
|
+
inline: { enabled: true },
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
schema: {
|
|
85
|
+
dataType: 'string',
|
|
86
|
+
interface: {
|
|
87
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
88
|
+
options: {
|
|
89
|
+
placeholder: '@measurement-core:sizes.entities.size-item.fields.code.placeholder',
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
validations: [{ rule: 'required' }],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
name: 'title',
|
|
97
|
+
title: '@general:terms.common.title',
|
|
98
|
+
groupId: 'basic-info',
|
|
99
|
+
options: {
|
|
100
|
+
sort: { enabled: true },
|
|
101
|
+
filter: {
|
|
102
|
+
advance: { enabled: true },
|
|
103
|
+
inline: { enabled: true },
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
schema: {
|
|
107
|
+
dataType: 'string',
|
|
108
|
+
interface: {
|
|
109
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
110
|
+
options: {
|
|
111
|
+
placeholder: '@measurement-core:sizes.entities.size-item.fields.title.placeholder',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'sortOrder',
|
|
118
|
+
title: '@measurement-core:sizes.entities.size-item.fields.sort-order.title',
|
|
119
|
+
groupId: 'basic-info',
|
|
120
|
+
options: {
|
|
121
|
+
sort: { enabled: true },
|
|
122
|
+
filter: { advance: { enabled: true } },
|
|
123
|
+
},
|
|
124
|
+
schema: {
|
|
125
|
+
dataType: 'number',
|
|
126
|
+
interface: {
|
|
127
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
128
|
+
options: {
|
|
129
|
+
minValue: 0,
|
|
130
|
+
placeholder: '@measurement-core:sizes.entities.size-item.fields.sort-order.placeholder',
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
columns: [
|
|
137
|
+
{ name: 'sizeChartId', options: { width: '180px', dataPath: 'sizeChart.title', order: 1 } },
|
|
138
|
+
{ name: 'code', options: { width: '100px', order: 2 } },
|
|
139
|
+
{ name: 'title', options: { width: '200px', order: 3 } },
|
|
140
|
+
{ name: 'sortOrder', options: { width: '100px', order: 4 } },
|
|
141
|
+
],
|
|
142
|
+
interfaces: {
|
|
143
|
+
master: {
|
|
144
|
+
create: {
|
|
145
|
+
sections,
|
|
146
|
+
properties: propertyLayouts,
|
|
147
|
+
},
|
|
148
|
+
update: {
|
|
149
|
+
sections,
|
|
150
|
+
properties: propertyLayouts,
|
|
151
|
+
},
|
|
152
|
+
single: {
|
|
153
|
+
title: '{{ title || code }}',
|
|
154
|
+
sections,
|
|
155
|
+
properties: propertyLayouts,
|
|
156
|
+
actions: [...entityMasterRecordActions()],
|
|
157
|
+
},
|
|
158
|
+
list: {
|
|
159
|
+
actions: [...entityMasterCrudActions()],
|
|
160
|
+
views: [
|
|
161
|
+
createAllQueryView({
|
|
162
|
+
sorts: [
|
|
163
|
+
{ name: 'sizeChartId', dir: 'asc' },
|
|
164
|
+
{ name: 'sortOrder', dir: 'asc' },
|
|
165
|
+
{ name: 'code', dir: 'asc' },
|
|
166
|
+
],
|
|
167
|
+
}),
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
return entityDef;
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
|
|
177
|
+
export { sizeItemFactory };
|
|
178
|
+
//# sourceMappingURL=acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-item.entity-DBZTjTbr.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-item.entity-DBZTjTbr.mjs","sources":["../../../../libs/modules/measurement-core/contracts/src/entities/size-item/size-item.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 sizeItemFactory(): 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: 'code', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 3 } } } },\n { name: 'sortOrder', layout: { positions: { lg: { colSpan: 4, order: 4 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.sizeItem.name,\n title: RootConfig.entities.sizeItem.title,\n icon: RootConfig.entities.sizeItem.icon,\n formats: {\n individual: RootConfig.entities.sizeItem.title,\n plural: RootConfig.entities.sizeItem.titlePlural,\n searchResult: {\n title: '{{ title || code }}',\n description: '{{ sizeChart.title }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }, { name: 'disable' }],\n groups: [\n { id: 'basic-info', title: '@measurement-core:sizes.entities.size-item.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.size-item.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: '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.size-item.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: '@measurement-core:sizes.entities.size-item.fields.title.placeholder',\n },\n },\n },\n },\n {\n name: 'sortOrder',\n title: '@measurement-core:sizes.entities.size-item.fields.sort-order.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true } },\n },\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder: '@measurement-core:sizes.entities.size-item.fields.sort-order.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'sizeChartId', options: { width: '180px', dataPath: 'sizeChart.title', order: 1 } },\n { name: 'code', options: { width: '100px', order: 2 } },\n { name: 'title', options: { width: '200px', order: 3 } },\n { name: 'sortOrder', options: { width: '100px', 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 || code }}',\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 { name: 'code', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],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,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;"}
|
|
@@ -0,0 +1,255 @@
|
|
|
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 sizeRuleFactory() {
|
|
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: 'sizeItemId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
14
|
+
{ name: 'measurementDimensionId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
15
|
+
{ name: 'measurementRangeId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
16
|
+
{ name: 'matchBehavior', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
17
|
+
{ name: 'priority', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
18
|
+
];
|
|
19
|
+
const entityDef = {
|
|
20
|
+
module: RootConfig.module.name,
|
|
21
|
+
name: RootConfig.entities.sizeRule.name,
|
|
22
|
+
title: RootConfig.entities.sizeRule.title,
|
|
23
|
+
icon: RootConfig.entities.sizeRule.icon,
|
|
24
|
+
formats: {
|
|
25
|
+
individual: RootConfig.entities.sizeRule.title,
|
|
26
|
+
plural: RootConfig.entities.sizeRule.titlePlural,
|
|
27
|
+
searchResult: {
|
|
28
|
+
title: '{{ context.eval("sizeItem.code") + " / " + context.eval("measurementDimension.title", { pipes: ["translate"] }) }}',
|
|
29
|
+
description: '{{ measurementRange.title || measurementRange.code }}',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
plugins: [{ name: 'history' }, { name: 'compare' }],
|
|
33
|
+
groups: [
|
|
34
|
+
{ id: 'basic-info', title: '@measurement-core:sizes.entities.size-rule.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.size-rule.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: 'sizeItemId',
|
|
77
|
+
title: '@measurement-core:sizes.entities.size-rule.fields.size-item.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.sizeItem.name}`,
|
|
92
|
+
expose: [
|
|
93
|
+
{ source: 'id', target: 'sizeItemId' },
|
|
94
|
+
{ source: 'code', target: 'sizeItem.code' },
|
|
95
|
+
{ source: 'title', target: 'sizeItem.title' },
|
|
96
|
+
],
|
|
97
|
+
conditions: [
|
|
98
|
+
{
|
|
99
|
+
name: 'sizeChartId',
|
|
100
|
+
operator: { type: 'equal' },
|
|
101
|
+
value: '{{context.eval("sizeChartId")}}',
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
validations: [{ rule: 'required' }],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: 'measurementDimensionId',
|
|
111
|
+
title: '@measurement-core:sizes.entities.size-rule.fields.measurement-dimension.title',
|
|
112
|
+
groupId: 'basic-info',
|
|
113
|
+
options: {
|
|
114
|
+
sort: { enabled: true },
|
|
115
|
+
filter: {
|
|
116
|
+
advance: { enabled: true },
|
|
117
|
+
inline: { enabled: true },
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
schema: {
|
|
121
|
+
dataType: 'string',
|
|
122
|
+
interface: {
|
|
123
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
124
|
+
options: {
|
|
125
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.measurementDimension.name}`,
|
|
126
|
+
expose: [
|
|
127
|
+
{ source: 'id', target: 'measurementDimensionId' },
|
|
128
|
+
{ source: 'title', target: 'measurementDimension.title' },
|
|
129
|
+
{ source: 'code', target: 'measurementDimension.code' },
|
|
130
|
+
],
|
|
131
|
+
conditions: [
|
|
132
|
+
{
|
|
133
|
+
name: 'sizeChartId',
|
|
134
|
+
operator: { type: 'equal' },
|
|
135
|
+
value: '{{context.eval("sizeChartId")}}',
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
validations: [{ rule: 'required' }],
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'measurementRangeId',
|
|
145
|
+
title: '@measurement-core:sizes.entities.size-rule.fields.measurement-range.title',
|
|
146
|
+
groupId: 'basic-info',
|
|
147
|
+
options: {
|
|
148
|
+
sort: { enabled: true },
|
|
149
|
+
filter: {
|
|
150
|
+
advance: { enabled: true },
|
|
151
|
+
inline: { enabled: true },
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
schema: {
|
|
155
|
+
dataType: 'string',
|
|
156
|
+
interface: {
|
|
157
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
158
|
+
options: {
|
|
159
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.measurementRange.name}`,
|
|
160
|
+
expose: [
|
|
161
|
+
{ source: 'id', target: 'measurementRangeId' },
|
|
162
|
+
{ source: 'title', target: 'measurementRange.title' },
|
|
163
|
+
{ source: 'code', target: 'measurementRange.code' },
|
|
164
|
+
],
|
|
165
|
+
conditions: [
|
|
166
|
+
{
|
|
167
|
+
name: 'measurementDimensionId',
|
|
168
|
+
operator: { type: 'equal' },
|
|
169
|
+
value: '{{context.eval("measurementDimensionId")}}',
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
validations: [{ rule: 'required' }],
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: 'matchBehavior',
|
|
179
|
+
title: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.title',
|
|
180
|
+
groupId: 'basic-info',
|
|
181
|
+
schema: {
|
|
182
|
+
dataType: 'string',
|
|
183
|
+
interface: {
|
|
184
|
+
type: AXPWidgetsList.Editors.SelectBox,
|
|
185
|
+
options: {
|
|
186
|
+
valueField: 'value',
|
|
187
|
+
textField: 'text',
|
|
188
|
+
dataSource: [
|
|
189
|
+
{ value: 'hard', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.hard' },
|
|
190
|
+
{ value: 'soft', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.soft' },
|
|
191
|
+
{ value: 'scoring', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.scoring' },
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'priority',
|
|
199
|
+
title: '@measurement-core:sizes.entities.size-rule.fields.priority.title',
|
|
200
|
+
groupId: 'basic-info',
|
|
201
|
+
schema: {
|
|
202
|
+
dataType: 'number',
|
|
203
|
+
interface: {
|
|
204
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
205
|
+
options: {
|
|
206
|
+
placeholder: '@measurement-core:sizes.entities.size-rule.fields.priority.placeholder',
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
],
|
|
212
|
+
columns: [
|
|
213
|
+
{ name: 'sizeChartId', options: { width: '160px', dataPath: 'sizeChart.title', order: 1 } },
|
|
214
|
+
{ name: 'sizeItemId', options: { width: '120px', dataPath: 'sizeItem.code', order: 2 } },
|
|
215
|
+
{ name: 'measurementDimensionId', options: { width: '160px', dataPath: 'measurementDimension.title', order: 3 } },
|
|
216
|
+
{ name: 'measurementRangeId', options: { width: '160px', dataPath: 'measurementRange.title', order: 4 } },
|
|
217
|
+
{ name: 'matchBehavior', options: { width: '100px', order: 5 } },
|
|
218
|
+
{ name: 'priority', options: { width: '90px', order: 6 } },
|
|
219
|
+
],
|
|
220
|
+
interfaces: {
|
|
221
|
+
master: {
|
|
222
|
+
create: {
|
|
223
|
+
sections,
|
|
224
|
+
properties: propertyLayouts,
|
|
225
|
+
},
|
|
226
|
+
update: {
|
|
227
|
+
sections,
|
|
228
|
+
properties: propertyLayouts,
|
|
229
|
+
},
|
|
230
|
+
single: {
|
|
231
|
+
title: '{{ context.eval("sizeItem.code") + " / " + context.eval("measurementDimension.title", { pipes: ["translate"] }) }}',
|
|
232
|
+
sections,
|
|
233
|
+
properties: propertyLayouts,
|
|
234
|
+
actions: [...entityMasterRecordActions()],
|
|
235
|
+
},
|
|
236
|
+
list: {
|
|
237
|
+
actions: [...entityMasterCrudActions()],
|
|
238
|
+
views: [
|
|
239
|
+
createAllQueryView({
|
|
240
|
+
sorts: [
|
|
241
|
+
{ name: 'sizeItemId', dir: 'asc' },
|
|
242
|
+
{ name: 'measurementDimensionId', dir: 'asc' },
|
|
243
|
+
],
|
|
244
|
+
}),
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
};
|
|
250
|
+
return entityDef;
|
|
251
|
+
}
|
|
252
|
+
//#endregion
|
|
253
|
+
|
|
254
|
+
export { sizeRuleFactory };
|
|
255
|
+
//# sourceMappingURL=acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-rule.entity-DdsOkrLS.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-measurement-core-client-contracts-entity-catalog-size-rule.entity-DdsOkrLS.mjs","sources":["../../../../libs/modules/measurement-core/contracts/src/entities/size-rule/size-rule.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 sizeRuleFactory(): 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: 'sizeItemId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'measurementDimensionId', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'measurementRangeId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'matchBehavior', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'priority', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n ];\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.sizeRule.name,\n title: RootConfig.entities.sizeRule.title,\n icon: RootConfig.entities.sizeRule.icon,\n formats: {\n individual: RootConfig.entities.sizeRule.title,\n plural: RootConfig.entities.sizeRule.titlePlural,\n searchResult: {\n title:\n '{{ context.eval(\"sizeItem.code\") + \" / \" + context.eval(\"measurementDimension.title\", { pipes: [\"translate\"] }) }}',\n description: '{{ measurementRange.title || measurementRange.code }}',\n },\n },\n plugins: [{ name: 'history' }, { name: 'compare' }],\n groups: [\n { id: 'basic-info', title: '@measurement-core:sizes.entities.size-rule.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.size-rule.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: 'sizeItemId',\n title: '@measurement-core:sizes.entities.size-rule.fields.size-item.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.sizeItem.name}`,\n expose: [\n { source: 'id', target: 'sizeItemId' },\n { source: 'code', target: 'sizeItem.code' },\n { source: 'title', target: 'sizeItem.title' },\n ],\n conditions: [\n {\n name: 'sizeChartId',\n operator: { type: 'equal' },\n value: '{{context.eval(\"sizeChartId\")}}',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'measurementDimensionId',\n title: '@measurement-core:sizes.entities.size-rule.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 conditions: [\n {\n name: 'sizeChartId',\n operator: { type: 'equal' },\n value: '{{context.eval(\"sizeChartId\")}}',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'measurementRangeId',\n title: '@measurement-core:sizes.entities.size-rule.fields.measurement-range.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.measurementRange.name}`,\n expose: [\n { source: 'id', target: 'measurementRangeId' },\n { source: 'title', target: 'measurementRange.title' },\n { source: 'code', target: 'measurementRange.code' },\n ],\n conditions: [\n {\n name: 'measurementDimensionId',\n operator: { type: 'equal' },\n value: '{{context.eval(\"measurementDimensionId\")}}',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'matchBehavior',\n title: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'hard', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.hard' },\n { value: 'soft', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.soft' },\n { value: 'scoring', text: '@measurement-core:sizes.entities.size-rule.fields.match-behavior.options.scoring' },\n ],\n },\n },\n },\n },\n {\n name: 'priority',\n title: '@measurement-core:sizes.entities.size-rule.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.size-rule.fields.priority.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'sizeChartId', options: { width: '160px', dataPath: 'sizeChart.title', order: 1 } },\n { name: 'sizeItemId', options: { width: '120px', dataPath: 'sizeItem.code', order: 2 } },\n { name: 'measurementDimensionId', options: { width: '160px', dataPath: 'measurementDimension.title', order: 3 } },\n { name: 'measurementRangeId', options: { width: '160px', dataPath: 'measurementRange.title', order: 4 } },\n { name: 'matchBehavior', options: { width: '100px', order: 5 } },\n { name: 'priority', options: { width: '90px', order: 6 } },\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:\n '{{ context.eval(\"sizeItem.code\") + \" / \" + context.eval(\"measurementDimension.title\", { pipes: [\"translate\"] }) }}',\n sections,\n properties: propertyLayouts,\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [\n { name: 'sizeItemId', dir: 'asc' },\n { name: 'measurementDimensionId', dir: 'asc' },\n ],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,eAAe,GAAA;AACnC,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,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QAChF,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,oBAAoB,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;QACxF,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,SAAS,E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