@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.
Files changed (141) hide show
  1. package/conversation/index.d.ts +1 -0
  2. package/customer-management/index.d.ts +167 -0
  3. package/document-management/index.d.ts +99 -13
  4. package/fesm2022/acorex-modules-conversation.mjs +49 -32
  5. package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
  6. package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-OQ1bNJgq.mjs +679 -0
  7. package/fesm2022/acorex-modules-customer-management-acorex-modules-customer-management-OQ1bNJgq.mjs.map +1 -0
  8. package/fesm2022/acorex-modules-customer-management-activity.entity-DMe1FSzX.mjs +98 -0
  9. package/fesm2022/acorex-modules-customer-management-activity.entity-DMe1FSzX.mjs.map +1 -0
  10. package/fesm2022/acorex-modules-customer-management-customer-segment.entity-BwaPguXv.mjs +83 -0
  11. package/fesm2022/acorex-modules-customer-management-customer-segment.entity-BwaPguXv.mjs.map +1 -0
  12. package/fesm2022/acorex-modules-customer-management-customer-type.entity--593B7S-.mjs +95 -0
  13. package/fesm2022/acorex-modules-customer-management-customer-type.entity--593B7S-.mjs.map +1 -0
  14. package/fesm2022/acorex-modules-customer-management-customer.entity-Bh9tz06I.mjs +344 -0
  15. package/fesm2022/acorex-modules-customer-management-customer.entity-Bh9tz06I.mjs.map +1 -0
  16. package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-CZIIOqbm.mjs +147 -0
  17. package/fesm2022/acorex-modules-customer-management-deal-contact-role.entity-CZIIOqbm.mjs.map +1 -0
  18. package/fesm2022/acorex-modules-customer-management-lead.entity-DGtsH0mF.mjs +97 -0
  19. package/fesm2022/acorex-modules-customer-management-lead.entity-DGtsH0mF.mjs.map +1 -0
  20. package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-BAsoYXzc.mjs +72 -0
  21. package/fesm2022/acorex-modules-customer-management-lifecycle-stage.entity-BAsoYXzc.mjs.map +1 -0
  22. package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-CwWixlpD.mjs +72 -0
  23. package/fesm2022/acorex-modules-customer-management-opportunity-stage.entity-CwWixlpD.mjs.map +1 -0
  24. package/fesm2022/acorex-modules-customer-management-opportunity.entity-U0QaZb0W.mjs +188 -0
  25. package/fesm2022/acorex-modules-customer-management-opportunity.entity-U0QaZb0W.mjs.map +1 -0
  26. package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-BKl_WTld.mjs +72 -0
  27. package/fesm2022/acorex-modules-customer-management-sales-pipeline.entity-BKl_WTld.mjs.map +1 -0
  28. package/fesm2022/acorex-modules-customer-management-sales-territory.entity-DKV0CYPg.mjs +72 -0
  29. package/fesm2022/acorex-modules-customer-management-sales-territory.entity-DKV0CYPg.mjs.map +1 -0
  30. package/fesm2022/acorex-modules-customer-management.mjs +2 -0
  31. package/fesm2022/acorex-modules-customer-management.mjs.map +1 -0
  32. 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
  33. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-uQnZ0m0T.mjs.map +1 -0
  34. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs → acorex-modules-document-management-attachment-widget.component-Be8WgyUR.mjs} +2 -2
  35. package/fesm2022/{acorex-modules-document-management-attachment-widget.component-C80j1Gn7.mjs.map → acorex-modules-document-management-attachment-widget.component-Be8WgyUR.mjs.map} +1 -1
  36. package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BFnvHSjH.mjs → acorex-modules-document-management-create-folder-dialog.component-BlyK5a50.mjs} +4 -4
  37. 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
  38. package/fesm2022/{acorex-modules-document-management-details-view.component-7OR6bXr-.mjs → acorex-modules-document-management-details-view.component-BlTJ_p5m.mjs} +2 -2
  39. 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
  40. package/fesm2022/{acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs → acorex-modules-document-management-document-distribution-popup.component-BFL8zeml.mjs} +4 -4
  41. package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-BFL8zeml.mjs.map +1 -0
  42. 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
  43. package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CoymgoD7.mjs.map +1 -0
  44. package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-BOjb2k4S.mjs → acorex-modules-document-management-document-signature-popup.component-BONQz9u3.mjs} +4 -4
  45. 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
  46. package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66hegSh.mjs → acorex-modules-document-management-drive-choose.component-B1CoE7aP.mjs} +4 -4
  47. package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66hegSh.mjs.map → acorex-modules-document-management-drive-choose.component-B1CoE7aP.mjs.map} +1 -1
  48. package/fesm2022/{acorex-modules-document-management-drive.component-DZhd1DUn.mjs → acorex-modules-document-management-drive.component-I5pzEVVg.mjs} +5 -5
  49. package/fesm2022/{acorex-modules-document-management-drive.component-DZhd1DUn.mjs.map → acorex-modules-document-management-drive.component-I5pzEVVg.mjs.map} +1 -1
  50. package/fesm2022/{acorex-modules-document-management-large-icons-view.component-DJn6kyvL.mjs → acorex-modules-document-management-large-icons-view.component-9GtpGvk4.mjs} +2 -2
  51. 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
  52. 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
  53. 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
  54. package/fesm2022/{acorex-modules-document-management-list-view.component-oDeeGScM.mjs → acorex-modules-document-management-list-view.component-ClW5GdHG.mjs} +2 -2
  55. package/fesm2022/{acorex-modules-document-management-list-view.component-oDeeGScM.mjs.map → acorex-modules-document-management-list-view.component-ClW5GdHG.mjs.map} +1 -1
  56. package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-BbPbZmkc.mjs → acorex-modules-document-management-meta-choose-popup.component-DXTdVhrh.mjs} +3 -3
  57. 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
  58. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs → acorex-modules-document-management-permission-definition.provider-CljbPHm-.mjs} +2 -2
  59. package/fesm2022/{acorex-modules-document-management-permission-definition.provider-CMEJt7pe.mjs.map → acorex-modules-document-management-permission-definition.provider-CljbPHm-.mjs.map} +1 -1
  60. package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-Da9v8nVj.mjs → acorex-modules-document-management-rename-node-dialog.component-xeY0XzAG.mjs} +4 -4
  61. 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
  62. 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
  63. 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
  64. package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DSDfR1nj.mjs → acorex-modules-document-management-small-tiles-view.component-BVxR6ndq.mjs} +2 -2
  65. 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
  66. package/fesm2022/acorex-modules-document-management.mjs +1 -1
  67. 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
  68. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-UzQZBc6W.mjs.map +1 -0
  69. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs → acorex-modules-help-desk-capture-screen.component-C4veMiCB.mjs} +4 -4
  70. package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DIMqm4q_.mjs.map → acorex-modules-help-desk-capture-screen.component-C4veMiCB.mjs.map} +1 -1
  71. package/fesm2022/acorex-modules-help-desk.mjs +1 -1
  72. package/fesm2022/acorex-modules-log-management.mjs +261 -10
  73. package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
  74. 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
  75. package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-BKZy7M-X.mjs.map +1 -0
  76. package/fesm2022/acorex-modules-meeting-management.mjs +51 -11
  77. package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
  78. package/fesm2022/{acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs → acorex-modules-organization-management-branch.entity-Dres_jqx.mjs} +4 -2
  79. package/fesm2022/acorex-modules-organization-management-branch.entity-Dres_jqx.mjs.map +1 -0
  80. package/fesm2022/{acorex-modules-organization-management-department.entity-BbBrK4BN.mjs → acorex-modules-organization-management-department.entity-Cot-9HVC.mjs} +4 -2
  81. package/fesm2022/acorex-modules-organization-management-department.entity-Cot-9HVC.mjs.map +1 -0
  82. package/fesm2022/{acorex-modules-organization-management-division.entity-DdX7LcCU.mjs → acorex-modules-organization-management-division.entity-Dg68kBto.mjs} +11 -5
  83. package/fesm2022/acorex-modules-organization-management-division.entity-Dg68kBto.mjs.map +1 -0
  84. package/fesm2022/acorex-modules-organization-management-employee-skill.entity-DoQcCwQz.mjs +296 -0
  85. package/fesm2022/acorex-modules-organization-management-employee-skill.entity-DoQcCwQz.mjs.map +1 -0
  86. package/fesm2022/{acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs → acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs} +92 -311
  87. package/fesm2022/acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs.map +1 -0
  88. package/fesm2022/{acorex-modules-organization-management-role.entity-BdjgFsgo.mjs → acorex-modules-organization-management-position.entity-DK-i78ck.mjs} +18 -93
  89. package/fesm2022/acorex-modules-organization-management-position.entity-DK-i78ck.mjs.map +1 -0
  90. package/fesm2022/{acorex-modules-organization-management-position.entity-DT7EyvrR.mjs → acorex-modules-organization-management-role.entity-DVoKtduv.mjs} +10 -25
  91. package/fesm2022/acorex-modules-organization-management-role.entity-DVoKtduv.mjs.map +1 -0
  92. package/fesm2022/{acorex-modules-organization-management-team.entity-DkRLWl0u.mjs → acorex-modules-organization-management-team.entity-D6iNAU4g.mjs} +14 -12
  93. package/fesm2022/acorex-modules-organization-management-team.entity-D6iNAU4g.mjs.map +1 -0
  94. package/fesm2022/acorex-modules-organization-management.mjs +59 -154
  95. package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
  96. package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs → acorex-modules-party-management-acorex-modules-party-management-BY6hXmhQ.mjs} +42 -7
  97. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BY6hXmhQ.mjs.map +1 -0
  98. package/fesm2022/acorex-modules-party-management-industry.entity-CALiUOAF.mjs +91 -0
  99. package/fesm2022/acorex-modules-party-management-industry.entity-CALiUOAF.mjs.map +1 -0
  100. package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-BYsWpup7.mjs → acorex-modules-party-management-party-identifier-type.entity-BTkKl8Ka.mjs} +2 -2
  101. 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
  102. package/fesm2022/{acorex-modules-party-management-party-identifier.entity-DSn4lsX-.mjs → acorex-modules-party-management-party-identifier.entity-eDKHu-Ek.mjs} +2 -2
  103. 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
  104. package/fesm2022/{acorex-modules-party-management-party-relationship.entity-BG5zuKPH.mjs → acorex-modules-party-management-party-relationship.entity-BNTNx-oY.mjs} +2 -2
  105. 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
  106. package/fesm2022/{acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs → acorex-modules-party-management-party-role.entity-iETQVgTK.mjs} +3 -3
  107. package/fesm2022/acorex-modules-party-management-party-role.entity-iETQVgTK.mjs.map +1 -0
  108. package/fesm2022/{acorex-modules-party-management-party.entity-BwAAZRJc.mjs → acorex-modules-party-management-party.entity-lRpTfdRp.mjs} +7 -7
  109. package/fesm2022/acorex-modules-party-management-party.entity-lRpTfdRp.mjs.map +1 -0
  110. package/fesm2022/acorex-modules-party-management.mjs +1 -1
  111. package/fesm2022/acorex-modules-project-management.mjs +1 -1
  112. package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
  113. package/fesm2022/acorex-modules-report-management.mjs +289 -160
  114. package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
  115. package/fesm2022/acorex-modules-security-management.mjs +50 -243
  116. package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
  117. package/fesm2022/{acorex-modules-task-management-task-board.page-BBbHu2jz.mjs → acorex-modules-task-management-task-board.page-DsaCXemI.mjs} +5 -5
  118. package/fesm2022/acorex-modules-task-management-task-board.page-DsaCXemI.mjs.map +1 -0
  119. package/fesm2022/acorex-modules-task-management.mjs +2 -2
  120. package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
  121. package/organization-management/index.d.ts +49 -16
  122. package/package.json +5 -1
  123. package/party-management/index.d.ts +6 -0
  124. package/report-management/index.d.ts +234 -231
  125. package/security-management/index.d.ts +1 -4
  126. package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BCTTw-hI.mjs.map +0 -1
  127. package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs.map +0 -1
  128. package/fesm2022/acorex-modules-document-management-document-send-to-review-popup.component-CtpLvPIr.mjs.map +0 -1
  129. package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-Bvoh_GpG.mjs.map +0 -1
  130. package/fesm2022/acorex-modules-meeting-management-meeting-publish-popup.component-PcBFprq3.mjs.map +0 -1
  131. package/fesm2022/acorex-modules-organization-management-branch.entity-B_CYwiX9.mjs.map +0 -1
  132. package/fesm2022/acorex-modules-organization-management-department.entity-BbBrK4BN.mjs.map +0 -1
  133. package/fesm2022/acorex-modules-organization-management-division.entity-DdX7LcCU.mjs.map +0 -1
  134. package/fesm2022/acorex-modules-organization-management-employee.entity-zDTyY9NK.mjs.map +0 -1
  135. package/fesm2022/acorex-modules-organization-management-position.entity-DT7EyvrR.mjs.map +0 -1
  136. package/fesm2022/acorex-modules-organization-management-role.entity-BdjgFsgo.mjs.map +0 -1
  137. package/fesm2022/acorex-modules-organization-management-team.entity-DkRLWl0u.mjs.map +0 -1
  138. package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BFyD7IcC.mjs.map +0 -1
  139. package/fesm2022/acorex-modules-party-management-party-role.entity-jCTZL0mT.mjs.map +0 -1
  140. package/fesm2022/acorex-modules-party-management-party.entity-BwAAZRJc.mjs.map +0 -1
  141. 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.firstName }} {{ contact.lastName }}',
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
- title: 'Attachments1',
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
- conditions: [{
45
- name: 'contactId',
44
+ title: 'Personal Information',
45
+ conditions: [
46
+ {
47
+ name: 'id',
46
48
  operator: {
47
49
  type: 'equal',
48
50
  },
49
- value: '{{ context.eval("id") }}',
50
- }
51
+ value: '{{ context.eval("contactId") }}',
52
+ },
51
53
  ],
52
- layoutType: 'page-detail',
54
+ layout: { type: 'page-detail', position: 'before' },
53
55
  },
