@acorex-platform/module-human-capital-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 (67) hide show
  1. package/fesm2022/{acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DmqiCOti.mjs → acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-YulnMbkF.mjs} +8 -8
  2. package/fesm2022/{acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DmqiCOti.mjs.map → acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-YulnMbkF.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-human-capital-management-client-approve-leave-request.command-Om_S0k9L.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-module-human-capital-management-client-assign-position-assignment.command-2iHIogn6.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-human-capital-management-client-cancel-leave-request.command-DGriRFiQ.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs +559 -0
  7. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs.map +1 -0
  8. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs +182 -0
  9. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs.map +1 -0
  10. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs +374 -0
  11. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs.map +1 -0
  12. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs +182 -0
  13. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs.map +1 -0
  14. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs +189 -0
  15. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs.map +1 -0
  16. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs +307 -0
  17. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs +377 -0
  19. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs.map +1 -0
  20. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-acorex-platform-module-human-capital-management-client-contracts-entity-catalog-YSqg0InM.mjs +109 -0
  21. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-acorex-platform-module-human-capital-management-client-contracts-entity-catalog-YSqg0InM.mjs.map +1 -0
  22. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs +5 -0
  23. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs.map +1 -0
  24. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs +19 -0
  25. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs.map +1 -0
  26. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs +459 -0
  27. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs.map +1 -0
  28. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs +98 -0
  29. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs.map +1 -0
  30. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs +290 -0
  31. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs.map +1 -0
  32. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs +96 -0
  33. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs.map +1 -0
  34. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs +103 -0
  35. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs.map +1 -0
  36. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs +223 -0
  37. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs.map +1 -0
  38. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs +277 -0
  39. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs.map +1 -0
  40. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs +2 -0
  41. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs.map +1 -0
  42. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts.mjs.map +1 -1
  43. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-personal-info.command-CRUNursl.mjs → acorex-platform-module-human-capital-management-client-edit-personal-info.command-6VRu0_a1.mjs} +2 -2
  44. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-personal-info.command-CRUNursl.mjs.map → acorex-platform-module-human-capital-management-client-edit-personal-info.command-6VRu0_a1.mjs.map} +1 -1
  45. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-signature.command-Bb3mxwBE.mjs → acorex-platform-module-human-capital-management-client-edit-signature.command-BT_kCp6U.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-signature.command-Bb3mxwBE.mjs.map → acorex-platform-module-human-capital-management-client-edit-signature.command-BT_kCp6U.mjs.map} +1 -1
  47. package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs +35 -0
  48. package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs.map +1 -0
  49. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component-L-Wq--5e.mjs → acorex-platform-module-human-capital-management-client-profile-documents-panel.component-OTrhvB6P.mjs} +2 -2
  50. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component-L-Wq--5e.mjs.map → acorex-platform-module-human-capital-management-client-profile-documents-panel.component-OTrhvB6P.mjs.map} +1 -1
  51. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-n9sEfOE2.mjs → acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-Cwtz43uK.mjs} +3 -3
  52. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-n9sEfOE2.mjs.map → acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-Cwtz43uK.mjs.map} +1 -1
  53. package/fesm2022/acorex-platform-module-human-capital-management-client-reject-leave-request.command-O9gipd8g.mjs.map +1 -1
  54. package/fesm2022/acorex-platform-module-human-capital-management-client-revoke-position-assignment.command-DmVlDQ8_.mjs.map +1 -1
  55. package/fesm2022/acorex-platform-module-human-capital-management-client-start-leave-request-flow.command-BcyCI_vr.mjs.map +1 -1
  56. package/fesm2022/acorex-platform-module-human-capital-management-client-start-lifecycle-event-flow.command-Cp_7ZyWU.mjs.map +1 -1
  57. package/fesm2022/acorex-platform-module-human-capital-management-client.mjs +1 -1
  58. package/package.json +38 -2
  59. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employee.d.ts +5 -0
  60. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.d.ts +5 -0
  61. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.d.ts +5 -0
  62. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.d.ts +5 -0
  63. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.d.ts +5 -0
  64. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.d.ts +5 -0
  65. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.d.ts +5 -0
  66. package/types/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.d.ts +10 -0
  67. package/types/acorex-platform-module-human-capital-management-client-local-entities.d.ts +12 -0
