@acorex-platform/module-workflow-management-client 0.0.32 → 0.0.37

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.
Files changed (59) hide show
  1. package/fesm2022/{acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-B_Sl7G2v.mjs → acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-CKudtLpx.mjs} +14 -14
  2. package/fesm2022/{acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-B_Sl7G2v.mjs.map → acorex-platform-module-workflow-management-client-acorex-platform-module-workflow-management-client-CKudtLpx.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-workflow-management-client-activity-command-configurator-widget-column.component-BPa0Sh6Z.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-module-workflow-management-client-activity-command-configurator-widget-edit.component-DuYGXzAL.mjs.map +1 -1
  5. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.mjs +200 -0
  6. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.mjs +333 -0
  8. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-automation.mjs +357 -0
  10. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-automation.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs +394 -0
  12. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.mjs +336 -0
  14. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.mjs.map +1 -0
  15. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-acorex-platform-module-workflow-management-client-contracts-entity-catalog-DKDogTU7.mjs +103 -0
  16. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-acorex-platform-module-workflow-management-client-contracts-entity-catalog-DKDogTU7.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-category.entity-1EWdojoP.mjs +120 -0
  18. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-category.entity-1EWdojoP.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs +253 -0
  20. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-automation.entity-DbJeeZpQ.mjs +277 -0
  22. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-automation.entity-DbJeeZpQ.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-definition.entity-BVSAGT0z.mjs +314 -0
  24. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-definition.entity-BVSAGT0z.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-instance.entity-BEA4WQX2.mjs +256 -0
  26. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-instance.entity-BEA4WQX2.mjs.map +1 -0
  27. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog.mjs +2 -0
  28. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog.mjs.map +1 -0
  29. package/fesm2022/acorex-platform-module-workflow-management-client-contracts.mjs.map +1 -1
  30. package/fesm2022/acorex-platform-module-workflow-management-client-execute-workflow-with-input.command-BFdyJ4rC.mjs.map +1 -1
  31. package/fesm2022/acorex-platform-module-workflow-management-client-execute-workflow.command-Cfdm1QAy.mjs.map +1 -1
  32. package/fesm2022/{acorex-platform-module-workflow-management-client-index-CttfExOC.mjs → acorex-platform-module-workflow-management-client-index-BKMDbQ8Z.mjs} +3 -3
  33. package/fesm2022/{acorex-platform-module-workflow-management-client-index-CttfExOC.mjs.map → acorex-platform-module-workflow-management-client-index-BKMDbQ8Z.mjs.map} +1 -1
  34. package/fesm2022/{acorex-platform-module-workflow-management-client-index-DKZTLui4.mjs → acorex-platform-module-workflow-management-client-index-C3pkrctS.mjs} +2 -4
  35. package/fesm2022/acorex-platform-module-workflow-management-client-index-C3pkrctS.mjs.map +1 -0
  36. package/fesm2022/acorex-platform-module-workflow-management-client-index-C8nsbDAw.mjs.map +1 -1
  37. package/fesm2022/acorex-platform-module-workflow-management-client-local-entities.mjs +33 -0
  38. package/fesm2022/acorex-platform-module-workflow-management-client-local-entities.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-module-workflow-management-client-save-workflow-definition-activities.command-spFF77AO.mjs.map +1 -1
  40. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-activity-instance-rows.utils-CMVZYS4y.mjs.map +1 -1
  41. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-configurator-widget-column.component-D0E2zjIA.mjs.map +1 -1
  42. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-configurator-widget-edit.component-CVTeOv-q.mjs.map +1 -1
  43. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-live-dashboard.queries--9NtYkau.mjs.map +1 -1
  44. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-BWOyivC5.mjs → acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-DbeueT-X.mjs} +3 -3
  45. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-BWOyivC5.mjs.map → acorex-platform-module-workflow-management-client-workflow-run-history-popup.component-DbeueT-X.mjs.map} +1 -1
  46. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-run-history-timeline-tab.component-AnJ-Pywf.mjs.map +1 -1
  47. package/fesm2022/acorex-platform-module-workflow-management-client-workflow-run-history-visual-tab.component-Bw68Jwcb.mjs.map +1 -1
  48. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-task-popover.component-Cg4gODGo.mjs → acorex-platform-module-workflow-management-client-workflow-task-popover.component-Y9rWe3O6.mjs} +3 -3
  49. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-task-popover.component-Cg4gODGo.mjs.map → acorex-platform-module-workflow-management-client-workflow-task-popover.component-Y9rWe3O6.mjs.map} +1 -1
  50. package/fesm2022/acorex-platform-module-workflow-management-client.mjs +1 -1
  51. package/package.json +30 -2
  52. package/types/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.d.ts +6 -0
  53. package/types/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.d.ts +5 -0
  54. package/types/acorex-platform-module-workflow-management-client-contracts-entities-automation.d.ts +5 -0
  55. package/types/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.d.ts +5 -0
  56. package/types/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.d.ts +5 -0
  57. package/types/acorex-platform-module-workflow-management-client-contracts-entity-catalog.d.ts +10 -0
  58. package/types/acorex-platform-module-workflow-management-client-local-entities.d.ts +12 -0
  59. package/fesm2022/acorex-platform-module-workflow-management-client-index-DKZTLui4.mjs.map +0 -1
