@kestra-io/ui-libs 0.0.211 → 0.0.212

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,6 +1,6 @@
1
1
  import js, { Document as zs, YAMLMap as pr } from "yaml";
2
2
  import { g as Up, e as Hp, d as Gp, r as Bp, a as Wp, f as mf, b as jp, c as zp, h as Kp, u as Yp, i as Xp, j as Zp, k as Jp, l as Qp, m as em, n as tm, s as nm, p as rm, o as im, q as am, t as gf, v as om, w as sm, x as Ks, y as Ys, z as lm, A as um, B as vn, C as vf, D as us, E as cm, F as Wn, G as dm, 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 fm, S as _f, T as ps, U as hm, V as Ut, W as yf, X as pm, Y as Ef, Z as mm, _ as gm, $ as bf, a0 as ms, a1 as vm, a2 as _m, a3 as ym, a4 as Yn, a5 as Em, a6 as bm, a7 as Cm, a8 as wm, a9 as Sm, aa as km, ab as Cf, ac as Lm, ad as Tm, ae as Om } from "./FlowYamlUtils-B2iMnYvW.js";
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 Nm, ref as ve, shallowRef as An, computed as de, watch as ct, onMounted as yn, onUnmounted as wf, defineComponent as Re, h as nn, createVNode as K, Text as dn, Fragment as Me, nextTick as Xn, onBeforeUnmount as Sf, renderSlot as ye, createTextVNode as Et, normalizeClass as ge, createBlock as ue, withCtx as te, normalizeStyle as fn, unref as W, toRef as Xs, resolveComponent as Rn, effectScope as Im, reactive as kf, resolveDynamicComponent as Ht, renderList as _t, createSlots as Lf, normalizeProps as Am, guardReactiveProps as Rm, withModifiers as Tf, withAsyncContext as Zs, toRaw as Dm, defineAsyncComponent as Pm, Comment as Mm, Suspense as $m } from "vue";
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 Nm, ref as ve, shallowRef as An, computed as de, watch as st, onMounted as yn, onUnmounted as wf, defineComponent as Re, h as nn, createVNode as K, Text as dn, Fragment as Me, nextTick as Xn, onBeforeUnmount as Sf, renderSlot as ye, createTextVNode as Et, normalizeClass as ge, createBlock as ue, withCtx as te, normalizeStyle as fn, unref as W, toRef as Xs, resolveComponent as Rn, effectScope as Im, reactive as kf, resolveDynamicComponent as Ht, renderList as _t, createSlots as Lf, normalizeProps as Am, guardReactiveProps as Rm, withModifiers as Tf, withAsyncContext as Zs, toRaw as Dm, defineAsyncComponent as Pm, Comment as Mm, Suspense as $m } from "vue";
4
4
  import xm from "humanize-duration";
5
5
  import cn from "moment";
6
6
  import qm from "moment-timezone";
@@ -2055,7 +2055,7 @@ function Jf() {
2055
2055
  return Ki = n, Ki;
2056
2056
  }
2057
2057
  var Yi, xu;
