@aranzatech/diagrams-bpmn 0.2.9 → 0.2.10

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/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- export { B as BPMN_ELEMENT_CATALOG, a as BPMN_RESIZABLE_ELEMENT_TYPES, g as getBpmnElementSize, b as getElementMeta, i as isBpmnElementResizable } from './catalog-CjGdTFxc.cjs';
1
+ export { B as BPMN_ELEMENT_CATALOG, a as BPMN_RESIZABLE_ELEMENT_TYPES, g as getBpmnElementSize, b as getElementMeta, i as isBpmnElementResizable } from './catalog-Ch3YT0-0.cjs';
2
2
  export { acceptsBoundaryEvents, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './elements/index.cjs';
3
- export { B as BpmnCategory, a as BpmnDefinitionsSet, b as BpmnEdgeData, c as BpmnEdgeType, d as BpmnElementMeta, e as BpmnElementSize, f as BpmnElementType, g as BpmnErrorDefinition, h as BpmnEscalationDefinition, i as BpmnEventDefinition, j as BpmnEventSemantics, k as BpmnHandlePolicy, l as BpmnMessageDefinition, m as BpmnNodeData, n as BpmnOrientation, o as BpmnProcessVariable, p as BpmnSignalDefinition, q as BpmnTimerDefinition, r as BpmnTimerKind, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-wFn_tJLY.cjs';
3
+ export { B as BpmnCategory, a as BpmnDefinitionsSet, b as BpmnEdgeData, c as BpmnEdgeType, d as BpmnElementMeta, e as BpmnElementSize, f as BpmnElementType, g as BpmnErrorDefinition, h as BpmnEscalationDefinition, i as BpmnEventDefinition, j as BpmnEventSemantics, k as BpmnHandlePolicy, l as BpmnMessageDefinition, m as BpmnNodeData, n as BpmnOrientation, o as BpmnProcessVariable, p as BpmnSignalDefinition, q as BpmnTimerDefinition, r as BpmnTimerKind, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-BTuiBv7p.cjs';
4
4
  export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './nodes/index.cjs';
5
5
  export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './edges/index.cjs';
6
6
  export { parseBpmnXml, serializeBpmnXml } from './xml/index.cjs';
7
- export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-BjVERSZn.cjs';
7
+ export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-C7tONwP5.cjs';
8
8
  export { SimDiagram, SimEdge, SimLogEntry, SimLogType, SimNode, SimStatus, SimToken, SimVariables, SimulationState, createSimulation, fire, getFireable, isCompleted, setVariable, tick } from './simulation/index.cjs';
9
9
  export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, BpmnClipboardState, BpmnConnectionRule, BpmnDiagramDocument, BpmnDiagramSnapshot, BpmnDiagramState, BpmnEventBus, ConnectBpmnOptions, CreateBpmnNodeOptions, FindBpmnContainerAtOptions, GroupAsBpmnSubProcessOptions, MoveBpmnLaneOptions, PasteBpmnOptions, ReorderBpmnLaneOptions, ReparentBpmnNodeAtPositionOptions, ReparentBpmnNodeOptions, ReplaceBpmnNodeOptions, ResizeBpmnNodeByHandleOptions, ResizeBpmnNodeOptions, 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, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes } from './modeling/index.cjs';
10
10
  export { BpmnValidationIssue, BpmnValidationOptions, BpmnValidationResult, BpmnValidationSeverity } from './validation/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { B as BPMN_ELEMENT_CATALOG, a as BPMN_RESIZABLE_ELEMENT_TYPES, g as getBpmnElementSize, b as getElementMeta, i as isBpmnElementResizable } from './catalog-DW0Hknp2.js';
1
+ export { B as BPMN_ELEMENT_CATALOG, a as BPMN_RESIZABLE_ELEMENT_TYPES, g as getBpmnElementSize, b as getElementMeta, i as isBpmnElementResizable } from './catalog-BOwJOaXV.js';
2
2
  export { acceptsBoundaryEvents, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './elements/index.js';
3
- export { B as BpmnCategory, a as BpmnDefinitionsSet, b as BpmnEdgeData, c as BpmnEdgeType, d as BpmnElementMeta, e as BpmnElementSize, f as BpmnElementType, g as BpmnErrorDefinition, h as BpmnEscalationDefinition, i as BpmnEventDefinition, j as BpmnEventSemantics, k as BpmnHandlePolicy, l as BpmnMessageDefinition, m as BpmnNodeData, n as BpmnOrientation, o as BpmnProcessVariable, p as BpmnSignalDefinition, q as BpmnTimerDefinition, r as BpmnTimerKind, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-wFn_tJLY.js';
3
+ export { B as BpmnCategory, a as BpmnDefinitionsSet, b as BpmnEdgeData, c as BpmnEdgeType, d as BpmnElementMeta, e as BpmnElementSize, f as BpmnElementType, g as BpmnErrorDefinition, h as BpmnEscalationDefinition, i as BpmnEventDefinition, j as BpmnEventSemantics, k as BpmnHandlePolicy, l as BpmnMessageDefinition, m as BpmnNodeData, n as BpmnOrientation, o as BpmnProcessVariable, p as BpmnSignalDefinition, q as BpmnTimerDefinition, r as BpmnTimerKind, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-BTuiBv7p.js';
4
4
  export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './nodes/index.js';
5
5
  export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './edges/index.js';
6
6
  export { parseBpmnXml, serializeBpmnXml } from './xml/index.js';
7
- export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-CBgWMl9p.js';
7
+ export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-DSDMCAre.js';
8
8
  export { SimDiagram, SimEdge, SimLogEntry, SimLogType, SimNode, SimStatus, SimToken, SimVariables, SimulationState, createSimulation, fire, getFireable, isCompleted, setVariable, tick } from './simulation/index.js';
9
9
  export { BPMN_EDGE_CONNECTION_RULES, BPMN_MODELING_RULES, BPMN_POOL_LANE_LAYOUT, BPMN_ROUTABLE_EDGE_TYPES, BPMN_SELECTION_STYLE, BpmnClipboardState, BpmnConnectionRule, BpmnDiagramDocument, BpmnDiagramSnapshot, BpmnDiagramState, BpmnEventBus, ConnectBpmnOptions, CreateBpmnNodeOptions, FindBpmnContainerAtOptions, GroupAsBpmnSubProcessOptions, MoveBpmnLaneOptions, PasteBpmnOptions, ReorderBpmnLaneOptions, ReparentBpmnNodeAtPositionOptions, ReparentBpmnNodeOptions, ReplaceBpmnNodeOptions, ResizeBpmnNodeByHandleOptions, ResizeBpmnNodeOptions, 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, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes } from './modeling/index.js';
10
10
  export { BpmnValidationIssue, BpmnValidationOptions, BpmnValidationResult, BpmnValidationSeverity } from './validation/index.js';
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import './chunk-OZKTOILD.js';
2
2
  export { AnnotationNode, BPMN_NODE_TYPES, BoundaryEventNode, CallChoreographyNode, CallConversationNode, ChoreographyTaskNode, ConversationNode, DataInputNode, DataObjectNode, DataObjectReferenceNode, DataOutputNode, DataStoreNode, DataStoreReferenceNode, EndEventNode, GatewayNode, GroupNode, IntermediateCatchEventNode, IntermediateThrowEventNode, LaneNode, PoolNode, StartEventNode, SubChoreographyNode, SubConversationNode, SubProcessNode, TaskNode } from './chunk-IMW6RG6F.js';
3
3
  export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './chunk-O3NWJ5H7.js';
4
4
  import './chunk-PDTXM32P.js';
5
- export { parseBpmnXml, serializeBpmnXml } from './chunk-KW2QVBOB.js';
5
+ export { parseBpmnXml, serializeBpmnXml } from './chunk-HLCUGTEK.js';
6
6
  export { createSimulation, fire, getFireable, isCompleted, setVariable, tick } from './chunk-M46UDUN3.js';
7
7
  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, restoreBpmnHistory, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnLayoutCache, withBpmnNodeZIndexes } from './chunk-UAWLUDKC.js';
8
8
  export { acceptsBoundaryEvents, getHandlePolicy, getOrientation, isChoreographyType, isContainerType, isConversationType, isDataType, isEventType, isGatewayType, isTaskType, supportsCollapse, supportsMarkers } from './chunk-RLAJNRF2.js';
@@ -1,12 +1,12 @@
1
1
  import { LayoutResult, LayoutOptions } from '@aranzatech/diagrams-core/types';
2
2
  export { applyLayoutResultToDiagram } from '@aranzatech/diagrams-core/layout';
3
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-BjVERSZn.cjs';
3
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-C7tONwP5.cjs';
4
4
  import { BpmnDiagramState } from '../modeling/index.cjs';
5
5
  import '@xyflow/react';
6
- import '../types-wFn_tJLY.cjs';
6
+ import '../types-BTuiBv7p.cjs';
7
7
  import '@aranzatech/diagrams-core';
8
8
  import '@aranzatech/diagrams-core/serialization';
9
- import '../catalog-CjGdTFxc.cjs';
9
+ import '../catalog-Ch3YT0-0.cjs';
10
10
 
11
11
  /**
12
12
  * Dagre layout pre-configured for BPMN diagrams.
@@ -1,12 +1,12 @@
1
1
  import { LayoutResult, LayoutOptions } from '@aranzatech/diagrams-core/types';
2
2
  export { applyLayoutResultToDiagram } from '@aranzatech/diagrams-core/layout';
3
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-CBgWMl9p.js';
3
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-DSDMCAre.js';
4
4
  import { BpmnDiagramState } from '../modeling/index.js';
5
5
  import '@xyflow/react';
6
- import '../types-wFn_tJLY.js';
6
+ import '../types-BTuiBv7p.js';
7
7
  import '@aranzatech/diagrams-core';
8
8
  import '@aranzatech/diagrams-core/serialization';
9
- import '../catalog-DW0Hknp2.js';
9
+ import '../catalog-BOwJOaXV.js';
10
10
 
11
11
  /**
12
12
  * Dagre layout pre-configured for BPMN diagrams.
@@ -1,8 +1,8 @@
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-wFn_tJLY.cjs';
4
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-BjVERSZn.cjs';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-CjGdTFxc.cjs';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-BTuiBv7p.cjs';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-C7tONwP5.cjs';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-Ch3YT0-0.cjs';
6
6
  import '@xyflow/react';
7
7
 
8
8
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
@@ -1,8 +1,8 @@
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-wFn_tJLY.js';
4
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-CBgWMl9p.js';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-DW0Hknp2.js';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-BTuiBv7p.js';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-DSDMCAre.js';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-BOwJOaXV.js';
6
6
  import '@xyflow/react';
7
7
 
8
8
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
@@ -168,6 +168,10 @@ interface BpmnNodeData extends Record<string, unknown> {
168
168
  decisionRef?: string;
169
169
  /** UserTask: form key resolved to a FormDefinition by name at runtime. */
170
170
  formKey?: string;
171
+ /** UserTask: comma-separated Flowable user ids that can claim this task. */
172
+ candidateUsers?: string;
173
+ /** UserTask: comma-separated Flowable group ids that can claim this task. */
174
+ candidateGroups?: string;
171
175
  /** AdHocSubProcess: FEEL expression that determines when the sub-process completes. */
172
176
  completionCondition?: string;
173
177
  }
@@ -168,6 +168,10 @@ interface BpmnNodeData extends Record<string, unknown> {
168
168
  decisionRef?: string;
169
169
  /** UserTask: form key resolved to a FormDefinition by name at runtime. */
170
170
  formKey?: string;
171
+ /** UserTask: comma-separated Flowable user ids that can claim this task. */
172
+ candidateUsers?: string;
173
+ /** UserTask: comma-separated Flowable group ids that can claim this task. */
174
+ candidateGroups?: string;
171
175
  /** AdHocSubProcess: FEEL expression that determines when the sub-process completes. */
172
176
  completionCondition?: string;
173
177
  }
@@ -1,5 +1,5 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-wFn_tJLY.cjs';
2
+ import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-BTuiBv7p.cjs';
3
3
 
4
4
  type BpmnRFNode = Node<BpmnNodeData>;
5
5
  type BpmnRFEdge = Edge<BpmnEdgeData>;
@@ -1,5 +1,5 @@
1
1
  import { Node, Edge } from '@xyflow/react';
2
- import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-wFn_tJLY.js';
2
+ import { m as BpmnNodeData, b as BpmnEdgeData, a as BpmnDefinitionsSet } from './types-BTuiBv7p.js';
3
3
 
4
4
  type BpmnRFNode = Node<BpmnNodeData>;
5
5
  type BpmnRFEdge = Edge<BpmnEdgeData>;
@@ -1,6 +1,6 @@
1
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-BjVERSZn.cjs';
1
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-C7tONwP5.cjs';
2
2
  import '@xyflow/react';
3
- import '../types-wFn_tJLY.cjs';
3
+ import '../types-BTuiBv7p.cjs';
4
4
 
5
5
  type BpmnValidationSeverity = "error" | "warning" | "info";
6
6
  interface BpmnValidationIssue {
@@ -1,6 +1,6 @@
1
- import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-CBgWMl9p.js';
1
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-DSDMCAre.js';
2
2
  import '@xyflow/react';
3
- import '../types-wFn_tJLY.js';
3
+ import '../types-BTuiBv7p.js';
4
4
 
5
5
  type BpmnValidationSeverity = "error" | "warning" | "info";
6
6
  interface BpmnValidationIssue {
@@ -23,7 +23,10 @@ var ARANZA_DESCRIPTOR = {
23
23
  // BusinessRuleTask: reference to a DMN decision table id
24
24
  { name: "decisionRef", isAttr: true, type: "String" },
25
25
  // UserTask: form key resolved to a FormDefinition name at runtime
26
- { name: "formKey", isAttr: true, type: "String" }
26
+ { name: "formKey", isAttr: true, type: "String" },
27
+ // UserTask: Flowable task assignment — comma-separated ids
28
+ { name: "candidateUsers", isAttr: true, type: "String" },
29
+ { name: "candidateGroups", isAttr: true, type: "String" }
27
30
  ]
28
31
  }
29
32
  ],
@@ -897,6 +900,10 @@ function extractAranzaExtensions(el) {
897
900
  if (fde) result.flowableDelegateExpression = fde;
898
901
  const fk = asString(elAttrs["flowable:formKey"]);
899
902
  if (fk) result.formKey = fk;
903
+ const cu = asString(elAttrs["flowable:candidateUsers"]);
904
+ if (cu) result.candidateUsers = cu;
905
+ const cg = asString(elAttrs["flowable:candidateGroups"]);
906
+ if (cg) result.candidateGroups = cg;
900
907
  }
901
908
  const ext = el.extensionElements;
902
909
  if (!ext) return result;
@@ -922,6 +929,10 @@ function extractAranzaExtensions(el) {
922
929
  if (decisionRef) result.decisionRef = decisionRef;
923
930
  const formKey = asString(taskConfig.formKey);
924
931
  if (formKey) result.formKey = formKey;
932
+ const candidateUsers = asString(taskConfig.candidateUsers);
933
+ if (candidateUsers) result.candidateUsers = candidateUsers;
934
+ const candidateGroups = asString(taskConfig.candidateGroups);
935
+ if (candidateGroups) result.candidateGroups = candidateGroups;
925
936
  return result;
926
937
  }
927
938
  function extractCompletionCondition(el) {
@@ -1291,7 +1302,9 @@ function buildAranzaExtensionElements(moddle, node) {
1291
1302
  const flowableDelegateExpression = typeof node.data.flowableDelegateExpression === "string" ? node.data.flowableDelegateExpression : void 0;
1292
1303
  const decisionRef = typeof node.data.decisionRef === "string" ? node.data.decisionRef : void 0;
1293
1304
  const formKey = typeof node.data.formKey === "string" ? node.data.formKey : void 0;
1294
- if (!priority && !owner && !sla && !connector && !action && !flowableType && !flowableDelegateExpression && !decisionRef && !formKey) {
1305
+ const candidateUsers = typeof node.data.candidateUsers === "string" ? node.data.candidateUsers : void 0;
1306
+ const candidateGroups = typeof node.data.candidateGroups === "string" ? node.data.candidateGroups : void 0;
1307
+ if (!priority && !owner && !sla && !connector && !action && !flowableType && !flowableDelegateExpression && !decisionRef && !formKey && !candidateUsers && !candidateGroups) {
1295
1308
  return null;
1296
1309
  }
1297
1310
  const configAttrs = {};
@@ -1304,6 +1317,8 @@ function buildAranzaExtensionElements(moddle, node) {
1304
1317
  if (flowableDelegateExpression) configAttrs.flowableDelegateExpression = flowableDelegateExpression;
1305
1318
  if (decisionRef) configAttrs.decisionRef = decisionRef;
1306
1319
  if (formKey) configAttrs.formKey = formKey;
1320
+ if (candidateUsers) configAttrs.candidateUsers = candidateUsers;
1321
+ if (candidateGroups) configAttrs.candidateGroups = candidateGroups;
1307
1322
  const taskConfig = moddle.create("aranza:TaskConfig", configAttrs);
1308
1323
  return moddle.create("bpmn:ExtensionElements", { values: [taskConfig] });
1309
1324
  }
@@ -1486,8 +1501,14 @@ function buildFlowElement(moddle, node, allNodes, allEdges) {
1486
1501
  if (script) attrs.script = script;
1487
1502
  }
1488
1503
  if (elementType === "UserTask") {
1504
+ const flowableAttrs = {};
1489
1505
  const fk = typeof node.data.formKey === "string" ? node.data.formKey : void 0;
1490
- if (fk) attrs.$attrs = { "flowable:formKey": fk };
1506
+ const cu = typeof node.data.candidateUsers === "string" ? node.data.candidateUsers : void 0;
1507
+ const cg = typeof node.data.candidateGroups === "string" ? node.data.candidateGroups : void 0;
1508
+ if (fk) flowableAttrs["flowable:formKey"] = fk;
1509
+ if (cu) flowableAttrs["flowable:candidateUsers"] = cu;
1510
+ if (cg) flowableAttrs["flowable:candidateGroups"] = cg;
1511
+ if (Object.keys(flowableAttrs).length > 0) attrs.$attrs = flowableAttrs;
1491
1512
  }
1492
1513
  if (elementType === "ServiceTask") {
1493
1514
  const flowableAttrs = {};