@@ -0,0 +1,189 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ /** HR catalog scope for questionnaires, question bank items, and workflow definitions. */
5
+ const HCM_CATALOG_SCOPE_HR = 'human-capital-management.hr';
6
+
7
+ const config = {
8
+ i18n: 'human-capital-management',
9
+ module: 'HumanCapitalManagement',
10
+ };
11
+ const RootConfig = {
12
+ config,
13
+ module: {
14
+ route: 'human-capital-management',
15
+ name: config.module,
16
+ title: '@human-capital-management:module.title',
17
+ icon: 'fa-light fa-users',
18
+ },
19
+ entities: {
20
+ employee: {
21
+ name: 'Employee',
22
+ source: `${config.module}.Employee`,
23
+ title: '@human-capital-management:employees.entities.employee.title',
24
+ titlePlural: '@human-capital-management:employees.entities.employee.plural',
25
+ icon: 'fa-light fa-address-card',
26
+ },
27
+ employmentType: {
28
+ name: 'EmploymentType',
29
+ source: `${config.module}.EmploymentType`,
30
+ title: '@human-capital-management:employment-types.entities.employment-type.title',
31
+ titlePlural: '@human-capital-management:employment-types.entities.employment-type.plural',
32
+ icon: 'fa-light fa-file-signature',
33
+ },
34
+ positionAssignment: {
35
+ name: 'PositionAssignment',
36
+ source: `${config.module}.PositionAssignment`,
37
+ title: '@human-capital-management:position-assignments.entities.position-assignment.title',
38
+ titlePlural: '@human-capital-management:position-assignments.entities.position-assignment.plural',
39
+ icon: 'fa-light fa-user-tie-hair',
40
+ },
41
+ leaveType: {
42
+ name: 'LeaveType',
43
+ source: `${config.module}.LeaveType`,
44
+ title: '@human-capital-management:leave-types.entities.leave-type.title',
45
+ titlePlural: '@human-capital-management:leave-types.entities.leave-type.plural',
46
+ icon: 'fa-light fa-calendar-days',
47
+ },
48
+ leaveRequest: {
49
+ name: 'LeaveRequest',
50
+ source: `${config.module}.LeaveRequest`,
51
+ title: '@human-capital-management:leave-requests.entities.leave-request.title',
52
+ titlePlural: '@human-capital-management:leave-requests.entities.leave-request.plural',
53
+ icon: 'fa-light fa-plane-departure',
54
+ },
55
+ lifecycleEventType: {
56
+ name: 'LifecycleEventType',
57
+ source: `${config.module}.LifecycleEventType`,
58
+ title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.title',
59
+ titlePlural: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.plural',
60
+ icon: 'fa-light fa-diagram-next',
61
+ },
62
+ lifecycleEvent: {
63
+ name: 'LifecycleEvent',
64
+ source: `${config.module}.LifecycleEvent`,
65
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.title',
66
+ titlePlural: '@human-capital-management:lifecycle-events.entities.lifecycle-event.plural',
67
+ icon: 'fa-light fa-clipboard-list-check',
68
+ },
69
+ },
70
+ pages: {
71
+ appointmentBoard: {
72
+ path: 'Boards/ResourceAppointment',
73
+ title: '@human-capital-management:leave-requests.menus.appointment-board.title',
74
+ icon: 'fa-light fa-calendar-lines',
75
+ },
76
+ },
77
+ queries: {
78
+ dashboard: {
79
+ employeesKpi: `${config.module}:Dashboard:EmployeesKpi`,
80
+ },
81
+ reports: {
82
+ getHeadcountByDepartment: `${config.module}:Reports:GetHeadcountByDepartment`,
83
+ getLeaveUsageByType: `${config.module}:Reports:GetLeaveUsageByType`,
84
+ },
85
+ },
86
+ };
87
+
88
+ //#endregion
89
+ //#region ---- Entity factory ----
90
+ async function factoryLifecycleEventType() {
91
+ const entityDef = {
92
+ module: RootConfig.module.name,
93
+ name: RootConfig.entities.lifecycleEventType.name,
94
+ title: RootConfig.entities.lifecycleEventType.title,
95
+ icon: RootConfig.entities.lifecycleEventType.icon,
96
+ plugins: [
97
+ { name: 'meta-data-builder', options: { display: 'page' } },
98
+ { name: 'icon' },
99
+ { name: 'clone' },
100
+ { name: 'history' },
101
+ {
102
+ name: 'workflow-selector',
103
+ options: {
104
+ templateInputNames: ['questionnaireId'],
105
+ catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
106
+ templateInputFilters: {
107
+ questionnaireId: {
108
+ catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
109
+ },
110
+ },
111
+ },
112
+ },
113
+ ],
114
+ formats: {
115
+ individual: RootConfig.entities.lifecycleEventType.title,
116
+ plural: RootConfig.entities.lifecycleEventType.titlePlural,
117
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
118
+ },
119
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
120
+ properties: [
121
+ {
122
+ name: 'id',
123
+ title: 'ID',
124
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
125
+ },
126
+ {
127
+ name: 'title',
128
+ title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.title',
129
+ groupId: 'basic-info',
130
+ schema: {
131
+ dataType: 'string',
132
+ interface: { type: AXPWidgetsList.Editors.TextBox },
133
+ },
134
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
135
+ validations: [{ rule: 'required' }],
136
+ },
137
+ {
138
+ name: 'description',
139
+ title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.description',
140
+ groupId: 'basic-info',
141
+ schema: {
142
+ dataType: 'string',
143
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox },
144
+ },
145
+ },
146
+ ],
147
+ columns: [{ name: 'title' }],
148
+ interfaces: {
149
+ master: {
150
+ create: {
151
+ sections: [{ id: 'basic-info' }],
152
+ properties: [
153
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
154
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
155
+ ],
156
+ },
157
+ update: {
158
+ sections: [{ id: 'basic-info' }],
159
+ properties: [
160
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
161
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
162
+ ],
163
+ },
164
+ single: {
165
+ title: '{{ title }}',
166
+ sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
167
+ properties: [
168
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
169
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
170
+ ],
171
+ actions: [...entityMasterRecordActions()],
172
+ },
173
+ list: {
174
+ actions: [...entityMasterCrudActions()],
175
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
176
+ },
177
+ },
178
+ },
179
+ };
180
+ return entityDef;
181
+ }
182
+ //#endregion
183
+
184
+ /**
185
+ * Generated bundle index. Do not edit.
186
+ */
187
+
188
+ export { factoryLifecycleEventType };
189
+ //# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/catalog-scope.keys.ts","../../../../libs/modules/human-capital-management/contracts/src/root-config.ts","../../../../libs/modules/human-capital-management/contracts/src/entities/lifecycle-event-type/lifecycle-event-type.entity.ts","../../../../libs/modules/human-capital-management/contracts/src/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.ts"],"sourcesContent":["/** HR catalog scope for questionnaires, question bank items, and workflow definitions. */\nexport const HCM_CATALOG_SCOPE_HR = 'human-capital-management.hr';\n","const config = {\n i18n: 'human-capital-management',\n module: 'HumanCapitalManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'human-capital-management',\n name: config.module,\n title: '@human-capital-management:module.title',\n icon: 'fa-light fa-users',\n },\n entities: {\n employee: {\n name: 'Employee',\n source: `${config.module}.Employee`,\n title: '@human-capital-management:employees.entities.employee.title',\n titlePlural: '@human-capital-management:employees.entities.employee.plural',\n icon: 'fa-light fa-address-card',\n },\n employmentType: {\n name: 'EmploymentType',\n source: `${config.module}.EmploymentType`,\n title: '@human-capital-management:employment-types.entities.employment-type.title',\n titlePlural: '@human-capital-management:employment-types.entities.employment-type.plural',\n icon: 'fa-light fa-file-signature',\n },\n positionAssignment: {\n name: 'PositionAssignment',\n source: `${config.module}.PositionAssignment`,\n title: '@human-capital-management:position-assignments.entities.position-assignment.title',\n titlePlural: '@human-capital-management:position-assignments.entities.position-assignment.plural',\n icon: 'fa-light fa-user-tie-hair',\n },\n leaveType: {\n name: 'LeaveType',\n source: `${config.module}.LeaveType`,\n title: '@human-capital-management:leave-types.entities.leave-type.title',\n titlePlural: '@human-capital-management:leave-types.entities.leave-type.plural',\n icon: 'fa-light fa-calendar-days',\n },\n leaveRequest: {\n name: 'LeaveRequest',\n source: `${config.module}.LeaveRequest`,\n title: '@human-capital-management:leave-requests.entities.leave-request.title',\n titlePlural: '@human-capital-management:leave-requests.entities.leave-request.plural',\n icon: 'fa-light fa-plane-departure',\n },\n lifecycleEventType: {\n name: 'LifecycleEventType',\n source: `${config.module}.LifecycleEventType`,\n title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.title',\n titlePlural: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.plural',\n icon: 'fa-light fa-diagram-next',\n },\n lifecycleEvent: {\n name: 'LifecycleEvent',\n source: `${config.module}.LifecycleEvent`,\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.title',\n titlePlural: '@human-capital-management:lifecycle-events.entities.lifecycle-event.plural',\n icon: 'fa-light fa-clipboard-list-check',\n },\n },\n pages: {\n appointmentBoard: {\n path: 'Boards/ResourceAppointment',\n title: '@human-capital-management:leave-requests.menus.appointment-board.title',\n icon: 'fa-light fa-calendar-lines',\n },\n },\n queries: {\n dashboard: {\n employeesKpi: `${config.module}:Dashboard:EmployeesKpi`,\n },\n reports: {\n getHeadcountByDepartment: `${config.module}:Reports:GetHeadcountByDepartment`,\n getLeaveUsageByType: `${config.module}:Reports:GetLeaveUsageByType`,\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { HCM_CATALOG_SCOPE_HR } from '../../catalog-scope.keys';\nimport { RootConfig } from '../../root-config';\n\n//#endregion\n\n//#region ---- Entity factory ----\n\nexport async function factoryLifecycleEventType(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.lifecycleEventType.name,\n title: RootConfig.entities.lifecycleEventType.title,\n icon: RootConfig.entities.lifecycleEventType.icon,\n plugins: [\n { name: 'meta-data-builder', options: { display: 'page' } },\n { name: 'icon' },\n { name: 'clone' },\n { name: 'history' },\n {\n name: 'workflow-selector',\n options: {\n templateInputNames: ['questionnaireId'],\n catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],\n templateInputFilters: {\n questionnaireId: {\n catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],\n },\n },\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.lifecycleEventType.title,\n plural: RootConfig.entities.lifecycleEventType.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox },\n },\n },\n ],\n columns: [{ name: 'title' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.lifecycle-event-type';\n"],"names":[],"mappings":";;;AAAA;AACO,MAAM,oBAAoB,GAAG,6BAA6B;;ACDjE,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,0BAA0B;AAChC,IAAA,MAAM,EAAE,wBAAwB;CACjC;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,0BAA0B;QACjC,IAAI,EAAE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BAAyB,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;;ACxGA;;AAEG;;"}
@@ -0,0 +1,307 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'human-capital-management',
6
+ module: 'HumanCapitalManagement',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ route: 'human-capital-management',
12
+ name: config.module,
13
+ title: '@human-capital-management:module.title',
14
+ icon: 'fa-light fa-users',
15
+ },
16
+ entities: {
17
+ employee: {
18
+ name: 'Employee',
19
+ source: `${config.module}.Employee`,
20
+ title: '@human-capital-management:employees.entities.employee.title',
21
+ titlePlural: '@human-capital-management:employees.entities.employee.plural',
22
+ icon: 'fa-light fa-address-card',
23
+ },
24
+ employmentType: {
25
+ name: 'EmploymentType',
26
+ source: `${config.module}.EmploymentType`,
27
+ title: '@human-capital-management:employment-types.entities.employment-type.title',
28
+ titlePlural: '@human-capital-management:employment-types.entities.employment-type.plural',
29
+ icon: 'fa-light fa-file-signature',
30
+ },
31
+ positionAssignment: {
32
+ name: 'PositionAssignment',
33
+ source: `${config.module}.PositionAssignment`,
34
+ title: '@human-capital-management:position-assignments.entities.position-assignment.title',
35
+ titlePlural: '@human-capital-management:position-assignments.entities.position-assignment.plural',
36
+ icon: 'fa-light fa-user-tie-hair',
37
+ },
38
+ leaveType: {
39
+ name: 'LeaveType',
40
+ source: `${config.module}.LeaveType`,
41
+ title: '@human-capital-management:leave-types.entities.leave-type.title',
42
+ titlePlural: '@human-capital-management:leave-types.entities.leave-type.plural',
43
+ icon: 'fa-light fa-calendar-days',
44
+ },
45
+ leaveRequest: {
46
+ name: 'LeaveRequest',
47
+ source: `${config.module}.LeaveRequest`,
48
+ title: '@human-capital-management:leave-requests.entities.leave-request.title',
49
+ titlePlural: '@human-capital-management:leave-requests.entities.leave-request.plural',
50
+ icon: 'fa-light fa-plane-departure',
51
+ },
52
+ lifecycleEventType: {
53
+ name: 'LifecycleEventType',
54
+ source: `${config.module}.LifecycleEventType`,
55
+ title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.title',
56
+ titlePlural: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.plural',
57
+ icon: 'fa-light fa-diagram-next',
58
+ },
59
+ lifecycleEvent: {
60
+ name: 'LifecycleEvent',
61
+ source: `${config.module}.LifecycleEvent`,
62
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.title',
63
+ titlePlural: '@human-capital-management:lifecycle-events.entities.lifecycle-event.plural',
64
+ icon: 'fa-light fa-clipboard-list-check',
65
+ },
66
+ },
67
+ pages: {
68
+ appointmentBoard: {
69
+ path: 'Boards/ResourceAppointment',
70
+ title: '@human-capital-management:leave-requests.menus.appointment-board.title',
71
+ icon: 'fa-light fa-calendar-lines',
72
+ },
73
+ },
74
+ queries: {
75
+ dashboard: {
76
+ employeesKpi: `${config.module}:Dashboard:EmployeesKpi`,
77
+ },
78
+ reports: {
79
+ getHeadcountByDepartment: `${config.module}:Reports:GetHeadcountByDepartment`,
80
+ getLeaveUsageByType: `${config.module}:Reports:GetLeaveUsageByType`,
81
+ },
82
+ },
83
+ };
84
+
85
+ //#endregion
86
+ //#region ---- Entity factory ----
87
+ async function factoryLifecycleEvent() {
88
+ const entityDef = {
89
+ module: RootConfig.module.name,
90
+ name: RootConfig.entities.lifecycleEvent.name,
91
+ title: RootConfig.entities.lifecycleEvent.title,
92
+ icon: RootConfig.entities.lifecycleEvent.icon,
93
+ plugins: [
94
+ { name: 'history' },
95
+ {
96
+ name: 'attachments',
97
+ options: {
98
+ showListAction: false,
99
+ },
100
+ },
101
+ {
102
+ name: 'workflow-run',
103
+ options: {
104
+ list: {
105
+ mode: 'workflow-run',
106
+ },
107
+ },
108
+ },
109
+ {
110
+ name: 'status',
111
+ options: {
112
+ field: 'statusId',
113
+ definition: 'human-capital-management.status.lifecycle-event',
114
+ },
115
+ },
116
+ {
117
+ name: 'meta-data-form',
118
+ options: {
119
+ title: 'More Information',
120
+ path: 'eventTypeId',
121
+ display: 'section',
122
+ },
123
+ },
124
+ ],
125
+ formats: {
126
+ individual: RootConfig.entities.lifecycleEvent.title,
127
+ plural: RootConfig.entities.lifecycleEvent.titlePlural,
128
+ searchResult: {
129
+ title: '{{ context.eval("employee.person.fullName") }}',
130
+ description: '{{ context.eval("eventType.title", { pipes: ["translate"] }) }}',
131
+ },
132
+ },
133
+ groups: [
134
+ {
135
+ id: 'event-details',
136
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.groups.event-details',
137
+ },
138
+ ],
139
+ properties: [
140
+ {
141
+ name: 'id',
142
+ title: 'ID',
143
+ groupId: 'event-details',
144
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
145
+ },
146
+ {
147
+ name: 'employeeId',
148
+ title: '@general:terms.people.employee',
149
+ groupId: 'event-details',
150
+ options: {
151
+ sort: { enabled: true },
152
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
153
+ },
154
+ schema: {
155
+ dataType: 'string',
156
+ interface: {
157
+ type: AXPWidgetsList.Editors.LookupBox,
158
+ options: {
159
+ entity: `${RootConfig.module.name}.${RootConfig.entities.employee.name}`,
160
+ textField: 'person.fullName',
161
+ valueField: 'id',
162
+ look: 'select',
163
+ columns: ['person.fullName', 'employeeCode'],
164
+ expose: [
165
+ { source: 'id', target: 'employee.id' },
166
+ { source: 'person.fullName', target: 'employee.person.fullName' },
167
+ ],
168
+ },
169
+ },
170
+ },
171
+ validations: [{ rule: 'required' }],
172
+ },
173
+ {
174
+ name: 'eventTypeId',
175
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.event-type-id',
176
+ groupId: 'event-details',
177
+ options: {
178
+ sort: { enabled: true },
179
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
180
+ },
181
+ schema: {
182
+ dataType: 'string',
183
+ interface: {
184
+ type: AXPWidgetsList.Editors.LookupBox,
185
+ options: {
186
+ entity: `${RootConfig.module.name}.${RootConfig.entities.lifecycleEventType.name}`,
187
+ textField: 'title',
188
+ valueField: 'id',
189
+ look: 'select',
190
+ columns: ['title'],
191
+ expose: [
192
+ { source: 'id', target: 'eventType.id' },
193
+ { source: 'title', target: 'eventType.title' },
194
+ ],
195
+ },
196
+ },
197
+ },
198
+ validations: [{ rule: 'required' }],
199
+ },
200
+ {
201
+ name: 'assignedToUserId',
202
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.assigned-to-user-id',
203
+ groupId: 'event-details',
204
+ options: {
205
+ sort: { enabled: true },
206
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
207
+ },
208
+ schema: {
209
+ dataType: 'string',
210
+ nullable: true,
211
+ interface: {
212
+ type: AXPWidgetsList.Editors.LookupBox,
213
+ options: {
214
+ entity: 'SecurityManagement.User',
215
+ textField: 'displayName',
216
+ valueField: 'id',
217
+ look: 'select',
218
+ columns: ['displayName', 'username'],
219
+ expose: [
220
+ { source: 'id', target: 'assignedToUser.id' },
221
+ { source: 'displayName', target: 'assignedToUser.displayName' },
222
+ ],
223
+ },
224
+ },
225
+ },
226
+ },
227
+ {
228
+ name: 'effectiveDate',
229
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.effective-date',
230
+ groupId: 'event-details',
231
+ schema: {
232
+ defaultValue: '{{ date.today() }}',
233
+ dataType: 'date',
234
+ interface: { type: AXPWidgetsList.Editors.DateTimeBox },
235
+ },
236
+ validations: [{ rule: 'required' }],
237
+ },
238
+ {
239
+ name: 'notes',
240
+ title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.notes',
241
+ groupId: 'event-details',
242
+ schema: {
243
+ dataType: 'string',
244
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox },
245
+ },
246
+ },
247
+ ],
248
+ columns: [
249
+ { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
250
+ { name: 'eventTypeId', options: { dataPath: 'eventType.title' } },
251
+ { name: 'effectiveDate' },
252
+ { name: 'assignedToUserId', options: { dataPath: 'assignedToUser.displayName' } },
253
+ { name: 'statusId' },
254
+ { name: 'attachments' },
255
+ ],
256
+ relatedEntities: [],
257
+ interfaces: {
258
+ master: {
259
+ create: {
260
+ sections: [{ id: 'event-details' }],
261
+ properties: [
262
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
263
+ { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
264
+ { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },
265
+ { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },
266
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
267
+ ],
268
+ },
269
+ update: {
270
+ sections: [{ id: 'event-details' }],
271
+ properties: [
272
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
273
+ { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
274
+ { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },
275
+ { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },
276
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
277
+ ],
278
+ },
279
+ single: {
280
+ title: '{{ context.eval("eventType.title", { pipes: ["translate"] }) + " — " + context.eval("employee.person.fullName") }}',
281
+ sections: [{ id: 'event-details', order: 1 }],
282
+ properties: [
283
+ { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
284
+ { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
285
+ { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },
286
+ { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },
287
+ { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },
288
+ ],
289
+ actions: entityMasterRecordActions(),
290
+ },
291
+ list: {
292
+ actions: [...entityMasterCrudActions({ view: false, delete: false })],
293
+ views: [createAllQueryView({ sorts: [{ name: 'effectiveDate', dir: 'desc' }] })],
294
+ },
295
+ },
296
+ },
297
+ };
298
+ return entityDef;
299
+ }
300
+ //#endregion
301
+
302
+ /**
303
+ * Generated bundle index. Do not edit.
304
+ */
305
+
306
+ export { factoryLifecycleEvent };
307
+ //# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/root-config.ts","../../../../libs/modules/human-capital-management/contracts/src/entities/lifecycle-event/lifecycle-event.entity.ts","../../../../libs/modules/human-capital-management/contracts/src/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.ts"],"sourcesContent":["const config = {\n i18n: 'human-capital-management',\n module: 'HumanCapitalManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'human-capital-management',\n name: config.module,\n title: '@human-capital-management:module.title',\n icon: 'fa-light fa-users',\n },\n entities: {\n employee: {\n name: 'Employee',\n source: `${config.module}.Employee`,\n title: '@human-capital-management:employees.entities.employee.title',\n titlePlural: '@human-capital-management:employees.entities.employee.plural',\n icon: 'fa-light fa-address-card',\n },\n employmentType: {\n name: 'EmploymentType',\n source: `${config.module}.EmploymentType`,\n title: '@human-capital-management:employment-types.entities.employment-type.title',\n titlePlural: '@human-capital-management:employment-types.entities.employment-type.plural',\n icon: 'fa-light fa-file-signature',\n },\n positionAssignment: {\n name: 'PositionAssignment',\n source: `${config.module}.PositionAssignment`,\n title: '@human-capital-management:position-assignments.entities.position-assignment.title',\n titlePlural: '@human-capital-management:position-assignments.entities.position-assignment.plural',\n icon: 'fa-light fa-user-tie-hair',\n },\n leaveType: {\n name: 'LeaveType',\n source: `${config.module}.LeaveType`,\n title: '@human-capital-management:leave-types.entities.leave-type.title',\n titlePlural: '@human-capital-management:leave-types.entities.leave-type.plural',\n icon: 'fa-light fa-calendar-days',\n },\n leaveRequest: {\n name: 'LeaveRequest',\n source: `${config.module}.LeaveRequest`,\n title: '@human-capital-management:leave-requests.entities.leave-request.title',\n titlePlural: '@human-capital-management:leave-requests.entities.leave-request.plural',\n icon: 'fa-light fa-plane-departure',\n },\n lifecycleEventType: {\n name: 'LifecycleEventType',\n source: `${config.module}.LifecycleEventType`,\n title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.title',\n titlePlural: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.plural',\n icon: 'fa-light fa-diagram-next',\n },\n lifecycleEvent: {\n name: 'LifecycleEvent',\n source: `${config.module}.LifecycleEvent`,\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.title',\n titlePlural: '@human-capital-management:lifecycle-events.entities.lifecycle-event.plural',\n icon: 'fa-light fa-clipboard-list-check',\n },\n },\n pages: {\n appointmentBoard: {\n path: 'Boards/ResourceAppointment',\n title: '@human-capital-management:leave-requests.menus.appointment-board.title',\n icon: 'fa-light fa-calendar-lines',\n },\n },\n queries: {\n dashboard: {\n employeesKpi: `${config.module}:Dashboard:EmployeesKpi`,\n },\n reports: {\n getHeadcountByDepartment: `${config.module}:Reports:GetHeadcountByDepartment`,\n getLeaveUsageByType: `${config.module}:Reports:GetLeaveUsageByType`,\n },\n },\n} as const;\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 factoryLifecycleEvent(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.lifecycleEvent.name,\n title: RootConfig.entities.lifecycleEvent.title,\n icon: RootConfig.entities.lifecycleEvent.icon,\n plugins: [\n { name: 'history' },\n {\n name: 'attachments',\n options: {\n showListAction: false,\n },\n },\n {\n name: 'workflow-run',\n options: {\n list: {\n mode: 'workflow-run',\n },\n },\n },\n {\n name: 'status',\n options: {\n field: 'statusId',\n definition: 'human-capital-management.status.lifecycle-event',\n },\n },\n {\n name: 'meta-data-form',\n options: {\n title: 'More Information',\n path: 'eventTypeId',\n display: 'section',\n },\n },\n ],\n formats: {\n individual: RootConfig.entities.lifecycleEvent.title,\n plural: RootConfig.entities.lifecycleEvent.titlePlural,\n searchResult: {\n title: '{{ context.eval(\"employee.person.fullName\") }}',\n description: '{{ context.eval(\"eventType.title\", { pipes: [\"translate\"] }) }}',\n },\n },\n groups: [\n {\n id: 'event-details',\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.groups.event-details',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'event-details',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'employeeId',\n title: '@general:terms.people.employee',\n groupId: 'event-details',\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.employee.name}`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n columns: ['person.fullName', 'employeeCode'],\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'eventTypeId',\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.event-type-id',\n groupId: 'event-details',\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.lifecycleEventType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'eventType.id' },\n { source: 'title', target: 'eventType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'assignedToUserId',\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.assigned-to-user-id',\n groupId: 'event-details',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n nullable: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: 'SecurityManagement.User',\n textField: 'displayName',\n valueField: 'id',\n look: 'select',\n columns: ['displayName', 'username'],\n expose: [\n { source: 'id', target: 'assignedToUser.id' },\n { source: 'displayName', target: 'assignedToUser.displayName' },\n ],\n },\n },\n },\n },\n {\n name: 'effectiveDate',\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.effective-date',\n groupId: 'event-details',\n schema: {\n defaultValue: '{{ date.today() }}',\n dataType: 'date',\n interface: { type: AXPWidgetsList.Editors.DateTimeBox },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'notes',\n title: '@human-capital-management:lifecycle-events.entities.lifecycle-event.fields.notes',\n groupId: 'event-details',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.LargeTextBox },\n },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'eventTypeId', options: { dataPath: 'eventType.title' } },\n { name: 'effectiveDate' },\n { name: 'assignedToUserId', options: { dataPath: 'assignedToUser.displayName' } },\n { name: 'statusId' },\n { name: 'attachments' },\n ],\n relatedEntities: [],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'event-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'event-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"eventType.title\", { pipes: [\"translate\"] }) + \" — \" + context.eval(\"employee.person.fullName\") }}',\n sections: [{ id: 'event-details', order: 1 }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'eventTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'assignedToUserId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'effectiveDate', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'notes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: entityMasterRecordActions(),\n },\n list: {\n actions: [...entityMasterCrudActions({ view: false, delete: false })],\n views: [createAllQueryView({ sorts: [{ name: 'effectiveDate', 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.lifecycle-event';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,0BAA0B;A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