@aranzatech/diagrams-bpmn 0.2.0 → 0.2.1

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 (63) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/catalog-OVnBDD8R.d.ts +9 -0
  3. package/dist/catalog-OWfI_yHU.d.cts +9 -0
  4. package/dist/{chunk-MF2WE3OM.js → chunk-33AR3PXF.js} +36 -8
  5. package/dist/chunk-33AR3PXF.js.map +1 -0
  6. package/dist/{chunk-3AFZDIMQ.js → chunk-ECTJRD7Z.js} +3 -3
  7. package/dist/{chunk-3AFZDIMQ.js.map → chunk-ECTJRD7Z.js.map} +1 -1
  8. package/dist/{chunk-S3GGEEA5.js → chunk-H3YMTGFG.js} +50 -32
  9. package/dist/chunk-H3YMTGFG.js.map +1 -0
  10. package/dist/chunk-KALSGH4D.js +36 -0
  11. package/dist/chunk-KALSGH4D.js.map +1 -0
  12. package/dist/{chunk-DNR5WBQH.js → chunk-L5Z22RLX.js} +81 -20
  13. package/dist/chunk-L5Z22RLX.js.map +1 -0
  14. package/dist/{chunk-5GRCJ5X6.js → chunk-RLAJNRF2.js} +3 -3
  15. package/dist/{chunk-5GRCJ5X6.js.map → chunk-RLAJNRF2.js.map} +1 -1
  16. package/dist/chunk-YQTIODXH.js +532 -0
  17. package/dist/chunk-YQTIODXH.js.map +1 -0
  18. package/dist/chunk-ZFGQVLHB.js +226 -0
  19. package/dist/chunk-ZFGQVLHB.js.map +1 -0
  20. package/dist/edges/index.cjs +1 -1
  21. package/dist/edges/index.cjs.map +1 -1
  22. package/dist/edges/index.js +2 -2
  23. package/dist/elements/index.cjs +81 -17
  24. package/dist/elements/index.cjs.map +1 -1
  25. package/dist/elements/index.d.cts +4 -6
  26. package/dist/elements/index.d.ts +4 -6
  27. package/dist/elements/index.js +2 -2
  28. package/dist/index.cjs +689 -75
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +6 -4
  31. package/dist/index.d.ts +6 -4
  32. package/dist/index.js +8 -7
  33. package/dist/modeling/index.cjs +383 -36
  34. package/dist/modeling/index.cjs.map +1 -1
  35. package/dist/modeling/index.d.cts +61 -3
  36. package/dist/modeling/index.d.ts +61 -3
  37. package/dist/modeling/index.js +3 -3
  38. package/dist/nodes/index.cjs +62 -32
  39. package/dist/nodes/index.cjs.map +1 -1
  40. package/dist/nodes/index.js +2 -2
  41. package/dist/{types-hj621ZRJ.d.ts → types-BxjCV2oX.d.ts} +1 -1
  42. package/dist/{types-BKA0GZz5.d.cts → types-DznxZxpV.d.cts} +11 -1
  43. package/dist/{types-BKA0GZz5.d.ts → types-DznxZxpV.d.ts} +11 -1
  44. package/dist/{types-CCkHqtC_.d.cts → types-vVi5T7qj.d.cts} +1 -1
  45. package/dist/validation/index.cjs +848 -0
  46. package/dist/validation/index.cjs.map +1 -0
  47. package/dist/validation/index.d.cts +25 -0
  48. package/dist/validation/index.d.ts +25 -0
  49. package/dist/validation/index.js +5 -0
  50. package/dist/validation/index.js.map +1 -0
  51. package/dist/xml/index.cjs +74 -22
  52. package/dist/xml/index.cjs.map +1 -1
  53. package/dist/xml/index.d.cts +2 -2
  54. package/dist/xml/index.d.ts +2 -2
  55. package/dist/xml/index.js +2 -2
  56. package/package.json +8 -3
  57. package/dist/chunk-23B2IGK5.js +0 -24
  58. package/dist/chunk-23B2IGK5.js.map +0 -1
  59. package/dist/chunk-DNR5WBQH.js.map +0 -1
  60. package/dist/chunk-G5S4ASP3.js +0 -277
  61. package/dist/chunk-G5S4ASP3.js.map +0 -1
  62. package/dist/chunk-MF2WE3OM.js.map +0 -1
  63. package/dist/chunk-S3GGEEA5.js.map +0 -1
