@aranzatech/diagrams-bpmn 0.2.3 → 0.2.5

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 (40) hide show
  1. package/dist/{catalog-DIBySQqA.d.ts → catalog-CQtKEV7q.d.ts} +1 -1
  2. package/dist/{catalog-m8fHIiKH.d.cts → catalog-D2AcvrDO.d.cts} +1 -1
  3. package/dist/{chunk-33AR3PXF.js → chunk-ASZ3TFNQ.js} +228 -17
  4. package/dist/chunk-ASZ3TFNQ.js.map +1 -0
  5. package/dist/{chunk-H3YMTGFG.js → chunk-IMW6RG6F.js} +3 -3
  6. package/dist/{chunk-H3YMTGFG.js.map → chunk-IMW6RG6F.js.map} +1 -1
  7. package/dist/{chunk-ECTJRD7Z.js → chunk-O3NWJ5H7.js} +9 -18
  8. package/dist/chunk-O3NWJ5H7.js.map +1 -0
  9. package/dist/{chunk-KALSGH4D.js → chunk-PDTXM32P.js} +6 -6
  10. package/dist/chunk-PDTXM32P.js.map +1 -0
  11. package/dist/edges/index.cjs +6 -15
  12. package/dist/edges/index.cjs.map +1 -1
  13. package/dist/edges/index.js +2 -2
  14. package/dist/elements/index.d.cts +3 -3
  15. package/dist/elements/index.d.ts +3 -3
  16. package/dist/index.cjs +248 -46
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.cts +3 -3
  19. package/dist/index.d.ts +3 -3
  20. package/dist/index.js +4 -4
  21. package/dist/modeling/index.d.cts +3 -3
  22. package/dist/modeling/index.d.ts +3 -3
  23. package/dist/nodes/index.cjs +16 -16
  24. package/dist/nodes/index.cjs.map +1 -1
  25. package/dist/nodes/index.js +2 -2
  26. package/dist/{types-vVi5T7qj.d.cts → types-CIBColRi.d.ts} +11 -2
  27. package/dist/{types-BxjCV2oX.d.ts → types-fDlPLIHd.d.cts} +11 -2
  28. package/dist/{types-DznxZxpV.d.cts → types-rWbKYrHH.d.cts} +61 -1
  29. package/dist/{types-DznxZxpV.d.ts → types-rWbKYrHH.d.ts} +61 -1
  30. package/dist/validation/index.d.cts +2 -2
  31. package/dist/validation/index.d.ts +2 -2
  32. package/dist/xml/index.cjs +226 -15
  33. package/dist/xml/index.cjs.map +1 -1
  34. package/dist/xml/index.d.cts +3 -2
  35. package/dist/xml/index.d.ts +3 -2
  36. package/dist/xml/index.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-33AR3PXF.js.map +0 -1
  39. package/dist/chunk-ECTJRD7Z.js.map +0 -1
  40. package/dist/chunk-KALSGH4D.js.map +0 -1
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-m8fHIiKH.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-D2AcvrDO.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 BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementSize, e as BpmnElementType, f as BpmnEventSemantics, g as BpmnHandlePolicy, h as BpmnNodeData, i as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-DznxZxpV.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-rWbKYrHH.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 BpmnRFEdge, c as BpmnRFNode } from './types-vVi5T7qj.cjs';
7
+ export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-fDlPLIHd.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, BpmnDiagramState, ConnectBpmnOptions, CreateBpmnNodeOptions, FindBpmnContainerAtOptions, MoveBpmnLaneOptions, PasteBpmnOptions, ReorderBpmnLaneOptions, ReparentBpmnNodeAtPositionOptions, ReparentBpmnNodeOptions, ReplaceBpmnNodeOptions, ResizeBpmnNodeOptions, RouteBpmnEdgeOptions, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, inferBpmnEdgeType, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeCommand, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnNodeZIndexes } from './modeling/index.cjs';
10
10
  export { BpmnValidationIssue, BpmnValidationOptions, BpmnValidationResult, BpmnValidationSeverity, validateBpmnDiagram } 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-DIBySQqA.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-CQtKEV7q.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 BpmnEdgeData, b as BpmnEdgeType, c as BpmnElementMeta, d as BpmnElementSize, e as BpmnElementType, f as BpmnEventSemantics, g as BpmnHandlePolicy, h as BpmnNodeData, i as BpmnOrientation, E as EventTrigger, S as SubProcessVariant, T as TaskMarker } from './types-DznxZxpV.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-rWbKYrHH.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 BpmnRFEdge, c as BpmnRFNode } from './types-BxjCV2oX.js';
