@aranzatech/diagrams-bpmn 0.2.15 → 0.3.0

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 (74) hide show
  1. package/README.md +34 -4
  2. package/dist/{catalog-xOMF2ifW.d.cts → catalog-DAGDhO-D.d.cts} +1 -1
  3. package/dist/{catalog-CK3_4cOb.d.ts → catalog-Q1QmKLDD.d.ts} +1 -1
  4. package/dist/{chunk-YUE5EM3W.js → chunk-334WN4JZ.js} +276 -107
  5. package/dist/chunk-334WN4JZ.js.map +1 -0
  6. package/dist/chunk-77L6O76M.js +3 -0
  7. package/dist/chunk-77L6O76M.js.map +1 -0
  8. package/dist/{chunk-QSMP34CT.js → chunk-CPFUQM6H.js} +80 -44
  9. package/dist/chunk-CPFUQM6H.js.map +1 -0
  10. package/dist/{chunk-XMVV7FRZ.js → chunk-FFWJA5BV.js} +3 -3
  11. package/dist/{chunk-XMVV7FRZ.js.map → chunk-FFWJA5BV.js.map} +1 -1
  12. package/dist/{chunk-FBTGIYZS.js → chunk-JEGYVEJO.js} +80 -3
  13. package/dist/{chunk-FBTGIYZS.js.map → chunk-JEGYVEJO.js.map} +1 -1
  14. package/dist/chunk-TB6V4S5N.js +104 -0
  15. package/dist/chunk-TB6V4S5N.js.map +1 -0
  16. package/dist/{chunk-HOWK3ZOO.js → chunk-YAYZW45I.js} +379 -16
  17. package/dist/chunk-YAYZW45I.js.map +1 -0
  18. package/dist/edges/index.cjs +78 -42
  19. package/dist/edges/index.cjs.map +1 -1
  20. package/dist/edges/index.js +1 -1
  21. package/dist/elements/index.cjs +78 -0
  22. package/dist/elements/index.cjs.map +1 -1
  23. package/dist/elements/index.d.cts +24 -5
  24. package/dist/elements/index.d.ts +24 -5
  25. package/dist/elements/index.js +1 -1
  26. package/dist/elk-QT7H4252.js +6 -0
  27. package/dist/elk-QT7H4252.js.map +1 -0
  28. package/dist/extensions/index.cjs +108 -0
  29. package/dist/extensions/index.cjs.map +1 -0
  30. package/dist/extensions/index.d.cts +145 -0
  31. package/dist/extensions/index.d.ts +145 -0
  32. package/dist/extensions/index.js +4 -0
  33. package/dist/extensions/index.js.map +1 -0
  34. package/dist/index.cjs +922 -160
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.d.cts +7 -5
  37. package/dist/index.d.ts +7 -5
  38. package/dist/index.js +6 -4
  39. package/dist/index.js.map +1 -1
  40. package/dist/layout/index.cjs +11 -1
  41. package/dist/layout/index.cjs.map +1 -1
  42. package/dist/layout/index.d.cts +4 -3
  43. package/dist/layout/index.d.ts +4 -3
  44. package/dist/layout/index.js +3 -3
  45. package/dist/modeling/index.cjs +387 -13
  46. package/dist/modeling/index.cjs.map +1 -1
  47. package/dist/modeling/index.d.cts +62 -4
  48. package/dist/modeling/index.d.ts +62 -4
  49. package/dist/modeling/index.js +1 -1
  50. package/dist/types-BX_o95GC.d.cts +40 -0
  51. package/dist/{types-y-ZbX-ff.d.ts → types-BYN4Zuee.d.cts} +15 -1
  52. package/dist/{types-y-ZbX-ff.d.cts → types-BYN4Zuee.d.ts} +15 -1
  53. package/dist/{types-jIDz306Y.d.cts → types-CggktCqr.d.cts} +4 -1
  54. package/dist/types-D7zel9dq.d.ts +40 -0
  55. package/dist/{types-DG5yPKld.d.ts → types-DmDODKlh.d.ts} +4 -1
  56. package/dist/validation/index.cjs +81 -125
  57. package/dist/validation/index.cjs.map +1 -1
  58. package/dist/validation/index.d.cts +22 -5
  59. package/dist/validation/index.d.ts +22 -5
  60. package/dist/validation/index.js +82 -126
  61. package/dist/validation/index.js.map +1 -1
  62. package/dist/xml/index.cjs +319 -49
  63. package/dist/xml/index.cjs.map +1 -1
  64. package/dist/xml/index.d.cts +5 -3
  65. package/dist/xml/index.d.ts +5 -3
  66. package/dist/xml/index.js +2 -1
  67. package/package.json +6 -1
  68. package/dist/chunk-HOWK3ZOO.js.map +0 -1
  69. package/dist/chunk-QSMP34CT.js.map +0 -1
  70. package/dist/chunk-YUE5EM3W.js.map +0 -1
  71. package/dist/elk-FSFIEL6O.js +0 -6
  72. package/dist/elk-FSFIEL6O.js.map +0 -1
  73. package/dist/guards-C70uIY_O.d.cts +0 -16
  74. package/dist/guards-foB6XIfZ.d.ts +0 -16
