@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.
- 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
- 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
- package/fesm2022/acorex-platform-module-human-capital-management-client-approve-leave-request.command-Om_S0k9L.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-assign-position-assignment.command-2iHIogn6.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-cancel-leave-request.command-DGriRFiQ.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs +559 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employee.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs +182 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs +374 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs +182 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs +189 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs +307 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs +377 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.mjs.map +1 -0
- 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
- 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
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs +5 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs +19 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-commands.keys-B5rEwAkf.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs +459 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employee.entity-DkVdcMBo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs +98 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs +290 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs +96 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs +103 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs +223 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event.entity-Dp-_0o-1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs +277 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog-position-assignment.entity-rQe7-CDe.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-contracts.mjs.map +1 -1
- 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
- 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
- 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
- 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
- package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs +35 -0
- package/fesm2022/acorex-platform-module-human-capital-management-client-local-entities.mjs.map +1 -0
- 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
- 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
- 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
- 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
- package/fesm2022/acorex-platform-module-human-capital-management-client-reject-leave-request.command-O9gipd8g.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-revoke-position-assignment.command-DmVlDQ8_.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-start-leave-request-flow.command-BcyCI_vr.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client-start-lifecycle-event-flow.command-Cp_7ZyWU.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-human-capital-management-client.mjs +1 -1
- package/package.json +38 -2
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employee.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-employment-type.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-request.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-leave-type.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event-type.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-lifecycle-event.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entities-position-assignment.d.ts +5 -0
- package/types/acorex-platform-module-human-capital-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-human-capital-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entity-catalog-employment-type.entity-DtYMx-Fh.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/entities/employment-type/employment-type.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryEmploymentType(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employmentType.name,\n plugins: [{ name: 'history' }, { name: 'lock' }, { name: 'compare' }],\n title: RootConfig.entities.employmentType.title,\n icon: RootConfig.entities.employmentType.icon,\n formats: {\n individual: RootConfig.entities.employmentType.title,\n plural: RootConfig.entities.employmentType.titlePlural,\n searchResult: { title: '{{ title }}', description: RootConfig.module.title },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'basic-info',\n title: '@human-capital-management:employment-types.entities.employment-type.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'title',\n title: '@human-capital-management:employment-types.entities.employment-type.fields.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsList.Editors.TextBox },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@human-capital-management:employment-types.entities.employment-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', 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 return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIO,eAAe,qBAAqB,GAAA;AAEzC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AACrE,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,KAAK;AAC/C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,OAAO,EAAE;AAC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AE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACxE,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,WAAW;oBAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AAChF,oBAAA,UAAU,EAAE;AACV,wBAAA,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACjE,wBAAA,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,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;AACD,IAAA,OAAO,SAAS;AAClB;;"}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-human-capital-management-client-contracts-entity-catalog-acorex-platform-module-human-capital-management-client-contracts-entity-catalog-YSqg0InM.mjs';
|
|
4
|
+
|
|
5
|
+
//#endregion
|
|
6
|
+
async function factoryLeaveRequest() {
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.leaveRequest.name,
|
|
10
|
+
title: RootConfig.entities.leaveRequest.title,
|
|
11
|
+
icon: RootConfig.entities.leaveRequest.icon,
|
|
12
|
+
plugins: [
|
|
13
|
+
{ name: 'history' },
|
|
14
|
+
{
|
|
15
|
+
name: 'attachments',
|
|
16
|
+
options: {
|
|
17
|
+
showListAction: false,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'workflow-run',
|
|
22
|
+
options: {
|
|
23
|
+
list: {
|
|
24
|
+
mode: 'workflow-run',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'status',
|
|
30
|
+
options: {
|
|
31
|
+
field: 'statusId',
|
|
32
|
+
definition: 'human-capital-management.status.leave-request',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'meta-data-form',
|
|
37
|
+
options: {
|
|
38
|
+
path: 'leaveTypeId',
|
|
39
|
+
display: 'section',
|
|
40
|
+
// display: {
|
|
41
|
+
// // section: {
|
|
42
|
+
// // title: 'Sample Form'
|
|
43
|
+
// // },
|
|
44
|
+
// popup: {
|
|
45
|
+
// enabled: true,
|
|
46
|
+
// title: "Sample Form"
|
|
47
|
+
// }
|
|
48
|
+
// }
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
formats: {
|
|
53
|
+
individual: RootConfig.entities.leaveRequest.title,
|
|
54
|
+
plural: RootConfig.entities.leaveRequest.titlePlural,
|
|
55
|
+
searchResult: { title: '{{ employee.person.fullName }}', description: RootConfig.module.title },
|
|
56
|
+
},
|
|
57
|
+
groups: [
|
|
58
|
+
{ id: 'request-details', title: '@human-capital-management:leave-requests.entities.leave-request.groups.request-details' },
|
|
59
|
+
],
|
|
60
|
+
properties: [
|
|
61
|
+
{
|
|
62
|
+
name: 'id',
|
|
63
|
+
title: 'ID',
|
|
64
|
+
groupId: 'request-details',
|
|
65
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'employeeId',
|
|
69
|
+
title: '@general:terms.people.employee',
|
|
70
|
+
groupId: 'request-details',
|
|
71
|
+
options: {
|
|
72
|
+
sort: { enabled: true },
|
|
73
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
74
|
+
},
|
|
75
|
+
schema: {
|
|
76
|
+
dataType: 'string',
|
|
77
|
+
interface: {
|
|
78
|
+
type: AXPWidgetsCatalog.lookup,
|
|
79
|
+
options: {
|
|
80
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.employee.name}`,
|
|
81
|
+
textField: 'person.fullName',
|
|
82
|
+
valueField: 'id',
|
|
83
|
+
look: 'select',
|
|
84
|
+
columns: ['person.fullName', 'employeeCode'],
|
|
85
|
+
expose: [
|
|
86
|
+
{ source: 'id', target: 'employee.id' },
|
|
87
|
+
{ source: 'person.fullName', target: 'employee.person.fullName' },
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
validations: [{ rule: 'required' }],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'leaveTypeId',
|
|
96
|
+
title: '@human-capital-management:leave-requests.entities.leave-request.fields.leave-type-id',
|
|
97
|
+
groupId: 'request-details',
|
|
98
|
+
options: {
|
|
99
|
+
sort: { enabled: true },
|
|
100
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
101
|
+
},
|
|
102
|
+
schema: {
|
|
103
|
+
dataType: 'string',
|
|
104
|
+
interface: {
|
|
105
|
+
type: AXPWidgetsCatalog.lookup,
|
|
106
|
+
options: {
|
|
107
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.leaveType.name}`,
|
|
108
|
+
textField: 'title',
|
|
109
|
+
valueField: 'id',
|
|
110
|
+
look: 'select',
|
|
111
|
+
columns: ['title'],
|
|
112
|
+
expose: [
|
|
113
|
+
{ source: 'id', target: 'leaveType.id' },
|
|
114
|
+
{ source: 'title', target: 'leaveType.title' },
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
validations: [{ rule: 'required' }],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: 'startDate',
|
|
123
|
+
title: '@general:terms.datetime.start-date',
|
|
124
|
+
groupId: 'request-details',
|
|
125
|
+
options: {
|
|
126
|
+
sort: { enabled: true },
|
|
127
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
128
|
+
},
|
|
129
|
+
schema: {
|
|
130
|
+
dataType: 'date',
|
|
131
|
+
defaultValue: '{{ date.today() }}',
|
|
132
|
+
interface: {
|
|
133
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
validations: [{ rule: 'required' }],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'endDate',
|
|
140
|
+
title: '@general:terms.datetime.end-date',
|
|
141
|
+
groupId: 'request-details',
|
|
142
|
+
options: {
|
|
143
|
+
sort: { enabled: true },
|
|
144
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
145
|
+
},
|
|
146
|
+
schema: {
|
|
147
|
+
dataType: 'date',
|
|
148
|
+
defaultValue: '{{ date.addDays(date.today(), 1) }}',
|
|
149
|
+
interface: {
|
|
150
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
validations: [{ rule: 'required' }],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'durationDays',
|
|
157
|
+
title: '@human-capital-management:leave-requests.entities.leave-request.fields.duration-days',
|
|
158
|
+
groupId: 'request-details',
|
|
159
|
+
options: {
|
|
160
|
+
sort: { enabled: true },
|
|
161
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
162
|
+
},
|
|
163
|
+
schema: {
|
|
164
|
+
dataType: 'number',
|
|
165
|
+
readonly: true,
|
|
166
|
+
defaultValue: 1,
|
|
167
|
+
interface: {
|
|
168
|
+
type: AXPWidgetsCatalog.number,
|
|
169
|
+
triggers: [
|
|
170
|
+
{
|
|
171
|
+
event: "{{ events.context('startDate', 'endDate') }}",
|
|
172
|
+
action: "{{ context.set('durationDays', date.duration(context.eval('startDate'), context.eval('endDate'), 'days')) }}",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'reason',
|
|
180
|
+
title: '@human-capital-management:leave-requests.entities.leave-request.fields.reason',
|
|
181
|
+
groupId: 'request-details',
|
|
182
|
+
options: {
|
|
183
|
+
sort: { enabled: false },
|
|
184
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
185
|
+
},
|
|
186
|
+
schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
name: 'rejectReason',
|
|
190
|
+
title: '@human-capital-management:leave-requests.entities.leave-request.fields.manager-note',
|
|
191
|
+
groupId: 'request-details',
|
|
192
|
+
options: {
|
|
193
|
+
sort: { enabled: false },
|
|
194
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
195
|
+
},
|
|
196
|
+
schema: {
|
|
197
|
+
dataType: 'string',
|
|
198
|
+
readonly: true,
|
|
199
|
+
interface: { type: AXPWidgetsCatalog.largeText },
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
columns: [
|
|
204
|
+
{ name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
|
|
205
|
+
{ name: 'leaveTypeId', options: { dataPath: 'leaveType.title' } },
|
|
206
|
+
{ name: 'startDate' },
|
|
207
|
+
{ name: 'endDate' },
|
|
208
|
+
{ name: 'durationDays' },
|
|
209
|
+
{ name: 'statusId' },
|
|
210
|
+
{ name: 'reason' },
|
|
211
|
+
],
|
|
212
|
+
interfaces: {
|
|
213
|
+
master: {
|
|
214
|
+
create: {
|
|
215
|
+
sections: [{ id: 'request-details' }],
|
|
216
|
+
properties: [
|
|
217
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
218
|
+
{ name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
219
|
+
{
|
|
220
|
+
name: 'startDate',
|
|
221
|
+
layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: 'endDate',
|
|
225
|
+
layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: 'durationDays',
|
|
229
|
+
layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },
|
|
230
|
+
},
|
|
231
|
+
{ name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
232
|
+
],
|
|
233
|
+
},
|
|
234
|
+
update: {
|
|
235
|
+
sections: [{ id: 'request-details' }],
|
|
236
|
+
properties: [
|
|
237
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
238
|
+
{ name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
239
|
+
{
|
|
240
|
+
name: 'startDate',
|
|
241
|
+
layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'endDate',
|
|
245
|
+
layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: 'durationDays',
|
|
249
|
+
layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },
|
|
250
|
+
},
|
|
251
|
+
{ name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
single: {
|
|
255
|
+
title: '{{employee.person.fullName}}',
|
|
256
|
+
sections: [
|
|
257
|
+
{ id: 'request-details', order: 1 },
|
|
258
|
+
],
|
|
259
|
+
properties: [
|
|
260
|
+
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
261
|
+
{ name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
262
|
+
{
|
|
263
|
+
name: 'startDate',
|
|
264
|
+
layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'endDate',
|
|
268
|
+
layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'durationDays',
|
|
272
|
+
layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },
|
|
273
|
+
},
|
|
274
|
+
{ name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
275
|
+
{ name: 'rejectReason', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
276
|
+
],
|
|
277
|
+
actions: entityMasterRecordActions(),
|
|
278
|
+
},
|
|
279
|
+
list: {
|
|
280
|
+
actions: [...entityMasterCrudActions({ view: false, delete: false })],
|
|
281
|
+
views: [createAllQueryView({ sorts: [{ name: 'startDate', dir: 'desc' }] })],
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
return entityDef;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export { factoryLeaveRequest };
|
|
290
|
+
//# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-request.entity-0NDmiYk0.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/entities/leave-request/leave-request.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog } 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\nexport async function factoryLeaveRequest(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.leaveRequest.name,\n title: RootConfig.entities.leaveRequest.title,\n icon: RootConfig.entities.leaveRequest.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.leave-request',\n },\n },\n {\n name: 'meta-data-form',\n options:\n {\n path: 'leaveTypeId',\n display: 'section',\n // display: {\n // // section: {\n // // title: 'Sample Form'\n // // },\n // popup: {\n // enabled: true,\n // title: \"Sample Form\"\n // }\n // }\n }\n },\n ],\n formats: {\n individual: RootConfig.entities.leaveRequest.title,\n plural: RootConfig.entities.leaveRequest.titlePlural,\n searchResult: { title: '{{ employee.person.fullName }}', description: RootConfig.module.title },\n },\n groups: [\n { id: 'request-details', title: '@human-capital-management:leave-requests.entities.leave-request.groups.request-details' },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'request-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: 'request-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: AXPWidgetsCatalog.lookup,\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: 'leaveTypeId',\n title: '@human-capital-management:leave-requests.entities.leave-request.fields.leave-type-id',\n groupId: 'request-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: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.leaveType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n columns: ['title'],\n expose: [\n { source: 'id', target: 'leaveType.id' },\n { source: 'title', target: 'leaveType.title' },\n ],\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'startDate',\n title: '@general:terms.datetime.start-date',\n groupId: 'request-details',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'date',\n defaultValue: '{{ date.today() }}',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'endDate',\n title: '@general:terms.datetime.end-date',\n groupId: 'request-details',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'date',\n defaultValue: '{{ date.addDays(date.today(), 1) }}',\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'durationDays',\n title: '@human-capital-management:leave-requests.entities.leave-request.fields.duration-days',\n groupId: 'request-details',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'number',\n readonly: true,\n defaultValue: 1,\n interface: {\n type: AXPWidgetsCatalog.number,\n triggers: [\n {\n event: \"{{ events.context('startDate', 'endDate') }}\",\n action:\n \"{{ context.set('durationDays', date.duration(context.eval('startDate'), context.eval('endDate'), 'days')) }}\",\n },\n ],\n }\n },\n },\n {\n name: 'reason',\n title: '@human-capital-management:leave-requests.entities.leave-request.fields.reason',\n groupId: 'request-details',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },\n },\n {\n name: 'rejectReason',\n title: '@human-capital-management:leave-requests.entities.leave-request.fields.manager-note',\n groupId: 'request-details',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n readonly: true,\n interface: { type: AXPWidgetsCatalog.largeText },\n },\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'leaveTypeId', options: { dataPath: 'leaveType.title' } },\n { name: 'startDate' },\n { name: 'endDate' },\n { name: 'durationDays' },\n { name: 'statusId' },\n { name: 'reason' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'request-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'startDate',\n layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },\n },\n {\n name: 'endDate',\n layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },\n },\n {\n name: 'durationDays',\n layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },\n },\n { name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'request-details' }],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'startDate',\n layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },\n },\n {\n name: 'endDate',\n layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },\n },\n {\n name: 'durationDays',\n layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },\n },\n { name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{employee.person.fullName}}',\n sections: [\n { id: 'request-details', order: 1 },\n ],\n properties: [\n { name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'leaveTypeId', layout: { positions: { lg: { colSpan: 6 } } } },\n {\n name: 'startDate',\n layout: { order: 10, positions: { md: { colSpan: 4, colStart: 1 }, lg: { colSpan: 4, colStart: 1 } } },\n },\n {\n name: 'endDate',\n layout: { order: 11, positions: { md: { colSpan: 4, colStart: 5 }, lg: { colSpan: 4, colStart: 5 } } },\n },\n {\n name: 'durationDays',\n layout: { order: 12, positions: { md: { colSpan: 4, colStart: 9 }, lg: { colSpan: 4, colStart: 9 } } },\n },\n { name: 'reason', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'rejectReason', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: entityMasterRecordActions(),\n },\n list: {\n actions: [...entityMasterCrudActions({ view: false, delete: false })],\n views: [createAllQueryView({ sorts: [{ name: 'startDate', dir: 'desc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,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE;AACvG,yBAAA;AACD,wBAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AAClE,wBAAA,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACzE,qBAAA;oBACD,OAAO,EAAE,yBAAyB,EAAE;AACrC,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;oBACrE,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;AAC7E,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { H as HCM_CATALOG_SCOPE_HR } from './acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs';
|
|
4
|
+
import { R as RootConfig } from './acorex-platform-module-human-capital-management-client-contracts-entity-catalog-acorex-platform-module-human-capital-management-client-contracts-entity-catalog-YSqg0InM.mjs';
|
|
5
|
+
|
|
6
|
+
async function factoryLeaveType() {
|
|
7
|
+
const entityDef = {
|
|
8
|
+
module: RootConfig.module.name,
|
|
9
|
+
name: RootConfig.entities.leaveType.name,
|
|
10
|
+
title: RootConfig.entities.leaveType.title,
|
|
11
|
+
icon: RootConfig.entities.leaveType.icon,
|
|
12
|
+
plugins: [
|
|
13
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
14
|
+
{ name: 'color' },
|
|
15
|
+
{ name: 'clone' },
|
|
16
|
+
{
|
|
17
|
+
name: 'workflow-selector',
|
|
18
|
+
options: {
|
|
19
|
+
catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{ name: 'reports' },
|
|
23
|
+
],
|
|
24
|
+
formats: {
|
|
25
|
+
individual: RootConfig.entities.leaveType.title,
|
|
26
|
+
plural: RootConfig.entities.leaveType.titlePlural,
|
|
27
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
28
|
+
},
|
|
29
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
30
|
+
properties: [
|
|
31
|
+
{
|
|
32
|
+
name: 'id',
|
|
33
|
+
title: 'ID',
|
|
34
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'title',
|
|
38
|
+
title: '@human-capital-management:leave-types.entities.leave-type.fields.title',
|
|
39
|
+
groupId: 'basic-info',
|
|
40
|
+
schema: {
|
|
41
|
+
dataType: 'string',
|
|
42
|
+
interface: {
|
|
43
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
47
|
+
validations: [{ rule: 'required' }],
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'description',
|
|
51
|
+
title: '@human-capital-management:leave-types.entities.leave-type.fields.description',
|
|
52
|
+
groupId: 'basic-info',
|
|
53
|
+
schema: {
|
|
54
|
+
dataType: 'string',
|
|
55
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
columns: [{ name: 'title' }, { name: 'description' }],
|
|
60
|
+
interfaces: {
|
|
61
|
+
master: {
|
|
62
|
+
create: {
|
|
63
|
+
sections: [{ id: 'basic-info' }],
|
|
64
|
+
properties: [
|
|
65
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
66
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
update: {
|
|
70
|
+
sections: [{ id: 'basic-info' }],
|
|
71
|
+
properties: [
|
|
72
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
73
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
single: {
|
|
77
|
+
title: '{{title}}',
|
|
78
|
+
sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
79
|
+
properties: [
|
|
80
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
81
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
82
|
+
],
|
|
83
|
+
actions: [...entityMasterRecordActions()],
|
|
84
|
+
},
|
|
85
|
+
list: {
|
|
86
|
+
actions: [...entityMasterCrudActions()],
|
|
87
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
return entityDef;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { factoryLeaveType };
|
|
96
|
+
//# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entity-catalog-leave-type.entity-DWkv-dnA.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/entities/leave-type/leave-type.entity.ts"],"sourcesContent":["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"],"names":[],"mappings":";;;;;AAKO,eAAe,gBAAgB,GAAA;AAEpC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;AAC1C,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3D,EAAE,IAAI,EAAE,OAAO,EAAE;YACjB,EAAE,IAAI,EAAE,OAAO,EAAE;AACjB,YAAA;AACE,gBAAA,IAAI,EAAE,mBAAmB;AACzB,gBAAA,OAAO,EAAE;oBACP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E,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACxE,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,WAAW;oBAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AAC1F,oBAAA,UAAU,EAAE;AACV,wBAAA,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;AACjE,wBAAA,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,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;;"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { H as HCM_CATALOG_SCOPE_HR } from './acorex-platform-module-human-capital-management-client-contracts-entity-catalog-catalog-scope.keys-D8MsCaj5.mjs';
|
|
4
|
+
import { R as RootConfig } from './acorex-platform-module-human-capital-management-client-contracts-entity-catalog-acorex-platform-module-human-capital-management-client-contracts-entity-catalog-YSqg0InM.mjs';
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region ---- Entity factory ----
|
|
8
|
+
async function factoryLifecycleEventType() {
|
|
9
|
+
const entityDef = {
|
|
10
|
+
module: RootConfig.module.name,
|
|
11
|
+
name: RootConfig.entities.lifecycleEventType.name,
|
|
12
|
+
title: RootConfig.entities.lifecycleEventType.title,
|
|
13
|
+
icon: RootConfig.entities.lifecycleEventType.icon,
|
|
14
|
+
plugins: [
|
|
15
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
16
|
+
{ name: 'icon' },
|
|
17
|
+
{ name: 'clone' },
|
|
18
|
+
{ name: 'history' },
|
|
19
|
+
{
|
|
20
|
+
name: 'workflow-selector',
|
|
21
|
+
options: {
|
|
22
|
+
templateInputNames: ['questionnaireId'],
|
|
23
|
+
catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
|
|
24
|
+
templateInputFilters: {
|
|
25
|
+
questionnaireId: {
|
|
26
|
+
catalogScopeKeys: [HCM_CATALOG_SCOPE_HR],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
formats: {
|
|
33
|
+
individual: RootConfig.entities.lifecycleEventType.title,
|
|
34
|
+
plural: RootConfig.entities.lifecycleEventType.titlePlural,
|
|
35
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
36
|
+
},
|
|
37
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
38
|
+
properties: [
|
|
39
|
+
{
|
|
40
|
+
name: 'id',
|
|
41
|
+
title: 'ID',
|
|
42
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: 'title',
|
|
46
|
+
title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.title',
|
|
47
|
+
groupId: 'basic-info',
|
|
48
|
+
schema: {
|
|
49
|
+
dataType: 'string',
|
|
50
|
+
interface: { type: AXPWidgetsList.Editors.TextBox },
|
|
51
|
+
},
|
|
52
|
+
options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
|
|
53
|
+
validations: [{ rule: 'required' }],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
name: 'description',
|
|
57
|
+
title: '@human-capital-management:lifecycle-event-types.entities.lifecycle-event-type.fields.description',
|
|
58
|
+
groupId: 'basic-info',
|
|
59
|
+
schema: {
|
|
60
|
+
dataType: 'string',
|
|
61
|
+
interface: { type: AXPWidgetsList.Editors.LargeTextBox },
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
columns: [{ name: 'title' }],
|
|
66
|
+
interfaces: {
|
|
67
|
+
master: {
|
|
68
|
+
create: {
|
|
69
|
+
sections: [{ id: 'basic-info' }],
|
|
70
|
+
properties: [
|
|
71
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
72
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
update: {
|
|
76
|
+
sections: [{ id: 'basic-info' }],
|
|
77
|
+
properties: [
|
|
78
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
79
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
single: {
|
|
83
|
+
title: '{{ title }}',
|
|
84
|
+
sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],
|
|
85
|
+
properties: [
|
|
86
|
+
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
87
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
88
|
+
],
|
|
89
|
+
actions: [...entityMasterRecordActions()],
|
|
90
|
+
},
|
|
91
|
+
list: {
|
|
92
|
+
actions: [...entityMasterCrudActions()],
|
|
93
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
return entityDef;
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
|
|
102
|
+
export { factoryLifecycleEventType };
|
|
103
|
+
//# sourceMappingURL=acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-human-capital-management-client-contracts-entity-catalog-lifecycle-event-type.entity-CDfVNrc0.mjs","sources":["../../../../libs/modules/human-capital-management/contracts/src/entities/lifecycle-event-type/lifecycle-event-type.entity.ts"],"sourcesContent":["import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\n//#region ---- Imports ----\nimport { 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 };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