54
- ],
55
- groups: [
56
56
  {
57
- id: 'personalInformation',
58
- title: `t("${entityName}.personal-information", { scope: "${i18n}" })`,
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: 'contact.firstName',
86
- title: `@party-management:terms.first-name.title`,
87
- groupId: 'personalInformation',
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: 'contact.email',
144
- title: `@party-management:terms.email.title`,
145
- groupId: 'personalInformation',
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: AXPWidgetsCatalog.contact,
141
+ type: AXPWidgetsList.Editors.LookupBox,
187
142
  options: {
188
- type: 'phone',
189
- multiple: false,
190
- hasLabel: false,
191
- },
192
- },
193
- },
194
- options: {
195
- sort: {
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: 'rolesId',
247
- title: `t("${entityName}.rolesId", { scope: "${i18n}" })`,
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.role.name}`,
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: 'roles.{id}' },
260
- { source: 'title', target: 'roles.{title}' },
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: 'positionsId',
286
- title: `t("${entityName}.positionsId", { scope: "${i18n}" })`,
287
- groupId: 'organizationalStructure',
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.position.name}`,
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: 'positions.{id}' },
299
- { source: 'title', target: 'positions.{title}' },
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.firstName' },
394
- { name: 'contact.lastName' },
395
- { name: 'contact.mobile' },
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: 'rolesId', options: { dataPath: 'roles' } },
398
- { name: 'positionsId', options: { dataPath: 'positions' } },
399
- { name: 'employmentTypesId', options: { dataPath: 'employmentTypes' } },
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: 'positionsId',
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: 'rolesId',
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: 'employmentTypesId',
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: 'positionsId',
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: 'rolesId',
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: 'employmentTypesId',
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.firstName}} {{contact.lastName}}',
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: 'positionsId',
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: 'rolesId',
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: 'employmentTypesId',
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.firstName', dir: 'asc' },
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-zDTyY9NK.mjs.map
573
+ //# sourceMappingURL=acorex-modules-organization-management-employee.entity-BuvyXqnP.mjs.map