@kestra-io/ui-libs 0.0.202 → 0.0.204

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.
@@ -1,5 +1,5 @@
1
1
  import js, { Document as zs, YAMLMap as pr } from "yaml";
2
- import { g as Vp, e as Up, d as Hp, r as Gp, a as Bp, f as pf, b as Wp, c as jp, h as zp, u as Kp, i as Yp, j as Xp, k as Zp, l as Jp, m as Qp, n as em, s as tm, p as nm, o as rm, q as im, t as mf, v as am, w as om, x as Ks, y as Ys, z as sm, A as lm, B as vn, C as gf, D as us, E as um, F as Wn, G as cm, H as cs, I as ds, J as He, K as jn, L as zn, M as _n, N as Vt, O as fs, P as Kn, Q as hs, R as dm, S as vf, T as ps, U as fm, V as Ut, W as _f, X as hm, Y as yf, Z as pm, _ as mm, $ as Ef, a0 as ms, a1 as gm, a2 as vm, a3 as _m, a4 as Yn, a5 as ym, a6 as Em, a7 as bm, a8 as Cm, a9 as wm, aa as Sm, ab as bf, ac as km, ad as Lm, ae as Tm } from "./FlowYamlUtils-XiHwEJpD.js";
2
+ import { g as Vp, e as Up, d as Hp, r as Gp, a as Bp, f as pf, b as Wp, c as jp, h as zp, u as Kp, i as Yp, j as Xp, k as Zp, l as Jp, m as Qp, n as em, s as tm, p as nm, o as rm, q as im, t as mf, v as am, w as om, x as Ks, y as Ys, z as sm, A as lm, B as vn, C as gf, D as us, E as um, F as Wn, G as cm, H as cs, I as ds, J as He, K as jn, L as zn, M as _n, N as Vt, O as fs, P as Kn, Q as hs, R as dm, S as vf, T as ps, U as fm, V as Ut, W as _f, X as hm, Y as yf, Z as pm, _ as mm, $ as Ef, a0 as ms, a1 as gm, a2 as vm, a3 as _m, a4 as Yn, a5 as ym, a6 as Em, a7 as bm, a8 as Cm, a9 as wm, aa as Sm, ab as bf, ac as km, ad as Lm, ae as Tm } from "./FlowYamlUtils-BzRZhB-1.js";
3
3
  import { createElementBlock as L, openBlock as E, mergeProps as ae, createElementVNode as O, createCommentVNode as M, toDisplayString as z, getCurrentInstance as tn, inject as Om, ref as ve, shallowRef as An, computed as pe, watch as st, onMounted as yn, onUnmounted as Cf, defineComponent as Re, h as nn, createVNode as K, Text as dn, Fragment as Me, nextTick as Xn, onBeforeUnmount as wf, renderSlot as ye, createTextVNode as Et, normalizeClass as he, createBlock as ue, withCtx as te, normalizeStyle as fn, unref as W, toRef as Xs, resolveComponent as Rn, effectScope as Nm, reactive as Sf, resolveDynamicComponent as Ht, renderList as _t, createSlots as kf, normalizeProps as Im, guardReactiveProps as Am, withModifiers as Lf, withAsyncContext as Zs, toRaw as Rm, defineAsyncComponent as Dm, Comment as Pm, Suspense as Mm } from "vue";
4
4
  import xm from "humanize-duration";
5
5
  import cn from "moment";
@@ -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: {