@acorex-platform/module-workflow-management-client 0.0.32 → 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.
Files changed (46) 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-CggaQgAl.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-CggaQgAl.mjs.map} +1 -1
  3. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.mjs +200 -0
  4. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.mjs.map +1 -0
  5. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.mjs +333 -0
  6. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.mjs.map +1 -0
  7. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-automation.mjs +357 -0
  8. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-automation.mjs.map +1 -0
  9. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs +394 -0
  10. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.mjs.map +1 -0
  11. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.mjs +336 -0
  12. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.mjs.map +1 -0
  13. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-acorex-platform-module-workflow-management-client-contracts-entity-catalog-DKDogTU7.mjs +103 -0
  14. 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
  15. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-category.entity-1EWdojoP.mjs +120 -0
  16. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-category.entity-1EWdojoP.mjs.map +1 -0
  17. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs +253 -0
  18. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs.map +1 -0
  19. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-automation.entity-DbJeeZpQ.mjs +277 -0
  20. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-automation.entity-DbJeeZpQ.mjs.map +1 -0
  21. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-definition.entity-BVSAGT0z.mjs +314 -0
  22. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-definition.entity-BVSAGT0z.mjs.map +1 -0
  23. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-instance.entity-BEA4WQX2.mjs +256 -0
  24. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog-workflow-instance.entity-BEA4WQX2.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog.mjs +2 -0
  26. package/fesm2022/acorex-platform-module-workflow-management-client-contracts-entity-catalog.mjs.map +1 -0
  27. package/fesm2022/{acorex-platform-module-workflow-management-client-index-DKZTLui4.mjs → acorex-platform-module-workflow-management-client-index--u_GkETW.mjs} +2 -4
  28. package/fesm2022/acorex-platform-module-workflow-management-client-index--u_GkETW.mjs.map +1 -0
  29. package/fesm2022/{acorex-platform-module-workflow-management-client-index-CttfExOC.mjs → acorex-platform-module-workflow-management-client-index-DnhR9-16.mjs} +3 -3
  30. package/fesm2022/{acorex-platform-module-workflow-management-client-index-CttfExOC.mjs.map → acorex-platform-module-workflow-management-client-index-DnhR9-16.mjs.map} +1 -1
  31. package/fesm2022/acorex-platform-module-workflow-management-client-local-entities.mjs +33 -0
  32. package/fesm2022/acorex-platform-module-workflow-management-client-local-entities.mjs.map +1 -0
  33. 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-B8YZ5wW8.mjs} +2 -2
  34. 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-B8YZ5wW8.mjs.map} +1 -1
  35. package/fesm2022/{acorex-platform-module-workflow-management-client-workflow-task-popover.component-Cg4gODGo.mjs → acorex-platform-module-workflow-management-client-workflow-task-popover.component-BqpO8PFn.mjs} +2 -2
  36. 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-BqpO8PFn.mjs.map} +1 -1
  37. package/fesm2022/acorex-platform-module-workflow-management-client.mjs +1 -1
  38. package/package.json +30 -2
  39. package/types/acorex-platform-module-workflow-management-client-contracts-entities-activity-category.d.ts +6 -0
  40. package/types/acorex-platform-module-workflow-management-client-contracts-entities-activity-definition.d.ts +5 -0
  41. package/types/acorex-platform-module-workflow-management-client-contracts-entities-automation.d.ts +5 -0
  42. package/types/acorex-platform-module-workflow-management-client-contracts-entities-workflow-definition.d.ts +5 -0
  43. package/types/acorex-platform-module-workflow-management-client-contracts-entities-workflow-instance.d.ts +5 -0
  44. package/types/acorex-platform-module-workflow-management-client-contracts-entity-catalog.d.ts +10 -0
  45. package/types/acorex-platform-module-workflow-management-client-local-entities.d.ts +12 -0
  46. package/fesm2022/acorex-platform-module-workflow-management-client-index-DKZTLui4.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-category.entity-1EWdojoP.mjs","sources":["../../../../libs/modules/workflow-management/contracts/src/entities/activity-category/activity-category.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterDeleteAction, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\n/** @deprecated Use category plugin (ActivityDefinitionCategory). This entity is no longer loaded by the module. */\nexport async function factoryActivityCategory(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: 'ActivityCategory',\n title: '@workflow-management:activities.entities.activity-category.title',\n icon: 'fa-light fa-folder',\n parentKey: 'parentId',\n formats: {\n individual: '@workflow-management:activities.entities.activity-category.title',\n plural: '@workflow-management:activities.entities.activity-category.plural',\n searchResult: {\n title: '{{ title }}',\n description: '{{ description }}',\n },\n },\n plugins: [{ name: 'history' }],\n groups: [{ id: 'basic-info', title: '@general:terms.interface.basic-info' }],\n properties: [\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.text } },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'parentId',\n title: '@general:terms.classification.parent',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.EntityCategory,\n options: {\n entity: `${RootConfig.module.name}.ActivityCategory`,\n multiple: true,\n textField: 'title',\n valueField: 'id',\n parentKey: 'parentId',\n },\n },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: { dataType: 'string', interface: { type: AXPWidgetsCatalog.largeText } },\n },\n {\n name: 'childrenCount',\n title: '@general:terms.classification.children',\n groupId: 'basic-info',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },\n },\n {\n name: 'itemsCount',\n title: '@general:terms.classification.items',\n groupId: 'basic-info',\n schema: { dataType: 'number', interface: { type: AXPWidgetsCatalog.number }, readonly: true },\n },\n ],\n columns: [{ name: 'title' }, { name: 'description' }, { name: 'childrenCount' }, { name: 'itemsCount' }],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'childrenCount', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'itemsCount', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n ],\n },\n single: {\n title: '{{title}}',\n sections: [{ id: 'basic-info' }],\n properties: [\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },\n { name: 'parentId', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'childrenCount', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },\n { name: 'itemsCount', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },\n ],\n actions: [...entityMasterRecordActions(), entityMasterDeleteAction()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n"],"names":[],"mappings":";;;;AAIA;AACO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,EAAE;wBAC3E,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAC9E,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBACjF,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;wBAClF,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE;AAChF,qBAAA;oBACD,OAAO,EAAE,CAAC,GAAG,yBAAyB,EAAE,EAAE,wBAAwB,EAAE,CAAC;AACtE,iBAAA;AACD,gBAAA,IAAI,EAAE;AACJ,oBAAA,OAAO,EAAE,CAAC,GAAG,uBAAuB,EAAE,CAAC;oBACvC,KAAK,EAAE,CAAC,kBAAkB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,253 @@
1
+ import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-workflow-management-client-contracts-entity-catalog-acorex-platform-module-workflow-management-client-contracts-entity-catalog-DKDogTU7.mjs';
4
+
5
+ async function factoryActivityDefinition() {
6
+ const entityDef = {
7
+ module: RootConfig.module.name,
8
+ name: RootConfig.entities.activityDefinition.name,
9
+ title: RootConfig.entities.activityDefinition.title,
10
+ icon: RootConfig.entities.activityDefinition.icon,
11
+ formats: {
12
+ individual: RootConfig.entities.activityDefinition.title,
13
+ plural: RootConfig.entities.activityDefinition.titlePlural,
14
+ searchResult: {
15
+ title: '{{ title || name }}',
16
+ description: '{{ description }}',
17
+ },
18
+ },
19
+ plugins: [
20
+ { name: 'history' },
21
+ { name: 'category', options: { appearance: { icon: true, color: true }, metaData: { enabled: true } } },
22
+ { name: 'icon' },
23
+ ],
24
+ groups: [
25
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
26
+ { id: 'configuration', title: '@general:terms.interface.configuration' },
27
+ ],
28
+ properties: [
29
+ {
30
+ name: 'name',
31
+ title: '@general:terms.common.name',
32
+ groupId: 'basic-info',
33
+ schema: {
34
+ dataType: 'string',
35
+ interface: { type: AXPWidgetsCatalog.text },
36
+ },
37
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
38
+ validations: [{ rule: 'required' }, { rule: 'unique' }],
39
+ },
40
+ {
41
+ name: 'id',
42
+ title: 'ID',
43
+ groupId: 'basic-info',
44
+ schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
45
+ },
46
+ {
47
+ name: 'type',
48
+ title: '@general:terms.common.type',
49
+ groupId: 'basic-info',
50
+ schema: {
51
+ dataType: 'string',
52
+ interface: { type: AXPWidgetsCatalog.text },
53
+ },
54
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
55
+ validations: [{ rule: 'required' }],
56
+ },
57
+ {
58
+ name: 'title',
59
+ title: '@general:terms.common.title',
60
+ groupId: 'basic-info',
61
+ schema: {
62
+ dataType: 'string',
63
+ interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },
64
+ },
65
+ options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },
66
+ },
67
+ {
68
+ name: 'description',
69
+ title: '@general:terms.common.description',
70
+ groupId: 'basic-info',
71
+ schema: {
72
+ dataType: 'string',
73
+ interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3, multiLanguage: true } },
74
+ },
75
+ },
76
+ {
77
+ name: 'category',
78
+ title: '@general:terms.classification.category',
79
+ groupId: 'configuration',
80
+ schema: {
81
+ dataType: 'string',
82
+ interface: {
83
+ type: AXPWidgetsList.Editors.EntityCategory,
84
+ options: {
85
+ entity: `${RootConfig.module.name}.ActivityDefinitionCategory`,
86
+ multiple: false,
87
+ textField: 'title',
88
+ valueField: 'id',
89
+ parentKey: 'parentId',
90
+ },
91
+ },
92
+ },
93
+ options: { filter: { advance: { enabled: true }, inline: { enabled: true } } },
94
+ },
95
+ {
96
+ name: 'executionMode',
97
+ title: '@workflow-management:activities.entities.activity-definition.fields.execution-mode.title',
98
+ groupId: 'configuration',
99
+ schema: {
100
+ dataType: 'string',
101
+ interface: {
102
+ type: AXPWidgetsCatalog.select,
103
+ options: {
104
+ valueField: 'value',
105
+ textField: 'text',
106
+ dataSource: [
107
+ { value: 'frontend', text: 'Frontend' },
108
+ { value: 'backend', text: 'Backend' },
109
+ { value: 'both', text: 'Both' },
110
+ ],
111
+ },
112
+ },
113
+ },
114
+ options: { filter: { inline: { enabled: true } } },
115
+ },
116
+ {
117
+ name: 'taskType',
118
+ title: '@workflow-management:activities.entities.activity-definition.fields.task-type.title',
119
+ groupId: 'configuration',
120
+ schema: {
121
+ dataType: 'string',
122
+ interface: {
123
+ type: AXPWidgetsCatalog.select,
124
+ options: {
125
+ valueField: 'value',
126
+ textField: 'text',
127
+ dataSource: [
128
+ { value: 'human-task', text: 'Human Task' },
129
+ { value: 'ui-activity', text: 'UI Activity' },
130
+ { value: 'system-activity', text: 'System Activity' },
131
+ ],
132
+ },
133
+ },
134
+ },
135
+ options: { filter: { inline: { enabled: true } } },
136
+ },
137
+ {
138
+ name: 'isBrowsable',
139
+ title: '@workflow-management:activities.entities.activity-definition.fields.is-browsable.title',
140
+ groupId: 'configuration',
141
+ schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },
142
+ options: { filter: { inline: { enabled: true } } },
143
+ },
144
+ {
145
+ name: 'isContainer',
146
+ title: '@workflow-management:activities.entities.activity-definition.fields.is-container.title',
147
+ groupId: 'configuration',
148
+ schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },
149
+ options: { filter: { inline: { enabled: true } } },
150
+ },
151
+ {
152
+ name: 'outcomes',
153
+ title: '@workflow-management:activities.entities.activity-definition.fields.outcomes.title',
154
+ groupId: 'configuration',
155
+ schema: {
156
+ dataType: 'array',
157
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },
158
+ },
159
+ },
160
+ {
161
+ name: 'inputs',
162
+ title: '@workflow-management:activities.entities.activity-definition.fields.inputs.title',
163
+ groupId: 'configuration',
164
+ schema: {
165
+ dataType: 'array',
166
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },
167
+ },
168
+ },
169
+ {
170
+ name: 'outputs',
171
+ title: '@workflow-management:activities.entities.activity-definition.fields.outputs.title',
172
+ groupId: 'configuration',
173
+ schema: {
174
+ dataType: 'array',
175
+ interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },
176
+ },
177
+ },
178
+ ],
179
+ columns: [
180
+ { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },
181
+ { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },
182
+ { name: 'type', title: '@general:terms.common.type', showAs: { type: AXPWidgetsCatalog.text } },
183
+ { name: 'executionMode', title: '@workflow-management:activities.entities.activity-definition.fields.execution-mode.title' },
184
+ { name: 'taskType', title: '@workflow-management:activities.entities.activity-definition.fields.task-type.title' },
185
+ { name: 'category', title: '@general:terms.classification.category' },
186
+ ],
187
+ interfaces: {
188
+ master: {
189
+ create: {
190
+ sections: [{ id: 'basic-info' }, { id: 'configuration' }],
191
+ properties: [
192
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
193
+ { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },
194
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
195
+ { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },
196
+ { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },
197
+ { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },
198
+ { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },
199
+ { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },
200
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
201
+ { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },
202
+ { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },
203
+ { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },
204
+ ],
205
+ },
206
+ update: {
207
+ sections: [{ id: 'basic-info' }, { id: 'configuration' }],
208
+ properties: [
209
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
210
+ { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },
211
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
212
+ { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },
213
+ { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },
214
+ { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },
215
+ { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },
216
+ { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },
217
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
218
+ { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },
219
+ { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },
220
+ { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },
221
+ ],
222
+ },
223
+ single: {
224
+ title: '{{ title || name }}',
225
+ sections: [{ id: 'basic-info' }, { id: 'configuration' }],
226
+ properties: [
227
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
228
+ { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },
229
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
230
+ { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },
231
+ { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },
232
+ { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },
233
+ { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },
234
+ { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },
235
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
236
+ { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },
237
+ { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },
238
+ { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },
239
+ ],
240
+ actions: [...entityMasterRecordActions()],
241
+ },
242
+ list: {
243
+ actions: [...entityMasterCrudActions()],
244
+ views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
245
+ },
246
+ },
247
+ },
248
+ };
249
+ return entityDef;
250
+ }
251
+
252
+ export { factoryActivityDefinition };
253
+ //# sourceMappingURL=acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-module-workflow-management-client-contracts-entity-catalog-activity-definition.entity-DYoF3vVe.mjs","sources":["../../../../libs/modules/workflow-management/contracts/src/entities/activity-definition/activity-definition.entity.ts"],"sourcesContent":["import { AXPWidgetsCatalog, AXPWidgetsList } from '@acorex-platform/framework-shared/core';\nimport { AXPEntity, createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';\nimport { RootConfig } from '../../root-config';\n\nexport async function factoryActivityDefinition(): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.activityDefinition.name,\n title: RootConfig.entities.activityDefinition.title,\n icon: RootConfig.entities.activityDefinition.icon,\n formats: {\n individual: RootConfig.entities.activityDefinition.title,\n plural: RootConfig.entities.activityDefinition.titlePlural,\n searchResult: {\n title: '{{ title || name }}',\n description: '{{ description }}',\n },\n },\n plugins: [\n { name: 'history' },\n { name: 'category', options: { appearance: { icon: true, color: true }, metaData: { enabled: true } } },\n { name: 'icon' },\n ],\n groups: [\n { id: 'basic-info', title: '@general:terms.interface.basic-info' },\n { id: 'configuration', title: '@general:terms.interface.configuration' },\n ],\n properties: [\n {\n name: 'name',\n title: '@general:terms.common.name',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }, { rule: 'unique' }],\n },\n {\n name: 'id',\n title: 'ID',\n groupId: 'basic-info',\n schema: { dataType: 'string', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'type',\n title: '@general:terms.common.type',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@general:terms.common.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.text, options: { multiLanguage: true } },\n },\n options: { sort: { enabled: true }, filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'description',\n title: '@general:terms.common.description',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: { type: AXPWidgetsCatalog.largeText, options: { rows: 3, multiLanguage: true } },\n },\n },\n {\n name: 'category',\n title: '@general:terms.classification.category',\n groupId: 'configuration',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.EntityCategory,\n options: {\n entity: `${RootConfig.module.name}.ActivityDefinitionCategory`,\n multiple: false,\n textField: 'title',\n valueField: 'id',\n parentKey: 'parentId',\n },\n },\n },\n options: { filter: { advance: { enabled: true }, inline: { enabled: true } } },\n },\n {\n name: 'executionMode',\n title: '@workflow-management:activities.entities.activity-definition.fields.execution-mode.title',\n groupId: 'configuration',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'frontend', text: 'Frontend' },\n { value: 'backend', text: 'Backend' },\n { value: 'both', text: 'Both' },\n ],\n },\n },\n },\n options: { filter: { inline: { enabled: true } } },\n },\n {\n name: 'taskType',\n title: '@workflow-management:activities.entities.activity-definition.fields.task-type.title',\n groupId: 'configuration',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.select,\n options: {\n valueField: 'value',\n textField: 'text',\n dataSource: [\n { value: 'human-task', text: 'Human Task' },\n { value: 'ui-activity', text: 'UI Activity' },\n { value: 'system-activity', text: 'System Activity' },\n ],\n },\n },\n },\n options: { filter: { inline: { enabled: true } } },\n },\n {\n name: 'isBrowsable',\n title: '@workflow-management:activities.entities.activity-definition.fields.is-browsable.title',\n groupId: 'configuration',\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },\n options: { filter: { inline: { enabled: true } } },\n },\n {\n name: 'isContainer',\n title: '@workflow-management:activities.entities.activity-definition.fields.is-container.title',\n groupId: 'configuration',\n schema: { dataType: 'boolean', interface: { type: AXPWidgetsCatalog.toggle } },\n options: { filter: { inline: { enabled: true } } },\n },\n {\n name: 'outcomes',\n title: '@workflow-management:activities.entities.activity-definition.fields.outcomes.title',\n groupId: 'configuration',\n schema: {\n dataType: 'array',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },\n },\n },\n {\n name: 'inputs',\n title: '@workflow-management:activities.entities.activity-definition.fields.inputs.title',\n groupId: 'configuration',\n schema: {\n dataType: 'array',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },\n },\n },\n {\n name: 'outputs',\n title: '@workflow-management:activities.entities.activity-definition.fields.outputs.title',\n groupId: 'configuration',\n schema: {\n dataType: 'array',\n interface: { type: AXPWidgetsList.Advanced.CodeEditor, options: { language: 'json' } },\n },\n },\n ],\n columns: [\n { name: 'title', title: '@general:terms.common.title', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'name', title: '@general:terms.common.name', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'type', title: '@general:terms.common.type', showAs: { type: AXPWidgetsCatalog.text } },\n { name: 'executionMode', title: '@workflow-management:activities.entities.activity-definition.fields.execution-mode.title' },\n { name: 'taskType', title: '@workflow-management:activities.entities.activity-definition.fields.task-type.title' },\n { name: 'category', title: '@general:terms.classification.category' },\n ],\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info' }, { id: 'configuration' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n },\n single: {\n title: '{{ title || name }}',\n sections: [{ id: 'basic-info' }, { id: 'configuration' }],\n properties: [\n { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'type', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'category', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'executionMode', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'taskType', layout: { positions: { lg: { colSpan: 6 } } } },\n { name: 'isBrowsable', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'isContainer', layout: { positions: { lg: { colSpan: 3 } } } },\n { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'inputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outputs', layout: { positions: { lg: { colSpan: 12 } } } },\n { name: 'outcomes', layout: { positions: { lg: { colSpan: 12 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }]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B,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;;;;"}
@@ -0,0 +1,277 @@
1
+ import { AXPWidgetsList } from '@acorex-platform/framework-shared/core';
2
+ import { createAllQueryView, entityMasterCrudActions, entityMasterRecordActions } from '@acorex-platform/framework-shared/entity';
3
+ import { R as RootConfig } from './acorex-platform-module-workflow-management-client-contracts-entity-catalog-acorex-platform-module-workflow-management-client-contracts-entity-catalog-DKDogTU7.mjs';
4
+
5
+ //#endregion
6
+ //#region ---- Entity Factory ----
7
+ async function factoryAutomation() {
8
+ const entityDef = {
9
+ module: RootConfig.module.name,
10
+ name: RootConfig.entities.automation.name,
11
+ title: RootConfig.entities.automation.title,
12
+ icon: RootConfig.entities.automation.icon,
13
+ plugins: [
14
+ { name: 'history' },
15
+ { name: 'audit-info' },
16
+ {
17
+ name: 'unique-fields',
18
+ options: { fields: 'name', scope: 'parent', parentField: 'refId' },
19
+ },
20
+ ],
21
+ formats: {
22
+ individual: RootConfig.entities.automation.title,
23
+ plural: RootConfig.entities.automation.titlePlural,
24
+ searchResult: {
25
+ title: '{{ title }}',
26
+ description: '{{ context.eval("refType") + " (" + context.eval("refId") + ")" }}',
27
+ },
28
+ },
29
+ groups: [
30
+ { id: 'basic-info', title: '@general:terms.interface.basic-info' },
31
+ { id: 'condition', title: '@workflow-management:automations.entities.automation.groups.condition' },
32
+ { id: 'command', title: '@workflow-management:automations.entities.automation.groups.command' },
33
+ ],
34
+ properties: [
35
+ {
36
+ name: 'id',
37
+ title: 'ID',
38
+ groupId: 'basic-info',
39
+ schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
40
+ },
41
+ {
42
+ name: 'refType',
43
+ title: '@workflow-management:automations.entities.automation.fields.ref-type.title',
44
+ groupId: 'basic-info',
45
+ options: {
46
+ sort: { enabled: true },
47
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
48
+ },
49
+ schema: {
50
+ dataType: 'string',
51
+ interface: {
52
+ type: AXPWidgetsList.Editors.TextBox,
53
+ options: {
54
+ placeholder: '@workflow-management:automations.entities.automation.fields.ref-type.placeholder',
55
+ },
56
+ },
57
+ },
58
+ validations: [{ rule: 'required' }],
59
+ },
60
+ {
61
+ name: 'refId',
62
+ title: '@workflow-management:automations.entities.automation.fields.ref-id.title',
63
+ groupId: 'basic-info',
64
+ options: {
65
+ sort: { enabled: true },
66
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
67
+ },
68
+ schema: {
69
+ dataType: 'string',
70
+ interface: {
71
+ type: AXPWidgetsList.Editors.TextBox,
72
+ options: {
73
+ placeholder: '@workflow-management:automations.entities.automation.fields.ref-id.placeholder',
74
+ },
75
+ },
76
+ },
77
+ validations: [{ rule: 'required' }],
78
+ },
79
+ {
80
+ name: 'name',
81
+ title: '@workflow-management:automations.entities.automation.fields.name.title',
82
+ groupId: 'basic-info',
83
+ options: {
84
+ sort: { enabled: true },
85
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
86
+ },
87
+ schema: {
88
+ dataType: 'string',
89
+ interface: {
90
+ type: AXPWidgetsList.Editors.TextBox,
91
+ options: {
92
+ placeholder: '@workflow-management:automations.entities.automation.fields.name.placeholder',
93
+ },
94
+ },
95
+ },
96
+ validations: [
97
+ { rule: 'required' },
98
+ { rule: 'variable-name' },
99
+ ],
100
+ },
101
+ {
102
+ name: 'title',
103
+ title: '@workflow-management:automations.entities.automation.fields.title.title',
104
+ groupId: 'basic-info',
105
+ options: {
106
+ sort: { enabled: true },
107
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
108
+ },
109
+ schema: {
110
+ dataType: 'string',
111
+ interface: {
112
+ type: AXPWidgetsList.Editors.TextBox,
113
+ options: {
114
+ placeholder: '@workflow-management:automations.entities.automation.fields.title.placeholder',
115
+ },
116
+ },
117
+ },
118
+ validations: [{ rule: 'required' }],
119
+ },
120
+ {
121
+ name: 'description',
122
+ title: '@workflow-management:automations.entities.automation.fields.description.title',
123
+ groupId: 'basic-info',
124
+ options: {
125
+ sort: { enabled: false },
126
+ filter: { advance: { enabled: true }, inline: { enabled: false } },
127
+ },
128
+ schema: {
129
+ dataType: 'string',
130
+ interface: {
131
+ type: AXPWidgetsList.Editors.LargeTextBox,
132
+ options: {
133
+ rows: 3,
134
+ placeholder: '@workflow-management:automations.entities.automation.fields.description.placeholder',
135
+ },
136
+ },
137
+ },
138
+ },
139
+ {
140
+ name: 'condition',
141
+ title: '@workflow-management:automations.entities.automation.fields.condition.title',
142
+ groupId: 'condition',
143
+ options: {
144
+ sort: { enabled: false },
145
+ filter: { advance: { enabled: false }, inline: { enabled: false } },
146
+ },
147
+ schema: {
148
+ dataType: 'object',
149
+ interface: {
150
+ type: AXPWidgetsList.ExpressionBuilders.ConditionBuilder,
151
+ options: {
152
+ filterDefinitions: "{{ automation.rules(context.eval('refType'), context.eval('refId')) }}",
153
+ },
154
+ },
155
+ },
156
+ validations: [{ rule: 'required' }],
157
+ },
158
+ {
159
+ name: 'command',
160
+ title: '@workflow-management:automations.entities.automation.fields.command.title',
161
+ groupId: 'command',
162
+ options: {
163
+ sort: { enabled: true },
164
+ filter: { advance: { enabled: true }, inline: { enabled: true } },
165
+ },
166
+ schema: {
167
+ dataType: 'object',
168
+ interface: {
169
+ type: AXPWidgetsList.Editors.ActivityCommandConfigurator,
170
+ options: {},
171
+ },
172
+ },
173
+ validations: [{ rule: 'required' }],
174
+ },
175
+ ],
176
+ columns: [{ name: 'name' }, { name: 'title' }, { name: 'description' }, { name: 'command' }],
177
+ interfaces: {
178
+ master: {
179
+ create: {
180
+ sections: [
181
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
182
+ { id: 'condition', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
183
+ { id: 'command', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
184
+ ],
185
+ properties: [
186
+ { name: 'refType', layout: { positions: { lg: { colSpan: 12 } } } },
187
+ { name: 'refId', layout: { positions: { lg: { colSpan: 12 } } } },
188
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
189
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
190
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
191
+ {
192
+ name: 'condition',
193
+ layout: {
194
+ label: { visible: false },
195
+ positions: { lg: { colSpan: 12 } },
196
+ },
197
+ },
198
+ {
199
+ name: 'command',
200
+ layout: {
201
+ label: { visible: false },
202
+ positions: { lg: { colSpan: 12 } },
203
+ },
204
+ },
205
+ ],
206
+ },
207
+ update: {
208
+ sections: [
209
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
210
+ { id: 'condition', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
211
+ { id: 'command', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
212
+ ],
213
+ properties: [
214
+ { name: 'refType', layout: { positions: { lg: { colSpan: 12 } } } },
215
+ { name: 'refId', layout: { positions: { lg: { colSpan: 12 } } } },
216
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
217
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
218
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
219
+ {
220
+ name: 'condition',
221
+ layout: {
222
+ label: { visible: false },
223
+ positions: { lg: { colSpan: 12 } },
224
+ },
225
+ },
226
+ {
227
+ name: 'command',
228
+ layout: {
229
+ label: { visible: false },
230
+ positions: { lg: { colSpan: 12 } },
231
+ },
232
+ },
233
+ ],
234
+ },
235
+ single: {
236
+ title: '{{title}}',
237
+ sections: [
238
+ { id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } },
239
+ { id: 'condition', order: 2, layout: { positions: { lg: { colSpan: 12 } } } },
240
+ { id: 'command', order: 3, layout: { positions: { lg: { colSpan: 12 } } } },
241
+ ],
242
+ properties: [
243
+ { name: 'refType', layout: { positions: { lg: { colSpan: 12 } } } },
244
+ { name: 'refId', layout: { positions: { lg: { colSpan: 12 } } } },
245
+ { name: 'name', layout: { positions: { lg: { colSpan: 6 } } } },
246
+ { name: 'title', layout: { positions: { lg: { colSpan: 6 } } } },
247
+ { name: 'description', layout: { positions: { lg: { colSpan: 12 } } } },
248
+ {
249
+ name: 'condition',
250
+ layout: {
251
+ label: { visible: false },
252
+ positions: { lg: { colSpan: 12 } },
253
+ },
254
+ },
255
+ {
256
+ name: 'command',
257
+ layout: {
258
+ label: { visible: false },
259
+ positions: { lg: { colSpan: 12 } },
260
+ },
261
+ },
262
+ ],
263
+ actions: [...entityMasterRecordActions()],
264
+ },
265
+ list: {
266
+ actions: [...entityMasterCrudActions()],
267
+ views: [createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] })],
268
+ },
269
+ },
270
+ },
271
+ };
272
+ return entityDef;
273
+ }
274
+ //#endregion
275
+
276
+ export { factoryAutomation };
277
+ //# sourceMappingURL=acorex-platform-module-workflow-management-client-contracts-entity-catalog-automation.entity-DbJeeZpQ.mjs.map