7
+ export { B as BpmnExportOptions, a as BpmnImportResult, b as BpmnProcessModel, c as BpmnRFEdge, d as BpmnRFNode } from './types-CIBColRi.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, BpmnDiagramState, ConnectBpmnOptions, CreateBpmnNodeOptions, FindBpmnContainerAtOptions, MoveBpmnLaneOptions, PasteBpmnOptions, ReorderBpmnLaneOptions, ReparentBpmnNodeAtPositionOptions, ReparentBpmnNodeOptions, ReplaceBpmnNodeOptions, ResizeBpmnNodeOptions, RouteBpmnEdgeOptions, attachBoundaryEventCommand, bpmnConnectionValidators, canContainBpmnElement, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, inferBpmnEdgeType, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeCommand, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnNodeZIndexes } from './modeling/index.js';
10
10
  export { BpmnValidationIssue, BpmnValidationOptions, BpmnValidationResult, BpmnValidationSeverity, validateBpmnDiagram } from './validation/index.js';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import './chunk-OZKTOILD.js';
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-H3YMTGFG.js';
3
- export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './chunk-ECTJRD7Z.js';
4
- import './chunk-KALSGH4D.js';
5
- export { parseBpmnXml, serializeBpmnXml } from './chunk-33AR3PXF.js';
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
+ export { AssociationEdge, BPMN_EDGE_TYPES, ConversationLinkEdge, DataAssociationEdge, MessageFlowEdge, SequenceFlowEdge } from './chunk-O3NWJ5H7.js';
4
+ import './chunk-PDTXM32P.js';
5
+ export { parseBpmnXml, serializeBpmnXml } from './chunk-ASZ3TFNQ.js';
6
6
  export { createSimulation, fire, getFireable, isCompleted, setVariable, tick } from './chunk-QOGZITWB.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, connectBpmnCommand, copyBpmnElements, createBpmnDiagramDocument, createBpmnNode, createBpmnNodeCommand, deleteBpmnElementsCommand, deserializeBpmnDiagram, findBpmnContainerAt, getBpmnDragHandleSelector, getBpmnLaneIndexAtPosition, getBpmnNodeAbsolutePosition, getBpmnNodeCenter, getBpmnNodeSize, getBpmnNodeZIndex, getBpmnPoolLanes, inferBpmnEdgeType, isBpmnEdgeRoutingEditable, isBpmnProcessNode, layoutBpmnPoolLaneNodes, layoutBpmnPoolLanes, moveBpmnLaneCommand, parseBpmnDiagramDocument, pasteBpmnElementsCommand, reorderBpmnLane, reorderBpmnLaneAfterDrop, reorderBpmnLaneCommand, reparentBpmnNodeAtPosition, reparentBpmnNodeCommand, replaceBpmnNodeCommand, resizeBpmnNodeCommand, routeBpmnEdgeCommand, runBpmnCommand, runBpmnCommands, selectBpmnElementsCommand, serializeBpmnDiagram, toBpmnRelativePosition, validateBpmnConnectionForEdgeType, withBpmnNodeZIndexes } from './chunk-7MKU37XQ.js';
8
8
  export { validateBpmnDiagram } from './chunk-ZFGQVLHB.js';
@@ -1,8 +1,8 @@
1
1
  import { ModelingRules, ClipboardState, DiagramState, DiagramCommand, ConnectionValidator, SelectionState, CommandStackState } from '@aranzatech/diagrams-core';
2
2
  import { DiagramDocument, CreateDiagramDocumentOptions } from '@aranzatech/diagrams-core/serialization';
