@kestra-io/ui-libs 0.0.220 → 0.0.222

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.
@@ -8807,6 +8807,10 @@ const er = /* @__PURE__ */ Q(_0, [["render", w0]]), tr = Symbol("execution-injec
8807
8807
  type: String,
8808
8808
  default: void 0
8809
8809
  },
8810
+ title: {
8811
+ type: String,
8812
+ default: void 0
8813
+ },
8810
8814
  type: {
8811
8815
  type: String,
8812
8816
  default: void 0
@@ -8907,9 +8911,10 @@ const er = /* @__PURE__ */ Q(_0, [["render", w0]]), tr = Symbol("execution-injec
8907
8911
  return this.data.node.task.type;
8908
8912
  },
8909
8913
  hoverTooltip() {
8910
- if (this.data.node.type.endsWith("SubflowGraphTask")) {
8911
- const e = this.data.node.task.subflowId ?? this.data.node.task;
8912
- return e.namespace + " " + e.flowId;
8914
+ var e;
8915
+ if ((e = this.data.node.type) != null && e.endsWith("SubflowGraphTask")) {
8916
+ const t = this.data.node.task.subflowId ?? this.data.node.task;
8917
+ return t.namespace + " " + t.flowId;
8913
8918
  }
8914
8919
  return this.trimmedId;
8915
8920
  }
@@ -8939,7 +8944,7 @@ const er = /* @__PURE__ */ Q(_0, [["render", w0]]), tr = Symbol("execution-injec
8939
8944
  I("div", T0, [
8940
8945
  K(_e, { title: t.hoverTooltip }, {
8941
8946
  default: te(() => [
8942
- vt(j(t.trimmedId), 1)
8947
+ vt(j(e.title ?? t.trimmedId), 1)
8943
8948
  ]),
8944
8949
  _: 1
8945
8950
  }, 8, ["title"])
@@ -9001,7 +9006,7 @@ const er = /* @__PURE__ */ Q(_0, [["render", w0]]), tr = Symbol("execution-injec
9001
9006
  ])
9002
9007
  ], 34));
9003
9008
  }
9004
- }), Sh = /* @__PURE__ */ Q(A0, [["__scopeId", "data-v-fc87bf62"]]), R0 = ["innerHTML"], D0 = /* @__PURE__ */ Re({
9009
+ }), Sh = /* @__PURE__ */ Q(A0, [["__scopeId", "data-v-ee0adf33"]]), R0 = ["innerHTML"], D0 = /* @__PURE__ */ Re({
9005
9010
  __name: "Duration",
9006
9011
  props: {
9007
9012
  histories: {}
@@ -9401,18 +9406,18 @@ const Nh = /* @__PURE__ */ Q(ub, [["render", pb]]), mb = {
9401
9406
  };
9402
9407
  },
9403
9408
  dataWithLink() {
9404
- var e, t, n, r;
9405
- if (this.data.node.type.endsWith("SubflowGraphTask") && this.enableSubflowInteraction) {
9406
- const i = this.data.node.task.subflowId ?? this.data.node.task;
9409
+ var e, t, n, r, i;
9410
+ if ((e = this.data.node.type) != null && e.endsWith("SubflowGraphTask") && this.enableSubflowInteraction) {
9411
+ const a = this.data.node.task.subflowId ?? this.data.node.task;
9407
9412
  return {
9408
9413
  ...this.data,
9409
9414
  link: {
9410
- namespace: i.namespace,
9411
- id: i.flowId,
9412
- executionId: (r = (n = (t = (e = this.taskExecution) == null ? void 0 : e.taskRunList.filter((a) => {
9413
- var o;
9414
- return a.taskId === this.data.node.task.id && ((o = a.outputs) == null ? void 0 : o.executionId);
9415
- })) == null ? void 0 : t[0]) == null ? void 0 : n.outputs) == null ? void 0 : r.executionId
9415
+ namespace: a.namespace,
9416
+ id: a.flowId,
9417
+ executionId: (i = (r = (n = (t = this.taskExecution) == null ? void 0 : t.taskRunList.filter((o) => {
9418
+ var s;
9419
+ return o.taskId === this.data.node.task.id && ((s = o.outputs) == null ? void 0 : s.executionId);
9420
+ })) == null ? void 0 : n[0]) == null ? void 0 : r.outputs) == null ? void 0 : i.executionId
9416
9421
  }
9417
9422
  };
9418
9423
  }
@@ -10983,8 +10988,8 @@ const _2 = /* @__PURE__ */ Q(f2, [["render", v2]]), y2 = ["id", "open"], E2 = {
10983
10988
  },
10984
10989
  emits: ["expand"],
10985
10990
  setup(e, { emit: t }) {
10986
- const n = e, r = ge(!0), i = as(), a = dm(), o = t, s = ce(() => `#${n.href}-body`), l = () => {
10987
- r.value = !r.value, r.value || o("expand"), a.replace({
10991
+ const n = e, r = ge(!0), i = as(), a = dm(), o = t, s = ce(() => `#${n.href}-body`), l = (c) => {
10992
+ c.preventDefault(), r.value = !r.value, u.value = !r.value, r.value || o("expand"), a.replace({
10988
10993
  hash: r.value ? "" : s.value
10989
10994
  });
10990
10995
  }, u = ge(!1);
@@ -11030,7 +11035,7 @@ const _2 = /* @__PURE__ */ Q(f2, [["render", v2]]), y2 = ["id", "open"], E2 = {
11030
11035
  ], 8, C2)) : M("", !0)
11031
11036
  ], 8, y2));
11032
11037
  }
11033
- }), Pn = /* @__PURE__ */ Q(w2, [["__scopeId", "data-v-792a18bc"]]);
11038
+ }), Pn = /* @__PURE__ */ Q(w2, [["__scopeId", "data-v-309ae3b9"]]);
11034
11039
  function Cn(e) {
11035
11040
  if (e.type)
11036
11041
  return e.type;