@acorex-platform/module-organization-management-client 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-xL4H41ft.mjs +146 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-acorex-platform-module-organization-management-client-contracts-entity-catalog-xL4H41ft.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs +203 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit-type.entity-BE6ZOUYI.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs +401 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-business-unit.entity-CzApxGMJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs +199 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-chart.entity-BWocZ2iP.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs +135 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-company.entity-tU-53b9G.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs +324 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-definition.entity-sOUJWK_4.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs +270 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-job-level.entity-C866Av4K.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs +542 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-position.entity-DI5SQJdb.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs +133 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility-level.entity-DHyK2SPK.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs +202 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-responsibility.entity-B3UAoNc6.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs +298 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-business-unit.entity-CCSV3xtX.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs +105 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member-role.entity-vnO44D26.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs +251 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team-member.entity-j7Zu11Fo.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.mjs +306 -0
- package/fesm2022/acorex-platform-module-organization-management-client-contracts-entity-catalog-team.entity-BBdUYFU0.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-local-entities.mjs +41 -0
- package/fesm2022/acorex-platform-module-organization-management-client-local-entities.mjs.map +1 -0
- 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-local-entities.d.ts +12 -0
|
@@ -0,0 +1,657 @@
|
|
|
1
|
+
import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction } 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 factoryPosition() {
|
|
117
|
+
const entityDef = {
|
|
118
|
+
module: RootConfig.module.name,
|
|
119
|
+
name: RootConfig.entities.position.name,
|
|
120
|
+
plugins: [
|
|
121
|
+
{ name: 'identifier', options: { field: 'code', rule: 'organization-position-code' } },
|
|
122
|
+
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
123
|
+
{ name: 'history' },
|
|
124
|
+
{ name: 'compare' },
|
|
125
|
+
{ name: 'clone' },
|
|
126
|
+
{ name: 'category' },
|
|
127
|
+
],
|
|
128
|
+
title: RootConfig.entities.position.title,
|
|
129
|
+
icon: RootConfig.entities.position.icon,
|
|
130
|
+
formats: {
|
|
131
|
+
individual: '@organization-management:positions.entities.position.title',
|
|
132
|
+
plural: '@organization-management:positions.entities.position.plural',
|
|
133
|
+
searchResult: {
|
|
134
|
+
title: '{{ title }}',
|
|
135
|
+
description: RootConfig.module.title,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
relatedEntities: [],
|
|
139
|
+
groups: [
|
|
140
|
+
{
|
|
141
|
+
id: 'basic-info',
|
|
142
|
+
title: `@general:terms.interface.basic-info`,
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
id: 'organizational-details',
|
|
146
|
+
title: '@organization-management:positions.entities.position.groups.organizational-details',
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
properties: [
|
|
150
|
+
{
|
|
151
|
+
name: 'id',
|
|
152
|
+
title: 'ID',
|
|
153
|
+
groupId: 'basic-info',
|
|
154
|
+
schema: {
|
|
155
|
+
dataType: 'uuid',
|
|
156
|
+
visible: false,
|
|
157
|
+
nullable: false,
|
|
158
|
+
readonly: true,
|
|
159
|
+
unique: {
|
|
160
|
+
enabled: true,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'code',
|
|
166
|
+
title: '@organization-management:positions.entities.position.fields.code.title',
|
|
167
|
+
groupId: 'basic-info',
|
|
168
|
+
schema: {
|
|
169
|
+
dataType: 'string',
|
|
170
|
+
interface: {
|
|
171
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
172
|
+
options: {
|
|
173
|
+
placeholder: '@organization-management:positions.entities.position.fields.code.placeholder',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
options: {
|
|
178
|
+
sort: {
|
|
179
|
+
enabled: true,
|
|
180
|
+
},
|
|
181
|
+
filter: {
|
|
182
|
+
advance: {
|
|
183
|
+
enabled: true,
|
|
184
|
+
},
|
|
185
|
+
inline: {
|
|
186
|
+
enabled: true,
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
validations: [
|
|
191
|
+
{
|
|
192
|
+
rule: 'required',
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'title',
|
|
198
|
+
title: `@general:terms.common.title`,
|
|
199
|
+
groupId: 'basic-info',
|
|
200
|
+
schema: {
|
|
201
|
+
dataType: 'string',
|
|
202
|
+
interface: {
|
|
203
|
+
type: AXPWidgetsList.Editors.TextBox,
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
options: {
|
|
207
|
+
sort: {
|
|
208
|
+
enabled: true,
|
|
209
|
+
},
|
|
210
|
+
filter: {
|
|
211
|
+
advance: {
|
|
212
|
+
enabled: true,
|
|
213
|
+
},
|
|
214
|
+
inline: {
|
|
215
|
+
enabled: true,
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
},
|
|
219
|
+
validations: [
|
|
220
|
+
{
|
|
221
|
+
rule: 'required',
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'description',
|
|
227
|
+
title: `@general:terms.common.description`,
|
|
228
|
+
groupId: 'basic-info',
|
|
229
|
+
schema: {
|
|
230
|
+
dataType: 'string',
|
|
231
|
+
interface: {
|
|
232
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'jobDefinitionId',
|
|
238
|
+
title: '@organization-management:positions.entities.position.fields.job-definition.title',
|
|
239
|
+
groupId: 'organizational-details',
|
|
240
|
+
schema: {
|
|
241
|
+
dataType: 'string',
|
|
242
|
+
interface: {
|
|
243
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
244
|
+
options: {
|
|
245
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.jobDefinition.name}`,
|
|
246
|
+
textField: 'title',
|
|
247
|
+
valueField: 'id',
|
|
248
|
+
expose: [
|
|
249
|
+
{ source: 'id', target: 'jobDefinition.id' },
|
|
250
|
+
{ source: 'title', target: 'jobDefinition.title' },
|
|
251
|
+
{ source: 'jobLevelIds', target: 'jobDefinition.jobLevelIds' },
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: 'jobLevelId',
|
|
259
|
+
title: '@organization-management:positions.entities.position.fields.job-level.title',
|
|
260
|
+
groupId: 'organizational-details',
|
|
261
|
+
schema: {
|
|
262
|
+
dataType: 'string',
|
|
263
|
+
interface: {
|
|
264
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
265
|
+
options: {
|
|
266
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.jobLevel.name}`,
|
|
267
|
+
textField: 'title',
|
|
268
|
+
valueField: 'id',
|
|
269
|
+
look: 'select',
|
|
270
|
+
disabled: '{{ !context.eval("jobDefinitionId") }}',
|
|
271
|
+
expose: [
|
|
272
|
+
{ source: 'id', target: 'jobLevel.id' },
|
|
273
|
+
{ source: 'title', target: 'jobLevel.title' },
|
|
274
|
+
],
|
|
275
|
+
filter: {
|
|
276
|
+
logic: 'and',
|
|
277
|
+
filters: [
|
|
278
|
+
{
|
|
279
|
+
field: 'id',
|
|
280
|
+
operator: { type: 'in' },
|
|
281
|
+
value: '{{ context.eval("jobDefinition.jobLevelIds") }}',
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
},
|
|
286
|
+
triggers: [
|
|
287
|
+
{
|
|
288
|
+
event: "{{ events.context('jobDefinitionId') }}",
|
|
289
|
+
action: `{{ widget.refresh() }}`,
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
validations: [
|
|
295
|
+
{
|
|
296
|
+
rule: 'required',
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: 'capacity',
|
|
302
|
+
title: '@organization-management:positions.entities.position.fields.capacity.title',
|
|
303
|
+
groupId: 'organizational-details',
|
|
304
|
+
schema: {
|
|
305
|
+
dataType: 'number',
|
|
306
|
+
interface: {
|
|
307
|
+
type: AXPWidgetsList.Editors.NumberBox,
|
|
308
|
+
options: {
|
|
309
|
+
minValue: 0,
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'isManager',
|
|
316
|
+
title: '@organization-management:positions.entities.position.fields.is-manager.title',
|
|
317
|
+
groupId: 'organizational-details',
|
|
318
|
+
schema: {
|
|
319
|
+
dataType: 'boolean',
|
|
320
|
+
interface: {
|
|
321
|
+
type: AXPWidgetsList.Editors.ToggleSwitch,
|
|
322
|
+
options: {
|
|
323
|
+
trulyText: '@general:terms.common.yes-no.yes',
|
|
324
|
+
falsyText: '@general:terms.common.yes-no.no',
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
options: {
|
|
329
|
+
sort: { enabled: true },
|
|
330
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
columns: [
|
|
335
|
+
{ name: 'code' },
|
|
336
|
+
{ name: 'title' },
|
|
337
|
+
{ name: 'description' },
|
|
338
|
+
{ name: 'isManager' },
|
|
339
|
+
],
|
|
340
|
+
interfaces: {
|
|
341
|
+
master: {
|
|
342
|
+
create: {
|
|
343
|
+
sections: [
|
|
344
|
+
{
|
|
345
|
+
id: 'basic-info',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
id: 'organizational-details',
|
|
349
|
+
},
|
|
350
|
+
],
|
|
351
|
+
properties: [
|
|
352
|
+
{
|
|
353
|
+
name: 'title',
|
|
354
|
+
layout: {
|
|
355
|
+
order: 1,
|
|
356
|
+
positions: {
|
|
357
|
+
sm: { colSpan: 12, order: 1 },
|
|
358
|
+
md: { colSpan: 8, order: 1 },
|
|
359
|
+
lg: { colSpan: 8, order: 1 },
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: 'code',
|
|
365
|
+
layout: {
|
|
366
|
+
order: 2,
|
|
367
|
+
positions: {
|
|
368
|
+
sm: { colSpan: 12, order: 2 },
|
|
369
|
+
md: { colSpan: 4, order: 2 },
|
|
370
|
+
lg: { colSpan: 4, order: 2 },
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
name: 'description',
|
|
376
|
+
layout: {
|
|
377
|
+
order: 3,
|
|
378
|
+
positions: {
|
|
379
|
+
sm: { colSpan: 12, order: 3 },
|
|
380
|
+
md: { colSpan: 12, order: 3 },
|
|
381
|
+
lg: { colSpan: 12, order: 3 },
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: 'jobDefinitionId',
|
|
387
|
+
layout: {
|
|
388
|
+
positions: {
|
|
389
|
+
sm: { colSpan: 12, order: 10 },
|
|
390
|
+
md: { colSpan: 6, order: 10 },
|
|
391
|
+
lg: {
|
|
392
|
+
colSpan: 6,
|
|
393
|
+
order: 10,
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
name: 'jobLevelId',
|
|
400
|
+
layout: {
|
|
401
|
+
positions: {
|
|
402
|
+
sm: { colSpan: 12, order: 11 },
|
|
403
|
+
md: { colSpan: 6, order: 11 },
|
|
404
|
+
lg: {
|
|
405
|
+
colSpan: 6,
|
|
406
|
+
order: 11,
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
|
+
},
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'capacity',
|
|
413
|
+
layout: {
|
|
414
|
+
positions: {
|
|
415
|
+
sm: { colSpan: 12, order: 12 },
|
|
416
|
+
md: { colSpan: 6, order: 12 },
|
|
417
|
+
lg: {
|
|
418
|
+
colSpan: 6,
|
|
419
|
+
order: 12,
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
name: 'isManager',
|
|
426
|
+
layout: {
|
|
427
|
+
positions: {
|
|
428
|
+
sm: { colSpan: 12, order: 13 },
|
|
429
|
+
md: { colSpan: 6, order: 13 },
|
|
430
|
+
lg: { colSpan: 6, order: 13 },
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
],
|
|
435
|
+
},
|
|
436
|
+
update: {
|
|
437
|
+
sections: [
|
|
438
|
+
{
|
|
439
|
+
id: 'basic-info',
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
id: 'organizational-details',
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
properties: [
|
|
446
|
+
{
|
|
447
|
+
name: 'title',
|
|
448
|
+
layout: {
|
|
449
|
+
order: 1,
|
|
450
|
+
positions: {
|
|
451
|
+
sm: { colSpan: 12, order: 1 },
|
|
452
|
+
md: { colSpan: 8, order: 1 },
|
|
453
|
+
lg: { colSpan: 8, order: 1 },
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
name: 'code',
|
|
459
|
+
layout: {
|
|
460
|
+
order: 2,
|
|
461
|
+
positions: {
|
|
462
|
+
sm: { colSpan: 12, order: 2 },
|
|
463
|
+
md: { colSpan: 4, order: 2 },
|
|
464
|
+
lg: { colSpan: 4, order: 2 },
|
|
465
|
+
},
|
|
466
|
+
},
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
name: 'description',
|
|
470
|
+
layout: {
|
|
471
|
+
order: 3,
|
|
472
|
+
positions: {
|
|
473
|
+
sm: { colSpan: 12, order: 3 },
|
|
474
|
+
md: { colSpan: 12, order: 3 },
|
|
475
|
+
lg: { colSpan: 12, order: 3 },
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
name: 'jobDefinitionId',
|
|
481
|
+
layout: {
|
|
482
|
+
positions: {
|
|
483
|
+
sm: { colSpan: 12, order: 10 },
|
|
484
|
+
md: { colSpan: 6, order: 10 },
|
|
485
|
+
lg: {
|
|
486
|
+
colSpan: 6,
|
|
487
|
+
order: 10,
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
name: 'jobLevelId',
|
|
494
|
+
layout: {
|
|
495
|
+
positions: {
|
|
496
|
+
sm: { colSpan: 12, order: 11 },
|
|
497
|
+
md: { colSpan: 6, order: 11 },
|
|
498
|
+
lg: {
|
|
499
|
+
colSpan: 6,
|
|
500
|
+
order: 11,
|
|
501
|
+
},
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
name: 'capacity',
|
|
507
|
+
layout: {
|
|
508
|
+
positions: {
|
|
509
|
+
sm: { colSpan: 12, order: 12 },
|
|
510
|
+
md: { colSpan: 6, order: 12 },
|
|
511
|
+
lg: {
|
|
512
|
+
colSpan: 6,
|
|
513
|
+
order: 12,
|
|
514
|
+
},
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
name: 'isManager',
|
|
520
|
+
layout: {
|
|
521
|
+
positions: {
|
|
522
|
+
sm: { colSpan: 12, order: 13 },
|
|
523
|
+
md: { colSpan: 6, order: 13 },
|
|
524
|
+
lg: { colSpan: 6, order: 13 },
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
],
|
|
529
|
+
},
|
|
530
|
+
single: {
|
|
531
|
+
title: '{{title}}',
|
|
532
|
+
sections: [
|
|
533
|
+
{
|
|
534
|
+
id: 'basic-info',
|
|
535
|
+
layout: {
|
|
536
|
+
positions: {
|
|
537
|
+
lg: {
|
|
538
|
+
colSpan: 12,
|
|
539
|
+
order: 1,
|
|
540
|
+
},
|
|
541
|
+
},
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
id: 'organizational-details',
|
|
546
|
+
layout: {
|
|
547
|
+
positions: {
|
|
548
|
+
lg: {
|
|
549
|
+
colSpan: 12,
|
|
550
|
+
order: 2,
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
},
|
|
555
|
+
],
|
|
556
|
+
properties: [
|
|
557
|
+
{
|
|
558
|
+
name: 'title',
|
|
559
|
+
layout: {
|
|
560
|
+
order: 1,
|
|
561
|
+
positions: {
|
|
562
|
+
sm: { colSpan: 12, order: 1 },
|
|
563
|
+
md: { colSpan: 8, order: 1 },
|
|
564
|
+
lg: { colSpan: 8, order: 1 },
|
|
565
|
+
},
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: 'code',
|
|
570
|
+
layout: {
|
|
571
|
+
order: 2,
|
|
572
|
+
positions: {
|
|
573
|
+
sm: { colSpan: 12, order: 2 },
|
|
574
|
+
md: { colSpan: 4, order: 2 },
|
|
575
|
+
lg: { colSpan: 4, order: 2 },
|
|
576
|
+
},
|
|
577
|
+
},
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: 'description',
|
|
581
|
+
layout: {
|
|
582
|
+
order: 3,
|
|
583
|
+
positions: {
|
|
584
|
+
sm: { colSpan: 12, order: 3 },
|
|
585
|
+
md: { colSpan: 12, order: 3 },
|
|
586
|
+
lg: { colSpan: 12, order: 3 },
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: 'jobDefinitionId',
|
|
592
|
+
layout: {
|
|
593
|
+
positions: {
|
|
594
|
+
sm: { colSpan: 12, order: 10 },
|
|
595
|
+
md: { colSpan: 6, order: 10 },
|
|
596
|
+
lg: {
|
|
597
|
+
colSpan: 6,
|
|
598
|
+
order: 10,
|
|
599
|
+
},
|
|
600
|
+
},
|
|
601
|
+
},
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
name: 'jobLevelId',
|
|
605
|
+
layout: {
|
|
606
|
+
positions: {
|
|
607
|
+
sm: { colSpan: 12, order: 11 },
|
|
608
|
+
md: { colSpan: 6, order: 11 },
|
|
609
|
+
lg: {
|
|
610
|
+
colSpan: 6,
|
|
611
|
+
order: 11,
|
|
612
|
+
},
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
name: 'capacity',
|
|
618
|
+
layout: {
|
|
619
|
+
positions: {
|
|
620
|
+
sm: { colSpan: 12, order: 12 },
|
|
621
|
+
md: { colSpan: 6, order: 12 },
|
|
622
|
+
lg: {
|
|
623
|
+
colSpan: 6,
|
|
624
|
+
order: 12,
|
|
625
|
+
},
|
|
626
|
+
},
|
|
627
|
+
},
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
name: 'isManager',
|
|
631
|
+
layout: {
|
|
632
|
+
positions: {
|
|
633
|
+
sm: { colSpan: 12, order: 13 },
|
|
634
|
+
md: { colSpan: 6, order: 13 },
|
|
635
|
+
lg: { colSpan: 6, order: 13 },
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
actions: [entityMasterDeleteAction()],
|
|
641
|
+
},
|
|
642
|
+
list: {
|
|
643
|
+
actions: [...entityMasterCrudActions()],
|
|
644
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
};
|
|
649
|
+
return entityDef;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Generated bundle index. Do not edit.
|
|
654
|
+
*/
|
|
655
|
+
|
|
656
|
+
export { factoryPosition };
|
|
657
|
+
//# sourceMappingURL=acorex-platform-module-organization-management-client-contracts-entities-position.mjs.map
|