@@ -1,9 +1,10 @@
1
1
  import { ModelingRules, ClipboardState, DiagramSnapshot, DiagramState, DiagramEventBus, ResizeHandlePosition, DiagramCommand, ConnectionValidator, SmartGuideResult, SelectionState, LayoutCacheOptions, LayoutCache, EdgeLabelOffsetOptions, EdgeLabelLayout, CommandStackState, Viewport, LayoutFn } from '@aranzatech/diagrams-core';
2
2
  import { DiagramDocument, CreateDiagramDocumentOptions } from '@aranzatech/diagrams-core/serialization';
3
- import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-y-ZbX-ff.cjs';
4
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-jIDz306Y.cjs';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-xOMF2ifW.cjs';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-BYN4Zuee.cjs';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-CggktCqr.cjs';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-DAGDhO-D.cjs';
6
6
  import '@xyflow/react';
7
+ import '../types-BX_o95GC.cjs';
7
8
 
8
9
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
9
10
  type BpmnClipboardState = ClipboardState<BpmnRFNode, BpmnRFEdge>;
@@ -77,6 +78,31 @@ interface BpmnDropTargetResolution {
77
78
  invalidContainerId: string | null;
78
79
  isValid: boolean;
79
80
  }
81
+ interface BpmnEdgeLaneContext {
82
+ edgeId: string;
83
+ sourceLaneId?: string | undefined;
84
+ targetLaneId?: string | undefined;
85
+ sourcePoolId?: string | undefined;
86
+ targetPoolId?: string | undefined;
87
+ sameLane: boolean;
88
+ samePool: boolean;
89
+ crossesLanesWithinPool: boolean;
90
+ crossesPools: boolean;
91
+ }
92
+ type BpmnConnectionResolution = {
93
+ ok: true;
94
+ edgeType: BpmnEdgeType;
95
+ } | {
96
+ ok: false;
97
+ reason: string;
98
+ };
99
+ interface BpmnBoundaryAttachment {
100
+ hostId: string;
101
+ position: {
102
+ x: number;
103
+ y: number;
104
+ };
105
+ }
80
106
  interface ResizeBpmnNodeOptions {
81
107
  id: string;
82
108
  width?: number;
@@ -137,6 +163,13 @@ declare const BPMN_POOL_LANE_LAYOUT: {
137
163
  readonly verticalPoolHeaderSize: 28;
138
164
  readonly minLaneSize: 96;
139
165
  };
166
+ declare const BPMN_POOL_LANE_STACK_LAYOUT: {
167
+ readonly poolInnerPad: 8;
168
+ readonly laneGap: 8;
169
+ readonly minLaneWidth: 240;
170
+ readonly minLaneHeight: 80;
171
+ readonly defaultLaneHeight: 120;
172
+ };
140
173
  declare function getBpmnDragHandleSelector(elementType: BpmnElementType): string | undefined;
141
174
  declare const BPMN_SELECTION_STYLE: {
142
175
  readonly nodeOutline: "#2563eb";
@@ -162,6 +195,28 @@ declare function isBpmnProcessNode(type: BpmnElementType): boolean;
162
195
  declare function isBpmnDroppableInContainer(type: BpmnElementType): boolean;
163
196
  declare function canContainBpmnElement(parentType: BpmnElementType | undefined, childType: BpmnElementType): true | string;
164
197
  declare function getBpmnPoolLanes(state: BpmnDiagramState, poolId: string): BpmnRFNode[];
198
+ declare function getBpmnPoolOrientation(pool: BpmnRFNode): "horizontal" | "vertical";
199
+ declare function layoutBpmnPoolLaneNodesPreservingHeights(nodes: BpmnRFNode[], poolId: string): BpmnRFNode[];
200
+ declare function reorderBpmnPoolLaneAfterDropPreservingHeights(nodes: BpmnRFNode[], laneId: string): BpmnRFNode[];
201
+ declare function getAppendedBpmnLaneFrame(nodes: BpmnRFNode[], poolOrId: BpmnRFNode | string): {
202
+ position: {
203
+ x: number;
204
+ y: number;
205
+ };
206
+ width: number;
207
+ height: number;
208
+ laneIndex: number;
209
+ orientation: "horizontal" | "vertical";
210
+ } | null;
211
+ declare function getBpmnPoolLaneNodeMaxSize(state: BpmnDiagramState, nodeId: string): {
212
+ width: number;
213
+ height: number;
214
+ } | undefined;
215
+ declare function getBpmnPoolLaneNodeMinSize(state: BpmnDiagramState, nodeId: string): {
216
+ width: number;
217
+ height: number;
218
+ } | undefined;
219
+ declare function applyBpmnPoolLaneDimensionChange(nodes: BpmnRFNode[], previousNodes: BpmnRFNode[], nodeId: string, width: number, height: number): BpmnRFNode[];
165
220
  declare function layoutBpmnPoolLaneNodes(nodes: BpmnRFNode[], poolId: string): BpmnRFNode[];
166
221
  declare function reorderBpmnLaneAfterDrop(nodes: BpmnRFNode[], laneId: string): BpmnRFNode[];
167
222
  declare function getBpmnNodeSize(node: BpmnRFNode): {
@@ -188,6 +243,8 @@ declare function getBpmnNodeCenter(node: BpmnRFNode, absolutePosition: {
188
243
  x: number;
189
244
  y: number;
190
245
  };
246
+ declare function getBoundaryEventAttachment(state: BpmnDiagramState, boundaryNode: BpmnRFNode): BpmnBoundaryAttachment | null;
247
+ declare function getBpmnEdgeLaneContext(state: BpmnDiagramState, edgeOrId: BpmnRFEdge | string): BpmnEdgeLaneContext | undefined;
191
248
  declare function getBpmnLaneIndexAtPosition(state: BpmnDiagramState, poolId: string, position: {
192
249
  x: number;
193
250
  y: number;
@@ -195,6 +252,7 @@ declare function getBpmnLaneIndexAtPosition(state: BpmnDiagramState, poolId: str
195
252
  declare function layoutBpmnPoolLanes(state: BpmnDiagramState, poolId: string): BpmnDiagramState;
196
253
  declare function reorderBpmnLane(state: BpmnDiagramState, options: ReorderBpmnLaneOptions): BpmnDiagramState;
197
254
  declare function validateBpmnConnectionForEdgeType(state: BpmnDiagramState, edgeType: BpmnEdgeType, source: BpmnRFNode, target: BpmnRFNode): true | string;
255
+ declare function resolveBpmnConnection(state: BpmnDiagramState, sourceId: string, targetId: string, requestedType: BpmnEdgeType): BpmnConnectionResolution;
198
256
  declare const bpmnConnectionValidators: Array<ConnectionValidator<BpmnRFNode, BpmnRFEdge>>;
199
257
  declare const BPMN_MODELING_RULES: ModelingRules<BpmnRFNode, BpmnRFEdge>;
200
258
  /**
@@ -302,4 +360,4 @@ declare function createBpmnLayoutCache(options?: LayoutCacheOptions): LayoutCach
302
360
  */
303
361
  declare function withBpmnLayoutCache(layoutFn: LayoutFn<BpmnRFNode, BpmnRFEdge>, cache?: LayoutCache): LayoutFn<BpmnRFNode, BpmnRFEdge>;
304
362
 
305
- export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, type BpmnClipboardState, type BpmnConnectionRule, type BpmnDiagramDocument, type BpmnDiagramSnapshot, type BpmnDiagramState, type BpmnDropTargetResolution, type BpmnEventBus, type ConnectBpmnOptions, type CreateBpmnNodeOptions, type FindBpmnContainerAtOptions, type GroupAsBpmnSubProcessOptions, type MoveBpmnLaneOptions, type PasteBpmnOptions, type ReorderBpmnLaneOptions, type ReparentBpmnNodeAtPositionOptions, type ReparentBpmnNodeOptions, type ReplaceBpmnNodeOptions, type ResizeBpmnNodeByHandleOptions, type ResizeBpmnNodeOptions, type ResolveBpmnDropTargetOptions, type RouteBpmnEdgeOptions, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes };
363
+ export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_POOL_LANE_STACK_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, type BpmnBoundaryAttachment, type BpmnClipboardState, type BpmnConnectionResolution, type BpmnConnectionRule, type BpmnDiagramDocument, type BpmnDiagramSnapshot, type BpmnDiagramState, type BpmnDropTargetResolution, type BpmnEdgeLaneContext, type BpmnEventBus, type ConnectBpmnOptions, type CreateBpmnNodeOptions, type FindBpmnContainerAtOptions, type GroupAsBpmnSubProcessOptions, type MoveBpmnLaneOptions, type PasteBpmnOptions, type ReorderBpmnLaneOptions, type ReparentBpmnNodeAtPositionOptions, type ReparentBpmnNodeOptions, type ReplaceBpmnNodeOptions, type ResizeBpmnNodeByHandleOptions, type ResizeBpmnNodeOptions, type ResolveBpmnDropTargetOptions, type RouteBpmnEdgeOptions, applyBpmnPoolLaneDimensionChange, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getAppendedBpmnLaneFrame, getBoundaryEventAttachment, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnEdgeLaneContext, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLaneNodeMaxSize, getBpmnPoolLaneNodeMinSize, getBpmnPoolLanes, getBpmnPoolOrientation, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLaneNodesPreservingHeights, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reorderBpmnPoolLaneAfterDropPreservingHeights, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnConnection, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes };
@@ -1,9 +1,10 @@
1
1
  import { ModelingRules, ClipboardState, DiagramSnapshot, DiagramState, DiagramEventBus, ResizeHandlePosition, DiagramCommand, ConnectionValidator, SmartGuideResult, SelectionState, LayoutCacheOptions, LayoutCache, EdgeLabelOffsetOptions, EdgeLabelLayout, CommandStackState, Viewport, LayoutFn } from '@aranzatech/diagrams-core';
2
2
  import { DiagramDocument, CreateDiagramDocumentOptions } from '@aranzatech/diagrams-core/serialization';
3
- import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-y-ZbX-ff.js';
4
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-DG5yPKld.js';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-CK3_4cOb.js';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-BYN4Zuee.js';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-DmDODKlh.js';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-Q1QmKLDD.js';
6
6
  import '@xyflow/react';
7
+ import '../types-D7zel9dq.js';
7
8
 
8
9
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
9
10
  type BpmnClipboardState = ClipboardState<BpmnRFNode, BpmnRFEdge>;
@@ -77,6 +78,31 @@ interface BpmnDropTargetResolution {
77
78
  invalidContainerId: string | null;
78
79
  isValid: boolean;
79
80
  }
81
+ interface BpmnEdgeLaneContext {
82
+ edgeId: string;
83
+ sourceLaneId?: string | undefined;
84
+ targetLaneId?: string | undefined;
85
+ sourcePoolId?: string | undefined;
86
+ targetPoolId?: string | undefined;
87
+ sameLane: boolean;
88
+ samePool: boolean;
89
+ crossesLanesWithinPool: boolean;
90
+ crossesPools: boolean;
91
+ }
92
+ type BpmnConnectionResolution = {
93
+ ok: true;
94
+ edgeType: BpmnEdgeType;
95
+ } | {
96
+ ok: false;
97
+ reason: string;
98
+ };
99
+ interface BpmnBoundaryAttachment {
100
+ hostId: string;
101
+ position: {
102
+ x: number;
103
+ y: number;
104
+ };
105
+ }
80
106
  interface ResizeBpmnNodeOptions {
81
107
  id: string;
82
108
  width?: number;
@@ -137,6 +163,13 @@ declare const BPMN_POOL_LANE_LAYOUT: {
137
163
  readonly verticalPoolHeaderSize: 28;
138
164
  readonly minLaneSize: 96;
139
165
  };
166
+ declare const BPMN_POOL_LANE_STACK_LAYOUT: {
167
+ readonly poolInnerPad: 8;
168
+ readonly laneGap: 8;
169
+ readonly minLaneWidth: 240;
170
+ readonly minLaneHeight: 80;
171
+ readonly defaultLaneHeight: 120;
172
+ };
140
173
  declare function getBpmnDragHandleSelector(elementType: BpmnElementType): string | undefined;
141
174
  declare const BPMN_SELECTION_STYLE: {
142
175
  readonly nodeOutline: "#2563eb";
@@ -162,6 +195,28 @@ declare function isBpmnProcessNode(type: BpmnElementType): boolean;
162
195
  declare function isBpmnDroppableInContainer(type: BpmnElementType): boolean;
163
196
  declare function canContainBpmnElement(parentType: BpmnElementType | undefined, childType: BpmnElementType): true | string;
164
197
  declare function getBpmnPoolLanes(state: BpmnDiagramState, poolId: string): BpmnRFNode[];
198
+ declare function getBpmnPoolOrientation(pool: BpmnRFNode): "horizontal" | "vertical";
199
+ declare function layoutBpmnPoolLaneNodesPreservingHeights(nodes: BpmnRFNode[], poolId: string): BpmnRFNode[];
200
+ declare function reorderBpmnPoolLaneAfterDropPreservingHeights(nodes: BpmnRFNode[], laneId: string): BpmnRFNode[];
201
+ declare function getAppendedBpmnLaneFrame(nodes: BpmnRFNode[], poolOrId: BpmnRFNode | string): {
202
+ position: {
203
+ x: number;
204
+ y: number;
205
+ };
206
+ width: number;
207
+ height: number;
208
+ laneIndex: number;
209
+ orientation: "horizontal" | "vertical";
210
+ } | null;
211
+ declare function getBpmnPoolLaneNodeMaxSize(state: BpmnDiagramState, nodeId: string): {
212
+ width: number;
213
+ height: number;
214
+ } | undefined;
215
+ declare function getBpmnPoolLaneNodeMinSize(state: BpmnDiagramState, nodeId: string): {
216
+ width: number;
217
+ height: number;
218
+ } | undefined;
219
+ declare function applyBpmnPoolLaneDimensionChange(nodes: BpmnRFNode[], previousNodes: BpmnRFNode[], nodeId: string, width: number, height: number): BpmnRFNode[];
165
220
  declare function layoutBpmnPoolLaneNodes(nodes: BpmnRFNode[], poolId: string): BpmnRFNode[];
166
221
  declare function reorderBpmnLaneAfterDrop(nodes: BpmnRFNode[], laneId: string): BpmnRFNode[];
167
222
  declare function getBpmnNodeSize(node: BpmnRFNode): {
@@ -188,6 +243,8 @@ declare function getBpmnNodeCenter(node: BpmnRFNode, absolutePosition: {
188
243
  x: number;
189
244
  y: number;
190
245
  };
246
+ declare function getBoundaryEventAttachment(state: BpmnDiagramState, boundaryNode: BpmnRFNode): BpmnBoundaryAttachment | null;
247
+ declare function getBpmnEdgeLaneContext(state: BpmnDiagramState, edgeOrId: BpmnRFEdge | string): BpmnEdgeLaneContext | undefined;
191
248
  declare function getBpmnLaneIndexAtPosition(state: BpmnDiagramState, poolId: string, position: {
192
249
  x: number;
193
250
  y: number;
@@ -195,6 +252,7 @@ declare function getBpmnLaneIndexAtPosition(state: BpmnDiagramState, poolId: str
195
252
  declare function layoutBpmnPoolLanes(state: BpmnDiagramState, poolId: string): BpmnDiagramState;
196
253
  declare function reorderBpmnLane(state: BpmnDiagramState, options: ReorderBpmnLaneOptions): BpmnDiagramState;
197
254
  declare function validateBpmnConnectionForEdgeType(state: BpmnDiagramState, edgeType: BpmnEdgeType, source: BpmnRFNode, target: BpmnRFNode): true | string;
255
+ declare function resolveBpmnConnection(state: BpmnDiagramState, sourceId: string, targetId: string, requestedType: BpmnEdgeType): BpmnConnectionResolution;
198
256
  declare const bpmnConnectionValidators: Array<ConnectionValidator<BpmnRFNode, BpmnRFEdge>>;
199
257
  declare const BPMN_MODELING_RULES: ModelingRules<BpmnRFNode, BpmnRFEdge>;
200
258
  /**
@@ -302,4 +360,4 @@ declare function createBpmnLayoutCache(options?: LayoutCacheOptions): LayoutCach
302
360
  */
303
361
  declare function withBpmnLayoutCache(layoutFn: LayoutFn<BpmnRFNode, BpmnRFEdge>, cache?: LayoutCache): LayoutFn<BpmnRFNode, BpmnRFEdge>;
304
362
 
305
- export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, type BpmnClipboardState, type BpmnConnectionRule, type BpmnDiagramDocument, type BpmnDiagramSnapshot, type BpmnDiagramState, type BpmnDropTargetResolution, type BpmnEventBus, type ConnectBpmnOptions, type CreateBpmnNodeOptions, type FindBpmnContainerAtOptions, type GroupAsBpmnSubProcessOptions, type MoveBpmnLaneOptions, type PasteBpmnOptions, type ReorderBpmnLaneOptions, type ReparentBpmnNodeAtPositionOptions, type ReparentBpmnNodeOptions, type ReplaceBpmnNodeOptions, type ResizeBpmnNodeByHandleOptions, type ResizeBpmnNodeOptions, type ResolveBpmnDropTargetOptions, type RouteBpmnEdgeOptions, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes };
363
+ export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_POOL_LANE_STACK_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, type BpmnBoundaryAttachment, type BpmnClipboardState, type BpmnConnectionResolution, type BpmnConnectionRule, type BpmnDiagramDocument, type BpmnDiagramSnapshot, type BpmnDiagramState, type BpmnDropTargetResolution, type BpmnEdgeLaneContext, type BpmnEventBus, type ConnectBpmnOptions, type CreateBpmnNodeOptions, type FindBpmnContainerAtOptions, type GroupAsBpmnSubProcessOptions, type MoveBpmnLaneOptions, type PasteBpmnOptions, type ReorderBpmnLaneOptions, type ReparentBpmnNodeAtPositionOptions, type ReparentBpmnNodeOptions, type ReplaceBpmnNodeOptions, type ResizeBpmnNodeByHandleOptions, type ResizeBpmnNodeOptions, type ResolveBpmnDropTargetOptions, type RouteBpmnEdgeOptions, applyBpmnPoolLaneDimensionChange, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getAppendedBpmnLaneFrame, getBoundaryEventAttachment, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnEdgeLaneContext, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLaneNodeMaxSize, getBpmnPoolLaneNodeMinSize, getBpmnPoolLanes, getBpmnPoolOrientation, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLaneNodesPreservingHeights, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reorderBpmnPoolLaneAfterDropPreservingHeights, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnConnection, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes };
@@ -1,4 +1,4 @@
1
- export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes } from '../chunk-HOWK3ZOO.js';
1
+ export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_POOL_LANE_STACK_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, applyBpmnPoolLaneDimensionChange, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, computeBpmnSmartGuides, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnEventBus, createBpmnLayoutCache, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, deserializeBpmnDiagramSnapshot, findBpmnContainerAt, getAppendedBpmnLaneFrame, getBoundaryEventAttachment, getBpmnDragHandleSelector, getBpmnEdgeLabelLayout, getBpmnEdgeLaneContext, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLaneNodeMaxSize, getBpmnPoolLaneNodeMinSize, getBpmnPoolLanes, getBpmnPoolOrientation, getBpmnTabOrder, groupAsBpmnSubProcessCommand, inferBpmnEdgeType, isBpmnDroppableInContainer, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLaneNodesPreservingHeights, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, persistBpmnHistory, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reorderBpmnPoolLaneAfterDropPreservingHeights, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeByHandleCommand, resizeBpmnNodeCommand, resolveBpmnConnection, resolveBpmnDropTarget, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes } from '../chunk-YAYZW45I.js';
2
2
  import '../chunk-RLAJNRF2.js';
3
3
  export { getBpmnElementSize, isBpmnElementResizable } from '../chunk-L5Z22RLX.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,40 @@
1
+ import { p as BpmnServiceTaskConfig, I as InlineDecisionTable, b as BpmnEdgeData, m as BpmnNodeData } from './types-BYN4Zuee.cjs';
2
+
3
+ type BpmnExecutionEngine = "flowable";
4
+ interface BpmnAranzaTaskExtensions {
5
+ priority?: "critical" | "high" | "medium" | "low";
6
+ owner?: string;
7
+ sla?: string;
8
+ connector?: string;
9
+ action?: string;
10
+ }
11
+ interface BpmnFlowableTaskExtensions {
12
+ flowableType?: string;
13
+ flowableDelegateExpression?: string;
14
+ decisionRef?: string;
15
+ formKey?: string;
16
+ candidateUsers?: string;
17
+ candidateGroups?: string;
18
+ dueDate?: string;
19
+ skipExpression?: string;
20
+ businessCalendarName?: string;
21
+ }
22
+ interface BpmnTaskExecutionExtensions extends BpmnAranzaTaskExtensions, BpmnFlowableTaskExtensions {
23
+ serviceConfig?: BpmnServiceTaskConfig;
24
+ inlineDecisionTable?: InlineDecisionTable;
25
+ }
26
+ interface BpmnMessageFlowExecutionExtensions {
27
+ payloadSchema?: string;
28
+ correlationKey?: string;
29
+ }
30
+ interface BpmnFlowableExportOptions {
31
+ enabled?: boolean;
32
+ backendUrlTemplate?: string;
33
+ serviceTaskConfigs?: Record<string, BpmnServiceTaskConfig | undefined>;
34
+ connectorResponseVariableName?: string;
35
+ decisionResponseVariableName?: string;
36
+ }
37
+ declare function getBpmnTaskExecutionExtensions(data: Pick<BpmnNodeData, "priority" | "owner" | "sla" | "connector" | "action" | "flowableType" | "flowableDelegateExpression" | "serviceConfig" | "decisionRef" | "inlineDecisionTable" | "formKey" | "candidateUsers" | "candidateGroups" | "dueDate" | "skipExpression" | "businessCalendarName">): BpmnTaskExecutionExtensions | undefined;
38
+ declare function getBpmnMessageFlowExecutionExtensions(data: Pick<BpmnEdgeData, "payloadSchema" | "correlationKey">): BpmnMessageFlowExecutionExtensions | undefined;
39
+
40
+ export { type BpmnAranzaTaskExtensions as B, type BpmnExecutionEngine as a, type BpmnFlowableExportOptions as b, type BpmnFlowableTaskExtensions as c, type BpmnMessageFlowExecutionExtensions as d, type BpmnTaskExecutionExtensions as e, getBpmnTaskExecutionExtensions as f, getBpmnMessageFlowExecutionExtensions as g };
@@ -35,6 +35,16 @@ interface BpmnProcessVariable {
35
35
  defaultValue?: string;
36
36
  description?: string;
37
37
  }
38
+ interface BpmnServiceTaskConfig {
39
+ implementation?: "none" | "connector" | "http" | "webService";
40
+ connectorInstanceId?: string;
41
+ connectorId?: string;
42
+ connectorAction?: string;
43
+ connectorParams?: Record<string, string>;
44
+ httpMethod?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
45
+ endpoint?: string;
46
+ operationRef?: string;
47
+ }
38
48
  interface BpmnDefinitionsSet {
39
49
  messages?: BpmnMessageDefinition[];
40
50
  signals?: BpmnSignalDefinition[];
@@ -160,6 +170,8 @@ interface BpmnNodeData extends Record<string, unknown> {
160
170
  flowableType?: string;
161
171
  /** Flowable delegate expression for ServiceTask. */
162
172
  flowableDelegateExpression?: string;
173
+ /** Aranza service-task runtime configuration used for Flowable export. */
174
+ serviceConfig?: BpmnServiceTaskConfig;
163
175
  /** ScriptTask: scripting language (e.g. "javascript", "groovy"). */
164
176
  scriptFormat?: string;
165
177
  /** ScriptTask: script body. */
@@ -182,6 +194,8 @@ interface BpmnNodeData extends Record<string, unknown> {
182
194
  businessCalendarName?: string;
183
195
  /** DataObjectReference: id of the backing bpmn:DataObject element. */
184
196
  dataObjectRef?: string;
197
+ /** DataStoreReference: id of the backing bpmn:DataStore element. */
198
+ dataStoreRef?: string;
185
199
  /** AdHocSubProcess: FEEL expression that determines when the sub-process completes. */
186
200
  completionCondition?: string;
187
201
  /** Loop / multi-instance type: none | loop | sequentialMultiple | parallelMultiple. */
@@ -239,4 +253,4 @@ interface BpmnEdgeData extends Record<string, unknown> {
239
253
  correlationKey?: string;
240
254
  }
241
255
 
242
- export type { BpmnCategory as B, EventTrigger as E, InlineDecisionInput as I, SubProcessVariant as S, TaskMarker as T, BpmnDefinitionsSet as a, BpmnEdgeData as b, BpmnEdgeType as c, BpmnElementMeta as d, BpmnElementSize as e, BpmnElementType as f, BpmnErrorDefinition as g, BpmnEscalationDefinition as h, BpmnEventDefinition as i, BpmnEventSemantics as j, BpmnHandlePolicy as k, BpmnMessageDefinition as l, BpmnNodeData as m, BpmnOrientation as n, BpmnProcessVariable as o, BpmnSignalDefinition as p, BpmnTimerDefinition as q, BpmnTimerKind as r, InlineDecisionOutput as s, InlineDecisionRule as t, InlineDecisionTable as u };
256
+ export type { BpmnCategory as B, EventTrigger as E, InlineDecisionTable as I, SubProcessVariant as S, TaskMarker as T, BpmnDefinitionsSet as a, BpmnEdgeData as b, BpmnEdgeType as c, BpmnElementMeta as d, BpmnElementSize as e, BpmnElementType as f, BpmnErrorDefinition as g, BpmnEscalationDefinition as h, BpmnEventDefinition as i, BpmnEventSemantics as j, BpmnHandlePolicy as k, BpmnMessageDefinition as l, BpmnNodeData as m, BpmnOrientation as n, BpmnProcessVariable as o, BpmnServiceTaskConfig as p, BpmnSignalDefinition as q, BpmnTimerDefinition as r, BpmnTimerKind as s, InlineDecisionInput as t, InlineDecisionOutput as u, InlineDecisionRule as v };
@@ -35,6 +35,16 @@ interface BpmnProcessVariable {
35
35
  defaultValue?: string;
36
36
  description?: string;
37
37
  }
38
+ interface BpmnServiceTaskConfig {
39
+ implementation?: "none" | "connector" | "http" | "webService";
40
+ connectorInstanceId?: string;
41
+ connectorId?: string;
42
+ connectorAction?: string;
43
+ connectorParams?: Record<string, string>;
44
+ httpMethod?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
45
+ endpoint?: string;
46
+ operationRef?: string;
47
+ }
38
48
  interface BpmnDefinitionsSet {
39
49
  messages?: BpmnMessageDefinition[];
40
50
  signals?: BpmnSignalDefinition[];
@@ -160,6 +170,8 @@ interface BpmnNodeData extends Record<string, unknown> {
160
170
  flowableType?: string;
161
171
  /** Flowable delegate expression for ServiceTask. */
162
172
  flowableDelegateExpression?: string;
173
+ /** Aranza service-task runtime configuration used for Flowable export. */
174
+ serviceConfig?: BpmnServiceTaskConfig;
163
175
  /** ScriptTask: scripting language (e.g. "javascript", "groovy"). */
164
176
  scriptFormat?: string;
165
177
  /** ScriptTask: script body. */
@@ -182,6 +194,8 @@ interface BpmnNodeData extends Record<string, unknown> {
182
194
  businessCalendarName?: string;
183
195
  /** DataObjectReference: id of the backing bpmn:DataObject element. */
184
196
  dataObjectRef?: string;
197
+ /** DataStoreReference: id of the backing bpmn:DataStore element. */
198
+ dataStoreRef?: string;
185
199
  /** AdHocSubProcess: FEEL expression that determines when the sub-process completes. */
186
200
  completionCondition?: string;
187
201
  /** Loop / multi-instance type: none | loop | sequentialMultiple | parallelMultiple. */
@@ -239,4 +253,4 @@ interface BpmnEdgeData extends Record<string, unknown> {
239
253
  correlationKey?: string;
240
254
  }
241
255
 
242
- export type { BpmnCategory as B, EventTrigger as E, InlineDecisionInput as I, SubProcessVariant as S, TaskMarker as T, BpmnDefinitionsSet as a, BpmnEdgeData as b, BpmnEdgeType as c, BpmnElementMeta as d, BpmnElementSize as e, BpmnElementType as f, BpmnErrorDefinition as g, BpmnEscalationDefinition as h, BpmnEventDefinition as i, BpmnEventSemantics as j, BpmnHandlePolicy as k, BpmnMessageDefinition as l, BpmnNodeData as m, BpmnOrientation as n, BpmnProcessVariable as o, BpmnSignalDefinition as p, BpmnTimerDefinition as q, BpmnTimerKind as r, InlineDecisionOutput as s, InlineDecisionRule as t, InlineDecisionTable as u };
256
+ export type { BpmnCategory as B, EventTrigger as E, InlineDecisionTable as I, SubProcessVariant as S, TaskMarker as T, BpmnDefinitionsSet as a, BpmnEdgeData as b, BpmnEdgeType as c, BpmnElementMeta as d, BpmnElementSize as e, BpmnElementType as f, BpmnErrorDefinition as g, BpmnEscalationDefinition as h, BpmnEventDefinition as i, BpmnEventSemantics as j, BpmnHandlePolicy as k, BpmnMessageDefinition as l, BpmnNodeData as m, BpmnOrientation as n, BpmnProcessVariable as o, BpmnServiceTaskConfig as p, BpmnSignalDefinition as q, BpmnTimerDefinition as r, BpmnTimerKind as s, InlineDecisionInput as t, InlineDecisionOutput as u, InlineDecisionRule as v };
@@ -1,5 +1,6 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-y-ZbX-ff.cjs';
2
+ import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-BYN4Zuee.cjs';
3
+ import { b as BpmnFlowableExportOptions } from './types-BX_o95GC.cjs';
3
4
 
4
5
  type BpmnRFNode = Node<BpmnNodeData>;
5
6
  type BpmnRFEdge = Edge<BpmnEdgeData>;
@@ -24,6 +25,8 @@ interface BpmnExportOptions {
24
25
  format?: boolean;
25
26
  /** Optional process-level metadata and global definitions. */
26
27
  process?: BpmnProcessModel;
28
+ /** Optional Flowable-specific export enrichment. */
29
+ flowable?: BpmnFlowableExportOptions;
27
30
  }
28
31
 
29
32
  export type { BpmnExportOptions as B, BpmnImportResult as a, BpmnProcessModel as b, BpmnRFEdge as c, BpmnRFNode as d };
@@ -0,0 +1,40 @@
1
+ import { p as BpmnServiceTaskConfig, I as InlineDecisionTable, b as BpmnEdgeData, m as BpmnNodeData } from './types-BYN4Zuee.js';
2
+
3
+ type BpmnExecutionEngine = "flowable";
4
+ interface BpmnAranzaTaskExtensions {
5
+ priority?: "critical" | "high" | "medium" | "low";
6
+ owner?: string;
7
+ sla?: string;
8
+ connector?: string;
9
+ action?: string;
10
+ }
11
+ interface BpmnFlowableTaskExtensions {
12
+ flowableType?: string;
13
+ flowableDelegateExpression?: string;
14
+ decisionRef?: string;
15
+ formKey?: string;
16
+ candidateUsers?: string;
17
+ candidateGroups?: string;
18
+ dueDate?: string;
19
+ skipExpression?: string;
20
+ businessCalendarName?: string;
21
+ }
22
+ interface BpmnTaskExecutionExtensions extends BpmnAranzaTaskExtensions, BpmnFlowableTaskExtensions {
23
+ serviceConfig?: BpmnServiceTaskConfig;
24
+ inlineDecisionTable?: InlineDecisionTable;
25
+ }
26
+ interface BpmnMessageFlowExecutionExtensions {
27
+ payloadSchema?: string;
28
+ correlationKey?: string;
29
+ }
30
+ interface BpmnFlowableExportOptions {
31
+ enabled?: boolean;
32
+ backendUrlTemplate?: string;
33
+ serviceTaskConfigs?: Record<string, BpmnServiceTaskConfig | undefined>;
34
+ connectorResponseVariableName?: string;
35
+ decisionResponseVariableName?: string;
36
+ }
37
+ declare function getBpmnTaskExecutionExtensions(data: Pick<BpmnNodeData, "priority" | "owner" | "sla" | "connector" | "action" | "flowableType" | "flowableDelegateExpression" | "serviceConfig" | "decisionRef" | "inlineDecisionTable" | "formKey" | "candidateUsers" | "candidateGroups" | "dueDate" | "skipExpression" | "businessCalendarName">): BpmnTaskExecutionExtensions | undefined;
38
+ declare function getBpmnMessageFlowExecutionExtensions(data: Pick<BpmnEdgeData, "payloadSchema" | "correlationKey">): BpmnMessageFlowExecutionExtensions | undefined;
39
+
40
+ export { type BpmnAranzaTaskExtensions as B, type BpmnExecutionEngine as a, type BpmnFlowableExportOptions as b, type BpmnFlowableTaskExtensions as c, type BpmnMessageFlowExecutionExtensions as d, type BpmnTaskExecutionExtensions as e, getBpmnTaskExecutionExtensions as f, getBpmnMessageFlowExecutionExtensions as g };
@@ -1,5 +1,6 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-y-ZbX-ff.js';
2
+ import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-BYN4Zuee.js';
3
+ import { b as BpmnFlowableExportOptions } from './types-D7zel9dq.js';
3
4
 
4
5
  type BpmnRFNode = Node<BpmnNodeData>;
5
6
  type BpmnRFEdge = Edge<BpmnEdgeData>;
@@ -24,6 +25,8 @@ interface BpmnExportOptions {
24
25
  format?: boolean;
25
26
  /** Optional process-level metadata and global definitions. */
26
27
  process?: BpmnProcessModel;
28
+ /** Optional Flowable-specific export enrichment. */
29
+ flowable?: BpmnFlowableExportOptions;
27
30
  }
28
31
 
29
32
  export type { BpmnExportOptions as B, BpmnImportResult as a, BpmnProcessModel as b, BpmnRFEdge as c, BpmnRFNode as d };