sequential-workflow-designer 0.10.3
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/LICENSE +9 -0
- package/README.md +205 -0
- package/css/designer-dark.css +148 -0
- package/css/designer-light.css +148 -0
- package/css/designer.css +259 -0
- package/dist/index.umd.js +3842 -0
- package/lib/cjs/index.cjs +3844 -0
- package/lib/esm/index.js +3799 -0
- package/lib/index.d.ts +858 -0
- package/package.json +88 -0
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,858 @@
|
|
|
1
|
+
import { Step, BranchedStep, SequentialStep, Definition, Sequence, ComponentType, Branches } from 'sequential-workflow-model';
|
|
2
|
+
export * from 'sequential-workflow-model';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use {@link Step} instead.
|
|
6
|
+
*/
|
|
7
|
+
interface TaskStep extends Step {
|
|
8
|
+
componentType: 'task';
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use {@link BranchedStep} instead.
|
|
12
|
+
*/
|
|
13
|
+
interface SwitchStep extends BranchedStep {
|
|
14
|
+
componentType: 'switch';
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use {@link SequentialStep} instead.
|
|
18
|
+
*/
|
|
19
|
+
interface ContainerStep extends SequentialStep {
|
|
20
|
+
componentType: 'container';
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class Vector {
|
|
24
|
+
readonly x: number;
|
|
25
|
+
readonly y: number;
|
|
26
|
+
constructor(x: number, y: number);
|
|
27
|
+
add(v: Vector): Vector;
|
|
28
|
+
subtract(v: Vector): Vector;
|
|
29
|
+
multiplyByScalar(s: number): Vector;
|
|
30
|
+
divideByScalar(s: number): Vector;
|
|
31
|
+
round(): Vector;
|
|
32
|
+
distance(): number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface Behavior {
|
|
36
|
+
onStart(position: Vector): void;
|
|
37
|
+
onMove(delta: Vector): Behavior | void;
|
|
38
|
+
onEnd(interrupt: boolean, element: Element | null): void;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
declare class BehaviorController {
|
|
42
|
+
private state?;
|
|
43
|
+
start(startPosition: Vector, behavior: Behavior): void;
|
|
44
|
+
private readonly onMouseMove;
|
|
45
|
+
private readonly onTouchMove;
|
|
46
|
+
private readonly onMouseUp;
|
|
47
|
+
private readonly onTouchEnd;
|
|
48
|
+
private readonly onTouchStart;
|
|
49
|
+
private move;
|
|
50
|
+
private stop;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface DesignerConfiguration<TDefinition extends Definition = Definition> {
|
|
54
|
+
/**
|
|
55
|
+
* @description The theme of the designer.
|
|
56
|
+
* @default `light`
|
|
57
|
+
*/
|
|
58
|
+
theme?: string;
|
|
59
|
+
isReadonly?: boolean;
|
|
60
|
+
undoStackSize?: number;
|
|
61
|
+
steps: StepsConfiguration;
|
|
62
|
+
/**
|
|
63
|
+
* @description The configuration of the toolbox. If not set, the toolbox will be hidden.
|
|
64
|
+
*/
|
|
65
|
+
toolbox: false | ToolboxConfiguration;
|
|
66
|
+
/**
|
|
67
|
+
* @description The configuration of the smart editor. If not set, the smart editor will be hidden.
|
|
68
|
+
*/
|
|
69
|
+
editors: false | EditorsConfiguration<TDefinition>;
|
|
70
|
+
/**
|
|
71
|
+
* @description If true, the control bar will be displayed. In the next version, this property will be required.
|
|
72
|
+
*/
|
|
73
|
+
controlBar: boolean;
|
|
74
|
+
customActionHandler?: CustomActionHandler;
|
|
75
|
+
extensions?: DesignerExtension[];
|
|
76
|
+
}
|
|
77
|
+
type CustomActionHandler = (action: string, step: Step) => void;
|
|
78
|
+
interface ToolboxConfiguration {
|
|
79
|
+
groups: ToolboxGroupConfiguration[];
|
|
80
|
+
}
|
|
81
|
+
type StepDefinition = Omit<Step, 'id'>;
|
|
82
|
+
interface ToolboxGroupConfiguration {
|
|
83
|
+
name: string;
|
|
84
|
+
steps: StepDefinition[];
|
|
85
|
+
}
|
|
86
|
+
interface StepsConfiguration {
|
|
87
|
+
canInsertStep?: (step: Step, targetSequence: Sequence, targetIndex: number) => boolean;
|
|
88
|
+
isDraggable?: (step: Step, parentSequence: Sequence) => boolean;
|
|
89
|
+
canMoveStep?: (sourceSequence: Sequence, step: Step, targetSequence: Sequence, targetIndex: number) => boolean;
|
|
90
|
+
isDeletable?: (step: Step, parentSequence: Sequence) => boolean;
|
|
91
|
+
canDeleteStep?: (step: Step, parentSequence: Sequence) => boolean;
|
|
92
|
+
iconUrlProvider?: StepIconUrlProvider;
|
|
93
|
+
validator?: StepValidator;
|
|
94
|
+
}
|
|
95
|
+
type StepIconUrlProvider = (componentType: ComponentType, type: string) => string | null;
|
|
96
|
+
type StepValidator = (step: Step, parentSequence: Sequence) => boolean;
|
|
97
|
+
interface EditorsConfiguration<TDefinition extends Definition = Definition> {
|
|
98
|
+
stepEditorProvider: StepEditorProvider;
|
|
99
|
+
globalEditorProvider: GlobalEditorProvider<TDefinition>;
|
|
100
|
+
}
|
|
101
|
+
interface StepEditorContext {
|
|
102
|
+
notifyNameChanged(): void;
|
|
103
|
+
notifyPropertiesChanged(): void;
|
|
104
|
+
notifyChildrenChanged(): void;
|
|
105
|
+
}
|
|
106
|
+
type StepEditorProvider = (step: Step, context: StepEditorContext) => HTMLElement;
|
|
107
|
+
interface GlobalEditorContext {
|
|
108
|
+
notifyPropertiesChanged(): void;
|
|
109
|
+
}
|
|
110
|
+
type GlobalEditorProvider<TDefinition extends Definition = Definition> = (definition: TDefinition, context: GlobalEditorContext) => HTMLElement;
|
|
111
|
+
|
|
112
|
+
type Services = Required<DesignerExtension>;
|
|
113
|
+
declare class ServicesResolver {
|
|
114
|
+
static resolve(extensions: DesignerExtension[] | undefined, configuration: DesignerConfiguration): Services;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
interface SequenceContext {
|
|
118
|
+
sequence: Sequence;
|
|
119
|
+
depth: number;
|
|
120
|
+
isInputConnected: boolean;
|
|
121
|
+
isOutputConnected: boolean;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
declare enum RectPlaceholderDirection {
|
|
125
|
+
none = 0,
|
|
126
|
+
in = 1,
|
|
127
|
+
out = 2
|
|
128
|
+
}
|
|
129
|
+
declare class RectPlaceholderView {
|
|
130
|
+
readonly rect: SVGElement;
|
|
131
|
+
readonly g: SVGElement;
|
|
132
|
+
static create(parent: SVGElement, x: number, y: number, width: number, height: number, direction: RectPlaceholderDirection): RectPlaceholderView;
|
|
133
|
+
private constructor();
|
|
134
|
+
setIsHover(isHover: boolean): void;
|
|
135
|
+
setIsVisible(isVisible: boolean): void;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare class SequenceComponentView implements ComponentView {
|
|
139
|
+
readonly g: SVGGElement;
|
|
140
|
+
readonly width: number;
|
|
141
|
+
readonly height: number;
|
|
142
|
+
readonly joinX: number;
|
|
143
|
+
readonly placeholders: SequencePlaceholder[];
|
|
144
|
+
readonly components: StepComponent[];
|
|
145
|
+
static create(parent: SVGElement, sequenceContext: SequenceContext, componentContext: ComponentContext): SequenceComponentView;
|
|
146
|
+
private constructor();
|
|
147
|
+
setIsDragging(isDragging: boolean): void;
|
|
148
|
+
hasOutput(): boolean;
|
|
149
|
+
}
|
|
150
|
+
interface SequencePlaceholder {
|
|
151
|
+
view: RectPlaceholderView;
|
|
152
|
+
index: number;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
declare class SequenceComponent implements Component {
|
|
156
|
+
readonly view: SequenceComponentView;
|
|
157
|
+
readonly hasOutput: boolean;
|
|
158
|
+
private readonly sequence;
|
|
159
|
+
static create(parentElement: SVGElement, sequenceContext: SequenceContext, context: ComponentContext): SequenceComponent;
|
|
160
|
+
private constructor();
|
|
161
|
+
resolveClick(click: ClickDetails): ResolvedClick | null;
|
|
162
|
+
findById(stepId: string): StepComponent | null;
|
|
163
|
+
getPlaceholders(result: Placeholder[]): void;
|
|
164
|
+
setIsDragging(isDragging: boolean): void;
|
|
165
|
+
updateBadges(result: BadgesResult): void;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
interface Component {
|
|
169
|
+
view: ComponentView;
|
|
170
|
+
findById(stepId: string): StepComponent | null;
|
|
171
|
+
resolveClick(click: ClickDetails): ResolvedClick | null;
|
|
172
|
+
getPlaceholders(result: Placeholder[]): void;
|
|
173
|
+
setIsDragging(isDragging: boolean): void;
|
|
174
|
+
updateBadges(result: BadgesResult): void;
|
|
175
|
+
}
|
|
176
|
+
interface ClickDetails {
|
|
177
|
+
element: Element;
|
|
178
|
+
position: Vector;
|
|
179
|
+
scale: number;
|
|
180
|
+
}
|
|
181
|
+
interface ResolvedClick {
|
|
182
|
+
component: StepComponent;
|
|
183
|
+
command: ClickCommand;
|
|
184
|
+
}
|
|
185
|
+
interface ClickCommand {
|
|
186
|
+
type: ClickCommandType;
|
|
187
|
+
}
|
|
188
|
+
interface TriggerCustomActionClickCommand extends ClickCommand {
|
|
189
|
+
type: ClickCommandType.triggerCustomAction;
|
|
190
|
+
action: string;
|
|
191
|
+
}
|
|
192
|
+
declare enum ClickCommandType {
|
|
193
|
+
selectStep = 1,
|
|
194
|
+
openFolder = 2,
|
|
195
|
+
triggerCustomAction = 3
|
|
196
|
+
}
|
|
197
|
+
interface ComponentView {
|
|
198
|
+
g: SVGGElement;
|
|
199
|
+
width: number;
|
|
200
|
+
height: number;
|
|
201
|
+
joinX: number;
|
|
202
|
+
}
|
|
203
|
+
interface StepComponentView extends ComponentView {
|
|
204
|
+
sequenceComponents: SequenceComponent[] | null;
|
|
205
|
+
placeholders: Placeholder[] | null;
|
|
206
|
+
hasOutput(): boolean;
|
|
207
|
+
resolveClick(click: ClickDetails): ClickCommand | null;
|
|
208
|
+
setIsDragging(isDragging: boolean): void;
|
|
209
|
+
setIsSelected(isSelected: boolean): void;
|
|
210
|
+
setIsDisabled(isDisabled: boolean): void;
|
|
211
|
+
getClientPosition(): Vector;
|
|
212
|
+
}
|
|
213
|
+
interface BadgeView {
|
|
214
|
+
g: SVGGElement;
|
|
215
|
+
width: number;
|
|
216
|
+
height: number;
|
|
217
|
+
}
|
|
218
|
+
interface Badge {
|
|
219
|
+
view: BadgeView | null;
|
|
220
|
+
update(result: unknown): unknown;
|
|
221
|
+
resolveClick(click: ClickDetails): ClickCommand | null;
|
|
222
|
+
}
|
|
223
|
+
type BadgesResult = unknown[];
|
|
224
|
+
interface Placeholder {
|
|
225
|
+
parentSequence: Sequence;
|
|
226
|
+
index: number;
|
|
227
|
+
getClientRect(): DOMRect;
|
|
228
|
+
setIsHover(isHover: boolean): void;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
declare class StepComponent implements Component {
|
|
232
|
+
readonly view: StepComponentView;
|
|
233
|
+
readonly step: Step;
|
|
234
|
+
readonly parentSequence: Sequence;
|
|
235
|
+
readonly hasOutput: boolean;
|
|
236
|
+
private readonly badges;
|
|
237
|
+
static create(view: StepComponentView, stepContext: StepContext, componentContext: ComponentContext): StepComponent;
|
|
238
|
+
private isDisabled;
|
|
239
|
+
private constructor();
|
|
240
|
+
findById(stepId: string): StepComponent | null;
|
|
241
|
+
resolveClick(click: ClickDetails): ResolvedClick | null;
|
|
242
|
+
getPlaceholders(result: Placeholder[]): void;
|
|
243
|
+
setIsDragging(isDragging: boolean): void;
|
|
244
|
+
setIsSelected(isSelected: boolean): void;
|
|
245
|
+
setIsDisabled(isDisabled: boolean): void;
|
|
246
|
+
updateBadges(result: BadgesResult): void;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
declare class StepComponentFactory {
|
|
250
|
+
private readonly stepExtensionResolver;
|
|
251
|
+
constructor(stepExtensionResolver: StepExtensionResolver);
|
|
252
|
+
create(parentElement: SVGElement, stepContext: StepContext, componentContext: ComponentContext): StepComponent;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare class ComponentContext {
|
|
256
|
+
readonly configuration: StepsConfiguration;
|
|
257
|
+
readonly placeholderController: PlaceholderController;
|
|
258
|
+
readonly stepComponentFactory: StepComponentFactory;
|
|
259
|
+
readonly services: Services;
|
|
260
|
+
static create(configuration: StepsConfiguration, stepExtensionResolver: StepExtensionResolver, services: Services): ComponentContext;
|
|
261
|
+
private constructor();
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
declare class SimpleEvent<T> {
|
|
265
|
+
private readonly listeners;
|
|
266
|
+
subscribe(listener: SimpleEventListener<T>): void;
|
|
267
|
+
unsubscribe(listener: SimpleEventListener<T>): void;
|
|
268
|
+
forward(value: T): void;
|
|
269
|
+
count(): number;
|
|
270
|
+
}
|
|
271
|
+
type SimpleEventListener<T> = (value: T) => void;
|
|
272
|
+
|
|
273
|
+
interface DefinitionChangedEvent {
|
|
274
|
+
changeType: DefinitionChangeType;
|
|
275
|
+
stepId: string | null;
|
|
276
|
+
}
|
|
277
|
+
declare enum DefinitionChangeType {
|
|
278
|
+
stepNameChanged = 1,
|
|
279
|
+
stepPropertyChanged = 2,
|
|
280
|
+
stepChildrenChanged = 3,
|
|
281
|
+
stepDeleted = 4,
|
|
282
|
+
stepMoved = 5,
|
|
283
|
+
stepInserted = 6,
|
|
284
|
+
globalPropertyChanged = 7,
|
|
285
|
+
rootReplaced = 8
|
|
286
|
+
}
|
|
287
|
+
declare class DesignerState {
|
|
288
|
+
definition: Definition;
|
|
289
|
+
isReadonly: boolean;
|
|
290
|
+
readonly onViewportChanged: SimpleEvent<Viewport>;
|
|
291
|
+
readonly onSelectedStepIdChanged: SimpleEvent<string | null>;
|
|
292
|
+
readonly onFolderPathChanged: SimpleEvent<string[]>;
|
|
293
|
+
readonly onIsReadonlyChanged: SimpleEvent<boolean>;
|
|
294
|
+
readonly onIsDraggingChanged: SimpleEvent<boolean>;
|
|
295
|
+
readonly onIsDragDisabledChanged: SimpleEvent<boolean>;
|
|
296
|
+
readonly onDefinitionChanged: SimpleEvent<DefinitionChangedEvent>;
|
|
297
|
+
viewport: Viewport;
|
|
298
|
+
selectedStepId: string | null;
|
|
299
|
+
folderPath: string[];
|
|
300
|
+
isDragging: boolean;
|
|
301
|
+
isDragDisabled: boolean;
|
|
302
|
+
constructor(definition: Definition, isReadonly: boolean);
|
|
303
|
+
setSelectedStepId(stepId: string | null): void;
|
|
304
|
+
pushStepIdToFolderPath(stepId: string): void;
|
|
305
|
+
setFolderPath(path: string[]): void;
|
|
306
|
+
tryGetLastStepIdFromFolderPath(): string | null;
|
|
307
|
+
setDefinition(definition: Definition): void;
|
|
308
|
+
notifyDefinitionChanged(changeType: DefinitionChangeType, stepId: string | null): void;
|
|
309
|
+
setViewport(viewport: Viewport): void;
|
|
310
|
+
setIsReadonly(isReadonly: boolean): void;
|
|
311
|
+
setIsDragging(isDragging: boolean): void;
|
|
312
|
+
toggleIsDragDisabled(): void;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare class HistoryController {
|
|
316
|
+
private readonly state;
|
|
317
|
+
private readonly definitionModifier;
|
|
318
|
+
private readonly stackSize;
|
|
319
|
+
static create(state: DesignerState, definitionModifier: DefinitionModifier, configuration: DesignerConfiguration): HistoryController;
|
|
320
|
+
private readonly stack;
|
|
321
|
+
private currentIndex;
|
|
322
|
+
constructor(state: DesignerState, definitionModifier: DefinitionModifier, stackSize: number);
|
|
323
|
+
canUndo(): boolean;
|
|
324
|
+
undo(): void;
|
|
325
|
+
canRedo(): boolean;
|
|
326
|
+
redo(): void;
|
|
327
|
+
private remember;
|
|
328
|
+
private commit;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
declare class LayoutController {
|
|
332
|
+
private readonly parent;
|
|
333
|
+
constructor(parent: HTMLElement);
|
|
334
|
+
isMobile(): boolean;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
declare class Icons {
|
|
338
|
+
static folderIn: string;
|
|
339
|
+
static folderOut: string;
|
|
340
|
+
static center: string;
|
|
341
|
+
static zoomIn: string;
|
|
342
|
+
static zoomOut: string;
|
|
343
|
+
static undo: string;
|
|
344
|
+
static redo: string;
|
|
345
|
+
static move: string;
|
|
346
|
+
static delete: string;
|
|
347
|
+
static folderUp: string;
|
|
348
|
+
static close: string;
|
|
349
|
+
static options: string;
|
|
350
|
+
static expand: string;
|
|
351
|
+
static alert: string;
|
|
352
|
+
static play: string;
|
|
353
|
+
static stop: string;
|
|
354
|
+
static folder: string;
|
|
355
|
+
static appendPath(parent: SVGElement, pathClassName: string, d: string, size: number): SVGGElement;
|
|
356
|
+
static createSvg(className: string, d: string): SVGElement;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
declare class ObjectCloner {
|
|
360
|
+
static deepClone<T>(instance: T): T;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
interface Attributes {
|
|
364
|
+
[name: string]: string | number;
|
|
365
|
+
}
|
|
366
|
+
declare class Dom {
|
|
367
|
+
static svg<K extends keyof SVGElementTagNameMap>(name: K, attributes?: Attributes): SVGElementTagNameMap[K];
|
|
368
|
+
static translate(element: SVGElement, x: number, y: number): void;
|
|
369
|
+
static attrs(element: Element, attributes: Attributes): void;
|
|
370
|
+
static element<T extends keyof HTMLElementTagNameMap>(name: T, attributes?: Attributes): HTMLElementTagNameMap[T];
|
|
371
|
+
static toggleClass(element: Element, isEnabled: boolean, className: string): void;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare class Uid {
|
|
375
|
+
static next(): string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare function race<A, B, C>(timeout: number, a: SimpleEvent<A>, b: SimpleEvent<B>, c?: SimpleEvent<C>): SimpleEvent<[A?, B?, C?]>;
|
|
379
|
+
|
|
380
|
+
interface WorkspaceController {
|
|
381
|
+
getPlaceholders(): Placeholder[];
|
|
382
|
+
getComponentByStepId(stepId: string): StepComponent;
|
|
383
|
+
getCanvasPosition(): Vector;
|
|
384
|
+
getCanvasSize(): Vector;
|
|
385
|
+
getRootComponentSize(): Vector;
|
|
386
|
+
updateBadges(): void;
|
|
387
|
+
updateSize(): void;
|
|
388
|
+
}
|
|
389
|
+
declare class WorkspaceControllerWrapper implements WorkspaceController {
|
|
390
|
+
private controller?;
|
|
391
|
+
set(controller: WorkspaceController): void;
|
|
392
|
+
private get;
|
|
393
|
+
getPlaceholders(): Placeholder[];
|
|
394
|
+
getComponentByStepId(stepId: string): StepComponent;
|
|
395
|
+
getCanvasPosition(): Vector;
|
|
396
|
+
getCanvasSize(): Vector;
|
|
397
|
+
getRootComponentSize(): Vector;
|
|
398
|
+
updateBadges(): void;
|
|
399
|
+
updateSize(): void;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
declare class DesignerContext {
|
|
403
|
+
readonly state: DesignerState;
|
|
404
|
+
readonly configuration: DesignerConfiguration;
|
|
405
|
+
readonly services: Services;
|
|
406
|
+
readonly componentContext: ComponentContext;
|
|
407
|
+
readonly stepsTraverser: StepsTraverser;
|
|
408
|
+
readonly definitionModifier: DefinitionModifier;
|
|
409
|
+
readonly layoutController: LayoutController;
|
|
410
|
+
readonly workspaceController: WorkspaceControllerWrapper;
|
|
411
|
+
readonly behaviorController: BehaviorController;
|
|
412
|
+
readonly historyController: HistoryController | undefined;
|
|
413
|
+
static create(parent: HTMLElement, startDefinition: Definition, configuration: DesignerConfiguration, services: Services): DesignerContext;
|
|
414
|
+
constructor(state: DesignerState, configuration: DesignerConfiguration, services: Services, componentContext: ComponentContext, stepsTraverser: StepsTraverser, definitionModifier: DefinitionModifier, layoutController: LayoutController, workspaceController: WorkspaceControllerWrapper, behaviorController: BehaviorController, historyController: HistoryController | undefined);
|
|
415
|
+
setWorkspaceController(controller: WorkspaceController): void;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
type EditorRendererHandler = (step: Step | null) => void;
|
|
419
|
+
declare class EditorRenderer {
|
|
420
|
+
private readonly state;
|
|
421
|
+
private readonly stepsTraverser;
|
|
422
|
+
private readonly handler;
|
|
423
|
+
static create(state: DesignerState, stepsTraverser: StepsTraverser, handler: EditorRendererHandler): EditorRenderer;
|
|
424
|
+
private currentStepId;
|
|
425
|
+
private constructor();
|
|
426
|
+
destroy(): void;
|
|
427
|
+
private render;
|
|
428
|
+
private tryRender;
|
|
429
|
+
private onDefinitionChanged;
|
|
430
|
+
private onSelectedStepIdChanged;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
declare class EditorApi {
|
|
434
|
+
private readonly state;
|
|
435
|
+
private readonly stepsTraverser;
|
|
436
|
+
private readonly layoutController;
|
|
437
|
+
private readonly definitionModifier;
|
|
438
|
+
constructor(state: DesignerState, stepsTraverser: StepsTraverser, layoutController: LayoutController, definitionModifier: DefinitionModifier);
|
|
439
|
+
isVisibleAtStart(): boolean;
|
|
440
|
+
getDefinition(): Definition;
|
|
441
|
+
runRenderer(rendererHandler: EditorRendererHandler): EditorRenderer;
|
|
442
|
+
createStepEditorContext(stepId: string): StepEditorContext;
|
|
443
|
+
createGlobalEditorContext(): GlobalEditorContext;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare class PathBarApi {
|
|
447
|
+
private readonly state;
|
|
448
|
+
private readonly stepsTraverser;
|
|
449
|
+
constructor(state: DesignerState, stepsTraverser: StepsTraverser);
|
|
450
|
+
/**
|
|
451
|
+
* @deprecated Don't use this method
|
|
452
|
+
*/
|
|
453
|
+
subscribe(handler: () => void): void;
|
|
454
|
+
setFolderPath(path: string[]): void;
|
|
455
|
+
getFolderPath(): string[];
|
|
456
|
+
getFolderPathStepNames(): string[];
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
declare class ToolboxApi {
|
|
460
|
+
private readonly state;
|
|
461
|
+
private readonly designerContext;
|
|
462
|
+
private readonly behaviorController;
|
|
463
|
+
private readonly layoutController;
|
|
464
|
+
private readonly configuration;
|
|
465
|
+
constructor(state: DesignerState, designerContext: DesignerContext, behaviorController: BehaviorController, layoutController: LayoutController, configuration: StepsConfiguration);
|
|
466
|
+
isVisibleAtStart(): boolean;
|
|
467
|
+
tryGetIconUrl(step: StepDefinition): string | null;
|
|
468
|
+
/**
|
|
469
|
+
* @param position Mouse or touch position.
|
|
470
|
+
* @param step Step definition.
|
|
471
|
+
* @returns If started dragging returns true, otherwise returns false.
|
|
472
|
+
*/
|
|
473
|
+
tryDrag(position: Vector, step: StepDefinition): boolean;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare class ViewportApi {
|
|
477
|
+
private readonly workspaceController;
|
|
478
|
+
private readonly viewportController;
|
|
479
|
+
constructor(workspaceController: WorkspaceControllerWrapper, viewportController: ViewportController);
|
|
480
|
+
resetViewport(): void;
|
|
481
|
+
zoom(direction: boolean): void;
|
|
482
|
+
moveViewportToStep(stepId: string): void;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare class WorkspaceApi {
|
|
486
|
+
private readonly state;
|
|
487
|
+
private readonly workspaceController;
|
|
488
|
+
constructor(state: DesignerState, workspaceController: WorkspaceControllerWrapper);
|
|
489
|
+
getCanvasPosition(): Vector;
|
|
490
|
+
getCanvasSize(): Vector;
|
|
491
|
+
getRootComponentSize(): Vector;
|
|
492
|
+
getViewport(): Viewport;
|
|
493
|
+
setViewport(viewport: Viewport): void;
|
|
494
|
+
updateBadges(): void;
|
|
495
|
+
updateSize(): void;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
declare class DesignerApi {
|
|
499
|
+
readonly controlBar: ControlBarApi;
|
|
500
|
+
readonly toolbox: ToolboxApi;
|
|
501
|
+
readonly editor: EditorApi;
|
|
502
|
+
readonly workspace: WorkspaceApi;
|
|
503
|
+
readonly viewport: ViewportApi;
|
|
504
|
+
readonly pathBar: PathBarApi;
|
|
505
|
+
static create(context: DesignerContext): DesignerApi;
|
|
506
|
+
private constructor();
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
declare class InputView {
|
|
510
|
+
private readonly root;
|
|
511
|
+
static createRectInput(parent: SVGElement, x: number, y: number, iconUrl: string | null): InputView;
|
|
512
|
+
static createRoundInput(parent: SVGElement, x: number, y: number): InputView;
|
|
513
|
+
private constructor();
|
|
514
|
+
setIsHidden(isHidden: boolean): void;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
declare class JoinView {
|
|
518
|
+
static createStraightJoin(parent: SVGElement, start: Vector, height: number): void;
|
|
519
|
+
static createJoins(parent: SVGElement, start: Vector, targets: Vector[]): void;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
declare const LABEL_HEIGHT = 22;
|
|
523
|
+
declare class LabelView {
|
|
524
|
+
readonly g: SVGGElement;
|
|
525
|
+
readonly width: number;
|
|
526
|
+
readonly height: number;
|
|
527
|
+
static create(parent: SVGElement, y: number, text: string, theme: 'primary' | 'secondary'): LabelView;
|
|
528
|
+
constructor(g: SVGGElement, width: number, height: number);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
declare class OutputView {
|
|
532
|
+
private readonly root;
|
|
533
|
+
static create(parent: SVGElement, x: number, y: number): OutputView;
|
|
534
|
+
constructor(root: SVGElement);
|
|
535
|
+
setIsHidden(isHidden: boolean): void;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
declare class RegionView {
|
|
539
|
+
private readonly lines;
|
|
540
|
+
private readonly width;
|
|
541
|
+
private readonly height;
|
|
542
|
+
static create(parent: SVGElement, widths: number[], height: number): RegionView;
|
|
543
|
+
constructor(lines: SVGLineElement[], width: number, height: number);
|
|
544
|
+
getClientPosition(): Vector;
|
|
545
|
+
resolveClick(click: ClickDetails): boolean;
|
|
546
|
+
setIsSelected(isSelected: boolean): void;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare class TaskStepComponentView implements StepComponentView {
|
|
550
|
+
readonly g: SVGGElement;
|
|
551
|
+
readonly width: number;
|
|
552
|
+
readonly height: number;
|
|
553
|
+
readonly joinX: number;
|
|
554
|
+
private readonly rect;
|
|
555
|
+
private readonly inputView;
|
|
556
|
+
private readonly outputView;
|
|
557
|
+
static create(parentElement: SVGElement, stepContext: StepContext<Step>, configuration: StepsConfiguration, isInterrupted: boolean): TaskStepComponentView;
|
|
558
|
+
readonly sequenceComponents: null;
|
|
559
|
+
readonly placeholders: null;
|
|
560
|
+
private constructor();
|
|
561
|
+
hasOutput(): boolean;
|
|
562
|
+
getClientPosition(): Vector;
|
|
563
|
+
resolveClick(click: ClickDetails): ClickCommand | null;
|
|
564
|
+
setIsDragging(isDragging: boolean): void;
|
|
565
|
+
setIsDisabled(isDisabled: boolean): void;
|
|
566
|
+
setIsSelected(isSelected: boolean): void;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare class CenteredViewportCalculator {
|
|
570
|
+
static center(margin: number, canvasSize: Vector, rootComponentSize: Vector): Viewport;
|
|
571
|
+
static focusOnComponent(canvasSize: Vector, viewport: Viewport, componentPosition: Vector, componentSize: Vector): Viewport;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
declare class ClassicWheelController implements WheelController {
|
|
575
|
+
private readonly api;
|
|
576
|
+
static create(api: WorkspaceApi): ClassicWheelController;
|
|
577
|
+
private constructor();
|
|
578
|
+
onWheel(e: WheelEvent): void;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class ClassicWheelControllerExtension implements WheelControllerExtension {
|
|
582
|
+
readonly create: typeof ClassicWheelController.create;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare class QuantifiedScaleViewportCalculator {
|
|
586
|
+
static zoom(current: Viewport, direction: boolean): Viewport;
|
|
587
|
+
static zoomByWheel(current: Viewport, e: WheelEvent, canvasPosition: Vector): Viewport | null;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare class DefaultViewportController implements ViewportController {
|
|
591
|
+
private readonly api;
|
|
592
|
+
static create(api: WorkspaceApi): DefaultViewportController;
|
|
593
|
+
private readonly animator;
|
|
594
|
+
private constructor();
|
|
595
|
+
setDefault(): void;
|
|
596
|
+
zoom(direction: boolean): void;
|
|
597
|
+
focusOnComponent(componentPosition: Vector, componentSize: Vector): void;
|
|
598
|
+
animateTo(viewport: Viewport): void;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
declare class DefaultViewportControllerExtension implements ViewportControllerExtension {
|
|
602
|
+
readonly create: typeof DefaultViewportController.create;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
declare class RectPlaceholder implements Placeholder {
|
|
606
|
+
private readonly view;
|
|
607
|
+
readonly parentSequence: Sequence;
|
|
608
|
+
readonly index: number;
|
|
609
|
+
constructor(view: RectPlaceholderView, parentSequence: Sequence, index: number);
|
|
610
|
+
getClientRect(): DOMRect;
|
|
611
|
+
setIsHover(isHover: boolean): void;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
interface DesignerExtension {
|
|
615
|
+
steps?: StepExtension[];
|
|
616
|
+
badges?: BadgeExtension[];
|
|
617
|
+
uiComponents?: UiComponentExtension[];
|
|
618
|
+
draggedComponent?: DraggedComponentExtension;
|
|
619
|
+
wheelController?: WheelControllerExtension;
|
|
620
|
+
viewportController?: ViewportControllerExtension;
|
|
621
|
+
placeholderController?: PlaceholderControllerExtension;
|
|
622
|
+
rootComponent?: RootComponentExtension;
|
|
623
|
+
daemons?: DaemonExtension[];
|
|
624
|
+
}
|
|
625
|
+
interface StepExtension<S extends Step = Step> {
|
|
626
|
+
componentType: ComponentType;
|
|
627
|
+
createComponentView(parentElement: SVGElement, stepContext: StepContext<S>, componentContext: ComponentContext): StepComponentView;
|
|
628
|
+
getChildren(step: S): StepChildren | null;
|
|
629
|
+
}
|
|
630
|
+
interface StepContext<S extends Step = Step> {
|
|
631
|
+
parentSequence: Sequence;
|
|
632
|
+
step: S;
|
|
633
|
+
depth: number;
|
|
634
|
+
position: number;
|
|
635
|
+
isInputConnected: boolean;
|
|
636
|
+
isOutputConnected: boolean;
|
|
637
|
+
}
|
|
638
|
+
interface StepChildren {
|
|
639
|
+
type: StepChildrenType;
|
|
640
|
+
sequences: Sequence | Branches;
|
|
641
|
+
}
|
|
642
|
+
declare enum StepChildrenType {
|
|
643
|
+
singleSequence = 1,
|
|
644
|
+
branches = 2
|
|
645
|
+
}
|
|
646
|
+
interface BadgeExtension {
|
|
647
|
+
createBadge(parentElement: SVGElement, stepContext: StepContext, componentContext: ComponentContext): Badge;
|
|
648
|
+
createStartValue(): unknown;
|
|
649
|
+
}
|
|
650
|
+
interface WheelControllerExtension {
|
|
651
|
+
create(api: WorkspaceApi): WheelController;
|
|
652
|
+
}
|
|
653
|
+
interface WheelController {
|
|
654
|
+
onWheel(e: WheelEvent): void;
|
|
655
|
+
}
|
|
656
|
+
interface UiComponentExtension {
|
|
657
|
+
create(root: HTMLElement, api: DesignerApi): UiComponent;
|
|
658
|
+
}
|
|
659
|
+
interface UiComponent {
|
|
660
|
+
destroy(): void;
|
|
661
|
+
}
|
|
662
|
+
interface DraggedComponentExtension {
|
|
663
|
+
create(parent: HTMLElement, step: Step, componentContext: ComponentContext): DraggedComponent;
|
|
664
|
+
}
|
|
665
|
+
interface DraggedComponent {
|
|
666
|
+
width: number;
|
|
667
|
+
height: number;
|
|
668
|
+
destroy(): void;
|
|
669
|
+
}
|
|
670
|
+
interface RootComponentExtension {
|
|
671
|
+
create(parentElement: SVGElement, sequence: Sequence, parentSequencePlaceIndicator: SequencePlaceIndicator | null, context: ComponentContext): Component;
|
|
672
|
+
}
|
|
673
|
+
interface SequencePlaceIndicator {
|
|
674
|
+
sequence: Sequence;
|
|
675
|
+
index: number;
|
|
676
|
+
}
|
|
677
|
+
interface PlaceholderControllerExtension {
|
|
678
|
+
create(): PlaceholderController;
|
|
679
|
+
}
|
|
680
|
+
interface PlaceholderController {
|
|
681
|
+
canCreate(sequence: Sequence, index: number): boolean;
|
|
682
|
+
}
|
|
683
|
+
interface ViewportControllerExtension {
|
|
684
|
+
create(api: WorkspaceApi): ViewportController;
|
|
685
|
+
}
|
|
686
|
+
interface ViewportController {
|
|
687
|
+
setDefault(): void;
|
|
688
|
+
zoom(direction: boolean): void;
|
|
689
|
+
focusOnComponent(componentPosition: Vector, componentSize: Vector): void;
|
|
690
|
+
}
|
|
691
|
+
interface Viewport {
|
|
692
|
+
position: Vector;
|
|
693
|
+
scale: number;
|
|
694
|
+
}
|
|
695
|
+
interface DaemonExtension {
|
|
696
|
+
create(api: DesignerApi): Daemon;
|
|
697
|
+
}
|
|
698
|
+
interface Daemon {
|
|
699
|
+
destroy(): void;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
declare class StepExtensionResolver {
|
|
703
|
+
private readonly dict;
|
|
704
|
+
static create(services: Services): StepExtensionResolver;
|
|
705
|
+
private constructor();
|
|
706
|
+
resolve(componentType: ComponentType): StepExtension<Step>;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
interface StepWithParentSequence {
|
|
710
|
+
step: Step;
|
|
711
|
+
/**
|
|
712
|
+
* Index of the step in the parent sequence.
|
|
713
|
+
*/
|
|
714
|
+
index: number;
|
|
715
|
+
parentSequence: Sequence;
|
|
716
|
+
}
|
|
717
|
+
type StepOrName = Step | string;
|
|
718
|
+
interface StepWithParentAndChildSequences {
|
|
719
|
+
index: number;
|
|
720
|
+
parentSequence: Sequence;
|
|
721
|
+
childSequence: Sequence;
|
|
722
|
+
}
|
|
723
|
+
declare class StepsTraverser {
|
|
724
|
+
private readonly stepExtensionResolver;
|
|
725
|
+
constructor(stepExtensionResolver: StepExtensionResolver);
|
|
726
|
+
private getChildren;
|
|
727
|
+
private find;
|
|
728
|
+
getParents(definition: Definition, needle: Sequence | Step): StepOrName[];
|
|
729
|
+
findParentSequence(definition: Definition, stepId: string): StepWithParentSequence | null;
|
|
730
|
+
getParentSequence(definition: Definition, stepId: string): StepWithParentSequence;
|
|
731
|
+
findById(definition: Definition, stepId: string): Step | null;
|
|
732
|
+
getById(definition: Definition, stepId: string): Step;
|
|
733
|
+
getChildAndParentSequences(definition: Definition, stepId: string): StepWithParentAndChildSequences;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
declare class DefinitionModifier {
|
|
737
|
+
private readonly stepsTraverser;
|
|
738
|
+
private readonly state;
|
|
739
|
+
private readonly configuration;
|
|
740
|
+
constructor(stepsTraverser: StepsTraverser, state: DesignerState, configuration: DesignerConfiguration);
|
|
741
|
+
isDeletable(stepId: string): boolean;
|
|
742
|
+
tryDelete(stepId: string): boolean;
|
|
743
|
+
tryInsert(step: Step, targetSequence: Sequence, targetIndex: number): boolean;
|
|
744
|
+
isDraggable(step: Step, parentSequence: Sequence): boolean;
|
|
745
|
+
tryMove(sourceSequence: Sequence, step: Step, targetSequence: Sequence, targetIndex: number): boolean;
|
|
746
|
+
replaceDefinition(definition: Definition): void;
|
|
747
|
+
updateDependantFields(): void;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
declare class ControlBarApi {
|
|
751
|
+
private readonly state;
|
|
752
|
+
private readonly historyController;
|
|
753
|
+
private readonly definitionModifier;
|
|
754
|
+
private readonly viewportApi;
|
|
755
|
+
constructor(state: DesignerState, historyController: HistoryController | undefined, definitionModifier: DefinitionModifier, viewportApi: ViewportApi);
|
|
756
|
+
/**
|
|
757
|
+
* @deprecated Don't use this method
|
|
758
|
+
*/
|
|
759
|
+
subscribe(handler: () => void): void;
|
|
760
|
+
resetViewport(): void;
|
|
761
|
+
zoomIn(): void;
|
|
762
|
+
zoomOut(): void;
|
|
763
|
+
isDragDisabled(): boolean;
|
|
764
|
+
toggleIsDragDisabled(): void;
|
|
765
|
+
isUndoRedoSupported(): boolean;
|
|
766
|
+
tryUndo(): boolean;
|
|
767
|
+
canUndo(): boolean;
|
|
768
|
+
tryRedo(): boolean;
|
|
769
|
+
canRedo(): boolean;
|
|
770
|
+
tryDelete(): boolean;
|
|
771
|
+
canDelete(): boolean;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
declare class Editor {
|
|
775
|
+
private readonly view;
|
|
776
|
+
private readonly renderer;
|
|
777
|
+
static create(parent: HTMLElement, api: DesignerApi, stepEditorClassName: string, stepEditorProvider: StepEditorProvider, globalEditorClassName: string, globalEditorProvider: GlobalEditorProvider): Editor;
|
|
778
|
+
private constructor();
|
|
779
|
+
destroy(): void;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
declare class Designer<TDefinition extends Definition = Definition> {
|
|
783
|
+
private readonly view;
|
|
784
|
+
private readonly state;
|
|
785
|
+
private readonly stepsTraverser;
|
|
786
|
+
private readonly api;
|
|
787
|
+
/**
|
|
788
|
+
* Creates a designer.
|
|
789
|
+
* @param placeholder Placeholder where the designer will be attached.
|
|
790
|
+
* @param startDefinition Start definition of a flow.
|
|
791
|
+
* @param configuration Designer's configuration.
|
|
792
|
+
* @returns An instance of the designer.
|
|
793
|
+
*/
|
|
794
|
+
static create<TDef extends Definition>(placeholder: HTMLElement, startDefinition: TDef, configuration: DesignerConfiguration<TDef>): Designer<TDef>;
|
|
795
|
+
private constructor();
|
|
796
|
+
/**
|
|
797
|
+
* @description Fires when the designer is initialized and ready to use.
|
|
798
|
+
*/
|
|
799
|
+
readonly onReady: SimpleEvent<void>;
|
|
800
|
+
/**
|
|
801
|
+
* @description Fires when the definition has changed.
|
|
802
|
+
*/
|
|
803
|
+
readonly onDefinitionChanged: SimpleEvent<TDefinition>;
|
|
804
|
+
/**
|
|
805
|
+
* @description Fires when the selected step has changed.
|
|
806
|
+
*/
|
|
807
|
+
readonly onSelectedStepIdChanged: SimpleEvent<string | null>;
|
|
808
|
+
/**
|
|
809
|
+
* @returns the current definition of the workflow.
|
|
810
|
+
*/
|
|
811
|
+
getDefinition(): TDefinition;
|
|
812
|
+
/**
|
|
813
|
+
* @returns the validation result of the current definition.
|
|
814
|
+
*/
|
|
815
|
+
isValid(): boolean;
|
|
816
|
+
/**
|
|
817
|
+
* @returns the readonly flag.
|
|
818
|
+
*/
|
|
819
|
+
isReadonly(): boolean;
|
|
820
|
+
/**
|
|
821
|
+
* @description Changes the readonly flag.
|
|
822
|
+
*/
|
|
823
|
+
setIsReadonly(isReadonly: boolean): void;
|
|
824
|
+
/**
|
|
825
|
+
* @returns current selected step id or `null` if nothing is selected.
|
|
826
|
+
*/
|
|
827
|
+
getSelectedStepId(): string | null;
|
|
828
|
+
/**
|
|
829
|
+
* @description Selects a step by the id.
|
|
830
|
+
*/
|
|
831
|
+
selectStepById(stepId: string): void;
|
|
832
|
+
/**
|
|
833
|
+
* @description Unselects the selected step.
|
|
834
|
+
*/
|
|
835
|
+
clearSelectedStep(): void;
|
|
836
|
+
/**
|
|
837
|
+
* @description Moves the viewport to the step with the animation.
|
|
838
|
+
*/
|
|
839
|
+
moveViewportToStep(stepId: string): void;
|
|
840
|
+
/**
|
|
841
|
+
* @deprecated Use `moveViewportToStep` instead.
|
|
842
|
+
*/
|
|
843
|
+
moveViewPortToStep(stepId: string): void;
|
|
844
|
+
/**
|
|
845
|
+
* @description Updates all badges.
|
|
846
|
+
*/
|
|
847
|
+
updateBadges(): void;
|
|
848
|
+
/**
|
|
849
|
+
* @returns parent steps and branch names of the passed step or the passed sequence.
|
|
850
|
+
*/
|
|
851
|
+
getStepParents(needle: Sequence | Step): StepOrName[];
|
|
852
|
+
/**
|
|
853
|
+
* @description Destroys the designer and deletes all nodes from the placeholder.
|
|
854
|
+
*/
|
|
855
|
+
destroy(): void;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export { Attributes, Badge, BadgeExtension, BadgeView, BadgesResult, CenteredViewportCalculator, ClassicWheelControllerExtension, ClickCommand, ClickCommandType, ClickDetails, Component, ComponentContext, ComponentView, ContainerStep, ControlBarApi, CustomActionHandler, Daemon, DaemonExtension, DefaultViewportController, DefaultViewportControllerExtension, DefinitionChangeType, DefinitionChangedEvent, Designer, DesignerApi, DesignerConfiguration, DesignerContext, DesignerExtension, DesignerState, Dom, DraggedComponent, DraggedComponentExtension, Editor, EditorApi, EditorsConfiguration, GlobalEditorContext, GlobalEditorProvider, Icons, InputView, JoinView, LABEL_HEIGHT, LabelView, ObjectCloner, OutputView, PathBarApi, Placeholder, PlaceholderController, PlaceholderControllerExtension, QuantifiedScaleViewportCalculator, RectPlaceholder, RectPlaceholderDirection, RectPlaceholderView, RegionView, ResolvedClick, RootComponentExtension, SequenceComponent, SequenceComponentView, SequenceContext, SequencePlaceIndicator, SequencePlaceholder, Services, ServicesResolver, SimpleEvent, SimpleEventListener, StepChildren, StepChildrenType, StepComponent, StepComponentView, StepContext, StepDefinition, StepEditorContext, StepEditorProvider, StepExtension, StepExtensionResolver, StepIconUrlProvider, StepOrName, StepValidator, StepWithParentAndChildSequences, StepWithParentSequence, StepsConfiguration, StepsTraverser, SwitchStep, TaskStep, TaskStepComponentView, ToolboxApi, ToolboxConfiguration, ToolboxGroupConfiguration, TriggerCustomActionClickCommand, UiComponent, UiComponentExtension, Uid, Vector, Viewport, ViewportController, ViewportControllerExtension, WheelController, WheelControllerExtension, WorkspaceApi, race };
|