3
- import { b as BpmnEdgeType, a as BpmnEdgeData, e as BpmnElementType, h as BpmnNodeData } from '../types-DznxZxpV.cjs';
4
- import { c as BpmnRFNode, b as BpmnRFEdge } from '../types-vVi5T7qj.cjs';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-m8fHIiKH.cjs';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-rWbKYrHH.cjs';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-fDlPLIHd.cjs';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-D2AcvrDO.cjs';
6
6
  import '@xyflow/react';
7
7
 
8
8
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
@@ -1,8 +1,8 @@
1
1
  import { ModelingRules, ClipboardState, DiagramState, DiagramCommand, ConnectionValidator, SelectionState, CommandStackState } from '@aranzatech/diagrams-core';
2
2
  import { DiagramDocument, CreateDiagramDocumentOptions } from '@aranzatech/diagrams-core/serialization';
3
- import { b as BpmnEdgeType, a as BpmnEdgeData, e as BpmnElementType, h as BpmnNodeData } from '../types-DznxZxpV.js';
4
- import { c as BpmnRFNode, b as BpmnRFEdge } from '../types-BxjCV2oX.js';
5
- export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-DIBySQqA.js';
3
+ import { c as BpmnEdgeType, b as BpmnEdgeData, f as BpmnElementType, m as BpmnNodeData } from '../types-rWbKYrHH.js';
4
+ import { d as BpmnRFNode, c as BpmnRFEdge } from '../types-CIBColRi.js';
5
+ export { g as getBpmnElementSize, i as isBpmnElementResizable } from '../catalog-CQtKEV7q.js';
6
6
  import '@xyflow/react';
7
7
 
8
8
  type BpmnDiagramState = DiagramState<BpmnRFNode, BpmnRFEdge>;
@@ -55,8 +55,8 @@ var BPMN_THEME = {
55
55
  fontFamily: "Inter, system-ui, sans-serif",
56
56
  fontSize: 11,
57
57
  labelColor: "#0f172a",
58
- shadow: "0 4px 12px rgba(15, 23, 42, 0.08)",
59
- shadowSelected: "0 0 0 4px rgba(37, 99, 235, 0.14), 0 8px 18px rgba(15, 23, 42, 0.12)",
58
+ shadow: "none",
59
+ shadowSelected: "none",
60
60
  transition: "box-shadow 140ms ease, filter 140ms ease, transform 140ms ease"
61
61
  };
