@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,536 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
//#region ---- Root Configuration ----
|
|
5
|
+
const config = {
|
|
6
|
+
i18n: 'asset-management',
|
|
7
|
+
module: 'AssetManagement',
|
|
8
|
+
route: 'asset-management',
|
|
9
|
+
};
|
|
10
|
+
const RootConfig = {
|
|
11
|
+
config,
|
|
12
|
+
module: {
|
|
13
|
+
route: config.route,
|
|
14
|
+
name: config.module,
|
|
15
|
+
title: '@asset-management:module.title',
|
|
16
|
+
icon: 'fa-light fa-industry',
|
|
17
|
+
},
|
|
18
|
+
entities: {
|
|
19
|
+
assetRentalHistory: {
|
|
20
|
+
name: 'AssetRentalHistory',
|
|
21
|
+
source: `${config.module}.AssetRentalHistory`,
|
|
22
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.title',
|
|
23
|
+
titlePlural: '@asset-management:assetRentalHistories.entities.assetRentalHistory.plural',
|
|
24
|
+
icon: 'fa-light fa-file-contract',
|
|
25
|
+
},
|
|
26
|
+
assetSystemAssignment: {
|
|
27
|
+
name: 'AssetSystemAssignment',
|
|
28
|
+
source: `${config.module}.AssetSystemAssignment`,
|
|
29
|
+
title: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.title',
|
|
30
|
+
titlePlural: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.plural',
|
|
31
|
+
icon: 'fa-light fa-link',
|
|
32
|
+
},
|
|
33
|
+
asset: {
|
|
34
|
+
name: 'Asset',
|
|
35
|
+
source: `${config.module}.Asset`,
|
|
36
|
+
title: '@asset-management:assets.entities.asset.title',
|
|
37
|
+
titlePlural: '@asset-management:assets.entities.asset.plural',
|
|
38
|
+
icon: 'fa-light fa-box',
|
|
39
|
+
},
|
|
40
|
+
assetType: {
|
|
41
|
+
name: 'AssetType',
|
|
42
|
+
source: `${config.module}.AssetType`,
|
|
43
|
+
title: '@asset-management:assetTypes.entities.assetType.title',
|
|
44
|
+
titlePlural: '@asset-management:assetTypes.entities.assetType.plural',
|
|
45
|
+
icon: 'fa-light fa-cubes',
|
|
46
|
+
},
|
|
47
|
+
assetTypeSection: {
|
|
48
|
+
name: 'AssetTypeSection',
|
|
49
|
+
source: `${config.module}.AssetTypeSection`,
|
|
50
|
+
title: '@asset-management:assetTypeSections.entities.assetTypeSection.title',
|
|
51
|
+
titlePlural: '@asset-management:assetTypeSections.entities.assetTypeSection.plural',
|
|
52
|
+
icon: 'fa-light fa-layer-group',
|
|
53
|
+
},
|
|
54
|
+
assetTypeSectionComponent: {
|
|
55
|
+
name: 'AssetTypeSectionComponent',
|
|
56
|
+
source: `${config.module}.AssetTypeSectionComponent`,
|
|
57
|
+
title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.title',
|
|
58
|
+
titlePlural: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.plural',
|
|
59
|
+
icon: 'fa-light fa-puzzle-piece',
|
|
60
|
+
},
|
|
61
|
+
assetSystemType: {
|
|
62
|
+
name: 'AssetSystemType',
|
|
63
|
+
source: `${config.module}.AssetSystemType`,
|
|
64
|
+
title: '@asset-management:assetSystemTypes.entities.assetSystemType.title',
|
|
65
|
+
titlePlural: '@asset-management:assetSystemTypes.entities.assetSystemType.plural',
|
|
66
|
+
icon: 'fa-light fa-diagram-subtask',
|
|
67
|
+
},
|
|
68
|
+
assetSystem: {
|
|
69
|
+
name: 'AssetSystem',
|
|
70
|
+
source: `${config.module}.AssetSystem`,
|
|
71
|
+
title: 'Asset System',
|
|
72
|
+
titlePlural: 'Asset Systems',
|
|
73
|
+
icon: 'fa-light fa-diagram-project',
|
|
74
|
+
},
|
|
75
|
+
manualAssetCategory: {
|
|
76
|
+
name: 'ManualAssetCategory',
|
|
77
|
+
source: `${config.module}.ManualAssetCategory`,
|
|
78
|
+
title: '@asset-management:asset-categories.entities.asset-category.title',
|
|
79
|
+
titlePlural: '@asset-management:asset-categories.entities.asset-category.plural',
|
|
80
|
+
icon: 'fa-light fa-tags',
|
|
81
|
+
},
|
|
82
|
+
// inspection: {
|
|
83
|
+
// name: 'Inspection',
|
|
84
|
+
// source: `${config.module}.Inspection`,
|
|
85
|
+
// title: '@asset-management:inspections.entities.inspection.title',
|
|
86
|
+
// titlePlural: '@asset-management:inspections.entities.inspection.plural',
|
|
87
|
+
// icon: 'fa-light fa-clipboard-check',
|
|
88
|
+
// },
|
|
89
|
+
// assetStatus: {
|
|
90
|
+
// name: 'AssetStatus',
|
|
91
|
+
// source: `${config.module}.AssetStatus`,
|
|
92
|
+
// title: '@asset-management:asset-statuses.entities.asset-status.title',
|
|
93
|
+
// titlePlural: '@asset-management:asset-statuses.entities.asset-status.plural',
|
|
94
|
+
// icon: 'fa-light fa-signal',
|
|
95
|
+
// },
|
|
96
|
+
},
|
|
97
|
+
queries: {
|
|
98
|
+
reports: {
|
|
99
|
+
getAssetsByStatus: `${config.module}:Reports:GetAssetsByStatus`,
|
|
100
|
+
getRentalUtilization: `${config.module}:Reports:GetRentalUtilization`,
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
//#region ---- Entity Factory ----
|
|
108
|
+
async function factoryAssetRentalHistory() {
|
|
109
|
+
const entityDef = {
|
|
110
|
+
module: RootConfig.module.name,
|
|
111
|
+
name: RootConfig.entities.assetRentalHistory.name,
|
|
112
|
+
title: RootConfig.entities.assetRentalHistory.title,
|
|
113
|
+
icon: RootConfig.entities.assetRentalHistory.icon,
|
|
114
|
+
plugins: [
|
|
115
|
+
{
|
|
116
|
+
name: 'status',
|
|
117
|
+
options: {
|
|
118
|
+
field: 'status',
|
|
119
|
+
definition: 'asset-management.status.asset-rental-history',
|
|
120
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.status.title',
|
|
121
|
+
groupId: 'basic-info',
|
|
122
|
+
generate: { views: { enabled: false } },
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
relatedEntities: [],
|
|
127
|
+
formats: {
|
|
128
|
+
individual: RootConfig.entities.assetRentalHistory.title,
|
|
129
|
+
plural: RootConfig.entities.assetRentalHistory.titlePlural,
|
|
130
|
+
searchResult: { title: '{{ asset.title }}' },
|
|
131
|
+
},
|
|
132
|
+
groups: [
|
|
133
|
+
{
|
|
134
|
+
id: 'basic-info',
|
|
135
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.groups.basic-info',
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
properties: [
|
|
139
|
+
{
|
|
140
|
+
name: 'id',
|
|
141
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.id.title',
|
|
142
|
+
schema: {
|
|
143
|
+
dataType: 'uuid',
|
|
144
|
+
visible: false,
|
|
145
|
+
nullable: false,
|
|
146
|
+
readonly: true,
|
|
147
|
+
unique: { enabled: true },
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'assetId',
|
|
152
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.assetId.title',
|
|
153
|
+
groupId: 'basic-info',
|
|
154
|
+
schema: {
|
|
155
|
+
dataType: 'string',
|
|
156
|
+
readonly: true,
|
|
157
|
+
visible: false,
|
|
158
|
+
interface: {
|
|
159
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
160
|
+
options: {
|
|
161
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.asset.name}`,
|
|
162
|
+
textField: 'title',
|
|
163
|
+
valueField: 'id',
|
|
164
|
+
expose: [
|
|
165
|
+
{ source: 'id', target: 'asset.id' },
|
|
166
|
+
{ source: 'code', target: 'asset.code' },
|
|
167
|
+
{ source: 'title', target: 'asset.title' },
|
|
168
|
+
],
|
|
169
|
+
look: 'select',
|
|
170
|
+
disabled: true,
|
|
171
|
+
readonly: true,
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
options: {
|
|
176
|
+
sort: { enabled: true },
|
|
177
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
178
|
+
},
|
|
179
|
+
validations: [{ rule: 'required' }],
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'rentalDirection',
|
|
183
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentalDirection.title',
|
|
184
|
+
groupId: 'basic-info',
|
|
185
|
+
schema: {
|
|
186
|
+
dataType: 'string',
|
|
187
|
+
visible: false,
|
|
188
|
+
readonly: true,
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'rentedToId',
|
|
193
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedToId.title',
|
|
194
|
+
groupId: 'basic-info',
|
|
195
|
+
schema: {
|
|
196
|
+
dataType: 'string',
|
|
197
|
+
nullable: true,
|
|
198
|
+
visible: `{{ context.eval("rentalDirection") === "rentTo" }}`,
|
|
199
|
+
interface: {
|
|
200
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
201
|
+
options: {
|
|
202
|
+
entity: `${'SupplierManagement'}.${'Supplier'}`,
|
|
203
|
+
textField: 'party.title',
|
|
204
|
+
valueField: 'id',
|
|
205
|
+
expose: [
|
|
206
|
+
{ source: 'id', target: 'rentedTo.id' },
|
|
207
|
+
{ source: 'party.title', target: 'rentedTo.displayName' },
|
|
208
|
+
],
|
|
209
|
+
look: 'select',
|
|
210
|
+
allowCreate: 'quick',
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
options: {
|
|
215
|
+
sort: { enabled: true },
|
|
216
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
217
|
+
},
|
|
218
|
+
validations: [
|
|
219
|
+
{ rule: 'required' },
|
|
220
|
+
{
|
|
221
|
+
rule: 'at-least-one-of',
|
|
222
|
+
options: {
|
|
223
|
+
paths: ['rentedToId', 'rentedFromId'],
|
|
224
|
+
message: '@asset-management:assetRentalHistories.entities.assetRentalHistory.validations.rental-party-required',
|
|
225
|
+
},
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'rentedFromId',
|
|
231
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedFromId.title',
|
|
232
|
+
groupId: 'basic-info',
|
|
233
|
+
schema: {
|
|
234
|
+
dataType: 'string',
|
|
235
|
+
nullable: true,
|
|
236
|
+
visible: `{{ context.eval("rentalDirection") === "rentFrom" }}`,
|
|
237
|
+
interface: {
|
|
238
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
239
|
+
options: {
|
|
240
|
+
entity: `${'SupplierManagement'}.${'Supplier'}`,
|
|
241
|
+
textField: 'party.title',
|
|
242
|
+
valueField: 'id',
|
|
243
|
+
expose: [
|
|
244
|
+
{ source: 'id', target: 'rentedFrom.id' },
|
|
245
|
+
{ source: 'party.title', target: 'rentedFrom.displayName' },
|
|
246
|
+
],
|
|
247
|
+
look: 'select',
|
|
248
|
+
allowCreate: 'quick',
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
options: {
|
|
253
|
+
sort: { enabled: true },
|
|
254
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
255
|
+
},
|
|
256
|
+
validations: [{ rule: 'required' }],
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'createdDate',
|
|
260
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.createdDate.title',
|
|
261
|
+
groupId: 'basic-info',
|
|
262
|
+
schema: {
|
|
263
|
+
dataType: 'date',
|
|
264
|
+
readonly: true,
|
|
265
|
+
// Evaluated when the create widget renders (function defaultValue is not invoked by the widget host).
|
|
266
|
+
defaultValue: '{{ new Date().toISOString() }}',
|
|
267
|
+
visible: false,
|
|
268
|
+
interface: {
|
|
269
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
270
|
+
options: {
|
|
271
|
+
format: 'datetime',
|
|
272
|
+
disabled: true,
|
|
273
|
+
readonly: true,
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
options: {
|
|
278
|
+
sort: { enabled: true },
|
|
279
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'startDate',
|
|
284
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.startDate.title',
|
|
285
|
+
groupId: 'basic-info',
|
|
286
|
+
schema: {
|
|
287
|
+
dataType: 'date',
|
|
288
|
+
interface: {
|
|
289
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
290
|
+
options: { format: 'date' },
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
options: {
|
|
294
|
+
sort: { enabled: true },
|
|
295
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
296
|
+
},
|
|
297
|
+
validations: [{ rule: 'required' }],
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: 'monthlyRent',
|
|
301
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.monthlyRent.title',
|
|
302
|
+
groupId: 'basic-info',
|
|
303
|
+
schema: {
|
|
304
|
+
dataType: 'number',
|
|
305
|
+
interface: {
|
|
306
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
307
|
+
options: {
|
|
308
|
+
decimals: 2,
|
|
309
|
+
format: {
|
|
310
|
+
name: 'number',
|
|
311
|
+
},
|
|
312
|
+
seprator: ',',
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
options: {
|
|
317
|
+
sort: { enabled: true },
|
|
318
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
319
|
+
},
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: 'expectedReturnDate',
|
|
323
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.expectedReturnDate.title',
|
|
324
|
+
groupId: 'basic-info',
|
|
325
|
+
schema: {
|
|
326
|
+
dataType: 'date',
|
|
327
|
+
nullable: true,
|
|
328
|
+
interface: {
|
|
329
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
330
|
+
options: { format: 'date' },
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
options: {
|
|
334
|
+
sort: { enabled: true },
|
|
335
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: 'actualReturnDate',
|
|
340
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.actualReturnDate.title',
|
|
341
|
+
groupId: 'basic-info',
|
|
342
|
+
schema: {
|
|
343
|
+
dataType: 'date',
|
|
344
|
+
nullable: true,
|
|
345
|
+
interface: {
|
|
346
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
347
|
+
options: { format: 'date' },
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
options: {
|
|
351
|
+
sort: { enabled: true },
|
|
352
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'description',
|
|
357
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.description.title',
|
|
358
|
+
groupId: 'basic-info',
|
|
359
|
+
schema: {
|
|
360
|
+
dataType: 'string',
|
|
361
|
+
nullable: true,
|
|
362
|
+
interface: {
|
|
363
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
364
|
+
options: { rows: 3 },
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
options: {
|
|
368
|
+
sort: { enabled: false },
|
|
369
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
columns: [
|
|
374
|
+
{
|
|
375
|
+
name: 'rentedToId',
|
|
376
|
+
options: { dataPath: 'rentedTo.displayName', order: 1 },
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
name: 'rentedFromId',
|
|
380
|
+
options: { dataPath: 'rentedFrom.displayName', order: 2 },
|
|
381
|
+
},
|
|
382
|
+
{ name: 'startDate', options: { order: 3 } },
|
|
383
|
+
{ name: 'monthlyRent', options: { order: 4 } },
|
|
384
|
+
{ name: 'expectedReturnDate', options: { order: 4 } },
|
|
385
|
+
{ name: 'actualReturnDate', options: { order: 5 } },
|
|
386
|
+
{ name: 'description', options: { order: 7 } },
|
|
387
|
+
],
|
|
388
|
+
interfaces: {
|
|
389
|
+
master: {
|
|
390
|
+
create: {
|
|
391
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
392
|
+
properties: [
|
|
393
|
+
{
|
|
394
|
+
name: 'assetId',
|
|
395
|
+
layout: { positions: { lg: { colSpan: 12, order: 1 } } },
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: 'rentalDirection',
|
|
399
|
+
layout: { positions: { lg: { colSpan: 12, order: 2 } } },
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
name: 'rentedToId',
|
|
403
|
+
layout: { positions: { lg: { colSpan: 12, order: 3 } } },
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: 'rentedFromId',
|
|
407
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } } },
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
name: 'startDate',
|
|
411
|
+
layout: { positions: { lg: { colSpan: 6, order: 5 } } },
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: 'monthlyRent',
|
|
415
|
+
layout: { positions: { lg: { colSpan: 6, order: 6 } } },
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
name: 'expectedReturnDate',
|
|
419
|
+
layout: { positions: { lg: { colSpan: 6, order: 7 } } },
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'actualReturnDate',
|
|
423
|
+
layout: { positions: { lg: { colSpan: 6, order: 8 } } },
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: 'description',
|
|
427
|
+
layout: { positions: { lg: { colSpan: 12, order: 10 } } },
|
|
428
|
+
},
|
|
429
|
+
],
|
|
430
|
+
},
|
|
431
|
+
update: {
|
|
432
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
433
|
+
properties: [
|
|
434
|
+
{
|
|
435
|
+
name: 'assetId',
|
|
436
|
+
layout: { positions: { lg: { colSpan: 12, order: 1 } } },
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
name: 'rentalDirection',
|
|
440
|
+
layout: { positions: { lg: { colSpan: 12, order: 2 } } },
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
name: 'rentedToId',
|
|
444
|
+
layout: { positions: { lg: { colSpan: 12, order: 3 } } },
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
name: 'rentedFromId',
|
|
448
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } } },
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: 'startDate',
|
|
452
|
+
layout: { positions: { lg: { colSpan: 6, order: 5 } } },
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
name: 'monthlyRent',
|
|
456
|
+
layout: { positions: { lg: { colSpan: 6, order: 6 } } },
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: 'expectedReturnDate',
|
|
460
|
+
layout: { positions: { lg: { colSpan: 6, order: 7 } } },
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
name: 'actualReturnDate',
|
|
464
|
+
layout: { positions: { lg: { colSpan: 6, order: 8 } } },
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: 'description',
|
|
468
|
+
layout: { positions: { lg: { colSpan: 12, order: 9 } } },
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
},
|
|
472
|
+
single: {
|
|
473
|
+
title: '{{ asset.title }}',
|
|
474
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
475
|
+
properties: [
|
|
476
|
+
{
|
|
477
|
+
name: 'assetId',
|
|
478
|
+
layout: { positions: { lg: { colSpan: 12, order: 1 } } },
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'rentalDirection',
|
|
482
|
+
layout: { positions: { lg: { colSpan: 12, order: 2 } } },
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: 'rentedToId',
|
|
486
|
+
layout: { positions: { lg: { colSpan: 12, order: 3 } } },
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
name: 'rentedFromId',
|
|
490
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } } },
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: 'startDate',
|
|
494
|
+
layout: { positions: { lg: { colSpan: 6, order: 5 } } },
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
name: 'monthlyRent',
|
|
498
|
+
layout: { positions: { lg: { colSpan: 6, order: 6 } } },
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
name: 'expectedReturnDate',
|
|
502
|
+
layout: {
|
|
503
|
+
positions: { lg: { colSpan: 6, order: 7, colStart: 1 } },
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: 'actualReturnDate',
|
|
508
|
+
layout: { positions: { lg: { colSpan: 8, order: 6 } } },
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
name: 'description',
|
|
512
|
+
layout: { positions: { lg: { colSpan: 12, order: 9 } } },
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
actions: [...entityMasterRecordActions()],
|
|
516
|
+
},
|
|
517
|
+
list: {
|
|
518
|
+
views: [
|
|
519
|
+
createAllQueryView({
|
|
520
|
+
sorts: [{ name: 'createdDate', dir: 'desc' }],
|
|
521
|
+
}),
|
|
522
|
+
],
|
|
523
|
+
},
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
};
|
|
527
|
+
return entityDef;
|
|
528
|
+
}
|
|
529
|
+
//#endregion
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Generated bundle index. Do not edit.
|
|
533
|
+
*/
|
|
534
|
+
|
|
535
|
+
export { factoryAssetRentalHistory };
|
|
536
|
+
//# sourceMappingURL=acorex-platform-module-asset-management-client-contracts-entities-asset-rental-history.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-asset-management-client-contracts-entities-asset-rental-history.mjs","sources":["../../../../libs/modules/asset-management/contracts/src/root-config.ts","../../../../libs/modules/asset-management/contracts/src/entities/asset-rental-history/asset-rental-history.entity.ts","../../../../libs/modules/asset-management/contracts/src/acorex-platform-module-asset-management-client-contracts-entities-asset-rental-history.ts"],"sourcesContent":["//#region ---- Root Configuration ----\n\nconst config = {\n i18n: 'asset-management',\n module: 'AssetManagement',\n route: 'asset-management',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: config.route,\n name: config.module,\n title: '@asset-management:module.title',\n icon: 'fa-light fa-industry',\n },\n entities: {\n assetRentalHistory: {\n name: 'AssetRentalHistory',\n source: `${config.module}.AssetRentalHistory`,\n title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.title',\n titlePlural: '@asset-management:assetRentalHistories.entities.assetRentalHistory.plural',\n icon: 'fa-light fa-file-contract',\n },\n assetSystemAssignment: {\n name: 'AssetSystemAssignment',\n source: `${config.module}.AssetSystemAssignment`,\n title: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.title',\n titlePlural: '@asset-management:assetSystemAssignments.entities.assetSystemAssignment.plural',\n icon: 'fa-light fa-link',\n },\n asset: {\n name: 'Asset',\n source: `${config.module}.Asset`,\n title: '@asset-management:assets.entities.asset.title',\n titlePlural: '@asset-management:assets.entities.asset.plural',\n icon: 'fa-light fa-box',\n },\n assetType: {\n name: 'AssetType',\n source: `${config.module}.AssetType`,\n title: '@asset-management:assetTypes.entities.assetType.title',\n titlePlural: '@asset-management:assetTypes.entities.assetType.plural',\n icon: 'fa-light fa-cubes',\n },\n assetTypeSection: {\n name: 'AssetTypeSection',\n source: `${config.module}.AssetTypeSection`,\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.title',\n titlePlural: '@asset-management:assetTypeSections.entities.assetTypeSection.plural',\n icon: 'fa-light fa-layer-group',\n },\n assetTypeSectionComponent: {\n name: 'AssetTypeSectionComponent',\n source: `${config.module}.AssetTypeSectionComponent`,\n title: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.title',\n titlePlural: '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.plural',\n icon: 'fa-light fa-puzzle-piece',\n },\n assetSystemType: {\n name: 'AssetSystemType',\n source: `${config.module}.AssetSystemType`,\n title: '@asset-management:assetSystemTypes.entities.assetSystemType.title',\n titlePlural: '@asset-management:assetSystemTypes.entities.assetSystemType.plural',\n icon: 'fa-light fa-diagram-subtask',\n },\n assetSystem: {\n name: 'AssetSystem',\n source: `${config.module}.AssetSystem`,\n title: 'Asset System',\n titlePlural: 'Asset Systems',\n icon: 'fa-light fa-diagram-project',\n },\n manualAssetCategory: {\n name: 'ManualAssetCategory',\n source: `${config.module}.ManualAssetCategory`,\n title: '@asset-management:asset-categories.entities.asset-category.title',\n titlePlural: '@asset-management:asset-categories.entities.asset-category.plural',\n icon: 'fa-light fa-tags',\n },\n // inspection: {\n // name: 'Inspection',\n // source: `${config.module}.Inspection`,\n // title: '@asset-management:inspections.entities.inspection.title',\n // titlePlural: '@asset-management:inspections.entities.inspection.plural',\n // icon: 'fa-light fa-clipboard-check',\n // },\n // assetStatus: {\n // name: 'AssetStatus',\n // source: `${config.module}.AssetStatus`,\n // title: '@asset-management:asset-statuses.entities.asset-status.title',\n // titlePlural: '@asset-management:asset-statuses.entities.asset-status.plural',\n // icon: 'fa-light fa-signal',\n // },\n },\n queries: {\n reports: {\n getAssetsByStatus: `${config.module}:Reports:GetAssetsByStatus`,\n getRentalUtilization: `${config.module}:Reports:GetRentalUtilization`,\n },\n },\n} as const;\n\n//#endregion\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport {\n AXPEntity,\n createAllQueryView,\n entityMasterRecordActions,\n} 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 factoryAssetRentalHistory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetRentalHistory.name,\n title: RootConfig.entities.assetRentalHistory.title,\n icon: RootConfig.entities.assetRentalHistory.icon,\n plugins: [\n {\n name: 'status',\n options: {\n field: 'status',\n definition: 'asset-management.status.asset-rental-history',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.status.title',\n groupId: 'basic-info',\n generate: { views: { enabled: false } },\n },\n },\n ],\n relatedEntities: [],\n formats: {\n individual: RootConfig.entities.assetRentalHistory.title,\n plural: RootConfig.entities.assetRentalHistory.titlePlural,\n searchResult: { title: '{{ asset.title }}' },\n },\n groups: [\n {\n id: 'basic-info',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.id.title',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'assetId',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.assetId.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n readonly: true,\n visible: false,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.asset.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'asset.id' },\n { source: 'code', target: 'asset.code' },\n { source: 'title', target: 'asset.title' },\n ],\n look: 'select',\n disabled: true,\n readonly: true,\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: 'rentalDirection',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentalDirection.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n visible: false,\n readonly: true,\n },\n },\n {\n name: 'rentedToId',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedToId.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n nullable: true,\n visible: `{{ context.eval(\"rentalDirection\") === \"rentTo\" }}`,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${'SupplierManagement'}.${'Supplier'}`,\n textField: 'party.title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'rentedTo.id' },\n { source: 'party.title', target: 'rentedTo.displayName' },\n ],\n look: 'select',\n allowCreate: 'quick',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [\n { rule: 'required' },\n {\n rule: 'at-least-one-of',\n options: {\n paths: ['rentedToId', 'rentedFromId'],\n message:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.validations.rental-party-required',\n },\n },\n ],\n },\n {\n name: 'rentedFromId',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedFromId.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n nullable: true,\n visible: `{{ context.eval(\"rentalDirection\") === \"rentFrom\" }}`,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${'SupplierManagement'}.${'Supplier'}`,\n textField: 'party.title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'rentedFrom.id' },\n { source: 'party.title', target: 'rentedFrom.displayName' },\n ],\n look: 'select',\n allowCreate: 'quick',\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: 'createdDate',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.createdDate.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n readonly: true,\n // Evaluated when the create widget renders (function defaultValue is not invoked by the widget host).\n defaultValue: '{{ new Date().toISOString() }}',\n visible: false,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n format: 'datetime',\n disabled: true,\n readonly: true,\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'startDate',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.startDate.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { format: 'date' },\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: 'monthlyRent',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.monthlyRent.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n decimals: 2,\n format: {\n name: 'number',\n },\n seprator: ',',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'expectedReturnDate',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.expectedReturnDate.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { format: 'date' },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'actualReturnDate',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.actualReturnDate.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'date',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: { format: 'date' },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'description',\n title:\n '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.description.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: { rows: 3 },\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n },\n ],\n columns: [\n {\n name: 'rentedToId',\n options: { dataPath: 'rentedTo.displayName', order: 1 },\n },\n {\n name: 'rentedFromId',\n options: { dataPath: 'rentedFrom.displayName', order: 2 },\n },\n { name: 'startDate', options: { order: 3 } },\n { name: 'monthlyRent', options: { order: 4 } },\n { name: 'expectedReturnDate', options: { order: 4 } },\n { name: 'actualReturnDate', options: { order: 5 } },\n { name: 'description', options: { order: 7 } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n {\n name: 'assetId',\n layout: { positions: { lg: { colSpan: 12, order: 1 } } },\n },\n {\n name: 'rentalDirection',\n layout: { positions: { lg: { colSpan: 12, order: 2 } } },\n },\n {\n name: 'rentedToId',\n layout: { positions: { lg: { colSpan: 12, order: 3 } } },\n },\n {\n name: 'rentedFromId',\n layout: { positions: { lg: { colSpan: 12, order: 4 } } },\n },\n {\n name: 'startDate',\n layout: { positions: { lg: { colSpan: 6, order: 5 } } },\n },\n {\n name: 'monthlyRent',\n layout: { positions: { lg: { colSpan: 6, order: 6 } } },\n },\n {\n name: 'expectedReturnDate',\n layout: { positions: { lg: { colSpan: 6, order: 7 } } },\n },\n {\n name: 'actualReturnDate',\n layout: { positions: { lg: { colSpan: 6, order: 8 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 10 } } },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n {\n name: 'assetId',\n layout: { positions: { lg: { colSpan: 12, order: 1 } } },\n },\n {\n name: 'rentalDirection',\n layout: { positions: { lg: { colSpan: 12, order: 2 } } },\n },\n {\n name: 'rentedToId',\n layout: { positions: { lg: { colSpan: 12, order: 3 } } },\n },\n {\n name: 'rentedFromId',\n layout: { positions: { lg: { colSpan: 12, order: 4 } } },\n },\n {\n name: 'startDate',\n layout: { positions: { lg: { colSpan: 6, order: 5 } } },\n },\n {\n name: 'monthlyRent',\n layout: { positions: { lg: { colSpan: 6, order: 6 } } },\n },\n {\n name: 'expectedReturnDate',\n layout: { positions: { lg: { colSpan: 6, order: 7 } } },\n },\n {\n name: 'actualReturnDate',\n layout: { positions: { lg: { colSpan: 6, order: 8 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 9 } } },\n },\n ],\n },\n single: {\n title: '{{ asset.title }}',\n sections: [{ id: 'basic-info', order: 1 }],\n properties: [\n {\n name: 'assetId',\n layout: { positions: { lg: { colSpan: 12, order: 1 } } },\n },\n {\n name: 'rentalDirection',\n layout: { positions: { lg: { colSpan: 12, order: 2 } } },\n },\n {\n name: 'rentedToId',\n layout: { positions: { lg: { colSpan: 12, order: 3 } } },\n },\n {\n name: 'rentedFromId',\n layout: { positions: { lg: { colSpan: 12, order: 4 } } },\n },\n {\n name: 'startDate',\n layout: { positions: { lg: { colSpan: 6, order: 5 } } },\n },\n {\n name: 'monthlyRent',\n layout: { positions: { lg: { colSpan: 6, order: 6 } } },\n },\n {\n name: 'expectedReturnDate',\n layout: {\n positions: { lg: { colSpan: 6, order: 7, colStart: 1 } },\n },\n },\n {\n name: 'actualReturnDate',\n layout: { positions: { lg: { colSpan: 8, order: 6 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 9 } } },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n views: [\n createAllQueryView({\n sorts: [{ name: 'createdDate', dir: 'desc' }],\n }),\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.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