@kestra-io/ui-libs 0.0.227 → 0.0.228

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.
@@ -1865,33 +1865,40 @@ function Ko(e, r) {
1865
1865
  }), i ? i.toJSON() : null;
1866
1866
  }
1867
1867
  function Go(e) {
1868
- const r = A(e), t = new ce();
1869
- A(e, { lineCounter: t });
1870
- let n = {};
1871
- return m(r, {
1872
- Map(a, i) {
1873
- var s, o;
1874
- if (i.items) {
1875
- for (const u of i.items)
1876
- if (((s = u == null ? void 0 : u.key) == null ? void 0 : s.value) === "tasks") {
1877
- if ((o = u == null ? void 0 : u.value) != null && o.items) {
1878
- for (const c of u.value.items)
1879
- if (R(c)) {
1880
- const l = _t(t, c);
1881
- n = { ...n, ...l };
1868
+ const r = e + `
1869
+ `, t = A(r), n = new ce();
1870
+ A(r, { lineCounter: n });
1871
+ let a = {};
1872
+ return m(t, {
1873
+ Map(i, s) {
1874
+ var o, u;
1875
+ if (s.items) {
1876
+ for (const c of s.items)
1877
+ if (((o = c == null ? void 0 : c.key) == null ? void 0 : o.value) === "tasks") {
1878
+ if ((u = c == null ? void 0 : c.value) != null && u.items) {
1879
+ for (const l of c.value.items)
1880
+ if (R(l)) {
1881
+ const f = _t(n, l);
1882
+ a = {
1883
+ ...a,
1884
+ ...f
1885
+ };
1882
1886
  }
1883
1887
  }
1884
1888
  return m.BREAK;
1885
1889
  }
1886
1890
  }
1887
1891
  }
1888
- }), n;
1892
+ }), a;
1889
1893
  }
1890
1894
  function _t(e, r) {
1891
1895
  let t = {};
1892
1896
  const n = r.get("id");
1893
1897
  if (n) {
1894
- r.range && (t[n] = { start: e.linePos(r.range[0]).line, end: e.linePos(r.range[1]).line - 1 });
1898
+ r.range && (t[n] = {
1899
+ start: e.linePos(r.range[0]).line,
1900
+ end: e.linePos(r.range[1]).line - 1
1901
+ });
1895
1902
  const a = new fe(), i = r.get("tasks");
1896
1903
  P(i) && i.items.forEach((u) => a.add(u));
1897
1904
  const s = r.get("then");
@@ -1986,4 +1993,4 @@ export {
1986
1993
  qo as y,
1987
1994
  ro as z
1988
1995
  };
1989
- //# sourceMappingURL=FlowYamlUtils-MCAmyY3D.js.map
1996
+ //# sourceMappingURL=FlowYamlUtils-BrY8bEv7.js.map