2058
- function st() {
2058
+ function lt() {
2059
2059
  if (xu) return Yi;
2060
2060
  xu = 1;
2061
2061
  var e;
@@ -2087,7 +2087,7 @@ var Xi, qu;
2087
2087
  function Ss() {
2088
2088
  if (qu) return Xi;
2089
2089
  qu = 1;
2090
- var e = st();
2090
+ var e = lt();
2091
2091
  Xi = i;
2092
2092
  var t = "\0", n = "\0", r = "";
2093
2093
  function i(c) {
@@ -2304,7 +2304,7 @@ var Qi, Uu;
2304
2304
  function d1() {
2305
2305
  if (Uu) return Qi;
2306
2306
  Uu = 1;
2307
- var e = st(), t = Ss();
2307
+ var e = lt(), t = Ss();
2308
2308
  Qi = {
2309
2309
  write: n,
2310
2310
  read: a
@@ -2347,7 +2347,7 @@ var ea, Hu;
2347
2347
  function f1() {
2348
2348
  if (Hu) return ea;
2349
2349
  Hu = 1;
2350
- var e = st();
2350
+ var e = lt();
2351
2351
  ea = t;
2352
2352
  function t(n) {
2353
2353
  var r = {}, i = [], a;
@@ -2364,7 +2364,7 @@ var ta, Gu;
2364
2364
  function Qf() {
2365
2365
  if (Gu) return ta;
2366
2366
  Gu = 1;
2367
- var e = st();
2367
+ var e = lt();
2368
2368
  ta = t;
2369
2369
  function t() {
2370
2370
  this._arr = [], this._keyIndices = {};
@@ -2416,7 +2416,7 @@ var na, Bu;
2416
2416
  function eh() {
2417
2417
  if (Bu) return na;
2418
2418
  Bu = 1;
2419
- var e = st(), t = Qf();
2419
+ var e = lt(), t = Qf();
2420
2420
  na = r;
2421
2421
  var n = e.constant(1);
2422
2422
  function r(a, o, s, l) {
@@ -2449,7 +2449,7 @@ var ra, Wu;
2449
2449
  function h1() {
2450
2450
  if (Wu) return ra;
2451
2451
  Wu = 1;
2452
- var e = eh(), t = st();
2452
+ var e = eh(), t = lt();
2453
2453
  ra = n;
2454
2454
  function n(r, i, a) {
2455
2455
  return t.transform(r.nodes(), function(o, s) {
@@ -2462,7 +2462,7 @@ var ia, ju;
2462
2462
  function th() {
2463
2463
  if (ju) return ia;
2464
2464
  ju = 1;
2465
- var e = st();
2465
+ var e = lt();
2466
2466
  ia = t;
2467
2467
  function t(n) {
2468
2468
  var r = 0, i = [], a = {}, o = [];
@@ -2492,7 +2492,7 @@ var aa, zu;
2492
2492
  function p1() {
2493
2493
  if (zu) return aa;
2494
2494
  zu = 1;
2495
- var e = st(), t = th();
2495
+ var e = lt(), t = th();
2496
2496
  aa = n;
2497
2497
  function n(r) {
2498
2498
  return e.filter(t(r), function(i) {
@@ -2505,7 +2505,7 @@ var oa, Ku;
2505
2505
  function m1() {
2506
2506
  if (Ku) return oa;
2507
2507
  Ku = 1;
2508
- var e = st();
2508
+ var e = lt();
2509
2509
  oa = n;
2510
2510
  var t = e.constant(1);
2511
2511
  function n(i, a, o) {
@@ -2543,7 +2543,7 @@ var sa, Yu;
2543
2543
  function nh() {
2544
2544
  if (Yu) return sa;
2545
2545
  Yu = 1;
2546
- var e = st();
2546
+ var e = lt();
2547
2547
  sa = t, t.CycleException = n;
2548
2548
  function t(r) {
2549
2549
  var i = {}, a = {}, o = [];
@@ -2582,7 +2582,7 @@ var ua, Zu;
2582
2582
  function rh() {
2583
2583
  if (Zu) return ua;
2584
2584
  Zu = 1;
2585
- var e = st();
2585
+ var e = lt();
2586
2586
  ua = t;
2587
2587
  function t(r, i, a) {
2588
2588
  e.isArray(i) || (i = [i]);
@@ -2626,7 +2626,7 @@ var fa, ec;
2626
2626
  function y1() {
2627
2627
  if (ec) return fa;
2628
2628
  ec = 1;
2629
- var e = st(), t = Ss(), n = Qf();
2629
+ var e = lt(), t = Ss(), n = Qf();
2630
2630
  fa = r;
2631
2631
  function r(i, a) {
2632
2632
  var o = new t(), s = {}, l = new n(), u;
@@ -5249,7 +5249,7 @@ function Ld(e) {
5249
5249
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
5250
5250
  }
5251
5251
  const V_ = Object.prototype.hasOwnProperty;
5252
- function lt(e, t) {
5252
+ function ut(e, t) {
5253
5253
  return V_.call(e, t);
5254
5254
  }
5255
5255
  const $e = Array.isArray, we = (e) => typeof e == "function", X = (e) => typeof e == "string", Ie = (e) => typeof e == "boolean", pe = (e) => e !== null && typeof e == "object", U_ = (e) => pe(e) && we(e.then) && we(e.catch), dh = Object.prototype.toString, Ls = (e) => dh.call(e), he = (e) => Ls(e) === "[object Object]", H_ = (e) => e == null ? "" : $e(e) || he(e) && e.toString === dh ? JSON.stringify(e, null, 2) : String(e);
@@ -6268,8 +6268,8 @@ function Ey(e, t = {}) {
6268
6268
  function by() {
6269
6269
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (xt().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (xt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
6270
6270
  }
6271
- function ut(e) {
6272
- return pe(e) && Ns(e) === 0 && (lt(e, "b") || lt(e, "body"));
6271
+ function ct(e) {
6272
+ return pe(e) && Ns(e) === 0 && (ut(e, "b") || ut(e, "body"));
6273
6273
  }
6274
6274
  const fh = ["b", "body"];
6275
6275
  function Cy(e) {
@@ -6315,7 +6315,7 @@ function Ty(e) {
6315
6315
  function At(e, t, n) {
6316
6316
  for (let r = 0; r < t.length; r++) {
6317
6317
  const i = t[r];
6318
- if (lt(e, i) && e[i] != null)
6318
+ if (ut(e, i) && e[i] != null)
6319
6319
  return e[i];
6320
6320
  }
6321
6321
  return n;
@@ -6370,17 +6370,17 @@ function jo(e, t) {
6370
6370
  return Ln(t, n);
6371
6371
  case 4: {
6372
6372
  const r = t;
6373
- if (lt(r, "k") && r.k)
6373
+ if (ut(r, "k") && r.k)
6374
6374
  return e.interpolate(e.named(r.k));
6375
- if (lt(r, "key") && r.key)
6375
+ if (ut(r, "key") && r.key)
6376
6376
  return e.interpolate(e.named(r.key));
6377
6377
  throw hn(n);
6378
6378
  }
6379
6379
  case 5: {
6380
6380
  const r = t;
6381
- if (lt(r, "i") && Fe(r.i))
6381
+ if (ut(r, "i") && Fe(r.i))
6382
6382
  return e.interpolate(e.list(r.i));
6383
- if (lt(r, "index") && Fe(r.index))
6383
+ if (ut(r, "index") && Fe(r.index))
6384
6384
  return e.interpolate(e.list(r.index));
6385
6385
  throw hn(n);
6386
6386
  }
@@ -6424,7 +6424,7 @@ function Dy(e, t) {
6424
6424
  }), l = xo(o);
6425
6425
  return s ? l : Tn[i] = l;
6426
6426
  } else {
6427
- if (process.env.NODE_ENV !== "production" && !ut(e))
6427
+ if (process.env.NODE_ENV !== "production" && !ct(e))
6428
6428
  return It(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), () => e;
6429
6429
  const n = e.cacheKey;
6430
6430
  if (n) {
@@ -6818,7 +6818,7 @@ function Xy(e, t) {
6818
6818
  let i = e, a = 0;
6819
6819
  for (; a < r; ) {
6820
6820
  const o = n[a];
6821
- if (Eh.includes(o) && ut(i))
6821
+ if (Eh.includes(o) && ct(i))
6822
6822
  return null;
6823
6823
  const s = i[o];
6824
6824
  if (s === void 0 || we(i))
@@ -7173,7 +7173,7 @@ function jd(e, ...t) {
7173
7173
  v,
7174
7174
  s[v] || Ee()
7175
7175
  ] : Rh(e, l, v, o, d, c), m = p, C = l;
7176
- if (!h && !(X(m) || ut(m) || ot(m)) && _ && (m = w, C = m), !h && (!(X(m) || ut(m) || ot(m)) || !X(g)))
7176
+ if (!h && !(X(m) || ct(m) || ot(m)) && _ && (m = w, C = m), !h && (!(X(m) || ct(m) || ot(m)) || !X(g)))
7177
7177
  return i ? ar : l;
7178
7178
  if (process.env.NODE_ENV !== "production" && X(m) && e.messageCompiler == null)
7179
7179
  return It(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`), l;
@@ -7231,7 +7231,7 @@ function Rh(e, t, n, r, i, a) {
7231
7231
  groupId: `${v}:${t}`
7232
7232
  }), y && m && rt && qt && (rt(m), qt("intlify message resolve", y, m));
7233
7233
  }
7234
- if (X(h) || ut(h) || ot(h))
7234
+ if (X(h) || ct(h) || ot(h))
7235
7235
  break;
7236
7236
  if (!lE(f, c)) {
7237
7237
  const C = As(
@@ -7289,7 +7289,7 @@ function _E(e, t, n) {
7289
7289
  }
7290
7290
  function Yo(...e) {
7291
7291
  const [t, n, r] = e, i = Ee();
7292
- if (!X(t) && !Fe(t) && !ot(t) && !ut(t))
7292
+ if (!X(t) && !Fe(t) && !ot(t) && !ct(t))
7293
7293
  throw vt(Be.INVALID_ARGUMENT);
7294
7294
  const a = Fe(t) ? String(t) : (ot(t), t);
7295
7295
  return Fe(n) ? i.plural = n : X(n) ? i.default = n : he(n) && !ir(n) ? i.named = n : $e(n) && (i.list = n), Fe(r) ? i.plural = r : X(r) ? i.default = r : he(r) && Ve(i, r), [a, i];
@@ -7341,7 +7341,7 @@ function bE(e, t, n, r) {
7341
7341
  );
7342
7342
  _ = o(v, h);
7343
7343
  }
7344
- if (X(_) || ut(_)) {
7344
+ if (X(_) || ct(_)) {
7345
7345
  let v = !1;
7346
7346
  const g = Dh(e, h, t, _, h, () => {
7347
7347
  v = !0;
@@ -7520,10 +7520,10 @@ function Rs(e, ...t) {
7520
7520
  return rr(PE[e], ...t);
7521
7521
  }
7522
7522
  function gn(e) {
7523
- if (!pe(e) || ut(e))
7523
+ if (!pe(e) || ct(e))
7524
7524
  return e;
7525
7525
  for (const t in e)
7526
- if (lt(e, t))
7526
+ if (ut(e, t))
7527
7527
  if (!t.includes("."))
7528
7528
  pe(e[t]) && gn(e[t]);
7529
7529
  else {
@@ -7540,7 +7540,7 @@ function gn(e) {
7540
7540
  }
7541
7541
  i = i[n[o]];
7542
7542
  }
7543
- if (a || (ut(i) ? Eh.includes(n[r]) || delete e[t] : (i[n[r]] = e[t], delete e[t])), !ut(i)) {
7543
+ if (a || (ct(i) ? Eh.includes(n[r]) || delete e[t] : (i[n[r]] = e[t], delete e[t])), !ct(i)) {
7544
7544
  const o = i[n[r]];
7545
7545
  pe(o) && gn(o);
7546
7546
  }
@@ -7557,7 +7557,7 @@ function $h(e, t) {
7557
7557
  X(s) && Pn(JSON.parse(s), o);
7558
7558
  }), i == null && a)
7559
7559
  for (const s in o)
7560
- lt(o, s) && gn(o[s]);
7560
+ ut(o, s) && gn(o[s]);
7561
7561
  return o;
7562
7562
  }
7563
7563
  function xh(e) {
@@ -7753,7 +7753,7 @@ function qE(e = {}) {
7753
7753
  if (!A)
7754
7754
  return !1;
7755
7755
  const me = X(U) ? U : s.value, Ne = et(me), Dt = b.messageResolver(Ne, A);
7756
- return ut(Dt) || ot(Dt) || X(Dt);
7756
+ return ct(Dt) || ot(Dt) || X(Dt);
7757
7757
  }, () => [A], "translate exists", (me) => Reflect.apply(me.te, me, [A, U]), $E, (me) => Ie(me));
7758
7758
  }
7759
7759
  function xe(A) {
@@ -7779,7 +7779,7 @@ function qE(e = {}) {
7779
7779
  if (i) {
7780
7780
  const me = { [A]: U };
7781
7781
  for (const Ne in me)
7782
- lt(me, Ne) && gn(me[Ne]);
7782
+ ut(me, Ne) && gn(me[Ne]);
7783
7783
  U = me[A];
7784
7784
  }
7785
7785
  u.value[A] = U, b.messages = u.value;
@@ -7789,7 +7789,7 @@ function qE(e = {}) {
7789
7789
  const me = { [A]: U };
7790
7790
  if (i)
7791
7791
  for (const Ne in me)
7792
- lt(me, Ne) && gn(me[Ne]);
7792
+ ut(me, Ne) && gn(me[Ne]);
7793
7793
  U = me[A], Pn(U, u.value[A]), b.messages = u.value;
7794
7794
  }
7795
7795
  function k(A) {
@@ -7810,9 +7810,9 @@ function qE(e = {}) {
7810
7810
  function Oe(A, U) {
7811
7811
  d.value[A] = Ve(d.value[A] || {}, U), b.numberFormats = d.value, Gd(b, A, U);
7812
7812
  }
7813
- Xd++, t && bt && (ct(t.locale, (A) => {
7813
+ Xd++, t && bt && (st(t.locale, (A) => {
7814
7814
  o && (s.value = A, b.locale = A, un(b, s.value, l.value));
7815
- }), ct(t.fallbackLocale, (A) => {
7815
+ }), st(t.fallbackLocale, (A) => {
7816
7816
  o && (l.value = A, b.fallbackLocale = A, un(b, s.value, l.value));
7817
7817
  }));
7818
7818
  const fe = {
@@ -9044,7 +9044,7 @@ function _0(e, t, n, r) {
9044
9044
  };
9045
9045
  }
9046
9046
  function y0(e) {
9047
- ct(function() {
9047
+ st(function() {
9048
9048
  return e._state.data;
9049
9049
  }, function() {
9050
9050
  process.env.NODE_ENV !== "production" && ft(e._committing, "do not mutate vuex store state outside mutation handlers.");
@@ -9491,7 +9491,7 @@ it.prototype.subscribeAction = function(t, n) {
9491
9491
  };
9492
9492
  it.prototype.watch = function(t, n, r) {
9493
9493
  var i = this;
9494
- return process.env.NODE_ENV !== "production" && ft(typeof t == "function", "store.watch only accepts a function."), ct(function() {
9494
+ return process.env.NODE_ENV !== "production" && ft(typeof t == "function", "store.watch only accepts a function."), st(function() {
9495
9495
  return t(i.state, i.getters);
9496
9496
  }, n, Object.assign({}, r));
9497
9497
  };
@@ -9796,7 +9796,7 @@ const A0 = { class: "icon rounded" }, R0 = { class: "node-content" }, D0 = { cla
9796
9796
  },
9797
9797
  setup(e) {
9798
9798
  const t = e;
9799
- ct(
9799
+ st(
9800
9800
  () => t.histories,
9801
9801
  (h, w) => {
9802
9802
  w[0].date !== h[0].date && s();
@@ -11297,9 +11297,9 @@ const zw = {
11297
11297
  const n = e, r = ve(!1), i = ve(), { getNodes: a, onNodeDrag: o, onNodeDragStart: s, onNodeDragStop: l, fitView: u, setElements: c, vueFlowRef: d } = Mt(n.id), f = ve({}), h = ve([]), w = ve(/* @__PURE__ */ new Set()), _ = ve([]), { capture: v } = jw(), p = t;
11298
11298
  yn(() => {
11299
11299
  g();
11300
- }), ct(() => n.flowGraph, () => {
11300
+ }), st(() => n.flowGraph, () => {
11301
11301
  g();
11302
- }), ct(() => n.isHorizontal, () => {
11302
+ }), st(() => n.isHorizontal, () => {
11303
11303
  g();
11304
11304
  });
11305
11305
  const g = () => {
@@ -11758,15 +11758,21 @@ const k2 = /* @__PURE__ */ Q(y2, [["render", S2]]), L2 = ["id", "open"], T2 = {
11758
11758
  hash: r.value ? "" : o.value
11759
11759
  });
11760
11760
  }, l = t;
11761
- return ct(
11761
+ return st(
11762
11762
  () => i.hash,
11763
11763
  (u) => {
11764
11764
  u === o.value && (r.value = !1, l("expand"));
11765
11765
  },
11766
11766
  { immediate: !0 }
11767
+ ), st(
11768
+ () => n.initiallyExpanded,
11769
+ (u) => {
11770
+ u !== void 0 && (r.value = !u);
11771
+ },
11772
+ { immediate: !0 }
11767
11773
  ), (u, c) => (E(), L("details", {
11768
11774
  id: u.href,
11769
- onToggle: s,
11775
+ onClick: s,
11770
11776
  open: u.initiallyExpanded
11771
11777
  }, [
11772
11778
  O("summary", {
@@ -11792,9 +11798,9 @@ const k2 = /* @__PURE__ */ Q(y2, [["render", S2]]), L2 = ["id", "open"], T2 = {
11792
11798
  ye(u.$slots, "content", {}, void 0, !0)
11793
11799
  ])
11794
11800
  ], 8, N2)) : M("", !0)
11795
- ], 40, L2));
11801
+ ], 8, L2));
11796
11802
  }
11797
- }), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-3a01e6a9"]]);
11803
+ }), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-203ac201"]]);
11798
11804
  function Nn(e) {
11799
11805
  if (e.type)
11800
11806
  return e.type;
@@ -12242,7 +12248,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12242
12248
  emits: ["expand"],
12243
12249
  setup(e, { emit: t }) {
12244
12250
  const n = t, r = ve(!1);
12245
- ct(
12251
+ st(
12246
12252
  r,
12247
12253
  (o) => {
12248
12254
  o && n("expand");
@@ -12401,7 +12407,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12401
12407
  } else
12402
12408
  a.value.clear();
12403
12409
  };
12404
- ct([() => r.schema, () => r.pluginType], ([m, C], [S, b]) => {
12410
+ st([() => r.schema, () => r.pluginType], ([m, C], [S, b]) => {
12405
12411
  (m !== S || C !== b) && r.schema.definitions && s();
12406
12412
  }, { immediate: !0 });
12407
12413
  const l = (m) => {
@@ -14174,7 +14180,7 @@ const ss = "default", Mp = /^@|^v-on:/, $p = /^:|^v-bind:/, _L = /^v-model/, yL
14174
14180
  }), s = kf({
14175
14181
  ...e.data
14176
14182
  });
14177
- ct(() => e.data, (v) => {
14183
+ st(() => e.data, (v) => {
14178
14184
  Object.assign(s, v);
14179
14185
  }), await DL(e.body, { tags: a });
14180
14186
  function l(v, p) {