@acorex-platform/module-learning-management-client 0.0.32 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) 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-ClNS17tj.mjs +168 -0
  36. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-acorex-platform-module-learning-management-client-contracts-entity-catalog-ClNS17tj.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-Ck3M7119.mjs +177 -0
  38. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-attendance.entity-Ck3M7119.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-BWLX4Ntr.mjs +228 -0
  40. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-definition.entity-BWLX4Ntr.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-DP1VM7Wz.mjs +182 -0
  42. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate-type.entity-DP1VM7Wz.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-CpFZWjQD.mjs +286 -0
  44. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-certificate.entity-CpFZWjQD.mjs.map +1 -0
  45. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-COvPpeuP.mjs +170 -0
  46. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course-type.entity-COvPpeuP.mjs.map +1 -0
  47. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-DGV0GXOx.mjs +292 -0
  48. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-course.entity-DGV0GXOx.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-BjMAdjP4.mjs +218 -0
  50. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-enrollment.entity-BjMAdjP4.mjs.map +1 -0
  51. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-CnigiF4h.mjs +142 -0
  52. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path-course.entity-CnigiF4h.mjs.map +1 -0
  53. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-BvwGprqj.mjs +179 -0
  54. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-learning-path.entity-BvwGprqj.mjs.map +1 -0
  55. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-CIx_yEsa.mjs +135 -0
  56. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license-type.entity-CIx_yEsa.mjs.map +1 -0
  57. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-Io-OsU9-.mjs +322 -0
  58. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-license.entity-Io-OsU9-.mjs.map +1 -0
  59. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-C1K_lJO-.mjs +174 -0
  60. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-mandatory-training-rule.entity-C1K_lJO-.mjs.map +1 -0
  61. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-CwnxHQp0.mjs +136 -0
  62. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill-level.entity-CwnxHQp0.mjs.map +1 -0
  63. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-BssD-nXO.mjs +179 -0
  64. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-skill.entity-BssD-nXO.mjs.map +1 -0
  65. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DEeDkZCy.mjs +252 -0
  66. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-definition.entity-DEeDkZCy.mjs.map +1 -0
  67. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-BrWqwqm6.mjs +135 -0
  68. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training-type.entity-BrWqwqm6.mjs.map +1 -0
  69. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-CFDPUTEF.mjs +400 -0
  70. package/fesm2022/acorex-platform-module-learning-management-client-contracts-entity-catalog-training.entity-CFDPUTEF.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-contracts.mjs.map +1 -1
  74. package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs +45 -0
  75. package/fesm2022/acorex-platform-module-learning-management-client-local-entities.mjs.map +1 -0
  76. package/fesm2022/acorex-platform-module-learning-management-client.mjs +1 -1
  77. package/fesm2022/acorex-platform-module-learning-management-client.mjs.map +1 -1
  78. package/package.json +77 -1
  79. package/types/acorex-platform-module-learning-management-client-contracts-entities-attendance.d.ts +5 -0
  80. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-definition.d.ts +5 -0
  81. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate-type.d.ts +5 -0
  82. package/types/acorex-platform-module-learning-management-client-contracts-entities-certificate.d.ts +5 -0
  83. package/types/acorex-platform-module-learning-management-client-contracts-entities-course-type.d.ts +5 -0
  84. package/types/acorex-platform-module-learning-management-client-contracts-entities-course.d.ts +5 -0
  85. package/types/acorex-platform-module-learning-management-client-contracts-entities-enrollment.d.ts +5 -0
  86. package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path-course.d.ts +5 -0
  87. package/types/acorex-platform-module-learning-management-client-contracts-entities-learning-path.d.ts +5 -0
  88. package/types/acorex-platform-module-learning-management-client-contracts-entities-license-type.d.ts +5 -0
  89. package/types/acorex-platform-module-learning-management-client-contracts-entities-license.d.ts +5 -0
  90. package/types/acorex-platform-module-learning-management-client-contracts-entities-mandatory-training-rule.d.ts +5 -0
  91. package/types/acorex-platform-module-learning-management-client-contracts-entities-skill-level.d.ts +5 -0
  92. package/types/acorex-platform-module-learning-management-client-contracts-entities-skill.d.ts +5 -0
  93. package/types/acorex-platform-module-learning-management-client-contracts-entities-training-definition.d.ts +5 -0
  94. package/types/acorex-platform-module-learning-management-client-contracts-entities-training-type.d.ts +5 -0
  95. package/types/acorex-platform-module-learning-management-client-contracts-entities-training.d.ts +5 -0
  96. package/types/acorex-platform-module-learning-management-client-contracts-entity-catalog.d.ts +10 -0
  97. package/types/acorex-platform-module-learning-management-client-contracts.d.ts +4 -2
  98. package/types/acorex-platform-module-learning-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,351 @@
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 factoryEnrollment() {
137
+ const entityDef = {
138
+ module: RootConfig.module.name,
139
+ name: RootConfig.entities.enrollment.name,
140
+ title: RootConfig.entities.enrollment.title,
141
+ icon: RootConfig.entities.enrollment.icon,
142
+ plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'attachments' }],
143
+ formats: {
144
+ individual: RootConfig.entities.enrollment.title,
145
+ plural: RootConfig.entities.enrollment.titlePlural,
146
+ searchResult: {
147
+ title: '{{ context.eval("employee.displayName") }}',
148
+ description: '{{ context.eval("training.title", { pipes: ["translate"] }) + " - " + context.eval("status") }}',
149
+ },
150
+ },
151
+ relatedEntities: [
152
+ {
153
+ entity: `${RootConfig.module.name}.${RootConfig.entities.attendance.name}`,
154
+ title: RootConfig.entities.attendance.titlePlural,
155
+ columns: ['sessionDate', 'status'],
156
+ conditions: [
157
+ {
158
+ name: 'enrollmentId',
159
+ operator: { type: 'equal' },
160
+ value: '{{ context.eval("id") }}',
161
+ },
162
+ ],
163
+ },
164
+ ],
165
+ groups: [
166
+ { id: 'basic-info', title: '@learning-management:enrollments.entities.enrollment.groups.basic-info' },
167
+ { id: 'workflow', title: '@learning-management:enrollments.entities.enrollment.groups.workflow' },
168
+ ],
169
+ properties: [
170
+ {
171
+ name: 'id',
172
+ title: 'ID',
173
+ groupId: 'basic-info',
174
+ schema: {
175
+ dataType: 'uuid',
176
+ visible: false,
177
+ nullable: false,
178
+ readonly: true,
179
+ unique: { enabled: true },
180
+ },
181
+ },
182
+ {
183
+ name: 'employeeId',
184
+ title: '@learning-management:enrollments.entities.enrollment.fields.employee-id.title',
185
+ groupId: 'basic-info',
186
+ options: {
187
+ sort: { enabled: true },
188
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
189
+ },
190
+ schema: {
191
+ dataType: 'string',
192
+ interface: {
193
+ type: AXPWidgetsList.Editors.LookupBox,
194
+ options: {
195
+ entity: 'HumanCapitalManagement.Employee',
196
+ expose: [
197
+ { source: 'id', target: 'employee.id' },
198
+ { source: 'person.fullName', target: 'employee.displayName' },
199
+ ],
200
+ },
201
+ },
202
+ },
203
+ validations: [{ rule: 'required' }],
204
+ },
205
+ {
206
+ name: 'trainingId',
207
+ title: '@learning-management:enrollments.entities.enrollment.fields.training-id.title',
208
+ groupId: 'basic-info',
209
+ options: {
210
+ sort: { enabled: true },
211
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
212
+ },
213
+ schema: {
214
+ dataType: 'string',
215
+ interface: {
216
+ type: AXPWidgetsList.Editors.LookupBox,
217
+ options: {
218
+ entity: `${RootConfig.module.name}.${RootConfig.entities.training.name}`,
219
+ expose: [
220
+ { source: 'id', target: 'training.id' },
221
+ { source: 'course.title', target: 'training.title' },
222
+ ],
223
+ },
224
+ },
225
+ },
226
+ validations: [{ rule: 'required' }],
227
+ },
228
+ {
229
+ name: 'status',
230
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.title',
231
+ groupId: 'basic-info',
232
+ options: {
233
+ sort: { enabled: true },
234
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
235
+ },
236
+ schema: {
237
+ dataType: 'string',
238
+ defaultValue: 'Requested',
239
+ interface: {
240
+ type: AXPWidgetsList.Editors.SelectBox,
241
+ options: {
242
+ valueField: 'id',
243
+ dataSource: [
244
+ {
245
+ id: 'Requested',
246
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.requested',
247
+ },
248
+ {
249
+ id: 'Approved',
250
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.approved',
251
+ },
252
+ {
253
+ id: 'Enrolled',
254
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.enrolled',
255
+ },
256
+ {
257
+ id: 'Completed',
258
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.completed',
259
+ },
260
+ {
261
+ id: 'Failed',
262
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.failed',
263
+ },
264
+ {
265
+ id: 'Cancelled',
266
+ title: '@learning-management:enrollments.entities.enrollment.fields.status.options.cancelled',
267
+ },
268
+ ],
269
+ },
270
+ },
271
+ },
272
+ validations: [{ rule: 'required' }],
273
+ },
274
+ {
275
+ name: 'notes',
276
+ title: '@learning-management:enrollments.entities.enrollment.fields.notes.title',
277
+ groupId: 'workflow',
278
+ schema: {
279
+ dataType: 'string',
280
+ interface: {
281
+ type: AXPWidgetsList.Editors.LargeTextBox,
282
+ options: {
283
+ rows: 3,
284
+ placeholder: '@learning-management:enrollments.entities.enrollment.fields.notes.placeholder',
285
+ },
286
+ },
287
+ },
288
+ },
289
+ ],
290
+ columns: [
291
+ { name: 'employeeId', options: { dataPath: 'employee.displayName' } },
292
+ { name: 'trainingId', options: { dataPath: 'training.title' } },
293
+ { name: 'status' },
294
+ ],
295
+ interfaces: {
296
+ master: {
297
+ create: {
298
+ sections: [
299
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
300
+ { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },
301
+ ],
302
+ properties: [
303
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
304
+ { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
305
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
306
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
307
+ ],
308
+ },
309
+ update: {
310
+ sections: [
311
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
312
+ { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },
313
+ ],
314
+ properties: [
315
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
316
+ { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
317
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
318
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
319
+ ],
320
+ },
321
+ single: {
322
+ title: '{{ context.eval("employee.displayName") }}',
323
+ sections: [
324
+ { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },
325
+ { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },
326
+ ],
327
+ properties: [
328
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
329
+ { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
330
+ { name: 'status', layout: { positions: { lg: { colSpan: 4, order: 3 } } } },
331
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12, order: 4 } } } },
332
+ ],
333
+ actions: [...entityMasterRecordActions()],
334
+ },
335
+ list: {
336
+ actions: [...entityMasterCrudActions()],
337
+ views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],
338
+ },
339
+ },
340
+ },
341
+ };
342
+ return entityDef;
343
+ }
344
+ //#endregion
345
+
346
+ /**
347
+ * Generated bundle index. Do not edit.
348
+ */
349
+
350
+ export { factoryEnrollment };
351
+ //# sourceMappingURL=acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-learning-management-client-contracts-entities-enrollment.mjs","sources":["../../../../libs/modules/learning-management/contracts/src/root-config.ts","../../../../libs/modules/learning-management/contracts/src/entities/enrollment/enrollment.entity.ts","../../../../libs/modules/learning-management/contracts/src/acorex-platform-module-learning-management-client-contracts-entities-enrollment.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 factoryEnrollment(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.enrollment.name,\n title: RootConfig.entities.enrollment.title,\n icon: RootConfig.entities.enrollment.icon,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }, { name: 'attachments' }],\n formats: {\n individual: RootConfig.entities.enrollment.title,\n plural: RootConfig.entities.enrollment.titlePlural,\n searchResult: {\n title: '{{ context.eval(\"employee.displayName\") }}',\n description: '{{ context.eval(\"training.title\", { pipes: [\"translate\"] }) + \" - \" + context.eval(\"status\") }}',\n },\n },\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.attendance.name}`,\n title: RootConfig.entities.attendance.titlePlural,\n columns: ['sessionDate', 'status'],\n conditions: [\n {\n name: 'enrollmentId',\n operator: { type: 'equal' },\n value: '{{ context.eval(\"id\") }}',\n },\n ],\n },\n ],\n groups: [\n { id: 'basic-info', title: '@learning-management:enrollments.entities.enrollment.groups.basic-info' },\n { id: 'workflow', title: '@learning-management:enrollments.entities.enrollment.groups.workflow' },\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: 'employeeId',\n title: '@learning-management:enrollments.entities.enrollment.fields.employee-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: 'HumanCapitalManagement.Employee',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.displayName' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'trainingId',\n title: '@learning-management:enrollments.entities.enrollment.fields.training-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.training.name}`,\n expose: [\n { source: 'id', target: 'training.id' },\n { source: 'course.title', target: 'training.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'status',\n title: '@learning-management:enrollments.entities.enrollment.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: 'Requested',\n interface: {\n type: AXPWidgetsList.Editors.SelectBox,\n options: {\n valueField: 'id',\n dataSource: [\n {\n id: 'Requested',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.requested',\n },\n {\n id: 'Approved',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.approved',\n },\n {\n id: 'Enrolled',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.enrolled',\n },\n {\n id: 'Completed',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.completed',\n },\n {\n id: 'Failed',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.failed',\n },\n {\n id: 'Cancelled',\n title: '@learning-management:enrollments.entities.enrollment.fields.status.options.cancelled',\n },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'notes',\n title: '@learning-management:enrollments.entities.enrollment.fields.notes.title',\n groupId: 'workflow',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LargeTextBox,\n options: {\n rows: 3,\n placeholder: '@learning-management:enrollments.entities.enrollment.fields.notes.placeholder',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.displayName' } },\n { name: 'trainingId', options: { dataPath: 'training.title' } },\n { name: 'status' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, 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: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, 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: '{{ context.eval(\"employee.displayName\") }}',\n sections: [\n { id: 'basic-info', layout: { positions: { lg: { colSpan: 12 } } } },\n { id: 'workflow', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'trainingId', layout: { positions: { lg: { colSpan: 6, 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: 'createdAt', 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.enrollment';\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;AA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