@acorex/modules 19.1.14 → 19.1.16
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-DnTshxIU.mjs} +164 -36
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DnTshxIU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-Co9UVNs7.mjs → acorex-modules-auth-app-chooser.component-Dx-ehe1v.mjs} +6 -6
- package/fesm2022/acorex-modules-auth-app-chooser.component-Dx-ehe1v.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-DF8O2Xsc.mjs → acorex-modules-auth-login.module-DERpkzkP.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-DF8O2Xsc.mjs.map → acorex-modules-auth-login.module-DERpkzkP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-master.layout-CzDJVkRY.mjs +23 -0
- package/fesm2022/acorex-modules-auth-master.layout-CzDJVkRY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-4qadgU3K.mjs → acorex-modules-auth-password.component-B7P-Z5__.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-4qadgU3K.mjs.map → acorex-modules-auth-password.component-B7P-Z5__.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C7dIOlgw.mjs → acorex-modules-auth-password.component-BeuD87_s.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-C7dIOlgw.mjs.map → acorex-modules-auth-password.component-BeuD87_s.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-CGtWtEQI.mjs → acorex-modules-auth-routes-BtJMFRjd.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-CGtWtEQI.mjs.map → acorex-modules-auth-routes-BtJMFRjd.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-CC27kfrm.mjs} +3 -3
- package/fesm2022/{acorex-modules-auth-two-factor.module-CqzFrEEK.mjs.map → acorex-modules-auth-two-factor.module-CC27kfrm.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-6imtSXqS.mjs → acorex-modules-organization-managment-department.entity-C1PxLx6p.mjs} +16 -3
- 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-employee.entity-oo5Tyyp2.mjs +301 -0
- 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-CJNG3UPf.mjs → acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs} +15 -2
- 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 +8 -8
- 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/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/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 +5 -5
- 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-6imtSXqS.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-CJNG3UPf.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
@@ -0,0 +1,301 @@
|
|
1
|
+
import { AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
|
2
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
3
|
+
import { AXMOrganizationManagementEmployeeEntityService, RootConfig } from './acorex-modules-organization-managment.mjs';
|
4
|
+
|
5
|
+
async function factory(injector) {
|
6
|
+
const dataService = injector.get(AXMOrganizationManagementEmployeeEntityService);
|
7
|
+
const i18n = RootConfig.config.i18n;
|
8
|
+
const entityDef = {
|
9
|
+
module: RootConfig.module.name,
|
10
|
+
name: RootConfig.entities.employee.name,
|
11
|
+
source: 'employees',
|
12
|
+
title: `t("employee", { scope: "${i18n}" })`,
|
13
|
+
formats: {
|
14
|
+
individual: `t("employee", { scope: "${i18n}" })`,
|
15
|
+
plural: `t("employees", { scope: "${i18n}" })`,
|
16
|
+
searchResult: {
|
17
|
+
title: '{{ title }}',
|
18
|
+
description: RootConfig.module.title,
|
19
|
+
},
|
20
|
+
},
|
21
|
+
relatedEntities: [],
|
22
|
+
groups: [
|
23
|
+
{
|
24
|
+
id: 'personal',
|
25
|
+
title: `t("personalInformation", { scope: "${i18n}" })`,
|
26
|
+
},
|
27
|
+
{
|
28
|
+
id: 'job',
|
29
|
+
title: `t("jobInformation", { scope: "${i18n}" })`,
|
30
|
+
},
|
31
|
+
],
|
32
|
+
properties: [
|
33
|
+
{
|
34
|
+
name: 'firstname',
|
35
|
+
title: `t("firstname", { scope: "common" })`,
|
36
|
+
groupId: 'personal',
|
37
|
+
schema: {
|
38
|
+
dataType: 'string',
|
39
|
+
interface: {
|
40
|
+
type: AXPWidgetsCatalog.text,
|
41
|
+
},
|
42
|
+
},
|
43
|
+
validations: [
|
44
|
+
{
|
45
|
+
rule: 'required',
|
46
|
+
},
|
47
|
+
],
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name: 'lastname',
|
51
|
+
title: `t("lastname", { scope: "common" })`,
|
52
|
+
groupId: 'personal',
|
53
|
+
schema: {
|
54
|
+
dataType: 'string',
|
55
|
+
interface: {
|
56
|
+
type: AXPWidgetsCatalog.text,
|
57
|
+
},
|
58
|
+
},
|
59
|
+
validations: [
|
60
|
+
{
|
61
|
+
rule: 'required',
|
62
|
+
},
|
63
|
+
],
|
64
|
+
},
|
65
|
+
{
|
66
|
+
name: 'email',
|
67
|
+
title: `t("email", { scope: "common" })`,
|
68
|
+
groupId: 'personal',
|
69
|
+
schema: {
|
70
|
+
dataType: 'string',
|
71
|
+
interface: {
|
72
|
+
type: AXPWidgetsCatalog.contact,
|
73
|
+
options: {
|
74
|
+
type: 'email',
|
75
|
+
multiple: false,
|
76
|
+
hasLabel: false,
|
77
|
+
}
|
78
|
+
},
|
79
|
+
},
|
80
|
+
validations: [
|
81
|
+
{
|
82
|
+
rule: 'required',
|
83
|
+
},
|
84
|
+
{
|
85
|
+
rule: 'email',
|
86
|
+
},
|
87
|
+
],
|
88
|
+
},
|
89
|
+
{
|
90
|
+
name: 'position',
|
91
|
+
title: `t("position", { scope: "common" })`,
|
92
|
+
groupId: 'job',
|
93
|
+
schema: {
|
94
|
+
dataType: 'string',
|
95
|
+
interface: {
|
96
|
+
type: AXPWidgetsCatalog.select,
|
97
|
+
options: {
|
98
|
+
dataSource: 'positions',
|
99
|
+
displayField: 'name',
|
100
|
+
valueField: 'id',
|
101
|
+
},
|
102
|
+
},
|
103
|
+
},
|
104
|
+
validations: [
|
105
|
+
{
|
106
|
+
rule: 'required',
|
107
|
+
},
|
108
|
+
],
|
109
|
+
},
|
110
|
+
{
|
111
|
+
name: 'department',
|
112
|
+
title: `t("department", { scope: "common" })`,
|
113
|
+
groupId: 'job',
|
114
|
+
schema: {
|
115
|
+
dataType: 'string',
|
116
|
+
interface: {
|
117
|
+
type: AXPWidgetsCatalog.select,
|
118
|
+
options: {
|
119
|
+
dataSource: 'departments',
|
120
|
+
displayField: 'name',
|
121
|
+
valueField: 'id',
|
122
|
+
},
|
123
|
+
},
|
124
|
+
},
|
125
|
+
},
|
126
|
+
],
|
127
|
+
columns: [
|
128
|
+
{ name: 'firstname' },
|
129
|
+
{ name: 'lastname' },
|
130
|
+
{ name: 'email' },
|
131
|
+
{ name: 'position' },
|
132
|
+
{ name: 'department' },
|
133
|
+
],
|
134
|
+
commands: {
|
135
|
+
create: {
|
136
|
+
execute: async (data) => {
|
137
|
+
const res = await dataService.insertOne(data);
|
138
|
+
return { id: res };
|
139
|
+
},
|
140
|
+
},
|
141
|
+
delete: {
|
142
|
+
execute: async (id) => {
|
143
|
+
return await dataService.deleteOne(id);
|
144
|
+
},
|
145
|
+
},
|
146
|
+
update: {
|
147
|
+
execute: async (data) => {
|
148
|
+
return await dataService.updateOne(data.id, data);
|
149
|
+
},
|
150
|
+
},
|
151
|
+
},
|
152
|
+
queries: {
|
153
|
+
byKey: {
|
154
|
+
execute: async (id) => {
|
155
|
+
return await dataService.getOne(id);
|
156
|
+
},
|
157
|
+
type: AXPEntityQueryType.Single,
|
158
|
+
},
|
159
|
+
list: {
|
160
|
+
execute: async (e) => {
|
161
|
+
return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });
|
162
|
+
},
|
163
|
+
type: AXPEntityQueryType.List,
|
164
|
+
},
|
165
|
+
},
|
166
|
+
interfaces: {
|
167
|
+
master: {
|
168
|
+
create: {
|
169
|
+
sections: [
|
170
|
+
{
|
171
|
+
id: 'personal',
|
172
|
+
},
|
173
|
+
{
|
174
|
+
id: 'job',
|
175
|
+
},
|
176
|
+
],
|
177
|
+
properties: [
|
178
|
+
{
|
179
|
+
name: 'firstname',
|
180
|
+
layout: {
|
181
|
+
positions: {
|
182
|
+
lg: {
|
183
|
+
colSpan: 12,
|
184
|
+
},
|
185
|
+
},
|
186
|
+
},
|
187
|
+
},
|
188
|
+
{
|
189
|
+
name: 'lastname',
|
190
|
+
layout: {
|
191
|
+
positions: {
|
192
|
+
lg: {
|
193
|
+
colSpan: 12,
|
194
|
+
},
|
195
|
+
},
|
196
|
+
},
|
197
|
+
},
|
198
|
+
{
|
199
|
+
name: 'email',
|
200
|
+
layout: {
|
201
|
+
positions: {
|
202
|
+
lg: {
|
203
|
+
colSpan: 12,
|
204
|
+
},
|
205
|
+
},
|
206
|
+
},
|
207
|
+
},
|
208
|
+
],
|
209
|
+
},
|
210
|
+
update: {
|
211
|
+
sections: [
|
212
|
+
{
|
213
|
+
id: 'personal',
|
214
|
+
},
|
215
|
+
{
|
216
|
+
id: 'job',
|
217
|
+
},
|
218
|
+
],
|
219
|
+
properties: [
|
220
|
+
{
|
221
|
+
name: 'firstname',
|
222
|
+
layout: {
|
223
|
+
positions: {
|
224
|
+
lg: {
|
225
|
+
colSpan: 12,
|
226
|
+
},
|
227
|
+
},
|
228
|
+
},
|
229
|
+
},
|
230
|
+
{
|
231
|
+
name: 'lastname',
|
232
|
+
layout: {
|
233
|
+
positions: {
|
234
|
+
lg: {
|
235
|
+
colSpan: 12,
|
236
|
+
},
|
237
|
+
},
|
238
|
+
},
|
239
|
+
},
|
240
|
+
{
|
241
|
+
name: 'email',
|
242
|
+
layout: {
|
243
|
+
positions: {
|
244
|
+
lg: {
|
245
|
+
colSpan: 12,
|
246
|
+
},
|
247
|
+
},
|
248
|
+
},
|
249
|
+
},
|
250
|
+
],
|
251
|
+
},
|
252
|
+
list: {
|
253
|
+
actions: [
|
254
|
+
{
|
255
|
+
title: `t("create", { scope: "common" })`,
|
256
|
+
command: 'create-entity',
|
257
|
+
priority: 'primary',
|
258
|
+
type: 'create',
|
259
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
260
|
+
},
|
261
|
+
{
|
262
|
+
title: 't("deleteItems", { scope: "common" })',
|
263
|
+
command: 'delete-entity',
|
264
|
+
priority: 'primary',
|
265
|
+
type: 'delete',
|
266
|
+
scope: AXPEntityCommandScope.Selected,
|
267
|
+
},
|
268
|
+
{
|
269
|
+
title: 't("detail", { scope: "common" })',
|
270
|
+
command: 'open-entity',
|
271
|
+
priority: 'secondary',
|
272
|
+
type: 'view',
|
273
|
+
scope: AXPEntityCommandScope.Individual,
|
274
|
+
},
|
275
|
+
{
|
276
|
+
title: 't("delete", { scope: "common" })',
|
277
|
+
command: 'delete-entity',
|
278
|
+
priority: 'secondary',
|
279
|
+
type: 'delete',
|
280
|
+
scope: AXPEntityCommandScope.Individual,
|
281
|
+
},
|
282
|
+
],
|
283
|
+
views: [
|
284
|
+
{
|
285
|
+
name: 'all',
|
286
|
+
title: 't("allItem", { scope: "common" })',
|
287
|
+
fixed: true,
|
288
|
+
columns: ['firstname', 'lastname', 'email', 'position', 'department'],
|
289
|
+
conditions: [],
|
290
|
+
sorts: [],
|
291
|
+
},
|
292
|
+
],
|
293
|
+
},
|
294
|
+
},
|
295
|
+
},
|
296
|
+
};
|
297
|
+
return entityDef;
|
298
|
+
}
|
299
|
+
|
300
|
+
export { factory };
|
301
|
+
//# sourceMappingURL=acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-managment-employee.entity-oo5Tyyp2.mjs","sources":["../../../../libs/modules/organization-managment/src/lib/entities/employee/employee.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementEmployeeEntityService } from './employee.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementEmployeeEntityService);\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employee.name,\n source: 'employees',\n title: `t(\"employee\", { scope: \"${i18n}\" })`,\n formats: {\n individual: `t(\"employee\", { scope: \"${i18n}\" })`,\n plural: `t(\"employees\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'personal',\n title: `t(\"personalInformation\", { scope: \"${i18n}\" })`,\n },\n {\n id: 'job',\n title: `t(\"jobInformation\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'firstname',\n title: `t(\"firstname\", { scope: \"common\" })`,\n groupId: 'personal',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'lastname',\n title: `t(\"lastname\", { scope: \"common\" })`,\n groupId: 'personal',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'email',\n title: `t(\"email\", { scope: \"common\" })`,\n groupId: 'personal',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.contact,\n options: {\n type: 'email',\n multiple: false,\n hasLabel: false,\n }\n },\n },\n validations: [\n {\n rule: 'required',\n },\n {\n rule: 'email',\n },\n ],\n },\n {\n name: 'position',\n title: `t(\"position\", { scope: \"common\" })`,\n groupId: 'job',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n dataSource: 'positions',\n displayField: 'name',\n valueField: 'id',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n {\n name: 'department',\n title: `t(\"department\", { scope: \"common\" })`,\n groupId: 'job',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n dataSource: 'departments',\n displayField: 'name',\n valueField: 'id',\n },\n },\n },\n },\n ],\n columns: [\n { name: 'firstname' },\n { name: 'lastname' },\n { name: 'email' },\n { name: 'position' },\n { name: 'department' },\n ],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'personal',\n },\n {\n id: 'job',\n },\n ],\n properties: [\n {\n name: 'firstname',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'lastname',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'email',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'personal',\n },\n {\n id: 'job',\n },\n ],\n properties: [\n {\n name: 'firstname',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'lastname',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n {\n name: 'email',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n list: {\n actions: [\n {\n title: `t(\"create\", { scope: \"common\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 't(\"deleteItems\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 't(\"detail\", { scope: \"common\" })',\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 't(\"delete\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 't(\"allItem\", { scope: \"common\" })',\n fixed: true,\n columns: ['firstname', 'lastname', 'email', 'position', 'department'],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,8CAA8C,CAAC;AAChF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI;AACvC,QAAA,MAAM,EAAE,WAAW;QACnB,KAAK,EAAE,CAA2B,wBAAA,EAAA,IAAI,CAAM,IAAA,CAAA;AAC5C,QAAA,OAAO,EAAE;YACP,UAAU,EAAE,CAA2B,wBAAA,EAAA,IAAI,CAAM,IAAA,CAAA;YACjD,MAAM,EAAE,CAA4B,yBAAA,EAAA,IAAI,CAAM,IAAA,CAAA;AAC9C,YAAA,YAAY,EAAE;AACZ,gBAAA,KAAK,EAAE,aAAa;AACpB,gBAAA,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK;AACrC,aAAA;AACF,SAAA;AACD,QAAA,eAAe,EAAE,EAAE;AACnB,QAAA,MAAM,EAAE;AACN,YAAA;AACE,gBAAA,EAAE,EAAE,UAAU;gBACd,KAAK,EAAE,CAAsC,mCAAA,EAAA,IAAI,CAAM,IAAA,CAAA;AACxD,aAAA;AACD,YAAA;AACE,gBAAA,EAAE,EAAE,KAAK;gBACT,KAAK,EAAE,CAAiC,8BA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KAAK,EAAE,mCAAmC;AAC1C,4BAAA,KAAK,EAAE,IAAI;4BACX,OAAO,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,CAAC;AACrE,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
|
2
2
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
3
|
-
import {
|
3
|
+
import { AXMOrganizationManagementEmploymentTypeEntityService, RootConfig } from './acorex-modules-organization-managment.mjs';
|
4
4
|
|
5
5
|
async function factory(injector) {
|
6
|
-
const dataService = injector.get(
|
6
|
+
const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);
|
7
7
|
const i18n = RootConfig.config.i18n;
|
8
8
|
const entityDef = {
|
9
9
|
module: RootConfig.module.name,
|
10
|
-
name: RootConfig.entities.
|
10
|
+
name: RootConfig.entities.employmentType.name,
|
11
11
|
source: '',
|
12
|
-
title: `t("employment", { scope: "${i18n}" })`,
|
12
|
+
title: `t("employment-type", { scope: "${i18n}" })`,
|
13
13
|
formats: {
|
14
|
-
individual: `t("employment", { scope: "${i18n}" })`,
|
15
|
-
plural: `t("
|
14
|
+
individual: `t("employment-type", { scope: "${i18n}" })`,
|
15
|
+
plural: `t("employment-types", { scope: "${i18n}" })`,
|
16
16
|
searchResult: {
|
17
17
|
title: '{{ title }}',
|
18
18
|
description: RootConfig.module.title,
|
@@ -22,10 +22,23 @@ async function factory(injector) {
|
|
22
22
|
groups: [
|
23
23
|
{
|
24
24
|
id: 'section',
|
25
|
-
title: `t("employment", { scope: "${i18n}" })`,
|
25
|
+
title: `t("employment-type", { scope: "${i18n}" })`,
|
26
26
|
},
|
27
27
|
],
|
28
28
|
properties: [
|
29
|
+
{
|
30
|
+
name: 'id',
|
31
|
+
title: 'ID',
|
32
|
+
schema: {
|
33
|
+
dataType: 'uuid',
|
34
|
+
hidden: true,
|
35
|
+
nullable: false,
|
36
|
+
readonly: true,
|
37
|
+
unique: {
|
38
|
+
enabled: true,
|
39
|
+
},
|
40
|
+
},
|
41
|
+
},
|
29
42
|
{
|
30
43
|
name: 'title',
|
31
44
|
title: `t("title", { scope: "common" })`,
|
@@ -93,7 +106,7 @@ async function factory(injector) {
|
|
93
106
|
layout: {
|
94
107
|
positions: {
|
95
108
|
lg: {
|
96
|
-
colSpan:
|
109
|
+
colSpan: 6,
|
97
110
|
},
|
98
111
|
},
|
99
112
|
},
|
@@ -139,7 +152,7 @@ async function factory(injector) {
|
|
139
152
|
layout: {
|
140
153
|
positions: {
|
141
154
|
lg: {
|
142
|
-
colSpan:
|
155
|
+
colSpan: 12,
|
143
156
|
},
|
144
157
|
},
|
145
158
|
},
|
@@ -196,4 +209,4 @@ async function factory(injector) {
|
|
196
209
|
}
|
197
210
|
|
198
211
|
export { factory };
|
199
|
-
//# sourceMappingURL=acorex-modules-organization-managment-employment.entity-
|
212
|
+
//# sourceMappingURL=acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs.map
|
package/fesm2022/acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-managment-employment-type.entity-Cgbezwio.mjs","sources":["../../../../libs/modules/organization-managment/src/lib/entities/employment-type/employment-type.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementEmploymentTypeEntityService } from './employment-type.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementEmploymentTypeEntityService);\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.employmentType.name,\n source: '',\n title: `t(\"employment-type\", { scope: \"${i18n}\" })`,\n formats: {\n individual: `t(\"employment-type\", { scope: \"${i18n}\" })`,\n plural: `t(\"employment-types\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'section',\n title: `t(\"employment-type\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"title\", { scope: \"common\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n width: '400px',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [{ name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'section',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"create\", { scope: \"common\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 't(\"deleteItems\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 't(\"detail\", { scope: \"common\" })',\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 't(\"delete\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 't(\"allItem\", { scope: \"common\" })',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,oDAAoD,CAAC;AACtF,IAAA,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI;AAEnC,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI;AAC7C,QAAA,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,CAAkC,+BAAA,EAAA,IAAI,CAAM,IAAA,CAAA;AACnD,QAAA,OAAO,EAAE;YACP,UAAU,EAAE,CAAkC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;AACJ,oBAAA,OAAO,EAAE;AACP,wBAAA;AACE,4BAAA,KAAK,EAAE,CAAkC,gCAAA,CAAA;AACzC,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,SAAS;AACvC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,uCAAuC;AAC9C,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,SAAS;AACnB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,QAAQ;AACtC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACD,wBAAA;AACE,4BAAA,KAAK,EAAE,kCAAkC;AACzC,4BAAA,OAAO,EAAE,eAAe;AACxB,4BAAA,QAAQ,EAAE,WAAW;AACrB,4BAAA,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,qBAAqB,CAAC,UAAU;AACxC,yBAAA;AACF,qBAAA;AACD,oBAAA,KAAK,EAAE;AACL,wBAAA;AACE,4BAAA,IAAI,EAAE,KAAK;AACX,4BAAA,KAAK,EAAE,mCAAmC;AAC1C,4BAAA,KAAK,EAAE,IAAI;AACX,4BAAA,OAAO,EAAE,EAAE;AACX,4BAAA,UAAU,EAAE,EAAE;AACd,4BAAA,KAAK,EAAE,EAAE;AACV,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import * as i2 from '@acorex/components/button';
|
2
|
+
import { AXButtonModule } from '@acorex/components/button';
|
3
|
+
import * as i4 from '@acorex/components/decorators';
|
4
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
5
|
+
import { AXDropdownButtonModule } from '@acorex/components/dropdown-button';
|
6
|
+
import { AXMenuModule } from '@acorex/components/menu';
|
7
|
+
import * as i3 from '@acorex/core/translation';
|
8
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
9
|
+
import { AXPSimplePageLayout } from '@acorex/platform/themes/default';
|
10
|
+
import { AXPThemeLayoutBlockComponent, AXPThemeLayoutHeaderTemplateComponent, AXPThemeLayoutActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutPagePrimaryActionsComponent } from '@acorex/platform/themes/shared';
|
11
|
+
import * as i1 from '@angular/common';
|
12
|
+
import { CommonModule } from '@angular/common';
|
13
|
+
import * as i0 from '@angular/core';
|
14
|
+
import { viewChild, Component, ChangeDetectionStrategy } from '@angular/core';
|
15
|
+
import { RouterModule } from '@angular/router';
|
16
|
+
|
17
|
+
class AXMOrgChartPage {
|
18
|
+
constructor() {
|
19
|
+
this.chart = viewChild('chart');
|
20
|
+
}
|
21
|
+
ngOnInit() {
|
22
|
+
this.createChart();
|
23
|
+
}
|
24
|
+
createChart() {
|
25
|
+
}
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrgChartPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXMOrgChartPage, isStandalone: true, selector: "ng-component", providers: [], viewQueries: [{ propertyName: "chart", first: true, predicate: ["chart"], descendants: true, isSignal: true }], ngImport: i0, template: "<axp-layout-simple-page *translate=\"let t\">\n\n <axp-layout-header>\n <axp-layout-title>\n {{t('org-chart',{ scope:'organization-management' }) | async}}\n </axp-layout-title>\n\n <axp-layout-description>\n Clear and dynamic view of your organization's structure\n </axp-layout-description>\n\n <axp-layout-actions>\n\n <axp-layout-actions-primary>\n\n </axp-layout-actions-primary>\n\n\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('settings.restore-defaults',{scope:'platform-management'}) | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-rotate'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item [text]=\"(t('export') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-file-export'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n\n </axp-layout-actions>\n </axp-layout-header>\n\n\n\n\n <axp-layout-content>\n Hi\n <div class=\"chart\" #chart></div>\n <!-- <ax-context-menu\n (onItemClick)=\"handleContextMenuOnItemClick($event)\"\n [items]=\"menuItem()\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"handleOpenContext($event)\"\n>\n</ax-context-menu> -->\n </axp-layout-content>\n\n</axp-layout-simple-page>", styles: [".chart{display:flex;justify-content:center;align-items:center}.link{stroke-width:2px;stroke:#ccc}.node rect{rx:6;ry:6;stroke-width:2px}.node text{font:14px sans-serif;pointer-events:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: RouterModule }, { kind: "component", type:
|
28
|
+
//
|
29
|
+
AXPSimplePageLayout, selector: "axp-layout-simple-page" }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-layout-content, axp-layout-header-container, axp-layout-footer-container, axp-layout-side-container, axp-layout-sections, axp-layout-section-container, axp-layout-body, axp-layout-suffix, axp-layout-prefix, axp-layout-title, axp-layout-nav-button, axp-layout-description, axp-layout-toolbar, axp-layout-title-bar, axp-layout-breadcrumbs " }, { kind: "component", type: AXPThemeLayoutHeaderTemplateComponent, selector: "axp-layout-header" }, { kind: "component", type: AXPThemeLayoutActionsComponent, selector: "axp-layout-actions" }, { kind: "component", type: AXPThemeLayoutPageSecondaryActionsComponent, selector: "axp-layout-actions-secondary" }, { kind: "component", type: AXPThemeLayoutPagePrimaryActionsComponent, selector: "axp-layout-actions-primary" }, { kind: "ngmodule", type:
|
30
|
+
//
|
31
|
+
AXMenuModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i3.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i4.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
32
|
+
}
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXMOrgChartPage, decorators: [{
|
34
|
+
type: Component,
|
35
|
+
args: [{ imports: [
|
36
|
+
CommonModule,
|
37
|
+
RouterModule,
|
38
|
+
//
|
39
|
+
AXPSimplePageLayout,
|
40
|
+
AXPThemeLayoutBlockComponent,
|
41
|
+
AXPThemeLayoutHeaderTemplateComponent,
|
42
|
+
AXPThemeLayoutActionsComponent,
|
43
|
+
AXPThemeLayoutPageSecondaryActionsComponent,
|
44
|
+
AXPThemeLayoutPagePrimaryActionsComponent,
|
45
|
+
//
|
46
|
+
AXMenuModule,
|
47
|
+
AXButtonModule,
|
48
|
+
AXDropdownButtonModule,
|
49
|
+
AXTranslationModule,
|
50
|
+
AXDecoratorModule
|
51
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [], template: "<axp-layout-simple-page *translate=\"let t\">\n\n <axp-layout-header>\n <axp-layout-title>\n {{t('org-chart',{ scope:'organization-management' }) | async}}\n </axp-layout-title>\n\n <axp-layout-description>\n Clear and dynamic view of your organization's structure\n </axp-layout-description>\n\n <axp-layout-actions>\n\n <axp-layout-actions-primary>\n\n </axp-layout-actions-primary>\n\n\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('settings.restore-defaults',{scope:'platform-management'}) | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-rotate'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item [text]=\"(t('export') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-file-export'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n\n </axp-layout-actions>\n </axp-layout-header>\n\n\n\n\n <axp-layout-content>\n Hi\n <div class=\"chart\" #chart></div>\n <!-- <ax-context-menu\n (onItemClick)=\"handleContextMenuOnItemClick($event)\"\n [items]=\"menuItem()\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"handleOpenContext($event)\"\n>\n</ax-context-menu> -->\n </axp-layout-content>\n\n</axp-layout-simple-page>", styles: [".chart{display:flex;justify-content:center;align-items:center}.link{stroke-width:2px;stroke:#ccc}.node rect{rx:6;ry:6;stroke-width:2px}.node text{font:14px sans-serif;pointer-events:none}\n"] }]
|
52
|
+
}] });
|
53
|
+
|
54
|
+
export { AXMOrgChartPage };
|
55
|
+
//# sourceMappingURL=acorex-modules-organization-managment-org-chart.page-ubxepOmw.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-managment-org-chart.page-ubxepOmw.mjs","sources":["../../../../libs/modules/organization-managment/src/lib/pages/org-chart/org-chart.page.ts","../../../../libs/modules/organization-managment/src/lib/pages/org-chart/org-chart.page.html"],"sourcesContent":["import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXDropdownButtonModule } from '@acorex/components/dropdown-button';\nimport { AXMenuModule } from '@acorex/components/menu';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXPSimplePageLayout } from '@acorex/platform/themes/default';\nimport {\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutHeaderTemplateComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n} from '@acorex/platform/themes/shared';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, viewChild } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport * as d3 from 'd3';\n\n\n@Component({\n templateUrl: './org-chart.page.html',\n styleUrls: ['./org-chart.page.scss'],\n imports: [\n CommonModule,\n RouterModule,\n //\n AXPSimplePageLayout,\n AXPThemeLayoutBlockComponent,\n AXPThemeLayoutHeaderTemplateComponent,\n AXPThemeLayoutActionsComponent,\n AXPThemeLayoutPageSecondaryActionsComponent,\n AXPThemeLayoutPagePrimaryActionsComponent,\n //\n AXMenuModule,\n AXButtonModule,\n AXDropdownButtonModule,\n AXTranslationModule,\n AXDecoratorModule\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [],\n})\nexport class AXMOrgChartPage {\n\n private chart = viewChild<HTMLDivElement>('chart');\n\n ngOnInit(): void {\n this.createChart();\n }\n\n private createChart(): void {\n\n }\n\n}\n","<axp-layout-simple-page *translate=\"let t\">\n\n <axp-layout-header>\n <axp-layout-title>\n {{t('org-chart',{ scope:'organization-management' }) | async}}\n </axp-layout-title>\n\n <axp-layout-description>\n Clear and dynamic view of your organization's structure\n </axp-layout-description>\n\n <axp-layout-actions>\n\n <axp-layout-actions-primary>\n\n </axp-layout-actions-primary>\n\n\n <axp-layout-actions-secondary>\n <ax-button-item [text]=\"(t('settings.restore-defaults',{scope:'platform-management'}) | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-rotate'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n <ax-divider></ax-divider>\n <ax-button-item [text]=\"(t('export') | async)!\">\n <ax-prefix>\n <ax-icon [icon]=\"'fa-solid fa-file-export'\"> </ax-icon>\n </ax-prefix>\n </ax-button-item>\n </axp-layout-actions-secondary>\n\n </axp-layout-actions>\n </axp-layout-header>\n\n\n\n\n <axp-layout-content>\n Hi\n <div class=\"chart\" #chart></div>\n <!-- <ax-context-menu\n (onItemClick)=\"handleContextMenuOnItemClick($event)\"\n [items]=\"menuItem()\"\n [target]=\"'.ctx'\"\n [orientation]=\"'vertical'\"\n [closeOn]=\"'leave'\"\n (onOpening)=\"handleOpenContext($event)\"\n>\n</ax-context-menu> -->\n </axp-layout-content>\n\n</axp-layout-simple-page>"],"names":[],"mappings":";;;;;;;;;;;;;;;;MA0Ca,eAAe,CAAA;AAvB5B,IAAA,WAAA,GAAA;AAyBU,QAAA,IAAA,CAAA,KAAK,GAAG,SAAS,CAAiB,OAAO,CAAC;AAUnD;IARC,QAAQ,GAAA;QACN,IAAI,CAAC,WAAW,EAAE;;IAGZ,WAAW,GAAA;;8GARR,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,2DAFf,EAAE,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,OAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAA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CAAA,MAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,+IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAKR,eAAe,EAAA,UAAA,EAAA,CAAA;kBAvB3B,SAAS;AAGC,YAAA,IAAA,EAAA,CAAA,EAAA,OAAA,EAAA;wBACP,YAAY;wBACZ,YAAY;;wBAEZ,mBAAmB;wBACnB,4BAA4B;wBAC5B,qCAAqC;wBACrC,8BAA8B;wBAC9B,2CAA2C;wBAC3C,yCAAyC;;wBAEzC,YAAY;wBACZ,cAAc;wBACd,sBAAsB;wBACtB,mBAAmB;wBACnB;AACD,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,EAAE,EAAA,QAAA,EAAA,k6CAAA,EAAA,MAAA,EAAA,CAAA,+LAAA,CAAA,EAAA;;;;;"}
|
@@ -26,6 +26,19 @@ async function factory(injector) {
|
|
26
26
|
},
|
27
27
|
],
|
28
28
|
properties: [
|
29
|
+
{
|
30
|
+
name: 'id',
|
31
|
+
title: 'ID',
|
32
|
+
schema: {
|
33
|
+
dataType: 'uuid',
|
34
|
+
hidden: true,
|
35
|
+
nullable: false,
|
36
|
+
readonly: true,
|
37
|
+
unique: {
|
38
|
+
enabled: true,
|
39
|
+
},
|
40
|
+
},
|
41
|
+
},
|
29
42
|
{
|
30
43
|
name: 'title',
|
31
44
|
title: `t("title", { scope: "common" })`,
|
@@ -112,7 +125,7 @@ async function factory(injector) {
|
|
112
125
|
layout: {
|
113
126
|
positions: {
|
114
127
|
lg: {
|
115
|
-
colSpan:
|
128
|
+
colSpan: 6,
|
116
129
|
},
|
117
130
|
},
|
118
131
|
},
|
@@ -196,4 +209,4 @@ async function factory(injector) {
|
|
196
209
|
}
|
197
210
|
|
198
211
|
export { factory };
|
199
|
-
//# sourceMappingURL=acorex-modules-organization-managment-position.entity-
|
212
|
+
//# sourceMappingURL=acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-modules-organization-managment-position.entity-Bbb5KAkm.mjs","sources":["../../../../libs/modules/organization-managment/src/lib/entities/position/position.entity.ts"],"sourcesContent":["import { AXPEntity, AXPEntityCommandScope, AXPEntityQueryType } from '@acorex/platform/common';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { AXMOrganizationManagementPositionEntityService } from './position.service';\n\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMOrganizationManagementPositionEntityService);\n const i18n = RootConfig.config.i18n;\n\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.position.name,\n source: '',\n title: `t(\"position\", { scope: \"${i18n}\" })`,\n formats: {\n individual: `t(\"position\", { scope: \"${i18n}\" })`,\n plural: `t(\"positions\", { scope: \"${i18n}\" })`,\n searchResult: {\n title: '{{ title }}',\n description: RootConfig.module.title,\n },\n },\n relatedEntities: [],\n groups: [\n {\n id: 'section',\n title: `t(\"position\", { scope: \"${i18n}\" })`,\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: {\n dataType: 'uuid',\n hidden: true,\n nullable: false,\n readonly: true,\n unique: {\n enabled: true,\n },\n },\n },\n {\n name: 'title',\n title: `t(\"title\", { scope: \"common\" })`,\n groupId: 'section',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n width: '400px',\n },\n },\n },\n validations: [\n {\n rule: 'required',\n },\n ],\n },\n ],\n columns: [{ name: 'title' }],\n commands: {\n create: {\n execute: async (data: any) => {\n const res = await dataService.insertOne(data);\n return { id: res };\n },\n },\n delete: {\n execute: async (id: any) => {\n return await dataService.deleteOne(id);\n },\n },\n update: {\n execute: async (data: any) => {\n return await dataService.updateOne(data.id, data);\n },\n },\n },\n queries: {\n byKey: {\n execute: async (id: string) => {\n return await dataService.getOne(id);\n },\n type: AXPEntityQueryType.Single,\n },\n list: {\n execute: async (e: any) => {\n return await dataService.query({ skip: e.skip, take: e.take, filter: e.filter, sort: e.sort });\n },\n type: AXPEntityQueryType.List,\n },\n },\n interfaces: {\n master: {\n create: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n },\n update: {\n sections: [\n {\n id: 'section',\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n {\n id: 'section',\n layout: {\n positions: {\n lg: {\n colSpan: 12,\n },\n },\n },\n },\n ],\n properties: [\n {\n name: 'title',\n layout: {\n positions: {\n lg: {\n colSpan: 6,\n },\n },\n },\n },\n ],\n actions: [],\n },\n list: {\n actions: [\n {\n title: `t(\"create\", { scope: \"common\" })`,\n command: 'create-entity',\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n {\n title: 't(\"deleteItems\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'primary',\n type: 'delete',\n scope: AXPEntityCommandScope.Selected,\n },\n {\n title: 't(\"detail\", { scope: \"common\" })',\n command: 'open-entity',\n priority: 'secondary',\n type: 'view',\n scope: AXPEntityCommandScope.Individual,\n },\n {\n title: 't(\"delete\", { scope: \"common\" })',\n command: 'delete-entity',\n priority: 'secondary',\n type: 'delete',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [\n {\n name: 'all',\n title: 't(\"allItem\", { scope: \"common\" })',\n fixed: true,\n columns: [],\n conditions: [],\n sorts: [],\n },\n ],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAMO,eAAe,OAAO,CAAC,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