@acorex-platform/module-task-management-client 1.0.2 → 2.0.0-beta.1
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-platform-module-task-management-client-acorex-platform-module-task-management-client-dfiarGtJ.mjs +2846 -0
- package/fesm2022/acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-dfiarGtJ.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs +148 -51
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task.mjs +38 -1265
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task.mjs.map +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-DoR58GWa.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs} +51 -11
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity--TP_F87Y.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-N_I7YGSn.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity--TP_F87Y.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-N_I7YGSn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-sGrb0ZaR.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-4zrBmfHs.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-sGrb0ZaR.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-4zrBmfHs.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-CLQw9kqg.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-B7nZyTo9.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-CLQw9kqg.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-B7nZyTo9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Ce9NZlK_.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Kc0FDDhp.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Ce9NZlK_.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-Kc0FDDhp.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-DKx2UHiz.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-CKmd8udh.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-DKx2UHiz.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-CKmd8udh.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-CKY04iyS.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-DhBEzoof.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-CKY04iyS.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-DhBEzoof.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-BGKWiqU8.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs} +150 -53
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs +46 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-Gne51DLu.mjs → acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-D1jG-qG1.mjs} +2 -2
- package/fesm2022/{acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-Gne51DLu.mjs.map → acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-D1jG-qG1.mjs.map} +1 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog.mjs +1 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts.mjs +251 -30
- package/fesm2022/acorex-platform-module-task-management-client-contracts.mjs.map +1 -1
- package/fesm2022/acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs +25 -0
- package/fesm2022/acorex-platform-module-task-management-client-create-subject-task.command-o5rIB4lp.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs +46 -0
- package/fesm2022/acorex-platform-module-task-management-client-create-task-type.command-4VzqIkIc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-task-management-client-list-task-board-assignees.query-CENurmLO.mjs → acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs} +27 -7
- package/fesm2022/acorex-platform-module-task-management-client-list-task-board-assignees.query-BcNFYozj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-task-management-client-list-task-board-reporters.query-C3NAYa9b.mjs → acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs} +14 -4
- package/fesm2022/acorex-platform-module-task-management-client-list-task-board-reporters.query-A0sbGwlB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-module-task-management-client-list-task-types.query-DQ2MnsAK.mjs → acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs} +20 -10
- package/fesm2022/acorex-platform-module-task-management-client-list-task-types.query-CZHSliWt.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs +29 -0
- package/fesm2022/acorex-platform-module-task-management-client-open-task-workspace.command-1BlMwoWF.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs +257 -0
- package/fesm2022/acorex-platform-module-task-management-client-personal-task.command-BubXfozR.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-board-lookup-search.util-il-mNHxd.mjs +42 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-board-lookup-search.util-il-mNHxd.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs +65 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-entity-record.command-BCL_Ctpw.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-lifecycle-popup.component-AxJHpj55.mjs +175 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-lifecycle-popup.component-AxJHpj55.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-workspace.popup-Cz8Hrp3r.mjs +220 -0
- package/fesm2022/acorex-platform-module-task-management-client-task-workspace.popup-Cz8Hrp3r.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client.mjs +1 -1
- package/i18n/en-AU/task-management.json +222 -5
- package/i18n/en-US/task-management.json +222 -5
- package/i18n/fa-IR/task-management.json +223 -6
- package/package.json +4 -3
- package/types/acorex-platform-module-task-management-client-contracts-entities-task.d.ts +2 -1
- package/types/acorex-platform-module-task-management-client-contracts.d.ts +442 -46
- package/types/acorex-platform-module-task-management-client.d.ts +311 -742
- package/fesm2022/acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-INIEvacu.mjs +0 -4457
- package/fesm2022/acorex-platform-module-task-management-client-acorex-platform-module-task-management-client-INIEvacu.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-DoR58GWa.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-BGKWiqU8.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-CiKg52ey.mjs +0 -1273
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-CiKg52ey.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-list-task-board-assignees.query-CENurmLO.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-list-task-board-reporters.query-C3NAYa9b.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-list-task-types.query-DQ2MnsAK.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-start-task-flow.command-CR1JXr5r.mjs +0 -114
- package/fesm2022/acorex-platform-module-task-management-client-start-task-flow.command-CR1JXr5r.mjs.map +0 -1
- package/fesm2022/acorex-platform-module-task-management-client-task-board.page-xzDabJXk.mjs +0 -2744
- package/fesm2022/acorex-platform-module-task-management-client-task-board.page-xzDabJXk.mjs.map +0 -1
|
@@ -1,10 +1,118 @@
|
|
|
1
1
|
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, AXPEntityCommandScope, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs';
|
|
4
4
|
|
|
5
5
|
/** Catalog scope for task-management–scoped workflow definitions and related catalogs. */
|
|
6
6
|
const TASK_MANAGEMENT_CATALOG_SCOPE_TASKS = 'task-management.tasks';
|
|
7
7
|
|
|
8
|
+
const DEFAULT_TASK_TIME_POLICY = { dueMode: 'disabled', overdueBasis: 'end' };
|
|
9
|
+
function validateTaskTimePolicy(policy) {
|
|
10
|
+
if (!policy || !['disabled', 'optional', 'required'].includes(policy.dueMode)
|
|
11
|
+
|| !['end', 'due'].includes(policy.overdueBasis)
|
|
12
|
+
|| policy.dueMode === 'disabled' && policy.overdueBasis !== 'end'
|
|
13
|
+
|| Object.keys(policy).some(key => !['dueMode', 'overdueBasis'].includes(key))) {
|
|
14
|
+
throw new Error('Invalid task time policy. Disabled Due requires End as the overdue basis.');
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
/** Midnight after the selected calendar day, in the task's own IANA timezone.
|
|
18
|
+
* Solve the zone offset at the boundary, rather than adding 24 hours across DST.
|
|
19
|
+
*/
|
|
20
|
+
function taskAllDayEnd(day, timeZone) {
|
|
21
|
+
if (!day || !timeZone)
|
|
22
|
+
return null;
|
|
23
|
+
const target = Date.parse(day + 'T00:00:00Z') + 86400000;
|
|
24
|
+
if (!Number.isFinite(target))
|
|
25
|
+
return null;
|
|
26
|
+
const formatter = new Intl.DateTimeFormat('en-CA', { timeZone, year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', hourCycle: 'h23' });
|
|
27
|
+
let result = target;
|
|
28
|
+
for (let i = 0; i < 5; i++) {
|
|
29
|
+
const parts = Object.fromEntries(formatter.formatToParts(new Date(result)).map(part => [part.type, part.value]));
|
|
30
|
+
const local = Date.UTC(+parts['year'], +parts['month'] - 1, +parts['day'], +parts['hour'], +parts['minute'], +parts['second']);
|
|
31
|
+
const correction = target - local;
|
|
32
|
+
if (!correction)
|
|
33
|
+
return new Date(result).toISOString();
|
|
34
|
+
result += correction;
|
|
35
|
+
}
|
|
36
|
+
// A local midnight can be skipped by a timezone transition. The first instant
|
|
37
|
+
// belonging to the next local day is the end of the selected all-day task.
|
|
38
|
+
const nextDay = new Date(target).toISOString().slice(0, 10);
|
|
39
|
+
const localDate = (instant) => {
|
|
40
|
+
const p = Object.fromEntries(formatter.formatToParts(new Date(instant)).map(part => [part.type, part.value]));
|
|
41
|
+
return p['year'] + '-' + p['month'] + '-' + p['day'];
|
|
42
|
+
};
|
|
43
|
+
let low = target - 86400000, high = target + 86400000;
|
|
44
|
+
while (high - low > 1) {
|
|
45
|
+
const middle = Math.floor((low + high) / 2);
|
|
46
|
+
if (localDate(middle) < nextDay)
|
|
47
|
+
low = middle;
|
|
48
|
+
else
|
|
49
|
+
high = middle;
|
|
50
|
+
}
|
|
51
|
+
return new Date(high).toISOString();
|
|
52
|
+
}
|
|
53
|
+
function taskDeadline(task, policy) {
|
|
54
|
+
return policy.overdueBasis === 'due' ? task.dueAt ?? null : task.plannedEndAt ?? taskAllDayEnd(task.allDayDate, task.calendarTimeZone);
|
|
55
|
+
}
|
|
56
|
+
function assertTaskDueInput(task, policy) {
|
|
57
|
+
validateTaskTimePolicy(policy);
|
|
58
|
+
if (policy.dueMode === 'disabled' && task.dueAt)
|
|
59
|
+
throw new Error('Due is disabled for this task type.');
|
|
60
|
+
if (policy.dueMode === 'required' && !task.dueAt)
|
|
61
|
+
throw new Error('Due is required for this task type.');
|
|
62
|
+
}
|
|
63
|
+
function taskTimeStatus(deadline, category, now, calendar, allDayEnd = false) {
|
|
64
|
+
if (category === 'done')
|
|
65
|
+
return 'completed';
|
|
66
|
+
if (category === 'cancelled')
|
|
67
|
+
return null;
|
|
68
|
+
const time = deadline ? Date.parse(deadline) : NaN;
|
|
69
|
+
const displayTime = allDayEnd ? time - 1 : time;
|
|
70
|
+
return !Number.isFinite(time) ? 'no-due-date' : time <= now.getTime() ? 'overdue'
|
|
71
|
+
: displayTime < Date.parse(calendar.tomorrow) ? 'due-today'
|
|
72
|
+
: displayTime < Date.parse(calendar.dayAfterTomorrow) ? 'due-tomorrow'
|
|
73
|
+
: displayTime <= Date.parse(calendar.weekEnd) ? 'due-this-week' : 'upcoming';
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/** Entity-owned form definition: every control is a built-in platform widget. */
|
|
77
|
+
function reminderPolicyInterface() {
|
|
78
|
+
const field = (path, title, type, span, options) => ({
|
|
79
|
+
type: 'grid-item-layout', options: { colSpan: span }, children: [{
|
|
80
|
+
type: 'form-field', options: { label: `@task-management:reminders.${title}`, showLabel: true },
|
|
81
|
+
children: [{ type, name: path, path, options: { validations: [{ rule: 'required' }], ...options } }],
|
|
82
|
+
}],
|
|
83
|
+
});
|
|
84
|
+
const children = [{
|
|
85
|
+
type: AXPWidgetsCatalog.toggle, name: 'reminders-enabled', path: 'reminderPolicy.enabled', defaultValue: false,
|
|
86
|
+
options: { label: '@task-management:reminders.enabled' },
|
|
87
|
+
}, ...['before', 'after'].map(direction => ({
|
|
88
|
+
type: 'fieldset-layout', name: `${direction}-reminders`,
|
|
89
|
+
options: { title: `@task-management:reminders.${direction}-title`, look: 'group', cols: 1,
|
|
90
|
+
visible: '{{ context.eval("reminderPolicy.enabled") }}' },
|
|
91
|
+
children: [{ type: AXPWidgetsCatalog.repeaterLayout, name: `${direction}-rules`, path: `reminderPolicy.${direction}`, defaultValue: [],
|
|
92
|
+
options: { hasControls: true, allowReorder: false,
|
|
93
|
+
defaultItem: { amount: 1, unit: 'day', anchor: 'plannedEndAt', textTemplateId: '' } },
|
|
94
|
+
children: [{ type: 'grid-layout', options: { grid: { default: { columns: 12, gap: '12px' } } }, children: [
|
|
95
|
+
field('amount', 'offset', AXPWidgetsCatalog.number, 2, { minValue: 1, maxValue: 525600, decimals: 0, hasClearButton: false }),
|
|
96
|
+
field('unit', 'unit', AXPWidgetsCatalog.select, 2, { valueField: 'id', textField: 'title',
|
|
97
|
+
dataSource: ['minute', 'hour', 'day', 'week'].map(id => ({ id, title: `@task-management:reminders.${id}` })) }),
|
|
98
|
+
field('anchor', 'anchor', AXPWidgetsCatalog.select, 3, { valueField: 'id', textField: 'title', dataSource: [
|
|
99
|
+
{ id: 'plannedStartAt', title: '@task-management:reminders.start' }, { id: 'plannedEndAt', title: '@task-management:reminders.end' }, { id: 'dueAt', title: '@task-management:reminders.due' },
|
|
100
|
+
] }),
|
|
101
|
+
field('textTemplateId', 'template', AXPWidgetsCatalog.lookup, 5, {
|
|
102
|
+
entity: 'ContentManagement.TextTemplate', valueField: 'id', textField: 'title', look: 'select',
|
|
103
|
+
placeholder: '@task-management:reminders.choose-template',
|
|
104
|
+
filter: { logic: 'and', filters: [
|
|
105
|
+
{ field: 'kind', operator: { type: 'notEqual' }, value: 'master' },
|
|
106
|
+
// Lookup cascade cleaning requires a value even for a static unary filter.
|
|
107
|
+
{ field: 'channels', operator: { type: 'isNotEmpty' }, value: true },
|
|
108
|
+
] },
|
|
109
|
+
}),
|
|
110
|
+
] }],
|
|
111
|
+
}],
|
|
112
|
+
}))];
|
|
113
|
+
return { type: 'flex-layout', options: { flexDirection: 'column', gap: '16px' },
|
|
114
|
+
children: children };
|
|
115
|
+
}
|
|
8
116
|
async function taskTypeFactory() {
|
|
9
117
|
const entityDef = {
|
|
10
118
|
module: RootConfig.module.name,
|
|
@@ -65,7 +173,7 @@ async function taskTypeFactory() {
|
|
|
65
173
|
//#endregion
|
|
66
174
|
plugins: [
|
|
67
175
|
{ name: 'archive' },
|
|
68
|
-
{ name: 'color' },
|
|
176
|
+
{ name: 'color', options: { palette: 'theme' } },
|
|
69
177
|
{ name: 'icon' },
|
|
70
178
|
{ name: 'clone' },
|
|
71
179
|
{
|
|
@@ -85,6 +193,7 @@ async function taskTypeFactory() {
|
|
|
85
193
|
],
|
|
86
194
|
//#region ---- Property Groups ----
|
|
87
195
|
groups: [
|
|
196
|
+
{ id: 'reminders', title: '@task-management:reminders.title' },
|
|
88
197
|
{
|
|
89
198
|
id: 'basic-info',
|
|
90
199
|
title: '@general:terms.interface.basic-info',
|
|
@@ -97,6 +206,25 @@ async function taskTypeFactory() {
|
|
|
97
206
|
//#endregion
|
|
98
207
|
//#region ---- Properties ----
|
|
99
208
|
properties: [
|
|
209
|
+
{ name: 'timePolicy', title: '@task-management:time-policy.title', groupId: 'features',
|
|
210
|
+
schema: { dataType: 'object', defaultValue: { ...DEFAULT_TASK_TIME_POLICY }, interface: {
|
|
211
|
+
type: 'grid-layout', options: { grid: { default: { columns: 2, gap: '12px' } } }, children: [
|
|
212
|
+
{ type: 'form-field', mode: 'edit', options: { label: '@task-management:time-policy.due-mode' }, children: [{
|
|
213
|
+
type: AXPWidgetsCatalog.select, mode: 'edit', path: 'timePolicy.dueMode', triggers: [{ event: "{{ events.context('timePolicy.dueMode') }}", action: "{{ if (context.eval('timePolicy.dueMode') === 'disabled') context.set('timePolicy.overdueBasis', 'end'); }}" }], options: { valueField: 'id', textField: 'title', hasClearButton: false,
|
|
214
|
+
dataSource: ['disabled', 'optional', 'required'].map(id => ({ id, title: '@task-management:time-policy.' + id })) },
|
|
215
|
+
}] },
|
|
216
|
+
{ type: 'form-field', mode: 'edit', options: { label: '@task-management:time-policy.overdue-basis' }, children: [{
|
|
217
|
+
type: AXPWidgetsCatalog.select, mode: 'edit', path: 'timePolicy.overdueBasis', options: { readonly: "{{ context.eval('timePolicy.dueMode') === 'disabled' }}", valueField: 'id', textField: 'title', hasClearButton: false,
|
|
218
|
+
dataSource: ['end', 'due'].map(id => ({ id, title: '@task-management:time-policy.' + id })) },
|
|
219
|
+
}] },
|
|
220
|
+
],
|
|
221
|
+
} } },
|
|
222
|
+
{ name: 'reminderPolicy', title: '@task-management:reminders.title', groupId: 'reminders',
|
|
223
|
+
schema: { dataType: 'object', nullable: true, defaultValue: { enabled: false, before: [], after: [] }, interface: reminderPolicyInterface() } },
|
|
224
|
+
{
|
|
225
|
+
name: 'runtimeConfig', title: 'Task configuration',
|
|
226
|
+
schema: { dataType: 'object', visible: false },
|
|
227
|
+
},
|
|
100
228
|
{
|
|
101
229
|
name: 'title',
|
|
102
230
|
title: '@general:terms.common.title',
|
|
@@ -141,6 +269,12 @@ async function taskTypeFactory() {
|
|
|
141
269
|
},
|
|
142
270
|
},
|
|
143
271
|
},
|
|
272
|
+
{
|
|
273
|
+
name: 'showInTaskCreate',
|
|
274
|
+
title: '@task-management:task-type.show-in-task-create',
|
|
275
|
+
groupId: 'features',
|
|
276
|
+
schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle } },
|
|
277
|
+
},
|
|
144
278
|
{
|
|
145
279
|
name: 'hasChecklist',
|
|
146
280
|
title: '@task-management:task-type.features.has-checklist',
|
|
@@ -231,57 +365,13 @@ async function taskTypeFactory() {
|
|
|
231
365
|
},
|
|
232
366
|
},
|
|
233
367
|
},
|
|
234
|
-
{
|
|
235
|
-
name: 'documentTypeIds',
|
|
236
|
-
title: '@task-management:task-type.document-types',
|
|
237
|
-
groupId: 'features',
|
|
238
|
-
options: {
|
|
239
|
-
sort: { enabled: false },
|
|
240
|
-
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
241
|
-
},
|
|
242
|
-
schema: {
|
|
243
|
-
dataType: 'object',
|
|
244
|
-
visible: '{{ context.eval("hasAttachments") }}',
|
|
245
|
-
interface: {
|
|
246
|
-
type: AXPWidgetsCatalog.lookup,
|
|
247
|
-
options: {
|
|
248
|
-
entity: 'DocumentManagement.DocumentType',
|
|
249
|
-
textField: 'title',
|
|
250
|
-
valueField: 'id',
|
|
251
|
-
columns: ['name', 'title'],
|
|
252
|
-
multiple: true,
|
|
253
|
-
expose: [
|
|
254
|
-
{ source: 'id', target: 'documentTypesList.{id}' },
|
|
255
|
-
{ source: 'name', target: 'documentTypesList.{name}' },
|
|
256
|
-
{ source: 'title', target: 'documentTypesList.{title}' },
|
|
257
|
-
],
|
|
258
|
-
},
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
name: 'documentTypes',
|
|
264
|
-
title: '@task-management:task-type.document-types',
|
|
265
|
-
groupId: 'features',
|
|
266
|
-
schema: {
|
|
267
|
-
dataType: 'array',
|
|
268
|
-
visible: false,
|
|
269
|
-
interface: {
|
|
270
|
-
type: AXPWidgetsCatalog.text,
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
options: {
|
|
274
|
-
sort: { enabled: false },
|
|
275
|
-
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
276
|
-
},
|
|
277
|
-
},
|
|
278
368
|
],
|
|
279
369
|
//#endregion
|
|
280
370
|
//#region ---- Columns ----
|
|
281
371
|
columns: [
|
|
282
372
|
{ name: 'title' },
|
|
283
373
|
{ name: 'description' },
|
|
284
|
-
{ name: '
|
|
374
|
+
{ name: 'showInTaskCreate' },
|
|
285
375
|
{ name: 'hasChecklist' },
|
|
286
376
|
{ name: 'hasTimeTracking' },
|
|
287
377
|
{ name: 'hasAttachments' },
|
|
@@ -291,34 +381,39 @@ async function taskTypeFactory() {
|
|
|
291
381
|
interfaces: {
|
|
292
382
|
master: {
|
|
293
383
|
create: {
|
|
294
|
-
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
384
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }, { id: 'reminders' }],
|
|
295
385
|
properties: [
|
|
296
386
|
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
297
387
|
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
388
|
+
{ name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },
|
|
298
389
|
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
299
390
|
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
300
391
|
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
301
392
|
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
302
393
|
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
303
|
-
{ name: '
|
|
394
|
+
{ name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
395
|
+
{ name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
304
396
|
],
|
|
305
397
|
},
|
|
306
398
|
update: {
|
|
307
|
-
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
399
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }, { id: 'reminders' }],
|
|
308
400
|
properties: [
|
|
309
401
|
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
310
402
|
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
403
|
+
{ name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },
|
|
311
404
|
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
312
405
|
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
313
406
|
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
314
407
|
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
315
408
|
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
316
|
-
{ name: '
|
|
409
|
+
{ name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
410
|
+
{ name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
317
411
|
],
|
|
318
412
|
},
|
|
319
413
|
single: {
|
|
320
414
|
title: '{{title}}',
|
|
321
415
|
sections: [
|
|
416
|
+
{ id: 'reminders', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
|
|
322
417
|
{
|
|
323
418
|
id: 'basic-info',
|
|
324
419
|
order: 1,
|
|
@@ -333,12 +428,14 @@ async function taskTypeFactory() {
|
|
|
333
428
|
properties: [
|
|
334
429
|
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
335
430
|
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
431
|
+
{ name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },
|
|
336
432
|
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
337
433
|
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
338
434
|
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
339
435
|
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
340
436
|
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
341
|
-
{ name: '
|
|
437
|
+
{ name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },
|
|
438
|
+
{ name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
342
439
|
],
|
|
343
440
|
actions: [entityMasterDeleteAction()],
|
|
344
441
|
},
|
|
@@ -358,4 +455,4 @@ async function taskTypeFactory() {
|
|
|
358
455
|
}
|
|
359
456
|
|
|
360
457
|
export { taskTypeFactory };
|
|
361
|
-
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-
|
|
458
|
+
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-Ckuv9ei1.mjs","sources":["../../../../libs/modules/task-management/contracts/src/catalog-scope.keys.ts","../../../../libs/modules/task-management/contracts/src/task-time-policy.ts","../../../../libs/modules/task-management/contracts/src/entities/task-type/task-type.entity.ts"],"sourcesContent":["/** Catalog scope for task-management–scoped workflow definitions and related catalogs. */\nexport const TASK_MANAGEMENT_CATALOG_SCOPE_TASKS = 'task-management.tasks';\n","import type { AXPTaskScheduleInput } from './task-domain.contracts';\n\nexport interface AXPTaskTimePolicy {\n dueMode: 'disabled' | 'optional' | 'required';\n overdueBasis: 'end' | 'due';\n}\n\nexport const DEFAULT_TASK_TIME_POLICY: Readonly<AXPTaskTimePolicy> = { dueMode: 'disabled', overdueBasis: 'end' };\n\nexport function validateTaskTimePolicy(policy: AXPTaskTimePolicy): void {\n if (!policy || !['disabled', 'optional', 'required'].includes(policy.dueMode)\n || !['end', 'due'].includes(policy.overdueBasis)\n || policy.dueMode === 'disabled' && policy.overdueBasis !== 'end'\n || Object.keys(policy).some(key => !['dueMode', 'overdueBasis'].includes(key))) {\n throw new Error('Invalid task time policy. Disabled Due requires End as the overdue basis.');\n }\n}\n\n/** Midnight after the selected calendar day, in the task's own IANA timezone.\n * Solve the zone offset at the boundary, rather than adding 24 hours across DST.\n */\nexport function taskAllDayEnd(day: string | null | undefined, timeZone: string | null | undefined): string | null {\n if (!day || !timeZone) return null;\n const target = Date.parse(day + 'T00:00:00Z') + 86400000;\n if (!Number.isFinite(target)) return null;\n const formatter = new Intl.DateTimeFormat('en-CA', { timeZone, year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', hourCycle: 'h23' });\n let result = target;\n for (let i = 0; i < 5; i++) {\n const parts = Object.fromEntries(formatter.formatToParts(new Date(result)).map(part => [part.type, part.value]));\n const local = Date.UTC(+parts['year'], +parts['month'] - 1, +parts['day'], +parts['hour'], +parts['minute'], +parts['second']);\n const correction = target - local;\n if (!correction) return new Date(result).toISOString();\n result += correction;\n }\n // A local midnight can be skipped by a timezone transition. The first instant\n // belonging to the next local day is the end of the selected all-day task.\n const nextDay = new Date(target).toISOString().slice(0, 10);\n const localDate = (instant: number) => {\n const p = Object.fromEntries(formatter.formatToParts(new Date(instant)).map(part => [part.type, part.value]));\n return p['year'] + '-' + p['month'] + '-' + p['day'];\n };\n let low = target - 86400000, high = target + 86400000;\n while (high - low > 1) { const middle = Math.floor((low + high) / 2); if (localDate(middle) < nextDay) low = middle; else high = middle; }\n return new Date(high).toISOString();\n}\n\nexport function taskDeadline(task: AXPTaskScheduleInput, policy: AXPTaskTimePolicy): string | null {\n return policy.overdueBasis === 'due' ? task.dueAt ?? null : task.plannedEndAt ?? taskAllDayEnd(task.allDayDate, task.calendarTimeZone);\n}\n\nexport function assertTaskDueInput(task: AXPTaskScheduleInput, policy: AXPTaskTimePolicy): void {\n validateTaskTimePolicy(policy);\n if (policy.dueMode === 'disabled' && task.dueAt) throw new Error('Due is disabled for this task type.');\n if (policy.dueMode === 'required' && !task.dueAt) throw new Error('Due is required for this task type.');\n}\n\nexport type AXPTaskTimeStatus = 'completed' | 'no-due-date' | 'overdue' | 'due-today' | 'due-tomorrow' | 'due-this-week' | 'upcoming';\nexport function taskTimeStatus(deadline: string | null, category: string, now: Date, calendar: { tomorrow: string; dayAfterTomorrow: string; weekEnd: string }, allDayEnd = false): AXPTaskTimeStatus | null {\n if (category === 'done') return 'completed';\n if (category === 'cancelled') return null;\n const time = deadline ? Date.parse(deadline) : NaN;\n const displayTime = allDayEnd ? time - 1 : time;\n return !Number.isFinite(time) ? 'no-due-date' : time <= now.getTime() ? 'overdue'\n : displayTime < Date.parse(calendar.tomorrow) ? 'due-today'\n : displayTime < Date.parse(calendar.dayAfterTomorrow) ? 'due-tomorrow'\n : displayTime <= Date.parse(calendar.weekEnd) ? 'due-this-week' : 'upcoming';\n}\n","import { AXPWidgetsCatalog, type AXPWidgetNode } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, type AXPEntityProperty, createAllQueryView, entityDetailsCrudActions, entityDetailsSimpleCondition, entityMasterCrudActions, entityMasterDeleteAction } from '@acorex-platform/framework-shared/entity';\nimport { TASK_MANAGEMENT_CATALOG_SCOPE_TASKS } from '../../catalog-scope.keys';\nimport { RootConfig } from '../../root-config';\nimport { DEFAULT_TASK_TIME_POLICY } from '../../task-time-policy';\n\n/** Entity-owned form definition: every control is a built-in platform widget. */\nfunction reminderPolicyInterface(): NonNullable<AXPEntityProperty['schema']['interface']> {\n const field = (path: string, title: string, type: string, span: number, options: Record<string, unknown>): AXPWidgetNode => ({\n type: 'grid-item-layout', options: { colSpan: span }, children: [{\n type: 'form-field', options: { label: `@task-management:reminders.${title}`, showLabel: true },\n children: [{ type, name: path, path, options: { validations: [{ rule: 'required' }], ...options } }],\n }],\n });\n const children: AXPWidgetNode[] = [{\n type: AXPWidgetsCatalog.toggle, name: 'reminders-enabled', path: 'reminderPolicy.enabled', defaultValue: false,\n options: { label: '@task-management:reminders.enabled' },\n }, ...(['before', 'after'] as const).map(direction => ({\n type: 'fieldset-layout', name: `${direction}-reminders`,\n options: { title: `@task-management:reminders.${direction}-title`, look: 'group', cols: 1,\n visible: '{{ context.eval(\"reminderPolicy.enabled\") }}' },\n children: [{ type: AXPWidgetsCatalog.repeaterLayout, name: `${direction}-rules`, path: `reminderPolicy.${direction}`, defaultValue: [],\n options: { hasControls: true, allowReorder: false,\n defaultItem: { amount: 1, unit: 'day', anchor: 'plannedEndAt', textTemplateId: '' } },\n children: [{ type: 'grid-layout', options: { grid: { default: { columns: 12, gap: '12px' } } }, children: [\n field('amount', 'offset', AXPWidgetsCatalog.number, 2, { minValue: 1, maxValue: 525600, decimals: 0, hasClearButton: false }),\n field('unit', 'unit', AXPWidgetsCatalog.select, 2, { valueField: 'id', textField: 'title',\n dataSource: ['minute', 'hour', 'day', 'week'].map(id => ({ id, title: `@task-management:reminders.${id}` })) }),\n field('anchor', 'anchor', AXPWidgetsCatalog.select, 3, { valueField: 'id', textField: 'title', dataSource: [\n { id: 'plannedStartAt', title: '@task-management:reminders.start' }, { id: 'plannedEndAt', title: '@task-management:reminders.end' }, { id: 'dueAt', title: '@task-management:reminders.due' },\n ] }),\n field('textTemplateId', 'template', AXPWidgetsCatalog.lookup, 5, {\n entity: 'ContentManagement.TextTemplate', valueField: 'id', textField: 'title', look: 'select',\n placeholder: '@task-management:reminders.choose-template',\n filter: { logic: 'and', filters: [\n { field: 'kind', operator: { type: 'notEqual' }, value: 'master' },\n // Lookup cascade cleaning requires a value even for a static unary filter.\n { field: 'channels', operator: { type: 'isNotEmpty' }, value: true },\n ] },\n }),\n ] }],\n }],\n }))];\n return { type: 'flex-layout', options: { flexDirection: 'column', gap: '16px' },\n children: children as NonNullable<AXPEntityProperty['schema']['interface']>['children'] };\n}\n\nexport async function taskTypeFactory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.taskType.name,\n title: RootConfig.entities.taskType.title,\n icon: RootConfig.entities.taskType.icon,\n searchTags: [\n 'task-type',\n 'task-types',\n 'classification',\n 'checklist',\n 'time-tracking',\n 'workflow',\n 'task-management',\n 'نوع وظیفه',\n 'انواع وظایف',\n 'مدیریت وظایف',\n ],\n formats: {\n individual: RootConfig.entities.taskType.title,\n plural: RootConfig.entities.taskType.titlePlural,\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n\n //#region ---- Related Entities ----\n\n relatedEntities: [\n {\n entity: `${RootConfig.module.name}.${RootConfig.entities.taskStatus.name}`,\n title: RootConfig.entities.taskStatus.titlePlural,\n icon: RootConfig.entities.taskStatus.icon,\n columns: ['name', 'title', 'color', 'isDefault', 'isFinal', 'order'],\n conditions: [entityDetailsSimpleCondition('taskTypeId')],\n actions: [\n {\n title: '@general:actions.create.title',\n command: {\n name: 'Entity:Create',\n options: {\n process: {\n redirect: false,\n canCreateNewOne: true,\n data: { taskTypeId: '{{ context.eval(\"id\") }}' },\n },\n },\n },\n priority: 'primary',\n type: 'create',\n scope: AXPEntityCommandScope.TypeLevel,\n },\n ...entityDetailsCrudActions('taskTypeId', { create: false }),\n ],\n excludeProperties: ['taskTypeId'],\n layout: { type: 'page-list', position: 'after', order: 1 },\n },\n ],\n\n //#endregion\n\n plugins: [\n { name: 'archive' },\n { name: 'color', options: { palette: 'theme' } },\n { name: 'icon' },\n { name: 'clone' },\n {\n name: 'category',\n options: {\n appearance: { icon: true, color: true },\n metaData: { enabled: true },\n },\n },\n { name: 'meta-data-builder', options: { display: 'page' } },\n {\n name: 'workflow-selector',\n options: {\n catalogScopeKeys: [TASK_MANAGEMENT_CATALOG_SCOPE_TASKS],\n },\n },\n ],\n\n //#region ---- Property Groups ----\n\n groups: [\n { id: 'reminders', title: '@task-management:reminders.title' },\n {\n id: 'basic-info',\n title: '@general:terms.interface.basic-info',\n },\n {\n id: 'features',\n title: '@task-management:task-type.features.title',\n },\n ],\n\n //#endregion\n\n //#region ---- Properties ----\n\n properties: [\n { name: 'timePolicy', title: '@task-management:time-policy.title', groupId: 'features',\n schema: { dataType: 'object', defaultValue: { ...DEFAULT_TASK_TIME_POLICY }, interface: {\n type: 'grid-layout', options: { grid: { default: { columns: 2, gap: '12px' } } }, children: [\n { type: 'form-field', mode: 'edit', options: { label: '@task-management:time-policy.due-mode' }, children: [{\n type: AXPWidgetsCatalog.select, mode: 'edit', path: 'timePolicy.dueMode', triggers: [{ event: \"{{ events.context('timePolicy.dueMode') }}\", action: \"{{ if (context.eval('timePolicy.dueMode') === 'disabled') context.set('timePolicy.overdueBasis', 'end'); }}\" }], options: { valueField: 'id', textField: 'title', hasClearButton: false,\n dataSource: ['disabled', 'optional', 'required'].map(id => ({ id, title: '@task-management:time-policy.' + id })) },\n }] },\n { type: 'form-field', mode: 'edit', options: { label: '@task-management:time-policy.overdue-basis' }, children: [{\n type: AXPWidgetsCatalog.select, mode: 'edit', path: 'timePolicy.overdueBasis', options: { readonly: \"{{ context.eval('timePolicy.dueMode') === 'disabled' }}\", valueField: 'id', textField: 'title', hasClearButton: false,\n dataSource: ['end', 'due'].map(id => ({ id, title: '@task-management:time-policy.' + id })) },\n }] },\n ],\n } } },\n { name: 'reminderPolicy', title: '@task-management:reminders.title', groupId: 'reminders',\n schema: { dataType: 'object', nullable: true, defaultValue: { enabled: false, before: [], after: [] }, interface: reminderPolicyInterface() } },\n {\n name: 'runtimeConfig', title: 'Task configuration',\n schema: { dataType: 'object', visible: false },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n options: {\n sort: { enabled: true },\n filter: {\n advance: { enabled: true },\n inline: { enabled: true },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder: 'Enter task type title',\n },\n },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n rows: 3,\n placeholder: 'Enter description for this task type',\n },\n },\n },\n },\n {\n name: 'showInTaskCreate',\n title: '@task-management:task-type.show-in-task-create',\n groupId: 'features',\n schema: { dataType: 'boolean', defaultValue: false, interface: { type: AXPWidgetsCatalog.toggle } },\n },\n {\n name: 'hasChecklist',\n title: '@task-management:task-type.features.has-checklist',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n {\n name: 'hasTimeTracking',\n title: '@task-management:task-type.features.has-time-tracking',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n {\n name: 'hasDependencies',\n title: '@task-management:task-type.features.has-dependencies',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n {\n name: 'hasSubtasks',\n title: '@task-management:task-type.features.has-subtasks',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n {\n name: 'hasAttachments',\n title: '@task-management:task-type.features.has-attachments',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: {\n advance: { enabled: true },\n inline: { enabled: false },\n },\n },\n schema: {\n dataType: 'boolean',\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n },\n ],\n\n //#endregion\n\n //#region ---- Columns ----\n\n columns: [\n { name: 'title' },\n { name: 'description' },\n { name: 'showInTaskCreate' },\n { name: 'hasChecklist' },\n { name: 'hasTimeTracking' },\n { name: 'hasAttachments' },\n ],\n\n //#endregion\n\n //#region ---- UI Interfaces ----\n\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'features' }, { id: 'reminders' }],\n properties: [\n { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },\n { name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },\n { name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },\n { name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },\n { name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },\n { name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'features' }, { id: 'reminders' }],\n properties: [\n { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },\n { name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },\n { name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },\n { name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },\n { name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },\n { name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\n { id: 'reminders', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },\n {\n id: 'basic-info',\n order: 1,\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n {\n id: 'features',\n order: 2,\n layout: { positions: { lg: { colSpan: 12 } } },\n },\n ],\n properties: [\n { name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'showInTaskCreate', layout: { positions: { lg: { colSpan: 12, order: 0 } } } },\n { name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },\n { name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },\n { name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },\n { name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },\n { name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },\n { name: 'timePolicy', layout: { label: { visible: false }, positions: { lg: { colSpan: 12 } } } },\n { name: 'reminderPolicy', layout: { label: { visible: false }, order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },\n ],\n actions: [entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [\n createAllQueryView({\n sorts: [{ name: 'title', dir: 'asc' }],\n }),\n ],\n },\n },\n },\n\n //#endregion\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAAA;AACO,MAAM,mCAAmC,GAAG,uBAAuB;;ACMnE,MAAM,wBAAwB,GAAgC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,KAAK,EAAE;AAE3G,SAAU,sBAAsB,CAAC,MAAyB,EAAA;AAC9D,IAAA,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO;WACvE,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY;WAC5C,MAAM,CAAC,OAAO,KAAK,UAAU,IAAI,MAAM,CAAC,YAAY,KAAK;WACzD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE;AAChF,QAAA,MAAM,IAAI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AAS;AAClB;;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
|
+
import { AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs';
|
|
4
|
+
|
|
5
|
+
/** Standard entity presentation; runtime commands remain the authority for mutations. */
|
|
6
|
+
async function taskFactory() {
|
|
7
|
+
const t = '@task-management:task-board.';
|
|
8
|
+
const editable = [
|
|
9
|
+
{ name: 'attachments', title: '@general:widgets.file-uploader.attachments.title', groupId: 'information', schema: { dataType: 'array', nullable: true, interface: { type: 'attachments', options: { multiple: true, plugins: [], excludePlugins: ['document'] } } } },
|
|
10
|
+
{ name: 'code', title: '@general:terms.common.code', groupId: 'basic-info', schema: { dataType: 'string', readonly: true, nullable: true, interface: { type: AXPWidgetsCatalog.text } } },
|
|
11
|
+
{ name: 'title', title: t + 'task-title', groupId: 'basic-info', schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text, options: { maxLength: 240 } } }, validations: [{ rule: 'required' }] },
|
|
12
|
+
{ name: 'taskTypeId', title: t + 'filter.task-type', groupId: 'basic-info', schema: { dataType: 'string', readonly: '{{ !!context.eval("id") }}', interface: { type: AXPWidgetsCatalog.lookup, options: { entity: 'TaskManagement.TaskType', look: 'select', allowCreate: 'none', textField: 'title', expose: [{ source: 'timePolicy', target: 'timePolicy' }, { source: 'id', target: 'taskType.id' }, { source: 'title', target: 'taskType.title' }] } } }, validations: [{ rule: 'required' }] },
|
|
13
|
+
{ name: 'description', title: t + 'task-description', groupId: 'basic-info', schema: { dataType: 'string', nullable: true, interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3 } } } },
|
|
14
|
+
{ name: 'priority', title: t + 'filter.priority', groupId: 'basic-info', schema: { dataType: 'string', defaultValue: 'normal', interface: { type: AXPWidgetsCatalog.select, options: { valueField: 'id', textField: 'title', dataSource: ['low', 'normal', 'high', 'urgent'].map(id => ({ id, title: t + 'priority.' + id })) } } } },
|
|
15
|
+
...['assigneeRef.id', 'reporterRef.id'].map((name) => ({ name, title: t + (name === 'assigneeRef.id' ? 'filter.assignee' : 'filter.reporter'), groupId: 'people', schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.lookup, options: { entity: 'SecurityManagement.User', textField: 'displayName', allowCreate: 'none', look: 'select' } } } })),
|
|
16
|
+
...['dueAt', 'plannedStartAt', 'plannedEndAt', 'allDayDate'].map((name) => ({ name, title: t + 'creation.' + ({ dueAt: 'deadline', plannedStartAt: 'planned-start', plannedEndAt: 'planned-end', allDayDate: 'all-day' }[name]), groupId: 'schedule', schema: { dataType: name === 'allDayDate' ? 'string' : 'datetime', nullable: true, ...(name === 'dueAt' ? { visible: '{{ context.eval("timePolicy.dueMode") !== "disabled" && !!context.eval("timePolicy.dueMode") }}' } : {}), interface: { type: AXPWidgetsCatalog.dateTime, options: { ...(name === 'dueAt' ? { validations: [{ rule: 'required', disabled: '{{ context.eval("timePolicy.dueMode") !== "required" }}' }] } : {}), format: name === 'allDayDate' ? 'date' : 'datetime' } } } })),
|
|
17
|
+
{ name: 'estimatedMinutes', title: t + 'creation.estimate', groupId: 'schedule', schema: { dataType: 'number', nullable: true, interface: { type: AXPWidgetsCatalog.number, options: { minValue: 0, decimals: 0 } } } },
|
|
18
|
+
];
|
|
19
|
+
const status = { name: 'statusCategory', title: t + 'filter.status', groupId: 'lifecycle', options: { filter: { inline: { enabled: true }, advance: { enabled: true } }, sort: { enabled: true } }, schema: { dataType: 'string', readonly: true, interface: { type: AXPWidgetsCatalog.select, options: { valueField: 'id', textField: 'title', dataSource: ['todo', 'in_progress', 'done', 'cancelled'].map(id => ({ id, title: t + 'lifecycle.' + id })) } } } };
|
|
20
|
+
const internal = ['version', 'rank', 'statusId', 'reporterRef', 'assigneeRef', 'assignedByRef', 'checklist', 'subjectRef', 'parentTaskId', 'metadata', 'tags', 'completionResult', 'calendarTimeZone', 'archivedAt', 'archivedByRef', '_taskRuntime'].map((name) => ({ name, title: name, schema: { dataType: name === 'version' ? 'number' : ['statusId', 'parentTaskId'].includes(name) ? 'reference' : ['metadata', 'reporterRef', 'assigneeRef', 'assignedByRef', 'checklist', 'subjectRef', 'tags', 'completionResult', '_taskRuntime', 'archivedByRef'].includes(name) ? 'object' : 'string', readonly: true, visible: false, nullable: true } }));
|
|
21
|
+
const lifecycle = ['actualStartedAt', 'completedAt', 'cancelledAt'].map(name => ({ name, title: t + 'entity.' + name, groupId: 'lifecycle', schema: { dataType: 'datetime', readonly: true, nullable: true, interface: { type: AXPWidgetsCatalog.dateTime, options: { format: 'datetime' } } } }));
|
|
22
|
+
const createNames = ['title', 'taskTypeId', 'description', 'priority', 'assigneeRef.id', 'dueAt', 'plannedStartAt', 'plannedEndAt', 'allDayDate', 'estimatedMinutes'];
|
|
23
|
+
const sections = ['basic-info', 'people', 'schedule', 'information'].map(id => ({ id }));
|
|
24
|
+
const layout = (names) => names.map(name => ({ name, layout: { positions: { lg: { colSpan: name === 'title' || name === 'description' ? 12 : 6 } } } }));
|
|
25
|
+
const lifecycleActions = ['start', 'complete', 'cancel', 'reopen'].map(action => ({ name: `task-${action}`, title: t + 'actions.' + action, command: { name: 'TaskManagement:TaskBoard:Lifecycle', options: { action } }, type: 'command', priority: 'secondary', scope: AXPEntityCommandScope.Individual,
|
|
26
|
+
hidden: `{{ !(await TaskManagement.HasAction(context.eval("id"), context.eval("version"), "${action}")) }}`,
|
|
27
|
+
disabled: `{{ !(await TaskManagement.ActionEnabled(context.eval("id"), context.eval("version"), "${action}")) }}` }));
|
|
28
|
+
return {
|
|
29
|
+
module: RootConfig.module.name, name: RootConfig.entities.task.name, title: RootConfig.entities.task.title, icon: RootConfig.entities.task.icon,
|
|
30
|
+
formats: { individual: RootConfig.entities.task.title, plural: RootConfig.entities.task.titlePlural, searchResult: { title: '{{ title }}' } },
|
|
31
|
+
plugins: [{ name: 'unique-fields', options: { fields: ['code', 'scopeInfo.applicationId'], scope: 'tenant' } }],
|
|
32
|
+
groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }, { id: 'people', title: t + 'entity.people' }, { id: 'schedule', title: t + 'creation.schedule' }, { id: 'information', title: t + 'entity.information' }, { id: 'lifecycle', title: t + 'filter.status' }],
|
|
33
|
+
properties: [{ name: 'allDayEndAt', title: 'allDayEndAt', schema: { dataType: 'datetime', nullable: true, readonly: true, visible: false } }, ...editable.map(p => ({ ...p, options: { sort: { enabled: true }, filter: { inline: { enabled: true }, advance: { enabled: true } } } })), status, ...lifecycle, ...internal,
|
|
34
|
+
{ name: 'isPersonal', title: 'isPersonal', schema: { dataType: 'boolean', readonly: true, visible: false, nullable: true } }],
|
|
35
|
+
columns: [{ name: 'code' }, { name: 'title' }, { name: 'taskTypeId' }, { name: 'statusCategory' }, { name: 'priority' }, { name: 'assigneeRef.id' }, { name: 'dueAt' }, { name: 'plannedStartAt' }, { name: 'plannedEndAt' }],
|
|
36
|
+
interfaces: { master: {
|
|
37
|
+
list: { actions: [...entityMasterCrudActions({ create: false, delete: false, edit: true, view: true }), ...lifecycleActions], views: [createAllQueryView({ sorts: [{ name: 'dueAt', dir: 'asc' }] })] },
|
|
38
|
+
create: { sections, properties: layout(createNames) },
|
|
39
|
+
update: { sections, properties: layout(createNames.filter(n => n !== 'taskTypeId')) },
|
|
40
|
+
single: { title: '{{ context.eval("title") }}', sections: [...sections, { id: 'lifecycle' }], properties: layout(['code', ...createNames, 'reporterRef.id', 'statusCategory', ...lifecycle.map(p => p.name)]), actions: [] },
|
|
41
|
+
} },
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { taskFactory };
|
|
46
|
+
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BN0r7MWY.mjs","sources":["../../../../libs/modules/task-management/contracts/src/entities/task/task.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog as W } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityProperty, AXPEntityAction, AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n/** Standard entity presentation; runtime commands remain the authority for mutations. */\nexport async function taskFactory(): Promise<AXPEntity> {\n const t = '@task-management:task-board.';\n const editable: AXPEntityProperty[] = [\n { name: 'attachments', title: '@general:widgets.file-uploader.attachments.title', groupId: 'information', schema: { dataType: 'array', nullable: true, interface: { type: 'attachments', options: { multiple: true, plugins: [], excludePlugins: ['document'] } } } },\n { name: 'code', title: '@general:terms.common.code', groupId: 'basic-info', schema: { dataType: 'string', readonly: true, nullable: true, interface: { type: W.text } } },\n { name: 'title', title: t + 'task-title', groupId: 'basic-info', schema: { dataType: 'string', interface: { type: W.text, options: { maxLength: 240 } } }, validations: [{ rule: 'required' }] },\n { name: 'taskTypeId', title: t + 'filter.task-type', groupId: 'basic-info', schema: { dataType: 'string', readonly: '{{ !!context.eval(\"id\") }}', interface: { type: W.lookup, options: { entity: 'TaskManagement.TaskType', look: 'select', allowCreate: 'none', textField: 'title', expose: [{ source: 'timePolicy', target: 'timePolicy' }, { source: 'id', target: 'taskType.id' }, { source: 'title', target: 'taskType.title' }] } } }, validations: [{ rule: 'required' }] },\n { name: 'description', title: t + 'task-description', groupId: 'basic-info', schema: { dataType: 'string', nullable: true, interface: { type: W.largeText, options: { rows: 3 } } } },\n { name: 'priority', title: t + 'filter.priority', groupId: 'basic-info', schema: { dataType: 'string', defaultValue: 'normal', interface: { type: W.select, options: { valueField: 'id', textField: 'title', dataSource: ['low', 'normal', 'high', 'urgent'].map(id => ({ id, title: t + 'priority.' + id })) } } } },\n ...(['assigneeRef.id', 'reporterRef.id'] as const).map((name): AXPEntityProperty => ({ name, title: t + (name === 'assigneeRef.id' ? 'filter.assignee' : 'filter.reporter'), groupId: 'people', schema: { dataType: 'string', readonly: true, interface: { type: W.lookup, options: { entity: 'SecurityManagement.User', textField: 'displayName', allowCreate: 'none', look: 'select' } } } })),\n ...(['dueAt', 'plannedStartAt', 'plannedEndAt', 'allDayDate'] as const).map((name): AXPEntityProperty => ({ name, title: t + 'creation.' + ({ dueAt: 'deadline', plannedStartAt: 'planned-start', plannedEndAt: 'planned-end', allDayDate: 'all-day' }[name]), groupId: 'schedule', schema: { dataType: name === 'allDayDate' ? 'string' : 'datetime', nullable: true, ...(name === 'dueAt' ? { visible: '{{ context.eval(\"timePolicy.dueMode\") !== \"disabled\" && !!context.eval(\"timePolicy.dueMode\") }}' } : {}), interface: { type: W.dateTime, options: { ...(name === 'dueAt' ? { validations: [{ rule: 'required', disabled: '{{ context.eval(\"timePolicy.dueMode\") !== \"required\" }}' }] } : {}), format: name === 'allDayDate' ? 'date' : 'datetime' } } } })),\n { name: 'estimatedMinutes', title: t + 'creation.estimate', groupId: 'schedule', schema: { dataType: 'number', nullable: true, interface: { type: W.number, options: { minValue: 0, decimals: 0 } } } },\n ];\n const status: AXPEntityProperty = { name: 'statusCategory', title: t + 'filter.status', groupId: 'lifecycle', options: { filter: { inline: { enabled: true }, advance: { enabled: true } }, sort: { enabled: true } }, schema: { dataType: 'string', readonly: true, interface: { type: W.select, options: { valueField: 'id', textField: 'title', dataSource: ['todo', 'in_progress', 'done', 'cancelled'].map(id => ({ id, title: t + 'lifecycle.' + id })) } } } };\n const internal = ['version', 'rank', 'statusId', 'reporterRef', 'assigneeRef', 'assignedByRef', 'checklist', 'subjectRef', 'parentTaskId', 'metadata', 'tags', 'completionResult', 'calendarTimeZone', 'archivedAt', 'archivedByRef', '_taskRuntime'].map((name): AXPEntityProperty => ({ name, title: name, schema: { dataType: name === 'version' ? 'number' : ['statusId', 'parentTaskId'].includes(name) ? 'reference' : ['metadata', 'reporterRef', 'assigneeRef', 'assignedByRef', 'checklist', 'subjectRef', 'tags', 'completionResult', '_taskRuntime', 'archivedByRef'].includes(name) ? 'object' : 'string', readonly: true, visible: false, nullable: true } }));\n const lifecycle: AXPEntityProperty[] = ['actualStartedAt', 'completedAt', 'cancelledAt'].map(name => ({ name, title: t + 'entity.' + name, groupId: 'lifecycle', schema: { dataType: 'datetime', readonly: true, nullable: true, interface: { type: W.dateTime, options: { format: 'datetime' } } } }));\n const createNames = ['title', 'taskTypeId', 'description', 'priority', 'assigneeRef.id', 'dueAt', 'plannedStartAt', 'plannedEndAt', 'allDayDate', 'estimatedMinutes'];\n const sections = ['basic-info', 'people', 'schedule', 'information'].map(id => ({ id }));\n const layout = (names: string[]) => names.map(name => ({ name, layout: { positions: { lg: { colSpan: name === 'title' || name === 'description' ? 12 : 6 } } } }));\n const lifecycleActions: AXPEntityAction[] = ['start', 'complete', 'cancel', 'reopen'].map(action => ({ name: `task-${action}`, title: t + 'actions.' + action, command: { name: 'TaskManagement:TaskBoard:Lifecycle', options: { action } }, type: 'command', priority: 'secondary', scope: AXPEntityCommandScope.Individual,\n hidden: `{{ !(await TaskManagement.HasAction(context.eval(\"id\"), context.eval(\"version\"), \"${action}\")) }}`,\n disabled: `{{ !(await TaskManagement.ActionEnabled(context.eval(\"id\"), context.eval(\"version\"), \"${action}\")) }}` }));\n return {\n module: RootConfig.module.name, name: RootConfig.entities.task.name, title: RootConfig.entities.task.title, icon: RootConfig.entities.task.icon,\n formats: { individual: RootConfig.entities.task.title, plural: RootConfig.entities.task.titlePlural, searchResult: { title: '{{ title }}' } },\n plugins: [{ name: 'unique-fields', options: { fields: ['code', 'scopeInfo.applicationId'], scope: 'tenant' } }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }, { id: 'people', title: t + 'entity.people' }, { id: 'schedule', title: t + 'creation.schedule' }, { id: 'information', title: t + 'entity.information' }, { id: 'lifecycle', title: t + 'filter.status' }],\n properties: [{ name: 'allDayEndAt', title: 'allDayEndAt', schema: { dataType: 'datetime', nullable: true, readonly: true, visible: false } }, ...editable.map(p => ({ ...p, options: { sort: { enabled: true }, filter: { inline: { enabled: true }, advance: { enabled: true } } } })), status, ...lifecycle, ...internal,\n { name: 'isPersonal', title: 'isPersonal', schema: { dataType: 'boolean', readonly: true, visible: false, nullable: true } }],\n columns: [{ name: 'code' }, { name: 'title' }, { name: 'taskTypeId' }, { name: 'statusCategory' }, { name: 'priority' }, { name: 'assigneeRef.id' }, { name: 'dueAt' }, { name: 'plannedStartAt' }, { name: 'plannedEndAt' }],\n interfaces: { master: {\n list: { actions: [...entityMasterCrudActions({ create: false, delete: false, edit: true, view: true }), ...lifecycleActions], views: [createAllQueryView({ sorts: [{ name: 'dueAt', dir: 'asc' }] })] },\n create: { sections, properties: layout(createNames) },\n update: { sections, properties: layout(createNames.filter(n => n !== 'taskTypeId')) },\n single: { title: '{{ context.eval(\"title\") }}', sections: [...sections, { id: 'lifecycle' }], properties: layout(['code', ...createNames, 'reporterRef.id', 'statusCategory', ...lifecycle.map(p => p.name)]), actions: [] },\n } },\n };\n}\n"],"names":["W"],"mappings":";;;;AAIA;AACO,eAAe,WAAW,GAAA;IAC/B,MAAM,CAAC,GAAG,8BAA8B;AACxC,IAAA,MAAM,QAAQ,GAAwB;QACpC,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,kDAAkD,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,cAAc,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE;AACrQ,QAAA,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,4BAA4B,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM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AAM,EAAE;gBACpB,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,uBAAuB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,CAAC,EAAE,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE;gBACvM,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE;gBACrD,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,YAAY,CAAC,CAAC,EAAE;gBACrF,MAAM,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,QAAQ,EAAE,CAAC,GAAG,QAAQ,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,GAAG,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;aAC7N,EAAE;KACJ;AACH;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
2
2
|
import { createAllQueryView, entityDetailsCrudActions } from '@acorex-platform/framework-shared/entity';
|
|
3
|
-
import { R as RootConfig } from './acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-
|
|
3
|
+
import { R as RootConfig } from './acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-CtNTQX14.mjs';
|
|
4
4
|
|
|
5
5
|
async function timeLogFactory() {
|
|
6
6
|
const i18n = RootConfig.config.i18n;
|
|
@@ -400,4 +400,4 @@ async function timeLogFactory() {
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
export { timeLogFactory };
|
|
403
|
-
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-
|
|
403
|
+
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-D1jG-qG1.mjs.map
|