@acorex-platform/module-asset-management-client 0.0.30 → 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-asset-management-client-contracts-entities-asset-rental-history.mjs +536 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-rental-history.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system-assignment.mjs +294 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system-assignment.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system-type.mjs +328 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system.mjs +316 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-system.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section-component.mjs +348 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section-component.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section.mjs +252 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type.mjs +476 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset.mjs +1123 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entities-asset.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY-Jlv8czA2.mjs +5 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY-Jlv8czA2.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-acorex-platform-module-asset-management-client-contracts-entity-catalog-BnFLQIiP.mjs +131 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-acorex-platform-module-asset-management-client-contracts-entity-catalog-BnFLQIiP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-rental-history.entity-DVDZBUtV.mjs +431 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-rental-history.entity-DVDZBUtV.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system-assignment.entity-C2TD0S1M.mjs +189 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system-assignment.entity-C2TD0S1M.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system-type.entity-DszmKgyy.mjs +223 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system-type.entity-DszmKgyy.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system.entity-BgUe0-L9.mjs +211 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system.entity-BgUe0-L9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section-component.entity-DsHwYpDP.mjs +243 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section-component.entity-DsHwYpDP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section.entity-BdXjYYDS.mjs +145 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section.entity-BdXjYYDS.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type.entity-BJr-OLKa.mjs +369 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type.entity-BJr-OLKa.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset.entity-yXy3-Jbq.mjs +1016 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog-asset.entity-yXy3-Jbq.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-asset-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-asset-management-client-local-entities.mjs +36 -0
- package/fesm2022/acorex-platform-module-asset-management-client-local-entities.mjs.map +1 -0
- package/package.json +42 -2
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-rental-history.d.ts +5 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-system-assignment.d.ts +5 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-system-type.d.ts +5 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-system.d.ts +5 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section-component.d.ts +10 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-type-section.d.ts +10 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset-type.d.ts +9 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entities-asset.d.ts +5 -0
- package/types/acorex-platform-module-asset-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-asset-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,211 @@
|
|
|
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-asset-management-client-contracts-entity-catalog-acorex-platform-module-asset-management-client-contracts-entity-catalog-BnFLQIiP.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function factoryAssetSystem() {
|
|
8
|
+
const entityDef = {
|
|
9
|
+
module: RootConfig.module.name,
|
|
10
|
+
name: RootConfig.entities.assetSystem.name,
|
|
11
|
+
title: RootConfig.entities.assetSystem.title,
|
|
12
|
+
icon: RootConfig.entities.assetSystem.icon,
|
|
13
|
+
plugins: [],
|
|
14
|
+
relatedEntities: [
|
|
15
|
+
{
|
|
16
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.assetSystemAssignment.name}`,
|
|
17
|
+
title: RootConfig.entities.assetSystemAssignment.titlePlural,
|
|
18
|
+
icon: RootConfig.entities.assetSystemAssignment.icon,
|
|
19
|
+
conditions: [entityDetailsSimpleCondition('assetSystemId')],
|
|
20
|
+
excludeProperties: ['assetSystemId'],
|
|
21
|
+
actions: [...entityDetailsCrudActions('assetSystemId')],
|
|
22
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
entity: 'MaintenanceManagement.FailureRegister',
|
|
26
|
+
title: '@asset-management:assetSystems.entities.related-entities.failure-registers.title',
|
|
27
|
+
icon: 'fa-light fa-file-waveform',
|
|
28
|
+
conditions: [entityDetailsSimpleCondition('assetSystemId')],
|
|
29
|
+
excludeProperties: ['assetSystemId', 'assetId'],
|
|
30
|
+
columns: [
|
|
31
|
+
{ name: 'code' },
|
|
32
|
+
{ name: 'date' },
|
|
33
|
+
{ name: 'failureModeId', options: { dataPath: 'failureMode.title' } },
|
|
34
|
+
{ name: 'failureDetectionId', options: { dataPath: 'failureDetection.title' } },
|
|
35
|
+
{ name: 'priorityId' },
|
|
36
|
+
{ name: 'failureSeverityId', options: { dataPath: 'failureSeverity.title' } },
|
|
37
|
+
{ name: 'description' },
|
|
38
|
+
],
|
|
39
|
+
actions: [...entityDetailsCrudActions('assetSystemId')],
|
|
40
|
+
layout: { type: 'page-list', position: 'after', order: 2 },
|
|
41
|
+
},
|
|
42
|
+
// {
|
|
43
|
+
// entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.workPackage.name}`,
|
|
44
|
+
// title: '@asset-management:assetSystems.entities.related-entities.work-packages.title',
|
|
45
|
+
// icon: RootConfigMaintenance.entities.workPackage.icon,
|
|
46
|
+
// conditions: [entityDetailsSimpleCondition('assetSystemId')],
|
|
47
|
+
// excludeProperties: ['assetSystemId'],
|
|
48
|
+
// actions: [...entityDetailsCrudActions('assetSystemId')],
|
|
49
|
+
// layout: { type: 'page-list', position: 'after', order: 4 },
|
|
50
|
+
// },
|
|
51
|
+
],
|
|
52
|
+
formats: {
|
|
53
|
+
individual: RootConfig.entities.assetSystem.title,
|
|
54
|
+
plural: RootConfig.entities.assetSystem.titlePlural,
|
|
55
|
+
searchResult: { title: '{{ title }}' },
|
|
56
|
+
},
|
|
57
|
+
groups: [{ id: 'basic-info', title: '@asset-management:assetSystems.entities.assetSystem.groups.basic-info' }],
|
|
58
|
+
properties: [
|
|
59
|
+
{
|
|
60
|
+
name: 'id',
|
|
61
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.id.title',
|
|
62
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: 'code',
|
|
66
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.code.title',
|
|
67
|
+
groupId: 'basic-info',
|
|
68
|
+
schema: {
|
|
69
|
+
dataType: 'string',
|
|
70
|
+
interface: {
|
|
71
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
options: {
|
|
75
|
+
sort: { enabled: true },
|
|
76
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
77
|
+
},
|
|
78
|
+
validations: [{ rule: 'required' }],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: 'assetSystemTypeId',
|
|
82
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.assetSystemTypeId.title',
|
|
83
|
+
groupId: 'basic-info',
|
|
84
|
+
schema: {
|
|
85
|
+
dataType: 'string',
|
|
86
|
+
interface: {
|
|
87
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
88
|
+
options: {
|
|
89
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.assetSystemType.name}`,
|
|
90
|
+
textField: 'title',
|
|
91
|
+
valueField: 'id',
|
|
92
|
+
look: 'select',
|
|
93
|
+
expose: [{ source: 'title', target: 'assetSystemType.title' }],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
options: {
|
|
98
|
+
sort: { enabled: true },
|
|
99
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
100
|
+
},
|
|
101
|
+
validations: [{ rule: 'required' }],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'title',
|
|
105
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.title.title',
|
|
106
|
+
groupId: 'basic-info',
|
|
107
|
+
schema: {
|
|
108
|
+
dataType: 'string',
|
|
109
|
+
interface: {
|
|
110
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
options: {
|
|
114
|
+
sort: { enabled: true },
|
|
115
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
116
|
+
},
|
|
117
|
+
validations: [{ rule: 'required' }],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'description',
|
|
121
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.description.title',
|
|
122
|
+
groupId: 'basic-info',
|
|
123
|
+
schema: {
|
|
124
|
+
dataType: 'string',
|
|
125
|
+
interface: {
|
|
126
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
127
|
+
options: { rows: 3 },
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
options: {
|
|
131
|
+
sort: { enabled: true },
|
|
132
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'locationId',
|
|
137
|
+
title: '@asset-management:assetSystems.entities.assetSystem.fields.locationId.title',
|
|
138
|
+
groupId: 'basic-info',
|
|
139
|
+
schema: {
|
|
140
|
+
dataType: 'string',
|
|
141
|
+
interface: {
|
|
142
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
143
|
+
options: {
|
|
144
|
+
entity: 'LocationManagement.Location',
|
|
145
|
+
textField: 'title',
|
|
146
|
+
valueField: 'id',
|
|
147
|
+
expose: [{ source: 'title', target: 'location.title' }],
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
options: {
|
|
152
|
+
sort: { enabled: true },
|
|
153
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
],
|
|
157
|
+
columns: [
|
|
158
|
+
{ name: 'code' },
|
|
159
|
+
{ name: 'title' },
|
|
160
|
+
{ name: 'assetSystemTypeId', options: { dataPath: 'assetSystemType.title' } },
|
|
161
|
+
{ name: 'locationId', options: { dataPath: 'location.title' } },
|
|
162
|
+
{ name: 'description' },
|
|
163
|
+
],
|
|
164
|
+
queries: {},
|
|
165
|
+
interfaces: {
|
|
166
|
+
master: {
|
|
167
|
+
create: {
|
|
168
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
169
|
+
properties: [
|
|
170
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
171
|
+
{ name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
172
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
173
|
+
{ name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
174
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
update: {
|
|
178
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
179
|
+
properties: [
|
|
180
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
181
|
+
{ name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
182
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
183
|
+
{ name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
184
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
single: {
|
|
188
|
+
title: '{{ title }}',
|
|
189
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
190
|
+
properties: [
|
|
191
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
192
|
+
{ name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
193
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
194
|
+
{ name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
195
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
196
|
+
],
|
|
197
|
+
actions: [...entityMasterRecordActions()],
|
|
198
|
+
},
|
|
199
|
+
list: {
|
|
200
|
+
actions: [...entityMasterCrudActions()],
|
|
201
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
return entityDef;
|
|
207
|
+
}
|
|
208
|
+
//#endregion
|
|
209
|
+
|
|
210
|
+
export { factoryAssetSystem };
|
|
211
|
+
//# sourceMappingURL=acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system.entity-BgUe0-L9.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-system.entity-BgUe0-L9.mjs","sources":["../../../../libs/modules/asset-management/contracts/src/entities/asset-system/asset-system.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 factoryAssetSystem(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetSystem.name,\n title: RootConfig.entities.assetSystem.title,\n icon: RootConfig.entities.assetSystem.icon,\n plugins: [],\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.assetSystemAssignment.name}`,\n title: RootConfig.entities.assetSystemAssignment.titlePlural,\n icon: RootConfig.entities.assetSystemAssignment.icon,\n conditions: [entityDetailsSimpleCondition('assetSystemId')],\n excludeProperties: ['assetSystemId'],\n actions: [...entityDetailsCrudActions('assetSystemId')],\n layout: { type: 'page-list', position: 'after', order: 1 },\n },\n {\n entity: 'MaintenanceManagement.FailureRegister',\n title: '@asset-management:assetSystems.entities.related-entities.failure-registers.title',\n icon: 'fa-light fa-file-waveform',\n conditions: [entityDetailsSimpleCondition('assetSystemId')],\n excludeProperties: ['assetSystemId', 'assetId'],\n columns: [\n { name: 'code' },\n { name: 'date' },\n { name: 'failureModeId', options: { dataPath: 'failureMode.title' } },\n { name: 'failureDetectionId', options: { dataPath: 'failureDetection.title' } },\n { name: 'priorityId' },\n { name: 'failureSeverityId', options: { dataPath: 'failureSeverity.title' } },\n { name: 'description' },\n ],\n actions: [...entityDetailsCrudActions('assetSystemId')],\n layout: { type: 'page-list', position: 'after', order: 2 },\n },\n // {\n // entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.workPackage.name}`,\n // title: '@asset-management:assetSystems.entities.related-entities.work-packages.title',\n // icon: RootConfigMaintenance.entities.workPackage.icon,\n // conditions: [entityDetailsSimpleCondition('assetSystemId')],\n // excludeProperties: ['assetSystemId'],\n // actions: [...entityDetailsCrudActions('assetSystemId')],\n // layout: { type: 'page-list', position: 'after', order: 4 },\n // },\n ],\n formats: {\n individual: RootConfig.entities.assetSystem.title,\n plural: RootConfig.entities.assetSystem.titlePlural,\n searchResult: { title: '{{ title }}' },\n },\n groups: [{ id: 'basic-info', title: '@asset-management:assetSystems.entities.assetSystem.groups.basic-info' }],\n properties: [\n {\n name: 'id',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.id.title',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.code.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'assetSystemTypeId',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.assetSystemTypeId.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.assetSystemType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [{ source: 'title', target: 'assetSystemType.title' }],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.title.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.description.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 3 },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'locationId',\n title: '@asset-management:assetSystems.entities.assetSystem.fields.locationId.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'LocationManagement.Location',\n textField: 'title',\n valueField: 'id',\n expose: [{ source: 'title', target: 'location.title' }],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [\n { name: 'code' },\n { name: 'title' },\n { name: 'assetSystemTypeId', options: { dataPath: 'assetSystemType.title' } },\n { name: 'locationId', options: { dataPath: 'location.title' } },\n { name: 'description' },\n ],\n queries: {},\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'assetSystemTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'locationId', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,kBAAkB,GAAA;AACtC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,KAAK;AAC5C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI;AAC1C,QAAA,OAAO,EAAE,EAAE;AACX,QAAA,eAAe,EAAE;AACf,YAAA;AACE,gBAAA,MAAM,EAAE,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,CAAA,CAAE;AACrF,gBAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,qBAAqB,CAAC,WAAW;A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,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -0,0 +1,243 @@
|
|
|
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-asset-management-client-contracts-entity-catalog-acorex-platform-module-asset-management-client-contracts-entity-catalog-BnFLQIiP.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
/**
|
|
8
|
+
* Outer group aligns with {@link AXMAssetManagementAssetTypeSectionEntityModel} (section folder in UI);
|
|
9
|
+
* inner group holds {@link AXMAssetManagementAssetTypeSectionComponentEntityModel} fields. Navigation
|
|
10
|
+
* for this entity is nested under the Asset Type Sections menu folder (see menu provider).
|
|
11
|
+
*/
|
|
12
|
+
async function factoryAssetTypeSectionComponent() {
|
|
13
|
+
const sectionEntity = `${RootConfig.module.name}.${RootConfig.entities.assetTypeSection.name}`;
|
|
14
|
+
const entityDef = {
|
|
15
|
+
module: RootConfig.module.name,
|
|
16
|
+
name: RootConfig.entities.assetTypeSectionComponent.name,
|
|
17
|
+
title: RootConfig.entities.assetTypeSectionComponent.title,
|
|
18
|
+
icon: RootConfig.entities.assetTypeSectionComponent.icon,
|
|
19
|
+
relatedEntities: [],
|
|
20
|
+
formats: {
|
|
21
|
+
individual: RootConfig.entities.assetTypeSectionComponent.title,
|
|
22
|
+
plural: RootConfig.entities.assetTypeSectionComponent.titlePlural,
|
|
23
|
+
searchResult: {
|
|
24
|
+
title: '{{ roleName }}',
|
|
25
|
+
description: '{{ assetTypeSection.title }}',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
groups: [
|
|
29
|
+
{
|
|
30
|
+
id: 'section-folder',
|
|
31
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.groups.section-folder',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'component-content',
|
|
35
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.groups.component-content',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
properties: [
|
|
39
|
+
{
|
|
40
|
+
name: 'id',
|
|
41
|
+
title: 'ID',
|
|
42
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'assetTypeId',
|
|
46
|
+
title: 'Asset Type ID',
|
|
47
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },
|
|
48
|
+
options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'assetTypeSectionId',
|
|
52
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.assetTypeSectionId.title',
|
|
53
|
+
groupId: 'section-folder',
|
|
54
|
+
schema: {
|
|
55
|
+
dataType: 'string',
|
|
56
|
+
interface: {
|
|
57
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
58
|
+
options: {
|
|
59
|
+
entity: sectionEntity,
|
|
60
|
+
textField: 'title',
|
|
61
|
+
valueField: 'id',
|
|
62
|
+
look: 'select',
|
|
63
|
+
multiple: false,
|
|
64
|
+
expose: [
|
|
65
|
+
{ source: 'id', target: 'assetTypeSection.id' },
|
|
66
|
+
{ source: 'code', target: 'assetTypeSection.code' },
|
|
67
|
+
{ source: 'title', target: 'assetTypeSection.title' },
|
|
68
|
+
{ source: 'description', target: 'assetTypeSection.description' },
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
options: {
|
|
74
|
+
sort: { enabled: true },
|
|
75
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
76
|
+
},
|
|
77
|
+
validations: [{ rule: 'required' }],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'assetTypeSection.code',
|
|
81
|
+
title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.title',
|
|
82
|
+
groupId: 'section-folder',
|
|
83
|
+
schema: {
|
|
84
|
+
dataType: 'string',
|
|
85
|
+
readonly: true,
|
|
86
|
+
interface: {
|
|
87
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
88
|
+
options: { readOnly: true },
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'assetTypeSection.title',
|
|
95
|
+
title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.title',
|
|
96
|
+
groupId: 'section-folder',
|
|
97
|
+
schema: {
|
|
98
|
+
dataType: 'string',
|
|
99
|
+
readonly: true,
|
|
100
|
+
interface: {
|
|
101
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
102
|
+
options: { readOnly: true },
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: 'assetTypeSection.description',
|
|
109
|
+
title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.description.title',
|
|
110
|
+
groupId: 'section-folder',
|
|
111
|
+
schema: {
|
|
112
|
+
dataType: 'string',
|
|
113
|
+
nullable: true,
|
|
114
|
+
readonly: true,
|
|
115
|
+
interface: {
|
|
116
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
117
|
+
options: { readOnly: true, rows: 3 },
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
name: 'count',
|
|
124
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.count.title',
|
|
125
|
+
groupId: 'component-content',
|
|
126
|
+
schema: {
|
|
127
|
+
dataType: 'number',
|
|
128
|
+
defaultValue: 0,
|
|
129
|
+
interface: {
|
|
130
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
131
|
+
options: { minValue: 0, step: 1 },
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
options: {
|
|
135
|
+
sort: { enabled: true },
|
|
136
|
+
filter: { advance: { enabled: true } },
|
|
137
|
+
},
|
|
138
|
+
validations: [{ rule: 'required' }],
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: 'hasMaintenance',
|
|
142
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.hasMaintenance.title',
|
|
143
|
+
groupId: 'component-content',
|
|
144
|
+
schema: {
|
|
145
|
+
dataType: 'boolean',
|
|
146
|
+
defaultValue: false,
|
|
147
|
+
interface: { type: AXPWidgetsList.Editors.ToggleSwitch },
|
|
148
|
+
},
|
|
149
|
+
options: {
|
|
150
|
+
sort: { enabled: true },
|
|
151
|
+
filter: { advance: { enabled: true } },
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: 'roleName',
|
|
156
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.roleName.title',
|
|
157
|
+
groupId: 'component-content',
|
|
158
|
+
schema: {
|
|
159
|
+
dataType: 'string',
|
|
160
|
+
nullable: true,
|
|
161
|
+
interface: {
|
|
162
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
163
|
+
options: {
|
|
164
|
+
placeholder: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.roleName.placeholder',
|
|
165
|
+
rows: 4,
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
options: {
|
|
170
|
+
sort: { enabled: true },
|
|
171
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
columns: [
|
|
176
|
+
{ name: 'assetTypeSectionId', options: { dataPath: 'assetTypeSection.title' } },
|
|
177
|
+
{ name: 'count' },
|
|
178
|
+
{ name: 'hasMaintenance' },
|
|
179
|
+
{ name: 'roleName' },
|
|
180
|
+
],
|
|
181
|
+
queries: {},
|
|
182
|
+
interfaces: {
|
|
183
|
+
master: {
|
|
184
|
+
create: {
|
|
185
|
+
sections: [
|
|
186
|
+
{ id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
187
|
+
{ id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
188
|
+
],
|
|
189
|
+
properties: [
|
|
190
|
+
{ name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
191
|
+
{ name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
192
|
+
{ name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
193
|
+
{ name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
194
|
+
{ name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
195
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
196
|
+
{ name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
update: {
|
|
200
|
+
sections: [
|
|
201
|
+
{ id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
202
|
+
{ id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
203
|
+
],
|
|
204
|
+
properties: [
|
|
205
|
+
{ name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
206
|
+
{ name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
207
|
+
{ name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
208
|
+
{ name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
209
|
+
{ name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
210
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
211
|
+
{ name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
single: {
|
|
215
|
+
title: '{{ roleName }}',
|
|
216
|
+
sections: [
|
|
217
|
+
{ id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
218
|
+
{ id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
219
|
+
],
|
|
220
|
+
properties: [
|
|
221
|
+
{ name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
222
|
+
{ name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
223
|
+
{ name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
224
|
+
{ name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
225
|
+
{ name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
226
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
227
|
+
{ name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
228
|
+
],
|
|
229
|
+
actions: [...entityMasterRecordActions()],
|
|
230
|
+
},
|
|
231
|
+
list: {
|
|
232
|
+
actions: [...entityMasterCrudActions()],
|
|
233
|
+
views: [createAllQueryView({ sorts: [{ name: 'roleName', dir: 'asc' }] })],
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
};
|
|
238
|
+
return entityDef;
|
|
239
|
+
}
|
|
240
|
+
//#endregion
|
|
241
|
+
|
|
242
|
+
export { factoryAssetTypeSectionComponent };
|
|
243
|
+
//# sourceMappingURL=acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section-component.entity-DsHwYpDP.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-asset-management-client-contracts-entity-catalog-asset-type-section-component.entity-DsHwYpDP.mjs","sources":["../../../../libs/modules/asset-management/contracts/src/entities/asset-type-section-component/asset-type-section-component.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\n/**\n * Outer group aligns with {@link AXMAssetManagementAssetTypeSectionEntityModel} (section folder in UI);\n * inner group holds {@link AXMAssetManagementAssetTypeSectionComponentEntityModel} fields. Navigation\n * for this entity is nested under the Asset Type Sections menu folder (see menu provider).\n */\nexport async function factoryAssetTypeSectionComponent(): Promise<AXPEntity | null> {\n const sectionEntity = `${RootConfig.module.name}.${RootConfig.entities.assetTypeSection.name}`;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetTypeSectionComponent.name,\n title: RootConfig.entities.assetTypeSectionComponent.title,\n icon: RootConfig.entities.assetTypeSectionComponent.icon,\n relatedEntities: [],\n formats: {\n individual: RootConfig.entities.assetTypeSectionComponent.title,\n plural: RootConfig.entities.assetTypeSectionComponent.titlePlural,\n searchResult: {\n title: '{{ roleName }}',\n description: '{{ assetTypeSection.title }}',\n },\n },\n groups: [\n {\n id: 'section-folder',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.groups.section-folder',\n },\n {\n id: 'component-content',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.groups.component-content',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'assetTypeId',\n title: 'Asset Type ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },\n options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },\n },\n {\n name: 'assetTypeSectionId',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.assetTypeSectionId.title',\n groupId: 'section-folder',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: sectionEntity,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n multiple: false,\n expose: [\n { source: 'id', target: 'assetTypeSection.id' },\n { source: 'code', target: 'assetTypeSection.code' },\n { source: 'title', target: 'assetTypeSection.title' },\n { source: 'description', target: 'assetTypeSection.description' },\n ],\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'assetTypeSection.code',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.title',\n groupId: 'section-folder',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { readOnly: true },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },\n },\n {\n name: 'assetTypeSection.title',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.title',\n groupId: 'section-folder',\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: { readOnly: true },\n },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: false } } },\n },\n {\n name: 'assetTypeSection.description',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.description.title',\n groupId: 'section-folder',\n schema: {\n dataType: 'string',\n nullable: true,\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { readOnly: true, rows: 3 },\n },\n },\n options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },\n },\n {\n name: 'count',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.count.title',\n groupId: 'component-content',\n schema: {\n dataType: 'number',\n defaultValue: 0,\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: { minValue: 0, step: 1 },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'hasMaintenance',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.hasMaintenance.title',\n groupId: 'component-content',\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: { type: AXPWidgetsList.Editors.ToggleSwitch },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true } },\n },\n },\n {\n name: 'roleName',\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.roleName.title',\n groupId: 'component-content',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n placeholder:\n '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.roleName.placeholder',\n rows: 4,\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [\n { name: 'assetTypeSectionId', options: { dataPath: 'assetTypeSection.title' } },\n { name: 'count' },\n { name: 'hasMaintenance' },\n { name: 'roleName' },\n ],\n queries: {},\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },\n ],\n },\n single: {\n title: '{{ roleName }}',\n sections: [\n { id: 'section-folder', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'component-content', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'assetTypeSectionId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'assetTypeSection.code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'assetTypeSection.title', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'assetTypeSection.description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'count', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },\n { name: 'roleName', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'roleName', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEA;;;;AAIG;AACI,eAAe,gCAAgC,GAAA;AACpD,IAAA,MAAM,aAAa,GAAG,CAAA,EAAG,UAAU,CAAC,MAAM,CAAC,IAAI,CAAA,CAAA,EAAI,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI,EAAE;AAE9F,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,yBAAyB,CAAC,IAAI;AACxD,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,yBAAyB,CAAC,KAAK;AAC1D,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,yBAAyB,CAAC,IAAI;AACxD,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,yBAAyB,CAAC,KAAK;AAC/D,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,yBAAyB,CAAC,WAAW;AACjE,YAAA,YAAY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