@acorex-platform/module-learning-management-client 0.0.32 → 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.
Files changed (94) hide show
  1. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-attendance.mjs +310 -0
  2. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-attendance.mjs.map +1 -0
  3. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.mjs +361 -0
  4. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.mjs +315 -0
  6. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate.mjs +419 -0
  8. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-certificate.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course-type.mjs +303 -0
  10. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course-type.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course.mjs +425 -0
  12. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-course.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs +351 -0
  14. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.mjs +275 -0
  16. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path.mjs +312 -0
  18. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-learning-path.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license-type.mjs +268 -0
  20. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license-type.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license.mjs +455 -0
  22. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-license.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.mjs +307 -0
  24. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill-level.mjs +269 -0
  26. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill-level.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill.mjs +312 -0
  28. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-skill.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-definition.mjs +385 -0
  30. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-definition.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-type.mjs +268 -0
  32. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training-type.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training.mjs +533 -0
  34. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entities-training.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-D6aoPKI0.mjs +168 -0
  36. 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
  37. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-DZE6j1Hi.mjs +177 -0
  38. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-DZE6j1Hi.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-DxhgZoxi.mjs +228 -0
  40. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-DxhgZoxi.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-CiLEVy60.mjs +182 -0
  42. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-CiLEVy60.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-BKYQ4DdM.mjs +286 -0
  44. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-BKYQ4DdM.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-DFZCsg01.mjs +170 -0
  46. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-DFZCsg01.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-CeZmDTkI.mjs +292 -0
  48. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-CeZmDTkI.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-C0CC-Azv.mjs +218 -0
  50. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-C0CC-Azv.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-DSapNwgY.mjs +142 -0
  52. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-DSapNwgY.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-tMIEObH2.mjs +179 -0
  54. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-tMIEObH2.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-BuYZmsU9.mjs +135 -0
  56. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-BuYZmsU9.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-QWIskVC5.mjs +322 -0
  58. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-QWIskVC5.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-DhagF6ds.mjs +174 -0
  60. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-DhagF6ds.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-BAPpLmG4.mjs +136 -0
  62. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-BAPpLmG4.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-dri0gz1n.mjs +179 -0
  64. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-dri0gz1n.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs +252 -0
  66. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DTEftNxT.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs +135 -0
  68. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-DOAeiXIb.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-DrL1z0Za.mjs +400 -0
  70. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-DrL1z0Za.mjs.map +1 -0
  71. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog.mjs +2 -0
  72. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog.mjs.map +1 -0
  73. package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs +45 -0
  74. package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs.map +1 -0
  75. package/package.json +77 -1
  76. package/types/acorex-platform-module-learning-management-client-contracts-entities-attendance.d.ts +5 -0
  77. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.d.ts +5 -0
  78. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.d.ts +5 -0
  79. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate.d.ts +5 -0
  80. package/types/acorex-platform-module-learning-management-client-contracts-entities-course-type.d.ts +5 -0
  81. package/types/acorex-platform-module-learning-management-client-contracts-entities-course.d.ts +5 -0
  82. package/types/acorex-platform-module-learning-management-client-contracts-entities-enrollment.d.ts +5 -0
  83. package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.d.ts +5 -0
  84. package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path.d.ts +5 -0
  85. package/types/acorex-platform-module-learning-management-client-contracts-entities-license-type.d.ts +5 -0
  86. package/types/acorex-platform-module-learning-management-client-contracts-entities-license.d.ts +5 -0
  87. package/types/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.d.ts +5 -0
  88. package/types/acorex-platform-module-learning-management-client-contracts-entities-skill-level.d.ts +5 -0
  89. package/types/acorex-platform-module-learning-management-client-contracts-entities-skill.d.ts +5 -0
  90. package/types/acorex-platform-module-learning-management-client-contracts-entities-training-definition.d.ts +5 -0
  91. package/types/acorex-platform-module-learning-management-client-contracts-entities-training-type.d.ts +5 -0
  92. package/types/acorex-platform-module-learning-management-client-contracts-entities-training.d.ts +5 -0
  93. package/types/acorex-platform-module-learning-management-client-contracts-entity-catalog.d.ts +10 -0
  94. package/types/acorex-platform-module-learning-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,310 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ //#region ---- Root Configuration ----
