@acorex/modules 21.0.0-next.89 → 21.0.0-next.90
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/fesm2022/acorex-modules-common.mjs +9 -9
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs → acorex-modules-conversation-acorex-modules-conversation-Dc8te-PO.mjs} +364 -237
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-Dc8te-PO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs → acorex-modules-conversation-after-message-sent.command-DxDe6o9N.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-after-message-sent.command-DcrS7_vV.mjs.map → acorex-modules-conversation-after-message-sent.command-DxDe6o9N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Dyx_n0bi.mjs} +3 -3
- package/fesm2022/{acorex-modules-conversation-assist-delegated-agent-detail-popup.component-BCkJEAmX.mjs.map → acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Dyx_n0bi.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs → acorex-modules-conversation-comments-page.component--g4ugC_L.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-B6TJhe4T.mjs.map → acorex-modules-conversation-comments-page.component--g4ugC_L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs → acorex-modules-conversation-emit-typing-indicator.command-BOldPLQ0.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-emit-typing-indicator.command-CWRdPl-S.mjs.map → acorex-modules-conversation-emit-typing-indicator.command-BOldPLQ0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs → acorex-modules-conversation-mark-conversation-unread.command-O_zPrBQ0.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-mark-conversation-unread.command-CZlsLAsb.mjs.map → acorex-modules-conversation-mark-conversation-unread.command-O_zPrBQ0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs → acorex-modules-conversation-retry-assist-response.command-DsB-CP3R.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-retry-assist-response.command-Cly1-RKt.mjs.map → acorex-modules-conversation-retry-assist-response.command-DsB-CP3R.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs → acorex-modules-conversation-send-assist-chat-message.command-g_NgPuxP.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-send-assist-chat-message.command-D5QWTKqh.mjs.map → acorex-modules-conversation-send-assist-chat-message.command-g_NgPuxP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs → acorex-modules-conversation-start-assist-chat.command-DeMmJdd6.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-start-assist-chat.command-DkSZj8fj.mjs.map → acorex-modules-conversation-start-assist-chat.command-DeMmJdd6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs → acorex-modules-conversation-sync-read-state.command-4YxdwLaE.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-sync-read-state.command-jiEsdxUB.mjs.map → acorex-modules-conversation-sync-read-state.command-4YxdwLaE.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-kph3UxDu.mjs} +94 -41
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-kph3UxDu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-gjCiELmH.mjs → acorex-modules-dashboard-management-index-rp9dgARq.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-index-gjCiELmH.mjs.map → acorex-modules-dashboard-management-index-rp9dgARq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs → acorex-modules-document-management-drive-choose.component-Dx1slMSA.mjs} +3 -3
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DyJoXajP.mjs.map → acorex-modules-document-management-drive-choose.component-Dx1slMSA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +268 -351
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZwLfZkb.mjs} +42 -21
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-BZwLfZkb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs → acorex-modules-human-capital-management-approve-leave-request.command-B_EBDijL.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-FgXkyZR_.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-B_EBDijL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-ZzWBeTv1.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-D2yCvifI.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-ZzWBeTv1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-Bd3RvlNm.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-DnmsVNwU.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-Bd3RvlNm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs → acorex-modules-human-capital-management-edit-personal-info.command-Drbi1WMd.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-personal-info.command-B0ZUfbqn.mjs.map → acorex-modules-human-capital-management-edit-personal-info.command-Drbi1WMd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs → acorex-modules-human-capital-management-edit-signature.command-CRPqnXIj.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-edit-signature.command-h2kTqSg0.mjs.map → acorex-modules-human-capital-management-edit-signature.command-CRPqnXIj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs → acorex-modules-human-capital-management-reject-leave-request.command-BC-1Kixd.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-BdrdgvbN.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-BC-1Kixd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-Caylq9Rv.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-S7Px6Y4B.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-Caylq9Rv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs → acorex-modules-human-capital-management-start-leave-request-flow.command-BsEwA1VM.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-start-leave-request-flow.command-C_tE-D_Y.mjs.map → acorex-modules-human-capital-management-start-leave-request-flow.command-BsEwA1VM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B8xK2iTn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-start-lifecycle-event-flow.command-mMP3Yy01.mjs.map → acorex-modules-human-capital-management-start-lifecycle-event-flow.command-B8xK2iTn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +707 -424
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs +115 -0
- package/fesm2022/acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-DTWxd_vG.mjs → acorex-modules-task-management-task-board.page-BMTjJlry.mjs} +3 -3
- package/fesm2022/{acorex-modules-task-management-task-board.page-DTWxd_vG.mjs.map → acorex-modules-task-management-task-board.page-BMTjJlry.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +433 -460
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-timesheet-management-report-hours-by-project.query-z38wZLKJ.mjs → acorex-modules-timesheet-management-report-hours-by-project.query-CGc1Q6aB.mjs} +2 -2
- package/fesm2022/acorex-modules-timesheet-management-report-hours-by-project.query-CGc1Q6aB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-BDfvz6fH.mjs → acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-AIcAUd3s.mjs} +2 -2
- package/fesm2022/{acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-BDfvz6fH.mjs.map → acorex-modules-timesheet-management-resolve-work-item-from-jira-issue.command-AIcAUd3s.mjs.map} +1 -1
- package/fesm2022/acorex-modules-timesheet-management.mjs +8 -8
- package/fesm2022/acorex-modules-timesheet-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs +70 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-edit.component-CFF7X1MO.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-view.component-DwC2aHVt.mjs +70 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram-widget-view.component-DwC2aHVt.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram.types-DmzV305e.mjs +195 -0
- package/fesm2022/acorex-modules-workplacesafety-management-control-hierarchy-diagram.types-DmzV305e.mjs.map +1 -0
- package/fesm2022/acorex-modules-workplacesafety-management.mjs +139 -16
- package/fesm2022/acorex-modules-workplacesafety-management.mjs.map +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-dashboard-management.d.ts +30 -11
- package/types/acorex-modules-document-management.d.ts +21 -5
- package/types/acorex-modules-human-capital-management.d.ts +4 -0
- package/types/acorex-modules-project-management.d.ts +46 -23
- package/types/acorex-modules-task-management.d.ts +80 -11
- package/types/acorex-modules-timesheet-management.d.ts +2 -2
- package/types/acorex-modules-workplacesafety-management.d.ts +7 -2
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-B_JcAHvL.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DLuhOPFz.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-VJ2NUSm1.mjs.map +0 -1
- package/fesm2022/acorex-modules-timesheet-management-report-hours-by-project.query-z38wZLKJ.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AXPBroadcastEventService, applyFilterArray, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER } from '@acorex/platform/core';
|
|
1
|
+
import { AXPBroadcastEventService, applyFilterArray, AXP_DATASOURCE_DEFINITION_PROVIDER, AXP_MODULE_MANIFEST_PROVIDER, AXP_CATALOG_SCOPE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
2
2
|
import { AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
@@ -7,7 +7,7 @@ import { InjectionToken, Injectable, inject, Injector, DestroyRef, input, signal
|
|
|
7
7
|
import { AXPSettingsService, AXP_PROTECTED_ROUTE_GUARDS, AXP_HOME_PAGES, AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
8
8
|
import { AXPSessionService, AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
9
9
|
import { AXLocaleService } from '@acorex/core/locale';
|
|
10
|
-
import { get } from 'lodash-es';
|
|
10
|
+
import { get, defaultTo } from 'lodash-es';
|
|
11
11
|
import { AXPSystemStatuses, AXPRegionalSetting, AXPPlatformScope, AXPWidgetsCatalog, AXPWidgetsList } from '@acorex/platform/contracts';
|
|
12
12
|
import * as i1 from '@acorex/components/button';
|
|
13
13
|
import { AXButtonModule, AXButtonComponent } from '@acorex/components/button';
|
|
@@ -31,7 +31,18 @@ import { AXPLayoutBaseWidgetComponent, cloneProperty, AXPWidgetGroupEnum, AXPWid
|
|
|
31
31
|
import { AXP_APPEARANCE_PROPERTY_GROUP, AXP_DATA_PATH_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
32
32
|
import { AXDataSource } from '@acorex/cdk/common';
|
|
33
33
|
import { RootConfig as RootConfig$1 } from '@acorex/modules/security-management';
|
|
34
|
-
import {
|
|
34
|
+
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
35
|
+
import { AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
36
|
+
import { createAllQueryView, entityMasterCrudActions, AXPEntityCommandScope, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterRecordActions, entityMasterDeleteAction } from '@acorex/platform/layout/entity-contracts';
|
|
37
|
+
|
|
38
|
+
/** Catalog scope for task-management–scoped workflow definitions and related catalogs. */
|
|
39
|
+
const TASK_MANAGEMENT_CATALOG_SCOPE_TASKS = 'task-management.tasks';
|
|
40
|
+
|
|
41
|
+
const AXPTaskManagementCommandKeys = {
|
|
42
|
+
Task: {
|
|
43
|
+
StartFlow: 'TaskManagement.Task:StartFlow',
|
|
44
|
+
},
|
|
45
|
+
};
|
|
35
46
|
|
|
36
47
|
//#region ---- Datasource keys ----
|
|
37
48
|
/** Task Management datasource registry names. */
|
|
@@ -84,6 +95,11 @@ var AXMTaskBoardSettings;
|
|
|
84
95
|
AXMTaskBoardSettings["SelectedTaskTypeNames"] = "taskboard.filter.selectedTaskTypeNames";
|
|
85
96
|
})(AXMTaskBoardSettings || (AXMTaskBoardSettings = {}));
|
|
86
97
|
|
|
98
|
+
/** Canonical {@link AXPEntityReference.type} values for common task subjects. */
|
|
99
|
+
const AXPTaskManagementSubjectTypes = {
|
|
100
|
+
Project: 'ProjectManagement.Project',
|
|
101
|
+
};
|
|
102
|
+
|
|
87
103
|
const config = {
|
|
88
104
|
i18n: 'task-management',
|
|
89
105
|
module: 'TaskManagement',
|
|
@@ -104,6 +120,12 @@ const RootConfig = {
|
|
|
104
120
|
titlePlural: `@${config.i18n}:task-type.plural-title`,
|
|
105
121
|
icon: 'fa-light fa-cog',
|
|
106
122
|
},
|
|
123
|
+
taskTypeCategory: {
|
|
124
|
+
name: 'TaskTypeCategory',
|
|
125
|
+
title: `@${config.i18n}:task-type-categories.title`,
|
|
126
|
+
titlePlural: `@${config.i18n}:task-type-categories.plural`,
|
|
127
|
+
icon: 'fa-light fa-layer-group',
|
|
128
|
+
},
|
|
107
129
|
taskStatus: {
|
|
108
130
|
name: 'TaskStatus',
|
|
109
131
|
title: `@${config.i18n}:task-status.individual-title`,
|
|
@@ -2551,7 +2573,7 @@ function createAppRoute() {
|
|
|
2551
2573
|
children: [
|
|
2552
2574
|
{
|
|
2553
2575
|
path: '',
|
|
2554
|
-
loadComponent: () => import('./acorex-modules-task-management-task-board.page-
|
|
2576
|
+
loadComponent: () => import('./acorex-modules-task-management-task-board.page-BMTjJlry.mjs').then((c) => c.AXMTaskBoardPage),
|
|
2555
2577
|
},
|
|
2556
2578
|
],
|
|
2557
2579
|
};
|
|
@@ -2627,6 +2649,151 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2627
2649
|
}]
|
|
2628
2650
|
}] });
|
|
2629
2651
|
|
|
2652
|
+
//#region ---- Imports ----
|
|
2653
|
+
/**
|
|
2654
|
+
* Feeds the platform task board from persisted {@link TaskManagement.Task} rows.
|
|
2655
|
+
*/
|
|
2656
|
+
class AXPTaskManagementEntityTaskProvider extends AXPWorkflowTaskProvider {
|
|
2657
|
+
constructor() {
|
|
2658
|
+
super(...arguments);
|
|
2659
|
+
this.entityService = inject(AXPEntityService);
|
|
2660
|
+
this.calendarService = inject(AXCalendarService);
|
|
2661
|
+
this.dueStatusProviderService = inject(AXPDueStatusProviderService);
|
|
2662
|
+
}
|
|
2663
|
+
getTitle() {
|
|
2664
|
+
return Promise.resolve('Tasks');
|
|
2665
|
+
}
|
|
2666
|
+
getIcon() {
|
|
2667
|
+
return Promise.resolve('fa-light fa-clipboard-check');
|
|
2668
|
+
}
|
|
2669
|
+
get name() {
|
|
2670
|
+
return 'task-management.tasks';
|
|
2671
|
+
}
|
|
2672
|
+
async getTasks(options) {
|
|
2673
|
+
const filters = [
|
|
2674
|
+
{ field: 'isArchived', operator: { type: 'equal' }, value: false },
|
|
2675
|
+
];
|
|
2676
|
+
if (options?.subjectRefTypes?.length) {
|
|
2677
|
+
filters.push({
|
|
2678
|
+
field: 'subjectRef.type',
|
|
2679
|
+
operator: { type: 'in' },
|
|
2680
|
+
value: options.subjectRefTypes,
|
|
2681
|
+
});
|
|
2682
|
+
}
|
|
2683
|
+
if (options?.subjectRefIds?.length) {
|
|
2684
|
+
filters.push({
|
|
2685
|
+
field: 'subjectRef.id',
|
|
2686
|
+
operator: { type: 'in' },
|
|
2687
|
+
value: options.subjectRefIds,
|
|
2688
|
+
});
|
|
2689
|
+
}
|
|
2690
|
+
const page = await this.entityService
|
|
2691
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.task.name)
|
|
2692
|
+
.data()
|
|
2693
|
+
.query({
|
|
2694
|
+
skip: 0,
|
|
2695
|
+
take: 1000,
|
|
2696
|
+
filter: { logic: 'and', filters },
|
|
2697
|
+
});
|
|
2698
|
+
const rows = (page.items ?? []);
|
|
2699
|
+
let items = rows.map((row) => this.mapRowToTask(row));
|
|
2700
|
+
if (options?.range?.from && options.range.end) {
|
|
2701
|
+
items = filterTasksOverlappingRange(items, options.range);
|
|
2702
|
+
}
|
|
2703
|
+
if (options?.priorities?.length) {
|
|
2704
|
+
items = items.filter((task) => matchesTaskPriorityFilter(task, options.priorities));
|
|
2705
|
+
}
|
|
2706
|
+
items = items.map((task) => this.dueStatusProviderService.attachDueStatusToTask(task));
|
|
2707
|
+
if (options?.dueStatusKeys?.length) {
|
|
2708
|
+
items = items.filter((task) => matchesTaskDueStatusFilter(task, options.dueStatusKeys));
|
|
2709
|
+
}
|
|
2710
|
+
const total = items.length;
|
|
2711
|
+
const skip = options?.skip ?? 0;
|
|
2712
|
+
const take = options?.take ?? total;
|
|
2713
|
+
return { items: items.slice(skip, skip + take), total };
|
|
2714
|
+
}
|
|
2715
|
+
async updateTasks(tasksToUpdate) {
|
|
2716
|
+
return tasksToUpdate;
|
|
2717
|
+
}
|
|
2718
|
+
async getStatuses() {
|
|
2719
|
+
return [];
|
|
2720
|
+
}
|
|
2721
|
+
async getExtraFields() {
|
|
2722
|
+
return [];
|
|
2723
|
+
}
|
|
2724
|
+
async executeCommand(command) {
|
|
2725
|
+
return { success: command.name === 'open-entity' };
|
|
2726
|
+
}
|
|
2727
|
+
async getActions(task) {
|
|
2728
|
+
if (!task?.id) {
|
|
2729
|
+
return [];
|
|
2730
|
+
}
|
|
2731
|
+
return [
|
|
2732
|
+
{
|
|
2733
|
+
name: 'open-entity',
|
|
2734
|
+
title: '@general:actions.view.title',
|
|
2735
|
+
icon: 'fa-light fa-eye',
|
|
2736
|
+
command: {
|
|
2737
|
+
name: 'open-entity',
|
|
2738
|
+
options: {
|
|
2739
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.task.name}`,
|
|
2740
|
+
id: task.id,
|
|
2741
|
+
},
|
|
2742
|
+
},
|
|
2743
|
+
},
|
|
2744
|
+
];
|
|
2745
|
+
}
|
|
2746
|
+
//#region ---- Mapping ----
|
|
2747
|
+
mapRowToTask(row) {
|
|
2748
|
+
const startDate = row.startDate ?? row.dueDate ?? this.calendarService.create(new Date()).date;
|
|
2749
|
+
const endDate = row.dueDate ?? row.startDate ?? startDate;
|
|
2750
|
+
const statusTitle = defaultTo(get(row, 'status.title'), 'Unknown');
|
|
2751
|
+
const statusId = defaultTo(get(row, 'status.id'), row.statusId);
|
|
2752
|
+
return {
|
|
2753
|
+
id: row.id,
|
|
2754
|
+
index: row.order ?? 0,
|
|
2755
|
+
title: row.title,
|
|
2756
|
+
description: row.description,
|
|
2757
|
+
status: {
|
|
2758
|
+
id: statusId,
|
|
2759
|
+
title: statusTitle,
|
|
2760
|
+
color: get(row, 'status.color'),
|
|
2761
|
+
},
|
|
2762
|
+
reporter: { id: 'system', type: 'user', fullName: 'System' },
|
|
2763
|
+
startDate,
|
|
2764
|
+
endDate,
|
|
2765
|
+
priority: this.mapPriority(row.priority),
|
|
2766
|
+
progress: row.progress,
|
|
2767
|
+
tags: row.tags,
|
|
2768
|
+
provider: this.name,
|
|
2769
|
+
data: {
|
|
2770
|
+
taskTypeId: row.taskTypeId,
|
|
2771
|
+
subjectRef: row.subjectRef,
|
|
2772
|
+
entityId: row.id,
|
|
2773
|
+
},
|
|
2774
|
+
};
|
|
2775
|
+
}
|
|
2776
|
+
mapPriority(priority) {
|
|
2777
|
+
switch (priority) {
|
|
2778
|
+
case 'low':
|
|
2779
|
+
return 'low';
|
|
2780
|
+
case 'medium':
|
|
2781
|
+
return 'normal';
|
|
2782
|
+
case 'high':
|
|
2783
|
+
return 'high';
|
|
2784
|
+
case 'critical':
|
|
2785
|
+
return 'urgent';
|
|
2786
|
+
default:
|
|
2787
|
+
return undefined;
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPTaskManagementEntityTaskProvider, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2791
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPTaskManagementEntityTaskProvider }); }
|
|
2792
|
+
}
|
|
2793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPTaskManagementEntityTaskProvider, decorators: [{
|
|
2794
|
+
type: Injectable
|
|
2795
|
+
}] });
|
|
2796
|
+
|
|
2630
2797
|
class AXPTaskBoardShortcutViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
2631
2798
|
constructor() {
|
|
2632
2799
|
super(...arguments);
|
|
@@ -2932,6 +3099,24 @@ class AXMTaskManagementMenuProvider {
|
|
|
2932
3099
|
// ],
|
|
2933
3100
|
// },
|
|
2934
3101
|
]);
|
|
3102
|
+
context.find(AXPCommonMenuKeys.Projects).addItems([
|
|
3103
|
+
{
|
|
3104
|
+
name: `${AXPTaskManagementMenuKeys.TaskTypes}:divider`,
|
|
3105
|
+
text: '',
|
|
3106
|
+
type: 'break',
|
|
3107
|
+
priority: 5,
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
name: AXPTaskManagementMenuKeys.TaskTypes,
|
|
3111
|
+
text: RootConfig.entities.taskType.titlePlural,
|
|
3112
|
+
icon: RootConfig.entities.taskType.icon,
|
|
3113
|
+
priority: 10,
|
|
3114
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.taskType.name),
|
|
3115
|
+
policy: {
|
|
3116
|
+
features: [module.name],
|
|
3117
|
+
},
|
|
3118
|
+
},
|
|
3119
|
+
]);
|
|
2935
3120
|
}
|
|
2936
3121
|
}
|
|
2937
3122
|
|
|
@@ -2946,22 +3131,24 @@ class AXMTaskManagementEntityProvider {
|
|
|
2946
3131
|
async get(moduleName, entityName) {
|
|
2947
3132
|
if (moduleName == RootConfig.module.name) {
|
|
2948
3133
|
switch (entityName) {
|
|
3134
|
+
case RootConfig.entities.taskType.name:
|
|
3135
|
+
return (await Promise.resolve().then(function () { return index$1; })).taskTypeFactory();
|
|
2949
3136
|
case RootConfig.entities.taskStatus.name:
|
|
2950
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3137
|
+
return (await Promise.resolve().then(function () { return index$3; })).taskStatusFactory();
|
|
2951
3138
|
case RootConfig.entities.task.name:
|
|
2952
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3139
|
+
return (await Promise.resolve().then(function () { return index$8; })).taskFactory();
|
|
2953
3140
|
case RootConfig.entities.taskChecklistItem.name:
|
|
2954
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3141
|
+
return (await Promise.resolve().then(function () { return index$6; })).taskChecklistItemFactory();
|
|
2955
3142
|
case RootConfig.entities.taskAssignment.name:
|
|
2956
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3143
|
+
return (await Promise.resolve().then(function () { return index$7; })).taskAssignmentFactory();
|
|
2957
3144
|
case RootConfig.entities.timeLog.name:
|
|
2958
3145
|
return (await Promise.resolve().then(function () { return index; })).timeLogFactory();
|
|
2959
3146
|
case RootConfig.entities.taskDependency.name:
|
|
2960
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3147
|
+
return (await Promise.resolve().then(function () { return index$4; })).taskDependencyFactory();
|
|
2961
3148
|
case RootConfig.entities.taskContext.name:
|
|
2962
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3149
|
+
return (await Promise.resolve().then(function () { return index$5; })).taskContextFactory();
|
|
2963
3150
|
case RootConfig.entities.taskTemplate.name:
|
|
2964
|
-
return (await Promise.resolve().then(function () { return index$
|
|
3151
|
+
return (await Promise.resolve().then(function () { return index$2; })).taskTemplateFactory();
|
|
2965
3152
|
}
|
|
2966
3153
|
}
|
|
2967
3154
|
return null;
|
|
@@ -3067,20 +3254,72 @@ class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
|
3067
3254
|
}
|
|
3068
3255
|
}
|
|
3069
3256
|
|
|
3257
|
+
//#endregion
|
|
3258
|
+
//#region ---- Constants ----
|
|
3259
|
+
const WORKFLOW_DEFINITION = 'WorkflowManagement.WorkflowDefinition';
|
|
3260
|
+
//#endregion
|
|
3261
|
+
//#region ---- Provider ----
|
|
3262
|
+
class AXMTaskManagementCatalogScopeDefinitionProvider {
|
|
3263
|
+
async items() {
|
|
3264
|
+
return [
|
|
3265
|
+
{
|
|
3266
|
+
name: TASK_MANAGEMENT_CATALOG_SCOPE_TASKS,
|
|
3267
|
+
title: '@task-management:catalog-scopes.tasks.title',
|
|
3268
|
+
description: '@task-management:catalog-scopes.tasks.description',
|
|
3269
|
+
targets: [WORKFLOW_DEFINITION],
|
|
3270
|
+
icon: 'fa-light fa-clipboard-check',
|
|
3271
|
+
cssClass: 'ax-primary-lighter',
|
|
3272
|
+
order: 20,
|
|
3273
|
+
},
|
|
3274
|
+
];
|
|
3275
|
+
}
|
|
3276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementCatalogScopeDefinitionProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3277
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementCatalogScopeDefinitionProvider }); }
|
|
3278
|
+
}
|
|
3279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementCatalogScopeDefinitionProvider, decorators: [{
|
|
3280
|
+
type: Injectable
|
|
3281
|
+
}] });
|
|
3282
|
+
|
|
3283
|
+
class AXMTaskFeatureModule {
|
|
3284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskFeatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3285
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskFeatureModule, imports: [CommonModule, AXPRuntimeModule] }); }
|
|
3286
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskFeatureModule, providers: [
|
|
3287
|
+
provideCommandSetups([
|
|
3288
|
+
{
|
|
3289
|
+
key: AXPTaskManagementCommandKeys.Task.StartFlow,
|
|
3290
|
+
command: () => import('./acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs').then((c) => c.StartTaskFlowCommand),
|
|
3291
|
+
},
|
|
3292
|
+
]),
|
|
3293
|
+
], imports: [CommonModule, AXPRuntimeModule] }); }
|
|
3294
|
+
}
|
|
3295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskFeatureModule, decorators: [{
|
|
3296
|
+
type: NgModule,
|
|
3297
|
+
args: [{
|
|
3298
|
+
imports: [CommonModule, AXPRuntimeModule],
|
|
3299
|
+
providers: [
|
|
3300
|
+
provideCommandSetups([
|
|
3301
|
+
{
|
|
3302
|
+
key: AXPTaskManagementCommandKeys.Task.StartFlow,
|
|
3303
|
+
command: () => import('./acorex-modules-task-management-start-task-flow.command-HYdQOWDe.mjs').then((c) => c.StartTaskFlowCommand),
|
|
3304
|
+
},
|
|
3305
|
+
]),
|
|
3306
|
+
],
|
|
3307
|
+
}]
|
|
3308
|
+
}] });
|
|
3309
|
+
|
|
3070
3310
|
class AXMTaskManagementModule {
|
|
3071
3311
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3072
3312
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementModule, imports: [CommonModule,
|
|
3073
3313
|
AXPTaskBoardModule,
|
|
3074
3314
|
AXMCalendarManagementModule,
|
|
3075
|
-
AXPWidgetCoreModule
|
|
3315
|
+
AXPWidgetCoreModule,
|
|
3316
|
+
AXMTaskFeatureModule] }); }
|
|
3076
3317
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementModule, providers: [
|
|
3077
|
-
// Module Manifest Provider
|
|
3078
3318
|
{
|
|
3079
3319
|
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
3080
3320
|
useValue: TaskManagementManifest,
|
|
3081
3321
|
multi: true,
|
|
3082
3322
|
},
|
|
3083
|
-
// Provider references (now using tokens)
|
|
3084
3323
|
{
|
|
3085
3324
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
3086
3325
|
useClass: AXMPermissionDefinitionProvider,
|
|
@@ -3111,10 +3350,21 @@ class AXMTaskManagementModule {
|
|
|
3111
3350
|
useClass: AXMTaskManagementWidgetsProvider,
|
|
3112
3351
|
multi: true,
|
|
3113
3352
|
},
|
|
3353
|
+
{
|
|
3354
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
3355
|
+
useClass: AXMTaskManagementCatalogScopeDefinitionProvider,
|
|
3356
|
+
multi: true,
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
provide: AXP_WORKFLOW_TASK_PROVIDER,
|
|
3360
|
+
multi: true,
|
|
3361
|
+
useClass: AXPTaskManagementEntityTaskProvider,
|
|
3362
|
+
},
|
|
3114
3363
|
], imports: [CommonModule,
|
|
3115
3364
|
AXPTaskBoardModule,
|
|
3116
3365
|
AXMCalendarManagementModule,
|
|
3117
|
-
AXPWidgetCoreModule
|
|
3366
|
+
AXPWidgetCoreModule,
|
|
3367
|
+
AXMTaskFeatureModule] }); }
|
|
3118
3368
|
}
|
|
3119
3369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMTaskManagementModule, decorators: [{
|
|
3120
3370
|
type: NgModule,
|
|
@@ -3124,15 +3374,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
3124
3374
|
AXPTaskBoardModule,
|
|
3125
3375
|
AXMCalendarManagementModule,
|
|
3126
3376
|
AXPWidgetCoreModule,
|
|
3377
|
+
AXMTaskFeatureModule,
|
|
3127
3378
|
],
|
|
3128
3379
|
providers: [
|
|
3129
|
-
// Module Manifest Provider
|
|
3130
3380
|
{
|
|
3131
3381
|
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
3132
3382
|
useValue: TaskManagementManifest,
|
|
3133
3383
|
multi: true,
|
|
3134
3384
|
},
|
|
3135
|
-
// Provider references (now using tokens)
|
|
3136
3385
|
{
|
|
3137
3386
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
3138
3387
|
useClass: AXMPermissionDefinitionProvider,
|
|
@@ -3163,6 +3412,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
3163
3412
|
useClass: AXMTaskManagementWidgetsProvider,
|
|
3164
3413
|
multi: true,
|
|
3165
3414
|
},
|
|
3415
|
+
{
|
|
3416
|
+
provide: AXP_CATALOG_SCOPE_DEFINITION_PROVIDER,
|
|
3417
|
+
useClass: AXMTaskManagementCatalogScopeDefinitionProvider,
|
|
3418
|
+
multi: true,
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
provide: AXP_WORKFLOW_TASK_PROVIDER,
|
|
3422
|
+
multi: true,
|
|
3423
|
+
useClass: AXPTaskManagementEntityTaskProvider,
|
|
3424
|
+
},
|
|
3166
3425
|
],
|
|
3167
3426
|
}]
|
|
3168
3427
|
}] });
|
|
@@ -3187,6 +3446,21 @@ async function taskFactory() {
|
|
|
3187
3446
|
{ name: 'lock' },
|
|
3188
3447
|
{ name: 'attachments', options: { accept: '.jpg,.jpeg,.png,.pdf', multiple: true, fileEditable: true } },
|
|
3189
3448
|
{ name: 'archive' },
|
|
3449
|
+
{
|
|
3450
|
+
name: 'workflow-run',
|
|
3451
|
+
options: {
|
|
3452
|
+
list: {
|
|
3453
|
+
mode: 'workflow-run',
|
|
3454
|
+
},
|
|
3455
|
+
},
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
name: 'meta-data-form',
|
|
3459
|
+
options: {
|
|
3460
|
+
path: 'taskTypeId',
|
|
3461
|
+
display: 'section',
|
|
3462
|
+
},
|
|
3463
|
+
},
|
|
3190
3464
|
],
|
|
3191
3465
|
relatedEntities: [
|
|
3192
3466
|
{
|
|
@@ -3651,63 +3925,39 @@ async function taskFactory() {
|
|
|
3651
3925
|
},
|
|
3652
3926
|
},
|
|
3653
3927
|
{
|
|
3654
|
-
name: '
|
|
3655
|
-
title: '@task-management:task.
|
|
3928
|
+
name: 'subjectRef.id',
|
|
3929
|
+
title: '@task-management:task.subject',
|
|
3656
3930
|
groupId: 'context',
|
|
3657
3931
|
options: {
|
|
3658
|
-
sort: {
|
|
3659
|
-
enabled: true,
|
|
3660
|
-
},
|
|
3932
|
+
sort: { enabled: true },
|
|
3661
3933
|
filter: {
|
|
3662
|
-
advance: {
|
|
3663
|
-
|
|
3664
|
-
},
|
|
3665
|
-
inline: {
|
|
3666
|
-
enabled: true,
|
|
3667
|
-
},
|
|
3934
|
+
advance: { enabled: true },
|
|
3935
|
+
inline: { enabled: true },
|
|
3668
3936
|
},
|
|
3669
3937
|
},
|
|
3670
3938
|
schema: {
|
|
3671
3939
|
dataType: 'string',
|
|
3672
3940
|
interface: {
|
|
3673
|
-
type: AXPWidgetsCatalog.
|
|
3941
|
+
type: AXPWidgetsCatalog.lookup,
|
|
3674
3942
|
options: {
|
|
3943
|
+
entity: "{{ context.eval('subjectRef.type') }}",
|
|
3675
3944
|
valueField: 'id',
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
{
|
|
3679
|
-
{ id: 'meeting', title: 'Meeting' },
|
|
3680
|
-
{ id: 'workflow', title: 'Workflow' },
|
|
3681
|
-
{ id: 'helpdesk', title: 'Help Desk' },
|
|
3682
|
-
{ id: null, title: 'Personal' },
|
|
3945
|
+
expose: [
|
|
3946
|
+
{ source: 'id', target: 'subjectRef.id' },
|
|
3947
|
+
{ source: 'title', target: 'subjectRef.title' },
|
|
3683
3948
|
],
|
|
3684
|
-
multiple: false,
|
|
3685
3949
|
},
|
|
3686
3950
|
},
|
|
3687
3951
|
},
|
|
3688
3952
|
},
|
|
3689
3953
|
{
|
|
3690
|
-
name: '
|
|
3691
|
-
title: '@task-management:task.
|
|
3954
|
+
name: 'subjectRef.type',
|
|
3955
|
+
title: '@task-management:task.subject-type',
|
|
3692
3956
|
groupId: 'context',
|
|
3693
|
-
options: {
|
|
3694
|
-
sort: {
|
|
3695
|
-
enabled: false,
|
|
3696
|
-
},
|
|
3697
|
-
filter: {
|
|
3698
|
-
advance: {
|
|
3699
|
-
enabled: true,
|
|
3700
|
-
},
|
|
3701
|
-
inline: {
|
|
3702
|
-
enabled: false,
|
|
3703
|
-
},
|
|
3704
|
-
},
|
|
3705
|
-
},
|
|
3706
3957
|
schema: {
|
|
3707
3958
|
dataType: 'string',
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
},
|
|
3959
|
+
visible: false,
|
|
3960
|
+
interface: { type: AXPWidgetsCatalog.text },
|
|
3711
3961
|
},
|
|
3712
3962
|
},
|
|
3713
3963
|
{
|
|
@@ -3911,20 +4161,7 @@ async function taskFactory() {
|
|
|
3911
4161
|
},
|
|
3912
4162
|
},
|
|
3913
4163
|
{
|
|
3914
|
-
name: '
|
|
3915
|
-
layout: {
|
|
3916
|
-
positions: {
|
|
3917
|
-
sm: {
|
|
3918
|
-
colSpan: 12,
|
|
3919
|
-
},
|
|
3920
|
-
md: {
|
|
3921
|
-
colSpan: 6,
|
|
3922
|
-
},
|
|
3923
|
-
},
|
|
3924
|
-
},
|
|
3925
|
-
},
|
|
3926
|
-
{
|
|
3927
|
-
name: 'contextId',
|
|
4164
|
+
name: 'subjectRef.id',
|
|
3928
4165
|
layout: {
|
|
3929
4166
|
positions: {
|
|
3930
4167
|
sm: {
|
|
@@ -4092,20 +4329,7 @@ async function taskFactory() {
|
|
|
4092
4329
|
},
|
|
4093
4330
|
},
|
|
4094
4331
|
{
|
|
4095
|
-
name: '
|
|
4096
|
-
layout: {
|
|
4097
|
-
positions: {
|
|
4098
|
-
sm: {
|
|
4099
|
-
colSpan: 12,
|
|
4100
|
-
},
|
|
4101
|
-
md: {
|
|
4102
|
-
colSpan: 6,
|
|
4103
|
-
},
|
|
4104
|
-
},
|
|
4105
|
-
},
|
|
4106
|
-
},
|
|
4107
|
-
{
|
|
4108
|
-
name: 'contextId',
|
|
4332
|
+
name: 'subjectRef.id',
|
|
4109
4333
|
layout: {
|
|
4110
4334
|
positions: {
|
|
4111
4335
|
sm: {
|
|
@@ -4309,7 +4533,7 @@ async function taskFactory() {
|
|
|
4309
4533
|
},
|
|
4310
4534
|
},
|
|
4311
4535
|
{
|
|
4312
|
-
name: '
|
|
4536
|
+
name: 'subjectRef.id',
|
|
4313
4537
|
layout: {
|
|
4314
4538
|
positions: {
|
|
4315
4539
|
lg: {
|
|
@@ -4330,17 +4554,6 @@ async function taskFactory() {
|
|
|
4330
4554
|
},
|
|
4331
4555
|
},
|
|
4332
4556
|
},
|
|
4333
|
-
{
|
|
4334
|
-
name: 'contextId',
|
|
4335
|
-
layout: {
|
|
4336
|
-
positions: {
|
|
4337
|
-
lg: {
|
|
4338
|
-
colSpan: 6,
|
|
4339
|
-
order: 14,
|
|
4340
|
-
},
|
|
4341
|
-
},
|
|
4342
|
-
},
|
|
4343
|
-
},
|
|
4344
4557
|
{
|
|
4345
4558
|
name: 'parentTaskId',
|
|
4346
4559
|
layout: {
|
|
@@ -4364,7 +4577,7 @@ async function taskFactory() {
|
|
|
4364
4577
|
],
|
|
4365
4578
|
},
|
|
4366
4579
|
list: {
|
|
4367
|
-
actions: [...entityMasterCrudActions()
|
|
4580
|
+
actions: [...entityMasterCrudActions()],
|
|
4368
4581
|
views: [
|
|
4369
4582
|
createAllQueryView({
|
|
4370
4583
|
sorts: [
|
|
@@ -4380,7 +4593,7 @@ async function taskFactory() {
|
|
|
4380
4593
|
return entityDef;
|
|
4381
4594
|
}
|
|
4382
4595
|
|
|
4383
|
-
var index$
|
|
4596
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
4384
4597
|
__proto__: null,
|
|
4385
4598
|
taskFactory: taskFactory
|
|
4386
4599
|
});
|
|
@@ -4699,7 +4912,7 @@ async function taskAssignmentFactory() {
|
|
|
4699
4912
|
return entityDef;
|
|
4700
4913
|
}
|
|
4701
4914
|
|
|
4702
|
-
var index$
|
|
4915
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
4703
4916
|
__proto__: null,
|
|
4704
4917
|
taskAssignmentFactory: taskAssignmentFactory
|
|
4705
4918
|
});
|
|
@@ -5185,7 +5398,7 @@ async function taskChecklistItemFactory() {
|
|
|
5185
5398
|
return entityDef;
|
|
5186
5399
|
}
|
|
5187
5400
|
|
|
5188
|
-
var index$
|
|
5401
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
5189
5402
|
__proto__: null,
|
|
5190
5403
|
taskChecklistItemFactory: taskChecklistItemFactory
|
|
5191
5404
|
});
|
|
@@ -5430,7 +5643,7 @@ async function taskContextFactory() {
|
|
|
5430
5643
|
return entityDef;
|
|
5431
5644
|
}
|
|
5432
5645
|
|
|
5433
|
-
var index$
|
|
5646
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
5434
5647
|
__proto__: null,
|
|
5435
5648
|
taskContextFactory: taskContextFactory
|
|
5436
5649
|
});
|
|
@@ -5696,7 +5909,7 @@ async function taskDependencyFactory() {
|
|
|
5696
5909
|
return entityDef;
|
|
5697
5910
|
}
|
|
5698
5911
|
|
|
5699
|
-
var index$
|
|
5912
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
5700
5913
|
__proto__: null,
|
|
5701
5914
|
taskDependencyFactory: taskDependencyFactory
|
|
5702
5915
|
});
|
|
@@ -6246,7 +6459,7 @@ async function taskStatusFactory() {
|
|
|
6246
6459
|
return entityDef;
|
|
6247
6460
|
}
|
|
6248
6461
|
|
|
6249
|
-
var index$
|
|
6462
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
6250
6463
|
__proto__: null,
|
|
6251
6464
|
taskStatusFactory: taskStatusFactory
|
|
6252
6465
|
});
|
|
@@ -6612,7 +6825,7 @@ async function taskTemplateFactory() {
|
|
|
6612
6825
|
actions: [entityMasterDeleteAction()],
|
|
6613
6826
|
},
|
|
6614
6827
|
list: {
|
|
6615
|
-
actions: [...entityMasterCrudActions()
|
|
6828
|
+
actions: [...entityMasterCrudActions()],
|
|
6616
6829
|
views: [
|
|
6617
6830
|
createAllQueryView({
|
|
6618
6831
|
sorts: [{ name: 'title', dir: 'asc' }],
|
|
@@ -6625,13 +6838,12 @@ async function taskTemplateFactory() {
|
|
|
6625
6838
|
return entityDef;
|
|
6626
6839
|
}
|
|
6627
6840
|
|
|
6628
|
-
var index$
|
|
6841
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
6629
6842
|
__proto__: null,
|
|
6630
6843
|
taskTemplateFactory: taskTemplateFactory
|
|
6631
6844
|
});
|
|
6632
6845
|
|
|
6633
6846
|
async function taskTypeFactory() {
|
|
6634
|
-
const i18n = RootConfig.config.i18n;
|
|
6635
6847
|
const entityDef = {
|
|
6636
6848
|
module: RootConfig.module.name,
|
|
6637
6849
|
name: RootConfig.entities.taskType.name,
|
|
@@ -6650,14 +6862,30 @@ async function taskTypeFactory() {
|
|
|
6650
6862
|
{
|
|
6651
6863
|
entity: `${RootConfig.module.name}.${RootConfig.entities.taskStatus.name}`,
|
|
6652
6864
|
title: RootConfig.entities.taskStatus.titlePlural,
|
|
6865
|
+
icon: RootConfig.entities.taskStatus.icon,
|
|
6653
6866
|
columns: ['name', 'title', 'color', 'isDefault', 'isFinal', 'order'],
|
|
6654
6867
|
conditions: [entityDetailsSimpleCondition('taskTypeId')],
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6868
|
+
actions: [
|
|
6869
|
+
{
|
|
6870
|
+
title: '@general:actions.create.title',
|
|
6871
|
+
command: {
|
|
6872
|
+
name: 'Entity:Create',
|
|
6873
|
+
options: {
|
|
6874
|
+
process: {
|
|
6875
|
+
redirect: false,
|
|
6876
|
+
canCreateNewOne: true,
|
|
6877
|
+
data: { taskTypeId: '{{ context.eval("id") }}' },
|
|
6878
|
+
},
|
|
6879
|
+
},
|
|
6880
|
+
},
|
|
6881
|
+
priority: 'primary',
|
|
6882
|
+
type: 'create',
|
|
6883
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
6884
|
+
},
|
|
6885
|
+
...entityDetailsCrudActions('taskTypeId', { create: false }),
|
|
6886
|
+
],
|
|
6887
|
+
excludeProperties: ['taskTypeId'],
|
|
6888
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
6661
6889
|
},
|
|
6662
6890
|
],
|
|
6663
6891
|
//#endregion
|
|
@@ -6666,6 +6894,20 @@ async function taskTypeFactory() {
|
|
|
6666
6894
|
{ name: 'color' },
|
|
6667
6895
|
{ name: 'icon' },
|
|
6668
6896
|
{ name: 'clone' },
|
|
6897
|
+
{
|
|
6898
|
+
name: 'category',
|
|
6899
|
+
options: {
|
|
6900
|
+
appearance: { icon: true, color: true },
|
|
6901
|
+
metaData: { enabled: true },
|
|
6902
|
+
},
|
|
6903
|
+
},
|
|
6904
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
6905
|
+
{
|
|
6906
|
+
name: 'workflow-selector',
|
|
6907
|
+
options: {
|
|
6908
|
+
catalogScopeKeys: [TASK_MANAGEMENT_CATALOG_SCOPE_TASKS],
|
|
6909
|
+
},
|
|
6910
|
+
},
|
|
6669
6911
|
],
|
|
6670
6912
|
//#region ---- Property Groups ----
|
|
6671
6913
|
groups: [
|
|
@@ -6673,23 +6915,14 @@ async function taskTypeFactory() {
|
|
|
6673
6915
|
id: 'basic-info',
|
|
6674
6916
|
title: '@general:terms.interface.basic-info',
|
|
6675
6917
|
},
|
|
6676
|
-
{
|
|
6677
|
-
id: 'configuration',
|
|
6678
|
-
title: '@task-management:task-type.configuration',
|
|
6679
|
-
},
|
|
6680
6918
|
{
|
|
6681
6919
|
id: 'features',
|
|
6682
6920
|
title: '@task-management:task-type.features.title',
|
|
6683
6921
|
},
|
|
6684
|
-
{
|
|
6685
|
-
id: 'settings',
|
|
6686
|
-
title: '@general:terms.interface.settings',
|
|
6687
|
-
},
|
|
6688
6922
|
],
|
|
6689
6923
|
//#endregion
|
|
6690
6924
|
//#region ---- Properties ----
|
|
6691
6925
|
properties: [
|
|
6692
|
-
// Basic Information
|
|
6693
6926
|
{
|
|
6694
6927
|
name: 'title',
|
|
6695
6928
|
title: '@general:terms.common.title',
|
|
@@ -6712,28 +6945,6 @@ async function taskTypeFactory() {
|
|
|
6712
6945
|
},
|
|
6713
6946
|
validations: [{ rule: 'required' }],
|
|
6714
6947
|
},
|
|
6715
|
-
{
|
|
6716
|
-
name: 'name',
|
|
6717
|
-
title: '@general:terms.common.name',
|
|
6718
|
-
groupId: 'basic-info',
|
|
6719
|
-
options: {
|
|
6720
|
-
sort: { enabled: true },
|
|
6721
|
-
filter: {
|
|
6722
|
-
advance: { enabled: true },
|
|
6723
|
-
inline: { enabled: true },
|
|
6724
|
-
},
|
|
6725
|
-
},
|
|
6726
|
-
schema: {
|
|
6727
|
-
dataType: 'string',
|
|
6728
|
-
interface: {
|
|
6729
|
-
type: AXPWidgetsCatalog.text,
|
|
6730
|
-
options: {
|
|
6731
|
-
placeholder: 'Enter task type name (system identifier)',
|
|
6732
|
-
},
|
|
6733
|
-
},
|
|
6734
|
-
},
|
|
6735
|
-
validations: [{ rule: 'required' }],
|
|
6736
|
-
},
|
|
6737
6948
|
{
|
|
6738
6949
|
name: 'description',
|
|
6739
6950
|
title: '@general:terms.common.description',
|
|
@@ -6757,9 +6968,9 @@ async function taskTypeFactory() {
|
|
|
6757
6968
|
},
|
|
6758
6969
|
},
|
|
6759
6970
|
{
|
|
6760
|
-
name: '
|
|
6761
|
-
title: '@task-management:task-type.
|
|
6762
|
-
groupId: '
|
|
6971
|
+
name: 'hasChecklist',
|
|
6972
|
+
title: '@task-management:task-type.features.has-checklist',
|
|
6973
|
+
groupId: 'features',
|
|
6763
6974
|
options: {
|
|
6764
6975
|
sort: { enabled: false },
|
|
6765
6976
|
filter: {
|
|
@@ -6768,33 +6979,7 @@ async function taskTypeFactory() {
|
|
|
6768
6979
|
},
|
|
6769
6980
|
},
|
|
6770
6981
|
schema: {
|
|
6771
|
-
dataType: '
|
|
6772
|
-
interface: {
|
|
6773
|
-
type: AXPWidgetsCatalog.lookup,
|
|
6774
|
-
options: {
|
|
6775
|
-
entity: 'FormTemplateManagement.FormTemplate',
|
|
6776
|
-
expose: [
|
|
6777
|
-
{ source: 'id', target: 'formTemplate.id' },
|
|
6778
|
-
{ source: 'title', target: 'formTemplate.title' },
|
|
6779
|
-
],
|
|
6780
|
-
},
|
|
6781
|
-
},
|
|
6782
|
-
},
|
|
6783
|
-
},
|
|
6784
|
-
// Features
|
|
6785
|
-
{
|
|
6786
|
-
name: 'hasChecklist',
|
|
6787
|
-
title: '@task-management:task-type.features.has-checklist',
|
|
6788
|
-
groupId: 'features',
|
|
6789
|
-
options: {
|
|
6790
|
-
sort: { enabled: false },
|
|
6791
|
-
filter: {
|
|
6792
|
-
advance: { enabled: true },
|
|
6793
|
-
inline: { enabled: false },
|
|
6794
|
-
},
|
|
6795
|
-
},
|
|
6796
|
-
schema: {
|
|
6797
|
-
dataType: 'boolean',
|
|
6982
|
+
dataType: 'boolean',
|
|
6798
6983
|
interface: {
|
|
6799
6984
|
type: AXPWidgetsCatalog.toggle,
|
|
6800
6985
|
},
|
|
@@ -6819,8 +7004,8 @@ async function taskTypeFactory() {
|
|
|
6819
7004
|
},
|
|
6820
7005
|
},
|
|
6821
7006
|
{
|
|
6822
|
-
name: '
|
|
6823
|
-
title: '@task-management:task-type.features.has-
|
|
7007
|
+
name: 'hasDependencies',
|
|
7008
|
+
title: '@task-management:task-type.features.has-dependencies',
|
|
6824
7009
|
groupId: 'features',
|
|
6825
7010
|
options: {
|
|
6826
7011
|
sort: { enabled: false },
|
|
@@ -6837,8 +7022,8 @@ async function taskTypeFactory() {
|
|
|
6837
7022
|
},
|
|
6838
7023
|
},
|
|
6839
7024
|
{
|
|
6840
|
-
name: '
|
|
6841
|
-
title: '@task-management:task-type.features.has-
|
|
7025
|
+
name: 'hasSubtasks',
|
|
7026
|
+
title: '@task-management:task-type.features.has-subtasks',
|
|
6842
7027
|
groupId: 'features',
|
|
6843
7028
|
options: {
|
|
6844
7029
|
sort: { enabled: false },
|
|
@@ -6855,8 +7040,8 @@ async function taskTypeFactory() {
|
|
|
6855
7040
|
},
|
|
6856
7041
|
},
|
|
6857
7042
|
{
|
|
6858
|
-
name: '
|
|
6859
|
-
title: '@task-management:task-type.features.has-
|
|
7043
|
+
name: 'hasAttachments',
|
|
7044
|
+
title: '@task-management:task-type.features.has-attachments',
|
|
6860
7045
|
groupId: 'features',
|
|
6861
7046
|
options: {
|
|
6862
7047
|
sort: { enabled: false },
|
|
@@ -6872,38 +7057,57 @@ async function taskTypeFactory() {
|
|
|
6872
7057
|
},
|
|
6873
7058
|
},
|
|
6874
7059
|
},
|
|
6875
|
-
// Settings
|
|
6876
7060
|
{
|
|
6877
|
-
name: '
|
|
6878
|
-
title: '@task-management:task-type.
|
|
6879
|
-
groupId: '
|
|
7061
|
+
name: 'documentTypeIds',
|
|
7062
|
+
title: '@task-management:task-type.document-types',
|
|
7063
|
+
groupId: 'features',
|
|
6880
7064
|
options: {
|
|
6881
7065
|
sort: { enabled: false },
|
|
6882
|
-
filter: {
|
|
6883
|
-
advance: { enabled: true },
|
|
6884
|
-
inline: { enabled: false },
|
|
6885
|
-
},
|
|
7066
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
6886
7067
|
},
|
|
6887
7068
|
schema: {
|
|
6888
7069
|
dataType: 'object',
|
|
7070
|
+
visible: '{{ context.eval("hasAttachments") }}',
|
|
6889
7071
|
interface: {
|
|
6890
7072
|
type: AXPWidgetsCatalog.lookup,
|
|
6891
7073
|
options: {
|
|
6892
|
-
entity:
|
|
7074
|
+
entity: 'DocumentManagement.DocumentType',
|
|
7075
|
+
textField: 'title',
|
|
7076
|
+
valueField: 'id',
|
|
7077
|
+
columns: ['name', 'title'],
|
|
7078
|
+
multiple: true,
|
|
6893
7079
|
expose: [
|
|
6894
|
-
{ source: 'id', target: '
|
|
6895
|
-
{ source: '
|
|
7080
|
+
{ source: 'id', target: 'documentTypes.{id}' },
|
|
7081
|
+
{ source: 'name', target: 'documentTypes.{name}' },
|
|
7082
|
+
{ source: 'title', target: 'documentTypes.{title}' },
|
|
6896
7083
|
],
|
|
6897
7084
|
},
|
|
6898
7085
|
},
|
|
6899
7086
|
},
|
|
6900
7087
|
},
|
|
7088
|
+
{
|
|
7089
|
+
name: 'documentTypes',
|
|
7090
|
+
title: '@task-management:task-type.document-types',
|
|
7091
|
+
groupId: 'features',
|
|
7092
|
+
schema: {
|
|
7093
|
+
dataType: 'array',
|
|
7094
|
+
visible: false,
|
|
7095
|
+
interface: {
|
|
7096
|
+
type: AXPWidgetsCatalog.text,
|
|
7097
|
+
},
|
|
7098
|
+
},
|
|
7099
|
+
options: {
|
|
7100
|
+
sort: { enabled: false },
|
|
7101
|
+
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
7102
|
+
},
|
|
7103
|
+
},
|
|
6901
7104
|
],
|
|
6902
7105
|
//#endregion
|
|
6903
7106
|
//#region ---- Columns ----
|
|
6904
7107
|
columns: [
|
|
6905
7108
|
{ name: 'title' },
|
|
6906
|
-
{ name: '
|
|
7109
|
+
{ name: 'description' },
|
|
7110
|
+
{ name: 'documentTypeIds', options: { dataPath: 'documentTypes' } },
|
|
6907
7111
|
{ name: 'hasChecklist' },
|
|
6908
7112
|
{ name: 'hasTimeTracking' },
|
|
6909
7113
|
{ name: 'hasAttachments' },
|
|
@@ -6913,173 +7117,29 @@ async function taskTypeFactory() {
|
|
|
6913
7117
|
interfaces: {
|
|
6914
7118
|
master: {
|
|
6915
7119
|
create: {
|
|
6916
|
-
sections: [{ id: 'basic-info' }, { id: '
|
|
7120
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
6917
7121
|
properties: [
|
|
6918
|
-
{
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
},
|
|
6926
|
-
{
|
|
6927
|
-
name: 'name',
|
|
6928
|
-
layout: {
|
|
6929
|
-
positions: {
|
|
6930
|
-
lg: { colSpan: 6, order: 2 },
|
|
6931
|
-
},
|
|
6932
|
-
},
|
|
6933
|
-
},
|
|
6934
|
-
{
|
|
6935
|
-
name: 'description',
|
|
6936
|
-
layout: {
|
|
6937
|
-
positions: {
|
|
6938
|
-
lg: { colSpan: 12, order: 3 },
|
|
6939
|
-
},
|
|
6940
|
-
},
|
|
6941
|
-
},
|
|
6942
|
-
{
|
|
6943
|
-
name: 'allowedContextTypes',
|
|
6944
|
-
layout: {
|
|
6945
|
-
positions: {
|
|
6946
|
-
lg: { colSpan: 6, order: 7 },
|
|
6947
|
-
},
|
|
6948
|
-
},
|
|
6949
|
-
},
|
|
6950
|
-
{
|
|
6951
|
-
name: 'formTemplateId',
|
|
6952
|
-
layout: {
|
|
6953
|
-
positions: {
|
|
6954
|
-
lg: { colSpan: 12, order: 8 },
|
|
6955
|
-
},
|
|
6956
|
-
},
|
|
6957
|
-
},
|
|
6958
|
-
{
|
|
6959
|
-
name: 'hasChecklist',
|
|
6960
|
-
layout: {
|
|
6961
|
-
positions: {
|
|
6962
|
-
lg: { colSpan: 3, order: 9 },
|
|
6963
|
-
},
|
|
6964
|
-
},
|
|
6965
|
-
},
|
|
6966
|
-
{
|
|
6967
|
-
name: 'hasTimeTracking',
|
|
6968
|
-
layout: {
|
|
6969
|
-
positions: {
|
|
6970
|
-
lg: { colSpan: 3, order: 10 },
|
|
6971
|
-
},
|
|
6972
|
-
},
|
|
6973
|
-
},
|
|
6974
|
-
{
|
|
6975
|
-
name: 'hasAttachments',
|
|
6976
|
-
layout: {
|
|
6977
|
-
positions: {
|
|
6978
|
-
lg: { colSpan: 3, order: 11 },
|
|
6979
|
-
},
|
|
6980
|
-
},
|
|
6981
|
-
},
|
|
6982
|
-
{
|
|
6983
|
-
name: 'hasDependencies',
|
|
6984
|
-
layout: {
|
|
6985
|
-
positions: {
|
|
6986
|
-
lg: { colSpan: 3, order: 12 },
|
|
6987
|
-
},
|
|
6988
|
-
},
|
|
6989
|
-
},
|
|
6990
|
-
{
|
|
6991
|
-
name: 'defaultStatusId',
|
|
6992
|
-
layout: {
|
|
6993
|
-
positions: {
|
|
6994
|
-
lg: { colSpan: 12, order: 13 },
|
|
6995
|
-
},
|
|
6996
|
-
},
|
|
6997
|
-
},
|
|
7122
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
7123
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
7124
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
7125
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
7126
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
7127
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
7128
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
7129
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
6998
7130
|
],
|
|
6999
7131
|
},
|
|
7000
7132
|
update: {
|
|
7001
|
-
sections: [{ id: 'basic-info' }, { id: '
|
|
7133
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
7002
7134
|
properties: [
|
|
7003
|
-
{
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
},
|
|
7011
|
-
{
|
|
7012
|
-
name: 'name',
|
|
7013
|
-
layout: {
|
|
7014
|
-
positions: {
|
|
7015
|
-
lg: { colSpan: 6, order: 2 },
|
|
7016
|
-
},
|
|
7017
|
-
},
|
|
7018
|
-
},
|
|
7019
|
-
{
|
|
7020
|
-
name: 'description',
|
|
7021
|
-
layout: {
|
|
7022
|
-
positions: {
|
|
7023
|
-
lg: { colSpan: 12, order: 3 },
|
|
7024
|
-
},
|
|
7025
|
-
},
|
|
7026
|
-
},
|
|
7027
|
-
{
|
|
7028
|
-
name: 'allowedContextTypes',
|
|
7029
|
-
layout: {
|
|
7030
|
-
positions: {
|
|
7031
|
-
lg: { colSpan: 6, order: 7 },
|
|
7032
|
-
},
|
|
7033
|
-
},
|
|
7034
|
-
},
|
|
7035
|
-
{
|
|
7036
|
-
name: 'formTemplateId',
|
|
7037
|
-
layout: {
|
|
7038
|
-
positions: {
|
|
7039
|
-
lg: { colSpan: 12, order: 8 },
|
|
7040
|
-
},
|
|
7041
|
-
},
|
|
7042
|
-
},
|
|
7043
|
-
{
|
|
7044
|
-
name: 'hasChecklist',
|
|
7045
|
-
layout: {
|
|
7046
|
-
positions: {
|
|
7047
|
-
lg: { colSpan: 3, order: 9 },
|
|
7048
|
-
},
|
|
7049
|
-
},
|
|
7050
|
-
},
|
|
7051
|
-
{
|
|
7052
|
-
name: 'hasTimeTracking',
|
|
7053
|
-
layout: {
|
|
7054
|
-
positions: {
|
|
7055
|
-
lg: { colSpan: 3, order: 10 },
|
|
7056
|
-
},
|
|
7057
|
-
},
|
|
7058
|
-
},
|
|
7059
|
-
{
|
|
7060
|
-
name: 'hasAttachments',
|
|
7061
|
-
layout: {
|
|
7062
|
-
positions: {
|
|
7063
|
-
lg: { colSpan: 3, order: 11 },
|
|
7064
|
-
},
|
|
7065
|
-
},
|
|
7066
|
-
},
|
|
7067
|
-
{
|
|
7068
|
-
name: 'hasDependencies',
|
|
7069
|
-
layout: {
|
|
7070
|
-
positions: {
|
|
7071
|
-
lg: { colSpan: 3, order: 12 },
|
|
7072
|
-
},
|
|
7073
|
-
},
|
|
7074
|
-
},
|
|
7075
|
-
{
|
|
7076
|
-
name: 'defaultStatusId',
|
|
7077
|
-
layout: {
|
|
7078
|
-
positions: {
|
|
7079
|
-
lg: { colSpan: 12, order: 13 },
|
|
7080
|
-
},
|
|
7081
|
-
},
|
|
7082
|
-
},
|
|
7135
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
7136
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
7137
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
7138
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
7139
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
7140
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
7141
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
7142
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
7083
7143
|
],
|
|
7084
7144
|
},
|
|
7085
7145
|
single: {
|
|
@@ -7087,123 +7147,29 @@ async function taskTypeFactory() {
|
|
|
7087
7147
|
sections: [
|
|
7088
7148
|
{
|
|
7089
7149
|
id: 'basic-info',
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
lg: { colSpan: 6 },
|
|
7093
|
-
},
|
|
7094
|
-
},
|
|
7095
|
-
},
|
|
7096
|
-
{
|
|
7097
|
-
id: 'configuration',
|
|
7098
|
-
layout: {
|
|
7099
|
-
positions: {
|
|
7100
|
-
lg: { colSpan: 6 },
|
|
7101
|
-
},
|
|
7102
|
-
},
|
|
7150
|
+
order: 1,
|
|
7151
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
7103
7152
|
},
|
|
7104
7153
|
{
|
|
7105
7154
|
id: 'features',
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
lg: { colSpan: 6 },
|
|
7109
|
-
},
|
|
7110
|
-
},
|
|
7111
|
-
},
|
|
7112
|
-
{
|
|
7113
|
-
id: 'settings',
|
|
7114
|
-
layout: {
|
|
7115
|
-
positions: {
|
|
7116
|
-
lg: { colSpan: 6 },
|
|
7117
|
-
},
|
|
7118
|
-
},
|
|
7155
|
+
order: 2,
|
|
7156
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
7119
7157
|
},
|
|
7120
7158
|
],
|
|
7121
7159
|
properties: [
|
|
7122
|
-
{
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
},
|
|
7130
|
-
{
|
|
7131
|
-
name: 'name',
|
|
7132
|
-
layout: {
|
|
7133
|
-
positions: {
|
|
7134
|
-
lg: { colSpan: 12, order: 2 },
|
|
7135
|
-
},
|
|
7136
|
-
},
|
|
7137
|
-
},
|
|
7138
|
-
{
|
|
7139
|
-
name: 'description',
|
|
7140
|
-
layout: {
|
|
7141
|
-
positions: {
|
|
7142
|
-
lg: { colSpan: 12, order: 3 },
|
|
7143
|
-
},
|
|
7144
|
-
},
|
|
7145
|
-
},
|
|
7146
|
-
{
|
|
7147
|
-
name: 'allowedContextTypes',
|
|
7148
|
-
layout: {
|
|
7149
|
-
positions: {
|
|
7150
|
-
lg: { colSpan: 6, order: 7 },
|
|
7151
|
-
},
|
|
7152
|
-
},
|
|
7153
|
-
},
|
|
7154
|
-
{
|
|
7155
|
-
name: 'formTemplateId',
|
|
7156
|
-
layout: {
|
|
7157
|
-
positions: {
|
|
7158
|
-
lg: { colSpan: 12, order: 8 },
|
|
7159
|
-
},
|
|
7160
|
-
},
|
|
7161
|
-
},
|
|
7162
|
-
{
|
|
7163
|
-
name: 'hasChecklist',
|
|
7164
|
-
layout: {
|
|
7165
|
-
positions: {
|
|
7166
|
-
lg: { colSpan: 3, order: 9 },
|
|
7167
|
-
},
|
|
7168
|
-
},
|
|
7169
|
-
},
|
|
7170
|
-
{
|
|
7171
|
-
name: 'hasTimeTracking',
|
|
7172
|
-
layout: {
|
|
7173
|
-
positions: {
|
|
7174
|
-
lg: { colSpan: 3, order: 10 },
|
|
7175
|
-
},
|
|
7176
|
-
},
|
|
7177
|
-
},
|
|
7178
|
-
{
|
|
7179
|
-
name: 'hasAttachments',
|
|
7180
|
-
layout: {
|
|
7181
|
-
positions: {
|
|
7182
|
-
lg: { colSpan: 3, order: 11 },
|
|
7183
|
-
},
|
|
7184
|
-
},
|
|
7185
|
-
},
|
|
7186
|
-
{
|
|
7187
|
-
name: 'hasDependencies',
|
|
7188
|
-
layout: {
|
|
7189
|
-
positions: {
|
|
7190
|
-
lg: { colSpan: 3, order: 12 },
|
|
7191
|
-
},
|
|
7192
|
-
},
|
|
7193
|
-
},
|
|
7194
|
-
{
|
|
7195
|
-
name: 'defaultStatusId',
|
|
7196
|
-
layout: {
|
|
7197
|
-
positions: {
|
|
7198
|
-
lg: { colSpan: 12, order: 13 },
|
|
7199
|
-
},
|
|
7200
|
-
},
|
|
7201
|
-
},
|
|
7160
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
7161
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
7162
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
7163
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
7164
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
7165
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
7166
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
7167
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
7202
7168
|
],
|
|
7203
7169
|
actions: [entityMasterDeleteAction()],
|
|
7204
7170
|
},
|
|
7205
7171
|
list: {
|
|
7206
|
-
actions: [...entityMasterCrudActions()
|
|
7172
|
+
actions: [...entityMasterCrudActions()],
|
|
7207
7173
|
views: [
|
|
7208
7174
|
createAllQueryView({
|
|
7209
7175
|
sorts: [{ name: 'title', dir: 'asc' }],
|
|
@@ -7217,6 +7183,13 @@ async function taskTypeFactory() {
|
|
|
7217
7183
|
return entityDef;
|
|
7218
7184
|
}
|
|
7219
7185
|
|
|
7186
|
+
//#endregion
|
|
7187
|
+
|
|
7188
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
7189
|
+
__proto__: null,
|
|
7190
|
+
taskTypeFactory: taskTypeFactory
|
|
7191
|
+
});
|
|
7192
|
+
|
|
7220
7193
|
async function timeLogFactory() {
|
|
7221
7194
|
const i18n = RootConfig.config.i18n;
|
|
7222
7195
|
const entityDef = {
|
|
@@ -7613,5 +7586,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
7613
7586
|
* Generated bundle index. Do not edit.
|
|
7614
7587
|
*/
|
|
7615
7588
|
|
|
7616
|
-
export { AXMDefaultDueStatusProvider, AXMPermissionsKeys, AXMSearchCommandProvider, AXMSettingProvider, AXMTaskBoardDefaultTaskPopoverComponent, AXMTaskBoardSettings, AXMTaskBoardTaskPopoverOverlayService, AXMTaskBoardTaskPopoverShellComponent, AXMTaskManagementDataSourceKeys, AXMTaskManagementEntityProvider, AXMTaskManagementMenuProvider, AXMTaskManagementModule, AXM_TASK_BOARD_UNASSIGNED_ASSIGNEE_ID, AXM_TASK_VIEW_ALL_PERMISSION, AXPDueStatusProvider, AXPDueStatusProviderService, AXPTASK_PRIORITIES, AXPTaskBoardModule, AXPTaskBoardService, AXPTaskBoardShortcut, AXPTaskBoardShortcutViewComponent, AXPTaskBoardWidget, AXPTaskBoardWidgetViewComponent, AXPTaskManagementMenuKeys, AXPTaskPopoverComponent, AXPTaskTypeDataSourceDefinition, AXPWorkflowTaskProvider, AXP_DUE_STATUS_PROVIDERS, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_BOARD, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_SHORTCUT, AXP_TASK_MANAGEMENT_DASHBOARD_WIDGET_CATEGORY, AXP_WORKFLOW_TASK_PROVIDER, AXP_WORKFLOW_TASK_PROVIDER_RESOLVER, RootConfig, TASK_BOARD_GRID_ROW_ACTION_COLUMN_WIDTH, TASK_BOARD_GRID_ROW_ACTION_ITEMS, TASK_BOARD_GRID_ROW_VIEW_ACTION, TASK_PRIORITY_ORDER, buildTaskAccentCssClass, buildTaskAccentSurfaceCssClass, buildTaskSurfaceCssClass, canViewAllTaskAssignees, enrichTaskBoardTasks, filterTasksOverlappingRange, formatTaskI18nParamsForTranslate, getDefaultDueStatusDefinitions, getTaskDueStatusKey, getTaskPriorityColor, getTaskPriorityFilterKey, getTaskTranslationKey, hasTaskBoardSavedAssigneePreference, isTaskBoardUnassignedAssigneeId, mapEntityStatusColorForBadge, matchesTaskBoardAssigneeFilter, matchesTaskBoardAssigneeUserIdsFilter, matchesTaskDueStatusFilter, matchesTaskPriorityFilter, normalizePriorityFilterKey, normalizePriorityFilterKeys, normalizeTaskBoardAssigneeIds, normalizeTaskPriority, resolveDefaultTaskStatusColor, resolveDueStatusFromDefinitions, resolveTaskBoardAccentColor, resolveTaskBoardCalendarPlacement, resolveTaskBoardCurrentUserAssigneeItem, resolveTaskBoardSavedAssigneeIds, resolveTaskBoardSchedulerLabels, resolveTaskBoardSchedulingRange, resolveTaskBoardStatusColor, resolveTaskPopoverComponent, taskAssignmentFactory, taskChecklistItemFactory, taskContextFactory, taskDependencyFactory, taskFactory, taskOverlapsFilterRange, taskStatusFactory, taskTemplateFactory, taskTypeFactory, timeLogFactory };
|
|
7589
|
+
export { AXMDefaultDueStatusProvider, AXMPermissionsKeys, AXMSearchCommandProvider, AXMSettingProvider, AXMTaskBoardDefaultTaskPopoverComponent, AXMTaskBoardSettings, AXMTaskBoardTaskPopoverOverlayService, AXMTaskBoardTaskPopoverShellComponent, AXMTaskManagementDataSourceKeys, AXMTaskManagementEntityProvider, AXMTaskManagementMenuProvider, AXMTaskManagementModule, AXM_TASK_BOARD_UNASSIGNED_ASSIGNEE_ID, AXM_TASK_VIEW_ALL_PERMISSION, AXPDueStatusProvider, AXPDueStatusProviderService, AXPTASK_PRIORITIES, AXPTaskBoardModule, AXPTaskBoardService, AXPTaskBoardShortcut, AXPTaskBoardShortcutViewComponent, AXPTaskBoardWidget, AXPTaskBoardWidgetViewComponent, AXPTaskManagementCommandKeys, AXPTaskManagementEntityTaskProvider, AXPTaskManagementMenuKeys, AXPTaskManagementSubjectTypes, AXPTaskPopoverComponent, AXPTaskTypeDataSourceDefinition, AXPWorkflowTaskProvider, AXP_DUE_STATUS_PROVIDERS, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_BOARD, AXP_TASK_MANAGEMENT_DASHBOARD_SUB_SHORTCUT, AXP_TASK_MANAGEMENT_DASHBOARD_WIDGET_CATEGORY, AXP_WORKFLOW_TASK_PROVIDER, AXP_WORKFLOW_TASK_PROVIDER_RESOLVER, RootConfig, TASK_BOARD_GRID_ROW_ACTION_COLUMN_WIDTH, TASK_BOARD_GRID_ROW_ACTION_ITEMS, TASK_BOARD_GRID_ROW_VIEW_ACTION, TASK_MANAGEMENT_CATALOG_SCOPE_TASKS, TASK_PRIORITY_ORDER, buildTaskAccentCssClass, buildTaskAccentSurfaceCssClass, buildTaskSurfaceCssClass, canViewAllTaskAssignees, enrichTaskBoardTasks, filterTasksOverlappingRange, formatTaskI18nParamsForTranslate, getDefaultDueStatusDefinitions, getTaskDueStatusKey, getTaskPriorityColor, getTaskPriorityFilterKey, getTaskTranslationKey, hasTaskBoardSavedAssigneePreference, isTaskBoardUnassignedAssigneeId, mapEntityStatusColorForBadge, matchesTaskBoardAssigneeFilter, matchesTaskBoardAssigneeUserIdsFilter, matchesTaskDueStatusFilter, matchesTaskPriorityFilter, normalizePriorityFilterKey, normalizePriorityFilterKeys, normalizeTaskBoardAssigneeIds, normalizeTaskPriority, resolveDefaultTaskStatusColor, resolveDueStatusFromDefinitions, resolveTaskBoardAccentColor, resolveTaskBoardCalendarPlacement, resolveTaskBoardCurrentUserAssigneeItem, resolveTaskBoardSavedAssigneeIds, resolveTaskBoardSchedulerLabels, resolveTaskBoardSchedulingRange, resolveTaskBoardStatusColor, resolveTaskPopoverComponent, taskAssignmentFactory, taskChecklistItemFactory, taskContextFactory, taskDependencyFactory, taskFactory, taskOverlapsFilterRange, taskStatusFactory, taskTemplateFactory, taskTypeFactory, timeLogFactory };
|
|
7617
7590
|
//# sourceMappingURL=acorex-modules-task-management.mjs.map
|