@acorex/modules 19.3.1 → 19.3.2
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/common/lib/common.module.d.ts +2 -1
- package/dashboard-management/lib/entities/dashboard/dashboard.types.d.ts +2 -2
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +7 -7
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +6 -6
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/dashboard-popup.service.d.ts +5 -5
- package/dashboard-management/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +4 -3
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts +9 -64
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar-widget.component.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.component.d.ts +9 -50
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.component.d.ts +8 -67
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/index.d.ts +0 -2
- package/dashboard-management/lib/features/shared/widgets/line-chart/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts +9 -68
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs → acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs} +23 -83
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs +65 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs → acorex-modules-auth-login.module-D-XgzifC.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs.map → acorex-modules-auth-login.module-D-XgzifC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs → acorex-modules-auth-master.layout-ZaCb3CED.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs.map → acorex-modules-auth-master.layout-ZaCb3CED.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs → acorex-modules-auth-password.component-C-xRIhrM.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs.map → acorex-modules-auth-password.component-C-xRIhrM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs → acorex-modules-auth-password.component-CLTZoufP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs.map → acorex-modules-auth-password.component-CLTZoufP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs → acorex-modules-auth-routes-4T5jq7su.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs.map → acorex-modules-auth-routes-4T5jq7su.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs +98 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs → acorex-modules-auth-two-factor.module-D72KIpvA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs.map → acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs.map → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +3 -5
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs} +846 -2174
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs → acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs} +49 -48
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Q47ZZSSE.mjs → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs} +42 -42
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Q47ZZSSE.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-Dns1Wrkd.mjs.map → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +621 -52
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs → acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs} +6 -6
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-D83yTFAm.mjs.map → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DKkXCwrd.mjs.map → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +218 -155
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +472 -787
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +5574 -0
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -0
- package/notification-management/index.d.ts +1 -0
- package/notification-management/lib/entities/notification/notification.service.d.ts +6 -6
- package/notification-management/lib/features/components/admin-notification-panel/admin-notification-panel.component.d.ts +13 -7
- package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/index.d.ts +0 -1
- package/{dashboard-management/lib/features/shared/widgets/notification → notification-management/lib/features/dashboard/widgets/my-notification}/notification-widget.component.d.ts +37 -9
- package/notification-management/lib/features/dashboard/widgets/my-notification/notification-widget.config.d.ts +5 -0
- package/notification-management/lib/features/shared/notification-connector.service.d.ts +57 -0
- package/notification-management/lib/notification-management.module.d.ts +2 -1
- package/notification-management/lib/notification-management.type.d.ts +3 -0
- package/package.json +5 -1
- package/security-management/lib/entities/index.d.ts +1 -2
- package/security-management/lib/entities/profile/index.d.ts +0 -1
- package/security-management/lib/entities/users/users.service.d.ts +2 -2
- package/security-management/lib/entities/users/users.types.d.ts +2 -2
- package/security-management/lib/user-avatar.provider.d.ts +5 -0
- package/training-management/README.md +3 -0
- package/training-management/index.d.ts +7 -0
- package/training-management/lib/const.d.ts +85 -0
- package/training-management/lib/entities/certificate/certificate.entity.d.ts +3 -0
- package/training-management/lib/entities/certificate/certificate.service.d.ts +10 -0
- package/training-management/lib/entities/certificate/certificate.types.d.ts +12 -0
- package/training-management/lib/entities/certificate/index.d.ts +3 -0
- package/training-management/lib/entities/course/course.entity.d.ts +3 -0
- package/training-management/lib/entities/course/course.service.d.ts +10 -0
- package/training-management/lib/entities/course/course.types.d.ts +8 -0
- package/training-management/lib/entities/course/index.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.entity.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.service.d.ts +10 -0
- package/training-management/lib/entities/course-location/course-location.types.d.ts +6 -0
- package/training-management/lib/entities/course-location/index.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.entity.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.service.d.ts +10 -0
- package/training-management/lib/entities/course-period/course-period.types.d.ts +6 -0
- package/training-management/lib/entities/course-period/index.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.entity.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.service.d.ts +10 -0
- package/training-management/lib/entities/course-type/course-type.types.d.ts +5 -0
- package/training-management/lib/entities/course-type/index.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.entity.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.service.d.ts +10 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.types.d.ts +6 -0
- package/training-management/lib/entities/facilitator-type/index.d.ts +3 -0
- package/training-management/lib/entities/index.d.ts +12 -0
- package/training-management/lib/entities/location/index.d.ts +3 -0
- package/training-management/lib/entities/location/location.entity.d.ts +3 -0
- package/training-management/lib/entities/location/location.service.d.ts +10 -0
- package/training-management/lib/entities/location/location.types.d.ts +7 -0
- package/training-management/lib/entities/period/index.d.ts +3 -0
- package/training-management/lib/entities/period/period.entity.d.ts +3 -0
- package/training-management/lib/entities/period/period.service.d.ts +10 -0
- package/training-management/lib/entities/period/period.types.d.ts +6 -0
- package/training-management/lib/entities/training/index.d.ts +3 -0
- package/training-management/lib/entities/training/training.entity.d.ts +3 -0
- package/training-management/lib/entities/training/training.service.d.ts +10 -0
- package/training-management/lib/entities/training/training.types.d.ts +13 -0
- package/training-management/lib/entities/training-facilitator/index.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.entity.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.service.d.ts +10 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.types.d.ts +7 -0
- package/training-management/lib/entities/training-participant/index.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.entity.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.service.d.ts +10 -0
- package/training-management/lib/entities/training-participant/training-participant.types.d.ts +7 -0
- package/training-management/lib/entities/training-type/index.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.entity.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.service.d.ts +10 -0
- package/training-management/lib/entities/training-type/training-type.types.d.ts +7 -0
- package/training-management/lib/entity.provider.d.ts +10 -0
- package/training-management/lib/menu.provider.d.ts +5 -0
- package/training-management/lib/permission-definition.provider.d.ts +4 -0
- package/training-management/lib/search-command.provider.d.ts +4 -0
- package/training-management/lib/setting.provider.d.ts +4 -0
- package/training-management/lib/training-management.module.d.ts +6 -0
- package/auth/lib/pages/account/avatar/avatar.component.d.ts +0 -20
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart.type.d.ts +0 -34
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart.type.d.ts +0 -67
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart.type.d.ts +0 -29
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart.type.d.ts +0 -41
- package/dashboard-management/lib/features/shared/widgets/notification/notification-widget.config.d.ts +0 -10
- package/dashboard-management/lib/features/shared/widgets/notification/notification.type.d.ts +0 -47
- package/dashboard-management/lib/features/shared/widgets/shared/chart-base.component.d.ts +0 -44
- package/dashboard-management/lib/features/shared/widgets/shared/chart-base.type.d.ts +0 -37
- package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/chart-tooltip.component.d.ts +0 -28
- package/dashboard-management/lib/features/shared/widgets/shared/components/chart-tooltip/index.d.ts +0 -1
- package/dashboard-management/lib/features/shared/widgets/shared/index.d.ts +0 -3
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs +0 -64
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs +0 -97
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-CReOsVhq.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-CHXDeuSF.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DIsYLKbA.mjs.map +0 -1
- package/security-management/lib/entities/profile/profile.service.d.ts +0 -13
@@ -110,48 +110,48 @@ class AXMMenuProvider {
|
|
110
110
|
icon: RootConfig.entities.project.icon,
|
111
111
|
priority: 1,
|
112
112
|
},
|
113
|
+
// {
|
114
|
+
// text: `t("ProjectMemebers", { scope: "common" })`,
|
115
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.projectMemeber.name),
|
116
|
+
// icon: RootConfig.entities.projectMemeber.icon,
|
117
|
+
// priority: 2,
|
118
|
+
// },
|
113
119
|
{
|
114
|
-
text: `t("
|
115
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.
|
116
|
-
icon: RootConfig.entities.
|
120
|
+
text: `t("Project Types", { scope: "common" })`,
|
121
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.projectType.name),
|
122
|
+
icon: RootConfig.entities.projectType.icon,
|
117
123
|
priority: 2,
|
118
124
|
},
|
119
|
-
// {
|
120
|
-
// text: `t("Project Types", { scope: "common" })`,
|
121
|
-
// path: this.entityService.createPath(module.name, RootConfig.entities.projectType.name),
|
122
|
-
// icon: RootConfig.entities.projectType.icon,
|
123
|
-
// priority: 2,
|
124
|
-
// },
|
125
125
|
{
|
126
126
|
text: `t("Clients", { scope: "common" })`,
|
127
127
|
path: this.entityService.createPath(module.name, RootConfig.entities.client.name),
|
128
128
|
icon: RootConfig.entities.client.icon,
|
129
129
|
priority: 3,
|
130
130
|
},
|
131
|
-
{
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
},
|
131
|
+
// {
|
132
|
+
// text: `t("Worksites", { scope: "common" })`,
|
133
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.workSite.name),
|
134
|
+
// icon: RootConfig.entities.workSite.icon,
|
135
|
+
// priority: 4,
|
136
|
+
// },
|
137
137
|
// {
|
138
138
|
// text: `t("ProjectRoleMember", { scope: "common" })`,
|
139
139
|
// path: this.entityService.createPath(module.name, RootConfig.entities.projectRoleMember.name),
|
140
140
|
// icon: RootConfig.entities.projectRoleMember.icon,
|
141
141
|
// priority: 5,
|
142
142
|
// },
|
143
|
+
{
|
144
|
+
text: `t("Tasks", { scope: "common" })`,
|
145
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.task.name),
|
146
|
+
icon: RootConfig.entities.task.icon,
|
147
|
+
priority: 6,
|
148
|
+
},
|
143
149
|
{
|
144
150
|
text: `t("Task Type", { scope: "common" })`,
|
145
151
|
path: this.entityService.createPath(module.name, RootConfig.entities.taskType.name),
|
146
152
|
icon: RootConfig.entities.taskType.icon,
|
147
153
|
priority: 7,
|
148
154
|
},
|
149
|
-
{
|
150
|
-
text: `t("Task", { scope: "common" })`,
|
151
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.task.name),
|
152
|
-
icon: RootConfig.entities.task.icon,
|
153
|
-
priority: 8,
|
154
|
-
},
|
155
155
|
{
|
156
156
|
text: `t("Sprints", { scope: "common" })`,
|
157
157
|
path: this.entityService.createPath(module.name, RootConfig.entities.sprint.name),
|
@@ -169,13 +169,13 @@ class AXMMenuProvider {
|
|
169
169
|
path: this.entityService.createPath(module.name, RootConfig.entities.timeSheet.name),
|
170
170
|
icon: RootConfig.entities.timeSheet.icon,
|
171
171
|
priority: 11,
|
172
|
-
},
|
173
|
-
{
|
174
|
-
text: `t("Task history", { scope: "common" })`,
|
175
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.taskHistory.name),
|
176
|
-
icon: RootConfig.entities.taskHistory.icon,
|
177
|
-
priority: 12,
|
178
172
|
}
|
173
|
+
// {
|
174
|
+
// text: `t("Task history", { scope: "common" })`,
|
175
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.taskHistory.name),
|
176
|
+
// icon: RootConfig.entities.taskHistory.icon,
|
177
|
+
// priority: 12,
|
178
|
+
// }
|
179
179
|
],
|
180
180
|
},
|
181
181
|
]);
|
@@ -319,7 +319,38 @@ async function projectFactory(injector) {
|
|
319
319
|
description: RootConfig.module.title,
|
320
320
|
},
|
321
321
|
},
|
322
|
-
relatedEntities: [
|
322
|
+
relatedEntities: [
|
323
|
+
{
|
324
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.projectMemeber.name}`,
|
325
|
+
title: RootConfig.entities.projectMemeber.title,
|
326
|
+
columns: ['personId', 'description', 'projectRoleMemberId'],
|
327
|
+
conditions: [
|
328
|
+
{
|
329
|
+
name: 'projectId',
|
330
|
+
operator: { type: 'equal' },
|
331
|
+
value: '{{id}}',
|
332
|
+
},
|
333
|
+
],
|
334
|
+
actions: [
|
335
|
+
{
|
336
|
+
title: 'Create',
|
337
|
+
command: {
|
338
|
+
name: 'create-entity',
|
339
|
+
options: {
|
340
|
+
process: {
|
341
|
+
data: {
|
342
|
+
projectId: '{{context.eval("id")}}',
|
343
|
+
},
|
344
|
+
},
|
345
|
+
},
|
346
|
+
},
|
347
|
+
priority: 'primary',
|
348
|
+
type: 'create',
|
349
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
350
|
+
},
|
351
|
+
],
|
352
|
+
}
|
353
|
+
],
|
323
354
|
groups: [
|
324
355
|
{
|
325
356
|
id: 'section',
|
@@ -993,7 +1024,68 @@ async function projectTypeFactory(injector) {
|
|
993
1024
|
description: RootConfig.module.title,
|
994
1025
|
},
|
995
1026
|
},
|
996
|
-
relatedEntities: [
|
1027
|
+
relatedEntities: [
|
1028
|
+
{
|
1029
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.projectRoleMember.name}`,
|
1030
|
+
title: RootConfig.entities.projectRoleMember.title,
|
1031
|
+
columns: ['title'],
|
1032
|
+
conditions: [
|
1033
|
+
{
|
1034
|
+
name: 'projectTypeId',
|
1035
|
+
operator: { type: 'equal' },
|
1036
|
+
value: '{{id}}',
|
1037
|
+
},
|
1038
|
+
],
|
1039
|
+
actions: [
|
1040
|
+
{
|
1041
|
+
title: 'Create',
|
1042
|
+
command: {
|
1043
|
+
name: 'create-entity',
|
1044
|
+
options: {
|
1045
|
+
process: {
|
1046
|
+
data: {
|
1047
|
+
projectTypeId: '{{context.eval("id")}}',
|
1048
|
+
},
|
1049
|
+
},
|
1050
|
+
},
|
1051
|
+
},
|
1052
|
+
priority: 'primary',
|
1053
|
+
type: 'create',
|
1054
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
1055
|
+
},
|
1056
|
+
],
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.taskType.name}`,
|
1060
|
+
title: RootConfig.entities.taskType.title,
|
1061
|
+
columns: ['title'],
|
1062
|
+
conditions: [
|
1063
|
+
{
|
1064
|
+
name: 'projectTypeId',
|
1065
|
+
operator: { type: 'equal' },
|
1066
|
+
value: '{{id}}',
|
1067
|
+
},
|
1068
|
+
],
|
1069
|
+
actions: [
|
1070
|
+
{
|
1071
|
+
title: 'Create',
|
1072
|
+
command: {
|
1073
|
+
name: 'create-entity',
|
1074
|
+
options: {
|
1075
|
+
process: {
|
1076
|
+
data: {
|
1077
|
+
projectTypeId: '{{context.eval("id")}}',
|
1078
|
+
},
|
1079
|
+
},
|
1080
|
+
},
|
1081
|
+
},
|
1082
|
+
priority: 'primary',
|
1083
|
+
type: 'create',
|
1084
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
1085
|
+
},
|
1086
|
+
],
|
1087
|
+
},
|
1088
|
+
],
|
997
1089
|
groups: [
|
998
1090
|
{
|
999
1091
|
id: 'section',
|
@@ -1243,7 +1335,38 @@ async function clientFactory(injector) {
|
|
1243
1335
|
description: RootConfig.module.title,
|
1244
1336
|
},
|
1245
1337
|
},
|
1246
|
-
relatedEntities: [
|
1338
|
+
relatedEntities: [
|
1339
|
+
{
|
1340
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.workSite.name}`,
|
1341
|
+
title: RootConfig.entities.workSite.title,
|
1342
|
+
columns: ['title', 'location', 'description'],
|
1343
|
+
conditions: [
|
1344
|
+
{
|
1345
|
+
name: 'clientId',
|
1346
|
+
operator: { type: 'equal' },
|
1347
|
+
value: '{{id}}',
|
1348
|
+
},
|
1349
|
+
],
|
1350
|
+
actions: [
|
1351
|
+
{
|
1352
|
+
title: 'Create',
|
1353
|
+
command: {
|
1354
|
+
name: 'create-entity',
|
1355
|
+
options: {
|
1356
|
+
process: {
|
1357
|
+
data: {
|
1358
|
+
clientId: '{{context.eval("id")}}',
|
1359
|
+
},
|
1360
|
+
},
|
1361
|
+
},
|
1362
|
+
},
|
1363
|
+
priority: 'primary',
|
1364
|
+
type: 'create',
|
1365
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
1366
|
+
},
|
1367
|
+
],
|
1368
|
+
},
|
1369
|
+
],
|
1247
1370
|
groups: [
|
1248
1371
|
{
|
1249
1372
|
id: 'section',
|
@@ -2583,6 +2706,10 @@ async function projectRoleMemberFactory(injector) {
|
|
2583
2706
|
type: AXPWidgetsCatalog.lookup,
|
2584
2707
|
options: {
|
2585
2708
|
entity: `${RootConfig.module.name}.${RootConfig.entities.projectType.name}`,
|
2709
|
+
expose: [
|
2710
|
+
{ source: 'id', target: 'projectType.id' },
|
2711
|
+
{ source: 'title', target: 'projectType.title' },
|
2712
|
+
],
|
2586
2713
|
}
|
2587
2714
|
},
|
2588
2715
|
},
|
@@ -2593,7 +2720,7 @@ async function projectRoleMemberFactory(injector) {
|
|
2593
2720
|
],
|
2594
2721
|
},
|
2595
2722
|
],
|
2596
|
-
columns: [{ name: 'title' }, { name: 'projectTypeId' }],
|
2723
|
+
columns: [{ name: 'title' }, { name: 'projectTypeId', options: { dataPath: 'projectType' } }],
|
2597
2724
|
commands: {
|
2598
2725
|
create: {
|
2599
2726
|
execute: async (data) => {
|
@@ -3154,7 +3281,20 @@ async function taskFactory(injector) {
|
|
3154
3281
|
description: RootConfig.module.title,
|
3155
3282
|
},
|
3156
3283
|
},
|
3157
|
-
relatedEntities: [
|
3284
|
+
relatedEntities: [
|
3285
|
+
{
|
3286
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.taskHistory.name}`,
|
3287
|
+
title: RootConfig.entities.taskHistory.title,
|
3288
|
+
columns: ['assignedTo', 'status', 'startDate', 'endDate'],
|
3289
|
+
conditions: [
|
3290
|
+
{
|
3291
|
+
name: 'taskId',
|
3292
|
+
operator: { type: 'equal' },
|
3293
|
+
value: '{{id}}',
|
3294
|
+
},
|
3295
|
+
],
|
3296
|
+
}
|
3297
|
+
],
|
3158
3298
|
groups: [
|
3159
3299
|
{
|
3160
3300
|
id: 'section',
|
@@ -4322,7 +4462,38 @@ async function sprintFactory(injector) {
|
|
4322
4462
|
description: RootConfig.module.title,
|
4323
4463
|
},
|
4324
4464
|
},
|
4325
|
-
relatedEntities: [
|
4465
|
+
relatedEntities: [
|
4466
|
+
{
|
4467
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.sprintTask.name}`,
|
4468
|
+
title: RootConfig.entities.sprintTask.title,
|
4469
|
+
columns: ['taskId'],
|
4470
|
+
conditions: [
|
4471
|
+
{
|
4472
|
+
name: 'sprintId',
|
4473
|
+
operator: { type: 'equal' },
|
4474
|
+
value: '{{id}}',
|
4475
|
+
},
|
4476
|
+
],
|
4477
|
+
actions: [
|
4478
|
+
{
|
4479
|
+
title: 'Create',
|
4480
|
+
command: {
|
4481
|
+
name: 'create-entity',
|
4482
|
+
options: {
|
4483
|
+
process: {
|
4484
|
+
data: {
|
4485
|
+
sprintId: '{{context.eval("id")}}',
|
4486
|
+
},
|
4487
|
+
},
|
4488
|
+
},
|
4489
|
+
},
|
4490
|
+
priority: 'primary',
|
4491
|
+
type: 'create',
|
4492
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
4493
|
+
},
|
4494
|
+
],
|
4495
|
+
},
|
4496
|
+
],
|
4326
4497
|
groups: [
|
4327
4498
|
{
|
4328
4499
|
id: 'section',
|
@@ -4330,38 +4501,6 @@ async function sprintFactory(injector) {
|
|
4330
4501
|
},
|
4331
4502
|
],
|
4332
4503
|
properties: [
|
4333
|
-
{
|
4334
|
-
name: 'task',
|
4335
|
-
title: `t("task", { scope: "${i18n}" })`,
|
4336
|
-
groupId: 'section',
|
4337
|
-
options: {
|
4338
|
-
sort: {
|
4339
|
-
enabled: true,
|
4340
|
-
},
|
4341
|
-
filter: {
|
4342
|
-
advance: {
|
4343
|
-
enabled: true,
|
4344
|
-
},
|
4345
|
-
inline: {
|
4346
|
-
enabled: true,
|
4347
|
-
},
|
4348
|
-
},
|
4349
|
-
},
|
4350
|
-
schema: {
|
4351
|
-
dataType: 'reference',
|
4352
|
-
interface: {
|
4353
|
-
type: AXPWidgetsCatalog.lookup,
|
4354
|
-
options: {
|
4355
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.task.name}`,
|
4356
|
-
multiple: true,
|
4357
|
-
expose: [
|
4358
|
-
{ source: 'id', target: 'task.{id}' },
|
4359
|
-
{ source: 'title', target: 'task.{title}' },
|
4360
|
-
],
|
4361
|
-
}
|
4362
|
-
}
|
4363
|
-
}
|
4364
|
-
},
|
4365
4504
|
{
|
4366
4505
|
name: 'title',
|
4367
4506
|
title: `t("title", { scope: "common" })`,
|
@@ -4609,17 +4748,6 @@ async function sprintFactory(injector) {
|
|
4609
4748
|
},
|
4610
4749
|
},
|
4611
4750
|
},
|
4612
|
-
{
|
4613
|
-
name: 'task',
|
4614
|
-
layout: {
|
4615
|
-
positions: {
|
4616
|
-
lg: {
|
4617
|
-
colSpan: 6,
|
4618
|
-
order: 6,
|
4619
|
-
},
|
4620
|
-
},
|
4621
|
-
},
|
4622
|
-
},
|
4623
4751
|
],
|
4624
4752
|
},
|
4625
4753
|
update: {
|
@@ -4685,17 +4813,6 @@ async function sprintFactory(injector) {
|
|
4685
4813
|
},
|
4686
4814
|
},
|
4687
4815
|
},
|
4688
|
-
{
|
4689
|
-
name: 'task',
|
4690
|
-
layout: {
|
4691
|
-
positions: {
|
4692
|
-
lg: {
|
4693
|
-
colSpan: 6,
|
4694
|
-
order: 6,
|
4695
|
-
},
|
4696
|
-
},
|
4697
|
-
},
|
4698
|
-
},
|
4699
4816
|
],
|
4700
4817
|
},
|
4701
4818
|
single: {
|
@@ -4769,17 +4886,6 @@ async function sprintFactory(injector) {
|
|
4769
4886
|
},
|
4770
4887
|
},
|
4771
4888
|
},
|
4772
|
-
{
|
4773
|
-
name: 'task',
|
4774
|
-
layout: {
|
4775
|
-
positions: {
|
4776
|
-
lg: {
|
4777
|
-
colSpan: 6,
|
4778
|
-
order: 6,
|
4779
|
-
},
|
4780
|
-
},
|
4781
|
-
},
|
4782
|
-
},
|
4783
4889
|
],
|
4784
4890
|
actions: [],
|
4785
4891
|
},
|
@@ -5813,6 +5919,10 @@ async function sprintTaskFactory(injector) {
|
|
5813
5919
|
type: AXPWidgetsCatalog.lookup,
|
5814
5920
|
options: {
|
5815
5921
|
entity: `${RootConfig.module.name}.${RootConfig.entities.task.name}`,
|
5922
|
+
expose: [
|
5923
|
+
{ source: 'id', target: 'task.id' },
|
5924
|
+
{ source: 'title', target: 'task.title' },
|
5925
|
+
],
|
5816
5926
|
}
|
5817
5927
|
},
|
5818
5928
|
},
|
@@ -5845,6 +5955,10 @@ async function sprintTaskFactory(injector) {
|
|
5845
5955
|
type: AXPWidgetsCatalog.lookup,
|
5846
5956
|
options: {
|
5847
5957
|
entity: `${RootConfig.module.name}.${RootConfig.entities.sprint.name}`,
|
5958
|
+
expose: [
|
5959
|
+
{ source: 'id', target: 'sprint.id' },
|
5960
|
+
{ source: 'title', target: 'sprint.title' },
|
5961
|
+
],
|
5848
5962
|
}
|
5849
5963
|
},
|
5850
5964
|
},
|
@@ -5854,64 +5968,11 @@ async function sprintTaskFactory(injector) {
|
|
5854
5968
|
},
|
5855
5969
|
],
|
5856
5970
|
},
|
5857
|
-
{
|
5858
|
-
name: 'task',
|
5859
|
-
title: `t("task", { scope: "${i18n}" })`,
|
5860
|
-
groupId: 'section',
|
5861
|
-
options: {
|
5862
|
-
sort: {
|
5863
|
-
enabled: true,
|
5864
|
-
},
|
5865
|
-
filter: {
|
5866
|
-
advance: {
|
5867
|
-
enabled: true,
|
5868
|
-
},
|
5869
|
-
inline: {
|
5870
|
-
enabled: true,
|
5871
|
-
},
|
5872
|
-
},
|
5873
|
-
},
|
5874
|
-
schema: {
|
5875
|
-
dataType: 'reference',
|
5876
|
-
interface: {
|
5877
|
-
type: AXPWidgetsCatalog.lookup,
|
5878
|
-
options: {
|
5879
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.task.name}`,
|
5880
|
-
referenceField: 'taskId'
|
5881
|
-
}
|
5882
|
-
}
|
5883
|
-
},
|
5884
|
-
},
|
5885
|
-
{
|
5886
|
-
name: 'sprint',
|
5887
|
-
title: `t("sprint", { scope: "${i18n}" })`,
|
5888
|
-
groupId: 'section',
|
5889
|
-
options: {
|
5890
|
-
sort: {
|
5891
|
-
enabled: true,
|
5892
|
-
},
|
5893
|
-
filter: {
|
5894
|
-
advance: {
|
5895
|
-
enabled: true,
|
5896
|
-
},
|
5897
|
-
inline: {
|
5898
|
-
enabled: true,
|
5899
|
-
},
|
5900
|
-
},
|
5901
|
-
},
|
5902
|
-
schema: {
|
5903
|
-
dataType: 'reference',
|
5904
|
-
interface: {
|
5905
|
-
type: AXPWidgetsCatalog.lookup,
|
5906
|
-
options: {
|
5907
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.sprint.name}`,
|
5908
|
-
referenceField: 'sprintId'
|
5909
|
-
}
|
5910
|
-
}
|
5911
|
-
},
|
5912
|
-
},
|
5913
5971
|
],
|
5914
|
-
columns: [
|
5972
|
+
columns: [
|
5973
|
+
{ name: 'taskId', options: { dataPath: 'task' } },
|
5974
|
+
{ name: 'sprintId', options: { dataPath: 'sprint' } }
|
5975
|
+
],
|
5915
5976
|
commands: {
|
5916
5977
|
create: {
|
5917
5978
|
execute: async (data) => {
|
@@ -5986,6 +6047,7 @@ async function sprintTaskFactory(injector) {
|
|
5986
6047
|
properties: [
|
5987
6048
|
{
|
5988
6049
|
name: 'taskId',
|
6050
|
+
dataPath: 'task',
|
5989
6051
|
layout: {
|
5990
6052
|
positions: {
|
5991
6053
|
lg: {
|
@@ -5997,6 +6059,7 @@ async function sprintTaskFactory(injector) {
|
|
5997
6059
|
},
|
5998
6060
|
{
|
5999
6061
|
name: 'sprintId',
|
6062
|
+
dataPath: 'sprint',
|
6000
6063
|
layout: {
|
6001
6064
|
positions: {
|
6002
6065
|
lg: {
|