5
+ const config = { i18n: 'learning-management', module: 'LearningManagement' };
6
+ const RootConfig = {
7
+ config,
8
+ module: {
9
+ module: 'learning-management',
10
+ name: 'LearningManagement',
11
+ title: '@learning-management:module.title',
12
+ icon: 'fa-light fa-graduation-cap',
13
+ },
14
+ entities: {
15
+ skillCategory: {
16
+ name: 'SkillCategory',
17
+ title: '@learning-management:skills.entities.skill-category.title',
18
+ titlePlural: '@learning-management:skills.entities.skill-category.plural',
19
+ icon: 'fa-light fa-layer-group',
20
+ },
21
+ skill: {
22
+ name: 'Skill',
23
+ title: '@learning-management:skills.entities.skill.title',
24
+ titlePlural: '@learning-management:skills.entities.skill.plural',
25
+ icon: 'fa-light fa-lightbulb',
26
+ },
27
+ skillLevel: {
28
+ name: 'SkillLevel',
29
+ title: '@learning-management:skills.entities.skill-level.title',
30
+ titlePlural: '@learning-management:skills.entities.skill-level.plural',
31
+ icon: 'fa-light fa-stairs',
32
+ },
33
+ courseType: {
34
+ name: 'CourseType',
35
+ title: '@learning-management:courses.entities.course-type.title',
36
+ titlePlural: '@learning-management:courses.entities.course-type.plural',
37
+ icon: 'fa-light fa-diagram-project',
38
+ },
39
+ trainingDefinition: {
40
+ name: 'TrainingDefinition',
41
+ title: '@learning-management:trainings.entities.training-definition.title',
42
+ titlePlural: '@learning-management:trainings.entities.training-definition.plural',
43
+ icon: 'fa-light fa-clipboard-list-check',
44
+ },
45
+ course: {
46
+ name: 'Course',
47
+ title: '@learning-management:courses.entities.course.title',
48
+ titlePlural: '@learning-management:courses.entities.course.plural',
49
+ icon: 'fa-light fa-book-open',
50
+ },
51
+ trainingType: {
52
+ name: 'TrainingType',
53
+ title: '@learning-management:trainings.entities.training-type.title',
54
+ titlePlural: '@learning-management:trainings.entities.training-type.plural',
55
+ icon: 'fa-light fa-clipboard-list',
56
+ },
57
+ training: {
58
+ name: 'Training',
59
+ title: '@learning-management:trainings.entities.training.title',
60
+ titlePlural: '@learning-management:trainings.entities.training.plural',
61
+ icon: 'fa-light fa-chalkboard-teacher',
62
+ },
63
+ enrollment: {
64
+ name: 'Enrollment',
65
+ title: '@learning-management:enrollments.entities.enrollment.title',
66
+ titlePlural: '@learning-management:enrollments.entities.enrollment.plural',
67
+ icon: 'fa-light fa-user-plus',
68
+ },
69
+ attendance: {
70
+ name: 'Attendance',
71
+ title: '@learning-management:enrollments.entities.attendance.title',
72
+ titlePlural: '@learning-management:enrollments.entities.attendance.plural',
73
+ icon: 'fa-light fa-calendar-check',
74
+ },
75
+ certificateType: {
76
+ name: 'CertificateType',
77
+ title: '@learning-management:certificates.entities.certificate-type.title',
78
+ titlePlural: '@learning-management:certificates.entities.certificate-type.plural',
79
+ icon: 'fa-light fa-stamp',
80
+ },
81
+ certificateDefinition: {
82
+ name: 'CertificateDefinition',
83
+ title: '@learning-management:certificates.entities.certificate-definition.title',
84
+ titlePlural: '@learning-management:certificates.entities.certificate-definition.plural',
85
+ icon: 'fa-light fa-scroll',
86
+ },
87
+ certificate: {
88
+ name: 'Certificate',
89
+ title: '@learning-management:certificates.entities.certificate.title',
90
+ titlePlural: '@learning-management:certificates.entities.certificate.plural',
91
+ icon: 'fa-light fa-award',
92
+ },
93
+ learningPath: {
94
+ name: 'LearningPath',
95
+ title: '@learning-management:learning-paths.entities.learning-path.title',
96
+ titlePlural: '@learning-management:learning-paths.entities.learning-path.plural',
97
+ icon: 'fa-light fa-route',
98
+ },
99
+ learningPathCourse: {
100
+ name: 'LearningPathCourse',
101
+ title: '@learning-management:learning-paths.entities.learning-path-course.title',
102
+ titlePlural: '@learning-management:learning-paths.entities.learning-path-course.plural',
103
+ icon: 'fa-light fa-list-ol',
104
+ },
105
+ mandatoryTrainingRule: {
106
+ name: 'MandatoryTrainingRule',
107
+ title: '@learning-management:compliance.entities.mandatory-training-rule.title',
108
+ titlePlural: '@learning-management:compliance.entities.mandatory-training-rule.plural',
109
+ icon: 'fa-light fa-clipboard-check',
110
+ },
111
+ licenseType: {
112
+ name: 'LicenseType',
113
+ title: '@learning-management:licenses.entities.license-type.title',
114
+ titlePlural: '@learning-management:licenses.entities.license-type.plural',
115
+ icon: 'fa-light fa-tags',
116
+ },
117
+ license: {
118
+ name: 'License',
119
+ title: '@learning-management:licenses.entities.license.title',
120
+ titlePlural: '@learning-management:licenses.entities.license.plural',
121
+ icon: 'fa-light fa-id-card',
122
+ },
123
+ },
124
+ queries: {
125
+ dashboard: {
126
+ trainingDueKpi: `${config.module}:Dashboard:TrainingDueKpi`,
127
+ trainingComplianceGauge: `${config.module}:Dashboard:TrainingComplianceGauge`,
128
+ trainingStatusDonut: `${config.module}:Dashboard:TrainingStatusDonut`,
129
+ },
130
+ },
131
+ };
132
+ //#endregion
133
+
134
+ //#endregion
135
+ //#region ---- Entity Factory ----
136
+ async function factoryAttendance() {
137
+ const entityDef = {
138
+ module: RootConfig.module.name,
139
+ name: RootConfig.entities.attendance.name,
140
+ title: RootConfig.entities.attendance.title,
141
+ icon: RootConfig.entities.attendance.icon,
142
+ plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],
143
+ formats: {
144
+ individual: RootConfig.entities.attendance.title,
145
+ plural: RootConfig.entities.attendance.titlePlural,
146
+ searchResult: {
147
+ title: '{{ sessionDate | date:"mediumDate" }}',
148
+ description: '{{ status }}',
149
+ },
150
+ },
151
+ groups: [{ id: 'basic-info', title: '@learning-management:enrollments.entities.attendance.groups.basic-info' }],
152
+ properties: [
153
+ {
154
+ name: 'id',
155
+ title: 'ID',
156
+ groupId: 'basic-info',
157
+ schema: {
158
+ dataType: 'uuid',
159
+ visible: false,
160
+ nullable: false,
161
+ readonly: true,
162
+ unique: { enabled: true },
163
+ },
164
+ },
165
+ {
166
+ name: 'enrollmentId',
167
+ title: '@learning-management:enrollments.entities.attendance.fields.enrollment-id.title',
168
+ groupId: 'basic-info',
169
+ options: {
170
+ sort: { enabled: true },
171
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
172
+ },
173
+ schema: {
174
+ dataType: 'string',
175
+ interface: {
176
+ type: AXPWidgetsList.Editors.LookupBox,
177
+ options: {
178
+ entity: `${RootConfig.module.name}.${RootConfig.entities.enrollment.name}`,
179
+ expose: [
180
+ { source: 'id', target: 'enrollment.id' },
181
+ { source: 'employeeId', target: 'enrollment.employeeId' },
182
+ { source: 'training.title', target: 'enrollment.trainingTitle' },
183
+ ],
184
+ },
185
+ },
186
+ },
187
+ validations: [{ rule: 'required' }],
188
+ },
189
+ {
190
+ name: 'sessionDate',
191
+ title: '@learning-management:enrollments.entities.attendance.fields.session-date.title',
192
+ groupId: 'basic-info',
193
+ options: {
194
+ sort: { enabled: true },
195
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
196
+ },
197
+ schema: {
198
+ dataType: 'date',
199
+ interface: {
200
+ type: AXPWidgetsList.Editors.DateTimeBox,
201
+ options: {
202
+ displayFormat: 'date',
203
+ },
204
+ },
205
+ },
206
+ validations: [{ rule: 'required' }],
207
+ },
208
+ {
209
+ name: 'status',
210
+ title: '@learning-management:enrollments.entities.attendance.fields.status.title',
211
+ groupId: 'basic-info',
212
+ options: {
213
+ sort: { enabled: true },
214
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
215
+ },
216
+ schema: {
217
+ dataType: 'string',
218
+ defaultValue: 'Present',
219
+ interface: {
220
+ type: AXPWidgetsList.Editors.SelectBox,
221
+ options: {
222
+ valueField: 'id',
223
+ dataSource: [
224
+ {
225
+ id: 'Present',
226
+ title: '@learning-management:enrollments.entities.attendance.fields.status.options.present',
227
+ },
228
+ {
229
+ id: 'Absent',
230
+ title: '@learning-management:enrollments.entities.attendance.fields.status.options.absent',
231
+ },
232
+ {
233
+ id: 'Late',
234
+ title: '@learning-management:enrollments.entities.attendance.fields.status.options.late',
235
+ },
236
+ ],
237
+ },
238
+ },
239
+ },
240
+ validations: [{ rule: 'required' }],
241
+ },
242
+ {
243
+ name: 'notes',
244
+ title: '@learning-management:enrollments.entities.attendance.fields.notes.title',
245
+ groupId: 'basic-info',
246
+ schema: {
247
+ dataType: 'string',
248
+ interface: {
249
+ type: AXPWidgetsList.Editors.LargeTextBox,
250
+ options: {
251
+ rows: 3,
252
+ placeholder: '@learning-management:enrollments.entities.attendance.fields.notes.placeholder',
253
+ },
254
+ },
255
+ },
256
+ },
257
+ ],
258
+ columns: [
259
+ { name: 'sessionDate' },
260
+ { name: 'status' },
261
+ { name: 'enrollmentId', options: { dataPath: 'enrollment.employeeId' } },
262
+ ],
263
+ interfaces: {
264
+ master: {
265
+ create: {
266
+ sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
267
+ properties: [
268
+ { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
269
+ { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
270
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
271
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
272
+ ],
273
+ },
274
+ update: {
275
+ sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
276
+ properties: [
277
+ { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
278
+ { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
279
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
280
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
281
+ ],
282
+ },
283
+ single: {
284
+ title: '{{ sessionDate | date:"mediumDate" }}',
285
+ sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],
286
+ properties: [
287
+ { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
288
+ { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },
289
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
290
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
291
+ ],
292
+ actions: [...entityMasterRecordActions()],
293
+ },
294
+ list: {
295
+ actions: [...entityMasterCrudActions()],
296
+ views: [createAllQueryView({ sorts: [{ name: 'sessionDate', dir: 'desc' }] })],
297
+ },
298
+ },
299
+ },
300
+ };
301
+ return entityDef;
302
+ }
303
+ //#endregion
304
+
305
+ /**
306
+ * Generated bundle index. Do not edit.
307
+ */
308
+
309
+ export { factoryAttendance };
310
+ //# sourceMappingURL=acorex-platform-module-learning-management-client-contracts-entities-attendance.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-learning-management-client-contracts-entities-attendance.mjs","sources":["../../../../libs/modules/learning-management/contracts/src/root-config.ts","../../../../libs/modules/learning-management/contracts/src/entities/attendance/attendance.entity.ts","../../../../libs/modules/learning-management/contracts/src/acorex-platform-module-learning-management-client-contracts-entities-attendance.ts"],"sourcesContent":["//#region ---- Root Configuration ----\n\nconst config = { i18n: 'learning-management', module: 'LearningManagement' } as const;\n\nexport const RootConfig = {\n config,\n module: {\n module: 'learning-management',\n name: 'LearningManagement',\n title: '@learning-management:module.title',\n icon: 'fa-light fa-graduation-cap',\n },\n entities: {\n skillCategory: {\n name: 'SkillCategory',\n title: '@learning-management:skills.entities.skill-category.title',\n titlePlural: '@learning-management:skills.entities.skill-category.plural',\n icon: 'fa-light fa-layer-group',\n },\n skill: {\n name: 'Skill',\n title: '@learning-management:skills.entities.skill.title',\n titlePlural: '@learning-management:skills.entities.skill.plural',\n icon: 'fa-light fa-lightbulb',\n },\n skillLevel: {\n name: 'SkillLevel',\n title: '@learning-management:skills.entities.skill-level.title',\n titlePlural: '@learning-management:skills.entities.skill-level.plural',\n icon: 'fa-light fa-stairs',\n },\n courseType: {\n name: 'CourseType',\n title: '@learning-management:courses.entities.course-type.title',\n titlePlural: '@learning-management:courses.entities.course-type.plural',\n icon: 'fa-light fa-diagram-project',\n },\n trainingDefinition: {\n name: 'TrainingDefinition',\n title: '@learning-management:trainings.entities.training-definition.title',\n titlePlural: '@learning-management:trainings.entities.training-definition.plural',\n icon: 'fa-light fa-clipboard-list-check',\n },\n course: {\n name: 'Course',\n title: '@learning-management:courses.entities.course.title',\n titlePlural: '@learning-management:courses.entities.course.plural',\n icon: 'fa-light fa-book-open',\n },\n trainingType: {\n name: 'TrainingType',\n title: '@learning-management:trainings.entities.training-type.title',\n titlePlural: '@learning-management:trainings.entities.training-type.plural',\n icon: 'fa-light fa-clipboard-list',\n },\n training: {\n name: 'Training',\n title: '@learning-management:trainings.entities.training.title',\n titlePlural: '@learning-management:trainings.entities.training.plural',\n icon: 'fa-light fa-chalkboard-teacher',\n },\n enrollment: {\n name: 'Enrollment',\n title: '@learning-management:enrollments.entities.enrollment.title',\n titlePlural: '@learning-management:enrollments.entities.enrollment.plural',\n icon: 'fa-light fa-user-plus',\n },\n attendance: {\n name: 'Attendance',\n title: '@learning-management:enrollments.entities.attendance.title',\n titlePlural: '@learning-management:enrollments.entities.attendance.plural',\n icon: 'fa-light fa-calendar-check',\n },\n certificateType: {\n name: 'CertificateType',\n title: '@learning-management:certificates.entities.certificate-type.title',\n titlePlural: '@learning-management:certificates.entities.certificate-type.plural',\n icon: 'fa-light fa-stamp',\n },\n certificateDefinition: {\n name: 'CertificateDefinition',\n title: '@learning-management:certificates.entities.certificate-definition.title',\n titlePlural: '@learning-management:certificates.entities.certificate-definition.plural',\n icon: 'fa-light fa-scroll',\n },\n certificate: {\n name: 'Certificate',\n title: '@learning-management:certificates.entities.certificate.title',\n titlePlural: '@learning-management:certificates.entities.certificate.plural',\n icon: 'fa-light fa-award',\n },\n learningPath: {\n name: 'LearningPath',\n title: '@learning-management:learning-paths.entities.learning-path.title',\n titlePlural: '@learning-management:learning-paths.entities.learning-path.plural',\n icon: 'fa-light fa-route',\n },\n learningPathCourse: {\n name: 'LearningPathCourse',\n title: '@learning-management:learning-paths.entities.learning-path-course.title',\n titlePlural: '@learning-management:learning-paths.entities.learning-path-course.plural',\n icon: 'fa-light fa-list-ol',\n },\n mandatoryTrainingRule: {\n name: 'MandatoryTrainingRule',\n title: '@learning-management:compliance.entities.mandatory-training-rule.title',\n titlePlural: '@learning-management:compliance.entities.mandatory-training-rule.plural',\n icon: 'fa-light fa-clipboard-check',\n },\n licenseType: {\n name: 'LicenseType',\n title: '@learning-management:licenses.entities.license-type.title',\n titlePlural: '@learning-management:licenses.entities.license-type.plural',\n icon: 'fa-light fa-tags',\n },\n license: {\n name: 'License',\n title: '@learning-management:licenses.entities.license.title',\n titlePlural: '@learning-management:licenses.entities.license.plural',\n icon: 'fa-light fa-id-card',\n },\n },\n queries: {\n dashboard: {\n trainingDueKpi: `${config.module}:Dashboard:TrainingDueKpi`,\n trainingComplianceGauge: `${config.module}:Dashboard:TrainingComplianceGauge`,\n trainingStatusDonut: `${config.module}:Dashboard:TrainingStatusDonut`,\n },\n },\n} as const;\n\n//#endregion\n\n\n","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 factoryAttendance(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.attendance.name,\n title: RootConfig.entities.attendance.title,\n icon: RootConfig.entities.attendance.icon,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],\n formats: {\n individual: RootConfig.entities.attendance.title,\n plural: RootConfig.entities.attendance.titlePlural,\n searchResult: {\n title: '{{ sessionDate | date:\"mediumDate\" }}',\n description: '{{ status }}',\n },\n },\n groups: [{ id: 'basic-info', title: '@learning-management:enrollments.entities.attendance.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: 'enrollmentId',\n title: '@learning-management:enrollments.entities.attendance.fields.enrollment-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.enrollment.name}`,\n expose: [\n { source: 'id', target: 'enrollment.id' },\n { source: 'employeeId', target: 'enrollment.employeeId' },\n { source: 'training.title', target: 'enrollment.trainingTitle' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'sessionDate',\n title: '@learning-management:enrollments.entities.attendance.fields.session-date.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'date',\n interface: {\n type: AXPWidgetsList.Editors.DateTimeBox,\n options: {\n displayFormat: 'date',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'status',\n title: '@learning-management:enrollments.entities.attendance.fields.status.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 defaultValue: 'Present',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n dataSource: [\n {\n id: 'Present',\n title: '@learning-management:enrollments.entities.attendance.fields.status.options.present',\n },\n {\n id: 'Absent',\n title: '@learning-management:enrollments.entities.attendance.fields.status.options.absent',\n },\n {\n id: 'Late',\n title: '@learning-management:enrollments.entities.attendance.fields.status.options.late',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'notes',\n title: '@learning-management:enrollments.entities.attendance.fields.notes.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@learning-management:enrollments.entities.attendance.fields.notes.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'sessionDate' },\n { name: 'status' },\n { name: 'enrollmentId', options: { dataPath: 'enrollment.employeeId' } },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n },\n single: {\n title: '{{ sessionDate | date:\"mediumDate\" }}',\n sections: [{ id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'enrollmentId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'sessionDate', layout: { positions: { lg: { colSpan: 4, order: 2 } } } },\n { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'sessionDate', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.attendance';\n"],"names":[],"mappings":";;;AAAA;AAEA,MAAM,MAAM,GAAG,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,oBAAoB,EAAW;AAE9E,MAAM,UAAU,GAAG;IACtB,MAAM;AACN,IAAA,MAAM,EAAE;AACJ,QAAA,MAAM,EAAE,qBAAqB;AAC7B,QAAA,IAAI,EAAE,oBAAoB;AAC1B,QAAA,KAAK,EAAE,mCAAmC;AAC1C,QAAA,IAAI,EAAE,4BAA4B;AACrC,KAAA;AACD,IAAA,QAAQ,EAAE;AACN,QAAA,aAAa,EAAE;AACX,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,2DAA2D;AAClE,YAAA,WAAW,EAAE,4DAA4D;AACzE,YAAA,IAAI,EAAE,yBAAyB;AAClC,SAAA;AACD,QAAA,KAAK,EAAE;AACH,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,KAAK,EAAE,kDAAkD;AACzD,YAAA,WAAW,EAAE,mDAAmD;AAChE,YAAA,IAAI,EAAE,uBAAuB;AAChC,SAAA;AACD,QAAA,UAAU,EAAE;AACR,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,KAAK,EAAE,wDAAwD;AAC/D,YAAA,WAAW,EAAE,yDAAyD;AACtE,YAAA,IAAI,EAAE,oBAAoB;AAC7B,SAAA;AACD,QAAA,UAAU,EAAE;AACR,YAAA,IAAI,EAAE,YAAY;AAClB,YAAA,KAAK,EAAE,yDAAyD;AAChE,YAAA,WAAW,EAAE,0DAA0D;AACvE,YAAA,IAAI,EAAE,6BAA6B;AACtC,SAAA;AACD,QAAA,kBAAkB,EAAE;AAChB,YAAA,IAAI,EAAE,oBAAoB;AAC1B,YAAA,KAAK,EAAE,mEAAmE;AAC1E,YAAA,WAAW,EAAE,oEAAoE;AACjF,YAAA,IAAI,EAAE,kCAAkC;AAC3C,SAAA;AACD,QAAA,MAAM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