@acorex-platform/module-organization-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-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs} +11 -11
- package/fesm2022/{acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-UGWNdPxI.mjs.map → acorex-platform-module-organization-management-client-acorex-platform-module-organization-management-client-ZM6X7IDO.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-add-business-unit-to-business-unit.command-CA2uZQyC.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-add-position-to-business-unit.command-F7jD3jKs.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-add-team-to-business-unit.command-BLQFjhS5.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs +318 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs +516 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-business-unit.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs +314 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-chart.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs +250 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-company.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs +439 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-definition.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs +385 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-job-level.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs +657 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs +248 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs +317 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-responsibility.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs +413 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs +220 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs +366 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs +421 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entities-team.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs +146 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-vMiwmkDK.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs +203 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BmhCZeXd.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs +401 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CIPmfbsM.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs +199 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-sg_rI9It.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs +135 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-BSDO_7eL.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs +324 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-0W6OSQH-.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs +270 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-DbMjRbn9.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs +542 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-BkauiyPn.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs +133 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-BagFwJmO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs +202 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-DHhT7rSq.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs +298 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-hkCAl8so.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs +105 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-BeGE4JUl.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs +251 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-10nYBrN4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs +306 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-Bygn5B_k.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-feature-definition.provider-BQKtvXOM.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-generate-org-chart.command-DJnFJKuo.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-matrix-page.utils-CGRJXMOn.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-pages-component.provider-TIHOAeAI.mjs.map → acorex-platform-module-organization-management-client-job-definition-pages-component.provider-XH_rXGwz.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-KwOQXdX0.mjs.map → acorex-platform-module-organization-management-client-job-definition-responsibilities-page.component-CpirrInU.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-job-definition-skills-page.component-bQOqP1Tx.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs +41 -0
- package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-menu.provider-BgRoEC48.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-default-node-contribution.provider-BQ0ihb43.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-DZs4VB50.mjs.map → acorex-platform-module-organization-management-client-org-chart-employee-flyout-contribution.provider-ZnMtkQSg.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-org-chart-position-employee-node-contribution.provider-BTicXn9n.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-ISEbvMkZ.mjs.map → acorex-platform-module-organization-management-client-org-chart-ux-node-contribution.provider-uZkFZFPA.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs → acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs} +7 -7
- package/fesm2022/{acorex-platform-module-organization-management-client-org-chart.page-CMd5nTa7.mjs.map → acorex-platform-module-organization-management-client-org-chart.page-BhXvP2qN.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-permission-definition.provider-CiCdTBGo.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-remove-position-from-business-unit.command-BFQVTpfy.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-replace-position-assignee.command-CSgERqLG.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-responsibilities-matrix-widget-column.component-C5H0kcVW.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-DmDQSgYC.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-edit.component-m4S5GRko.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-BkLZhXhM.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix-widget-view.component-Cbua852d.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs → acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-organization-management-client-responsibilities-matrix.component-DqO6xE2p.mjs.map → acorex-platform-module-organization-management-client-responsibilities-matrix.component-Cpgdxtw-.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client-settings.provider-B3nDm32f.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-organization-management-client.mjs +1 -1
- package/package.json +62 -2
- package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit-type.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-business-unit.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-chart.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-company.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-job-definition.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-job-level.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-position.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility-level.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-responsibility.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-team-business-unit.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-team-member.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entities-team.d.ts +5 -0
- package/types/acorex-platform-module-organization-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-organization-management-client-contracts.d.ts +2 -2
- package/types/acorex-platform-module-organization-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,220 @@
|
|
|
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: 'organization-management',
|
|
6
|
+
module: 'OrganizationManagement',
|
|
7
|
+
};
|
|
8
|
+
const RootConfig = {
|
|
9
|
+
config,
|
|
10
|
+
module: {
|
|
11
|
+
route: 'organization-management',
|
|
12
|
+
name: config.module,
|
|
13
|
+
title: '@organization-management:module.title',
|
|
14
|
+
icon: 'fa-light fa-sitemap',
|
|
15
|
+
},
|
|
16
|
+
entities: {
|
|
17
|
+
responsibility: {
|
|
18
|
+
name: 'Responsibility',
|
|
19
|
+
title: '@organization-management:responsibilities.entities.responsibility.title',
|
|
20
|
+
source: `${config.module}.Responsibility`,
|
|
21
|
+
icon: 'fa-light fa-tasks',
|
|
22
|
+
},
|
|
23
|
+
jobDefinition: {
|
|
24
|
+
name: 'JobDefinition',
|
|
25
|
+
title: '@organization-management:job-definitions.entities.job-definition.title',
|
|
26
|
+
source: `${config.module}.JobDefinition`,
|
|
27
|
+
icon: 'fa-light fa-user-tie',
|
|
28
|
+
},
|
|
29
|
+
jobLevel: {
|
|
30
|
+
name: 'JobLevel',
|
|
31
|
+
title: '@organization-management:job-levels.entities.job-level.title',
|
|
32
|
+
source: `${config.module}.JobLevel`,
|
|
33
|
+
icon: 'fa-light fa-layer-group',
|
|
34
|
+
},
|
|
35
|
+
responsibilityLevel: {
|
|
36
|
+
name: 'ResponsibilityLevel',
|
|
37
|
+
title: '@organization-management:responsibility-levels.entities.responsibility-level.title',
|
|
38
|
+
titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',
|
|
39
|
+
source: `${config.module}.ResponsibilityLevel`,
|
|
40
|
+
icon: 'fa-light fa-layer-group',
|
|
41
|
+
},
|
|
42
|
+
company: {
|
|
43
|
+
name: 'Company',
|
|
44
|
+
source: `${config.module}.Company`,
|
|
45
|
+
title: '@organization-management:companies.entities.company.title',
|
|
46
|
+
icon: 'fa-light fa-building',
|
|
47
|
+
},
|
|
48
|
+
team: {
|
|
49
|
+
name: 'Team',
|
|
50
|
+
source: `${config.module}.Team`,
|
|
51
|
+
title: '@organization-management:teams.entities.team.title',
|
|
52
|
+
icon: 'fa-light fa-people-group',
|
|
53
|
+
},
|
|
54
|
+
teamMemberRole: {
|
|
55
|
+
name: 'TeamMemberRole',
|
|
56
|
+
source: `${config.module}.TeamMemberRole`,
|
|
57
|
+
title: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
58
|
+
icon: 'fa-light fa-user-tag',
|
|
59
|
+
},
|
|
60
|
+
teamMember: {
|
|
61
|
+
name: 'TeamMember',
|
|
62
|
+
source: `${config.module}.TeamMember`,
|
|
63
|
+
title: '@organization-management:team-members.entities.team-member.title',
|
|
64
|
+
icon: 'fa-light fa-users',
|
|
65
|
+
},
|
|
66
|
+
teamBusinessUnit: {
|
|
67
|
+
name: 'TeamBusinessUnit',
|
|
68
|
+
source: `${config.module}.TeamBusinessUnit`,
|
|
69
|
+
title: '@organization-management:team-business-units.entities.team-business-unit.title',
|
|
70
|
+
icon: 'fa-light fa-link',
|
|
71
|
+
},
|
|
72
|
+
position: {
|
|
73
|
+
name: 'Position',
|
|
74
|
+
source: `${config.module}.Position`,
|
|
75
|
+
title: '@organization-management:positions.entities.position.title',
|
|
76
|
+
icon: 'fa-light fa-briefcase',
|
|
77
|
+
},
|
|
78
|
+
businessUnitType: {
|
|
79
|
+
name: 'BusinessUnitType',
|
|
80
|
+
source: `${config.module}.BusinessUnitType`,
|
|
81
|
+
title: '@organization-management:business-unit-types.entities.business-unit-type.title',
|
|
82
|
+
icon: 'fa-light fa-tag',
|
|
83
|
+
},
|
|
84
|
+
businessUnit: {
|
|
85
|
+
name: 'BusinessUnit',
|
|
86
|
+
source: `${config.module}.BusinessUnit`,
|
|
87
|
+
title: '@organization-management:business-units.entities.business-unit.title',
|
|
88
|
+
icon: 'fa-light fa-sitemap',
|
|
89
|
+
},
|
|
90
|
+
structure: {
|
|
91
|
+
name: 'ChartStructure',
|
|
92
|
+
source: `${config.module}.ChartStructure`,
|
|
93
|
+
title: '@organization-management:chart-configuration.components.chart-configuration.title',
|
|
94
|
+
menu: {
|
|
95
|
+
title: '@organization-management:chart-configuration.menus.chart-configuration.title',
|
|
96
|
+
},
|
|
97
|
+
icon: 'fa-light fa-gear',
|
|
98
|
+
},
|
|
99
|
+
chart: {
|
|
100
|
+
name: 'Chart',
|
|
101
|
+
source: `${config.module}.Chart`,
|
|
102
|
+
title: '@organization-management:organization-chart.components.chart.title',
|
|
103
|
+
menu: {
|
|
104
|
+
title: '@organization-management:organization-chart.menus.chart.title',
|
|
105
|
+
},
|
|
106
|
+
icon: 'fa-light fa-chart-diagram',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
queries: {
|
|
110
|
+
dashboard: {
|
|
111
|
+
teamsBar: `${config.module}:Dashboard:TeamsBar`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
async function factoryTeamMemberRole() {
|
|
117
|
+
const entityDef = {
|
|
118
|
+
module: RootConfig.module.name,
|
|
119
|
+
name: RootConfig.entities.teamMemberRole.name,
|
|
120
|
+
title: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
121
|
+
icon: 'fa-light fa-user-tag',
|
|
122
|
+
formats: {
|
|
123
|
+
individual: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
124
|
+
plural: '@organization-management:team-member-roles.entities.team-member-role.plural',
|
|
125
|
+
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
126
|
+
},
|
|
127
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],
|
|
128
|
+
properties: [
|
|
129
|
+
{
|
|
130
|
+
name: 'id',
|
|
131
|
+
title: 'ID',
|
|
132
|
+
groupId: 'basic-info',
|
|
133
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: 'title',
|
|
137
|
+
title: '@general:terms.common.title',
|
|
138
|
+
groupId: 'basic-info',
|
|
139
|
+
schema: {
|
|
140
|
+
dataType: 'string',
|
|
141
|
+
interface: {
|
|
142
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
validations: [{ rule: 'required' }],
|
|
146
|
+
options: {
|
|
147
|
+
sort: { enabled: true },
|
|
148
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
columns: [{ name: 'title' }],
|
|
153
|
+
interfaces: {
|
|
154
|
+
master: {
|
|
155
|
+
create: {
|
|
156
|
+
sections: [{ id: 'basic-info' }],
|
|
157
|
+
properties: [
|
|
158
|
+
{
|
|
159
|
+
name: 'title',
|
|
160
|
+
layout: {
|
|
161
|
+
order: 1,
|
|
162
|
+
positions: {
|
|
163
|
+
sm: { colSpan: 12, order: 1 },
|
|
164
|
+
md: { colSpan: 12, order: 1 },
|
|
165
|
+
lg: { colSpan: 12, order: 1 },
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
update: {
|
|
172
|
+
sections: [{ id: 'basic-info' }],
|
|
173
|
+
properties: [
|
|
174
|
+
{
|
|
175
|
+
name: 'title',
|
|
176
|
+
layout: {
|
|
177
|
+
order: 1,
|
|
178
|
+
positions: {
|
|
179
|
+
sm: { colSpan: 12, order: 1 },
|
|
180
|
+
md: { colSpan: 12, order: 1 },
|
|
181
|
+
lg: { colSpan: 12, order: 1 },
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
},
|
|
187
|
+
single: {
|
|
188
|
+
title: '{{title}}',
|
|
189
|
+
sections: [{ id: 'basic-info' }],
|
|
190
|
+
properties: [
|
|
191
|
+
{
|
|
192
|
+
name: 'title',
|
|
193
|
+
layout: {
|
|
194
|
+
order: 1,
|
|
195
|
+
positions: {
|
|
196
|
+
sm: { colSpan: 12, order: 1 },
|
|
197
|
+
md: { colSpan: 12, order: 1 },
|
|
198
|
+
lg: { colSpan: 12, order: 1 },
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
actions: [...entityMasterRecordActions()],
|
|
204
|
+
},
|
|
205
|
+
list: {
|
|
206
|
+
actions: [...entityMasterCrudActions()],
|
|
207
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
};
|
|
212
|
+
return entityDef;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Generated bundle index. Do not edit.
|
|
217
|
+
*/
|
|
218
|
+
|
|
219
|
+
export { factoryTeamMemberRole };
|
|
220
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entities-team-member-role.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entities/team-member-role/team-member-role.entity.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts-entities-team-member-role.ts"],"sourcesContent":["const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\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 { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMemberRole(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMemberRole.name,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n formats: {\n individual: '@organization-management:team-member-roles.entities.team-member-role.title',\n plural: '@organization-management:team-member-roles.entities.team-member-role.plural',\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 groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n },\n },\n validations: [{ rule: 'required' }],\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n ],\n columns: [{ name: 'title' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n {\n name: 'title',\n layout: {\n order: 1,\n positions: {\n sm: { colSpan: 12, order: 1 },\n md: { colSpan: 12, order: 1 },\n lg: { colSpan: 12, order: 1 },\n },\n },\n },\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.team-member-role';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,wBAAwB;CACjC;AACM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,uCAAuC;AAC9C,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,yEAAyE;AAChF,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,aAAa,EAAE;AACb,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,wEAAwE;AAC/E,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,cAAA,CAAgB;AACxC,YAAA,IAAI,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,QAAQ,EAAE;AACR,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,8DAA8D;AACrE,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,SAAA,CAAW;AACnC,YAAA,IAAI,EAAE,yBAAyB;AAChC,SAAA;AACD,QAAA,mBAAmB,EAAE;AACnB,YAAA,IAAI,EAAE,qBAAqB;AAC3B,YAAA,KAAK,EAAE,oFAAoF;AAC3F,YAAA,WAAW,EAAE,qFAAqF;AAClG,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM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AE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;AACD,gBAAA,MAAM,EAAE;AACN,oBAAA,KAAK,EAAE,WAAW;AAClB,oBAAA,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC;AAChC,oBAAA,UAAU,EAAE;AACV,wBAAA;AACE,4BAAA,IAAI,EAAE,OAAO;AACb,4BAAA,MAAM,EAAE;AACN,gCAAA,KAAK,EAAE,CAAC;AACR,gCAAA,SAAS,EAAE;oCACT,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;oCAC7B,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE;AAC9B,iCAAA;AACF,6BAAA;AACF,yBAAA;AACF,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;;ACtGA;;AAEG;;"}
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
|
|
4
|
+
const config = {
|
|
5
|
+
i18n: 'organization-management',
|
|
6
|
+
module: 'OrganizationManagement',
|
|
7
|
+
};
|
|
8
|
+
const RootConfig = {
|
|
9
|
+
config,
|
|
10
|
+
module: {
|
|
11
|
+
route: 'organization-management',
|
|
12
|
+
name: config.module,
|
|
13
|
+
title: '@organization-management:module.title',
|
|
14
|
+
icon: 'fa-light fa-sitemap',
|
|
15
|
+
},
|
|
16
|
+
entities: {
|
|
17
|
+
responsibility: {
|
|
18
|
+
name: 'Responsibility',
|
|
19
|
+
title: '@organization-management:responsibilities.entities.responsibility.title',
|
|
20
|
+
source: `${config.module}.Responsibility`,
|
|
21
|
+
icon: 'fa-light fa-tasks',
|
|
22
|
+
},
|
|
23
|
+
jobDefinition: {
|
|
24
|
+
name: 'JobDefinition',
|
|
25
|
+
title: '@organization-management:job-definitions.entities.job-definition.title',
|
|
26
|
+
source: `${config.module}.JobDefinition`,
|
|
27
|
+
icon: 'fa-light fa-user-tie',
|
|
28
|
+
},
|
|
29
|
+
jobLevel: {
|
|
30
|
+
name: 'JobLevel',
|
|
31
|
+
title: '@organization-management:job-levels.entities.job-level.title',
|
|
32
|
+
source: `${config.module}.JobLevel`,
|
|
33
|
+
icon: 'fa-light fa-layer-group',
|
|
34
|
+
},
|
|
35
|
+
responsibilityLevel: {
|
|
36
|
+
name: 'ResponsibilityLevel',
|
|
37
|
+
title: '@organization-management:responsibility-levels.entities.responsibility-level.title',
|
|
38
|
+
titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',
|
|
39
|
+
source: `${config.module}.ResponsibilityLevel`,
|
|
40
|
+
icon: 'fa-light fa-layer-group',
|
|
41
|
+
},
|
|
42
|
+
company: {
|
|
43
|
+
name: 'Company',
|
|
44
|
+
source: `${config.module}.Company`,
|
|
45
|
+
title: '@organization-management:companies.entities.company.title',
|
|
46
|
+
icon: 'fa-light fa-building',
|
|
47
|
+
},
|
|
48
|
+
team: {
|
|
49
|
+
name: 'Team',
|
|
50
|
+
source: `${config.module}.Team`,
|
|
51
|
+
title: '@organization-management:teams.entities.team.title',
|
|
52
|
+
icon: 'fa-light fa-people-group',
|
|
53
|
+
},
|
|
54
|
+
teamMemberRole: {
|
|
55
|
+
name: 'TeamMemberRole',
|
|
56
|
+
source: `${config.module}.TeamMemberRole`,
|
|
57
|
+
title: '@organization-management:team-member-roles.entities.team-member-role.title',
|
|
58
|
+
icon: 'fa-light fa-user-tag',
|
|
59
|
+
},
|
|
60
|
+
teamMember: {
|
|
61
|
+
name: 'TeamMember',
|
|
62
|
+
source: `${config.module}.TeamMember`,
|
|
63
|
+
title: '@organization-management:team-members.entities.team-member.title',
|
|
64
|
+
icon: 'fa-light fa-users',
|
|
65
|
+
},
|
|
66
|
+
teamBusinessUnit: {
|
|
67
|
+
name: 'TeamBusinessUnit',
|
|
68
|
+
source: `${config.module}.TeamBusinessUnit`,
|
|
69
|
+
title: '@organization-management:team-business-units.entities.team-business-unit.title',
|
|
70
|
+
icon: 'fa-light fa-link',
|
|
71
|
+
},
|
|
72
|
+
position: {
|
|
73
|
+
name: 'Position',
|
|
74
|
+
source: `${config.module}.Position`,
|
|
75
|
+
title: '@organization-management:positions.entities.position.title',
|
|
76
|
+
icon: 'fa-light fa-briefcase',
|
|
77
|
+
},
|
|
78
|
+
businessUnitType: {
|
|
79
|
+
name: 'BusinessUnitType',
|
|
80
|
+
source: `${config.module}.BusinessUnitType`,
|
|
81
|
+
title: '@organization-management:business-unit-types.entities.business-unit-type.title',
|
|
82
|
+
icon: 'fa-light fa-tag',
|
|
83
|
+
},
|
|
84
|
+
businessUnit: {
|
|
85
|
+
name: 'BusinessUnit',
|
|
86
|
+
source: `${config.module}.BusinessUnit`,
|
|
87
|
+
title: '@organization-management:business-units.entities.business-unit.title',
|
|
88
|
+
icon: 'fa-light fa-sitemap',
|
|
89
|
+
},
|
|
90
|
+
structure: {
|
|
91
|
+
name: 'ChartStructure',
|
|
92
|
+
source: `${config.module}.ChartStructure`,
|
|
93
|
+
title: '@organization-management:chart-configuration.components.chart-configuration.title',
|
|
94
|
+
menu: {
|
|
95
|
+
title: '@organization-management:chart-configuration.menus.chart-configuration.title',
|
|
96
|
+
},
|
|
97
|
+
icon: 'fa-light fa-gear',
|
|
98
|
+
},
|
|
99
|
+
chart: {
|
|
100
|
+
name: 'Chart',
|
|
101
|
+
source: `${config.module}.Chart`,
|
|
102
|
+
title: '@organization-management:organization-chart.components.chart.title',
|
|
103
|
+
menu: {
|
|
104
|
+
title: '@organization-management:organization-chart.menus.chart.title',
|
|
105
|
+
},
|
|
106
|
+
icon: 'fa-light fa-chart-diagram',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
queries: {
|
|
110
|
+
dashboard: {
|
|
111
|
+
teamsBar: `${config.module}:Dashboard:TeamsBar`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
async function factoryTeamMember() {
|
|
117
|
+
const entityDef = {
|
|
118
|
+
module: RootConfig.module.name,
|
|
119
|
+
name: RootConfig.entities.teamMember.name,
|
|
120
|
+
title: '@organization-management:team-members.entities.team-member.title',
|
|
121
|
+
icon: 'fa-light fa-users',
|
|
122
|
+
formats: {
|
|
123
|
+
individual: '@organization-management:team-members.entities.team-member.title',
|
|
124
|
+
plural: '@organization-management:team-members.entities.team-member.plural',
|
|
125
|
+
searchResult: {
|
|
126
|
+
title: '@organization-management:team-members.entities.team-member.title',
|
|
127
|
+
description: RootConfig.module.title,
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
groups: [
|
|
131
|
+
{
|
|
132
|
+
id: 'basic-info',
|
|
133
|
+
title: '@general:terms.interface.basic-info',
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
properties: [
|
|
137
|
+
{
|
|
138
|
+
name: 'id',
|
|
139
|
+
title: 'ID',
|
|
140
|
+
groupId: 'basic-info',
|
|
141
|
+
schema: {
|
|
142
|
+
dataType: 'uuid',
|
|
143
|
+
visible: false,
|
|
144
|
+
nullable: false,
|
|
145
|
+
readonly: true,
|
|
146
|
+
unique: {
|
|
147
|
+
enabled: true,
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'teamId',
|
|
153
|
+
title: '@organization-management:team-members.entities.team-member.fields.team.title',
|
|
154
|
+
groupId: 'basic-info',
|
|
155
|
+
options: {
|
|
156
|
+
sort: { enabled: true },
|
|
157
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
158
|
+
},
|
|
159
|
+
schema: {
|
|
160
|
+
dataType: 'string',
|
|
161
|
+
readonly: true,
|
|
162
|
+
interface: {
|
|
163
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
164
|
+
options: {
|
|
165
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,
|
|
166
|
+
textField: 'title',
|
|
167
|
+
valueField: 'id',
|
|
168
|
+
expose: [
|
|
169
|
+
{ source: 'id', target: 'team.id' },
|
|
170
|
+
{ source: 'title', target: 'team.title' },
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
validations: [
|
|
176
|
+
{
|
|
177
|
+
rule: 'required',
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'employeeId',
|
|
183
|
+
title: '@organization-management:team-members.entities.team-member.fields.employee.title',
|
|
184
|
+
groupId: 'basic-info',
|
|
185
|
+
options: {
|
|
186
|
+
sort: { enabled: true },
|
|
187
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
188
|
+
},
|
|
189
|
+
schema: {
|
|
190
|
+
dataType: 'string',
|
|
191
|
+
interface: {
|
|
192
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
193
|
+
options: {
|
|
194
|
+
entity: `HumanCapitalManagement.Employee`,
|
|
195
|
+
textField: 'person.fullName',
|
|
196
|
+
valueField: 'id',
|
|
197
|
+
look: 'select',
|
|
198
|
+
expose: [
|
|
199
|
+
{ source: 'id', target: 'employee.id' },
|
|
200
|
+
{ source: 'person.fullName', target: 'employee.person.fullName' },
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
validations: [
|
|
206
|
+
{
|
|
207
|
+
rule: 'required',
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'roleId',
|
|
213
|
+
title: '@organization-management:team-members.entities.team-member.fields.role.title',
|
|
214
|
+
groupId: 'basic-info',
|
|
215
|
+
options: {
|
|
216
|
+
sort: { enabled: true },
|
|
217
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
218
|
+
},
|
|
219
|
+
schema: {
|
|
220
|
+
dataType: 'string',
|
|
221
|
+
interface: {
|
|
222
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
223
|
+
options: {
|
|
224
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,
|
|
225
|
+
textField: 'title',
|
|
226
|
+
valueField: 'id',
|
|
227
|
+
look: 'select',
|
|
228
|
+
expose: [
|
|
229
|
+
{ source: 'id', target: 'role.id' },
|
|
230
|
+
{ source: 'title', target: 'role.title' },
|
|
231
|
+
],
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
validations: [
|
|
236
|
+
{
|
|
237
|
+
rule: 'required',
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
columns: [
|
|
243
|
+
{ name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },
|
|
244
|
+
{ name: 'roleId', options: { dataPath: 'role.title' } },
|
|
245
|
+
],
|
|
246
|
+
interfaces: {
|
|
247
|
+
master: {
|
|
248
|
+
create: {
|
|
249
|
+
sections: [
|
|
250
|
+
{
|
|
251
|
+
id: 'basic-info',
|
|
252
|
+
},
|
|
253
|
+
],
|
|
254
|
+
properties: [
|
|
255
|
+
{
|
|
256
|
+
name: 'teamId',
|
|
257
|
+
layout: {
|
|
258
|
+
positions: {
|
|
259
|
+
lg: {
|
|
260
|
+
colSpan: 12,
|
|
261
|
+
order: 1,
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'employeeId',
|
|
268
|
+
layout: {
|
|
269
|
+
positions: {
|
|
270
|
+
lg: {
|
|
271
|
+
colSpan: 6,
|
|
272
|
+
order: 2,
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'roleId',
|
|
279
|
+
layout: {
|
|
280
|
+
positions: {
|
|
281
|
+
lg: {
|
|
282
|
+
colSpan: 6,
|
|
283
|
+
order: 3,
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
update: {
|
|
291
|
+
sections: [
|
|
292
|
+
{
|
|
293
|
+
id: 'basic-info',
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
properties: [
|
|
297
|
+
{
|
|
298
|
+
name: 'employeeId',
|
|
299
|
+
layout: {
|
|
300
|
+
positions: {
|
|
301
|
+
lg: {
|
|
302
|
+
colSpan: 6,
|
|
303
|
+
order: 1,
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'roleId',
|
|
310
|
+
layout: {
|
|
311
|
+
positions: {
|
|
312
|
+
lg: {
|
|
313
|
+
colSpan: 6,
|
|
314
|
+
order: 2,
|
|
315
|
+
},
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
},
|
|
321
|
+
single: {
|
|
322
|
+
title: '{{ context.eval("employee.person.fullName") + " - " + context.eval("role.title", { pipes: ["translate"] }) }}',
|
|
323
|
+
sections: [
|
|
324
|
+
{
|
|
325
|
+
id: 'basic-info',
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
properties: [
|
|
329
|
+
{
|
|
330
|
+
name: 'employeeId',
|
|
331
|
+
layout: {
|
|
332
|
+
positions: {
|
|
333
|
+
lg: {
|
|
334
|
+
colSpan: 6,
|
|
335
|
+
order: 1,
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
name: 'roleId',
|
|
342
|
+
layout: {
|
|
343
|
+
positions: {
|
|
344
|
+
lg: {
|
|
345
|
+
colSpan: 6,
|
|
346
|
+
order: 2,
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
],
|
|
352
|
+
actions: [...entityMasterRecordActions()],
|
|
353
|
+
},
|
|
354
|
+
// No list interface - this entity is only accessible as a related entity
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
};
|
|
358
|
+
return entityDef;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Generated bundle index. Do not edit.
|
|
363
|
+
*/
|
|
364
|
+
|
|
365
|
+
export { factoryTeamMember };
|
|
366
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-organization-management-client-contracts-entities-team-member.mjs","sources":["../../../../libs/modules/organization-management/contracts/src/root-config.ts","../../../../libs/modules/organization-management/contracts/src/entities/team-member/team-member.entity.ts","../../../../libs/modules/organization-management/contracts/src/acorex-platform-module-organization-management-client-contracts-entities-team-member.ts"],"sourcesContent":["const config = {\n i18n: 'organization-management',\n module: 'OrganizationManagement',\n};\nexport const RootConfig = {\n config,\n module: {\n route: 'organization-management',\n name: config.module,\n title: '@organization-management:module.title',\n icon: 'fa-light fa-sitemap',\n },\n entities: {\n responsibility: {\n name: 'Responsibility',\n title: '@organization-management:responsibilities.entities.responsibility.title',\n source: `${config.module}.Responsibility`,\n icon: 'fa-light fa-tasks',\n },\n jobDefinition: {\n name: 'JobDefinition',\n title: '@organization-management:job-definitions.entities.job-definition.title',\n source: `${config.module}.JobDefinition`,\n icon: 'fa-light fa-user-tie',\n },\n jobLevel: {\n name: 'JobLevel',\n title: '@organization-management:job-levels.entities.job-level.title',\n source: `${config.module}.JobLevel`,\n icon: 'fa-light fa-layer-group',\n },\n responsibilityLevel: {\n name: 'ResponsibilityLevel',\n title: '@organization-management:responsibility-levels.entities.responsibility-level.title',\n titlePlural: '@organization-management:responsibility-levels.entities.responsibility-level.plural',\n source: `${config.module}.ResponsibilityLevel`,\n icon: 'fa-light fa-layer-group',\n },\n company: {\n name: 'Company',\n source: `${config.module}.Company`,\n title: '@organization-management:companies.entities.company.title',\n icon: 'fa-light fa-building',\n },\n team: {\n name: 'Team',\n source: `${config.module}.Team`,\n title: '@organization-management:teams.entities.team.title',\n icon: 'fa-light fa-people-group',\n },\n teamMemberRole: {\n name: 'TeamMemberRole',\n source: `${config.module}.TeamMemberRole`,\n title: '@organization-management:team-member-roles.entities.team-member-role.title',\n icon: 'fa-light fa-user-tag',\n },\n teamMember: {\n name: 'TeamMember',\n source: `${config.module}.TeamMember`,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n },\n teamBusinessUnit: {\n name: 'TeamBusinessUnit',\n source: `${config.module}.TeamBusinessUnit`,\n title: '@organization-management:team-business-units.entities.team-business-unit.title',\n icon: 'fa-light fa-link',\n },\n position: {\n name: 'Position',\n source: `${config.module}.Position`,\n title: '@organization-management:positions.entities.position.title',\n icon: 'fa-light fa-briefcase',\n },\n businessUnitType: {\n name: 'BusinessUnitType',\n source: `${config.module}.BusinessUnitType`,\n title: '@organization-management:business-unit-types.entities.business-unit-type.title',\n icon: 'fa-light fa-tag',\n },\n businessUnit: {\n name: 'BusinessUnit',\n source: `${config.module}.BusinessUnit`,\n title: '@organization-management:business-units.entities.business-unit.title',\n icon: 'fa-light fa-sitemap',\n },\n\n structure: {\n name: 'ChartStructure',\n source: `${config.module}.ChartStructure`,\n title: '@organization-management:chart-configuration.components.chart-configuration.title',\n menu: {\n title: '@organization-management:chart-configuration.menus.chart-configuration.title',\n },\n icon: 'fa-light fa-gear',\n },\n chart: {\n name: 'Chart',\n source: `${config.module}.Chart`,\n title: '@organization-management:organization-chart.components.chart.title',\n menu: {\n title: '@organization-management:organization-chart.menus.chart.title',\n },\n icon: 'fa-light fa-chart-diagram',\n },\n },\n queries: {\n dashboard: {\n teamsBar: `${config.module}:Dashboard:TeamsBar`,\n },\n },\n} as const;\n","import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryTeamMember(): Promise<AXPEntity | null> {\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.teamMember.name,\n title: '@organization-management:team-members.entities.team-member.title',\n icon: 'fa-light fa-users',\n formats: {\n individual: '@organization-management:team-members.entities.team-member.title',\n plural: '@organization-management:team-members.entities.team-member.plural',\n searchResult: {\n title: '@organization-management:team-members.entities.team-member.title',\n description: RootConfig.module.title,\n },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@general:terms.interface.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: {\n enabled: true,\n },\n },\n },\n {\n name: 'teamId',\n title: '@organization-management:team-members.entities.team-member.fields.team.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n readonly: true,\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.team.name}`,\n textField: 'title',\n valueField: 'id',\n expose: [\n { source: 'id', target: 'team.id' },\n { source: 'title', target: 'team.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'employeeId',\n title: '@organization-management:team-members.entities.team-member.fields.employee.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `HumanCapitalManagement.Employee`,\n textField: 'person.fullName',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'employee.id' },\n { source: 'person.fullName', target: 'employee.person.fullName' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'roleId',\n title: '@organization-management:team-members.entities.team-member.fields.role.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.LookupBox,\n options: {\n entity: `${RootConfig.module.name}.${RootConfig.entities.teamMemberRole.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'select',\n expose: [\n { source: 'id', target: 'role.id' },\n { source: 'title', target: 'role.title' },\n ],\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [\n { name: 'employeeId', options: { dataPath: 'employee.person.fullName' } },\n { name: 'roleId', options: { dataPath: 'role.title' } },\n ],\n\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'teamId',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n order: 1,\n },\n },\n },\n },\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 3,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n },\n single: {\n title:\n '{{ context.eval(\"employee.person.fullName\") + \" - \" + context.eval(\"role.title\", { pipes: [\"translate\"] }) }}',\n sections: [\n {\n id: 'basic-info',\n },\n ],\n properties: [\n {\n name: 'employeeId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 1,\n },\n },\n },\n },\n {\n name: 'roleId',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n order: 2,\n },\n },\n },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n // No list interface - this entity is only accessible as a related entity\n },\n },\n };\n\n return entityDef;\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.team-member';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,yBAAyB;AAC/B,IAAA,MAAM,EAAE,wBAAwB;CACjC;AACM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,yBAAyB;QAChC,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,uCAAuC;AAC9C,QAAA,IAAI,EAAE,qBAAqB;AAC5B,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,cAAc,EAAE;AACd,YAAA,IAAI,EAAE,gBAAgB;AACtB,YAAA,KAAK,EAAE,yEAAyE;AAChF,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,eAAA,CAAiB;AACzC,YAAA,IAAI,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,aAAa,EAAE;AACb,YAAA,IAAI,EAAE,eAAe;AACrB,YAAA,KAAK,EAAE,wEAAwE;AAC/E,YAAA,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,MAAM,CAAA,cAA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