62
62
  function resolveStroke(selected, override) {
@@ -66,8 +66,8 @@ function resolveStroke(selected, override) {
66
66
  function resolveStrokeWidth(selected) {
67
67
  return selected ? BPMN_THEME.strokeWidthSelected : BPMN_THEME.strokeWidth;
68
68
  }
69
- function resolveShapeFilter(selected) {
70
- return selected ? "drop-shadow(0 0 0 rgba(37,99,235,0.2)) drop-shadow(0 8px 14px rgba(15,23,42,0.12))" : "drop-shadow(0 4px 10px rgba(15,23,42,0.08))";
69
+ function resolveShapeFilter(_selected) {
70
+ return void 0;
71
71
  }
72
72
  function resolveNodeShadow(selected) {
73
73
  return selected ? BPMN_THEME.shadowSelected : BPMN_THEME.shadow;
@@ -224,7 +224,7 @@ function StartEventNode({ data, selected }) {
224
224
  const trigger = d.trigger ?? "none";
225
225
  const dashArray = d.isNonInterrupting ? "4 2" : void 0;
226
226
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE, height: SIZE, position: "relative" }, children: [
227
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE, height: SIZE, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
227
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE, height: SIZE, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
228
228
  /* @__PURE__ */ jsxRuntime.jsx(
229
229
  "circle",
230
230
  {
@@ -253,7 +253,7 @@ function EndEventNode({ data, selected }) {
253
253
  const fill = d.color?.fill ?? BPMN_THEME.fill;
254
254
  const trigger = d.trigger ?? "none";
255
255
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE2, height: SIZE2, position: "relative" }, children: [
256
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE2, height: SIZE2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
256
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE2, height: SIZE2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
257
257
  /* @__PURE__ */ jsxRuntime.jsx(
258
258
  "circle",
259
259
  {
@@ -283,7 +283,7 @@ function IntermediateCatchEventNode({ data, selected }) {
283
283
  const fill = d.color?.fill ?? BPMN_THEME.fill;
284
284
  const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "timer";
285
285
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
286
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
286
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
287
287
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_OUTER, fill, stroke, strokeWidth: sw }),
288
288
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_INNER, fill: "none", stroke, strokeWidth: sw }),
289
289
  /* @__PURE__ */ jsxRuntime.jsx(EventMarker, { cx: CX3, cy: CX3, trigger, filled: false, stroke, bg: fill, r: ICON_R })
@@ -299,7 +299,7 @@ function IntermediateThrowEventNode({ data, selected }) {
299
299
  const fill = d.color?.fill ?? BPMN_THEME.fill;
300
300
  const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "message";
301
301
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
302
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
302
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
303
303
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_OUTER, fill, stroke, strokeWidth: sw }),
304
304
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_INNER, fill: stroke, stroke, strokeWidth: sw }),
305
305
  /* @__PURE__ */ jsxRuntime.jsx(EventMarker, { cx: CX3, cy: CX3, trigger, filled: true, stroke: fill, bg: stroke, r: ICON_R })
@@ -316,7 +316,7 @@ function BoundaryEventNode({ data, selected }) {
316
316
  const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "timer";
317
317
  const dashArray = d.isNonInterrupting ? "4 2" : void 0;
318
318
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
319
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
319
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
320
320
  /* @__PURE__ */ jsxRuntime.jsx(
321
321
  "circle",
322
322
  {
@@ -591,7 +591,7 @@ function GatewayNode({ data, selected }) {
591
591
  const stroke = resolveStroke(selected, d.color?.stroke);
592
592
  const sw = resolveStrokeWidth(selected);
593
593
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE4, height: SIZE4, position: "relative" }, children: [
594
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE4, height: SIZE4, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
594
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE4, height: SIZE4, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
595
595
  /* @__PURE__ */ jsxRuntime.jsx(
596
596
  "polygon",
597
597
  {
@@ -1027,7 +1027,7 @@ function DataObjectNode({ data, selected }) {
1027
1027
  `L ${W} ${FOLD}`
1028
1028
  ].join(" ");
1029
1029
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W, height: H2, position: "relative" }, children: [
1030
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W, height: H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1030
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W, height: H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1031
1031
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: path, fill, stroke, strokeWidth: sw }),
1032
1032
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath2, fill: "none", stroke, strokeWidth: sw })
1033
1033
  ] }),
@@ -1045,7 +1045,7 @@ function DataStoreNode({ data, selected }) {
1045
1045
  const sw = resolveStrokeWidth(selected);
1046
1046
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1047
1047
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: DS_W, height: DS_H, position: "relative" }, children: [
1048
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W, height: DS_H, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1048
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W, height: DS_H, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1049
1049
  /* @__PURE__ */ jsxRuntime.jsx(
1050
1050
  "path",
1051
1051
  {
@@ -1091,7 +1091,7 @@ function DataObjectReferenceNode({ data, selected }) {
1091
1091
  const sw = resolveStrokeWidth(selected);
1092
1092
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1093
1093
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1094
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1094
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1095
1095
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1096
1096
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1097
1097
  d.isCollection && collectionLines(stroke, sw)
@@ -1106,7 +1106,7 @@ function DataInputNode({ data, selected }) {
1106
1106
  const sw = resolveStrokeWidth(selected);
1107
1107
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1108
1108
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1109
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1109
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1110
1110
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1111
1111
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1112
1112
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1130,7 +1130,7 @@ function DataOutputNode({ data, selected }) {
1130
1130
  const sw = resolveStrokeWidth(selected);
1131
1131
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1132
1132
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1133
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1133
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1134
1134
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1135
1135
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1136
1136
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1158,7 +1158,7 @@ function DataStoreReferenceNode({ data, selected }) {
1158
1158
  const sw = resolveStrokeWidth(selected);
1159
1159
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1160
1160
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: DS_W2, height: DS_H2, position: "relative" }, children: [
1161
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W2, height: DS_H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1161
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W2, height: DS_H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter() }, children: [
1162
1162
  /* @__PURE__ */ jsxRuntime.jsx(
1163
1163
  "path",
1164
1164
  {