@acorex-platform/module-learning-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-learning-management-client-contracts-entities-attendance.mjs +310 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-attendance.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.mjs +361 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.mjs +315 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate.mjs +419 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course-type.mjs +303 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course.mjs +425 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs +351 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.mjs +275 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path.mjs +312 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license-type.mjs +268 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license.mjs +455 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.mjs +307 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill-level.mjs +269 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill-level.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill.mjs +312 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-definition.mjs +385 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-type.mjs +268 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training.mjs +533 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-D6aoPKI0.mjs +168 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-D6aoPKI0.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-DZE6j1Hi.mjs +177 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-DZE6j1Hi.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-DxhgZoxi.mjs +228 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-DxhgZoxi.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-CiLEVy60.mjs +182 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-CiLEVy60.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-BKYQ4DdM.mjs +286 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-BKYQ4DdM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-DFZCsg01.mjs +170 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-DFZCsg01.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-CeZmDTkI.mjs +292 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-CeZmDTkI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-C0CC-Azv.mjs +218 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-C0CC-Azv.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-DSapNwgY.mjs +142 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-DSapNwgY.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-tMIEObH2.mjs +179 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-tMIEObH2.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-BuYZmsU9.mjs +135 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-BuYZmsU9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-QWIskVC5.mjs +322 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-QWIskVC5.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-DhagF6ds.mjs +174 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-DhagF6ds.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-BAPpLmG4.mjs +136 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-BAPpLmG4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-dri0gz1n.mjs +179 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-dri0gz1n.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs +252 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs +135 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-DrL1z0Za.mjs +400 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-DrL1z0Za.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs +45 -0
- package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-learning-management-client.mjs +69 -3
- package/fesm2022/acorex-platform-module-learning-management-client.mjs.map +1 -1
- package/package.json +77 -1
- package/types/acorex-platform-module-learning-management-client-contracts-entities-attendance.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-course-type.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-course.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-enrollment.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-license-type.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-license.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-skill-level.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-skill.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-training-definition.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-training-type.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entities-training.d.ts +5 -0
- package/types/acorex-platform-module-learning-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-learning-management-client-local-entities.d.ts +12 -0
- package/types/acorex-platform-module-learning-management-client.d.ts +8 -2
|
@@ -0,0 +1,252 @@
|
|
|
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-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-D6aoPKI0.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function factoryTrainingDefinition() {
|
|
8
|
+
const entityDef = {
|
|
9
|
+
module: RootConfig.module.name,
|
|
10
|
+
name: RootConfig.entities.trainingDefinition.name,
|
|
11
|
+
title: RootConfig.entities.trainingDefinition.title,
|
|
12
|
+
icon: RootConfig.entities.trainingDefinition.icon,
|
|
13
|
+
plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'clone' }, { name: 'archive' }, { name: 'category' }],
|
|
14
|
+
formats: {
|
|
15
|
+
individual: RootConfig.entities.trainingDefinition.title,
|
|
16
|
+
plural: RootConfig.entities.trainingDefinition.titlePlural,
|
|
17
|
+
searchResult: {
|
|
18
|
+
title: '{{ title }}',
|
|
19
|
+
description: '{{ course.title }}',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
groups: [
|
|
23
|
+
{ id: 'basic-info', title: '@general:terms.interface.basic-info' },
|
|
24
|
+
{ id: 'defaults', title: '@learning-management:trainings.entities.training-definition.groups.defaults' },
|
|
25
|
+
],
|
|
26
|
+
properties: [
|
|
27
|
+
{
|
|
28
|
+
name: 'id',
|
|
29
|
+
title: 'ID',
|
|
30
|
+
groupId: 'basic-info',
|
|
31
|
+
schema: {
|
|
32
|
+
dataType: 'uuid',
|
|
33
|
+
visible: false,
|
|
34
|
+
nullable: false,
|
|
35
|
+
readonly: true,
|
|
36
|
+
unique: { enabled: true },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'title',
|
|
41
|
+
title: '@learning-management:trainings.entities.training-definition.fields.title.title',
|
|
42
|
+
groupId: 'basic-info',
|
|
43
|
+
options: {
|
|
44
|
+
sort: { enabled: true },
|
|
45
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
46
|
+
},
|
|
47
|
+
schema: {
|
|
48
|
+
dataType: 'string',
|
|
49
|
+
interface: {
|
|
50
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
51
|
+
options: {
|
|
52
|
+
placeholder: '@learning-management:trainings.entities.training-definition.fields.title.placeholder',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
validations: [{ rule: 'required' }],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'description',
|
|
60
|
+
title: '@learning-management:trainings.entities.training-definition.fields.description.title',
|
|
61
|
+
groupId: 'basic-info',
|
|
62
|
+
schema: {
|
|
63
|
+
dataType: 'string',
|
|
64
|
+
interface: {
|
|
65
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
66
|
+
options: {
|
|
67
|
+
rows: 4,
|
|
68
|
+
placeholder: '@learning-management:trainings.entities.training-definition.fields.description.placeholder',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'courseId',
|
|
75
|
+
title: '@learning-management:trainings.entities.training-definition.fields.course-id.title',
|
|
76
|
+
groupId: 'basic-info',
|
|
77
|
+
options: {
|
|
78
|
+
sort: { enabled: true },
|
|
79
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
80
|
+
},
|
|
81
|
+
schema: {
|
|
82
|
+
dataType: 'string',
|
|
83
|
+
interface: {
|
|
84
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
85
|
+
options: {
|
|
86
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.course.name}`,
|
|
87
|
+
look: 'select',
|
|
88
|
+
expose: [
|
|
89
|
+
{ source: 'id', target: 'course.id' },
|
|
90
|
+
{ source: 'title', target: 'course.title' },
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
validations: [{ rule: 'required' }],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: 'trainingTypeId',
|
|
99
|
+
title: '@learning-management:trainings.entities.training-definition.fields.training-type-id.title',
|
|
100
|
+
groupId: 'basic-info',
|
|
101
|
+
options: {
|
|
102
|
+
sort: { enabled: true },
|
|
103
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
104
|
+
},
|
|
105
|
+
schema: {
|
|
106
|
+
dataType: 'string',
|
|
107
|
+
interface: {
|
|
108
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
109
|
+
options: {
|
|
110
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.trainingType.name}`,
|
|
111
|
+
look: 'select',
|
|
112
|
+
expose: [
|
|
113
|
+
{ source: 'id', target: 'trainingType.id' },
|
|
114
|
+
{ source: 'title', target: 'trainingType.title' },
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
validations: [{ rule: 'required' }],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: 'defaultDurationHours',
|
|
123
|
+
title: '@learning-management:trainings.entities.training-definition.fields.default-duration-hours.title',
|
|
124
|
+
groupId: 'defaults',
|
|
125
|
+
schema: {
|
|
126
|
+
dataType: 'number',
|
|
127
|
+
interface: {
|
|
128
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
129
|
+
options: {
|
|
130
|
+
minValue: 0,
|
|
131
|
+
placeholder: '@learning-management:trainings.entities.training-definition.fields.default-duration-hours.placeholder',
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: 'defaultCapacity',
|
|
138
|
+
title: '@learning-management:trainings.entities.training-definition.fields.default-capacity.title',
|
|
139
|
+
groupId: 'defaults',
|
|
140
|
+
schema: {
|
|
141
|
+
dataType: 'number',
|
|
142
|
+
interface: {
|
|
143
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
144
|
+
options: {
|
|
145
|
+
minValue: 0,
|
|
146
|
+
placeholder: '@learning-management:trainings.entities.training-definition.fields.default-capacity.placeholder',
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'defaultLocationId',
|
|
153
|
+
title: '@learning-management:trainings.entities.training-definition.fields.default-location-id.title',
|
|
154
|
+
groupId: 'defaults',
|
|
155
|
+
schema: {
|
|
156
|
+
dataType: 'string',
|
|
157
|
+
interface: {
|
|
158
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
159
|
+
options: {
|
|
160
|
+
entity: 'LocationManagement.Location',
|
|
161
|
+
expose: [
|
|
162
|
+
{ source: 'id', target: 'defaultLocation.id' },
|
|
163
|
+
{ source: 'title', target: 'defaultLocation.title' },
|
|
164
|
+
],
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: 'isActive',
|
|
171
|
+
title: '@learning-management:trainings.entities.training-definition.fields.is-active.title',
|
|
172
|
+
groupId: 'defaults',
|
|
173
|
+
schema: {
|
|
174
|
+
dataType: 'boolean',
|
|
175
|
+
defaultValue: true,
|
|
176
|
+
interface: {
|
|
177
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
],
|
|
182
|
+
columns: [
|
|
183
|
+
{ name: 'title' },
|
|
184
|
+
{ name: 'courseId', options: { dataPath: 'course.title' } },
|
|
185
|
+
{ name: 'trainingTypeId', options: { dataPath: 'trainingType.title' } },
|
|
186
|
+
{ name: 'isActive' },
|
|
187
|
+
],
|
|
188
|
+
interfaces: {
|
|
189
|
+
master: {
|
|
190
|
+
create: {
|
|
191
|
+
sections: [
|
|
192
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
193
|
+
{ id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
194
|
+
],
|
|
195
|
+
properties: [
|
|
196
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
197
|
+
{ name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
198
|
+
{ name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
199
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
200
|
+
{ name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
|
|
201
|
+
{ name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
202
|
+
{ name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
|
|
203
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
update: {
|
|
207
|
+
sections: [
|
|
208
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
209
|
+
{ id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
210
|
+
],
|
|
211
|
+
properties: [
|
|
212
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
213
|
+
{ name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
214
|
+
{ name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
215
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
216
|
+
{ name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
|
|
217
|
+
{ name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
218
|
+
{ name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
|
|
219
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
single: {
|
|
223
|
+
title: '{{ title }}',
|
|
224
|
+
sections: [
|
|
225
|
+
{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
226
|
+
{ id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
227
|
+
],
|
|
228
|
+
properties: [
|
|
229
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
230
|
+
{ name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
231
|
+
{ name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
232
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
|
|
233
|
+
{ name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },
|
|
234
|
+
{ name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },
|
|
235
|
+
{ name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
|
|
236
|
+
{ name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },
|
|
237
|
+
],
|
|
238
|
+
actions: [...entityMasterRecordActions()],
|
|
239
|
+
},
|
|
240
|
+
list: {
|
|
241
|
+
actions: [...entityMasterCrudActions()],
|
|
242
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
};
|
|
247
|
+
return entityDef;
|
|
248
|
+
}
|
|
249
|
+
//#endregion
|
|
250
|
+
|
|
251
|
+
export { factoryTrainingDefinition };
|
|
252
|
+
//# sourceMappingURL=acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs","sources":["../../../../libs/modules/learning-management/contracts/src/entities/training-definition/training-definition.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 factoryTrainingDefinition(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.trainingDefinition.name,\n title: RootConfig.entities.trainingDefinition.title,\n icon: RootConfig.entities.trainingDefinition.icon,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'clone' }, { name: 'archive' }, { name: 'category' }],\n formats: {\n individual: RootConfig.entities.trainingDefinition.title,\n plural: RootConfig.entities.trainingDefinition.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ course.title }}',\n },\n },\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'defaults', title: '@learning-management:trainings.entities.training-definition.groups.defaults' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@learning-management:trainings.entities.training-definition.fields.title.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@learning-management:trainings.entities.training-definition.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@learning-management:trainings.entities.training-definition.fields.description.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 4,\n placeholder: '@learning-management:trainings.entities.training-definition.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'courseId',\n title: '@learning-management:trainings.entities.training-definition.fields.course-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.course.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'course.id' },\n { source: 'title', target: 'course.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'trainingTypeId',\n title: '@learning-management:trainings.entities.training-definition.fields.training-type-id.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.trainingType.name}`,\n look: 'select',\n expose: [\n { source: 'id', target: 'trainingType.id' },\n { source: 'title', target: 'trainingType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'defaultDurationHours',\n title: '@learning-management:trainings.entities.training-definition.fields.default-duration-hours.title',\n groupId: 'defaults',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder:\n '@learning-management:trainings.entities.training-definition.fields.default-duration-hours.placeholder',\n },\n },\n },\n },\n {\n name: 'defaultCapacity',\n title: '@learning-management:trainings.entities.training-definition.fields.default-capacity.title',\n groupId: 'defaults',\n schema: {\n dataType: 'number',\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n minValue: 0,\n placeholder:\n '@learning-management:trainings.entities.training-definition.fields.default-capacity.placeholder',\n },\n },\n },\n },\n {\n name: 'defaultLocationId',\n title: '@learning-management:trainings.entities.training-definition.fields.default-location-id.title',\n groupId: 'defaults',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'LocationManagement.Location',\n expose: [\n { source: 'id', target: 'defaultLocation.id' },\n { source: 'title', target: 'defaultLocation.title' },\n ],\n },\n },\n },\n },\n {\n name: 'isActive',\n title: '@learning-management:trainings.entities.training-definition.fields.is-active.title',\n groupId: 'defaults',\n schema: {\n dataType: 'boolean',\n defaultValue: true,\n interface: {\n type: AXPWidgetsList.Editors.ToggleSwitch,\n },\n },\n },\n ],\n columns: [\n { name: 'title' },\n { name: 'courseId', options: { dataPath: 'course.title' } },\n { name: 'trainingTypeId', options: { dataPath: 'trainingType.title' } },\n { name: 'isActive' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'defaults', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'courseId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'trainingTypeId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n { name: 'defaultDurationHours', layout: { positions: { lg: { colSpan: 4, order: 5 } } } },\n { name: 'defaultCapacity', layout: { positions: { lg: { colSpan: 4, order: 6 } } } },\n { name: 'defaultLocationId', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },\n { name: 'isActive', layout: { positions: { lg: { colSpan: 3, order: 8 } } } },\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,yBAAyB,GAAA;AAC7C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI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AG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,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,135 @@
|
|
|
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-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-D6aoPKI0.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region ---- Entity Factory ----
|
|
7
|
+
async function factoryTrainingType() {
|
|
8
|
+
const entityDef = {
|
|
9
|
+
module: RootConfig.module.name,
|
|
10
|
+
name: RootConfig.entities.trainingType.name,
|
|
11
|
+
title: RootConfig.entities.trainingType.title,
|
|
12
|
+
icon: RootConfig.entities.trainingType.icon,
|
|
13
|
+
plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],
|
|
14
|
+
formats: {
|
|
15
|
+
individual: RootConfig.entities.trainingType.title,
|
|
16
|
+
plural: RootConfig.entities.trainingType.titlePlural,
|
|
17
|
+
searchResult: {
|
|
18
|
+
title: '{{ title }}',
|
|
19
|
+
description: '{{ description }}',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
groups: [{ id: 'basic-info', title: '@learning-management:trainings.entities.training-type.groups.basic-info' }],
|
|
23
|
+
properties: [
|
|
24
|
+
{
|
|
25
|
+
name: 'id',
|
|
26
|
+
title: 'ID',
|
|
27
|
+
groupId: 'basic-info',
|
|
28
|
+
schema: {
|
|
29
|
+
dataType: 'uuid',
|
|
30
|
+
visible: false,
|
|
31
|
+
nullable: false,
|
|
32
|
+
readonly: true,
|
|
33
|
+
unique: { enabled: true },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'code',
|
|
38
|
+
title: '@learning-management:trainings.entities.training-type.fields.code.title',
|
|
39
|
+
groupId: 'basic-info',
|
|
40
|
+
options: {
|
|
41
|
+
sort: { enabled: true },
|
|
42
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
43
|
+
},
|
|
44
|
+
schema: {
|
|
45
|
+
dataType: 'string',
|
|
46
|
+
interface: {
|
|
47
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
48
|
+
options: {
|
|
49
|
+
placeholder: '@learning-management:trainings.entities.training-type.fields.code.placeholder',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
validations: [{ rule: 'required' }],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'title',
|
|
57
|
+
title: '@learning-management:trainings.entities.training-type.fields.title.title',
|
|
58
|
+
groupId: 'basic-info',
|
|
59
|
+
options: {
|
|
60
|
+
sort: { enabled: true },
|
|
61
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
62
|
+
},
|
|
63
|
+
schema: {
|
|
64
|
+
dataType: 'string',
|
|
65
|
+
interface: {
|
|
66
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
67
|
+
options: {
|
|
68
|
+
placeholder: '@learning-management:trainings.entities.training-type.fields.title.placeholder',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
validations: [{ rule: 'required' }],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: 'description',
|
|
76
|
+
title: '@learning-management:trainings.entities.training-type.fields.description.title',
|
|
77
|
+
groupId: 'basic-info',
|
|
78
|
+
options: {
|
|
79
|
+
sort: { enabled: false },
|
|
80
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
81
|
+
},
|
|
82
|
+
schema: {
|
|
83
|
+
dataType: 'string',
|
|
84
|
+
interface: {
|
|
85
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
86
|
+
options: {
|
|
87
|
+
rows: 3,
|
|
88
|
+
placeholder: '@learning-management:trainings.entities.training-type.fields.description.placeholder',
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],
|
|
95
|
+
interfaces: {
|
|
96
|
+
master: {
|
|
97
|
+
create: {
|
|
98
|
+
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
99
|
+
properties: [
|
|
100
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
101
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
|
|
102
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
update: {
|
|
106
|
+
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
107
|
+
properties: [
|
|
108
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
109
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
|
|
110
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
single: {
|
|
114
|
+
title: '{{ title }}',
|
|
115
|
+
sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
116
|
+
properties: [
|
|
117
|
+
{ name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },
|
|
118
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },
|
|
119
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
120
|
+
],
|
|
121
|
+
actions: [...entityMasterRecordActions()],
|
|
122
|
+
},
|
|
123
|
+
list: {
|
|
124
|
+
actions: [...entityMasterCrudActions()],
|
|
125
|
+
views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
return entityDef;
|
|
131
|
+
}
|
|
132
|
+
//#endregion
|
|
133
|
+
|
|
134
|
+
export { factoryTrainingType };
|
|
135
|
+
//# sourceMappingURL=acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs","sources":["../../../../libs/modules/learning-management/contracts/src/entities/training-type/training-type.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 factoryTrainingType(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.trainingType.name,\n title: RootConfig.entities.trainingType.title,\n icon: RootConfig.entities.trainingType.icon,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],\n formats: {\n individual: RootConfig.entities.trainingType.title,\n plural: RootConfig.entities.trainingType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n groups: [{ id: 'basic-info', title: '@learning-management:trainings.entities.training-type.groups.basic-info' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'code',\n title: '@learning-management:trainings.entities.training-type.fields.code.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@learning-management:trainings.entities.training-type.fields.code.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@learning-management:trainings.entities.training-type.fields.title.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@learning-management:trainings.entities.training-type.fields.title.placeholder',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@learning-management:trainings.entities.training-type.fields.description.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@learning-management:trainings.entities.training-type.fields.description.placeholder',\n },\n },\n },\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'description' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 4, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 8, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;AAKA;AAEA;AAEO,eAAe,mBAAmB,GAAA;AACvC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AAC3C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK;AAC7C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI;AAC3C,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AACrE,QAAA,OAAO,EAAE;AACP,YAAA,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK;AAClD,YAAA,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,WAAW;AACpD,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,mBAAmB;AACjC,a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