@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
|
@@ -4,11 +4,10 @@ import * as i2 from '@acorex/platform/layout/builder';
|
|
|
4
4
|
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule, AXPValueWidgetComponent, AXPColumnWidgetComponent, AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
6
|
import { NgModule, Injectable, inject, Injector, signal, input, output, computed, ViewEncapsulation, Component, ViewChild, effect, ChangeDetectionStrategy } from '@angular/core';
|
|
7
|
-
import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
7
|
+
import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, entityMasterCrudActions, entityMasterRecordActions, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
8
8
|
import * as i1 from '@acorex/platform/workflow';
|
|
9
9
|
import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule, AXPWorkflowService } from '@acorex/platform/workflow';
|
|
10
10
|
import { AXPSessionService, AXPPermissionDefinitionService } from '@acorex/platform/auth';
|
|
11
|
-
import { AXDataSource } from '@acorex/cdk/common';
|
|
12
11
|
import { AXDialogService } from '@acorex/components/dialog';
|
|
13
12
|
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
|
14
13
|
import * as i3$1 from '@acorex/core/translation';
|
|
@@ -17,6 +16,7 @@ import { AXP_USER_AVATAR_PROVIDER, AXPThemeLayoutBlockComponent } from '@acorex/
|
|
|
17
16
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
|
18
17
|
import { AXPopupService } from '@acorex/components/popup';
|
|
19
18
|
import { AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_EXPRESSION_EVALUATOR_SCOPE_PROVIDER } from '@acorex/platform/core';
|
|
19
|
+
import { AXDataSource } from '@acorex/cdk/common';
|
|
20
20
|
import * as i1$1 from '@angular/common';
|
|
21
21
|
import { CommonModule } from '@angular/common';
|
|
22
22
|
import { AXFormModule } from '@acorex/components/form';
|
|
@@ -58,17 +58,17 @@ const RootConfig = {
|
|
|
58
58
|
icon: 'fa-light fa-default',
|
|
59
59
|
},
|
|
60
60
|
users: {
|
|
61
|
-
name: '
|
|
61
|
+
name: 'User',
|
|
62
62
|
title: `t("users", { scope: "${config.i18n}" })`,
|
|
63
63
|
icon: 'fa-light fa-users',
|
|
64
64
|
},
|
|
65
65
|
roles: {
|
|
66
|
-
name: '
|
|
66
|
+
name: 'Role',
|
|
67
67
|
title: `t("roles",{scope:"${config.i18n}"})`,
|
|
68
68
|
icon: 'fa-light fa-key',
|
|
69
69
|
},
|
|
70
70
|
profile: {
|
|
71
|
-
name: '
|
|
71
|
+
name: 'Profile',
|
|
72
72
|
title: `t("profile",{scope:"${config.i18n}"})`,
|
|
73
73
|
icon: 'fa-light fa-user',
|
|
74
74
|
},
|
|
@@ -753,26 +753,32 @@ async function factory$2(injector) {
|
|
|
753
753
|
name: RootConfig.entities.users.name,
|
|
754
754
|
source: '',
|
|
755
755
|
title: RootConfig.entities.users.title,
|
|
756
|
+
icon: 'fa-light fa-user',
|
|
756
757
|
formats: {
|
|
757
758
|
individual: `t("user", { scope: "${i18n}" })`,
|
|
758
759
|
plural: `t("users", { scope: "${i18n}" })`,
|
|
759
760
|
},
|
|
760
|
-
|
|
761
|
+
plugins: [
|
|
762
|
+
{ name: 'history' },
|
|
763
|
+
{ name: 'lock' },
|
|
764
|
+
{ name: 'compare' },
|
|
765
|
+
{ name: 'extra-properties' },
|
|
766
|
+
],
|
|
761
767
|
groups: [
|
|
762
768
|
{
|
|
763
|
-
id: 'info',
|
|
764
|
-
title:
|
|
769
|
+
id: 'basic-info',
|
|
770
|
+
title: '@general:terms.basic-info',
|
|
765
771
|
},
|
|
766
772
|
{
|
|
767
773
|
id: 'authorizations',
|
|
768
|
-
title:
|
|
774
|
+
title: `@${i18n}:authorizations`,
|
|
769
775
|
},
|
|
770
776
|
],
|
|
771
777
|
properties: [
|
|
772
778
|
{
|
|
773
779
|
name: 'username',
|
|
774
780
|
title: `t("username", { scope: "${i18n}" })`,
|
|
775
|
-
groupId: 'info',
|
|
781
|
+
groupId: 'basic-info',
|
|
776
782
|
options: {
|
|
777
783
|
filter: {
|
|
778
784
|
advance: {
|
|
@@ -799,9 +805,9 @@ async function factory$2(injector) {
|
|
|
799
805
|
],
|
|
800
806
|
},
|
|
801
807
|
{
|
|
802
|
-
name: '
|
|
803
|
-
title:
|
|
804
|
-
groupId: 'info',
|
|
808
|
+
name: 'displayName',
|
|
809
|
+
title: `@general:terms.display-name`,
|
|
810
|
+
groupId: 'basic-info',
|
|
805
811
|
options: {
|
|
806
812
|
sort: {
|
|
807
813
|
enabled: true,
|
|
@@ -824,84 +830,6 @@ async function factory$2(injector) {
|
|
|
824
830
|
},
|
|
825
831
|
],
|
|
826
832
|
},
|
|
827
|
-
{
|
|
828
|
-
name: 'lastName',
|
|
829
|
-
title: `t("lastName", { scope: "${i18n}" })`,
|
|
830
|
-
groupId: 'info',
|
|
831
|
-
schema: {
|
|
832
|
-
dataType: 'string',
|
|
833
|
-
interface: {
|
|
834
|
-
type: AXPWidgetsCatalog.text,
|
|
835
|
-
},
|
|
836
|
-
},
|
|
837
|
-
options: {
|
|
838
|
-
filter: {
|
|
839
|
-
advance: {
|
|
840
|
-
enabled: true,
|
|
841
|
-
},
|
|
842
|
-
},
|
|
843
|
-
sort: {
|
|
844
|
-
enabled: true,
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
validations: [
|
|
848
|
-
{
|
|
849
|
-
rule: 'required',
|
|
850
|
-
},
|
|
851
|
-
],
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
name: 'nationalCode',
|
|
855
|
-
title: `t("nationalCode", { scope: "${i18n}" })`,
|
|
856
|
-
groupId: 'info',
|
|
857
|
-
schema: {
|
|
858
|
-
dataType: 'string',
|
|
859
|
-
interface: {
|
|
860
|
-
type: AXPWidgetsCatalog.text,
|
|
861
|
-
},
|
|
862
|
-
},
|
|
863
|
-
options: {
|
|
864
|
-
filter: {
|
|
865
|
-
advance: {
|
|
866
|
-
enabled: true,
|
|
867
|
-
},
|
|
868
|
-
},
|
|
869
|
-
sort: {
|
|
870
|
-
enabled: true,
|
|
871
|
-
},
|
|
872
|
-
},
|
|
873
|
-
validations: [
|
|
874
|
-
{
|
|
875
|
-
rule: 'required',
|
|
876
|
-
},
|
|
877
|
-
],
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
name: 'mobile',
|
|
881
|
-
title: `t("mobile", { scope: "${i18n}" })`,
|
|
882
|
-
groupId: 'info',
|
|
883
|
-
schema: {
|
|
884
|
-
dataType: 'string',
|
|
885
|
-
interface: {
|
|
886
|
-
type: AXPWidgetsCatalog.text,
|
|
887
|
-
options: {
|
|
888
|
-
hasLabel: false,
|
|
889
|
-
placeholder: ``,
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
},
|
|
893
|
-
options: {
|
|
894
|
-
filter: {
|
|
895
|
-
advance: {
|
|
896
|
-
enabled: true,
|
|
897
|
-
},
|
|
898
|
-
},
|
|
899
|
-
sort: {
|
|
900
|
-
enabled: true,
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
validations: [],
|
|
904
|
-
},
|
|
905
833
|
{
|
|
906
834
|
name: 'password',
|
|
907
835
|
title: `t("password", { scope: "${i18n}" })`,
|
|
@@ -912,38 +840,23 @@ async function factory$2(injector) {
|
|
|
912
840
|
type: AXPWidgetsCatalog.text,
|
|
913
841
|
},
|
|
914
842
|
},
|
|
915
|
-
options: {
|
|
916
|
-
filter: {
|
|
917
|
-
advance: {
|
|
918
|
-
enabled: true,
|
|
919
|
-
},
|
|
920
|
-
},
|
|
921
|
-
sort: {
|
|
922
|
-
enabled: true,
|
|
923
|
-
},
|
|
924
|
-
},
|
|
925
843
|
},
|
|
926
844
|
{
|
|
927
|
-
name: '
|
|
845
|
+
name: 'roleIds',
|
|
928
846
|
title: `t("roles", { scope: "${i18n}" })`,
|
|
929
847
|
groupId: 'authorizations',
|
|
930
848
|
schema: {
|
|
931
|
-
dataType: '
|
|
849
|
+
dataType: 'object',
|
|
932
850
|
interface: {
|
|
933
|
-
type: AXPWidgetsCatalog.
|
|
851
|
+
type: AXPWidgetsCatalog.lookup,
|
|
934
852
|
options: {
|
|
935
|
-
|
|
936
|
-
load: async () => {
|
|
937
|
-
const rolesEntity = await entityResolver.get(RootConfig.module.name, 'roles');
|
|
938
|
-
const roles = await (rolesEntity?.queries.list?.execute)({ skip: 0, take: 100 });
|
|
939
|
-
return roles;
|
|
940
|
-
},
|
|
941
|
-
pageSize: 100,
|
|
942
|
-
key: 'id',
|
|
943
|
-
}),
|
|
944
|
-
valueField: 'id',
|
|
945
|
-
textField: 'title',
|
|
853
|
+
entity: 'SecurityManagement.Role',
|
|
946
854
|
multiple: true,
|
|
855
|
+
look: 'select',
|
|
856
|
+
expose: [
|
|
857
|
+
{ source: 'id', target: 'roles.{id}' },
|
|
858
|
+
{ source: 'title', target: 'roles.{title}' },
|
|
859
|
+
],
|
|
947
860
|
},
|
|
948
861
|
},
|
|
949
862
|
},
|
|
@@ -956,10 +869,8 @@ async function factory$2(injector) {
|
|
|
956
869
|
],
|
|
957
870
|
columns: [
|
|
958
871
|
{ name: 'username' },
|
|
959
|
-
{ name: '
|
|
960
|
-
{ name: '
|
|
961
|
-
{ name: 'nationalCode' },
|
|
962
|
-
{ name: 'mobile' },
|
|
872
|
+
{ name: 'displayName' },
|
|
873
|
+
{ name: 'roleIds', options: { dataPath: 'roles.{title}' } },
|
|
963
874
|
],
|
|
964
875
|
commands: {
|
|
965
876
|
create: {
|
|
@@ -1000,7 +911,7 @@ async function factory$2(injector) {
|
|
|
1000
911
|
create: {
|
|
1001
912
|
sections: [
|
|
1002
913
|
{
|
|
1003
|
-
id: 'info',
|
|
914
|
+
id: 'basic-info',
|
|
1004
915
|
},
|
|
1005
916
|
{
|
|
1006
917
|
id: 'authorizations',
|
|
@@ -1018,7 +929,7 @@ async function factory$2(injector) {
|
|
|
1018
929
|
},
|
|
1019
930
|
},
|
|
1020
931
|
{
|
|
1021
|
-
name: '
|
|
932
|
+
name: 'displayName',
|
|
1022
933
|
layout: {
|
|
1023
934
|
positions: {
|
|
1024
935
|
lg: {
|
|
@@ -1028,37 +939,7 @@ async function factory$2(injector) {
|
|
|
1028
939
|
},
|
|
1029
940
|
},
|
|
1030
941
|
{
|
|
1031
|
-
name: '
|
|
1032
|
-
layout: {
|
|
1033
|
-
positions: {
|
|
1034
|
-
lg: {
|
|
1035
|
-
colSpan: 6,
|
|
1036
|
-
},
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
name: 'nationalCode',
|
|
1042
|
-
layout: {
|
|
1043
|
-
positions: {
|
|
1044
|
-
lg: {
|
|
1045
|
-
colSpan: 6,
|
|
1046
|
-
},
|
|
1047
|
-
},
|
|
1048
|
-
},
|
|
1049
|
-
},
|
|
1050
|
-
{
|
|
1051
|
-
name: 'mobile',
|
|
1052
|
-
layout: {
|
|
1053
|
-
positions: {
|
|
1054
|
-
lg: {
|
|
1055
|
-
colSpan: 6,
|
|
1056
|
-
},
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
name: 'roles',
|
|
942
|
+
name: 'roleIds',
|
|
1062
943
|
layout: {
|
|
1063
944
|
positions: {
|
|
1064
945
|
lg: {
|
|
@@ -1082,7 +963,7 @@ async function factory$2(injector) {
|
|
|
1082
963
|
update: {
|
|
1083
964
|
sections: [
|
|
1084
965
|
{
|
|
1085
|
-
id: 'info',
|
|
966
|
+
id: 'basic-info',
|
|
1086
967
|
},
|
|
1087
968
|
{
|
|
1088
969
|
id: 'authorizations',
|
|
@@ -1100,17 +981,7 @@ async function factory$2(injector) {
|
|
|
1100
981
|
},
|
|
1101
982
|
},
|
|
1102
983
|
{
|
|
1103
|
-
name: '
|
|
1104
|
-
layout: {
|
|
1105
|
-
positions: {
|
|
1106
|
-
lg: {
|
|
1107
|
-
colSpan: 6,
|
|
1108
|
-
},
|
|
1109
|
-
},
|
|
1110
|
-
},
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
name: 'lastName',
|
|
984
|
+
name: 'displayName',
|
|
1114
985
|
layout: {
|
|
1115
986
|
positions: {
|
|
1116
987
|
lg: {
|
|
@@ -1140,7 +1011,7 @@ async function factory$2(injector) {
|
|
|
1140
1011
|
},
|
|
1141
1012
|
},
|
|
1142
1013
|
{
|
|
1143
|
-
name: '
|
|
1014
|
+
name: 'roleIds',
|
|
1144
1015
|
layout: {
|
|
1145
1016
|
positions: {
|
|
1146
1017
|
lg: {
|
|
@@ -1162,10 +1033,10 @@ async function factory$2(injector) {
|
|
|
1162
1033
|
],
|
|
1163
1034
|
},
|
|
1164
1035
|
single: {
|
|
1165
|
-
title: '{{
|
|
1036
|
+
title: '{{displayName}}',
|
|
1166
1037
|
sections: [
|
|
1167
1038
|
{
|
|
1168
|
-
id: 'info',
|
|
1039
|
+
id: 'basic-info',
|
|
1169
1040
|
layout: {
|
|
1170
1041
|
positions: {
|
|
1171
1042
|
lg: {
|
|
@@ -1176,7 +1047,6 @@ async function factory$2(injector) {
|
|
|
1176
1047
|
},
|
|
1177
1048
|
{
|
|
1178
1049
|
id: 'authorizations',
|
|
1179
|
-
collapsed: true,
|
|
1180
1050
|
layout: {
|
|
1181
1051
|
positions: {
|
|
1182
1052
|
lg: {
|
|
@@ -1198,37 +1068,7 @@ async function factory$2(injector) {
|
|
|
1198
1068
|
},
|
|
1199
1069
|
},
|
|
1200
1070
|
{
|
|
1201
|
-
name: '
|
|
1202
|
-
layout: {
|
|
1203
|
-
positions: {
|
|
1204
|
-
lg: {
|
|
1205
|
-
colSpan: 6,
|
|
1206
|
-
},
|
|
1207
|
-
},
|
|
1208
|
-
},
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
name: 'lastName',
|
|
1212
|
-
layout: {
|
|
1213
|
-
positions: {
|
|
1214
|
-
lg: {
|
|
1215
|
-
colSpan: 6,
|
|
1216
|
-
},
|
|
1217
|
-
},
|
|
1218
|
-
},
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
name: 'nationalCode',
|
|
1222
|
-
layout: {
|
|
1223
|
-
positions: {
|
|
1224
|
-
lg: {
|
|
1225
|
-
colSpan: 6,
|
|
1226
|
-
},
|
|
1227
|
-
},
|
|
1228
|
-
},
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
name: 'mobile',
|
|
1071
|
+
name: 'displayName',
|
|
1232
1072
|
layout: {
|
|
1233
1073
|
positions: {
|
|
1234
1074
|
lg: {
|
|
@@ -1248,7 +1088,7 @@ async function factory$2(injector) {
|
|
|
1248
1088
|
},
|
|
1249
1089
|
},
|
|
1250
1090
|
{
|
|
1251
|
-
name: '
|
|
1091
|
+
name: 'roleIds',
|
|
1252
1092
|
layout: {
|
|
1253
1093
|
positions: {
|
|
1254
1094
|
lg: {
|
|
@@ -1258,54 +1098,19 @@ async function factory$2(injector) {
|
|
|
1258
1098
|
},
|
|
1259
1099
|
},
|
|
1260
1100
|
],
|
|
1261
|
-
actions: [],
|
|
1101
|
+
actions: [...entityMasterRecordActions()],
|
|
1262
1102
|
},
|
|
1263
1103
|
list: {
|
|
1264
|
-
actions: [
|
|
1265
|
-
{
|
|
1266
|
-
title: `t("create", { scope: "common" })`,
|
|
1267
|
-
command: 'create-entity',
|
|
1268
|
-
priority: 'primary',
|
|
1269
|
-
type: 'create',
|
|
1270
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
1271
|
-
},
|
|
1272
|
-
// {
|
|
1273
|
-
// title: `t("deleteItems", {scope: "common"})`,
|
|
1274
|
-
// command: 'delete-entity',
|
|
1275
|
-
// priority: 'primary',
|
|
1276
|
-
// type: 'delete',
|
|
1277
|
-
// scope: AXPEntityCommandScope.Selected,
|
|
1278
|
-
// },
|
|
1279
|
-
{
|
|
1280
|
-
title: `t("detail", {scope: "common"})`,
|
|
1281
|
-
command: { name: 'open-entity', options: { test: 'test' } },
|
|
1282
|
-
priority: 'secondary',
|
|
1283
|
-
type: 'view',
|
|
1284
|
-
scope: AXPEntityCommandScope.Individual,
|
|
1285
|
-
},
|
|
1286
|
-
// {
|
|
1287
|
-
// title: `t("delete", {scope: "common"})`,
|
|
1288
|
-
// command: 'delete-entity',
|
|
1289
|
-
// priority: 'secondary',
|
|
1290
|
-
// type: 'delete',
|
|
1291
|
-
// scope: AXPEntityCommandScope.Individual,
|
|
1292
|
-
// },
|
|
1293
|
-
],
|
|
1104
|
+
actions: [...entityMasterCrudActions()],
|
|
1294
1105
|
views: [
|
|
1295
|
-
{
|
|
1296
|
-
name: '
|
|
1297
|
-
|
|
1298
|
-
fixed: true,
|
|
1299
|
-
columns: [],
|
|
1300
|
-
conditions: [],
|
|
1301
|
-
sorts: [],
|
|
1302
|
-
},
|
|
1106
|
+
createAllQueryView({
|
|
1107
|
+
sorts: [{ name: 'displayName', dir: 'asc' }],
|
|
1108
|
+
}),
|
|
1303
1109
|
],
|
|
1304
1110
|
},
|
|
1305
1111
|
},
|
|
1306
1112
|
},
|
|
1307
1113
|
};
|
|
1308
|
-
const x = entityDef.properties.find((x) => x.name === 'roles')?.schema.interface?.options;
|
|
1309
1114
|
return entityDef;
|
|
1310
1115
|
}
|
|
1311
1116
|
|
|
@@ -1587,6 +1392,7 @@ async function factory(injector) {
|
|
|
1587
1392
|
name: RootConfig.entities.roles.name,
|
|
1588
1393
|
source: '',
|
|
1589
1394
|
title: RootConfig.entities.roles.title,
|
|
1395
|
+
icon: 'fa-light fa-key',
|
|
1590
1396
|
formats: {
|
|
1591
1397
|
individual: `t("role", { scope: "${i18n}" })`,
|
|
1592
1398
|
plural: `t("roles", { scope: "${i18n}" })`,
|
|
@@ -2137,11 +1943,12 @@ class AXMUserAvatarProvider {
|
|
|
2137
1943
|
if (!user) {
|
|
2138
1944
|
throw new Error(`User not found for ${userId}`);
|
|
2139
1945
|
}
|
|
1946
|
+
const [firstName, lastName] = user.displayName.split(' ');
|
|
2140
1947
|
return {
|
|
2141
1948
|
id: user.id,
|
|
2142
1949
|
username: user.username,
|
|
2143
|
-
firstName:
|
|
2144
|
-
lastName:
|
|
1950
|
+
firstName: firstName,
|
|
1951
|
+
lastName: lastName,
|
|
2145
1952
|
status: 'online',
|
|
2146
1953
|
avatarUrl: 'https://via.placeholder.com/150',
|
|
2147
1954
|
};
|
|
@@ -2309,7 +2116,7 @@ class AXMUsersDataSourceDefinition {
|
|
|
2309
2116
|
return {
|
|
2310
2117
|
items: res.items.map((item) => ({
|
|
2311
2118
|
...item,
|
|
2312
|
-
displayName:
|
|
2119
|
+
displayName: item.displayName,
|
|
2313
2120
|
})),
|
|
2314
2121
|
total: res.total,
|
|
2315
2122
|
};
|