@acorex/modules 20.2.4-next.1 → 20.2.4-next.3
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/conversation/index.d.ts +1 -0
- package/customer-management/index.d.ts +167 -0
- package/document-management/index.d.ts +99 -13
- package/fesm2022/acorex-modules-conversation.mjs +49 -32
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-OQ1bNJgq.mjs +679 -0
- package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-OQ1bNJgq.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-activity.entity-DMe1FSzX.mjs +98 -0
- package/fesm2022/acorex-modules-customer-management-activity.entity-DMe1FSzX.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-customer-segment.entity-BwaPguXv.mjs +83 -0
- package/fesm2022/acorex-modules-customer-management-customer-segment.entity-BwaPguXv.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-customer-type.entity--593B7S-.mjs +95 -0
- package/fesm2022/acorex-modules-customer-management-customer-type.entity--593B7S-.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-customer.entity-Bh9tz06I.mjs +344 -0
- package/fesm2022/acorex-modules-customer-management-customer.entity-Bh9tz06I.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-CZIIOqbm.mjs +147 -0
- package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-CZIIOqbm.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-lead.entity-DGtsH0mF.mjs +97 -0
- package/fesm2022/acorex-modules-customer-management-lead.entity-DGtsH0mF.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-BAsoYXzc.mjs +72 -0
- package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-BAsoYXzc.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-CwWixlpD.mjs +72 -0
- package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-CwWixlpD.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-opportunity.entity-U0QaZb0W.mjs +188 -0
- package/fesm2022/acorex-modules-customer-management-opportunity.entity-U0QaZb0W.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-BKl_WTld.mjs +72 -0
- package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-BKl_WTld.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-DKV0CYPg.mjs +72 -0
- package/fesm2022/acorex-modules-customer-management-sales-territory.entity-DKV0CYPg.mjs.map +1 -0
- package/fesm2022/acorex-modules-customer-management.mjs +2 -0
- package/fesm2022/acorex-modules-customer-management.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs → acorex-modules-document-management-acorex-modules-document-management-uQnZ0m0T.mjs} +1437 -428
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-uQnZ0m0T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs → acorex-modules-document-management-attachment-widget.component-Be8WgyUR.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs.map → acorex-modules-document-management-attachment-widget.component-Be8WgyUR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs → acorex-modules-document-management-create-folder-dialog.component-BlyK5a50.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BlyK5a50.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-7OR6bXr-.mjs → acorex-modules-document-management-details-view.component-BlTJ_p5m.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-7OR6bXr-.mjs.map → acorex-modules-document-management-details-view.component-BlTJ_p5m.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs → acorex-modules-document-management-document-distribution-popup.component-BFL8zeml.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-BFL8zeml.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-document-send-to-review-popup.component-CtpLvPIr.mjs → acorex-modules-document-management-document-send-to-review-popup.component-CoymgoD7.mjs} +4 -4
- package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CoymgoD7.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs → acorex-modules-document-management-document-signature-popup.component-BONQz9u3.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs.map → acorex-modules-document-management-document-signature-popup.component-BONQz9u3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66hegSh.mjs → acorex-modules-document-management-drive-choose.component-B1CoE7aP.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66hegSh.mjs.map → acorex-modules-document-management-drive-choose.component-B1CoE7aP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DZhd1DUn.mjs → acorex-modules-document-management-drive.component-I5pzEVVg.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive.component-DZhd1DUn.mjs.map → acorex-modules-document-management-drive.component-I5pzEVVg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs → acorex-modules-document-management-large-icons-view.component-9GtpGvk4.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs.map → acorex-modules-document-management-large-icons-view.component-9GtpGvk4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs → acorex-modules-document-management-large-tiles-view.component-ByBZUD_u.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-BeR4aIqh.mjs.map → acorex-modules-document-management-large-tiles-view.component-ByBZUD_u.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-oDeeGScM.mjs → acorex-modules-document-management-list-view.component-ClW5GdHG.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-oDeeGScM.mjs.map → acorex-modules-document-management-list-view.component-ClW5GdHG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs → acorex-modules-document-management-meta-choose-popup.component-DXTdVhrh.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs.map → acorex-modules-document-management-meta-choose-popup.component-DXTdVhrh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs → acorex-modules-document-management-permission-definition.provider-CljbPHm-.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs.map → acorex-modules-document-management-permission-definition.provider-CljbPHm-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs → acorex-modules-document-management-rename-node-dialog.component-xeY0XzAG.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs.map → acorex-modules-document-management-rename-node-dialog.component-xeY0XzAG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs → acorex-modules-document-management-small-icons-view.component--GP3AYPi.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Wfms-st6.mjs.map → acorex-modules-document-management-small-icons-view.component--GP3AYPi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs → acorex-modules-document-management-small-tiles-view.component-BVxR6ndq.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs.map → acorex-modules-document-management-small-tiles-view.component-BVxR6ndq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs → acorex-modules-help-desk-acorex-modules-help-desk-UzQZBc6W.mjs} +19 -79
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-UzQZBc6W.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs → acorex-modules-help-desk-capture-screen.component-C4veMiCB.mjs} +4 -4
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs.map → acorex-modules-help-desk-capture-screen.component-C4veMiCB.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +261 -10
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-meeting-management-meeting-publish-popup.component-PcBFprq3.mjs → acorex-modules-meeting-management-meeting-publish-popup.component-BKZy7M-X.mjs} +2 -2
- package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-BKZy7M-X.mjs.map +1 -0
- package/fesm2022/acorex-modules-meeting-management.mjs +51 -11
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs → acorex-modules-organization-management-branch.entity-Dres_jqx.mjs} +4 -2
- package/fesm2022/acorex-modules-organization-management-branch.entity-Dres_jqx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-department.entity-BbBrK4BN.mjs → acorex-modules-organization-management-department.entity-Cot-9HVC.mjs} +4 -2
- package/fesm2022/acorex-modules-organization-management-department.entity-Cot-9HVC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-DdX7LcCU.mjs → acorex-modules-organization-management-division.entity-Dg68kBto.mjs} +11 -5
- package/fesm2022/acorex-modules-organization-management-division.entity-Dg68kBto.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-employee-skill.entity-DoQcCwQz.mjs +296 -0
- package/fesm2022/acorex-modules-organization-management-employee-skill.entity-DoQcCwQz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs → acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs} +92 -311
- package/fesm2022/acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role.entity-BdjgFsgo.mjs → acorex-modules-organization-management-position.entity-DK-i78ck.mjs} +18 -93
- package/fesm2022/acorex-modules-organization-management-position.entity-DK-i78ck.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-DT7EyvrR.mjs → acorex-modules-organization-management-role.entity-DVoKtduv.mjs} +10 -25
- package/fesm2022/acorex-modules-organization-management-role.entity-DVoKtduv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-DkRLWl0u.mjs → acorex-modules-organization-management-team.entity-D6iNAU4g.mjs} +14 -12
- package/fesm2022/acorex-modules-organization-management-team.entity-D6iNAU4g.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +59 -154
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs → acorex-modules-party-management-acorex-modules-party-management-BY6hXmhQ.mjs} +42 -7
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BY6hXmhQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management-industry.entity-CALiUOAF.mjs +91 -0
- package/fesm2022/acorex-modules-party-management-industry.entity-CALiUOAF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs → acorex-modules-party-management-party-identifier-type.entity-BTkKl8Ka.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs.map → acorex-modules-party-management-party-identifier-type.entity-BTkKl8Ka.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs → acorex-modules-party-management-party-identifier.entity-eDKHu-Ek.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs.map → acorex-modules-party-management-party-identifier.entity-eDKHu-Ek.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs → acorex-modules-party-management-party-relationship.entity-BNTNx-oY.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs.map → acorex-modules-party-management-party-relationship.entity-BNTNx-oY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs → acorex-modules-party-management-party-role.entity-iETQVgTK.mjs} +3 -3
- package/fesm2022/acorex-modules-party-management-party-role.entity-iETQVgTK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-party.entity-BwAAZRJc.mjs → acorex-modules-party-management-party.entity-lRpTfdRp.mjs} +7 -7
- package/fesm2022/acorex-modules-party-management-party.entity-lRpTfdRp.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +289 -160
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +50 -243
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-BBbHu2jz.mjs → acorex-modules-task-management-task-board.page-DsaCXemI.mjs} +5 -5
- package/fesm2022/acorex-modules-task-management-task-board.page-DsaCXemI.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +2 -2
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/organization-management/index.d.ts +49 -16
- package/package.json +5 -1
- package/party-management/index.d.ts +6 -0
- package/report-management/index.d.ts +234 -231
- package/security-management/index.d.ts +1 -4
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CtpLvPIr.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs.map +0 -1
- package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-PcBFprq3.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-BbBrK4BN.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-DdX7LcCU.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-DT7EyvrR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-BdjgFsgo.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-DkRLWl0u.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-party.entity-BwAAZRJc.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-BBbHu2jz.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
2
2
|
import { createAllQueryView, AXPEntityQueryType } from '@acorex/platform/common';
|
|
3
3
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
|
4
|
-
import { entityMasterCrudActions } from '@acorex/platform/layout/entity';
|
|
4
|
+
import { entityMasterCrudActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex/platform/layout/entity';
|
|
5
5
|
import { AXMOrganizationManagementEmployeeEntityService, RootConfig } from './acorex-modules-organization-management.mjs';
|
|
6
6
|
|
|
7
7
|
async function factory(injector) {
|
|
@@ -13,11 +13,13 @@ async function factory(injector) {
|
|
|
13
13
|
name: RootConfig.entities.employee.name,
|
|
14
14
|
source: 'employees',
|
|
15
15
|
title: RootConfig.entities.employee.title,
|
|
16
|
+
icon: 'fa-light fa-building',
|
|
16
17
|
formats: {
|
|
17
18
|
individual: `t("${entityName}.individual-title", { scope: "${i18n}" })`,
|
|
18
19
|
plural: `t("${entityName}.plural-title", { scope: "${i18n}" })`,
|
|
20
|
+
displayName: 'Employment Information',
|
|
19
21
|
searchResult: {
|
|
20
|
-
title: '{{ contact.
|
|
22
|
+
title: '{{ contact.displayName }}',
|
|
21
23
|
description: RootConfig.module.title,
|
|
22
24
|
},
|
|
23
25
|
},
|
|
@@ -30,9 +32,7 @@ async function factory(injector) {
|
|
|
30
32
|
{
|
|
31
33
|
name: 'attachments',
|
|
32
34
|
options: {
|
|
33
|
-
|
|
34
|
-
field: 'attachments',
|
|
35
|
-
accept: '.jpg,.jpeg,.png,.gif,.webp',
|
|
35
|
+
accept: '.jpg,.jpeg,.png,.pdf',
|
|
36
36
|
multiple: true,
|
|
37
37
|
fileEditable: true,
|
|
38
38
|
},
|
|
@@ -41,22 +41,43 @@ async function factory(injector) {
|
|
|
41
41
|
relatedEntities: [
|
|
42
42
|
{
|
|
43
43
|
entity: `PartyManagement.Party`,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
title: 'Personal Information',
|
|
45
|
+
conditions: [
|
|
46
|
+
{
|
|
47
|
+
name: 'id',
|
|
46
48
|
operator: {
|
|
47
49
|
type: 'equal',
|
|
48
50
|
},
|
|
49
|
-
value: '{{ context.eval("
|
|
50
|
-
}
|
|
51
|
+
value: '{{ context.eval("contactId") }}',
|
|
52
|
+
},
|
|
51
53
|
],
|
|
52
|
-
|
|
54
|
+
layout: { type: 'page-detail', position: 'before' },
|
|
53
55
|
},
|
|
54
|
-
],
|
|
55
|
-
groups: [
|
|
56
56
|
{
|
|
57
|
-
|
|
58
|
-
title:
|
|
57
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.employeeSkill.name}`,
|
|
58
|
+
title: 'Skills',
|
|
59
|
+
columns: ['skillId', 'level', 'yearsOfExperience', 'lastUsedDate'],
|
|
60
|
+
conditions: [entityDetailsSimpleCondition('employeeId')],
|
|
61
|
+
actions: [...entityDetailsCrudActions('employeeId')],
|
|
62
|
+
layout: { type: 'page-list', position: 'after', order: 2 },
|
|
59
63
|
},
|
|
64
|
+
{
|
|
65
|
+
entity: `SecurityManagement.User`,
|
|
66
|
+
title: 'Security Information',
|
|
67
|
+
icon: 'fa-light fa-lock',
|
|
68
|
+
conditions: [
|
|
69
|
+
{
|
|
70
|
+
name: 'id',
|
|
71
|
+
operator: {
|
|
72
|
+
type: 'equal',
|
|
73
|
+
},
|
|
74
|
+
value: '{{ context.eval("userId") }}',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
layout: { type: 'page-detail', position: 'after', order: 1 },
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
groups: [
|
|
60
81
|
{
|
|
61
82
|
id: 'organizationalStructure',
|
|
62
83
|
title: `t("${entityName}.organizational-structure", { scope: "${i18n}" })`,
|
|
@@ -82,38 +103,9 @@ async function factory(injector) {
|
|
|
82
103
|
},
|
|
83
104
|
},
|
|
84
105
|
{
|
|
85
|
-
name: '
|
|
86
|
-
title:
|
|
87
|
-
groupId: '
|
|
88
|
-
schema: {
|
|
89
|
-
dataType: 'string',
|
|
90
|
-
interface: {
|
|
91
|
-
type: AXPWidgetsCatalog.text,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
options: {
|
|
95
|
-
sort: {
|
|
96
|
-
enabled: true,
|
|
97
|
-
},
|
|
98
|
-
filter: {
|
|
99
|
-
advance: {
|
|
100
|
-
enabled: true,
|
|
101
|
-
},
|
|
102
|
-
inline: {
|
|
103
|
-
enabled: true,
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
validations: [
|
|
108
|
-
{
|
|
109
|
-
rule: 'required',
|
|
110
|
-
},
|
|
111
|
-
],
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'contact.lastName',
|
|
115
|
-
title: `@party-management:terms.last-name.title`,
|
|
116
|
-
groupId: 'personalInformation',
|
|
106
|
+
name: 'employeeCode',
|
|
107
|
+
title: `t("${entityName}.employee-code", { scope: "${i18n}" })`,
|
|
108
|
+
groupId: 'employmentProfile',
|
|
117
109
|
schema: {
|
|
118
110
|
dataType: 'string',
|
|
119
111
|
interface: {
|
|
@@ -140,89 +132,25 @@ async function factory(injector) {
|
|
|
140
132
|
],
|
|
141
133
|
},
|
|
142
134
|
{
|
|
143
|
-
name: '
|
|
144
|
-
title:
|
|
145
|
-
groupId: '
|
|
146
|
-
schema: {
|
|
147
|
-
dataType: 'string',
|
|
148
|
-
interface: {
|
|
149
|
-
type: AXPWidgetsCatalog.contact,
|
|
150
|
-
options: {
|
|
151
|
-
type: 'email',
|
|
152
|
-
multiple: false,
|
|
153
|
-
hasLabel: false,
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
options: {
|
|
158
|
-
sort: {
|
|
159
|
-
enabled: false,
|
|
160
|
-
},
|
|
161
|
-
filter: {
|
|
162
|
-
advance: {
|
|
163
|
-
enabled: true,
|
|
164
|
-
},
|
|
165
|
-
inline: {
|
|
166
|
-
enabled: true,
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
validations: [
|
|
171
|
-
{
|
|
172
|
-
rule: 'required',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
rule: 'email',
|
|
176
|
-
},
|
|
177
|
-
],
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: 'contact.mobile',
|
|
181
|
-
title: `@party-management:terms.mobile.title`,
|
|
182
|
-
groupId: 'personalInformation',
|
|
135
|
+
name: 'roleId',
|
|
136
|
+
title: `t("${entityName}.roleId", { scope: "${i18n}" })`,
|
|
137
|
+
groupId: 'organizationalStructure',
|
|
183
138
|
schema: {
|
|
184
139
|
dataType: 'string',
|
|
185
140
|
interface: {
|
|
186
|
-
type:
|
|
141
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
187
142
|
options: {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
enabled: false,
|
|
197
|
-
},
|
|
198
|
-
filter: {
|
|
199
|
-
advance: {
|
|
200
|
-
enabled: true,
|
|
201
|
-
},
|
|
202
|
-
inline: {
|
|
203
|
-
enabled: true,
|
|
143
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.role.name}`,
|
|
144
|
+
textField: 'title',
|
|
145
|
+
valueField: 'id',
|
|
146
|
+
look: 'select',
|
|
147
|
+
expose: [
|
|
148
|
+
{ source: 'id', target: 'role.{id}' },
|
|
149
|
+
{ source: 'title', target: 'role.{title}' },
|
|
150
|
+
],
|
|
204
151
|
},
|
|
205
152
|
},
|
|
206
153
|
},
|
|
207
|
-
validations: [
|
|
208
|
-
{
|
|
209
|
-
rule: 'required',
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
rule: 'email',
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
name: 'employeeCode',
|
|
218
|
-
title: `t("${entityName}.employee-code", { scope: "${i18n}" })`,
|
|
219
|
-
groupId: 'employmentProfile',
|
|
220
|
-
schema: {
|
|
221
|
-
dataType: 'string',
|
|
222
|
-
interface: {
|
|
223
|
-
type: AXPWidgetsCatalog.text,
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
154
|
options: {
|
|
227
155
|
sort: {
|
|
228
156
|
enabled: true,
|
|
@@ -243,21 +171,21 @@ async function factory(injector) {
|
|
|
243
171
|
],
|
|
244
172
|
},
|
|
245
173
|
{
|
|
246
|
-
name: '
|
|
247
|
-
title: `t("${entityName}.
|
|
174
|
+
name: 'positionId',
|
|
175
|
+
title: `t("${entityName}.positionId", { scope: "${i18n}" })`,
|
|
248
176
|
groupId: 'organizationalStructure',
|
|
249
177
|
schema: {
|
|
250
178
|
dataType: 'string',
|
|
251
179
|
interface: {
|
|
252
180
|
type: AXPWidgetsList.Editors.LookupBox,
|
|
253
181
|
options: {
|
|
254
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.
|
|
182
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.position.name}`,
|
|
255
183
|
textField: 'title',
|
|
256
184
|
valueField: 'id',
|
|
257
185
|
look: 'select',
|
|
258
186
|
expose: [
|
|
259
|
-
{ source: 'id', target: '
|
|
260
|
-
{ source: 'title', target: '
|
|
187
|
+
{ source: 'id', target: 'position.{id}' },
|
|
188
|
+
{ source: 'title', target: 'position.{title}' },
|
|
261
189
|
],
|
|
262
190
|
},
|
|
263
191
|
},
|
|
@@ -282,21 +210,21 @@ async function factory(injector) {
|
|
|
282
210
|
],
|
|
283
211
|
},
|
|
284
212
|
{
|
|
285
|
-
name: '
|
|
286
|
-
title: `t("${entityName}.
|
|
287
|
-
groupId: '
|
|
213
|
+
name: 'employmentTypeId',
|
|
214
|
+
title: `t("${entityName}.employmentTypeId", { scope: "${i18n}" })`,
|
|
215
|
+
groupId: 'employmentProfile',
|
|
288
216
|
schema: {
|
|
289
217
|
dataType: 'string',
|
|
290
218
|
interface: {
|
|
291
219
|
type: AXPWidgetsList.Editors.LookupBox,
|
|
292
220
|
options: {
|
|
293
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.
|
|
221
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`,
|
|
294
222
|
textField: 'title',
|
|
295
223
|
valueField: 'id',
|
|
296
224
|
look: 'select',
|
|
297
225
|
expose: [
|
|
298
|
-
{ source: 'id', target: '
|
|
299
|
-
{ source: 'title', target: '
|
|
226
|
+
{ source: 'id', target: 'employmentType.{id}' },
|
|
227
|
+
{ source: 'title', target: 'employmentType.{title}' },
|
|
300
228
|
],
|
|
301
229
|
},
|
|
302
230
|
},
|
|
@@ -320,45 +248,6 @@ async function factory(injector) {
|
|
|
320
248
|
},
|
|
321
249
|
],
|
|
322
250
|
},
|
|
323
|
-
// {
|
|
324
|
-
// name: 'employmentTypesId',
|
|
325
|
-
// title: `t("${entityName}.employmentTypesId", { scope: "${i18n}" })`,
|
|
326
|
-
// groupId: 'employmentProfile',
|
|
327
|
-
// schema: {
|
|
328
|
-
// dataType: 'string',
|
|
329
|
-
// interface: {
|
|
330
|
-
// type: AXPWidgetsList.Editors.LookupBox,
|
|
331
|
-
// options: {
|
|
332
|
-
// entity: `${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`,
|
|
333
|
-
// textField: 'title',
|
|
334
|
-
// valueField: 'id',
|
|
335
|
-
// //look: 'select',
|
|
336
|
-
// // expose: [
|
|
337
|
-
// // { source: 'id', target: 'employmentTypes.{id}' },
|
|
338
|
-
// // { source: 'title', target: 'employmentTypes.{title}' },
|
|
339
|
-
// // ],
|
|
340
|
-
// },
|
|
341
|
-
// },
|
|
342
|
-
// },
|
|
343
|
-
// options: {
|
|
344
|
-
// sort: {
|
|
345
|
-
// enabled: true,
|
|
346
|
-
// },
|
|
347
|
-
// filter: {
|
|
348
|
-
// advance: {
|
|
349
|
-
// enabled: true,
|
|
350
|
-
// },
|
|
351
|
-
// inline: {
|
|
352
|
-
// enabled: true,
|
|
353
|
-
// },
|
|
354
|
-
// },
|
|
355
|
-
// },
|
|
356
|
-
// validations: [
|
|
357
|
-
// {
|
|
358
|
-
// rule: 'required',
|
|
359
|
-
// },
|
|
360
|
-
// ],
|
|
361
|
-
// },
|
|
362
251
|
{
|
|
363
252
|
name: 'hireDate',
|
|
364
253
|
title: `t("${entityName}.hire-date", { scope: "${i18n}" })`,
|
|
@@ -390,13 +279,26 @@ async function factory(injector) {
|
|
|
390
279
|
},
|
|
391
280
|
],
|
|
392
281
|
columns: [
|
|
393
|
-
{ name: 'contact.
|
|
394
|
-
{
|
|
395
|
-
|
|
282
|
+
{ name: 'contact.displayName', title: '@general:terms.display-name', showAs: { type: AXPWidgetsCatalog.text } },
|
|
283
|
+
{
|
|
284
|
+
name: 'contact.email',
|
|
285
|
+
title: '@general:terms.email',
|
|
286
|
+
options: { width: '350px' },
|
|
287
|
+
showAs: { type: AXPWidgetsCatalog.contact, options: { type: 'email' } },
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'contact.mobile',
|
|
291
|
+
title: '@general:terms.mobile',
|
|
292
|
+
options: { width: '250px' },
|
|
293
|
+
showAs: { type: AXPWidgetsCatalog.contact, options: { type: 'phone' } },
|
|
294
|
+
},
|
|
295
|
+
//
|
|
296
|
+
{ name: 'user.username', title: '@general:terms.username', showAs: { type: AXPWidgetsCatalog.text } },
|
|
297
|
+
//
|
|
396
298
|
{ name: 'employeeCode' },
|
|
397
|
-
{ name: '
|
|
398
|
-
{ name: '
|
|
399
|
-
{ name: '
|
|
299
|
+
{ name: 'roleId', options: { dataPath: 'role.title' } },
|
|
300
|
+
{ name: 'positionId', options: { dataPath: 'position.title' } },
|
|
301
|
+
{ name: 'employmentTypeId', options: { dataPath: 'employmentType.title' } },
|
|
400
302
|
{ name: 'hireDate' },
|
|
401
303
|
],
|
|
402
304
|
commands: {
|
|
@@ -446,46 +348,6 @@ async function factory(injector) {
|
|
|
446
348
|
},
|
|
447
349
|
],
|
|
448
350
|
properties: [
|
|
449
|
-
{
|
|
450
|
-
name: 'contact.firstName',
|
|
451
|
-
layout: {
|
|
452
|
-
positions: {
|
|
453
|
-
lg: {
|
|
454
|
-
colSpan: 6,
|
|
455
|
-
},
|
|
456
|
-
},
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
name: 'contact.lastName',
|
|
461
|
-
layout: {
|
|
462
|
-
positions: {
|
|
463
|
-
lg: {
|
|
464
|
-
colSpan: 6,
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
name: 'contact.mobile',
|
|
471
|
-
layout: {
|
|
472
|
-
positions: {
|
|
473
|
-
lg: {
|
|
474
|
-
colSpan: 6,
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
name: 'contact.email',
|
|
481
|
-
layout: {
|
|
482
|
-
positions: {
|
|
483
|
-
lg: {
|
|
484
|
-
colSpan: 6,
|
|
485
|
-
},
|
|
486
|
-
},
|
|
487
|
-
},
|
|
488
|
-
},
|
|
489
351
|
{
|
|
490
352
|
name: 'employeeCode',
|
|
491
353
|
layout: {
|
|
@@ -497,7 +359,7 @@ async function factory(injector) {
|
|
|
497
359
|
},
|
|
498
360
|
},
|
|
499
361
|
{
|
|
500
|
-
name: '
|
|
362
|
+
name: 'positionId',
|
|
501
363
|
layout: {
|
|
502
364
|
positions: {
|
|
503
365
|
lg: {
|
|
@@ -507,7 +369,7 @@ async function factory(injector) {
|
|
|
507
369
|
},
|
|
508
370
|
},
|
|
509
371
|
{
|
|
510
|
-
name: '
|
|
372
|
+
name: 'roleId',
|
|
511
373
|
layout: {
|
|
512
374
|
positions: {
|
|
513
375
|
lg: {
|
|
@@ -517,7 +379,7 @@ async function factory(injector) {
|
|
|
517
379
|
},
|
|
518
380
|
},
|
|
519
381
|
{
|
|
520
|
-
name: '
|
|
382
|
+
name: 'employmentTypeId',
|
|
521
383
|
layout: {
|
|
522
384
|
positions: {
|
|
523
385
|
lg: {
|
|
@@ -551,46 +413,6 @@ async function factory(injector) {
|
|
|
551
413
|
},
|
|
552
414
|
],
|
|
553
415
|
properties: [
|
|
554
|
-
{
|
|
555
|
-
name: 'contact.firstName',
|
|
556
|
-
layout: {
|
|
557
|
-
positions: {
|
|
558
|
-
lg: {
|
|
559
|
-
colSpan: 6,
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
},
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
name: 'contact.lastName',
|
|
566
|
-
layout: {
|
|
567
|
-
positions: {
|
|
568
|
-
lg: {
|
|
569
|
-
colSpan: 6,
|
|
570
|
-
},
|
|
571
|
-
},
|
|
572
|
-
},
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
name: 'contact.mobile',
|
|
576
|
-
layout: {
|
|
577
|
-
positions: {
|
|
578
|
-
lg: {
|
|
579
|
-
colSpan: 6,
|
|
580
|
-
},
|
|
581
|
-
},
|
|
582
|
-
},
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
name: 'contact.email',
|
|
586
|
-
layout: {
|
|
587
|
-
positions: {
|
|
588
|
-
lg: {
|
|
589
|
-
colSpan: 6,
|
|
590
|
-
},
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
},
|
|
594
416
|
{
|
|
595
417
|
name: 'employeeCode',
|
|
596
418
|
layout: {
|
|
@@ -602,7 +424,7 @@ async function factory(injector) {
|
|
|
602
424
|
},
|
|
603
425
|
},
|
|
604
426
|
{
|
|
605
|
-
name: '
|
|
427
|
+
name: 'positionId',
|
|
606
428
|
layout: {
|
|
607
429
|
positions: {
|
|
608
430
|
lg: {
|
|
@@ -612,7 +434,7 @@ async function factory(injector) {
|
|
|
612
434
|
},
|
|
613
435
|
},
|
|
614
436
|
{
|
|
615
|
-
name: '
|
|
437
|
+
name: 'roleId',
|
|
616
438
|
layout: {
|
|
617
439
|
positions: {
|
|
618
440
|
lg: {
|
|
@@ -622,7 +444,7 @@ async function factory(injector) {
|
|
|
622
444
|
},
|
|
623
445
|
},
|
|
624
446
|
{
|
|
625
|
-
name: '
|
|
447
|
+
name: 'employmentTypeId',
|
|
626
448
|
layout: {
|
|
627
449
|
positions: {
|
|
628
450
|
lg: {
|
|
@@ -644,7 +466,7 @@ async function factory(injector) {
|
|
|
644
466
|
],
|
|
645
467
|
},
|
|
646
468
|
single: {
|
|
647
|
-
title: '{{contact.
|
|
469
|
+
title: '{{contact.displayName}}',
|
|
648
470
|
sections: [
|
|
649
471
|
{
|
|
650
472
|
id: 'personalInformation',
|
|
@@ -678,46 +500,6 @@ async function factory(injector) {
|
|
|
678
500
|
},
|
|
679
501
|
],
|
|
680
502
|
properties: [
|
|
681
|
-
{
|
|
682
|
-
name: 'contact.firstName',
|
|
683
|
-
layout: {
|
|
684
|
-
positions: {
|
|
685
|
-
lg: {
|
|
686
|
-
colSpan: 6,
|
|
687
|
-
},
|
|
688
|
-
},
|
|
689
|
-
},
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
name: 'contact.lastName',
|
|
693
|
-
layout: {
|
|
694
|
-
positions: {
|
|
695
|
-
lg: {
|
|
696
|
-
colSpan: 6,
|
|
697
|
-
},
|
|
698
|
-
},
|
|
699
|
-
},
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
name: 'contact.mobile',
|
|
703
|
-
layout: {
|
|
704
|
-
positions: {
|
|
705
|
-
lg: {
|
|
706
|
-
colSpan: 6,
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
name: 'contact.email',
|
|
713
|
-
layout: {
|
|
714
|
-
positions: {
|
|
715
|
-
lg: {
|
|
716
|
-
colSpan: 6,
|
|
717
|
-
},
|
|
718
|
-
},
|
|
719
|
-
},
|
|
720
|
-
},
|
|
721
503
|
{
|
|
722
504
|
name: 'employeeCode',
|
|
723
505
|
layout: {
|
|
@@ -729,7 +511,7 @@ async function factory(injector) {
|
|
|
729
511
|
},
|
|
730
512
|
},
|
|
731
513
|
{
|
|
732
|
-
name: '
|
|
514
|
+
name: 'positionId',
|
|
733
515
|
layout: {
|
|
734
516
|
positions: {
|
|
735
517
|
lg: {
|
|
@@ -739,7 +521,7 @@ async function factory(injector) {
|
|
|
739
521
|
},
|
|
740
522
|
},
|
|
741
523
|
{
|
|
742
|
-
name: '
|
|
524
|
+
name: 'roleId',
|
|
743
525
|
layout: {
|
|
744
526
|
positions: {
|
|
745
527
|
lg: {
|
|
@@ -749,7 +531,7 @@ async function factory(injector) {
|
|
|
749
531
|
},
|
|
750
532
|
},
|
|
751
533
|
{
|
|
752
|
-
name: '
|
|
534
|
+
name: 'employmentTypeId',
|
|
753
535
|
layout: {
|
|
754
536
|
positions: {
|
|
755
537
|
lg: {
|
|
@@ -776,8 +558,7 @@ async function factory(injector) {
|
|
|
776
558
|
views: [
|
|
777
559
|
createAllQueryView({
|
|
778
560
|
sorts: [
|
|
779
|
-
{ name: 'contact.
|
|
780
|
-
{ name: 'contact.lastName', dir: 'asc' },
|
|
561
|
+
{ name: 'contact.displayName', dir: 'asc' },
|
|
781
562
|
],
|
|
782
563
|
}),
|
|
783
564
|
],
|
|
@@ -789,4 +570,4 @@ async function factory(injector) {
|
|
|
789
570
|
}
|
|
790
571
|
|
|
791
572
|
export { factory };
|
|
792
|
-
//# sourceMappingURL=acorex-modules-organization-management-employee.entity-
|
|
573
|
+
//# sourceMappingURL=acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs.map
|