@acorex-platform/module-human-capital-management-client 0.0.30 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/fesm2022/{acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DlWna0Lz.mjs → acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DmqiCOti.mjs} +7 -7
  2. package/fesm2022/{acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DlWna0Lz.mjs.map → acorex-platform-module-human-capital-management-client-acorex-platform-module-human-capital-management-client-DmqiCOti.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs +559 -0
  4. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs +182 -0
  6. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs +374 -0
  8. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs +182 -0
  10. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs +189 -0
  12. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs +307 -0
  14. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs +377 -0
  16. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs.map +1 -0
  17. 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
  18. 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
  19. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs +5 -0
  20. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs +19 -0
  22. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs +459 -0
  24. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs +98 -0
  26. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs +290 -0
  28. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs +96 -0
  30. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs.map +1 -0
  31. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs +103 -0
  32. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs.map +1 -0
  33. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs +223 -0
  34. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs.map +1 -0
  35. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs +277 -0
  36. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs.map +1 -0
  37. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs +2 -0
  38. package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-personal-info.command-DK947cW5.mjs → acorex-platform-module-human-capital-management-client-edit-personal-info.command-CRUNursl.mjs} +134 -42
  40. package/fesm2022/acorex-platform-module-human-capital-management-client-edit-personal-info.command-CRUNursl.mjs.map +1 -0
  41. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-signature.command-CKrcMxqr.mjs → acorex-platform-module-human-capital-management-client-edit-signature.command-Bb3mxwBE.mjs} +2 -2
  42. package/fesm2022/{acorex-platform-module-human-capital-management-client-edit-signature.command-CKrcMxqr.mjs.map → acorex-platform-module-human-capital-management-client-edit-signature.command-Bb3mxwBE.mjs.map} +1 -1
  43. package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs +35 -0
  44. package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs.map +1 -0
  45. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component-DrRuKQ6Q.mjs → acorex-platform-module-human-capital-management-client-profile-documents-panel.component-L-Wq--5e.mjs} +2 -2
  46. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component-DrRuKQ6Q.mjs.map → acorex-platform-module-human-capital-management-client-profile-documents-panel.component-L-Wq--5e.mjs.map} +1 -1
  47. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-DPH0YiDP.mjs → acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-n9sEfOE2.mjs} +3 -3
  48. package/fesm2022/{acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-DPH0YiDP.mjs.map → acorex-platform-module-human-capital-management-client-profile-documents-panel.component.provider-n9sEfOE2.mjs.map} +1 -1
  49. package/fesm2022/acorex-platform-module-human-capital-management-client.mjs +1 -1
  50. package/package.json +38 -2
  51. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employee.d.ts +5 -0
  52. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.d.ts +5 -0
  53. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.d.ts +5 -0
  54. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.d.ts +5 -0
  55. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.d.ts +5 -0
  56. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.d.ts +5 -0
  57. package/types/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.d.ts +5 -0
  58. package/types/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.d.ts +10 -0
  59. package/types/acorex-platform-module-human-capital-management-client-local-entities.d.ts +12 -0
  60. package/fesm2022/acorex-platform-module-human-capital-management-client-edit-personal-info.command-DK947cW5.mjs.map +0 -1
@@ -0,0 +1,182 @@
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
+ async function factoryLeaveType() {
89
+ const entityDef = {
90
+ module: RootConfig.module.name,
91
+ name: RootConfig.entities.leaveType.name,
92
+ title: RootConfig.entities.leaveType.title,
93
+ icon: RootConfig.entities.leaveType.icon,
94
+ plugins: [
95
+ { name: 'meta-data-builder', options: { display: 'page' } },
96
+ { name: 'color' },
97
+ { name: 'clone' },
98
+ {
99
+ name: 'workflow-selector',
100
+ options: {
101
+ catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
102
+ },
103
+ },
104
+ { name: 'reports' },
105
+ ],
106
+ formats: {
107
+ individual: RootConfig.entities.leaveType.title,
108
+ plural: RootConfig.entities.leaveType.titlePlural,
109
+ searchResult: { title: '{{ title }}', description: RootConfig.module.title },
110
+ },
111
+ groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
112
+ properties: [
113
+ {
114
+ name: 'id',
115
+ title: 'ID',
116
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
117
+ },
118
+ {
119
+ name: 'title',
120
+ title: '@human-capital-management:leave-types.entities.leave-type.fields.title',
121
+ groupId: 'basic-info',
122
+ schema: {
123
+ dataType: 'string',
124
+ interface: {
125
+ type: AXPWidgetsList.Editors.TextBox,
126
+ },
127
+ },
128
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
129
+ validations: [{ rule: 'required' }],
130
+ },
131
+ {
132
+ name: 'description',
133
+ title: '@human-capital-management:leave-types.entities.leave-type.fields.description',
134
+ groupId: 'basic-info',
135
+ schema: {
136
+ dataType: 'string',
137
+ interface: { type: AXPWidgetsList.Editors.LargeTextBox },
138
+ },
139
+ },
140
+ ],
141
+ columns: [{ name: 'title' }, { name: 'description' }],
142
+ interfaces: {
143
+ master: {
144
+ create: {
145
+ sections: [{ id: 'basic-info' }],
146
+ properties: [
147
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
148
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
149
+ ],
150
+ },
151
+ update: {
152
+ sections: [{ id: 'basic-info' }],
153
+ properties: [
154
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
155
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
156
+ ],
157
+ },
158
+ single: {
159
+ title: '{{title}}',
160
+ sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
161
+ properties: [
162
+ { name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
163
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
164
+ ],
165
+ actions: [...entityMasterRecordActions()],
166
+ },
167
+ list: {
168
+ actions: [...entityMasterCrudActions()],
169
+ views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
170
+ },
171
+ },
172
+ },
173
+ };
174
+ return entityDef;
175
+ }
176
+
177
+ /**
178
+ * Generated bundle index. Do not edit.
179
+ */
180
+
181
+ export { factoryLeaveType };
182
+ //# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entities-leave-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/leave-type/leave-type.entity.ts","../../../../libs/modules/human-capital-management/contracts/src/acorex-platform-module-human-capital-management-client-contracts-entities-leave-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';\nimport { HCM_CATALOG_SCOPE_HR } from '../../catalog-scope.keys';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryLeaveType(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.leaveType.name,\n title: RootConfig.entities.leaveType.title,\n icon: RootConfig.entities.leaveType.icon,\n plugins: [\n { name: 'meta-data-builder', options: { display: 'page' } },\n { name: 'color' },\n { name: 'clone' },\n {\n name: 'workflow-selector',\n options: {\n catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],\n },\n },\n { name: 'reports' },\n ],\n formats: {\n individual: RootConfig.entities.leaveType.title,\n plural: RootConfig.entities.leaveType.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:leave-types.entities.leave-type.fields.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\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:leave-types.entities.leave-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' }, { name: 'description' }],\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-ent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M,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACxE,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,CAAC;AAC1C,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;AC9FA;;AAEG;;;;"}
@@ -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,UA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