@@ -46,13 +46,19 @@ function BpmnHandles({ variant = "all" }) {
46
46
  // src/nodes/shared/theme.ts
47
47
  var BPMN_THEME = {
48
48
  fill: "#ffffff",
49
- stroke: "#404040",
50
- strokeSelected: "#1a56db",
49
+ fillSoft: "#f8fbff",
50
+ fillSubtle: "#eef6ff",
51
+ stroke: "#334155",
52
+ strokeSelected: "#2563eb",
51
53
  strokeWidth: 1.5,
52
54
  strokeWidthSelected: 2.5,
53
55
  fontFamily: "Inter, system-ui, sans-serif",
54
56
  fontSize: 11,
55
- labelColor: "#1a1a1a"};
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)",
60
+ transition: "box-shadow 140ms ease, filter 140ms ease, transform 140ms ease"
61
+ };
56
62
  function resolveStroke(selected, override) {
57
63
  if (selected) return BPMN_THEME.strokeSelected;
58
64
  return override ?? BPMN_THEME.stroke;
@@ -60,6 +66,12 @@ function resolveStroke(selected, override) {
60
66
  function resolveStrokeWidth(selected) {
61
67
  return selected ? BPMN_THEME.strokeWidthSelected : BPMN_THEME.strokeWidth;
62
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))";
71
+ }
72
+ function resolveNodeShadow(selected) {
73
+ return selected ? BPMN_THEME.shadowSelected : BPMN_THEME.shadow;
74
+ }
63
75
  var EXTERNAL_STYLE = {
64
76
  position: "absolute",
65
77
  top: "100%",
@@ -212,7 +224,7 @@ function StartEventNode({ data, selected }) {
212
224
  const trigger = d.trigger ?? "none";
213
225
  const dashArray = d.isNonInterrupting ? "4 2" : void 0;
214
226
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE, height: SIZE, position: "relative" }, children: [
215
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE, height: SIZE, style: { overflow: "visible", display: "block" }, children: [
227
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE, height: SIZE, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
216
228
  /* @__PURE__ */ jsxRuntime.jsx(
217
229
  "circle",
218
230
  {
@@ -241,7 +253,7 @@ function EndEventNode({ data, selected }) {
241
253
  const fill = d.color?.fill ?? BPMN_THEME.fill;
242
254
  const trigger = d.trigger ?? "none";
243
255
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE2, height: SIZE2, position: "relative" }, children: [
244
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE2, height: SIZE2, style: { overflow: "visible", display: "block" }, children: [
256
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE2, height: SIZE2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
245
257
  /* @__PURE__ */ jsxRuntime.jsx(
246
258
  "circle",
247
259
  {
@@ -269,9 +281,9 @@ function IntermediateCatchEventNode({ data, selected }) {
269
281
  const stroke = resolveStroke(selected, d.color?.stroke);
270
282
  const sw = resolveStrokeWidth(selected);
271
283
  const fill = d.color?.fill ?? BPMN_THEME.fill;
272
- const trigger = d.trigger ?? "none";
284
+ const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "timer";
273
285
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
274
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block" }, children: [
286
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
275
287
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_OUTER, fill, stroke, strokeWidth: sw }),
276
288
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_INNER, fill: "none", stroke, strokeWidth: sw }),
277
289
  /* @__PURE__ */ jsxRuntime.jsx(EventMarker, { cx: CX3, cy: CX3, trigger, filled: false, stroke, bg: fill, r: ICON_R })
@@ -285,9 +297,9 @@ function IntermediateThrowEventNode({ data, selected }) {
285
297
  const stroke = resolveStroke(selected, d.color?.stroke);
286
298
  const sw = resolveStrokeWidth(selected);
287
299
  const fill = d.color?.fill ?? BPMN_THEME.fill;
288
- const trigger = d.trigger ?? "none";
300
+ const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "message";
289
301
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
290
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block" }, children: [
302
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
291
303
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_OUTER, fill, stroke, strokeWidth: sw }),
292
304
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: CX3, cy: CX3, r: R_INNER, fill: stroke, stroke, strokeWidth: sw }),
293
305
  /* @__PURE__ */ jsxRuntime.jsx(EventMarker, { cx: CX3, cy: CX3, trigger, filled: true, stroke: fill, bg: stroke, r: ICON_R })
@@ -301,10 +313,10 @@ function BoundaryEventNode({ data, selected }) {
301
313
  const stroke = resolveStroke(selected, d.color?.stroke);
302
314
  const sw = resolveStrokeWidth(selected);
303
315
  const fill = d.color?.fill ?? BPMN_THEME.fill;
304
- const trigger = d.trigger ?? "none";
316
+ const trigger = d.trigger && d.trigger !== "none" ? d.trigger : "timer";
305
317
  const dashArray = d.isNonInterrupting ? "4 2" : void 0;
306
318
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE3, height: SIZE3, position: "relative" }, children: [
307
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block" }, children: [
319
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE3, height: SIZE3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
308
320
  /* @__PURE__ */ jsxRuntime.jsx(
309
321
  "circle",
310
322
  {
@@ -339,6 +351,11 @@ function TaskIcon({ type, size = 14, color = "#404040" }) {
339
351
  const s = size;
340
352
  const c = color;
341
353
  switch (type) {
354
+ case "Task":
355
+ return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: s, height: s, viewBox: "0 0 16 16", fill: "none", children: [
356
+ /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "3", width: "10", height: "10", rx: "1.5", stroke: c, strokeWidth: "1.5" }),
357
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5.5 8.2 7.2 10 10.8 6", stroke: c, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
358
+ ] });
342
359
  case "UserTask":
343
360
  return /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: s, height: s, viewBox: "0 0 16 16", fill: "none", children: [
344
361
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "5", r: "3", stroke: c, strokeWidth: "1.5" }),
@@ -481,20 +498,22 @@ function TaskNode({ data, selected }) {
481
498
  style: {
482
499
  width: "100%",
483
500
  height: "100%",
484
- background: d.color?.fill ?? BPMN_THEME.fill,
501
+ background: d.color?.fill ?? `linear-gradient(180deg, ${BPMN_THEME.fill} 0%, ${BPMN_THEME.fillSoft} 100%)`,
485
502
  border: `${borderWidth}px solid ${stroke}`,
486
- borderRadius: 6,
503
+ borderRadius: 7,
487
504
  boxSizing: "border-box",
505
+ boxShadow: resolveNodeShadow(selected),
488
506
  display: "flex",
489
507
  flexDirection: "column",
490
508
  alignItems: "center",
491
509
  justifyContent: "center",
492
510
  padding: hasMarkers ? "4px 8px 22px" : "4px 8px",
493
511
  position: "relative",
494
- fontFamily: BPMN_THEME.fontFamily
512
+ fontFamily: BPMN_THEME.fontFamily,
513
+ transition: BPMN_THEME.transition
495
514
  },
496
515
  children: [
497
- d.elementType && d.elementType !== "Task" && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { position: "absolute", top: 5, left: 5 }, children: /* @__PURE__ */ jsxRuntime.jsx(TaskIcon, { type: d.elementType, size: 14, color: stroke }) }),
516
+ d.elementType && /* @__PURE__ */ jsxRuntime.jsx("div", { style: { position: "absolute", top: 5, left: 5 }, children: /* @__PURE__ */ jsxRuntime.jsx(TaskIcon, { type: d.elementType, size: 14, color: stroke }) }),
498
517
  /* @__PURE__ */ jsxRuntime.jsx(BpmnLabel, { style: { width: "100%" }, children: d.label ?? d.elementType }),
499
518
  d.priority && /* @__PURE__ */ jsxRuntime.jsx(
500
519
  "div",
@@ -572,7 +591,7 @@ function GatewayNode({ data, selected }) {
572
591
  const stroke = resolveStroke(selected, d.color?.stroke);
573
592
  const sw = resolveStrokeWidth(selected);
574
593
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: SIZE4, height: SIZE4, position: "relative" }, children: [
575
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE4, height: SIZE4, style: { overflow: "visible", display: "block" }, children: [
594
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: SIZE4, height: SIZE4, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
576
595
  /* @__PURE__ */ jsxRuntime.jsx(
577
596
  "polygon",
578
597
  {
@@ -615,12 +634,14 @@ function SubProcessNode({ data, selected }) {
615
634
  style: {
616
635
  width: "100%",
617
636
  height: "100%",
618
- background: d.color?.fill ?? "#f8faff",
637
+ background: d.color?.fill ?? `linear-gradient(180deg, ${BPMN_THEME.fill} 0%, ${BPMN_THEME.fillSubtle} 100%)`,
619
638
  border: `${sw}px ${borderStyle} ${stroke}`,
620
639
  borderRadius: 6,
621
640
  boxSizing: "border-box",
641
+ boxShadow: resolveNodeShadow(selected),
622
642
  position: "relative",
623
- fontFamily: BPMN_THEME.fontFamily
643
+ fontFamily: BPMN_THEME.fontFamily,
644
+ transition: BPMN_THEME.transition
624
645
  },
625
646
  children: [
626
647
  variant === "transaction" && /* @__PURE__ */ jsxRuntime.jsx(
@@ -674,8 +695,8 @@ function PoolNode({ data, selected }) {
674
695
  const stroke = resolveStroke(selected, d.color?.stroke);
675
696
  const sw = resolveStrokeWidth(selected);
676
697
  const orientation = d.orientation ?? "horizontal";
677
- const fill = d.color?.fill ?? "#f5f7ff";
678
- const headerFill = d.color?.fill ?? "#edf0ff";
698
+ const fill = d.color?.fill ?? "#f8fbff";
699
+ const headerFill = d.color?.fill ?? "#eaf2ff";
679
700
  if (orientation === "vertical") {
680
701
  return /* @__PURE__ */ jsxRuntime.jsxs(
681
702
  "div",
@@ -689,8 +710,10 @@ function PoolNode({ data, selected }) {
689
710
  borderRadius: 4,
690
711
  boxSizing: "border-box",
691
712
  background: fill,
713
+ boxShadow: resolveNodeShadow(selected),
692
714
  overflow: "hidden",
693
- fontFamily: BPMN_THEME.fontFamily
715
+ fontFamily: BPMN_THEME.fontFamily,
716
+ transition: BPMN_THEME.transition
694
717
  },
695
718
  children: [
696
719
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -741,14 +764,17 @@ function PoolNode({ data, selected }) {
741
764
  borderRadius: 4,
742
765
  boxSizing: "border-box",
743
766
  background: fill,
767
+ boxShadow: resolveNodeShadow(selected),
744
768
  overflow: "hidden",
745
- fontFamily: BPMN_THEME.fontFamily
769
+ fontFamily: BPMN_THEME.fontFamily,
770
+ transition: BPMN_THEME.transition
746
771
  },
747
772
  children: [
748
773
  /* @__PURE__ */ jsxRuntime.jsx(
749
774
  "div",
750
775
  {
751
776
  "aria-label": "pool-header",
777
+ className: "pool-drag-handle",
752
778
  style: {
753
779
  width: HEADER_WIDTH,
754
780
  minWidth: HEADER_WIDTH,
@@ -790,8 +816,8 @@ function LaneNode({ data, selected }) {
790
816
  const stroke = resolveStroke(selected, d.color?.stroke);
791
817
  const sw = resolveStrokeWidth(selected);
792
818
  const orientation = d.orientation ?? "horizontal";
793
- const fill = d.color?.fill ?? "#fafbff";
794
- const headerFill = d.color?.fill ?? "#f0f3ff";
819
+ const fill = d.color?.fill ?? "#fbfdff";
820
+ const headerFill = d.color?.fill ?? "#eef6ff";
795
821
  if (orientation === "vertical") {
796
822
  return /* @__PURE__ */ jsxRuntime.jsxs(
797
823
  "div",
@@ -804,8 +830,10 @@ function LaneNode({ data, selected }) {
804
830
  borderRadius: 2,
805
831
  boxSizing: "border-box",
806
832
  background: fill,
833
+ boxShadow: resolveNodeShadow(selected),
807
834
  overflow: "hidden",
808
- fontFamily: BPMN_THEME.fontFamily
835
+ fontFamily: BPMN_THEME.fontFamily,
836
+ transition: BPMN_THEME.transition
809
837
  },
810
838
  children: [
811
839
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -860,8 +888,10 @@ function LaneNode({ data, selected }) {
860
888
  borderRadius: 2,
861
889
  boxSizing: "border-box",
862
890
  background: fill,
891
+ boxShadow: resolveNodeShadow(selected),
863
892
  overflow: "hidden",
864
- fontFamily: BPMN_THEME.fontFamily
893
+ fontFamily: BPMN_THEME.fontFamily,
894
+ transition: BPMN_THEME.transition
865
895
  },
866
896
  children: [
867
897
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -997,7 +1027,7 @@ function DataObjectNode({ data, selected }) {
997
1027
  `L ${W} ${FOLD}`
998
1028
  ].join(" ");
999
1029
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W, height: H2, position: "relative" }, children: [
1000
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W, height: H2, style: { overflow: "visible", display: "block" }, children: [
1030
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W, height: H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1001
1031
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: path, fill, stroke, strokeWidth: sw }),
1002
1032
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath2, fill: "none", stroke, strokeWidth: sw })
1003
1033
  ] }),
@@ -1015,7 +1045,7 @@ function DataStoreNode({ data, selected }) {
1015
1045
  const sw = resolveStrokeWidth(selected);
1016
1046
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1017
1047
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: DS_W, height: DS_H, position: "relative" }, children: [
1018
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W, height: DS_H, style: { overflow: "visible", display: "block" }, children: [
1048
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W, height: DS_H, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1019
1049
  /* @__PURE__ */ jsxRuntime.jsx(
1020
1050
  "path",
1021
1051
  {
@@ -1061,7 +1091,7 @@ function DataObjectReferenceNode({ data, selected }) {
1061
1091
  const sw = resolveStrokeWidth(selected);
1062
1092
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1063
1093
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1064
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block" }, children: [
1094
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1065
1095
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1066
1096
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1067
1097
  d.isCollection && collectionLines(stroke, sw)
@@ -1076,7 +1106,7 @@ function DataInputNode({ data, selected }) {
1076
1106
  const sw = resolveStrokeWidth(selected);
1077
1107
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1078
1108
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1079
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block" }, children: [
1109
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1080
1110
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1081
1111
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1082
1112
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1100,7 +1130,7 @@ function DataOutputNode({ data, selected }) {
1100
1130
  const sw = resolveStrokeWidth(selected);
1101
1131
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1102
1132
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: W2, height: H3, position: "relative" }, children: [
1103
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block" }, children: [
1133
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: W2, height: H3, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1104
1134
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: documentPath(), fill, stroke, strokeWidth: sw }),
1105
1135
  /* @__PURE__ */ jsxRuntime.jsx("path", { d: foldPath(), fill: "none", stroke, strokeWidth: sw }),
1106
1136
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -1128,7 +1158,7 @@ function DataStoreReferenceNode({ data, selected }) {
1128
1158
  const sw = resolveStrokeWidth(selected);
1129
1159
  const fill = d.color?.fill ?? BPMN_THEME.fill;
1130
1160
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: DS_W2, height: DS_H2, position: "relative" }, children: [
1131
- /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W2, height: DS_H2, style: { overflow: "visible", display: "block" }, children: [
1161
+ /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: DS_W2, height: DS_H2, style: { overflow: "visible", display: "block", filter: resolveShapeFilter(selected) }, children: [
1132
1162
  /* @__PURE__ */ jsxRuntime.jsx(
1133
1163
  "path",
1134
1164
  {