@kestra-io/ui-libs 0.0.202 → 0.0.203

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.
@@ -4966,9 +4966,23 @@ const Cd = /* @__PURE__ */ ps(I_), Lt = "root.Triggers", xo = {
4966
4966
  }
4967
4967
  return [Ae.afterLastDot(e.target), "before"];
4968
4968
  },
4969
- getEdgeColor(e, t) {
4970
- const n = t[e.source], r = t[e.target];
4971
- return r.branchType === "ERROR" || n.branchType === "ERROR" ? "error" : r.branchType === "FINALLY" || n.branchType === "FINALLY" ? "warning" : null;
4969
+ getEdgeColor(e, t, n) {
4970
+ const r = (o) => {
4971
+ var l, u;
4972
+ const s = o.split(".");
4973
+ for (let c = 1; c <= s.length; c++) {
4974
+ const d = s.slice(0, c).join("."), f = (l = n[d]) == null ? void 0 : l.branchType;
4975
+ if (f) return f;
4976
+ }
4977
+ return ((u = t[o]) == null ? void 0 : u.branchType) ?? null;
4978
+ }, i = r(e.source), a = r(e.target);
4979
+ return [i, a].includes(
4980
+ "ERROR"
4981
+ /* ERROR */
4982
+ ) ? "danger" : [i, a].includes(
4983
+ "FINALLY"
4984
+ /* FINALLY */
4985
+ ) ? "warning" : null;
4972
4986
  },
4973
4987
  generateGraph(e, t, n, r, i, a, o, s, l, u, c, d, f) {
4974
4988
  var b, N, R, D, G, q, Z, re, V, P, ie, J;
@@ -5106,7 +5120,7 @@ const Cd = /* @__PURE__ */ ps(I_), Lt = "root.Triggers", xo = {
5106
5120
  a
5107
5121
  );
5108
5122
  if (le) {
5109
- const ke = this.getEdgeColor(B, m);
5123
+ const ke = this.getEdgeColor(B, m, v);
5110
5124
  h.push({
5111
5125
  id: le.source + "|" + le.target,
5112
5126
  source: le.source,
@@ -8765,7 +8779,7 @@ function Jb(e, t, n, r, i, a) {
8765
8779
  })
8766
8780
  ], 64);
8767
8781
  }
8768
- const Qb = /* @__PURE__ */ Q(Xb, [["render", Jb], ["__scopeId", "data-v-0205dbbb"]]), e0 = {
8782
+ const Qb = /* @__PURE__ */ Q(Xb, [["render", Jb], ["__scopeId", "data-v-a3e1d999"]]), e0 = {
8769
8783
  name: "InformationOutlineIcon",
8770
8784
  emits: ["click"],
8771
8785
  props: {