@acorex-platform/module-task-management-client 0.0.30 → 0.0.33
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-contracts-entities-task-assignment.mjs +412 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-assignment.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-checklist-item.mjs +579 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-checklist-item.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-context.mjs +338 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-context.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-dependency.mjs +359 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-dependency.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-status.mjs +643 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-status.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-template.mjs +472 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-template.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs +441 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task-type.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task.mjs +1350 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-task.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-time-log.mjs +483 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entities-time-log.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-GX2wPn-u.mjs +119 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-acorex-platform-module-task-management-client-contracts-entity-catalog-GX2wPn-u.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-CMWY9zvO.mjs +320 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-assignment.entity-CMWY9zvO.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-BqoXCi5u.mjs +487 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-checklist-item.entity-BqoXCi5u.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-Z7sdha1F.mjs +246 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-context.entity-Z7sdha1F.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-DU5Rni7a.mjs +267 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-dependency.entity-DU5Rni7a.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-BOu_6LGU.mjs +551 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-status.entity-BOu_6LGU.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-AwtetTi1.mjs +380 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-template.entity-AwtetTi1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-DFo3o-6O.mjs +349 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-DFo3o-6O.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BmXrWwib.mjs +1258 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-task.entity-BmXrWwib.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-BmMphgI1.mjs +391 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog-time-log.entity-BmMphgI1.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog.mjs +2 -0
- package/fesm2022/acorex-platform-module-task-management-client-contracts-entity-catalog.mjs.map +1 -0
- package/fesm2022/acorex-platform-module-task-management-client-local-entities.mjs +37 -0
- package/fesm2022/acorex-platform-module-task-management-client-local-entities.mjs.map +1 -0
- package/package.json +47 -3
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-assignment.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-checklist-item.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-context.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-dependency.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-status.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-template.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task-type.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-task.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entities-time-log.d.ts +5 -0
- package/types/acorex-platform-module-task-management-client-contracts-entity-catalog.d.ts +10 -0
- package/types/acorex-platform-module-task-management-client-local-entities.d.ts +12 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
|
|
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-GX2wPn-u.mjs';
|
|
4
|
+
|
|
5
|
+
/** Catalog scope for task-management–scoped workflow definitions and related catalogs. */
|
|
6
|
+
const TASK_MANAGEMENT_CATALOG_SCOPE_TASKS = 'task-management.tasks';
|
|
7
|
+
|
|
8
|
+
async function taskTypeFactory() {
|
|
9
|
+
const entityDef = {
|
|
10
|
+
module: RootConfig.module.name,
|
|
11
|
+
name: RootConfig.entities.taskType.name,
|
|
12
|
+
title: RootConfig.entities.taskType.title,
|
|
13
|
+
icon: RootConfig.entities.taskType.icon,
|
|
14
|
+
formats: {
|
|
15
|
+
individual: RootConfig.entities.taskType.title,
|
|
16
|
+
plural: RootConfig.entities.taskType.titlePlural,
|
|
17
|
+
searchResult: {
|
|
18
|
+
title: '{{ title }}',
|
|
19
|
+
description: '{{ description }}',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
//#region ---- Related Entities ----
|
|
23
|
+
relatedEntities: [
|
|
24
|
+
{
|
|
25
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.taskStatus.name}`,
|
|
26
|
+
title: RootConfig.entities.taskStatus.titlePlural,
|
|
27
|
+
icon: RootConfig.entities.taskStatus.icon,
|
|
28
|
+
columns: ['name', 'title', 'color', 'isDefault', 'isFinal', 'order'],
|
|
29
|
+
conditions: [entityDetailsSimpleCondition('taskTypeId')],
|
|
30
|
+
actions: [
|
|
31
|
+
{
|
|
32
|
+
title: '@general:actions.create.title',
|
|
33
|
+
command: {
|
|
34
|
+
name: 'Entity:Create',
|
|
35
|
+
options: {
|
|
36
|
+
process: {
|
|
37
|
+
redirect: false,
|
|
38
|
+
canCreateNewOne: true,
|
|
39
|
+
data: { taskTypeId: '{{ context.eval("id") }}' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
priority: 'primary',
|
|
44
|
+
type: 'create',
|
|
45
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
46
|
+
},
|
|
47
|
+
...entityDetailsCrudActions('taskTypeId', { create: false }),
|
|
48
|
+
],
|
|
49
|
+
excludeProperties: ['taskTypeId'],
|
|
50
|
+
layout: { type: 'page-list', position: 'after', order: 1 },
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
//#endregion
|
|
54
|
+
plugins: [
|
|
55
|
+
{ name: 'archive' },
|
|
56
|
+
{ name: 'color' },
|
|
57
|
+
{ name: 'icon' },
|
|
58
|
+
{ name: 'clone' },
|
|
59
|
+
{
|
|
60
|
+
name: 'category',
|
|
61
|
+
options: {
|
|
62
|
+
appearance: { icon: true, color: true },
|
|
63
|
+
metaData: { enabled: true },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
{ name: 'meta-data-builder', options: { display: 'page' } },
|
|
67
|
+
{
|
|
68
|
+
name: 'workflow-selector',
|
|
69
|
+
options: {
|
|
70
|
+
catalogScopeKeys: [TASK_MANAGEMENT_CATALOG_SCOPE_TASKS],
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
//#region ---- Property Groups ----
|
|
75
|
+
groups: [
|
|
76
|
+
{
|
|
77
|
+
id: 'basic-info',
|
|
78
|
+
title: '@general:terms.interface.basic-info',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'features',
|
|
82
|
+
title: '@task-management:task-type.features.title',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region ---- Properties ----
|
|
87
|
+
properties: [
|
|
88
|
+
{
|
|
89
|
+
name: 'title',
|
|
90
|
+
title: '@general:terms.common.title',
|
|
91
|
+
groupId: 'basic-info',
|
|
92
|
+
options: {
|
|
93
|
+
sort: { enabled: true },
|
|
94
|
+
filter: {
|
|
95
|
+
advance: { enabled: true },
|
|
96
|
+
inline: { enabled: true },
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
schema: {
|
|
100
|
+
dataType: 'string',
|
|
101
|
+
interface: {
|
|
102
|
+
type: AXPWidgetsCatalog.text,
|
|
103
|
+
options: {
|
|
104
|
+
placeholder: 'Enter task type title',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
validations: [{ rule: 'required' }],
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: 'description',
|
|
112
|
+
title: '@general:terms.common.description',
|
|
113
|
+
groupId: 'basic-info',
|
|
114
|
+
options: {
|
|
115
|
+
sort: { enabled: false },
|
|
116
|
+
filter: {
|
|
117
|
+
advance: { enabled: true },
|
|
118
|
+
inline: { enabled: false },
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
schema: {
|
|
122
|
+
dataType: 'string',
|
|
123
|
+
interface: {
|
|
124
|
+
type: AXPWidgetsCatalog.largeText,
|
|
125
|
+
options: {
|
|
126
|
+
rows: 3,
|
|
127
|
+
placeholder: 'Enter description for this task type',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'hasChecklist',
|
|
134
|
+
title: '@task-management:task-type.features.has-checklist',
|
|
135
|
+
groupId: 'features',
|
|
136
|
+
options: {
|
|
137
|
+
sort: { enabled: false },
|
|
138
|
+
filter: {
|
|
139
|
+
advance: { enabled: true },
|
|
140
|
+
inline: { enabled: false },
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
schema: {
|
|
144
|
+
dataType: 'boolean',
|
|
145
|
+
interface: {
|
|
146
|
+
type: AXPWidgetsCatalog.toggle,
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'hasTimeTracking',
|
|
152
|
+
title: '@task-management:task-type.features.has-time-tracking',
|
|
153
|
+
groupId: 'features',
|
|
154
|
+
options: {
|
|
155
|
+
sort: { enabled: false },
|
|
156
|
+
filter: {
|
|
157
|
+
advance: { enabled: true },
|
|
158
|
+
inline: { enabled: false },
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
schema: {
|
|
162
|
+
dataType: 'boolean',
|
|
163
|
+
interface: {
|
|
164
|
+
type: AXPWidgetsCatalog.toggle,
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: 'hasDependencies',
|
|
170
|
+
title: '@task-management:task-type.features.has-dependencies',
|
|
171
|
+
groupId: 'features',
|
|
172
|
+
options: {
|
|
173
|
+
sort: { enabled: false },
|
|
174
|
+
filter: {
|
|
175
|
+
advance: { enabled: true },
|
|
176
|
+
inline: { enabled: false },
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
schema: {
|
|
180
|
+
dataType: 'boolean',
|
|
181
|
+
interface: {
|
|
182
|
+
type: AXPWidgetsCatalog.toggle,
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'hasSubtasks',
|
|
188
|
+
title: '@task-management:task-type.features.has-subtasks',
|
|
189
|
+
groupId: 'features',
|
|
190
|
+
options: {
|
|
191
|
+
sort: { enabled: false },
|
|
192
|
+
filter: {
|
|
193
|
+
advance: { enabled: true },
|
|
194
|
+
inline: { enabled: false },
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
schema: {
|
|
198
|
+
dataType: 'boolean',
|
|
199
|
+
interface: {
|
|
200
|
+
type: AXPWidgetsCatalog.toggle,
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: 'hasAttachments',
|
|
206
|
+
title: '@task-management:task-type.features.has-attachments',
|
|
207
|
+
groupId: 'features',
|
|
208
|
+
options: {
|
|
209
|
+
sort: { enabled: false },
|
|
210
|
+
filter: {
|
|
211
|
+
advance: { enabled: true },
|
|
212
|
+
inline: { enabled: false },
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
schema: {
|
|
216
|
+
dataType: 'boolean',
|
|
217
|
+
interface: {
|
|
218
|
+
type: AXPWidgetsCatalog.toggle,
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
name: 'documentTypeIds',
|
|
224
|
+
title: '@task-management:task-type.document-types',
|
|
225
|
+
groupId: 'features',
|
|
226
|
+
options: {
|
|
227
|
+
sort: { enabled: false },
|
|
228
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
229
|
+
},
|
|
230
|
+
schema: {
|
|
231
|
+
dataType: 'object',
|
|
232
|
+
visible: '{{ context.eval("hasAttachments") }}',
|
|
233
|
+
interface: {
|
|
234
|
+
type: AXPWidgetsCatalog.lookup,
|
|
235
|
+
options: {
|
|
236
|
+
entity: 'DocumentManagement.DocumentType',
|
|
237
|
+
textField: 'title',
|
|
238
|
+
valueField: 'id',
|
|
239
|
+
columns: ['name', 'title'],
|
|
240
|
+
multiple: true,
|
|
241
|
+
expose: [
|
|
242
|
+
{ source: 'id', target: 'documentTypes.{id}' },
|
|
243
|
+
{ source: 'name', target: 'documentTypes.{name}' },
|
|
244
|
+
{ source: 'title', target: 'documentTypes.{title}' },
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: 'documentTypes',
|
|
252
|
+
title: '@task-management:task-type.document-types',
|
|
253
|
+
groupId: 'features',
|
|
254
|
+
schema: {
|
|
255
|
+
dataType: 'array',
|
|
256
|
+
visible: false,
|
|
257
|
+
interface: {
|
|
258
|
+
type: AXPWidgetsCatalog.text,
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
options: {
|
|
262
|
+
sort: { enabled: false },
|
|
263
|
+
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region ---- Columns ----
|
|
269
|
+
columns: [
|
|
270
|
+
{ name: 'title' },
|
|
271
|
+
{ name: 'description' },
|
|
272
|
+
{ name: 'documentTypeIds', options: { dataPath: 'documentTypes' } },
|
|
273
|
+
{ name: 'hasChecklist' },
|
|
274
|
+
{ name: 'hasTimeTracking' },
|
|
275
|
+
{ name: 'hasAttachments' },
|
|
276
|
+
],
|
|
277
|
+
//#endregion
|
|
278
|
+
//#region ---- UI Interfaces ----
|
|
279
|
+
interfaces: {
|
|
280
|
+
master: {
|
|
281
|
+
create: {
|
|
282
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
283
|
+
properties: [
|
|
284
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
285
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
286
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
287
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
288
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
289
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
290
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
291
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
292
|
+
],
|
|
293
|
+
},
|
|
294
|
+
update: {
|
|
295
|
+
sections: [{ id: 'basic-info' }, { id: 'features' }],
|
|
296
|
+
properties: [
|
|
297
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
298
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
299
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
300
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
301
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
302
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
303
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
304
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
305
|
+
],
|
|
306
|
+
},
|
|
307
|
+
single: {
|
|
308
|
+
title: '{{title}}',
|
|
309
|
+
sections: [
|
|
310
|
+
{
|
|
311
|
+
id: 'basic-info',
|
|
312
|
+
order: 1,
|
|
313
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
id: 'features',
|
|
317
|
+
order: 2,
|
|
318
|
+
layout: { positions: { lg: { colSpan: 12 } } },
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
properties: [
|
|
322
|
+
{ name: 'title', layout: { order: 1, positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
323
|
+
{ name: 'description', layout: { order: 2, positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
324
|
+
{ name: 'hasChecklist', layout: { order: 1, positions: { lg: { colSpan: 3, order: 1 } } } },
|
|
325
|
+
{ name: 'hasTimeTracking', layout: { order: 2, positions: { lg: { colSpan: 3, order: 2 } } } },
|
|
326
|
+
{ name: 'hasDependencies', layout: { order: 3, positions: { lg: { colSpan: 3, order: 3 } } } },
|
|
327
|
+
{ name: 'hasSubtasks', layout: { order: 4, positions: { lg: { colSpan: 3, order: 4 } } } },
|
|
328
|
+
{ name: 'hasAttachments', layout: { order: 5, positions: { lg: { colSpan: 3, order: 5 } } } },
|
|
329
|
+
{ name: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
330
|
+
],
|
|
331
|
+
actions: [entityMasterDeleteAction()],
|
|
332
|
+
},
|
|
333
|
+
list: {
|
|
334
|
+
actions: [...entityMasterCrudActions()],
|
|
335
|
+
views: [
|
|
336
|
+
createAllQueryView({
|
|
337
|
+
sorts: [{ name: 'title', dir: 'asc' }],
|
|
338
|
+
}),
|
|
339
|
+
],
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
//#endregion
|
|
344
|
+
};
|
|
345
|
+
return entityDef;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export { taskTypeFactory };
|
|
349
|
+
//# sourceMappingURL=acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-DFo3o-6O.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-platform-module-task-management-client-contracts-entity-catalog-task-type.entity-DFo3o-6O.mjs","sources":["../../../../libs/modules/task-management/contracts/src/catalog-scope.keys.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 { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, 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';\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 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' },\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 {\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 {\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: '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 name: 'documentTypeIds',\n title: '@task-management:task-type.document-types',\n groupId: 'features',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n visible: '{{ context.eval(\"hasAttachments\") }}',\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: 'DocumentManagement.DocumentType',\n textField: 'title',\n valueField: 'id',\n columns: ['name', 'title'],\n multiple: true,\n expose: [\n { source: 'id', target: 'documentTypes.{id}' },\n { source: 'name', target: 'documentTypes.{name}' },\n { source: 'title', target: 'documentTypes.{title}' },\n ],\n },\n },\n },\n },\n {\n name: 'documentTypes',\n title: '@task-management:task-type.document-types',\n groupId: 'features',\n schema: {\n dataType: 'array',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n },\n ],\n\n //#endregion\n\n //#region ---- Columns ----\n\n columns: [\n { name: 'title' },\n { name: 'description' },\n { name: 'documentTypeIds', options: { dataPath: 'documentTypes' } },\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' }],\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: '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: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'features' }],\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: '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: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [\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: '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: 'documentTypeIds', layout: { order: 6, positions: { lg: { colSpan: 12, order: 6 } } } },\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;;ACInE,eAAe,eAAe,GAAA;AACnC,IAAA,MAAM,SAAS,GAAc;AA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