verben-workflow-ui 0.5.72 → 0.5.74
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/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +10 -3
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +26 -2
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +14 -4
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +41 -19
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +45 -3
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +38 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +9 -2
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +157 -23
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
- package/package.json +60 -60
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +4 -1
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +12 -3
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +2 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-workflow-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.74",
|
|
4
4
|
"style": "styles/styles.css",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./styles": {
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"esm": "./esm2022/verben-workflow-ui.mjs",
|
|
16
16
|
"default": "./fesm2022/verben-workflow-ui.mjs"
|
|
17
17
|
},
|
|
18
|
-
"./src/lib/
|
|
19
|
-
"types": "./src/lib/
|
|
20
|
-
"esm2022": "./esm2022/src/lib/
|
|
21
|
-
"esm": "./esm2022/src/lib/
|
|
22
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-
|
|
18
|
+
"./src/lib/shared": {
|
|
19
|
+
"types": "./src/lib/shared/index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
|
|
21
|
+
"esm": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
|
|
22
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-shared.mjs"
|
|
23
23
|
},
|
|
24
24
|
"./src/lib/models": {
|
|
25
25
|
"types": "./src/lib/models/index.d.ts",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"esm": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
28
28
|
"default": "./fesm2022/verben-workflow-ui-src-lib-models.mjs"
|
|
29
29
|
},
|
|
30
|
-
"./src/lib/components/designer": {
|
|
31
|
-
"types": "./src/lib/components/designer/index.d.ts",
|
|
32
|
-
"esm2022": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
33
|
-
"esm": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
34
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-designer.mjs"
|
|
35
|
-
},
|
|
36
30
|
"./src/lib/components/actors": {
|
|
37
31
|
"types": "./src/lib/components/actors/index.d.ts",
|
|
38
32
|
"esm2022": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
39
33
|
"esm": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
40
34
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-actors.mjs"
|
|
41
35
|
},
|
|
36
|
+
"./src/lib/components/designer": {
|
|
37
|
+
"types": "./src/lib/components/designer/index.d.ts",
|
|
38
|
+
"esm2022": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
39
|
+
"esm": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
40
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-designer.mjs"
|
|
41
|
+
},
|
|
42
42
|
"./src/lib/pipes": {
|
|
43
43
|
"types": "./src/lib/pipes/index.d.ts",
|
|
44
44
|
"esm2022": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
58
58
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
|
|
59
59
|
},
|
|
60
|
-
"./src/lib/
|
|
61
|
-
"types": "./src/lib/
|
|
62
|
-
"esm2022": "./esm2022/src/lib/
|
|
63
|
-
"esm": "./esm2022/src/lib/
|
|
64
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-
|
|
60
|
+
"./src/lib/services": {
|
|
61
|
+
"types": "./src/lib/services/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
63
|
+
"esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
64
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
|
|
65
65
|
},
|
|
66
66
|
"./src/lib/components/file-upload": {
|
|
67
67
|
"types": "./src/lib/components/file-upload/index.d.ts",
|
|
@@ -81,6 +81,12 @@
|
|
|
81
81
|
"esm": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
82
82
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs"
|
|
83
83
|
},
|
|
84
|
+
"./src/lib/components/form-group": {
|
|
85
|
+
"types": "./src/lib/components/form-group/index.d.ts",
|
|
86
|
+
"esm2022": "./esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs",
|
|
87
|
+
"esm": "./esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs",
|
|
88
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs"
|
|
89
|
+
},
|
|
84
90
|
"./src/lib/components/form-response": {
|
|
85
91
|
"types": "./src/lib/components/form-response/index.d.ts",
|
|
86
92
|
"esm2022": "./esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs",
|
|
@@ -93,11 +99,11 @@
|
|
|
93
99
|
"esm": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
94
100
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs"
|
|
95
101
|
},
|
|
96
|
-
"./src/lib/components/
|
|
97
|
-
"types": "./src/lib/components/
|
|
98
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
99
|
-
"esm": "./esm2022/src/lib/components/
|
|
100
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
102
|
+
"./src/lib/components/forms": {
|
|
103
|
+
"types": "./src/lib/components/forms/index.d.ts",
|
|
104
|
+
"esm2022": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
105
|
+
"esm": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
106
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-forms.mjs"
|
|
101
107
|
},
|
|
102
108
|
"./src/lib/components/journal": {
|
|
103
109
|
"types": "./src/lib/components/journal/index.d.ts",
|
|
@@ -105,17 +111,11 @@
|
|
|
105
111
|
"esm": "./esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs",
|
|
106
112
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-journal.mjs"
|
|
107
113
|
},
|
|
108
|
-
"./src/lib/components/
|
|
109
|
-
"types": "./src/lib/components/
|
|
110
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
111
|
-
"esm": "./esm2022/src/lib/components/
|
|
112
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
113
|
-
},
|
|
114
|
-
"./src/lib/components/operation-popup": {
|
|
115
|
-
"types": "./src/lib/components/operation-popup/index.d.ts",
|
|
116
|
-
"esm2022": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
117
|
-
"esm": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
118
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs"
|
|
114
|
+
"./src/lib/components/my-queue": {
|
|
115
|
+
"types": "./src/lib/components/my-queue/index.d.ts",
|
|
116
|
+
"esm2022": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
117
|
+
"esm": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
118
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs"
|
|
119
119
|
},
|
|
120
120
|
"./src/lib/components/stage-details": {
|
|
121
121
|
"types": "./src/lib/components/stage-details/index.d.ts",
|
|
@@ -123,29 +123,35 @@
|
|
|
123
123
|
"esm": "./esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs",
|
|
124
124
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs"
|
|
125
125
|
},
|
|
126
|
-
"./src/lib/components/my-queue": {
|
|
127
|
-
"types": "./src/lib/components/my-queue/index.d.ts",
|
|
128
|
-
"esm2022": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
129
|
-
"esm": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
130
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs"
|
|
131
|
-
},
|
|
132
126
|
"./src/lib/components/task-history": {
|
|
133
127
|
"types": "./src/lib/components/task-history/index.d.ts",
|
|
134
128
|
"esm2022": "./esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs",
|
|
135
129
|
"esm": "./esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs",
|
|
136
130
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs"
|
|
137
131
|
},
|
|
132
|
+
"./src/lib/components/task-form": {
|
|
133
|
+
"types": "./src/lib/components/task-form/index.d.ts",
|
|
134
|
+
"esm2022": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
135
|
+
"esm": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
136
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs"
|
|
137
|
+
},
|
|
138
138
|
"./src/lib/components/task-notification": {
|
|
139
139
|
"types": "./src/lib/components/task-notification/index.d.ts",
|
|
140
140
|
"esm2022": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
141
141
|
"esm": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
142
142
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs"
|
|
143
143
|
},
|
|
144
|
-
"./src/lib/components/
|
|
145
|
-
"types": "./src/lib/components/
|
|
146
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
147
|
-
"esm": "./esm2022/src/lib/components/
|
|
148
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
144
|
+
"./src/lib/components/tasks": {
|
|
145
|
+
"types": "./src/lib/components/tasks/index.d.ts",
|
|
146
|
+
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
147
|
+
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
148
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
149
|
+
},
|
|
150
|
+
"./src/lib/components/operation-popup": {
|
|
151
|
+
"types": "./src/lib/components/operation-popup/index.d.ts",
|
|
152
|
+
"esm2022": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
153
|
+
"esm": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
154
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs"
|
|
149
155
|
},
|
|
150
156
|
"./src/lib/components/workflow": {
|
|
151
157
|
"types": "./src/lib/components/workflow/index.d.ts",
|
|
@@ -153,17 +159,11 @@
|
|
|
153
159
|
"esm": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
154
160
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs"
|
|
155
161
|
},
|
|
156
|
-
"./src/lib/components/
|
|
157
|
-
"types": "./src/lib/components/
|
|
158
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
159
|
-
"esm": "./esm2022/src/lib/components/
|
|
160
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
161
|
-
},
|
|
162
|
-
"./src/lib/components/tasks": {
|
|
163
|
-
"types": "./src/lib/components/tasks/index.d.ts",
|
|
164
|
-
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
165
|
-
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
166
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
162
|
+
"./src/lib/components/workflow-designer": {
|
|
163
|
+
"types": "./src/lib/components/workflow-designer/index.d.ts",
|
|
164
|
+
"esm2022": "./esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs",
|
|
165
|
+
"esm": "./esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs",
|
|
166
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs"
|
|
167
167
|
},
|
|
168
168
|
"./src/lib/components/workflows": {
|
|
169
169
|
"types": "./src/lib/components/workflows/index.d.ts",
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
"esm": "./esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs",
|
|
172
172
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs"
|
|
173
173
|
},
|
|
174
|
-
"./src/lib/components/
|
|
175
|
-
"types": "./src/lib/components/
|
|
176
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
177
|
-
"esm": "./esm2022/src/lib/components/
|
|
178
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
174
|
+
"./src/lib/components/wf": {
|
|
175
|
+
"types": "./src/lib/components/wf/index.d.ts",
|
|
176
|
+
"esm2022": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
177
|
+
"esm": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
178
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-wf.mjs"
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
"peerDependencies": {
|
|
@@ -9,6 +9,7 @@ export declare class SwimlaneDialogComponent implements OnInit {
|
|
|
9
9
|
private dataService;
|
|
10
10
|
private swimlaneService;
|
|
11
11
|
visible: boolean;
|
|
12
|
+
isEditing: boolean;
|
|
12
13
|
swimlaneData: import("@angular/core").InputSignal<{
|
|
13
14
|
name: string;
|
|
14
15
|
tags: Tag[];
|
|
@@ -18,6 +19,7 @@ export declare class SwimlaneDialogComponent implements OnInit {
|
|
|
18
19
|
tags: Tag[];
|
|
19
20
|
name: string;
|
|
20
21
|
}>;
|
|
22
|
+
deleted: EventEmitter<void>;
|
|
21
23
|
searchQuery: string;
|
|
22
24
|
workflowName: string;
|
|
23
25
|
selectedTagNames: string[];
|
|
@@ -34,9 +36,10 @@ export declare class SwimlaneDialogComponent implements OnInit {
|
|
|
34
36
|
get filteredTags(): Tag[];
|
|
35
37
|
isTagSelected(tagName: string): boolean;
|
|
36
38
|
toggleTagSelection(tagName: string): void;
|
|
39
|
+
onDeleteSwimlane(): void;
|
|
37
40
|
onDialogClose(eventData: any): void;
|
|
38
41
|
onDialogOpen(eventData: any): void;
|
|
39
42
|
applySelection(): void;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwimlaneDialogComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwimlaneDialogComponent, "lib-swimlane-dialog", never, { "visible": { "alias": "visible"; "required": false; }; "swimlaneData": { "alias": "swimlaneData"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "created": "created"; }, never, never, false, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SwimlaneDialogComponent, "lib-swimlane-dialog", never, { "visible": { "alias": "visible"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "swimlaneData": { "alias": "swimlaneData"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "created": "created"; "deleted": "deleted"; }, never, never, false, never>;
|
|
42
45
|
}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import { ActorTag, ErrorResponse, Escalation, FlowableStatus, Form, OperationAction, Paged, ReportSchedule, Tag, Workflow, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
|
|
2
|
-
import { EnvironmentService, HttpWebRequestService } from 'verben-workflow-ui/src/lib/services';
|
|
1
|
+
import { ActorTag, ErrorResponse, Escalation, FlowableStatus, Form, OperationAction, Paged, ReportSchedule, SwimLane, Tag, Workflow, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
|
|
2
|
+
import { EnvironmentService, HttpWebRequestService, UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class WorkflowDataService {
|
|
5
5
|
private httpService;
|
|
6
6
|
private envSvc;
|
|
7
|
-
|
|
7
|
+
private utilService;
|
|
8
|
+
private pendingRequests;
|
|
9
|
+
constructor(httpService: HttpWebRequestService, envSvc: EnvironmentService, utilService: UtilService);
|
|
10
|
+
/**
|
|
11
|
+
* Wraps an API call so a busy indicator is shown while it is in flight.
|
|
12
|
+
* A ref-count keeps the loader visible until the last concurrent request
|
|
13
|
+
* settles, mirroring how the workflows facade toggles `sendBI`.
|
|
14
|
+
*/
|
|
15
|
+
private withLoader;
|
|
8
16
|
getWorkflowWithParam(param: string, skip?: number, limit?: number, sortParam?: string, sortOrder?: string): Promise<Paged<Workflow>>;
|
|
9
17
|
getWorkflows(skip?: number, limit?: number): Promise<Paged<Workflow>>;
|
|
10
18
|
getForms(skip?: number, limit?: number): Promise<Paged<Form>>;
|
|
@@ -12,6 +20,7 @@ export declare class WorkflowDataService {
|
|
|
12
20
|
saveWorkflows(requests: Partial<Workflow>[]): Promise<any | ErrorResponse>;
|
|
13
21
|
deleteWorkflowStages(requests: WorkflowStage['Code'][]): Promise<any>;
|
|
14
22
|
deleteWorkflowActions(requests: string[]): Promise<any>;
|
|
23
|
+
deleteSwimLanes(requests: SwimLane['Code'][]): Promise<any>;
|
|
15
24
|
saveEscalations(requests: Partial<Escalation>[]): Promise<Escalation[]>;
|
|
16
25
|
deleteEscalations(requests: Escalation['Code'][]): Promise<any>;
|
|
17
26
|
searchEscalationWithParam(params: Pick<Escalation, 'Workflow' | 'Stage' | 'Type'>, skip?: number, limit?: number, sortOrder?: string): Promise<Paged<Escalation>>;
|
|
@@ -38,6 +38,8 @@ export declare class WorkflowDesignerComponent {
|
|
|
38
38
|
tags: Tag[];
|
|
39
39
|
name: string;
|
|
40
40
|
}): void;
|
|
41
|
+
onSwimlaneDialogDeleted(): void;
|
|
42
|
+
private finishSwimlaneDelete;
|
|
41
43
|
onSubflowSelected(): void;
|
|
42
44
|
openActorTagsDialog(): void;
|
|
43
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerComponent, never>;
|
|
@@ -59,6 +59,22 @@ export declare class WorkflowDesignerState {
|
|
|
59
59
|
} | null;
|
|
60
60
|
canConnect(sourceNodeType: string, targetNodeType: string): boolean;
|
|
61
61
|
getAllowedTargetNodeTypes(): string[];
|
|
62
|
+
/**
|
|
63
|
+
* Deletes a swimlane. Only succeeds when the lane has no nodes — stages must
|
|
64
|
+
* be moved to another lane first. Returns false when the lane still has nodes
|
|
65
|
+
* or the index is out of range.
|
|
66
|
+
*
|
|
67
|
+
* Keeps everything aligned after removal:
|
|
68
|
+
* - Re-sequences `order` on the remaining lanes (immutable reassignment so
|
|
69
|
+
* Angular's @for blocks re-render).
|
|
70
|
+
* - Decrements the swimlane indices stored on connections whose endpoints
|
|
71
|
+
* live below the removed lane, since those lanes shift up by one.
|
|
72
|
+
*
|
|
73
|
+
* The lane's original record is left in `swimlaneRecord`, so a previously
|
|
74
|
+
* loaded lane is emitted with `ObjectState.Removed` by
|
|
75
|
+
* `transformToWorkflowModel`; a never-saved lane simply disappears.
|
|
76
|
+
*/
|
|
77
|
+
deleteSwimlane(index: number): boolean;
|
|
62
78
|
updateSwimlane(index: number, name: string, tags: Tag[]): void;
|
|
63
79
|
transformToWorkflowModel(): Workflow;
|
|
64
80
|
getConnectionPointType(pointId: string): 'top' | 'right' | 'bottom' | 'left' | undefined;
|