@@ -0,0 +1,394 @@
1
+ import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, AXPEntityCommandScope, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+
4
+ const config = {
5
+ i18n: 'workflow-management',
6
+ module: 'WorkflowManagement',
7
+ };
8
+ const RootConfig = {
9
+ config,
10
+ module: {
11
+ route: 'workflow-management',
12
+ name: config.module,
13
+ title: '@workflow-management:module.title',
14
+ icon: 'fa-light fa-diagram-project',
15
+ },
16
+ /** Task-board suspend activity type ids (match activity definition keys). */
17
+ activities: {
18
+ humanTask: 'workflow-activity:human-task',
19
+ cartable: 'workflow-activity:cartable',
20
+ },
21
+ entities: {
22
+ workflowDefinition: {
23
+ name: 'WorkflowDefinition',
24
+ fullName: `${config.module}.WorkflowDefinition`,
25
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.title',
26
+ titlePlural: '@workflow-management:workflow-definitions.entities.workflow-definition.plural',
27
+ icon: 'fa-light fa-diagram-project',
28
+ },
29
+ workflowInstance: {
30
+ name: 'WorkflowInstance',
31
+ fullName: `${config.module}.WorkflowInstance`,
32
+ title: '@workflow-management:workflow-instances.entities.workflow-instance.title',
33
+ titlePlural: '@workflow-management:workflow-instances.entities.workflow-instance.plural',
34
+ icon: 'fa-light fa-play-circle',
35
+ },
36
+ activityDefinition: {
37
+ name: 'ActivityDefinition',
38
+ fullName: `${config.module}.ActivityDefinition`,
39
+ title: '@workflow-management:activities.entities.activity-definition.title',
40
+ titlePlural: '@workflow-management:activities.entities.activity-definition.plural',
41
+ icon: 'fa-light fa-puzzle-piece',
42
+ },
43
+ automation: {
44
+ name: 'Automation',
45
+ fullName: `${config.module}.Automation`,
46
+ title: '@workflow-management:automations.entities.automation.title',
47
+ titlePlural: '@workflow-management:automations.entities.automation.plural',
48
+ icon: 'fa-light fa-bolt',
49
+ },
50
+ },
51
+ /**
52
+ * Live dashboard queries bound to base DashboardManagement chart/KPI widgets.
53
+ * Keys: `{module}:Dashboard:{Name}`.
54
+ */
55
+ queries: {
56
+ dashboard: {
57
+ definitionsKpi: `${config.module}:Dashboard:DefinitionsKpi`,
58
+ activitiesKpi: `${config.module}:Dashboard:ActivitiesKpi`,
59
+ definitionsByStatusBar: `${config.module}:Dashboard:DefinitionsByStatusBar`,
60
+ activitiesByCategoryDonut: `${config.module}:Dashboard:ActivitiesByCategoryDonut`,
61
+ publishedDefinitionsGauge: `${config.module}:Dashboard:PublishedDefinitionsGauge`,
62
+ /** @deprecated Prefer {@link runningInstancesKpi} for runtime ops dashboards. */
63
+ workflowDefinitionsKpi: `${config.module}:Dashboard:WorkflowDefinitionsKpi`,
64
+ /** @deprecated Prefer {@link instancesBySubStatusDonut} for runtime ops dashboards. */
65
+ workflowsByStatusBar: `${config.module}:Dashboard:WorkflowsByStatusBar`,
66
+ runningInstancesKpi: `${config.module}:Dashboard:RunningInstancesKpi`,
67
+ faultedInstancesKpi: `${config.module}:Dashboard:FaultedInstancesKpi`,
68
+ awaitingActionInstancesKpi: `${config.module}:Dashboard:AwaitingActionInstancesKpi`,
69
+ startedTodayInstancesKpi: `${config.module}:Dashboard:StartedTodayInstancesKpi`,
70
+ completedTodayInstancesKpi: `${config.module}:Dashboard:CompletedTodayInstancesKpi`,
71
+ avgRunningAgeHoursKpi: `${config.module}:Dashboard:AvgRunningAgeHoursKpi`,
72
+ instancesBySubStatusDonut: `${config.module}:Dashboard:InstancesBySubStatusDonut`,
73
+ instancesByDefinitionBar: `${config.module}:Dashboard:InstancesByDefinitionBar`,
74
+ instancesThroughputLine: `${config.module}:Dashboard:InstancesThroughputLine`,
75
+ instancesByCurrentActivityBar: `${config.module}:Dashboard:InstancesByCurrentActivityBar`,
76
+ instancesFaultHeatmap: `${config.module}:Dashboard:InstancesFaultHeatmap`,
77
+ },
78
+ },
79
+ };
80
+
81
+ /** Registry key for the workflow definition Activities custom page (linear graph editor). */
82
+ const WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY = 'workflow-definition-activities-page';
83
+
84
+ async function factoryWorkflowDefinition() {
85
+ const entityDef = {
86
+ module: RootConfig.module.name,
87
+ name: RootConfig.entities.workflowDefinition.name,
88
+ title: RootConfig.entities.workflowDefinition.title,
89
+ icon: RootConfig.entities.workflowDefinition.icon,
90
+ formats: {
91
+ individual: RootConfig.entities.workflowDefinition.title,
92
+ plural: RootConfig.entities.workflowDefinition.titlePlural,
93
+ searchResult: {
94
+ title: '{{ title || name }}',
95
+ description: '{{ description }}',
96
+ },
97
+ },
98
+ plugins: [
99
+ { name: 'history' },
100
+ { name: 'catalog-scope' },
101
+ { name: 'lock' },
102
+ { name: 'archive' },
103
+ { name: 'category' },
104
+ {
105
+ name: 'status',
106
+ options: {
107
+ definition: 'workflow-management.status.workflow-definition',
108
+ field: 'statusId',
109
+ generate: { views: { enabled: true } },
110
+ },
111
+ },
112
+ ],
113
+ pages: [
114
+ {
115
+ componentKey: WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY,
116
+ field: 'graph',
117
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.title',
118
+ icon: 'fa-light fa-list-ol',
119
+ layout: { order: 1, position: 'after' },
120
+ },
121
+ ],
122
+ groups: [
123
+ {
124
+ id: 'basicInfo',
125
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.groups.basic-info',
126
+ },
127
+ ],
128
+ properties: [
129
+ {
130
+ name: 'id',
131
+ title: 'ID',
132
+ groupId: 'basicInfo',
133
+ schema: {
134
+ dataType: 'uuid',
135
+ visible: false,
136
+ nullable: false,
137
+ readonly: true,
138
+ unique: { enabled: true },
139
+ },
140
+ },
141
+ {
142
+ name: 'name',
143
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',
144
+ groupId: 'basicInfo',
145
+ schema: {
146
+ dataType: 'string',
147
+ readonly: '{{context.id}}',
148
+ interface: {
149
+ type: AXPWidgetsCatalog.text,
150
+ options: {
151
+ placeholder: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.placeholder',
152
+ },
153
+ },
154
+ },
155
+ options: {
156
+ sort: { enabled: true },
157
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
158
+ },
159
+ validations: [{ rule: 'required' }, { rule: 'unique' }],
160
+ },
161
+ {
162
+ name: 'title',
163
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',
164
+ groupId: 'basicInfo',
165
+ schema: {
166
+ dataType: 'string',
167
+ interface: {
168
+ type: AXPWidgetsCatalog.text,
169
+ options: {
170
+ multiLanguage: true,
171
+ placeholder: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.placeholder',
172
+ },
173
+ },
174
+ },
175
+ options: {
176
+ sort: { enabled: true },
177
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
178
+ },
179
+ },
180
+ {
181
+ name: 'description',
182
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.title',
183
+ groupId: 'basicInfo',
184
+ schema: {
185
+ dataType: 'string',
186
+ interface: {
187
+ type: AXPWidgetsCatalog.largeText,
188
+ options: {
189
+ rows: 3,
190
+ multiLanguage: true,
191
+ placeholder: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.placeholder',
192
+ },
193
+ },
194
+ },
195
+ },
196
+ {
197
+ name: 'version',
198
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.version.title',
199
+ groupId: 'basicInfo',
200
+ schema: {
201
+ dataType: 'number',
202
+ visible: false,
203
+ interface: {
204
+ type: AXPWidgetsCatalog.number,
205
+ },
206
+ readonly: true,
207
+ },
208
+ },
209
+ {
210
+ name: 'isLatest',
211
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.is-latest.title',
212
+ groupId: 'basicInfo',
213
+ schema: {
214
+ dataType: 'boolean',
215
+ visible: false,
216
+ interface: {
217
+ type: AXPWidgetsCatalog.toggle,
218
+ },
219
+ readonly: true,
220
+ },
221
+ },
222
+ {
223
+ name: 'createdAt',
224
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.created-at.title',
225
+ groupId: 'basicInfo',
226
+ schema: {
227
+ dataType: 'date',
228
+ visible: false,
229
+ interface: {
230
+ type: AXPWidgetsCatalog.dateTime,
231
+ },
232
+ readonly: true,
233
+ },
234
+ options: {
235
+ sort: { enabled: true },
236
+ filter: { advance: { enabled: true } },
237
+ },
238
+ },
239
+ {
240
+ name: 'schemaVersion',
241
+ title: 'Schema version',
242
+ groupId: 'basicInfo',
243
+ schema: {
244
+ dataType: 'string',
245
+ visible: false,
246
+ nullable: true,
247
+ },
248
+ },
249
+ {
250
+ name: 'graph',
251
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.graph.title',
252
+ groupId: 'basicInfo',
253
+ schema: {
254
+ dataType: 'object',
255
+ visible: false,
256
+ nullable: true,
257
+ },
258
+ },
259
+ {
260
+ name: 'variables',
261
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.variables.title',
262
+ groupId: 'basicInfo',
263
+ schema: {
264
+ dataType: 'array',
265
+ visible: false,
266
+ nullable: true,
267
+ },
268
+ },
269
+ {
270
+ name: 'inputs',
271
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.workflow-inputs.title',
272
+ groupId: 'basicInfo',
273
+ schema: {
274
+ dataType: 'array',
275
+ visible: false,
276
+ nullable: true,
277
+ },
278
+ },
279
+ {
280
+ name: 'outputs',
281
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.outputs.title',
282
+ groupId: 'basicInfo',
283
+ schema: {
284
+ dataType: 'array',
285
+ visible: false,
286
+ nullable: true,
287
+ },
288
+ },
289
+ {
290
+ name: 'customProperties',
291
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.custom-properties.title',
292
+ groupId: 'basicInfo',
293
+ schema: {
294
+ dataType: 'object',
295
+ visible: false,
296
+ nullable: true,
297
+ },
298
+ },
299
+ {
300
+ name: 'extensions',
301
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.extensions.title',
302
+ groupId: 'basicInfo',
303
+ schema: {
304
+ dataType: 'object',
305
+ visible: false,
306
+ nullable: true,
307
+ },
308
+ },
309
+ {
310
+ name: 'bindings',
311
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.bindings.title',
312
+ groupId: 'basicInfo',
313
+ schema: {
314
+ dataType: 'array',
315
+ visible: false,
316
+ nullable: true,
317
+ },
318
+ },
319
+ ],
320
+ columns: [
321
+ {
322
+ name: 'title',
323
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',
324
+ showAs: { type: AXPWidgetsCatalog.text },
325
+ },
326
+ {
327
+ name: 'name',
328
+ title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',
329
+ showAs: { type: AXPWidgetsCatalog.text },
330
+ },
331
+ ],
332
+ interfaces: {
333
+ master: {
334
+ create: {
335
+ sections: [{ id: 'basicInfo' }],
336
+ properties: [
337
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
338
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
339
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
340
+ ],
341
+ },
342
+ update: {
343
+ sections: [{ id: 'basicInfo' }],
344
+ properties: [
345
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
346
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
347
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
348
+ ],
349
+ },
350
+ single: {
351
+ title: '{{ title }}',
352
+ sections: [
353
+ { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
354
+ ],
355
+ properties: [
356
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
357
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
358
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
359
+ ],
360
+ actions: [...entityMasterRecordActions()],
361
+ },
362
+ list: {
363
+ actions: [
364
+ ...entityMasterCrudActions(),
365
+ {
366
+ title: '@workflow-management:workflow-definitions.actions.execute.title',
367
+ name: 'execute-workflow',
368
+ command: {
369
+ name: 'WorkflowManagement.WorkflowDefinition:ExecuteWithInput',
370
+ options: {
371
+ workflowId: '{{ context.eval("name") }}',
372
+ },
373
+ },
374
+ icon: 'fa-light fa-play',
375
+ color: 'success',
376
+ priority: 'primary',
377
+ type: 'execute',
378
+ scope: AXPEntityCommandScope.Individual,
379
+ },
380
+ ],
381
+ views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],
382
+ },
383
+ },
384
+ },
385
+ };
386
+ return entityDef;
387
+ }
388
+
389
+ /**
390
+ * Generated bundle index. Do not edit.
391
+ */
392
+
393
+ export { factoryWorkflowDefinition };
394
+ //# sourceMappingURL=acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs","sources":["../../../../libs/modules/workflow-management/contracts/src/root-config.ts","../../../../libs/modules/workflow-management/contracts/src/WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY.ts","../../../../libs/modules/workflow-management/contracts/src/entities/workflow-definition/workflow-definition.entity.ts","../../../../libs/modules/workflow-management/contracts/src/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.ts"],"sourcesContent":["const config = {\n i18n: 'workflow-management',\n module: 'WorkflowManagement',\n};\n\nexport const RootConfig = {\n config,\n module: {\n route: 'workflow-management',\n name: config.module,\n title: '@workflow-management:module.title',\n icon: 'fa-light fa-diagram-project',\n },\n /** Task-board suspend activity type ids (match activity definition keys). */\n activities: {\n humanTask: 'workflow-activity:human-task',\n cartable: 'workflow-activity:cartable',\n },\n entities: {\n workflowDefinition: {\n name: 'WorkflowDefinition',\n fullName: `${config.module}.WorkflowDefinition`,\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.title',\n titlePlural: '@workflow-management:workflow-definitions.entities.workflow-definition.plural',\n icon: 'fa-light fa-diagram-project',\n },\n workflowInstance: {\n name: 'WorkflowInstance',\n fullName: `${config.module}.WorkflowInstance`,\n title: '@workflow-management:workflow-instances.entities.workflow-instance.title',\n titlePlural: '@workflow-management:workflow-instances.entities.workflow-instance.plural',\n icon: 'fa-light fa-play-circle',\n },\n activityDefinition: {\n name: 'ActivityDefinition',\n fullName: `${config.module}.ActivityDefinition`,\n title: '@workflow-management:activities.entities.activity-definition.title',\n titlePlural: '@workflow-management:activities.entities.activity-definition.plural',\n icon: 'fa-light fa-puzzle-piece',\n },\n automation: {\n name: 'Automation',\n fullName: `${config.module}.Automation`,\n title: '@workflow-management:automations.entities.automation.title',\n titlePlural: '@workflow-management:automations.entities.automation.plural',\n icon: 'fa-light fa-bolt',\n },\n },\n /**\n * Live dashboard queries bound to base DashboardManagement chart/KPI widgets.\n * Keys: `{module}:Dashboard:{Name}`.\n */\n queries: {\n dashboard: {\n definitionsKpi: `${config.module}:Dashboard:DefinitionsKpi`,\n activitiesKpi: `${config.module}:Dashboard:ActivitiesKpi`,\n definitionsByStatusBar: `${config.module}:Dashboard:DefinitionsByStatusBar`,\n activitiesByCategoryDonut: `${config.module}:Dashboard:ActivitiesByCategoryDonut`,\n publishedDefinitionsGauge: `${config.module}:Dashboard:PublishedDefinitionsGauge`,\n /** @deprecated Prefer {@link runningInstancesKpi} for runtime ops dashboards. */\n workflowDefinitionsKpi: `${config.module}:Dashboard:WorkflowDefinitionsKpi`,\n /** @deprecated Prefer {@link instancesBySubStatusDonut} for runtime ops dashboards. */\n workflowsByStatusBar: `${config.module}:Dashboard:WorkflowsByStatusBar`,\n runningInstancesKpi: `${config.module}:Dashboard:RunningInstancesKpi`,\n faultedInstancesKpi: `${config.module}:Dashboard:FaultedInstancesKpi`,\n awaitingActionInstancesKpi: `${config.module}:Dashboard:AwaitingActionInstancesKpi`,\n startedTodayInstancesKpi: `${config.module}:Dashboard:StartedTodayInstancesKpi`,\n completedTodayInstancesKpi: `${config.module}:Dashboard:CompletedTodayInstancesKpi`,\n avgRunningAgeHoursKpi: `${config.module}:Dashboard:AvgRunningAgeHoursKpi`,\n instancesBySubStatusDonut: `${config.module}:Dashboard:InstancesBySubStatusDonut`,\n instancesByDefinitionBar: `${config.module}:Dashboard:InstancesByDefinitionBar`,\n instancesThroughputLine: `${config.module}:Dashboard:InstancesThroughputLine`,\n instancesByCurrentActivityBar: `${config.module}:Dashboard:InstancesByCurrentActivityBar`,\n instancesFaultHeatmap: `${config.module}:Dashboard:InstancesFaultHeatmap`,\n },\n },\n} as const;\n","/** Registry key for the workflow definition Activities custom page (linear graph editor). */\nexport const WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY = 'workflow-definition-activities-page';\n","import { AXPWidgetsCatalog } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, AXPEntityCommandScope, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\nimport { WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY } from '../../WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY';\n\nexport async function factoryWorkflowDefinition(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.workflowDefinition.name,\n title: RootConfig.entities.workflowDefinition.title,\n icon: RootConfig.entities.workflowDefinition.icon,\n formats: {\n individual: RootConfig.entities.workflowDefinition.title,\n plural: RootConfig.entities.workflowDefinition.titlePlural,\n searchResult: {\n title: '{{ title || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'catalog-scope' },\n { name: 'lock' },\n { name: 'archive' },\n { name: 'category' },\n {\n name: 'status',\n options: {\n definition: 'workflow-management.status.workflow-definition',\n field: 'statusId',\n generate: { views: { enabled: true } },\n },\n },\n ],\n pages: [\n {\n componentKey: WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY,\n field: 'graph',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.title',\n icon: 'fa-light fa-list-ol',\n layout: { order: 1, position: 'after' },\n },\n ],\n groups: [\n {\n id: 'basicInfo',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basicInfo',\n schema: {\n dataType: 'uuid',\n visible: false,\n nullable: false,\n readonly: true,\n unique: { enabled: true },\n },\n },\n {\n name: 'name',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n readonly: '{{context.id}}',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'title',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n multiLanguage: true,\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n },\n {\n name: 'description',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n rows: 3,\n multiLanguage: true,\n placeholder:\n '@workflow-management:workflow-definitions.entities.workflow-definition.fields.description.placeholder',\n },\n },\n },\n },\n {\n name: 'version',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.version.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'number',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.number,\n },\n readonly: true,\n },\n },\n {\n name: 'isLatest',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.is-latest.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'boolean',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n readonly: true,\n },\n },\n {\n name: 'createdAt',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.created-at.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'date',\n visible: false,\n interface: {\n type: AXPWidgetsCatalog.dateTime,\n },\n readonly: true,\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true } },\n },\n },\n {\n name: 'schemaVersion',\n title: 'Schema version',\n groupId: 'basicInfo',\n schema: {\n dataType: 'string',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'graph',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.graph.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'variables',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.variables.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'inputs',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.workflow-inputs.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'outputs',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.outputs.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'customProperties',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.custom-properties.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'extensions',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.extensions.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'object',\n visible: false,\n nullable: true,\n },\n },\n {\n name: 'bindings',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.bindings.title',\n groupId: 'basicInfo',\n schema: {\n dataType: 'array',\n visible: false,\n nullable: true,\n },\n },\n ],\n columns: [\n {\n name: 'title',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.title.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n {\n name: 'name',\n title: '@workflow-management:workflow-definitions.entities.workflow-definition.fields.name.title',\n showAs: { type: AXPWidgetsCatalog.text },\n },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basicInfo' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basicInfo' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basicInfo', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [\n ...entityMasterCrudActions(),\n {\n title: '@workflow-management:workflow-definitions.actions.execute.title',\n name: 'execute-workflow',\n command: {\n name: 'WorkflowManagement.WorkflowDefinition:ExecuteWithInput',\n options: {\n workflowId: '{{ context.eval(\"name\") }}',\n },\n },\n icon: 'fa-light fa-play',\n color: 'success',\n priority: 'primary',\n type: 'execute',\n scope: AXPEntityCommandScope.Individual,\n },\n ],\n views: [createAllQueryView({ sorts: [{ name: 'createdAt', dir: 'desc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './entity-entry.workflow-definition';\n"],"names":[],"mappings":";;;AAAA,MAAM,MAAM,GAAG;AACb,IAAA,IAAI,EAAE,qBAAqB;AAC3B,IAAA,MAAM,EAAE,oBAAoB;CAC7B;AAEM,MAAM,UAAU,GAAG;IACxB,MAAM;AACN,IAAA,MAAM,EAAE;AACN,QAAA,KAAK,EAAE,qBAAqB;QAC5B,IAAI,EAAE,MAAM,CAAC,MAAM;AACnB,QAAA,KAAK,EAAE,mCAAmC;AAC1C,QAA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