@acorex/modules 19.1.15 → 19.2.0
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/application-management/lib/menu.provider.d.ts +0 -1
- package/auth/lib/pages/account/avatar/avatar.component.d.ts +20 -0
- package/auth/lib/pages/account/profile/profile-slot.component.d.ts +2 -9
- package/auth/lib/pages/account/user-profile-card/user-profile-card.component.d.ts +26 -0
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DjX4Ixc9.mjs → acorex-modules-application-management-module-designer.component-uLfQYtpy.mjs} +3 -3
- package/fesm2022/{acorex-modules-application-management-module-designer.component-DjX4Ixc9.mjs.map → acorex-modules-application-management-module-designer.component-uLfQYtpy.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +14 -21
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BukQhL3i.mjs → acorex-modules-auth-acorex-modules-auth-C-qPiQhk.mjs} +164 -36
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-C-qPiQhk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Co9UVNs7.mjs → acorex-modules-auth-app-chooser.component-j3JgxtBC.mjs} +6 -6
- package/fesm2022/acorex-modules-auth-app-chooser.component-j3JgxtBC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-DF8O2Xsc.mjs → acorex-modules-auth-login.module-nqFBpUaE.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DF8O2Xsc.mjs.map → acorex-modules-auth-login.module-nqFBpUaE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-C9eKuJgU.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-C9eKuJgU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-4qadgU3K.mjs → acorex-modules-auth-password.component-3t_WqB4c.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-4qadgU3K.mjs.map → acorex-modules-auth-password.component-3t_WqB4c.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C7dIOlgw.mjs → acorex-modules-auth-password.component-DZ6TiNI-.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-C7dIOlgw.mjs.map → acorex-modules-auth-password.component-DZ6TiNI-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CGtWtEQI.mjs → acorex-modules-auth-routes-nnrAlvkD.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CGtWtEQI.mjs.map → acorex-modules-auth-routes-nnrAlvkD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs +83 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Cx3fK__H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-BEsTVMeC.mjs → acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-BEsTVMeC.mjs.map → acorex-modules-auth-two-factor-code.component-YhAHhKIr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-CqzFrEEK.mjs → acorex-modules-auth-two-factor.module-DWtEYnHW.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-CqzFrEEK.mjs.map → acorex-modules-auth-two-factor.module-DWtEYnHW.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +9 -9
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-DW0iMqAA.mjs +126 -0
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-DW0iMqAA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-C1xoo-tl.mjs → acorex-modules-form-template-management-template.entity-BpApQcvG.mjs} +18 -28
- package/fesm2022/acorex-modules-form-template-management-template.entity-BpApQcvG.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +6 -6
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +14 -14
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-managment-branch.entity-kuZxLStS.mjs +212 -0
- package/fesm2022/acorex-modules-organization-managment-branch.entity-kuZxLStS.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs +212 -0
- package/fesm2022/acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-division.entity-DHVnrP38.mjs +212 -0
- package/fesm2022/acorex-modules-organization-managment-division.entity-DHVnrP38.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-department.entity-BagrypDK.mjs → acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs} +89 -112
- package/fesm2022/acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-employment.entity-BYwBhrym.mjs → acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs} +23 -10
- package/fesm2022/acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-ubxepOmw.mjs +55 -0
- package/fesm2022/acorex-modules-organization-managment-org-chart.page-ubxepOmw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-managment-position.entity-CAQfoCEm.mjs → acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs} +10 -210
- package/fesm2022/acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-managment.mjs +268 -149
- package/fesm2022/acorex-modules-organization-managment.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +115 -60
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +2 -2
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +13 -19
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +7 -7
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/organization-managment/index.d.ts +1 -6
- package/organization-managment/lib/const.d.ts +25 -1
- package/organization-managment/lib/entities/{employment/employment.module.d.ts → branch/branch.module.d.ts} +4 -4
- package/organization-managment/lib/entities/branch/branch.service.d.ts +10 -0
- package/organization-managment/lib/entities/branch/branch.types.d.ts +4 -0
- package/organization-managment/lib/entities/branch/index.d.ts +3 -0
- package/organization-managment/lib/entities/chart/chart.types.d.ts +12 -2
- package/organization-managment/lib/entities/chart/index.d.ts +3 -0
- package/organization-managment/lib/entities/company/index.d.ts +3 -0
- package/organization-managment/lib/entities/department/department.types.d.ts +0 -6
- package/organization-managment/lib/entities/department/index.d.ts +3 -0
- package/organization-managment/lib/entities/division/division.entity.d.ts +3 -0
- package/organization-managment/lib/entities/division/division.module.d.ts +6 -0
- package/organization-managment/lib/entities/division/division.service.d.ts +10 -0
- package/organization-managment/lib/entities/division/division.types.d.ts +4 -0
- package/organization-managment/lib/entities/division/index.d.ts +3 -0
- package/organization-managment/lib/entities/employee/employee.entity.d.ts +3 -0
- package/organization-managment/lib/entities/employee/employee.module.d.ts +6 -0
- package/organization-managment/lib/entities/employee/employee.service.d.ts +10 -0
- package/organization-managment/lib/entities/employee/employee.types.d.ts +7 -0
- package/organization-managment/lib/entities/employee/index.d.ts +3 -0
- package/organization-managment/lib/entities/employment-type/employment-type.entity.d.ts +3 -0
- package/organization-managment/lib/entities/employment-type/employment-type.module.d.ts +6 -0
- package/organization-managment/lib/entities/employment-type/employment-type.service.d.ts +10 -0
- package/organization-managment/lib/entities/employment-type/employment-type.types.d.ts +4 -0
- package/organization-managment/lib/entities/employment-type/index.d.ts +3 -0
- package/organization-managment/lib/entities/index.d.ts +8 -5
- package/organization-managment/lib/entities/position/index.d.ts +3 -0
- package/organization-managment/lib/entities/position/position.types.d.ts +0 -8
- package/organization-managment/lib/menu.provider.d.ts +1 -0
- package/organization-managment/lib/organization-managment.module.d.ts +7 -5
- package/organization-managment/lib/pages/org-chart/org-chart.page.d.ts +8 -0
- package/package.json +8 -8
- package/platform-management/lib/entities/app-version/check-version.d.ts +11 -0
- package/platform-management/lib/entities/app-version/workflow/test/test.component.d.ts +13 -4
- package/platform-management/lib/platform-management.module.d.ts +5 -0
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BukQhL3i.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-Co9UVNs7.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-master.layout-Bql93CSW.mjs +0 -23
- package/fesm2022/acorex-modules-auth-master.layout-Bql93CSW.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CFT3i6iA.mjs +0 -83
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-CFT3i6iA.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-vh_xdN7Z.mjs +0 -126
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-vh_xdN7Z.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template.entity-C1xoo-tl.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs +0 -305
- package/fesm2022/acorex-modules-organization-managment-chart-design.page-eE-nOaMw.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-department.entity-BagrypDK.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-employment.entity-BYwBhrym.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-managment-position.entity-CAQfoCEm.mjs.map +0 -1
- package/organization-managment/lib/entities/employment/employment.service.d.ts +0 -10
- package/organization-managment/lib/entities/employment/employment.types.d.ts +0 -4
- package/organization-managment/lib/pages/chart-design/add-item/add-item.component.d.ts +0 -14
- package/organization-managment/lib/pages/chart-design/chart-design.page.d.ts +0 -26
- package/organization-managment/lib/pages/chart-design/chart-design.service.d.ts +0 -23
- package/organization-managment/lib/pages/chart-design/chart.type.d.ts +0 -9
- package/organization-managment/lib/workflows/chart.workflow.d.ts +0 -12
- /package/organization-managment/lib/entities/{employment/employment.entity.d.ts → branch/branch.entity.d.ts} +0 -0
@@ -1,89 +1,99 @@
|
|
1
|
+
import { AXMEntityCrudServiceImpl, AXP_SETTING_DEFINITION_PROVIDER, AXP_MENU_PROVIDER } from '@acorex/platform/common';
|
1
2
|
import * as i0 from '@angular/core';
|
2
3
|
import { Injectable, NgModule, inject, Injector } from '@angular/core';
|
3
|
-
import {
|
4
|
-
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
|
-
import { AXPRootLayoutComponent } from '@acorex/platform/themes/default';
|
6
|
-
import * as i1 from '@acorex/platform/workflow';
|
7
|
-
import { AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
4
|
+
import { AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
8
5
|
import { CommonModule } from '@angular/common';
|
9
|
-
import {
|
6
|
+
import { ROUTES } from '@angular/router';
|
10
7
|
import { AXPSessionService } from '@acorex/platform/auth';
|
11
8
|
|
12
|
-
/*export const AXMOrganizationManagementModuleConst = {
|
13
|
-
moduleName: 'OrganizationManagement',
|
14
|
-
moduleRoute: 'organization-management',
|
15
|
-
i18n: 'organization-management',
|
16
|
-
companyEntity: 'pCompanies',
|
17
|
-
departmentEntity: 'pDepartments',
|
18
|
-
employmentEntity: 'pEmployments',
|
19
|
-
positionEntity: 'pPositions',
|
20
|
-
chartEntity: 'pCharts',
|
21
|
-
title: 'Title',
|
22
|
-
};*/
|
23
9
|
const config = {
|
24
10
|
i18n: 'organization-management',
|
11
|
+
module: 'OrganizationManagement',
|
25
12
|
};
|
26
13
|
const RootConfig = {
|
27
14
|
config,
|
28
15
|
module: {
|
29
16
|
route: 'organization-management',
|
30
|
-
name:
|
17
|
+
name: config.module,
|
31
18
|
title: `t('module-name', {scope:"${config.i18n}"})`,
|
32
|
-
icon: 'fa-
|
19
|
+
icon: 'fa-light fa-sitemap',
|
33
20
|
},
|
34
21
|
entities: {
|
35
22
|
company: {
|
36
23
|
name: 'Company',
|
24
|
+
source: `${config.module}.Company`,
|
37
25
|
title: `t("company", {scope:"${config.i18n}"})`,
|
38
|
-
icon: 'fa-
|
26
|
+
icon: 'fa-light fa-building',
|
27
|
+
},
|
28
|
+
division: {
|
29
|
+
name: 'Division',
|
30
|
+
source: `${config.module}.Division`,
|
31
|
+
title: `t("division",{scope:"${config.i18n}"})`,
|
32
|
+
icon: 'fa-light fa-object-subtract',
|
39
33
|
},
|
40
34
|
department: {
|
41
35
|
name: 'Department',
|
36
|
+
source: `${config.module}.Department`,
|
42
37
|
title: `t("department",{scope:"${config.i18n}"})`,
|
43
|
-
icon: 'fa-
|
38
|
+
icon: 'fa-light fa-layer-group',
|
44
39
|
},
|
45
|
-
|
46
|
-
name: '
|
47
|
-
|
48
|
-
|
40
|
+
branch: {
|
41
|
+
name: 'Branch',
|
42
|
+
source: `${config.module}.Branch`,
|
43
|
+
title: `t("branch",{scope:"${config.i18n}"})`,
|
44
|
+
icon: 'fa-light fa-network-wired',
|
49
45
|
},
|
50
46
|
position: {
|
51
47
|
name: 'Position',
|
48
|
+
source: `${config.module}.Position`,
|
52
49
|
title: `t("position",{scope:"${config.i18n}"})`,
|
53
|
-
icon: 'fa-
|
50
|
+
icon: 'fa-light fa-user-tag',
|
51
|
+
},
|
52
|
+
employee: {
|
53
|
+
name: 'Employee',
|
54
|
+
source: `${config.module}.Employee`,
|
55
|
+
title: `t("employee",{scope:"${config.i18n}"})`,
|
56
|
+
icon: 'fa-light fa-address-card',
|
57
|
+
},
|
58
|
+
employmentType: {
|
59
|
+
name: 'EmploymentType',
|
60
|
+
source: `${config.module}.EmploymentType`,
|
61
|
+
title: `t("employment-type",{scope:"${config.i18n}"})`,
|
62
|
+
icon: 'fa-light fa-file-signature',
|
54
63
|
},
|
55
64
|
chart: {
|
56
65
|
name: 'Chart',
|
66
|
+
source: `${config.module}.Chart`,
|
57
67
|
title: `t("chart",{scope:"${config.i18n}"})`,
|
58
|
-
icon: 'fa-
|
68
|
+
icon: 'fa-light fa-chart-diagram',
|
59
69
|
},
|
60
70
|
},
|
61
71
|
};
|
62
72
|
|
63
|
-
class
|
73
|
+
class AXMOrganizationManagementCompanyEntityService extends AXMEntityCrudServiceImpl {
|
64
74
|
}
|
65
|
-
class
|
75
|
+
class AXMOrganizationManagementCompanyEntityServiceImpl extends AXMOrganizationManagementCompanyEntityService {
|
66
76
|
constructor() {
|
67
|
-
super(
|
77
|
+
super(RootConfig.entities.company.source);
|
68
78
|
}
|
69
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
70
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
80
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityServiceImpl }); }
|
71
81
|
}
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityServiceImpl, decorators: [{
|
73
83
|
type: Injectable
|
74
84
|
}], ctorParameters: () => [] });
|
75
85
|
|
76
|
-
class
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
78
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type:
|
79
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
86
|
+
class AXMOrganizationManagementCompanyEntityModule {
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
88
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityModule }); }
|
89
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityModule, providers: [
|
80
90
|
{
|
81
|
-
provide:
|
82
|
-
useClass:
|
91
|
+
provide: AXMOrganizationManagementCompanyEntityService,
|
92
|
+
useClass: AXMOrganizationManagementCompanyEntityServiceImpl,
|
83
93
|
},
|
84
94
|
] }); }
|
85
95
|
}
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementCompanyEntityModule, decorators: [{
|
87
97
|
type: NgModule,
|
88
98
|
args: [{
|
89
99
|
imports: [],
|
@@ -91,37 +101,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
91
101
|
declarations: [],
|
92
102
|
providers: [
|
93
103
|
{
|
94
|
-
provide:
|
95
|
-
useClass:
|
104
|
+
provide: AXMOrganizationManagementCompanyEntityService,
|
105
|
+
useClass: AXMOrganizationManagementCompanyEntityServiceImpl,
|
96
106
|
},
|
97
107
|
],
|
98
108
|
}]
|
99
109
|
}] });
|
100
110
|
|
101
|
-
class
|
111
|
+
class AXMOrganizationManagementDivisionEntityService extends AXMEntityCrudServiceImpl {
|
102
112
|
}
|
103
|
-
class
|
113
|
+
class AXMOrganizationManagementDivisionEntityServiceImpl extends AXMOrganizationManagementDivisionEntityService {
|
104
114
|
constructor() {
|
105
|
-
super(
|
115
|
+
super(RootConfig.entities.division.source);
|
106
116
|
}
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
108
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
118
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityServiceImpl }); }
|
109
119
|
}
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityServiceImpl, decorators: [{
|
111
121
|
type: Injectable
|
112
122
|
}], ctorParameters: () => [] });
|
113
123
|
|
114
|
-
class
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
116
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type:
|
117
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
124
|
+
class AXMOrganizationManagementDivisionEntityModule {
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
126
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityModule }); }
|
127
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityModule, providers: [
|
118
128
|
{
|
119
|
-
provide:
|
120
|
-
useClass:
|
129
|
+
provide: AXMOrganizationManagementDivisionEntityService,
|
130
|
+
useClass: AXMOrganizationManagementDivisionEntityServiceImpl,
|
121
131
|
},
|
122
132
|
] }); }
|
123
133
|
}
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDivisionEntityModule, decorators: [{
|
125
135
|
type: NgModule,
|
126
136
|
args: [{
|
127
137
|
imports: [],
|
@@ -129,8 +139,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
129
139
|
declarations: [],
|
130
140
|
providers: [
|
131
141
|
{
|
132
|
-
provide:
|
133
|
-
useClass:
|
142
|
+
provide: AXMOrganizationManagementDivisionEntityService,
|
143
|
+
useClass: AXMOrganizationManagementDivisionEntityServiceImpl,
|
134
144
|
},
|
135
145
|
],
|
136
146
|
}]
|
@@ -140,7 +150,7 @@ class AXMOrganizationManagementDepartmentEntityService extends AXMEntityCrudServ
|
|
140
150
|
}
|
141
151
|
class AXMOrganizationManagementDepartmentEntityServiceImpl extends AXMOrganizationManagementDepartmentEntityService {
|
142
152
|
constructor() {
|
143
|
-
super(
|
153
|
+
super(RootConfig.entities.department.source);
|
144
154
|
}
|
145
155
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDepartmentEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
146
156
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementDepartmentEntityServiceImpl }); }
|
@@ -174,30 +184,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
174
184
|
}]
|
175
185
|
}] });
|
176
186
|
|
177
|
-
class
|
187
|
+
class AXMOrganizationManagementBranchEntityService extends AXMEntityCrudServiceImpl {
|
178
188
|
}
|
179
|
-
class
|
189
|
+
class AXMOrganizationManagementBranchEntityServiceImpl extends AXMOrganizationManagementBranchEntityService {
|
180
190
|
constructor() {
|
181
|
-
super(
|
191
|
+
super(RootConfig.entities.branch.source);
|
182
192
|
}
|
183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
184
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
194
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityServiceImpl }); }
|
185
195
|
}
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityServiceImpl, decorators: [{
|
187
197
|
type: Injectable
|
188
198
|
}], ctorParameters: () => [] });
|
189
199
|
|
190
|
-
class
|
191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
192
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type:
|
193
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
200
|
+
class AXMOrganizationManagementBranchEntityModule {
|
201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
202
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityModule }); }
|
203
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityModule, providers: [
|
194
204
|
{
|
195
|
-
provide:
|
196
|
-
useClass:
|
205
|
+
provide: AXMOrganizationManagementBranchEntityService,
|
206
|
+
useClass: AXMOrganizationManagementBranchEntityServiceImpl,
|
197
207
|
},
|
198
208
|
] }); }
|
199
209
|
}
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementBranchEntityModule, decorators: [{
|
201
211
|
type: NgModule,
|
202
212
|
args: [{
|
203
213
|
imports: [],
|
@@ -205,8 +215,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
205
215
|
declarations: [],
|
206
216
|
providers: [
|
207
217
|
{
|
208
|
-
provide:
|
209
|
-
useClass:
|
218
|
+
provide: AXMOrganizationManagementBranchEntityService,
|
219
|
+
useClass: AXMOrganizationManagementBranchEntityServiceImpl,
|
210
220
|
},
|
211
221
|
],
|
212
222
|
}]
|
@@ -216,7 +226,7 @@ class AXMOrganizationManagementPositionEntityService extends AXMEntityCrudServic
|
|
216
226
|
}
|
217
227
|
class AXMOrganizationManagementPositionEntityServiceImpl extends AXMOrganizationManagementPositionEntityService {
|
218
228
|
constructor() {
|
219
|
-
super(
|
229
|
+
super(RootConfig.entities.position.source);
|
220
230
|
}
|
221
231
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementPositionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
222
232
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementPositionEntityServiceImpl }); }
|
@@ -250,6 +260,120 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
250
260
|
}]
|
251
261
|
}] });
|
252
262
|
|
263
|
+
class AXMOrganizationManagementEmployeeEntityService extends AXMEntityCrudServiceImpl {
|
264
|
+
}
|
265
|
+
class AXMOrganizationManagementEmployeeEntityServiceImpl extends AXMOrganizationManagementEmployeeEntityService {
|
266
|
+
constructor() {
|
267
|
+
super(RootConfig.entities.employee.source);
|
268
|
+
}
|
269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
270
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityServiceImpl }); }
|
271
|
+
}
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityServiceImpl, decorators: [{
|
273
|
+
type: Injectable
|
274
|
+
}], ctorParameters: () => [] });
|
275
|
+
|
276
|
+
class AXMOrganizationManagementEmployeeEntityModule {
|
277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
278
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityModule }); }
|
279
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityModule, providers: [
|
280
|
+
{
|
281
|
+
provide: AXMOrganizationManagementEmployeeEntityService,
|
282
|
+
useClass: AXMOrganizationManagementEmployeeEntityServiceImpl,
|
283
|
+
},
|
284
|
+
] }); }
|
285
|
+
}
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmployeeEntityModule, decorators: [{
|
287
|
+
type: NgModule,
|
288
|
+
args: [{
|
289
|
+
imports: [],
|
290
|
+
exports: [],
|
291
|
+
declarations: [],
|
292
|
+
providers: [
|
293
|
+
{
|
294
|
+
provide: AXMOrganizationManagementEmployeeEntityService,
|
295
|
+
useClass: AXMOrganizationManagementEmployeeEntityServiceImpl,
|
296
|
+
},
|
297
|
+
],
|
298
|
+
}]
|
299
|
+
}] });
|
300
|
+
|
301
|
+
class AXMOrganizationManagementEmploymentTypeEntityService extends AXMEntityCrudServiceImpl {
|
302
|
+
}
|
303
|
+
class AXMOrganizationManagementEmploymentTypeEntityServiceImpl extends AXMOrganizationManagementEmploymentTypeEntityService {
|
304
|
+
constructor() {
|
305
|
+
super(RootConfig.entities.employmentType.source);
|
306
|
+
}
|
307
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
308
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityServiceImpl }); }
|
309
|
+
}
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityServiceImpl, decorators: [{
|
311
|
+
type: Injectable
|
312
|
+
}], ctorParameters: () => [] });
|
313
|
+
|
314
|
+
class AXMOrganizationManagementEmploymentTypeEntityModule {
|
315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
316
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityModule }); }
|
317
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityModule, providers: [
|
318
|
+
{
|
319
|
+
provide: AXMOrganizationManagementEmploymentTypeEntityService,
|
320
|
+
useClass: AXMOrganizationManagementEmploymentTypeEntityServiceImpl,
|
321
|
+
},
|
322
|
+
] }); }
|
323
|
+
}
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementEmploymentTypeEntityModule, decorators: [{
|
325
|
+
type: NgModule,
|
326
|
+
args: [{
|
327
|
+
imports: [],
|
328
|
+
exports: [],
|
329
|
+
declarations: [],
|
330
|
+
providers: [
|
331
|
+
{
|
332
|
+
provide: AXMOrganizationManagementEmploymentTypeEntityService,
|
333
|
+
useClass: AXMOrganizationManagementEmploymentTypeEntityServiceImpl,
|
334
|
+
},
|
335
|
+
],
|
336
|
+
}]
|
337
|
+
}] });
|
338
|
+
|
339
|
+
class AXMOrganizationManagementChartEntityService extends AXMEntityCrudServiceImpl {
|
340
|
+
}
|
341
|
+
class AXMOrganizationManagementChartEntityServiceImpl extends AXMOrganizationManagementChartEntityService {
|
342
|
+
constructor() {
|
343
|
+
super(RootConfig.entities.chart.source);
|
344
|
+
}
|
345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
346
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl }); }
|
347
|
+
}
|
348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityServiceImpl, decorators: [{
|
349
|
+
type: Injectable
|
350
|
+
}], ctorParameters: () => [] });
|
351
|
+
|
352
|
+
class AXMOrganizationManagementChartEntityModule {
|
353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
354
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityModule }); }
|
355
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, providers: [
|
356
|
+
{
|
357
|
+
provide: AXMOrganizationManagementChartEntityService,
|
358
|
+
useClass: AXMOrganizationManagementChartEntityServiceImpl,
|
359
|
+
},
|
360
|
+
] }); }
|
361
|
+
}
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagementChartEntityModule, decorators: [{
|
363
|
+
type: NgModule,
|
364
|
+
args: [{
|
365
|
+
imports: [],
|
366
|
+
exports: [],
|
367
|
+
declarations: [],
|
368
|
+
providers: [
|
369
|
+
{
|
370
|
+
provide: AXMOrganizationManagementChartEntityService,
|
371
|
+
useClass: AXMOrganizationManagementChartEntityServiceImpl,
|
372
|
+
},
|
373
|
+
],
|
374
|
+
}]
|
375
|
+
}] });
|
376
|
+
|
253
377
|
class AXMOrganizationModuleEntityProvider {
|
254
378
|
constructor() {
|
255
379
|
this.injector = inject(Injector);
|
@@ -266,12 +390,18 @@ class AXMOrganizationModuleEntityProvider {
|
|
266
390
|
switch (entityName) {
|
267
391
|
case RootConfig.entities.company.name:
|
268
392
|
return (await import('./acorex-modules-organization-managment-company.entity-DJt8tCqO.mjs')).factory(this.injector);
|
393
|
+
case RootConfig.entities.division.name:
|
394
|
+
return (await import('./acorex-modules-organization-managment-division.entity-DHVnrP38.mjs')).factory(this.injector);
|
269
395
|
case RootConfig.entities.department.name:
|
270
|
-
return (await import('./acorex-modules-organization-managment-department.entity-
|
271
|
-
case RootConfig.entities.
|
272
|
-
return (await import('./acorex-modules-organization-managment-
|
396
|
+
return (await import('./acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs')).factory(this.injector);
|
397
|
+
case RootConfig.entities.branch.name:
|
398
|
+
return (await import('./acorex-modules-organization-managment-branch.entity-kuZxLStS.mjs')).factory(this.injector);
|
399
|
+
case RootConfig.entities.employee.name:
|
400
|
+
return (await import('./acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs')).factory(this.injector);
|
401
|
+
case RootConfig.entities.employmentType.name:
|
402
|
+
return (await import('./acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs')).factory(this.injector);
|
273
403
|
case RootConfig.entities.position.name:
|
274
|
-
return (await import('./acorex-modules-organization-managment-position.entity-
|
404
|
+
return (await import('./acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs')).factory(this.injector);
|
275
405
|
case RootConfig.entities.chart.name:
|
276
406
|
return (await import('./acorex-modules-organization-managment-chart.entity-BqUE8fbV.mjs')).factory(this.injector);
|
277
407
|
}
|
@@ -288,6 +418,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
288
418
|
class AXMMenuProvider {
|
289
419
|
constructor() {
|
290
420
|
this.entityService = inject(AXPEntityService);
|
421
|
+
this.sessionService = inject(AXPSessionService);
|
291
422
|
}
|
292
423
|
async provide(context) {
|
293
424
|
const scope = RootConfig.config.i18n;
|
@@ -295,88 +426,83 @@ class AXMMenuProvider {
|
|
295
426
|
context.addItems([
|
296
427
|
{
|
297
428
|
priority: 9001,
|
298
|
-
text: `t('
|
299
|
-
icon: 'fa-
|
429
|
+
text: `t('root-menu', {scope: "${scope}"})`,
|
430
|
+
icon: 'fa-light fa-file-invoice',
|
300
431
|
children: [
|
432
|
+
{
|
433
|
+
text: `Structure`,
|
434
|
+
type: 'group',
|
435
|
+
priority: 10,
|
436
|
+
},
|
301
437
|
{
|
302
438
|
text: `t("companies", {scope:"${scope}"})`,
|
303
439
|
path: this.entityService.createPath(module.name, RootConfig.entities.company.name),
|
304
|
-
priority:
|
440
|
+
priority: 11,
|
305
441
|
icon: RootConfig.entities.company.icon,
|
306
442
|
},
|
443
|
+
{
|
444
|
+
text: `t('divisions', {scope:"${scope}"})`,
|
445
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.division.name),
|
446
|
+
priority: 12,
|
447
|
+
icon: RootConfig.entities.division.icon,
|
448
|
+
},
|
307
449
|
{
|
308
450
|
text: `t('departments', {scope:"${scope}"})`,
|
309
451
|
path: this.entityService.createPath(module.name, RootConfig.entities.department.name),
|
310
|
-
priority:
|
452
|
+
priority: 13,
|
311
453
|
icon: RootConfig.entities.department.icon,
|
312
454
|
},
|
313
455
|
{
|
314
|
-
text: `t('
|
315
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.
|
316
|
-
priority:
|
317
|
-
icon: RootConfig.entities.
|
456
|
+
text: `t('branches', {scope:"${scope}"})`,
|
457
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.branch.name),
|
458
|
+
priority: 14,
|
459
|
+
icon: RootConfig.entities.branch.icon,
|
318
460
|
},
|
319
461
|
{
|
320
462
|
text: `t('positions', {scope:"${scope}"})`,
|
321
463
|
path: this.entityService.createPath(module.name, RootConfig.entities.position.name),
|
322
|
-
priority:
|
464
|
+
priority: 15,
|
323
465
|
icon: RootConfig.entities.position.icon,
|
324
466
|
},
|
325
467
|
{
|
326
|
-
text: `t('
|
327
|
-
path: this.
|
328
|
-
priority:
|
468
|
+
text: `t('org-chart', {scope:"${scope}"})`,
|
469
|
+
path: `${this.sessionService.application?.name}/organization/chart`,
|
470
|
+
priority: 16,
|
329
471
|
icon: RootConfig.entities.chart.icon,
|
330
472
|
},
|
473
|
+
{
|
474
|
+
text: `Employment`,
|
475
|
+
type: 'group',
|
476
|
+
priority: 20,
|
477
|
+
},
|
478
|
+
{
|
479
|
+
text: `t('employment-types', {scope:"${scope}"})`,
|
480
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.employmentType.name),
|
481
|
+
priority: 21,
|
482
|
+
icon: RootConfig.entities.employmentType.icon,
|
483
|
+
},
|
484
|
+
{
|
485
|
+
text: `t('employees', {scope:"${scope}"})`,
|
486
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.employee.name),
|
487
|
+
priority: 22,
|
488
|
+
icon: RootConfig.entities.employee.icon,
|
489
|
+
},
|
331
490
|
],
|
332
491
|
},
|
333
492
|
]);
|
334
493
|
}
|
335
494
|
}
|
336
495
|
|
337
|
-
const AXMViewChartWorkflow = {
|
338
|
-
startStepId: 'view-chart',
|
339
|
-
steps: {
|
340
|
-
'view-chart': {
|
341
|
-
action: 'navigate-url',
|
342
|
-
input: {
|
343
|
-
url: 'chart/designer',
|
344
|
-
data: '{{context.getVariable("data")}}',
|
345
|
-
},
|
346
|
-
},
|
347
|
-
},
|
348
|
-
};
|
349
|
-
class AXMOpenChartViewAction extends AXPWorkflowAction {
|
350
|
-
constructor() {
|
351
|
-
super(...arguments);
|
352
|
-
this.router = inject(Router);
|
353
|
-
this.navigation = inject(AXPWorkflowNavigateAction);
|
354
|
-
}
|
355
|
-
async execute(context) {
|
356
|
-
const { id } = context.getVariable('data');
|
357
|
-
const newPayload = {
|
358
|
-
commands: `chart/designer`,
|
359
|
-
extras: { state: { id: id } },
|
360
|
-
};
|
361
|
-
context.setVariable('payload', newPayload);
|
362
|
-
this.navigation.execute(context);
|
363
|
-
}
|
364
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenChartViewAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
365
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenChartViewAction }); }
|
366
|
-
}
|
367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOpenChartViewAction, decorators: [{
|
368
|
-
type: Injectable
|
369
|
-
}] });
|
370
|
-
|
371
496
|
function routesFacory() {
|
497
|
+
const config = inject(AXP_ENTITY_CONFIG_TOKEN);
|
372
498
|
const routes = [
|
373
499
|
{
|
374
|
-
component:
|
375
|
-
path: '
|
500
|
+
component: config.viewers.root(),
|
501
|
+
path: ':app/organization',
|
376
502
|
children: [
|
377
503
|
{
|
378
|
-
path: '
|
379
|
-
loadComponent: () => import('./acorex-modules-organization-managment-chart
|
504
|
+
path: 'chart',
|
505
|
+
loadComponent: () => import('./acorex-modules-organization-managment-org-chart.page-ubxepOmw.mjs').then((c) => c.AXMOrgChartPage),
|
380
506
|
},
|
381
507
|
],
|
382
508
|
},
|
@@ -388,9 +514,12 @@ class AXMOrganizationManagmentModule {
|
|
388
514
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagmentModule, imports: [CommonModule,
|
389
515
|
AXMOrganizationManagementCompanyEntityModule,
|
390
516
|
AXMOrganizationManagementDepartmentEntityModule,
|
391
|
-
|
517
|
+
AXMOrganizationManagementDivisionEntityModule,
|
518
|
+
AXMOrganizationManagementBranchEntityModule,
|
519
|
+
AXMOrganizationManagementEmployeeEntityModule,
|
392
520
|
AXMOrganizationManagementPositionEntityModule,
|
393
|
-
AXMOrganizationManagementChartEntityModule,
|
521
|
+
AXMOrganizationManagementChartEntityModule,
|
522
|
+
AXMOrganizationManagementEmploymentTypeEntityModule] }); }
|
394
523
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagmentModule, providers: [
|
395
524
|
{
|
396
525
|
provide: AXP_ENTITY_DEFINITION_LOADER,
|
@@ -419,17 +548,12 @@ class AXMOrganizationManagmentModule {
|
|
419
548
|
], imports: [CommonModule,
|
420
549
|
AXMOrganizationManagementCompanyEntityModule,
|
421
550
|
AXMOrganizationManagementDepartmentEntityModule,
|
422
|
-
|
551
|
+
AXMOrganizationManagementDivisionEntityModule,
|
552
|
+
AXMOrganizationManagementBranchEntityModule,
|
553
|
+
AXMOrganizationManagementEmployeeEntityModule,
|
423
554
|
AXMOrganizationManagementPositionEntityModule,
|
424
555
|
AXMOrganizationManagementChartEntityModule,
|
425
|
-
|
426
|
-
actions: {
|
427
|
-
'navigate-url': AXMOpenChartViewAction,
|
428
|
-
},
|
429
|
-
workflows: {
|
430
|
-
'view-chart': AXMViewChartWorkflow,
|
431
|
-
},
|
432
|
-
})] }); }
|
556
|
+
AXMOrganizationManagementEmploymentTypeEntityModule] }); }
|
433
557
|
}
|
434
558
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrganizationManagmentModule, decorators: [{
|
435
559
|
type: NgModule,
|
@@ -438,17 +562,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
438
562
|
CommonModule,
|
439
563
|
AXMOrganizationManagementCompanyEntityModule,
|
440
564
|
AXMOrganizationManagementDepartmentEntityModule,
|
441
|
-
|
565
|
+
AXMOrganizationManagementDivisionEntityModule,
|
566
|
+
AXMOrganizationManagementBranchEntityModule,
|
567
|
+
AXMOrganizationManagementEmployeeEntityModule,
|
442
568
|
AXMOrganizationManagementPositionEntityModule,
|
443
569
|
AXMOrganizationManagementChartEntityModule,
|
444
|
-
|
445
|
-
actions: {
|
446
|
-
'navigate-url': AXMOpenChartViewAction,
|
447
|
-
},
|
448
|
-
workflows: {
|
449
|
-
'view-chart': AXMViewChartWorkflow,
|
450
|
-
},
|
451
|
-
}),
|
570
|
+
AXMOrganizationManagementEmploymentTypeEntityModule
|
452
571
|
],
|
453
572
|
providers: [
|
454
573
|
{
|
@@ -483,5 +602,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
483
602
|
* Generated bundle index. Do not edit.
|
484
603
|
*/
|
485
604
|
|
486
|
-
export { AXMOrganizationManagementChartEntityModule, AXMOrganizationManagementChartEntityService, AXMOrganizationManagementChartEntityServiceImpl, AXMOrganizationManagementCompanyEntityModule, AXMOrganizationManagementCompanyEntityService, AXMOrganizationManagementCompanyEntityServiceImpl, AXMOrganizationManagementDepartmentEntityModule, AXMOrganizationManagementDepartmentEntityService, AXMOrganizationManagementDepartmentEntityServiceImpl,
|
605
|
+
export { AXMOrganizationManagementBranchEntityModule, AXMOrganizationManagementBranchEntityService, AXMOrganizationManagementBranchEntityServiceImpl, AXMOrganizationManagementChartEntityModule, AXMOrganizationManagementChartEntityService, AXMOrganizationManagementChartEntityServiceImpl, AXMOrganizationManagementCompanyEntityModule, AXMOrganizationManagementCompanyEntityService, AXMOrganizationManagementCompanyEntityServiceImpl, AXMOrganizationManagementDepartmentEntityModule, AXMOrganizationManagementDepartmentEntityService, AXMOrganizationManagementDepartmentEntityServiceImpl, AXMOrganizationManagementDivisionEntityModule, AXMOrganizationManagementDivisionEntityService, AXMOrganizationManagementDivisionEntityServiceImpl, AXMOrganizationManagementEmployeeEntityModule, AXMOrganizationManagementEmployeeEntityService, AXMOrganizationManagementEmployeeEntityServiceImpl, AXMOrganizationManagementEmploymentTypeEntityModule, AXMOrganizationManagementEmploymentTypeEntityService, AXMOrganizationManagementEmploymentTypeEntityServiceImpl, AXMOrganizationManagementPositionEntityModule, AXMOrganizationManagementPositionEntityService, AXMOrganizationManagementPositionEntityServiceImpl, AXMOrganizationManagmentModule, RootConfig };
|
487
606
|
//# sourceMappingURL=acorex-modules-organization-managment.mjs.map
|