@kong-ui-public/entities-plugins 9.87.3 → 9.87.4

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,7 +1,7 @@
1
1
  var ih = Object.defineProperty;
2
2
  var oh = (e, t, n) => t in e ? ih(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ut = (e, t, n) => oh(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as he, toRef as Le, inject as it, ref as re, computed as F, watch as Te, onMounted as It, resolveComponent as Ee, createElementBlock as ne, openBlock as w, createVNode as P, markRaw as xi, provide as ot, createBlock as U, withCtx as M, createElementVNode as G, createCommentVNode as we, Fragment as Ke, renderList as ze, toDisplayString as ge, unref as p, toValue as Oe, useAttrs as Ln, useSlots as Gt, mergeProps as Ue, createSlots as et, renderSlot as Fe, normalizeProps as cn, guardReactiveProps as En, createPropsRestProxy as Yt, resolveDynamicComponent as mt, Transition as rh, mergeModels as ms, useModel as Ar, onBeforeMount as xn, createTextVNode as De, normalizeClass as Ve, isRef as qo, useTemplateRef as st, withKeys as uu, withModifiers as Kt, nextTick as tt, useCssVars as ll, reactive as Wn, toRaw as Ir, watchEffect as Wd, shallowRef as ei, onBeforeUnmount as ea, getCurrentScope as Xd, effectScope as Zd, getCurrentInstance as zo, onScopeDispose as yr, toRefs as ah, customRef as sh, h as We, normalizeStyle as At, onUnmounted as ul, isMemoSame as lh, readonly as uh, useId as Jd, Teleport as Qd } from "vue";
4
+ import { defineComponent as he, toRef as Le, inject as it, ref as re, computed as F, watch as Te, onMounted as It, resolveComponent as Ee, createElementBlock as ne, openBlock as w, createVNode as P, markRaw as xi, provide as ot, createBlock as H, withCtx as M, createElementVNode as G, createCommentVNode as we, Fragment as Ke, renderList as ze, toDisplayString as ge, unref as p, toValue as Oe, useAttrs as Ln, useSlots as Gt, mergeProps as Ue, createSlots as et, renderSlot as Fe, normalizeProps as cn, guardReactiveProps as En, createPropsRestProxy as Yt, resolveDynamicComponent as mt, Transition as rh, mergeModels as ms, useModel as Ar, onBeforeMount as xn, createTextVNode as De, normalizeClass as Ve, isRef as qo, useTemplateRef as st, withKeys as uu, withModifiers as Kt, nextTick as tt, useCssVars as ll, reactive as Wn, toRaw as Ir, watchEffect as Wd, shallowRef as ei, onBeforeUnmount as ea, getCurrentScope as Xd, effectScope as Zd, getCurrentInstance as zo, onScopeDispose as yr, toRefs as ah, customRef as sh, h as We, normalizeStyle as At, onUnmounted as ul, isMemoSame as lh, readonly as uh, useId as Jd, Teleport as Qd } from "vue";
5
5
  import { useStringHelpers as ta, ConfigurationSchemaType as kt, useAxios as Kn, useErrors as Hi, useDebouncedFilter as ch, EntityFormBlock as cu, useHelpers as na, EntityBaseFormType as Bn, EntityBaseForm as dh, SupportedEntityType as gs, TerraformCodeBlock as fh, YamlCodeBlock as ph, JsonCodeBlock as mh, useTableState as gh, useGatewayFeatureSupported as hh, useFetcher as vh, useDeleteUrlBuilder as yh, FetcherStatus as _h, EntityBaseTable as bh, PermissionsWrapper as jn, TableTags as wh, EntityFilter as Eh, EntityToggleModal as kh, EntityDeleteModal as ef, EntityTypes as tf, ConfigurationSchemaSection as gi, useSchemaProvider as Ch, EntityBaseConfigCard as Sh, InternalLinkItem as io } from "@kong-ui-public/entities-shared";
6
6
  import { marked as _r } from "marked";
7
7
  import { useRouter as ia, useRoute as xh } from "vue-router";
@@ -4934,7 +4934,7 @@ const B1 = (e, t) => {
4934
4934
  });
4935
4935
  return (s, l) => {
4936
4936
  const u = Ee("KAlert");
4937
- return w(), U(u, { class: "plugin-field-rule-alerts" }, {
4937
+ return w(), H(u, { class: "plugin-field-rule-alerts" }, {
4938
4938
  default: M(() => [
4939
4939
  G("ul", null, [
4940
4940
  (w(!0), ne(Ke, null, ze(a.value, (c, d) => (w(), ne("li", {
@@ -5298,7 +5298,7 @@ const oi = /* @__PURE__ */ he({
5298
5298
  }, l = () => {
5299
5299
  a.updateOnChange && i("update:modelValue", r.value);
5300
5300
  };
5301
- return (u, c) => (w(), U(p(o), Ue(u.$attrs, {
5301
+ return (u, c) => (w(), H(p(o), Ue(u.$attrs, {
5302
5302
  "model-value": u.modelValue,
5303
5303
  resizable: u.multiline ? !0 : void 0,
5304
5304
  onChange: l,
@@ -5348,7 +5348,7 @@ const oi = /* @__PURE__ */ he({
5348
5348
  return (y, b) => {
5349
5349
  var x;
5350
5350
  const _ = Ee("KAlert");
5351
- return s.error ? (w(), U(_, {
5351
+ return s.error ? (w(), H(_, {
5352
5352
  key: 0,
5353
5353
  appearance: "danger",
5354
5354
  message: s.error.message
@@ -5381,13 +5381,13 @@ const oi = /* @__PURE__ */ he({
5381
5381
  key: "0"
5382
5382
  } : void 0
5383
5383
  ]), 1040, ["data-1p-ignore", "data-autofocus", "data-testid", "error", "error-message", "help", "model-value", "multiline"]),
5384
- p(f) && m.value ? (w(), U(mt(p(f)), {
5384
+ p(f) && m.value ? (w(), H(mt(p(f)), {
5385
5385
  key: 0,
5386
5386
  schema: h.value,
5387
5387
  update: c,
5388
5388
  value: p(a) ?? ""
5389
5389
  }, null, 8, ["schema", "value"])) : we("", !0),
5390
- m.value && !p(f) ? (w(), U(_, {
5390
+ m.value && !p(f) ? (w(), H(_, {
5391
5391
  key: 1,
5392
5392
  appearance: "warning",
5393
5393
  "data-testid": `ff-vault-secret-picker-warning-${s.path.value}`,
@@ -5411,11 +5411,11 @@ const oi = /* @__PURE__ */ he({
5411
5411
  return (l, u) => {
5412
5412
  var d;
5413
5413
  const c = Ee("KAlert");
5414
- return o.error ? (w(), U(c, {
5414
+ return o.error ? (w(), H(c, {
5415
5415
  key: 0,
5416
5416
  appearance: "danger",
5417
5417
  message: o.error.message
5418
- }, null, 8, ["message"])) : (w(), U(p(Uh), Ue({ key: 1 }, p(s), {
5418
+ }, null, 8, ["message"])) : (w(), H(p(Uh), Ue({ key: 1 }, p(s), {
5419
5419
  class: "ff-boolean-field",
5420
5420
  "data-testid": `ff-${o.path.value}`,
5421
5421
  "model-value": p(i) ?? !1,
@@ -5491,7 +5491,7 @@ const oi = /* @__PURE__ */ he({
5491
5491
  function d(f) {
5492
5492
  r(f);
5493
5493
  }
5494
- return (f, m) => (w(), U(rh, {
5494
+ return (f, m) => (w(), H(rh, {
5495
5495
  "enter-active-class": "ff-slide-active",
5496
5496
  "leave-active-class": "ff-slide-active",
5497
5497
  onAfterEnter: l,
@@ -5559,8 +5559,8 @@ const oi = /* @__PURE__ */ he({
5559
5559
  var _;
5560
5560
  const b = Ee("KAlert");
5561
5561
  return w(), ne(Ke, null, [
5562
- (w(), U(mt(g.$slots[p(Mi)]))),
5563
- i.error ? (w(), U(b, {
5562
+ (w(), H(mt(g.$slots[p(Mi)]))),
5563
+ i.error ? (w(), H(b, {
5564
5564
  key: 0,
5565
5565
  appearance: "danger",
5566
5566
  message: i.error.message
@@ -5571,7 +5571,7 @@ const oi = /* @__PURE__ */ he({
5571
5571
  "data-testid": `ff-object-${i.path.value}`
5572
5572
  }), [
5573
5573
  Fe(g.$slots, "default", {}, () => [
5574
- (w(!0), ne(Ke, null, ze(h.value, (x) => (w(), U(St, {
5574
+ (w(!0), ne(Ke, null, ze(h.value, (x) => (w(), H(St, {
5575
5575
  key: Object.keys(x)[0],
5576
5576
  name: Object.keys(x)[0]
5577
5577
  }, null, 8, ["name"]))), 128))
@@ -5612,7 +5612,7 @@ const oi = /* @__PURE__ */ he({
5612
5612
  } : void 0
5613
5613
  ]), 1040, ["data-testid", "tooltip-attributes"]),
5614
5614
  G("div", hE, [
5615
- g.collapsible && f.value ? (w(), U(p(an), {
5615
+ g.collapsible && f.value ? (w(), H(p(an), {
5616
5616
  key: 0,
5617
5617
  appearance: "tertiary",
5618
5618
  class: Ve(`ff-object-field-button-${l.value ? "collapse" : "expand"}`),
@@ -5621,14 +5621,14 @@ const oi = /* @__PURE__ */ he({
5621
5621
  onClick: y[0] || (y[0] = (x) => s.value = !l.value)
5622
5622
  }, {
5623
5623
  default: M(() => [
5624
- f.value ? (w(), U(p(vs), {
5624
+ f.value ? (w(), H(p(vs), {
5625
5625
  key: 0,
5626
5626
  class: "ff-object-field-button-icon"
5627
5627
  })) : we("", !0)
5628
5628
  ]),
5629
5629
  _: 1
5630
5630
  }, 8, ["class", "data-testid"])) : we("", !0),
5631
- p(d).required ? we("", !0) : (w(), U(p(an), {
5631
+ p(d).required ? we("", !0) : (w(), H(p(an), {
5632
5632
  key: 1,
5633
5633
  appearance: "tertiary",
5634
5634
  class: Ve(`ff-object-field-button-${f.value ? "remove" : "add"}`),
@@ -5637,7 +5637,7 @@ const oi = /* @__PURE__ */ he({
5637
5637
  onClick: v
5638
5638
  }, {
5639
5639
  default: M(() => [
5640
- f.value ? (w(), U(p(Tr), { key: 0 })) : (w(), U(p(dn), { key: 1 }))
5640
+ f.value ? (w(), H(p(Tr), { key: 0 })) : (w(), H(p(dn), { key: 1 }))
5641
5641
  ]),
5642
5642
  _: 1
5643
5643
  }, 8, ["class", "data-testid"]))
@@ -5651,7 +5651,7 @@ const oi = /* @__PURE__ */ he({
5651
5651
  "data-testid": `ff-object-content-${i.path.value}`
5652
5652
  }, [
5653
5653
  Fe(g.$slots, "default", {}, () => [
5654
- (w(!0), ne(Ke, null, ze(h.value, (x) => (w(), U(St, {
5654
+ (w(!0), ne(Ke, null, ze(h.value, (x) => (w(), H(St, {
5655
5655
  key: Object.keys(x)[0],
5656
5656
  name: Object.keys(x)[0]
5657
5657
  }, null, 8, ["name"]))), 128))
@@ -5701,11 +5701,11 @@ const oi = /* @__PURE__ */ he({
5701
5701
  return (f, m) => {
5702
5702
  var v;
5703
5703
  const h = Ee("KAlert");
5704
- return o.error ? (w(), U(h, {
5704
+ return o.error ? (w(), H(h, {
5705
5705
  key: 0,
5706
5706
  appearance: "danger",
5707
5707
  message: o.error.message
5708
- }, null, 8, ["message"])) : (w(), U(oi, Ue({
5708
+ }, null, 8, ["message"])) : (w(), H(oi, Ue({
5709
5709
  key: 1,
5710
5710
  class: "ff-number-field"
5711
5711
  }, {
@@ -5771,11 +5771,11 @@ const oi = /* @__PURE__ */ he({
5771
5771
  return (u, c) => {
5772
5772
  var f;
5773
5773
  const d = Ee("KAlert");
5774
- return o.error ? (w(), U(d, {
5774
+ return o.error ? (w(), H(d, {
5775
5775
  key: 0,
5776
5776
  appearance: "danger",
5777
5777
  message: o.error.message
5778
- }, null, 8, ["message"])) : (w(), U(p(l), Ue({ key: 1 }, { ...t, ...p(r) }, {
5778
+ }, null, 8, ["message"])) : (w(), H(p(l), Ue({ key: 1 }, { ...t, ...p(r) }, {
5779
5779
  modelValue: p(i),
5780
5780
  "onUpdate:modelValue": c[0] || (c[0] = (m) => qo(i) ? i.value = m : null),
5781
5781
  class: "ff-enum-field",
@@ -5951,7 +5951,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
5951
5951
  }), (S, k) => {
5952
5952
  var Y;
5953
5953
  const A = Ee("KAlert"), N = Ee("KLabel"), L = Ee("KButton");
5954
- return p(f).error ? (w(), U(A, {
5954
+ return p(f).error ? (w(), H(A, {
5955
5955
  key: 0,
5956
5956
  appearance: "danger",
5957
5957
  message: p(f).error.message
@@ -6025,13 +6025,13 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6025
6025
  onKeydown: uu(Kt((Q) => g(O), ["prevent"]), ["enter"])
6026
6026
  }, {
6027
6027
  after: M(() => [
6028
- p(y) && b.value ? (w(), U(mt(p(y)), {
6028
+ p(y) && b.value ? (w(), H(mt(p(y)), {
6029
6029
  key: 0,
6030
6030
  schema: _.value,
6031
6031
  update: (Q) => x(O, Q),
6032
6032
  value: W.value
6033
6033
  }, null, 8, ["schema", "update", "value"])) : we("", !0),
6034
- b.value && !p(y) ? (w(), U(A, {
6034
+ b.value && !p(y) ? (w(), H(A, {
6035
6035
  key: 1,
6036
6036
  appearance: "warning",
6037
6037
  "data-testid": `ff-vault-secret-picker-warning-${p(f).path.value}`,
@@ -6087,7 +6087,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6087
6087
  }, { immediate: !0 }), (v, g) => {
6088
6088
  var b;
6089
6089
  const y = Ee("KAlert");
6090
- return a.error ? (w(), U(y, {
6090
+ return a.error ? (w(), H(y, {
6091
6091
  key: 0,
6092
6092
  appearance: "danger",
6093
6093
  message: a.error.message
@@ -6153,7 +6153,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6153
6153
  }, { immediate: !0 }), (f, m) => {
6154
6154
  var v;
6155
6155
  const h = Ee("KAlert");
6156
- return a.error ? (w(), U(h, {
6156
+ return a.error ? (w(), H(h, {
6157
6157
  key: 0,
6158
6158
  appearance: "danger",
6159
6159
  message: a.error.message
@@ -6217,7 +6217,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6217
6217
  const m = Go(s.ancestors), h = F(() => n["data-1p-ignore"] !== void 0 ? n["data-1p-ignore"] : Ho(e.name) === "name");
6218
6218
  return (v, g) => {
6219
6219
  var y;
6220
- return w(), U(oi, Ue(p(l), {
6220
+ return w(), H(oi, Ue(p(l), {
6221
6221
  class: "ff-foreign-field",
6222
6222
  "data-1p-ignore": h.value,
6223
6223
  "data-autofocus": p(m),
@@ -6280,20 +6280,20 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6280
6280
  return (o, r) => {
6281
6281
  const a = Ee("KAlert");
6282
6282
  return w(), ne(Ke, null, [
6283
- (w(), U(mt(o.$slots[p(Mi)]))),
6284
- p(n).error ? (w(), U(a, {
6283
+ (w(), H(mt(o.$slots[p(Mi)]))),
6284
+ p(n).error ? (w(), H(a, {
6285
6285
  key: 0,
6286
6286
  appearance: "danger",
6287
6287
  message: p(n).error.message
6288
- }, null, 8, ["message"])) : p(n).renderer.value ? (w(), U(mt(p(n).renderer.value), {
6288
+ }, null, 8, ["message"])) : p(n).renderer.value ? (w(), H(mt(p(n).renderer.value), {
6289
6289
  key: 1,
6290
6290
  name: Ts(p(n).path.value),
6291
6291
  onGlobalAction: r[0] || (r[0] = (s, l) => o.$emit("globalAction", s, l))
6292
6292
  }, null, 40, ["name"])) : (w(), ne(Ke, { key: 2 }, [
6293
- i.value ? (w(), U(mt(i.value), {
6293
+ i.value ? (w(), H(mt(i.value), {
6294
6294
  key: 0,
6295
6295
  name: Ts(p(n).path.value)
6296
- }, null, 8, ["name"])) : (w(), U(a, {
6296
+ }, null, 8, ["name"])) : (w(), H(a, {
6297
6297
  key: 1,
6298
6298
  appearance: "warning",
6299
6299
  message: `${p(n).path.value} ${p(n).schema.value.type} (no renderer yet)`
@@ -6354,7 +6354,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6354
6354
  return (A, N) => {
6355
6355
  var Q;
6356
6356
  const L = Ee("KAlert"), Y = Ee("KLabel"), W = Ee("KButton"), O = Ee("KTabs");
6357
- return l.error ? (w(), U(L, {
6357
+ return l.error ? (w(), H(L, {
6358
6358
  key: 0,
6359
6359
  appearance: "danger",
6360
6360
  message: l.error.message
@@ -6412,7 +6412,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6412
6412
  class: "ff-array-field-container",
6413
6413
  "data-testid": `ff-array-basic-container-${l.path.value}`
6414
6414
  }, [
6415
- (w(!0), ne(Ke, null, ze(d.value, ($, V) => (w(), U(p(m), {
6415
+ (w(!0), ne(Ke, null, ze(d.value, ($, V) => (w(), H(p(m), {
6416
6416
  key: p(f)($, V),
6417
6417
  class: "ff-array-field-item",
6418
6418
  "data-index": V,
@@ -6425,11 +6425,11 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6425
6425
  fieldName: String(V),
6426
6426
  index: V
6427
6427
  }, void 0, !0) : we("", !0),
6428
- c.value.type === "array" && c.value.elements.type === "string" ? (w(), U(Ml, {
6428
+ c.value.type === "array" && c.value.elements.type === "string" ? (w(), H(Ml, {
6429
6429
  key: 1,
6430
6430
  help: p(o)("plugins.free-form.tag_helper"),
6431
6431
  name: String(V)
6432
- }, null, 8, ["help", "name"])) : (w(), U(St, {
6432
+ }, null, 8, ["help", "name"])) : (w(), H(St, {
6433
6433
  key: 2,
6434
6434
  name: String(V)
6435
6435
  }, null, 8, ["name"]))
@@ -6450,7 +6450,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6450
6450
  ]),
6451
6451
  _: 2
6452
6452
  }, 1032, ["data-index", "data-testid"]))), 128))
6453
- ], 8, VE)) : (w(), U(p(hu), {
6453
+ ], 8, VE)) : (w(), H(p(hu), {
6454
6454
  key: 1,
6455
6455
  "data-testid": `ff-array-tab-container-${l.path.value}`
6456
6456
  }, {
@@ -6473,7 +6473,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6473
6473
  key: 0,
6474
6474
  fieldName: String(V),
6475
6475
  index: V
6476
- }, void 0, !0) : (w(), U(St, {
6476
+ }, void 0, !0) : (w(), H(St, {
6477
6477
  key: 1,
6478
6478
  name: String(V)
6479
6479
  }, null, 8, ["name"]))
@@ -6525,7 +6525,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6525
6525
  r.value.depends_on = r.value.depends_on.filter(
6526
6526
  (a) => o.value.some((s) => s.value === a)
6527
6527
  );
6528
- }), (a, s) => (w(), U(Nt, { name: a.fieldName }, {
6528
+ }), (a, s) => (w(), H(Nt, { name: a.fieldName }, {
6529
6529
  depends_on: M((l) => [
6530
6530
  P(sn, Ue(l, {
6531
6531
  items: o.value,
@@ -6564,7 +6564,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6564
6564
  const i = t.config.callouts[t.config.callouts.length - 1];
6565
6565
  i && (i[bo] = sp());
6566
6566
  }
6567
- return (i, o) => (w(), U(fa, {
6567
+ return (i, o) => (w(), H(fa, {
6568
6568
  appearance: "tabs",
6569
6569
  "item-label": (r) => r.name || "New callout",
6570
6570
  name: "callouts",
@@ -6638,11 +6638,11 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6638
6638
  f(m);
6639
6639
  }, { deep: !0 }), t({
6640
6640
  getInnerData: () => Ir(u)
6641
- }), (m, h) => (w(), U(mt(m.tag), null, {
6641
+ }), (m, h) => (w(), H(mt(m.tag), null, {
6642
6642
  default: M(() => [
6643
- (w(), U(mt(p(o)[p(Mi)]))),
6643
+ (w(), H(mt(p(o)[p(Mi)]))),
6644
6644
  Fe(m.$slots, "default", {}, () => [
6645
- (w(!0), ne(Ke, null, ze(s.value, (v) => (w(), U(St, {
6645
+ (w(!0), ne(Ke, null, ze(s.value, (v) => (w(), H(St, {
6646
6646
  key: Object.keys(v)[0],
6647
6647
  name: Object.keys(v)[0],
6648
6648
  onGlobalAction: h[0] || (h[0] = (g, y) => i("globalAction", g, y))
@@ -6656,7 +6656,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6656
6656
  __name: "AdvancedFields",
6657
6657
  setup(e) {
6658
6658
  const { t } = vt("en-us", yt), { getSchema: n } = rt(), i = re(!0);
6659
- return (o, r) => (w(), U(p(uf), {
6659
+ return (o, r) => (w(), H(p(uf), {
6660
6660
  modelValue: i.value,
6661
6661
  "onUpdate:modelValue": r[0] || (r[0] = (a) => i.value = a),
6662
6662
  "data-testid": "view-advanced",
@@ -6664,15 +6664,15 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6664
6664
  }, {
6665
6665
  default: M(() => [
6666
6666
  G("div", YE, [
6667
- p(n)("instance_name") ? (w(), U(St, {
6667
+ p(n)("instance_name") ? (w(), H(St, {
6668
6668
  key: 0,
6669
6669
  name: "instance_name"
6670
6670
  })) : we("", !0),
6671
- p(n)("protocols") ? (w(), U(St, {
6671
+ p(n)("protocols") ? (w(), H(St, {
6672
6672
  key: 1,
6673
6673
  name: "protocols"
6674
6674
  })) : we("", !0),
6675
- p(n)("tags") ? (w(), U(Ml, {
6675
+ p(n)("tags") ? (w(), H(Ml, {
6676
6676
  key: 2,
6677
6677
  help: "e.g. tag1, tag2, tag3",
6678
6678
  name: "tags",
@@ -6732,7 +6732,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6732
6732
  };
6733
6733
  }), n("change", c);
6734
6734
  }
6735
- return (u, c) => (w(), U(Vt, {
6735
+ return (u, c) => (w(), H(Vt, {
6736
6736
  class: "rc-config-form",
6737
6737
  config: i,
6738
6738
  data: u.data,
@@ -6919,7 +6919,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6919
6919
  },
6920
6920
  setup(e) {
6921
6921
  const t = e, n = Gt();
6922
- return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), U(Fl, cn(En(t)), {
6922
+ return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), H(Fl, cn(En(t)), {
6923
6923
  default: M((r) => [
6924
6924
  P(ZE, cn(En(r)), null, 16)
6925
6925
  ]),
@@ -6943,7 +6943,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6943
6943
  return (u, c) => {
6944
6944
  var m;
6945
6945
  const d = Ee("KAlert"), f = Ee("KLabel");
6946
- return p(r).error ? (w(), U(d, {
6946
+ return p(r).error ? (w(), H(d, {
6947
6947
  key: 0,
6948
6948
  appearance: "danger",
6949
6949
  message: p(r).error.message
@@ -6965,7 +6965,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
6965
6965
  } : void 0
6966
6966
  ]), 1040),
6967
6967
  G("div", ok, [
6968
- (w(!0), ne(Ke, null, ze(s.value, (h) => (w(), U(p(ys), {
6968
+ (w(!0), ne(Ke, null, ze(s.value, (h) => (w(), H(p(ys), {
6969
6969
  key: h.value,
6970
6970
  "model-value": p(r).value.value,
6971
6971
  "onUpdate:modelValue": [
@@ -7069,7 +7069,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7069
7069
  };
7070
7070
  return (y, b) => {
7071
7071
  const _ = Ee("KLabel"), x = Ee("KButton"), S = Ee("KBadge"), k = Ee("KTooltip"), A = Ee("KCard");
7072
- return w(), U(A, { class: "sp-form-request-limits" }, {
7072
+ return w(), H(A, { class: "sp-form-request-limits" }, {
7073
7073
  title: M(() => [
7074
7074
  P(_, {
7075
7075
  class: "sp-form-request-limits-title",
@@ -7148,7 +7148,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7148
7148
  h.value.length > 0 ? (w(), ne("div", mk, [
7149
7149
  G("div", null, ge(p(t)("sp.start_with_a_use_case")), 1),
7150
7150
  G("div", gk, [
7151
- (w(!0), ne(Ke, null, ze(h.value, (N, L) => (w(), U(k, {
7151
+ (w(!0), ne(Ke, null, ze(h.value, (N, L) => (w(), H(k, {
7152
7152
  key: `use-case-${L}`,
7153
7153
  "max-width": "300"
7154
7154
  }, {
@@ -7345,7 +7345,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7345
7345
  }
7346
7346
  ), (m, h) => {
7347
7347
  const v = Ee("KModal");
7348
- return w(), U(v, {
7348
+ return w(), H(v, {
7349
7349
  class: "plugin-redis-partial-form",
7350
7350
  "data-testid": "redis-partial-form-modal",
7351
7351
  "full-screen": "",
@@ -7482,7 +7482,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7482
7482
  } else b != null && b.value && (v.value = b.value);
7483
7483
  }), (Z, J) => {
7484
7484
  const q = Ee("KBadge"), z = Ee("KRadio"), ie = Ee("KSelect"), ae = Ee("KCard");
7485
- return u.value ? (w(), U(ae, {
7485
+ return u.value ? (w(), H(ae, {
7486
7486
  key: 0,
7487
7487
  class: "redis-config-card",
7488
7488
  "data-testid": "redis-config-card",
@@ -7572,12 +7572,12 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7572
7572
  _: 1
7573
7573
  }, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
7574
7574
  ]),
7575
- d.value ? (w(), U($k, {
7575
+ d.value ? (w(), H($k, {
7576
7576
  key: 0,
7577
7577
  "config-fields": d.value
7578
7578
  }, null, 8, ["config-fields"])) : we("", !0),
7579
7579
  L.value ? (w(), ne("p", Xk, ge(L.value || p(i)("redis.shared_configuration.error")), 1)) : we("", !0)
7580
- ])) : (w(), U(Nt, Ue({ key: 1 }, o, {
7580
+ ])) : (w(), H(Nt, Ue({ key: 1 }, o, {
7581
7581
  "as-child": "",
7582
7582
  "fields-order": p(lc),
7583
7583
  name: s.value,
@@ -7592,7 +7592,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7592
7592
  }, null, 8, ["partial-type", "visible"])
7593
7593
  ]),
7594
7594
  _: 1
7595
- }, 8, ["title"])) : (w(), U(Nt, Ue({ key: 1 }, o, {
7595
+ }, 8, ["title"])) : (w(), H(Nt, Ue({ key: 1 }, o, {
7596
7596
  "fields-order": p(lc),
7597
7597
  "hide-required-asterisk": "",
7598
7598
  name: s.value
@@ -7606,11 +7606,11 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7606
7606
  const { formData: t } = rt();
7607
7607
  return Wd(() => {
7608
7608
  t.config && t.config.strategy !== "redis" && (t.partials = void 0);
7609
- }), (n, i) => (w(), U(lp, null, {
7609
+ }), (n, i) => (w(), H(lp, null, {
7610
7610
  default: M(() => {
7611
7611
  var o;
7612
7612
  return [
7613
- ((o = p(t).config) == null ? void 0 : o.strategy) === "redis" ? (w(), U(Qk, {
7613
+ ((o = p(t).config) == null ? void 0 : o.strategy) === "redis" ? (w(), H(Qk, {
7614
7614
  key: 0,
7615
7615
  onGlobalAction: i[0] || (i[0] = (...r) => n.$emit("globalAction", ...r))
7616
7616
  })) : we("", !0)
@@ -7634,7 +7634,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7634
7634
  var a;
7635
7635
  ((a = r.config) == null ? void 0 : a.namespace) === null && delete r.config.namespace, n("change", r);
7636
7636
  }
7637
- return (r, a) => (w(), U(Vt, {
7637
+ return (r, a) => (w(), H(Vt, {
7638
7638
  config: i,
7639
7639
  data: r.data,
7640
7640
  schema: r.schema,
@@ -7688,7 +7688,7 @@ const kE = ["data-testid"], CE = ["data-testid"], SE = ["innerHTML"], xE = ["dat
7688
7688
  emits: ["globalAction"],
7689
7689
  setup(e) {
7690
7690
  const t = e, n = Gt();
7691
- return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), U(Fl, cn(En(t)), {
7691
+ return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), H(Fl, cn(En(t)), {
7692
7692
  default: M((r) => [
7693
7693
  P(tC, Ue(r, {
7694
7694
  onGlobalAction: o[0] || (o[0] = (...a) => i.$emit("globalAction", ...a))
@@ -9602,11 +9602,11 @@ function Lx(e, t) {
9602
9602
  c = void 0, n(), d("commit");
9603
9603
  return;
9604
9604
  }
9605
- if (c !== y) {
9605
+ if (y !== "*" && c !== y) {
9606
9606
  c = y, n(), d("commit");
9607
9607
  return;
9608
9608
  }
9609
- n(), u.value.length > 1 && u.value.splice(1, 1), d("commit");
9609
+ n(), u.value.length > 1 ? u.value.splice(1, 1) : u.value.length === 1 && u.value.splice(0, 1), d("commit");
9610
9610
  }
9611
9611
  function m() {
9612
9612
  i(), c = void 0, d("undo");
@@ -9919,8 +9919,8 @@ const [Yx, Wx] = cf(
9919
9919
  return [];
9920
9920
  const E = [];
9921
9921
  return g.value.get(R).forEach((C) => {
9922
- const T = L(C);
9923
- T && E.push(T);
9922
+ const I = L(C);
9923
+ I && E.push(I);
9924
9924
  }), E;
9925
9925
  }
9926
9926
  function W(R) {
@@ -9955,96 +9955,96 @@ const [Yx, Wx] = cf(
9955
9955
  }
9956
9956
  function le(R, E = !0) {
9957
9957
  o.value.edges = o.value.edges.filter(
9958
- (T) => T.source !== R && T.target !== R
9958
+ (I) => I.source !== R && I.target !== R
9959
9959
  ), o.value.nodes = o.value.nodes.filter(
9960
- (T) => T.id !== R
9960
+ (I) => I.id !== R
9961
9961
  ), r.value === R && (r.value = void 0);
9962
9962
  const C = x();
9963
9963
  C.ok || console.warn("[removeNode] topology invalid:", C.errors.join("; ")), E && l.commit();
9964
9964
  }
9965
- function Z(R, E, C = !0, T) {
9966
- const I = A(R);
9967
- if (I) {
9968
- if (ql(I.name)) {
9965
+ function Z(R, E, C = !0, I) {
9966
+ const T = A(R);
9967
+ if (T) {
9968
+ if (ql(T.name)) {
9969
9969
  console.warn("[renameNode] implicit node name is reserved.");
9970
9970
  return;
9971
9971
  }
9972
- I.name = E, C && l.commit(T);
9972
+ T.name = E, C && l.commit(I);
9973
9973
  }
9974
9974
  }
9975
9975
  function J(R, E, C = !0) {
9976
- const T = A(R);
9977
- T && (T.position = { ...E }, C && l.commit());
9978
- }
9979
- function q(R, E, C, T = !0) {
9980
9976
  const I = A(R);
9981
- I && (I.expanded[E] = C ?? !I.expanded[E], T && l.commit(`toggle:${R}:${E}`));
9977
+ I && (I.position = { ...E }, C && l.commit());
9982
9978
  }
9983
- function z(R, E, C = !0, T) {
9984
- const I = A(R);
9985
- I && (I.config = Si(E), C && l.commit(T));
9979
+ function q(R, E, C, I = !0, T) {
9980
+ const U = A(R);
9981
+ U && (U.expanded[E] = C ?? !U.expanded[E], I && l.commit(T ?? `toggle:${R}:${E}`));
9986
9982
  }
9987
- function ie(R, E, C, T = !0) {
9988
- const I = A(R);
9989
- if (!I) return;
9990
- const H = I.fields[E];
9991
- if (H.some((K) => K.name === C)) {
9983
+ function z(R, E, C = !0, I) {
9984
+ const T = A(R);
9985
+ T && (T.config = Si(E), C && l.commit(I));
9986
+ }
9987
+ function ie(R, E, C, I = !0) {
9988
+ const T = A(R);
9989
+ if (!T) return;
9990
+ const U = T.fields[E];
9991
+ if (U.some((K) => K.name === C)) {
9992
9992
  console.warn(`[addField] field "${C}" already exists on ${E}.`);
9993
9993
  return;
9994
9994
  }
9995
- H.push({ id: Fo("field"), name: C }), E === "input" ? I.fields.input = H : I.fields.output = H, T && l.commit();
9995
+ U.push({ id: Fo("field"), name: C }), E === "input" ? T.fields.input = U : T.fields.output = U, I && l.commit();
9996
9996
  }
9997
- function ae(R, E, C, T = !0) {
9998
- const I = A(R);
9999
- if (!I) return;
10000
- const H = I.fields.input, K = I.fields.output, oe = H.find((D) => D.id === E) ?? K.find((D) => D.id === E);
10001
- oe && (oe.name = C, T && l.commit());
9997
+ function ae(R, E, C, I = !0) {
9998
+ const T = A(R);
9999
+ if (!T) return;
10000
+ const U = T.fields.input, K = T.fields.output, oe = U.find((D) => D.id === E) ?? K.find((D) => D.id === E);
10001
+ oe && (oe.name = C, I && l.commit());
10002
10002
  }
10003
- function ee(R, E, C = !0, T = !0) {
10004
- const I = A(R);
10005
- if (!I) return;
10006
- const H = I.fields.input, K = I.fields.output, oe = H.findIndex((j) => j.id === E);
10007
- oe >= 0 && H.splice(oe, 1);
10003
+ function ee(R, E, C = !0, I = !0) {
10004
+ const T = A(R);
10005
+ if (!T) return;
10006
+ const U = T.fields.input, K = T.fields.output, oe = U.findIndex((j) => j.id === E);
10007
+ oe >= 0 && U.splice(oe, 1);
10008
10008
  const D = K.findIndex(
10009
10009
  (j) => j.id === E
10010
10010
  );
10011
- D >= 0 && K.splice(D, 1), I.fields.input = H, I.fields.output = K, C && (o.value.edges = o.value.edges.filter(
10011
+ D >= 0 && K.splice(D, 1), T.fields.input = U, T.fields.output = K, C && (o.value.edges = o.value.edges.filter(
10012
10012
  (j) => j.sourceField !== E && j.targetField !== E
10013
10013
  ));
10014
10014
  const te = x();
10015
- te.ok || console.warn("[removeField] topology invalid:", te.errors.join("; ")), T && l.commit();
10015
+ te.ok || console.warn("[removeField] topology invalid:", te.errors.join("; ")), I && l.commit();
10016
10016
  }
10017
10017
  function fe(R, E = !0) {
10018
- const C = b(R), T = _(C);
10019
- if (!T.ok) {
10018
+ const C = b(R), I = _(C);
10019
+ if (!I.ok) {
10020
10020
  console.warn(
10021
10021
  "[connectEdge] invalid connection:",
10022
- T.errors.join("; ")
10022
+ I.errors.join("; ")
10023
10023
  );
10024
10024
  return;
10025
10025
  }
10026
- const I = { id: Fo("edge"), ...C };
10027
- o.value.edges.push(I);
10028
- const H = x();
10029
- if (!H.ok) {
10030
- o.value.edges.pop(), console.warn("[connectEdge] topology invalid:", H.errors.join("; "));
10026
+ const T = { id: Fo("edge"), ...C };
10027
+ o.value.edges.push(T);
10028
+ const U = x();
10029
+ if (!U.ok) {
10030
+ o.value.edges.pop(), console.warn("[connectEdge] topology invalid:", U.errors.join("; "));
10031
10031
  return;
10032
10032
  }
10033
- return E && l.commit(), I.id;
10033
+ return E && l.commit(), T.id;
10034
10034
  }
10035
10035
  function me(R, E, C = !0) {
10036
10036
  Se(R, !1), fe(E, !1), C && l.commit();
10037
10037
  }
10038
10038
  function Se(R, E = !0) {
10039
- const C = o.value.edges.findIndex((H) => H.id === R);
10039
+ const C = o.value.edges.findIndex((U) => U.id === R);
10040
10040
  if (C < 0) return;
10041
- const T = o.value.edges[C];
10041
+ const I = o.value.edges[C];
10042
10042
  o.value.edges.splice(C, 1);
10043
- const I = x();
10044
- if (!I.ok) {
10045
- o.value.edges.splice(C, 0, T), console.warn(
10043
+ const T = x();
10044
+ if (!T.ok) {
10045
+ o.value.edges.splice(C, 0, I), console.warn(
10046
10046
  "[disconnectEdge] topology invalid:",
10047
- I.errors.join("; ")
10047
+ T.errors.join("; ")
10048
10048
  );
10049
10049
  return;
10050
10050
  }
@@ -10052,18 +10052,18 @@ const [Yx, Wx] = cf(
10052
10052
  }
10053
10053
  function xe(R, E = !0) {
10054
10054
  const C = W(R);
10055
- for (const T of C)
10056
- Se(T.id, !1);
10055
+ for (const I of C)
10056
+ Se(I.id, !1);
10057
10057
  E && l.commit();
10058
10058
  }
10059
10059
  function ue(R, E = !0) {
10060
10060
  const C = O(R);
10061
- for (const T of C)
10062
- Se(T.id, !1);
10061
+ for (const I of C)
10062
+ Se(I.id, !1);
10063
10063
  E && l.commit();
10064
10064
  }
10065
10065
  function de() {
10066
- var E, C, T, I, H;
10066
+ var E, C, I, T, U;
10067
10067
  const R = [];
10068
10068
  for (const K of o.value.nodes) {
10069
10069
  if (yn(K.type))
@@ -10084,9 +10084,9 @@ const [Yx, Wx] = cf(
10084
10084
  if (!ce)
10085
10085
  continue;
10086
10086
  const Ne = ce.type;
10087
- if (!yn(Ne) || !((T = ha[Ne].io) != null && T.input))
10087
+ if (!yn(Ne) || !((I = ha[Ne].io) != null && I.input))
10088
10088
  continue;
10089
- const Be = (I = On(ce, "input", ke.targetField)) == null ? void 0 : I.name, be = Be ? `${ce.name}.${Be}` : ce.name, ye = (H = On(K, "output", ke.sourceField)) == null ? void 0 : H.name;
10089
+ const Be = (T = On(ce, "input", ke.targetField)) == null ? void 0 : T.name, be = Be ? `${ce.name}.${Be}` : ce.name, ye = (U = On(K, "output", ke.sourceField)) == null ? void 0 : U.name;
10090
10090
  ye ? j[ye] = be : te === void 0 && (te = be);
10091
10091
  }
10092
10092
  const Ce = {
@@ -13661,14 +13661,14 @@ function Qm(e) {
13661
13661
  Z = { x: X, y: se };
13662
13662
  let R = !1;
13663
13663
  if (V = V.map((E) => {
13664
- const C = { x: X - E.distance.x, y: se - E.distance.y }, { computedPosition: T } = eu(
13664
+ const C = { x: X - E.distance.x, y: se - E.distance.y }, { computedPosition: I } = eu(
13665
13665
  E,
13666
13666
  n.value ? Sa(C, i.value) : C,
13667
13667
  x.error,
13668
13668
  a.value,
13669
13669
  E.parentNode ? m(E.parentNode) : void 0
13670
13670
  );
13671
- return R = R || E.position.x !== T.x || E.position.y !== T.y, E.position = T, E;
13671
+ return R = R || E.position.x !== I.x || E.position.y !== I.y, E.position = I, E;
13672
13672
  }), !!R && (_(V, !0, !0), $.value = !0, q)) {
13673
13673
  const [E, C] = Qa({
13674
13674
  id: W,
@@ -13703,12 +13703,12 @@ function Qm(e) {
13703
13703
  );
13704
13704
  const E = ee(X.sourceEvent);
13705
13705
  if (Z = E, V = iN(r.value, d.value, E, m, W), V.length) {
13706
- const [C, T] = Qa({
13706
+ const [C, I] = Qa({
13707
13707
  id: W,
13708
13708
  dragItems: V,
13709
13709
  findNode: m
13710
13710
  });
13711
- S({ event: X.sourceEvent, node: C, nodes: T });
13711
+ S({ event: X.sourceEvent, node: C, nodes: I });
13712
13712
  }
13713
13713
  }, xe = (X, se) => {
13714
13714
  var R;
@@ -13723,8 +13723,8 @@ function Qm(e) {
13723
13723
  }, de = (X) => {
13724
13724
  let se = !1;
13725
13725
  if (!z && !$.value && !h.value) {
13726
- const R = X.sourceEvent, E = ee(R), C = E.xSnapped - (Z.x ?? 0), T = E.ySnapped - (Z.y ?? 0), I = Math.sqrt(C * C + T * T);
13727
- I !== 0 && I <= s.value && (N == null || N(R), se = !0);
13726
+ const R = X.sourceEvent, E = ee(R), C = E.xSnapped - (Z.x ?? 0), I = E.ySnapped - (Z.y ?? 0), T = Math.sqrt(C * C + I * I);
13727
+ T !== 0 && T <= s.value && (N == null || N(R), se = !0);
13728
13728
  }
13729
13729
  if (V.length && !se) {
13730
13730
  _(V, !1, !1);
@@ -13740,9 +13740,9 @@ function Qm(e) {
13740
13740
  return Te([() => Oe(Y), L], ([X, se], R, E) => {
13741
13741
  if (se) {
13742
13742
  const C = qt(se);
13743
- X || (B = WI().on("start", (T) => xe(T, se)).on("drag", (T) => ue(T, se)).on("end", (T) => de(T)).filter((T) => {
13744
- const I = T.target, H = Oe(Q);
13745
- return !T.button && (!o.value || !od(I, `.${o.value}`, se) && (!H || od(I, H, se)));
13743
+ X || (B = WI().on("start", (I) => xe(I, se)).on("drag", (I) => ue(I, se)).on("end", (I) => de(I)).filter((I) => {
13744
+ const T = I.target, U = Oe(Q);
13745
+ return !I.button && (!o.value || !od(T, `.${o.value}`, se) && (!U || od(T, U, se)));
13746
13746
  }), C.call(B)), E(() => {
13747
13747
  C.on(".drag", null), B && (B.on("start", null), B.on("drag", null), B.on("end", null));
13748
13748
  });
@@ -13852,8 +13852,8 @@ function eg({
13852
13852
  Bo(E, k.value, !1, [1, 1]),
13853
13853
  c.value,
13854
13854
  Y.value,
13855
- I
13856
- ), C || (T(), C = !0);
13855
+ T
13856
+ ), C || (I(), C = !0);
13857
13857
  const j = sd(
13858
13858
  te,
13859
13859
  {
@@ -13879,7 +13879,7 @@ function eg({
13879
13879
  isValid: O,
13880
13880
  to: j.toHandle && O ? Zs({ x: j.toHandle.x, y: j.toHandle.y }, k.value) : E,
13881
13881
  toHandle: j.toHandle,
13882
- toPosition: O && j.toHandle ? j.toHandle.position : Js[I.position],
13882
+ toPosition: O && j.toHandle ? j.toHandle.position : Js[T.position],
13883
13883
  toNode: j.toHandle ? Y.value.get(j.toHandle.nodeId) : null
13884
13884
  };
13885
13885
  if (!(O && fe && (D != null && D.toHandle) && Ce.toHandle && D.toHandle.type === Ce.toHandle.type && D.toHandle.nodeId === Ce.toHandle.nodeId && D.toHandle.id === Ce.toHandle.id && D.to.x === Ce.to.x && D.to.y === Ce.to.y)) {
@@ -13911,26 +13911,26 @@ function eg({
13911
13911
  if (!se)
13912
13912
  return;
13913
13913
  let R, E = rn(B, X), C = !1;
13914
- const T = () => {
13914
+ const I = () => {
13915
13915
  if (!h.value)
13916
13916
  return;
13917
13917
  const [te, j] = Gm(E, X, v.value);
13918
- y({ x: te, y: j }), me = requestAnimationFrame(T);
13919
- }, I = {
13918
+ y({ x: te, y: j }), me = requestAnimationFrame(I);
13919
+ }, T = {
13920
13920
  ...se,
13921
13921
  nodeId: Oe(t),
13922
13922
  type: de,
13923
13923
  position: se.position
13924
- }, H = Y.value.get(Oe(t)), oe = {
13924
+ }, U = Y.value.get(Oe(t)), oe = {
13925
13925
  inProgress: !0,
13926
13926
  isValid: null,
13927
- from: Vi(H, I, Ie.Left, !0),
13928
- fromHandle: I,
13929
- fromPosition: I.position,
13930
- fromNode: H,
13927
+ from: Vi(U, T, Ie.Left, !0),
13928
+ fromHandle: T,
13929
+ fromPosition: T.position,
13930
+ fromNode: U,
13931
13931
  to: E,
13932
13932
  toHandle: null,
13933
- toPosition: Js[I.position],
13933
+ toPosition: Js[T.position],
13934
13934
  toNode: null
13935
13935
  };
13936
13936
  b(
@@ -14583,30 +14583,30 @@ function RN(e, t, n) {
14583
14583
  const i = NN(e), o = (E) => {
14584
14584
  const C = E ?? [];
14585
14585
  e.hooks.updateNodeInternals.trigger(C);
14586
- }, r = (E) => J$(E, e.nodes, e.edges), a = (E) => Z$(E, e.nodes, e.edges), s = (E) => Um(E, e.edges), l = ({ id: E, type: C, nodeId: T }) => {
14587
- var I;
14588
- return Array.from(((I = e.connectionLookup.get(`${T}-${C}-${E ?? null}`)) == null ? void 0 : I.values()) ?? []);
14586
+ }, r = (E) => J$(E, e.nodes, e.edges), a = (E) => Z$(E, e.nodes, e.edges), s = (E) => Um(E, e.edges), l = ({ id: E, type: C, nodeId: I }) => {
14587
+ var T;
14588
+ return Array.from(((T = e.connectionLookup.get(`${I}-${C}-${E ?? null}`)) == null ? void 0 : T.values()) ?? []);
14589
14589
  }, u = (E) => {
14590
14590
  if (E)
14591
14591
  return t.value.get(E);
14592
14592
  }, c = (E) => {
14593
14593
  if (E)
14594
14594
  return n.value.get(E);
14595
- }, d = (E, C, T) => {
14596
- var I, H;
14595
+ }, d = (E, C, I) => {
14596
+ var T, U;
14597
14597
  const K = [];
14598
14598
  for (const oe of E) {
14599
14599
  const D = {
14600
14600
  id: oe.id,
14601
14601
  type: "position",
14602
- dragging: T,
14602
+ dragging: I,
14603
14603
  from: oe.from
14604
14604
  };
14605
14605
  if (C && (D.position = oe.position, oe.parentNode)) {
14606
14606
  const te = u(oe.parentNode);
14607
14607
  D.position = {
14608
- x: D.position.x - (((I = te == null ? void 0 : te.computedPosition) == null ? void 0 : I.x) ?? 0),
14609
- y: D.position.y - (((H = te == null ? void 0 : te.computedPosition) == null ? void 0 : H.y) ?? 0)
14608
+ x: D.position.x - (((T = te == null ? void 0 : te.computedPosition) == null ? void 0 : T.x) ?? 0),
14609
+ y: D.position.y - (((U = te == null ? void 0 : te.computedPosition) == null ? void 0 : U.y) ?? 0)
14610
14610
  };
14611
14611
  }
14612
14612
  K.push(D);
@@ -14618,14 +14618,14 @@ function RN(e, t, n) {
14618
14618
  const C = e.vueFlowRef.querySelector(".vue-flow__transformationpane");
14619
14619
  if (!C)
14620
14620
  return;
14621
- const T = window.getComputedStyle(C), { m22: I } = new window.DOMMatrixReadOnly(T.transform), H = [];
14621
+ const I = window.getComputedStyle(C), { m22: T } = new window.DOMMatrixReadOnly(I.transform), U = [];
14622
14622
  for (const K of E) {
14623
14623
  const oe = K, D = u(oe.id);
14624
14624
  if (D) {
14625
14625
  const te = Ca(oe.nodeElement);
14626
14626
  if (!!(te.width && te.height && (D.dimensions.width !== te.width || D.dimensions.height !== te.height || oe.forceUpdate))) {
14627
14627
  const Ce = oe.nodeElement.getBoundingClientRect();
14628
- D.dimensions = te, D.handleBounds.source = ld("source", oe.nodeElement, Ce, I, D.id), D.handleBounds.target = ld("target", oe.nodeElement, Ce, I, D.id), H.push({
14628
+ D.dimensions = te, D.handleBounds.source = ld("source", oe.nodeElement, Ce, T, D.id), D.handleBounds.target = ld("target", oe.nodeElement, Ce, T, D.id), U.push({
14629
14629
  id: D.id,
14630
14630
  type: "dimensions",
14631
14631
  dimensions: te
@@ -14635,29 +14635,29 @@ function RN(e, t, n) {
14635
14635
  }
14636
14636
  !e.fitViewOnInitDone && e.fitViewOnInit && i.value.fitView().then(() => {
14637
14637
  e.fitViewOnInitDone = !0;
14638
- }), H.length && e.hooks.nodesChange.trigger(H);
14638
+ }), U.length && e.hooks.nodesChange.trigger(U);
14639
14639
  }, m = (E, C) => {
14640
- const T = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
14640
+ const I = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
14641
14641
  for (const oe of E)
14642
- Qn(oe) ? T.add(oe.id) : Dn(oe) && I.add(oe.id);
14643
- const H = Nn(t.value, T, !0), K = Nn(n.value, I);
14642
+ Qn(oe) ? I.add(oe.id) : Dn(oe) && T.add(oe.id);
14643
+ const U = Nn(t.value, I, !0), K = Nn(n.value, T);
14644
14644
  if (e.multiSelectionActive) {
14645
- for (const oe of T)
14646
- H.push($n(oe, C));
14647
14645
  for (const oe of I)
14646
+ U.push($n(oe, C));
14647
+ for (const oe of T)
14648
14648
  K.push($n(oe, C));
14649
14649
  }
14650
- H.length && e.hooks.nodesChange.trigger(H), K.length && e.hooks.edgesChange.trigger(K);
14650
+ U.length && e.hooks.nodesChange.trigger(U), K.length && e.hooks.edgesChange.trigger(K);
14651
14651
  }, h = (E) => {
14652
14652
  if (e.multiSelectionActive) {
14653
- const C = E.map((T) => $n(T.id, !0));
14653
+ const C = E.map((I) => $n(I.id, !0));
14654
14654
  e.hooks.nodesChange.trigger(C);
14655
14655
  return;
14656
14656
  }
14657
14657
  e.hooks.nodesChange.trigger(Nn(t.value, new Set(E.map((C) => C.id)), !0)), e.hooks.edgesChange.trigger(Nn(n.value));
14658
14658
  }, v = (E) => {
14659
14659
  if (e.multiSelectionActive) {
14660
- const C = E.map((T) => $n(T.id, !0));
14660
+ const C = E.map((I) => $n(I.id, !0));
14661
14661
  e.hooks.edgesChange.trigger(C);
14662
14662
  return;
14663
14663
  }
@@ -14665,18 +14665,18 @@ function RN(e, t, n) {
14665
14665
  }, g = (E) => {
14666
14666
  m(E, !0);
14667
14667
  }, y = (E) => {
14668
- const T = (E || e.nodes).map((I) => (I.selected = !1, $n(I.id, !1)));
14669
- e.hooks.nodesChange.trigger(T);
14668
+ const I = (E || e.nodes).map((T) => (T.selected = !1, $n(T.id, !1)));
14669
+ e.hooks.nodesChange.trigger(I);
14670
14670
  }, b = (E) => {
14671
- const T = (E || e.edges).map((I) => (I.selected = !1, $n(I.id, !1)));
14672
- e.hooks.edgesChange.trigger(T);
14671
+ const I = (E || e.edges).map((T) => (T.selected = !1, $n(T.id, !1)));
14672
+ e.hooks.edgesChange.trigger(I);
14673
14673
  }, _ = (E) => {
14674
14674
  if (!E || !E.length)
14675
14675
  return m([], !1);
14676
14676
  const C = E.reduce(
14677
- (T, I) => {
14678
- const H = $n(I.id, !1);
14679
- return Qn(I) ? T.nodes.push(H) : T.edges.push(H), T;
14677
+ (I, T) => {
14678
+ const U = $n(T.id, !1);
14679
+ return Qn(T) ? I.nodes.push(U) : I.edges.push(U), I;
14680
14680
  },
14681
14681
  { nodes: [], edges: [] }
14682
14682
  );
@@ -14704,7 +14704,7 @@ function RN(e, t, n) {
14704
14704
  const C = E instanceof Function ? E(e.edges) : E;
14705
14705
  if (!e.initialized && !C.length)
14706
14706
  return;
14707
- const T = ns(
14707
+ const I = ns(
14708
14708
  C,
14709
14709
  e.isValidConnection,
14710
14710
  u,
@@ -14714,21 +14714,21 @@ function RN(e, t, n) {
14714
14714
  e.nodes,
14715
14715
  e.edges
14716
14716
  );
14717
- ts(e.connectionLookup, n.value, T), e.edges = T;
14717
+ ts(e.connectionLookup, n.value, I), e.edges = I;
14718
14718
  }, O = (E) => {
14719
14719
  const C = E instanceof Function ? E([...e.nodes, ...e.edges]) : E;
14720
14720
  !e.initialized && !C.length || (Y(C.filter(Qn)), W(C.filter(Dn)));
14721
14721
  }, Q = (E) => {
14722
14722
  let C = E instanceof Function ? E(e.nodes) : E;
14723
14723
  C = Array.isArray(C) ? C : [C];
14724
- const T = ud(C, u, e.hooks.error.trigger), I = [];
14725
- for (const H of T)
14726
- I.push(td(H));
14727
- I.length && e.hooks.nodesChange.trigger(I);
14724
+ const I = ud(C, u, e.hooks.error.trigger), T = [];
14725
+ for (const U of I)
14726
+ T.push(td(U));
14727
+ T.length && e.hooks.nodesChange.trigger(T);
14728
14728
  }, $ = (E) => {
14729
14729
  let C = E instanceof Function ? E(e.edges) : E;
14730
14730
  C = Array.isArray(C) ? C : [C];
14731
- const T = ns(
14731
+ const I = ns(
14732
14732
  C,
14733
14733
  e.isValidConnection,
14734
14734
  u,
@@ -14737,12 +14737,12 @@ function RN(e, t, n) {
14737
14737
  e.defaultEdgeOptions,
14738
14738
  e.nodes,
14739
14739
  e.edges
14740
- ), I = [];
14741
- for (const H of T)
14742
- I.push(td(H));
14743
- I.length && e.hooks.edgesChange.trigger(I);
14744
- }, V = (E, C = !0, T = !1) => {
14745
- const I = E instanceof Function ? E(e.nodes) : E, H = Array.isArray(I) ? I : [I], K = [], oe = [];
14740
+ ), T = [];
14741
+ for (const U of I)
14742
+ T.push(td(U));
14743
+ T.length && e.hooks.edgesChange.trigger(T);
14744
+ }, V = (E, C = !0, I = !1) => {
14745
+ const T = E instanceof Function ? E(e.nodes) : E, U = Array.isArray(T) ? T : [T], K = [], oe = [];
14746
14746
  function D(j) {
14747
14747
  const Ce = s(j);
14748
14748
  for (const ve of Ce)
@@ -14760,18 +14760,18 @@ function RN(e, t, n) {
14760
14760
  te(ve.id);
14761
14761
  }
14762
14762
  }
14763
- for (const j of H) {
14763
+ for (const j of U) {
14764
14764
  const Ce = typeof j == "string" ? u(j) : j;
14765
- Ce && (ct(Ce.deletable) && !Ce.deletable || (K.push(nd(Ce.id)), C && D([Ce]), T && te(Ce.id)));
14765
+ Ce && (ct(Ce.deletable) && !Ce.deletable || (K.push(nd(Ce.id)), C && D([Ce]), I && te(Ce.id)));
14766
14766
  }
14767
14767
  oe.length && e.hooks.edgesChange.trigger(oe), K.length && e.hooks.nodesChange.trigger(K);
14768
14768
  }, B = (E) => {
14769
- const C = E instanceof Function ? E(e.edges) : E, T = Array.isArray(C) ? C : [C], I = [];
14770
- for (const H of T) {
14771
- const K = typeof H == "string" ? c(H) : H;
14772
- K && (ct(K.deletable) && !K.deletable || I.push(
14769
+ const C = E instanceof Function ? E(e.edges) : E, I = Array.isArray(C) ? C : [C], T = [];
14770
+ for (const U of I) {
14771
+ const K = typeof U == "string" ? c(U) : U;
14772
+ K && (ct(K.deletable) && !K.deletable || T.push(
14773
14773
  id(
14774
- typeof H == "string" ? H : H.id,
14774
+ typeof U == "string" ? U : U.id,
14775
14775
  K.source,
14776
14776
  K.target,
14777
14777
  K.sourceHandle,
@@ -14779,12 +14779,12 @@ function RN(e, t, n) {
14779
14779
  )
14780
14780
  ));
14781
14781
  }
14782
- e.hooks.edgesChange.trigger(I);
14783
- }, le = (E, C, T = !0) => {
14784
- const I = c(E.id);
14785
- if (!I)
14782
+ e.hooks.edgesChange.trigger(T);
14783
+ }, le = (E, C, I = !0) => {
14784
+ const T = c(E.id);
14785
+ if (!T)
14786
14786
  return !1;
14787
- const H = e.edges.indexOf(I), K = bN(E, C, I, T, e.hooks.error.trigger);
14787
+ const U = e.edges.indexOf(T), K = bN(E, C, T, I, e.hooks.error.trigger);
14788
14788
  if (K) {
14789
14789
  const [oe] = ns(
14790
14790
  [K],
@@ -14796,68 +14796,68 @@ function RN(e, t, n) {
14796
14796
  e.nodes,
14797
14797
  e.edges
14798
14798
  );
14799
- return e.edges = e.edges.map((D, te) => te === H ? oe : D), ts(e.connectionLookup, n.value, [oe]), oe;
14799
+ return e.edges = e.edges.map((D, te) => te === U ? oe : D), ts(e.connectionLookup, n.value, [oe]), oe;
14800
14800
  }
14801
14801
  return !1;
14802
- }, Z = (E, C, T = { replace: !1 }) => {
14803
- const I = c(E);
14804
- if (!I)
14802
+ }, Z = (E, C, I = { replace: !1 }) => {
14803
+ const T = c(E);
14804
+ if (!T)
14805
14805
  return;
14806
- const H = typeof C == "function" ? C(I) : C;
14807
- I.data = T.replace ? H : { ...I.data, ...H };
14806
+ const U = typeof C == "function" ? C(T) : C;
14807
+ T.data = I.replace ? U : { ...T.data, ...U };
14808
14808
  }, J = (E) => ed(E, e.nodes), q = (E) => {
14809
14809
  const C = ed(E, e.edges);
14810
14810
  return ts(e.connectionLookup, n.value, C), C;
14811
- }, z = (E, C, T = { replace: !1 }) => {
14812
- const I = u(E);
14813
- if (!I)
14811
+ }, z = (E, C, I = { replace: !1 }) => {
14812
+ const T = u(E);
14813
+ if (!T)
14814
14814
  return;
14815
- const H = typeof C == "function" ? C(I) : C;
14816
- T.replace ? e.nodes.splice(e.nodes.indexOf(I), 1, H) : Object.assign(I, H);
14817
- }, ie = (E, C, T = { replace: !1 }) => {
14818
- const I = u(E);
14819
- if (!I)
14815
+ const U = typeof C == "function" ? C(T) : C;
14816
+ I.replace ? e.nodes.splice(e.nodes.indexOf(T), 1, U) : Object.assign(T, U);
14817
+ }, ie = (E, C, I = { replace: !1 }) => {
14818
+ const T = u(E);
14819
+ if (!T)
14820
14820
  return;
14821
- const H = typeof C == "function" ? C(I) : C;
14822
- I.data = T.replace ? H : { ...I.data, ...H };
14823
- }, ae = (E, C, T = !1) => {
14824
- T ? e.connectionClickStartHandle = E : e.connectionStartHandle = E, e.connectionEndHandle = null, e.connectionStatus = null, C && (e.connectionPosition = C);
14825
- }, ee = (E, C = null, T = null) => {
14826
- e.connectionStartHandle && (e.connectionPosition = E, e.connectionEndHandle = C, e.connectionStatus = T);
14821
+ const U = typeof C == "function" ? C(T) : C;
14822
+ T.data = I.replace ? U : { ...T.data, ...U };
14823
+ }, ae = (E, C, I = !1) => {
14824
+ I ? e.connectionClickStartHandle = E : e.connectionStartHandle = E, e.connectionEndHandle = null, e.connectionStatus = null, C && (e.connectionPosition = C);
14825
+ }, ee = (E, C = null, I = null) => {
14826
+ e.connectionStartHandle && (e.connectionPosition = E, e.connectionEndHandle = C, e.connectionStatus = I);
14827
14827
  }, fe = (E, C) => {
14828
14828
  e.connectionPosition = { x: Number.NaN, y: Number.NaN }, e.connectionEndHandle = null, e.connectionStatus = null, C ? e.connectionClickStartHandle = null : e.connectionStartHandle = null;
14829
14829
  }, me = (E) => {
14830
- const C = W$(E), T = C ? null : mo(E) ? E : u(E.id);
14831
- return !C && !T ? [null, null, C] : [C ? E : Yr(T), T, C];
14832
- }, Se = (E, C = !0, T = e.nodes) => {
14833
- const [I, H, K] = me(E);
14834
- if (!I)
14830
+ const C = W$(E), I = C ? null : mo(E) ? E : u(E.id);
14831
+ return !C && !I ? [null, null, C] : [C ? E : Yr(I), I, C];
14832
+ }, Se = (E, C = !0, I = e.nodes) => {
14833
+ const [T, U, K] = me(E);
14834
+ if (!T)
14835
14835
  return [];
14836
14836
  const oe = [];
14837
- for (const D of T || e.nodes) {
14838
- if (!K && (D.id === H.id || !D.computedPosition))
14837
+ for (const D of I || e.nodes) {
14838
+ if (!K && (D.id === U.id || !D.computedPosition))
14839
14839
  continue;
14840
- const te = Yr(D), j = Wr(te, I);
14841
- (C && j > 0 || j >= Number(I.width) * Number(I.height)) && oe.push(D);
14840
+ const te = Yr(D), j = Wr(te, T);
14841
+ (C && j > 0 || j >= Number(T.width) * Number(T.height)) && oe.push(D);
14842
14842
  }
14843
14843
  return oe;
14844
- }, xe = (E, C, T = !0) => {
14845
- const [I] = me(E);
14846
- if (!I)
14844
+ }, xe = (E, C, I = !0) => {
14845
+ const [T] = me(E);
14846
+ if (!T)
14847
14847
  return !1;
14848
- const H = Wr(I, C);
14849
- return T && H > 0 || H >= Number(I.width) * Number(I.height);
14848
+ const U = Wr(T, C);
14849
+ return I && U > 0 || U >= Number(T.width) * Number(T.height);
14850
14850
  }, ue = (E) => {
14851
- const { viewport: C, dimensions: T, d3Zoom: I, d3Selection: H, translateExtent: K } = e;
14852
- if (!I || !H || !E.x && !E.y)
14851
+ const { viewport: C, dimensions: I, d3Zoom: T, d3Selection: U, translateExtent: K } = e;
14852
+ if (!T || !U || !E.x && !E.y)
14853
14853
  return !1;
14854
14854
  const oe = ji.translate(C.x + E.x, C.y + E.y).scale(C.zoom), D = [
14855
14855
  [0, 0],
14856
- [T.width, T.height]
14857
- ], te = I.constrain()(oe, D, K), j = e.viewport.x !== te.x || e.viewport.y !== te.y || e.viewport.zoom !== te.k;
14858
- return I.transform(H, te), j;
14856
+ [I.width, I.height]
14857
+ ], te = T.constrain()(oe, D, K), j = e.viewport.x !== te.x || e.viewport.y !== te.y || e.viewport.zoom !== te.k;
14858
+ return T.transform(U, te), j;
14859
14859
  }, de = (E) => {
14860
- const C = E instanceof Function ? E(e) : E, T = [
14860
+ const C = E instanceof Function ? E(e) : E, I = [
14861
14861
  "d3Zoom",
14862
14862
  "d3Selection",
14863
14863
  "d3ZoomHandler",
@@ -14867,16 +14867,16 @@ function RN(e, t, n) {
14867
14867
  "hooks"
14868
14868
  ];
14869
14869
  ct(C.defaultEdgeOptions) && (e.defaultEdgeOptions = C.defaultEdgeOptions);
14870
- const I = C.modelValue || C.nodes || C.edges ? [] : void 0;
14871
- I && (C.modelValue && I.push(...C.modelValue), C.nodes && I.push(...C.nodes), C.edges && I.push(...C.edges), O(I));
14872
- const H = () => {
14870
+ const T = C.modelValue || C.nodes || C.edges ? [] : void 0;
14871
+ T && (C.modelValue && T.push(...C.modelValue), C.nodes && T.push(...C.nodes), C.edges && T.push(...C.edges), O(T));
14872
+ const U = () => {
14873
14873
  ct(C.maxZoom) && S(C.maxZoom), ct(C.minZoom) && x(C.minZoom), ct(C.translateExtent) && k(C.translateExtent);
14874
14874
  };
14875
14875
  for (const K of Object.keys(C)) {
14876
14876
  const oe = K, D = C[oe];
14877
- ![...FN, ...T].includes(oe) && ct(D) && (e[oe] = D);
14877
+ ![...FN, ...I].includes(oe) && ct(D) && (e[oe] = D);
14878
14878
  }
14879
- js(() => e.d3Zoom).not.toBeNull().then(H), e.initialized || (e.initialized = !0);
14879
+ js(() => e.d3Zoom).not.toBeNull().then(U), e.initialized || (e.initialized = !0);
14880
14880
  };
14881
14881
  return {
14882
14882
  updateNodePositions: d,
@@ -14927,17 +14927,17 @@ function RN(e, t, n) {
14927
14927
  setTransform: (E, C) => i.value.setTransform(E, C),
14928
14928
  getViewport: () => i.value.getViewport(),
14929
14929
  getTransform: () => i.value.getTransform(),
14930
- setCenter: (E, C, T) => i.value.setCenter(E, C, T),
14930
+ setCenter: (E, C, I) => i.value.setCenter(E, C, I),
14931
14931
  fitBounds: (E, C) => i.value.fitBounds(E, C),
14932
14932
  project: (E) => i.value.project(E),
14933
14933
  screenToFlowCoordinate: (E) => i.value.screenToFlowCoordinate(E),
14934
14934
  flowToScreenCoordinate: (E) => i.value.flowToScreenCoordinate(E),
14935
14935
  toObject: () => {
14936
14936
  const E = [], C = [];
14937
- for (const T of e.nodes) {
14937
+ for (const I of e.nodes) {
14938
14938
  const {
14939
- computedPosition: I,
14940
- handleBounds: H,
14939
+ computedPosition: T,
14940
+ handleBounds: U,
14941
14941
  selected: K,
14942
14942
  dimensions: oe,
14943
14943
  isParent: D,
@@ -14945,11 +14945,11 @@ function RN(e, t, n) {
14945
14945
  dragging: j,
14946
14946
  events: Ce,
14947
14947
  ...ve
14948
- } = T;
14948
+ } = I;
14949
14949
  E.push(ve);
14950
14950
  }
14951
- for (const T of e.edges) {
14952
- const { selected: I, sourceNode: H, targetNode: K, events: oe, ...D } = T;
14951
+ for (const I of e.edges) {
14952
+ const { selected: T, sourceNode: U, targetNode: K, events: oe, ...D } = I;
14953
14953
  C.push(D);
14954
14954
  }
14955
14955
  return JSON.parse(
@@ -14963,9 +14963,9 @@ function RN(e, t, n) {
14963
14963
  );
14964
14964
  },
14965
14965
  fromObject: (E) => new Promise((C) => {
14966
- const { nodes: T, edges: I, position: H, zoom: K, viewport: oe } = E;
14967
- if (T && Y(T), I && W(I), oe != null && oe.x && (oe != null && oe.y) || H) {
14968
- const D = (oe == null ? void 0 : oe.x) || H[0], te = (oe == null ? void 0 : oe.y) || H[1], j = (oe == null ? void 0 : oe.zoom) || K || e.viewport.zoom;
14966
+ const { nodes: I, edges: T, position: U, zoom: K, viewport: oe } = E;
14967
+ if (I && Y(I), T && W(T), oe != null && oe.x && (oe != null && oe.y) || U) {
14968
+ const D = (oe == null ? void 0 : oe.x) || U[0], te = (oe == null ? void 0 : oe.y) || U[1], j = (oe == null ? void 0 : oe.zoom) || K || e.viewport.zoom;
14969
14969
  return js(() => i.value.viewportInitialized).toBe(!0).then(() => {
14970
14970
  i.value.setViewport({
14971
14971
  x: D,
@@ -14983,11 +14983,11 @@ function RN(e, t, n) {
14983
14983
  $reset: () => {
14984
14984
  const E = ig();
14985
14985
  if (e.edges = [], e.nodes = [], e.d3Zoom && e.d3Selection) {
14986
- const C = ji.translate(E.defaultViewport.x ?? 0, E.defaultViewport.y ?? 0).scale(si(E.defaultViewport.zoom ?? 1, E.minZoom, E.maxZoom)), T = e.viewportRef.getBoundingClientRect(), I = [
14986
+ const C = ji.translate(E.defaultViewport.x ?? 0, E.defaultViewport.y ?? 0).scale(si(E.defaultViewport.zoom ?? 1, E.minZoom, E.maxZoom)), I = e.viewportRef.getBoundingClientRect(), T = [
14987
14987
  [0, 0],
14988
- [T.width, T.height]
14989
- ], H = e.d3Zoom.constrain()(C, I, E.translateExtent);
14990
- e.d3Zoom.transform(e.d3Selection, H);
14988
+ [I.width, I.height]
14989
+ ], U = e.d3Zoom.constrain()(C, T, E.translateExtent);
14990
+ e.d3Zoom.transform(e.d3Selection, U);
14991
14991
  }
14992
14992
  de(E);
14993
14993
  },
@@ -15201,7 +15201,7 @@ const jN = $a, VN = ["transform"], qN = ["width", "height", "x", "y", "rx", "ry"
15201
15201
  style: r.labelStyle
15202
15202
  }), [
15203
15203
  Fe(r.$slots, "default", {}, () => [
15204
- typeof r.label != "string" ? (w(), U(mt(r.label), { key: 0 })) : (w(), ne(Ke, { key: 1 }, [
15204
+ typeof r.label != "string" ? (w(), H(mt(r.label), { key: 0 })) : (w(), ne(Ke, { key: 1 }, [
15205
15205
  De(ge(r.label), 1)
15206
15206
  ], 64))
15207
15207
  ])
@@ -15255,7 +15255,7 @@ const jN = $a, VN = ["transform"], qN = ["width", "height", "x", "y", "rx", "ry"
15255
15255
  "stroke-opacity": 0,
15256
15256
  class: "vue-flow__edge-interaction"
15257
15257
  }, null, 8, YN)) : we("", !0),
15258
- a.label && a.labelX && a.labelY ? (w(), U(HN, {
15258
+ a.label && a.labelX && a.labelY ? (w(), H(HN, {
15259
15259
  key: 1,
15260
15260
  ref_key: "labelEl",
15261
15261
  ref: o,
@@ -16068,9 +16068,9 @@ const _O = {
16068
16068
  for (const E of N.value) {
16069
16069
  const C = x.value.get(E);
16070
16070
  if (C)
16071
- for (const { edgeId: T } of C.values()) {
16072
- const I = b.value.get(T);
16073
- I && (I.selectable ?? R) && L.value.add(T);
16071
+ for (const { edgeId: I } of C.values()) {
16072
+ const T = b.value.get(I);
16073
+ T && (T.selectable ?? R) && L.value.add(I);
16074
16074
  }
16075
16075
  }
16076
16076
  if (!dd(X, N.value)) {
@@ -16101,11 +16101,11 @@ const _O = {
16101
16101
  onPointerleave: fe[7] || (fe[7] = (me) => p(o).paneMouseLeave(me))
16102
16102
  }, [
16103
16103
  Fe(ee.$slots, "default"),
16104
- p(r) && p(s) ? (w(), U(mO, {
16104
+ p(r) && p(s) ? (w(), H(mO, {
16105
16105
  key: 0,
16106
16106
  "user-selection-rect": p(s)
16107
16107
  }, null, 8, ["user-selection-rect"])) : we("", !0),
16108
- p(u) && p(d).length ? (w(), U(vO, { key: 1 })) : we("", !0)
16108
+ p(u) && p(d).length ? (w(), H(vO, { key: 1 })) : we("", !0)
16109
16109
  ], 34));
16110
16110
  }
16111
16111
  }), wO = {
@@ -16175,41 +16175,41 @@ const _O = {
16175
16175
  const ue = Y.value, de = ue.getBoundingClientRect(), X = V$().clickDistance(W.value).scaleExtent([t.value, n.value]).translateExtent(o.value), se = qt(ue).call(X), R = se.on("wheel.zoom"), E = ji.translate(i.value.x ?? 0, i.value.y ?? 0).scale(si(i.value.zoom ?? 1, t.value, n.value)), C = [
16176
16176
  [0, 0],
16177
16177
  [de.width, de.height]
16178
- ], T = X.constrain()(E, C, o.value);
16179
- X.transform(se, T), X.wheelDelta(fe), k.value = X, A.value = se, N.value = R, L.value = { x: T.x, y: T.y, zoom: T.k }, X.on("start", (I) => {
16180
- var H;
16181
- if (!I.sourceEvent)
16178
+ ], I = X.constrain()(E, C, o.value);
16179
+ X.transform(se, I), X.wheelDelta(fe), k.value = X, A.value = se, N.value = R, L.value = { x: I.x, y: I.y, zoom: I.k }, X.on("start", (T) => {
16180
+ var U;
16181
+ if (!T.sourceEvent)
16182
16182
  return null;
16183
- B = I.sourceEvent.button, O.value = !0;
16184
- const K = Se(I.transform);
16185
- ((H = I.sourceEvent) == null ? void 0 : H.type) === "mousedown" && (S.value = !0), le = K, b.viewportChangeStart(K), b.moveStart({ event: I, flowTransform: K });
16186
- }), X.on("end", (I) => {
16187
- if (!I.sourceEvent)
16183
+ B = T.sourceEvent.button, O.value = !0;
16184
+ const K = Se(T.transform);
16185
+ ((U = T.sourceEvent) == null ? void 0 : U.type) === "mousedown" && (S.value = !0), le = K, b.viewportChangeStart(K), b.moveStart({ event: T, flowTransform: K });
16186
+ }), X.on("end", (T) => {
16187
+ if (!T.sourceEvent)
16188
16188
  return null;
16189
- if (O.value = !1, S.value = !1, ee(z.value, B ?? 0) && !V && b.paneContextMenu(I.sourceEvent), V = !1, me(le, I.transform)) {
16190
- const H = Se(I.transform);
16191
- le = H, b.viewportChangeEnd(H), b.moveEnd({ event: I, flowTransform: H });
16189
+ if (O.value = !1, S.value = !1, ee(z.value, B ?? 0) && !V && b.paneContextMenu(T.sourceEvent), V = !1, me(le, T.transform)) {
16190
+ const U = Se(T.transform);
16191
+ le = U, b.viewportChangeEnd(U), b.moveEnd({ event: T, flowTransform: U });
16192
16192
  }
16193
- }), X.filter((I) => {
16194
- var H;
16195
- const K = q.value || h.value, oe = m.value && I.ctrlKey, D = I.button;
16196
- if (D === 1 && I.type === "mousedown" && (xe(I, "vue-flow__node") || xe(I, "vue-flow__edge")))
16193
+ }), X.filter((T) => {
16194
+ var U;
16195
+ const K = q.value || h.value, oe = m.value && T.ctrlKey, D = T.button;
16196
+ if (D === 1 && T.type === "mousedown" && (xe(T, "vue-flow__node") || xe(T, "vue-flow__edge")))
16197
16197
  return !0;
16198
- if (!z.value && !K && !ie.value && !f.value && !m.value || x.value || !f.value && I.type === "dblclick" || xe(I, g.value) && I.type === "wheel" || xe(I, y.value) && (I.type !== "wheel" || ie.value && I.type === "wheel" && !q.value) || !m.value && I.ctrlKey && I.type === "wheel" || !K && !ie.value && !oe && I.type === "wheel")
16198
+ if (!z.value && !K && !ie.value && !f.value && !m.value || x.value || !f.value && T.type === "dblclick" || xe(T, g.value) && T.type === "wheel" || xe(T, y.value) && (T.type !== "wheel" || ie.value && T.type === "wheel" && !q.value) || !m.value && T.ctrlKey && T.type === "wheel" || !K && !ie.value && !oe && T.type === "wheel")
16199
16199
  return !1;
16200
- if (!m && I.type === "touchstart" && ((H = I.touches) == null ? void 0 : H.length) > 1)
16201
- return I.preventDefault(), !1;
16202
- if (!z.value && (I.type === "mousedown" || I.type === "touchstart") || a.value === !0 && Array.isArray(d.value) && d.value.includes(0) && D === 0 || Array.isArray(d.value) && !d.value.includes(D) && (I.type === "mousedown" || I.type === "touchstart"))
16200
+ if (!m && T.type === "touchstart" && ((U = T.touches) == null ? void 0 : U.length) > 1)
16201
+ return T.preventDefault(), !1;
16202
+ if (!z.value && (T.type === "mousedown" || T.type === "touchstart") || a.value === !0 && Array.isArray(d.value) && d.value.includes(0) && D === 0 || Array.isArray(d.value) && !d.value.includes(D) && (T.type === "mousedown" || T.type === "touchstart"))
16203
16203
  return !1;
16204
16204
  const te = Array.isArray(d.value) && d.value.includes(D) || a.value === !0 && Array.isArray(d.value) && !d.value.includes(0) || !D || D <= 1;
16205
- return (!I.ctrlKey || Z.value || I.type === "wheel") && te;
16205
+ return (!T.ctrlKey || Z.value || T.type === "wheel") && te;
16206
16206
  }), Te(
16207
16207
  [x, z],
16208
16208
  () => {
16209
- x.value && !O.value ? X.on("zoom", null) : x.value || X.on("zoom", (I) => {
16210
- L.value = { x: I.transform.x, y: I.transform.y, zoom: I.transform.k };
16211
- const H = Se(I.transform);
16212
- V = ee(z.value, B ?? 0), b.viewportChange(H), b.move({ event: I, flowTransform: H });
16209
+ x.value && !O.value ? X.on("zoom", null) : x.value || X.on("zoom", (T) => {
16210
+ L.value = { x: T.transform.x, y: T.transform.y, zoom: T.transform.k };
16211
+ const U = Se(T.transform);
16212
+ V = ee(z.value, B ?? 0), b.viewportChange(U), b.move({ event: T, flowTransform: U });
16213
16213
  });
16214
16214
  },
16215
16215
  { immediate: !0 }
@@ -16218,39 +16218,39 @@ const _O = {
16218
16218
  () => {
16219
16219
  ie.value && !q.value && !x.value ? se.on(
16220
16220
  "wheel.zoom",
16221
- (I) => {
16222
- if (xe(I, g.value))
16221
+ (T) => {
16222
+ if (xe(T, g.value))
16223
16223
  return !1;
16224
- const H = q.value || h.value, K = m.value && I.ctrlKey;
16225
- if (!(!v.value || ie.value || H || K))
16224
+ const U = q.value || h.value, K = m.value && T.ctrlKey;
16225
+ if (!(!v.value || ie.value || U || K))
16226
16226
  return !1;
16227
- I.preventDefault(), I.stopImmediatePropagation();
16227
+ T.preventDefault(), T.stopImmediatePropagation();
16228
16228
  const D = se.property("__zoom").k || 1, te = Xr();
16229
- if (!Z.value && I.ctrlKey && m.value && te) {
16230
- const ke = Jt(I), ce = fe(I), Ne = D * 2 ** ce;
16231
- X.scaleTo(se, Ne, ke, I);
16229
+ if (!Z.value && T.ctrlKey && m.value && te) {
16230
+ const ke = Jt(T), ce = fe(T), Ne = D * 2 ** ce;
16231
+ X.scaleTo(se, Ne, ke, T);
16232
16232
  return;
16233
16233
  }
16234
- const j = I.deltaMode === 1 ? 20 : 1;
16235
- let Ce = u.value === ko.Vertical ? 0 : I.deltaX * j, ve = u.value === ko.Horizontal ? 0 : I.deltaY * j;
16236
- !te && I.shiftKey && u.value !== ko.Vertical && !Ce && ve && (Ce = ve, ve = 0), X.translateBy(
16234
+ const j = T.deltaMode === 1 ? 20 : 1;
16235
+ let Ce = u.value === ko.Vertical ? 0 : T.deltaX * j, ve = u.value === ko.Horizontal ? 0 : T.deltaY * j;
16236
+ !te && T.shiftKey && u.value !== ko.Vertical && !Ce && ve && (Ce = ve, ve = 0), X.translateBy(
16237
16237
  se,
16238
16238
  -(Ce / D) * c.value,
16239
16239
  -(ve / D) * c.value
16240
16240
  );
16241
16241
  const $e = Se(se.property("__zoom"));
16242
- $ && clearTimeout($), Q.value ? (b.move({ event: I, flowTransform: $e }), b.viewportChange($e), $ = setTimeout(() => {
16243
- b.moveEnd({ event: I, flowTransform: $e }), b.viewportChangeEnd($e), Q.value = !1;
16244
- }, 150)) : (Q.value = !0, b.moveStart({ event: I, flowTransform: $e }), b.viewportChangeStart($e));
16242
+ $ && clearTimeout($), Q.value ? (b.move({ event: T, flowTransform: $e }), b.viewportChange($e), $ = setTimeout(() => {
16243
+ b.moveEnd({ event: T, flowTransform: $e }), b.viewportChangeEnd($e), Q.value = !1;
16244
+ }, 150)) : (Q.value = !0, b.moveStart({ event: T, flowTransform: $e }), b.viewportChangeStart($e));
16245
16245
  },
16246
16246
  { passive: !1 }
16247
16247
  ) : typeof R < "u" && se.on(
16248
16248
  "wheel.zoom",
16249
- function(I, H) {
16250
- const K = !v.value && I.type === "wheel" && !I.ctrlKey, oe = q.value || h.value, D = m.value && I.ctrlKey;
16251
- if (!oe && !l.value && !D && I.type === "wheel" || K || xe(I, g.value))
16249
+ function(T, U) {
16250
+ const K = !v.value && T.type === "wheel" && !T.ctrlKey, oe = q.value || h.value, D = m.value && T.ctrlKey;
16251
+ if (!oe && !l.value && !D && T.type === "wheel" || K || xe(T, g.value))
16252
16252
  return null;
16253
- I.preventDefault(), R.call(this, I, H);
16253
+ T.preventDefault(), R.call(this, T, U);
16254
16254
  },
16255
16255
  { passive: !1 }
16256
16256
  );
@@ -16394,15 +16394,15 @@ const vd = nu, PO = he({
16394
16394
  ), V = Le(() => typeof _.value.updatable > "u" ? g.value : _.value.updatable), B = Le(() => typeof _.value.focusable > "u" ? y.value : _.value.focusable);
16395
16395
  ot(wN, e.id), ot(EN, Q);
16396
16396
  const le = F(() => _.value.class instanceof Function ? _.value.class(_.value) : _.value.class), Z = F(() => _.value.style instanceof Function ? _.value.style(_.value) : _.value.style), J = F(() => {
16397
- const C = _.value.type || "default", T = k == null ? void 0 : k[`edge-${C}`];
16398
- if (T)
16399
- return T;
16400
- let I = _.value.template ?? l.value[C];
16401
- if (typeof I == "string" && A) {
16402
- const H = Object.keys(A.appContext.components);
16403
- H && H.includes(C) && (I = Ee(C, !1));
16397
+ const C = _.value.type || "default", I = k == null ? void 0 : k[`edge-${C}`];
16398
+ if (I)
16399
+ return I;
16400
+ let T = _.value.template ?? l.value[C];
16401
+ if (typeof T == "string" && A) {
16402
+ const U = Object.keys(A.appContext.components);
16403
+ U && U.includes(C) && (T = Ee(C, !1));
16404
16404
  }
16405
- return I && typeof I != "string" ? I : (r.error(new ht(ft.EDGE_TYPE_MISSING, I)), !1);
16405
+ return T && typeof T != "string" ? T : (r.error(new ht(ft.EDGE_TYPE_MISSING, T)), !1);
16406
16406
  }), { handlePointerDown: q } = eg({
16407
16407
  nodeId: Y,
16408
16408
  handleId: W,
@@ -16413,21 +16413,21 @@ const vd = nu, PO = he({
16413
16413
  onEdgeUpdateEnd: ee
16414
16414
  });
16415
16415
  return () => {
16416
- const C = d(_.value.source), T = d(_.value.target), I = "pathOptions" in _.value ? _.value.pathOptions : {};
16417
- if (!C && !T)
16416
+ const C = d(_.value.source), I = d(_.value.target), T = "pathOptions" in _.value ? _.value.pathOptions : {};
16417
+ if (!C && !I)
16418
16418
  return r.error(new ht(ft.EDGE_SOURCE_TARGET_MISSING, _.value.id, _.value.source, _.value.target)), null;
16419
16419
  if (!C)
16420
16420
  return r.error(new ht(ft.EDGE_SOURCE_MISSING, _.value.id, _.value.source)), null;
16421
- if (!T)
16421
+ if (!I)
16422
16422
  return r.error(new ht(ft.EDGE_TARGET_MISSING, _.value.id, _.value.target)), null;
16423
- if (!_.value || _.value.hidden || C.hidden || T.hidden)
16423
+ if (!_.value || _.value.hidden || C.hidden || I.hidden)
16424
16424
  return null;
16425
- let H;
16426
- i.value === Rn.Strict ? H = C.handleBounds.source : H = [...C.handleBounds.source || [], ...C.handleBounds.target || []];
16427
- const K = rd(H, _.value.sourceHandle);
16425
+ let U;
16426
+ i.value === Rn.Strict ? U = C.handleBounds.source : U = [...C.handleBounds.source || [], ...C.handleBounds.target || []];
16427
+ const K = rd(U, _.value.sourceHandle);
16428
16428
  let oe;
16429
- i.value === Rn.Strict ? oe = T.handleBounds.target : oe = [...T.handleBounds.target || [], ...T.handleBounds.source || []];
16430
- const D = rd(oe, _.value.targetHandle), te = (K == null ? void 0 : K.position) || Ie.Bottom, j = (D == null ? void 0 : D.position) || Ie.Top, { x: Ce, y: ve } = Vi(C, K, te), { x: $e, y: ke } = Vi(T, D, j);
16429
+ i.value === Rn.Strict ? oe = I.handleBounds.target : oe = [...I.handleBounds.target || [], ...I.handleBounds.source || []];
16430
+ const D = rd(oe, _.value.targetHandle), te = (K == null ? void 0 : K.position) || Ie.Bottom, j = (D == null ? void 0 : D.position) || Ie.Top, { x: Ce, y: ve } = Vi(C, K, te), { x: $e, y: ke } = Vi(I, D, j);
16431
16431
  return _.value.sourceX = Ce, _.value.sourceY = ve, _.value.targetX = $e, _.value.targetY = ke, We(
16432
16432
  "g",
16433
16433
  {
@@ -16464,7 +16464,7 @@ const vd = nu, PO = he({
16464
16464
  L.value ? null : We(J.value === !1 ? l.value.default : J.value, {
16465
16465
  id: e.id,
16466
16466
  sourceNode: C,
16467
- targetNode: T,
16467
+ targetNode: I,
16468
16468
  source: _.value.source,
16469
16469
  target: _.value.target,
16470
16470
  type: _.value.type,
@@ -16491,7 +16491,7 @@ const vd = nu, PO = he({
16491
16491
  sourceHandleId: _.value.sourceHandle,
16492
16492
  targetHandleId: _.value.targetHandle,
16493
16493
  interactionWidth: _.value.interactionWidth,
16494
- ...I
16494
+ ...T
16495
16495
  }),
16496
16496
  [
16497
16497
  V.value === "source" || V.value === !0 ? [
@@ -16540,19 +16540,19 @@ const vd = nu, PO = he({
16540
16540
  function ie() {
16541
16541
  N.value = !1;
16542
16542
  }
16543
- function ae(C, T) {
16544
- x.update({ event: C, edge: _.value, connection: T });
16543
+ function ae(C, I) {
16544
+ x.update({ event: C, edge: _.value, connection: I });
16545
16545
  }
16546
16546
  function ee(C) {
16547
16547
  x.updateEnd({ event: C, edge: _.value }), L.value = !1;
16548
16548
  }
16549
- function fe(C, T) {
16550
- C.button === 0 && (L.value = !0, Y.value = T ? _.value.target : _.value.source, W.value = (T ? _.value.targetHandle : _.value.sourceHandle) ?? null, O.value = T ? "target" : "source", x.updateStart({ event: C, edge: _.value }), q(C));
16549
+ function fe(C, I) {
16550
+ C.button === 0 && (L.value = !0, Y.value = I ? _.value.target : _.value.source, W.value = (I ? _.value.targetHandle : _.value.sourceHandle) ?? null, O.value = I ? "target" : "source", x.updateStart({ event: C, edge: _.value }), q(C));
16551
16551
  }
16552
16552
  function me(C) {
16553
- var T;
16554
- const I = { event: C, edge: _.value };
16555
- $.value && (a.value = !1, _.value.selected && m.value ? (u([_.value]), (T = Q.value) == null || T.blur()) : n([_.value])), x.click(I);
16553
+ var I;
16554
+ const T = { event: C, edge: _.value };
16555
+ $.value && (a.value = !1, _.value.selected && m.value ? (u([_.value]), (I = Q.value) == null || I.blur()) : n([_.value])), x.click(T);
16556
16556
  }
16557
16557
  function Se(C) {
16558
16558
  x.contextMenu({ event: C, edge: _.value });
@@ -16576,8 +16576,8 @@ const vd = nu, PO = he({
16576
16576
  fe(C, !1);
16577
16577
  }
16578
16578
  function E(C) {
16579
- var T;
16580
- !h.value && Dm.includes(C.key) && $.value && (C.key === "Escape" ? ((T = Q.value) == null || T.blur(), u([c(e.id)])) : n([c(e.id)]));
16579
+ var I;
16580
+ !h.value && Dm.includes(C.key) && $.value && (C.key === "Escape" ? ((I = Q.value) == null || I.blur(), u([c(e.id)])) : n([c(e.id)]));
16581
16581
  }
16582
16582
  }
16583
16583
  }), MO = PO, FO = he({
@@ -16762,7 +16762,7 @@ const vd = nu, PO = he({
16762
16762
  });
16763
16763
  return (a, s) => (w(), ne("svg", BO, [
16764
16764
  G("defs", null, [
16765
- (w(!0), ne(Ke, null, ze(r.value, (l) => (w(), U(KO, {
16765
+ (w(!0), ne(Ke, null, ze(r.value, (l) => (w(), H(KO, {
16766
16766
  id: l.id,
16767
16767
  key: l.id,
16768
16768
  type: l.type,
@@ -16831,44 +16831,44 @@ const vd = nu, PO = he({
16831
16831
  const L = it(Aa), Y = zo(), W = ng(), { node: O, parentNode: Q } = tg(e.id), { emit: $, on: V } = IN(O, a), B = Le(() => typeof O.draggable > "u" ? _.value : O.draggable), le = Le(() => typeof O.selectable > "u" ? x.value : O.selectable), Z = Le(() => typeof O.connectable > "u" ? S.value : O.connectable), J = Le(() => typeof O.focusable > "u" ? k.value : O.focusable), q = F(
16832
16832
  () => le.value || B.value || A.value.nodeClick.hasListeners() || A.value.nodeDoubleClick.hasListeners() || A.value.nodeMouseEnter.hasListeners() || A.value.nodeMouseMove.hasListeners() || A.value.nodeMouseLeave.hasListeners()
16833
16833
  ), z = Le(() => !!O.dimensions.width && !!O.dimensions.height), ie = F(() => {
16834
- const T = O.type || "default", I = L == null ? void 0 : L[`node-${T}`];
16835
- if (I)
16836
- return I;
16837
- let H = O.template || d.value[T];
16838
- if (typeof H == "string" && Y) {
16834
+ const I = O.type || "default", T = L == null ? void 0 : L[`node-${I}`];
16835
+ if (T)
16836
+ return T;
16837
+ let U = O.template || d.value[I];
16838
+ if (typeof U == "string" && Y) {
16839
16839
  const K = Object.keys(Y.appContext.components);
16840
- K && K.includes(T) && (H = Ee(T, !1));
16840
+ K && K.includes(I) && (U = Ee(I, !1));
16841
16841
  }
16842
- return H && typeof H != "string" ? H : (a.error(new ht(ft.NODE_TYPE_MISSING, H)), !1);
16842
+ return U && typeof U != "string" ? U : (a.error(new ht(ft.NODE_TYPE_MISSING, U)), !1);
16843
16843
  }), ae = Qm({
16844
16844
  id: e.id,
16845
16845
  el: N,
16846
16846
  disabled: () => !B.value,
16847
16847
  selectable: le,
16848
16848
  dragHandle: () => O.dragHandle,
16849
- onStart(T) {
16850
- $.dragStart(T);
16849
+ onStart(I) {
16850
+ $.dragStart(I);
16851
16851
  },
16852
- onDrag(T) {
16853
- $.drag(T);
16852
+ onDrag(I) {
16853
+ $.drag(I);
16854
16854
  },
16855
- onStop(T) {
16856
- $.dragStop(T);
16855
+ onStop(I) {
16856
+ $.dragStop(I);
16857
16857
  },
16858
- onClick(T) {
16859
- E(T);
16858
+ onClick(I) {
16859
+ E(I);
16860
16860
  }
16861
16861
  }), ee = F(() => O.class instanceof Function ? O.class(O) : O.class), fe = F(() => {
16862
- const T = (O.style instanceof Function ? O.style(O) : O.style) || {}, I = O.width instanceof Function ? O.width(O) : O.width, H = O.height instanceof Function ? O.height(O) : O.height;
16863
- return !T.width && I && (T.width = typeof I == "string" ? I : `${I}px`), !T.height && H && (T.height = typeof H == "string" ? H : `${H}px`), T;
16862
+ const I = (O.style instanceof Function ? O.style(O) : O.style) || {}, T = O.width instanceof Function ? O.width(O) : O.width, U = O.height instanceof Function ? O.height(O) : O.height;
16863
+ return !I.width && T && (I.width = typeof T == "string" ? T : `${T}px`), !I.height && U && (I.height = typeof U == "string" ? U : `${U}px`), I;
16864
16864
  }), me = Le(() => Number(O.zIndex ?? fe.value.zIndex ?? 0));
16865
- return c((T) => {
16866
- (T.includes(e.id) || !T.length) && xe();
16865
+ return c((I) => {
16866
+ (I.includes(e.id) || !I.length) && xe();
16867
16867
  }), It(() => {
16868
16868
  Te(
16869
16869
  () => O.hidden,
16870
- (T = !1, I, H) => {
16871
- !T && N.value && (e.resizeObserver.observe(N.value), H(() => {
16870
+ (I = !1, T, U) => {
16871
+ !I && N.value && (e.resizeObserver.observe(N.value), U(() => {
16872
16872
  N.value && e.resizeObserver.unobserve(N.value);
16873
16873
  }));
16874
16874
  },
@@ -16883,41 +16883,41 @@ const vd = nu, PO = he({
16883
16883
  () => O.position.x,
16884
16884
  () => O.position.y,
16885
16885
  () => {
16886
- var T;
16887
- return (T = Q.value) == null ? void 0 : T.computedPosition.x;
16886
+ var I;
16887
+ return (I = Q.value) == null ? void 0 : I.computedPosition.x;
16888
16888
  },
16889
16889
  () => {
16890
- var T;
16891
- return (T = Q.value) == null ? void 0 : T.computedPosition.y;
16890
+ var I;
16891
+ return (I = Q.value) == null ? void 0 : I.computedPosition.y;
16892
16892
  },
16893
16893
  () => {
16894
- var T;
16895
- return (T = Q.value) == null ? void 0 : T.computedPosition.z;
16894
+ var I;
16895
+ return (I = Q.value) == null ? void 0 : I.computedPosition.z;
16896
16896
  },
16897
16897
  me,
16898
16898
  () => O.selected,
16899
16899
  () => O.dimensions.height,
16900
16900
  () => O.dimensions.width,
16901
16901
  () => {
16902
- var T;
16903
- return (T = Q.value) == null ? void 0 : T.dimensions.height;
16902
+ var I;
16903
+ return (I = Q.value) == null ? void 0 : I.dimensions.height;
16904
16904
  },
16905
16905
  () => {
16906
- var T;
16907
- return (T = Q.value) == null ? void 0 : T.dimensions.width;
16906
+ var I;
16907
+ return (I = Q.value) == null ? void 0 : I.dimensions.width;
16908
16908
  }
16909
16909
  ],
16910
- ([T, I, H, K, oe, D]) => {
16910
+ ([I, T, U, K, oe, D]) => {
16911
16911
  const te = {
16912
- x: T,
16913
- y: I,
16912
+ x: I,
16913
+ y: T,
16914
16914
  z: D + (m.value && O.selected ? 1e3 : 0)
16915
16915
  };
16916
- typeof H < "u" && typeof K < "u" ? O.computedPosition = nN({ x: H, y: K, z: oe }, te) : O.computedPosition = te;
16916
+ typeof U < "u" && typeof K < "u" ? O.computedPosition = nN({ x: U, y: K, z: oe }, te) : O.computedPosition = te;
16917
16917
  },
16918
16918
  { flush: "post", immediate: !0 }
16919
- ), Te([() => O.extent, f], ([T, I], [H, K]) => {
16920
- (T !== H || I !== K) && Se();
16919
+ ), Te([() => O.extent, f], ([I, T], [U, K]) => {
16920
+ (I !== U || T !== K) && Se();
16921
16921
  }), O.extent === "parent" || typeof O.extent == "object" && "range" in O.extent && O.extent.range === "parent" ? js(() => z).toBe(!0).then(Se) : Se(), () => O.hidden ? null : We(
16922
16922
  "div",
16923
16923
  {
@@ -16983,34 +16983,34 @@ const vd = nu, PO = he({
16983
16983
  ]
16984
16984
  );
16985
16985
  function Se() {
16986
- const T = O.computedPosition, { computedPosition: I, position: H } = eu(
16986
+ const I = O.computedPosition, { computedPosition: T, position: U } = eu(
16987
16987
  O,
16988
- g.value ? Sa(T, y.value) : T,
16988
+ g.value ? Sa(I, y.value) : I,
16989
16989
  a.error,
16990
16990
  f.value,
16991
16991
  Q.value
16992
16992
  );
16993
- (O.computedPosition.x !== I.x || O.computedPosition.y !== I.y) && (O.computedPosition = { ...O.computedPosition, ...I }), (O.position.x !== H.x || O.position.y !== H.y) && (O.position = H);
16993
+ (O.computedPosition.x !== T.x || O.computedPosition.y !== T.y) && (O.computedPosition = { ...O.computedPosition, ...T }), (O.position.x !== U.x || O.position.y !== U.y) && (O.position = U);
16994
16994
  }
16995
16995
  function xe() {
16996
16996
  N.value && u([{ id: e.id, nodeElement: N.value, forceUpdate: !0 }]);
16997
16997
  }
16998
- function ue(T) {
16999
- ae != null && ae.value || $.mouseEnter({ event: T, node: O });
16998
+ function ue(I) {
16999
+ ae != null && ae.value || $.mouseEnter({ event: I, node: O });
17000
17000
  }
17001
- function de(T) {
17002
- ae != null && ae.value || $.mouseMove({ event: T, node: O });
17001
+ function de(I) {
17002
+ ae != null && ae.value || $.mouseMove({ event: I, node: O });
17003
17003
  }
17004
- function X(T) {
17005
- ae != null && ae.value || $.mouseLeave({ event: T, node: O });
17004
+ function X(I) {
17005
+ ae != null && ae.value || $.mouseLeave({ event: I, node: O });
17006
17006
  }
17007
- function se(T) {
17008
- return $.contextMenu({ event: T, node: O });
17007
+ function se(I) {
17008
+ return $.contextMenu({ event: I, node: O });
17009
17009
  }
17010
- function R(T) {
17011
- return $.doubleClick({ event: T, node: O });
17010
+ function R(I) {
17011
+ return $.doubleClick({ event: I, node: O });
17012
17012
  }
17013
- function E(T) {
17013
+ function E(I) {
17014
17014
  le.value && (!i.value || !B.value || b.value > 0) && Qs(
17015
17015
  O,
17016
17016
  r.value,
@@ -17019,27 +17019,27 @@ const vd = nu, PO = he({
17019
17019
  o,
17020
17020
  !1,
17021
17021
  N.value
17022
- ), $.click({ event: T, node: O });
17022
+ ), $.click({ event: I, node: O });
17023
17023
  }
17024
- function C(T) {
17025
- if (!(Xs(T) || h.value))
17026
- if (Dm.includes(T.key) && le.value) {
17027
- const I = T.key === "Escape";
17024
+ function C(I) {
17025
+ if (!(Xs(I) || h.value))
17026
+ if (Dm.includes(I.key) && le.value) {
17027
+ const T = I.key === "Escape";
17028
17028
  Qs(
17029
17029
  O,
17030
17030
  r.value,
17031
17031
  l,
17032
17032
  s,
17033
17033
  o,
17034
- I,
17034
+ T,
17035
17035
  N.value
17036
17036
  );
17037
- } else B.value && O.selected && Ti[T.key] && (T.preventDefault(), v.value = `Moved selected node ${T.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~O.position.x}, y: ${~~O.position.y}`, W(
17037
+ } else B.value && O.selected && Ti[I.key] && (I.preventDefault(), v.value = `Moved selected node ${I.key.replace("Arrow", "").toLowerCase()}. New position, x: ${~~O.position.x}, y: ${~~O.position.y}`, W(
17038
17038
  {
17039
- x: Ti[T.key].x,
17040
- y: Ti[T.key].y
17039
+ x: Ti[I.key].x,
17040
+ y: Ti[I.key].y
17041
17041
  },
17042
- T.shiftKey
17042
+ I.shiftKey
17043
17043
  ));
17044
17044
  }
17045
17045
  }
@@ -17087,7 +17087,7 @@ const YO = { class: "vue-flow__nodes vue-flow__container" }, WO = {
17087
17087
  const f = [l.id];
17088
17088
  if (d && d.key === l.id && lh(d, f))
17089
17089
  return d;
17090
- const m = (w(), U(p(HO), {
17090
+ const m = (w(), H(p(HO), {
17091
17091
  id: l.id,
17092
17092
  key: l.id,
17093
17093
  "resize-observer": r.value
@@ -17277,12 +17277,12 @@ const nP = {
17277
17277
  patternUnits: "userSpaceOnUse"
17278
17278
  }, [
17279
17279
  Fe(a.$slots, "pattern", {}, () => [
17280
- a.variant === p(bn).Lines ? (w(), U(p(cg), {
17280
+ a.variant === p(bn).Lines ? (w(), H(p(cg), {
17281
17281
  key: 0,
17282
17282
  size: a.lineWidth,
17283
17283
  color: r.value,
17284
17284
  dimensions: i.value.scaledGap
17285
- }, null, 8, ["size", "color", "dimensions"])) : a.variant === p(bn).Dots ? (w(), U(p(dg), {
17285
+ }, null, 8, ["size", "color", "dimensions"])) : a.variant === p(bn).Dots ? (w(), H(p(dg), {
17286
17286
  key: 1,
17287
17287
  color: r.value,
17288
17288
  radius: i.value.size / 2
@@ -17404,7 +17404,7 @@ const DP = { render: RP }, LP = {
17404
17404
  function b() {
17405
17405
  r(!f.value), t("interactionChange", !f.value);
17406
17406
  }
17407
- return (_, x) => (w(), U(p(tP), {
17407
+ return (_, x) => (w(), H(p(tP), {
17408
17408
  class: "vue-flow__controls",
17409
17409
  position: _.position
17410
17410
  }, {
@@ -17419,7 +17419,7 @@ const DP = { render: RP }, LP = {
17419
17419
  }, {
17420
17420
  default: M(() => [
17421
17421
  Fe(_.$slots, "icon-zoom-in", {}, () => [
17422
- (w(), U(mt(p(vP))))
17422
+ (w(), H(mt(p(vP))))
17423
17423
  ])
17424
17424
  ]),
17425
17425
  _: 3
@@ -17433,7 +17433,7 @@ const DP = { render: RP }, LP = {
17433
17433
  }, {
17434
17434
  default: M(() => [
17435
17435
  Fe(_.$slots, "icon-zoom-out", {}, () => [
17436
- (w(), U(mt(p(EP))))
17436
+ (w(), H(mt(p(EP))))
17437
17437
  ])
17438
17438
  ]),
17439
17439
  _: 3
@@ -17447,24 +17447,24 @@ const DP = { render: RP }, LP = {
17447
17447
  }, {
17448
17448
  default: M(() => [
17449
17449
  Fe(_.$slots, "icon-fit-view", {}, () => [
17450
- (w(), U(mt(p(AP))))
17450
+ (w(), H(mt(p(AP))))
17451
17451
  ])
17452
17452
  ]),
17453
17453
  _: 3
17454
17454
  })
17455
17455
  ]) : we("", !0),
17456
17456
  _.showInteractive ? Fe(_.$slots, "control-interactive", { key: 2 }, () => [
17457
- _.showInteractive ? (w(), U(pr, {
17457
+ _.showInteractive ? (w(), H(pr, {
17458
17458
  key: 0,
17459
17459
  class: "vue-flow__controls-interactive",
17460
17460
  onClick: b
17461
17461
  }, {
17462
17462
  default: M(() => [
17463
17463
  f.value ? Fe(_.$slots, "icon-unlock", { key: 0 }, () => [
17464
- (w(), U(mt(p(DP))))
17464
+ (w(), H(mt(p(DP))))
17465
17465
  ]) : we("", !0),
17466
17466
  f.value ? we("", !0) : Fe(_.$slots, "icon-lock", { key: 1 }, () => [
17467
- (w(), U(mt(p(OP))))
17467
+ (w(), H(mt(p(OP))))
17468
17468
  ])
17469
17469
  ]),
17470
17470
  _: 3
@@ -19775,7 +19775,7 @@ const [JR, QR] = cf(
19775
19775
  disconnectEdge: q,
19776
19776
  getInEdgesByNodeId: z,
19777
19777
  commit: ie,
19778
- undo: ae
19778
+ reset: ae
19779
19779
  } = f;
19780
19780
  function ee(X, se) {
19781
19781
  const R = Z(X.source), E = Z(X.target);
@@ -19819,52 +19819,56 @@ const [JR, QR] = cf(
19819
19819
  });
19820
19820
  async function xe({ source: X, sourceHandle: se, target: R, targetHandle: E }) {
19821
19821
  if (console.debug("[useFlow] onConnect", { source: X, sourceHandle: se, target: R, targetHandle: E }), !se || !E) return;
19822
- const C = Kd(se), T = Kd(E);
19823
- if ((C == null ? void 0 : C.io) === "input" || (T == null ? void 0 : T.io) === "output" || se === "output" && E === "output")
19822
+ const C = Kd(se), I = Kd(E);
19823
+ if ((C == null ? void 0 : C.io) === "input" || (I == null ? void 0 : I.io) === "output" || se === "output" && E === "output")
19824
19824
  return;
19825
- const I = z(R);
19826
- let H = !1, K = !1;
19827
- const oe = [], D = [], te = (T == null ? void 0 : T.io) === "input" ? I.filter((ve) => !ve.targetField) : I.filter((ve) => !!ve.targetField);
19828
- te.length > 0 && (H = !0, te.forEach((ve) => {
19825
+ const T = z(R);
19826
+ let U = !1, K = !1;
19827
+ const oe = [], D = [], te = (I == null ? void 0 : I.io) === "input" ? T.filter((ve) => !ve.targetField) : T.filter((ve) => !!ve.targetField);
19828
+ te.length > 0 && (U = !0, te.forEach((ve) => {
19829
19829
  D.push(So(ve, Z)), q(ve.id, !1);
19830
19830
  }));
19831
- const j = (T == null ? void 0 : T.io) === "input" ? I.filter((ve) => ve.targetField === T.field) : I.filter((ve) => !ve.targetField);
19831
+ const j = (I == null ? void 0 : I.io) === "input" ? T.filter((ve) => ve.targetField === I.field) : T.filter((ve) => !ve.targetField);
19832
19832
  if (j.length > 0) {
19833
- if (j.some(($e) => $e.source === X && $e.target === R && $e.targetField === (T == null ? void 0 : T.field) && $e.sourceField === (C == null ? void 0 : C.field)))
19833
+ if (j.some(($e) => $e.source === X && $e.target === R && $e.targetField === (I == null ? void 0 : I.field) && $e.sourceField === (C == null ? void 0 : C.field)))
19834
19834
  return;
19835
19835
  K = !0, j.forEach(($e) => {
19836
19836
  D.push(So($e, Z)), q($e.id, !1);
19837
19837
  });
19838
19838
  }
19839
- const Ce = J({
19839
+ if (!J({
19840
19840
  source: X,
19841
19841
  sourceField: C == null ? void 0 : C.field,
19842
19842
  target: R,
19843
- targetField: T == null ? void 0 : T.field
19844
- }, !1);
19843
+ targetField: I == null ? void 0 : I.field
19844
+ }, !1)) {
19845
+ ae(), h({
19846
+ message: v("plugins.free-form.datakit.flow_editor.error.invalid_connection"),
19847
+ appearance: "danger"
19848
+ });
19849
+ return;
19850
+ }
19845
19851
  if (oe.push(
19846
19852
  rl(
19847
19853
  X,
19848
19854
  C == null ? void 0 : C.field,
19849
19855
  R,
19850
- T == null ? void 0 : T.field,
19856
+ I == null ? void 0 : I.field,
19851
19857
  Z
19852
19858
  )
19853
- ), ie(), Ce) {
19854
- if (H || K) {
19855
- if (!m)
19856
- throw new Error("Expected confirm modal to be provided here when reachable");
19857
- await m(
19858
- v(H ? "plugins.free-form.datakit.flow_editor.confirm.message.switch" : "plugins.free-form.datakit.flow_editor.confirm.message.override"),
19859
- oe,
19860
- D
19861
- ) || ae();
19859
+ ), U || K) {
19860
+ if (!m)
19861
+ throw ae(), new Error("Expected confirm modal to be provided here when reachable");
19862
+ if (!await m(
19863
+ v(U ? "plugins.free-form.datakit.flow_editor.confirm.message.switch" : "plugins.free-form.datakit.flow_editor.confirm.message.override"),
19864
+ oe,
19865
+ D
19866
+ )) {
19867
+ ae();
19868
+ return;
19862
19869
  }
19863
- } else
19864
- ae(), h({
19865
- message: v("plugins.free-form.datakit.flow_editor.error.invalid_connection"),
19866
- appearance: "danger"
19867
- });
19870
+ }
19871
+ ie();
19868
19872
  }
19869
19873
  k(xe), A((X) => {
19870
19874
  X.filter((se) => se.type === "select").sort((se, R) => se.selected === R.selected ? 0 : se.selected ? 1 : -1).forEach((se) => {
@@ -19926,10 +19930,10 @@ const [JR, QR] = cf(
19926
19930
  return E.push(ke), !1;
19927
19931
  }
19928
19932
  };
19929
- let T;
19933
+ let I;
19930
19934
  for (const ke of fe.value)
19931
19935
  if (!C(ke) && E.length > 0) {
19932
- T || (T = new Ld.graphlib.Graph({ multigraph: !0 }), T.setGraph({
19936
+ I || (I = new Ld.graphlib.Graph({ multigraph: !0 }), I.setGraph({
19933
19937
  rankdir: t === "request" ? "LR" : "RL",
19934
19938
  nodesep: l,
19935
19939
  edgesep: u,
@@ -19938,23 +19942,23 @@ const [JR, QR] = cf(
19938
19942
  const ce = g(ke.id);
19939
19943
  if (!ce)
19940
19944
  throw new Error(`Node ${ke.id} is missing from the graph in ${t} phase`);
19941
- T.setNode(ke.id, {
19945
+ I.setNode(ke.id, {
19942
19946
  width: ce.dimensions.width,
19943
19947
  height: ce.dimensions.height
19944
19948
  });
19945
19949
  }
19946
19950
  if (!se || !R)
19947
19951
  throw new Error(`One or more implicit nodes are missing from ${t} phase`);
19948
- const I = g(se.id), H = g(R.id);
19949
- if (!I || !H)
19952
+ const T = g(se.id), U = g(R.id);
19953
+ if (!T || !U)
19950
19954
  throw new Error(`One or more implicit nodes are missing from the graph in ${t} phase`);
19951
19955
  if (E.length > 0) {
19952
- if (!T)
19956
+ if (!I)
19953
19957
  throw new Error("dagreGraph should be defined here if reachable");
19954
19958
  const ke = /* @__PURE__ */ new Set([se.id, R.id]);
19955
19959
  for (const ce of me.value)
19956
- !ke.has(ce.source) && !ke.has(ce.target) && T.setEdge(ce.source, ce.target, { points: [] });
19957
- Ld.layout(T);
19960
+ !ke.has(ce.source) && !ke.has(ce.target) && I.setEdge(ce.source, ce.target, { points: [] });
19961
+ Ld.layout(I);
19958
19962
  }
19959
19963
  const [K, oe] = XR(), D = (ke) => ({
19960
19964
  x: ke.x - ke.width / 2,
@@ -19963,23 +19967,23 @@ const [JR, QR] = cf(
19963
19967
  height: ke.height
19964
19968
  });
19965
19969
  if (E.length > 0) {
19966
- if (!T)
19970
+ if (!I)
19967
19971
  throw new Error("dagreGraph should be defined here if reachable");
19968
19972
  for (const ke of E) {
19969
- const ce = T.node(ke.id), Ne = D(ce);
19973
+ const ce = I.node(ke.id), Ne = D(ce);
19970
19974
  K(Ne), V(ke.data.id, { x: Ne.x, y: Ne.y }, !1);
19971
19975
  }
19972
19976
  }
19973
19977
  const te = oe(), j = te.x2 - te.x1, Ce = te.y2 - te.y1, ve = Math.max(
19974
19978
  0,
19975
- Math.min(Oe(r == null ? void 0 : r.width) ?? Number.POSITIVE_INFINITY, BP) - j - 2 * l - I.dimensions.width - H.dimensions.width - 2 * a
19979
+ Math.min(Oe(r == null ? void 0 : r.width) ?? Number.POSITIVE_INFINITY, BP) - j - 2 * l - T.dimensions.width - U.dimensions.width - 2 * a
19976
19980
  ), $e = te.y1 + Ce / 2;
19977
19981
  V(se.data.id, {
19978
- x: te.x1 - l - ve / 2 - I.dimensions.width,
19979
- y: $e - I.dimensions.height / 2
19982
+ x: te.x1 - l - ve / 2 - T.dimensions.width,
19983
+ y: $e - T.dimensions.height / 2
19980
19984
  }, !1), V(R.data.id, {
19981
19985
  x: te.x2 + l + ve / 2,
19982
- y: $e - H.dimensions.height / 2
19986
+ y: $e - U.dimensions.height / 2
19983
19987
  }, !1), X && $(`autolayout-${n}`);
19984
19988
  }
19985
19989
  function de(X) {
@@ -20050,7 +20054,7 @@ const [JR, QR] = cf(
20050
20054
  });
20051
20055
  return (o, r) => {
20052
20056
  const a = Ee("KBadge");
20053
- return w(), U(a, {
20057
+ return w(), H(a, {
20054
20058
  appearance: i.value,
20055
20059
  class: Ve({
20056
20060
  "icon-only": o.iconOnly
@@ -20058,7 +20062,7 @@ const [JR, QR] = cf(
20058
20062
  size: o.size
20059
20063
  }, {
20060
20064
  icon: M(() => [
20061
- (w(), U(mt(t.value)))
20065
+ (w(), H(mt(t.value)))
20062
20066
  ]),
20063
20067
  default: M(() => [
20064
20068
  De(" " + ge(n.value), 1)
@@ -20176,13 +20180,13 @@ const aD = {
20176
20180
  n != null && n.readonly || A === "input" && !c.value || A === "output" && !d.value || r(e.data.id, A);
20177
20181
  }
20178
20182
  return Te(c, (A) => {
20179
- A || r(e.data.id, "input", !0, !1);
20183
+ A || r(e.data.id, "input", !0, !0, "*");
20180
20184
  }, { immediate: !0 }), Te(d, (A) => {
20181
- A || r(e.data.id, "output", !0, !1);
20185
+ A || r(e.data.id, "output", !0, !0, "*");
20182
20186
  }, { immediate: !0 }), Te(() => e.data.fields.input, (A, N) => {
20183
- $o(A, N) || r(e.data.id, "input", A.length > 0, !1);
20187
+ $o(A, N) || r(e.data.id, "input", A.length > 0, !0, "*");
20184
20188
  }, { deep: !0 }), Te(() => e.data.fields.output, (A, N) => {
20185
- $o(A, N) || r(e.data.id, "output", A.length > 0, !1);
20189
+ $o(A, N) || r(e.data.id, "output", A.length > 0, !0, "*");
20186
20190
  }, { deep: !0 }), (A, N) => (w(), ne("div", {
20187
20191
  class: Ve(["flow-node", {
20188
20192
  reversed: y.value,
@@ -20190,7 +20194,7 @@ const aD = {
20190
20194
  }])
20191
20195
  }, [
20192
20196
  G("div", uD, [
20193
- g.value ? we("", !0) : (w(), U(p(_s), {
20197
+ g.value ? we("", !0) : (w(), H(p(_s), {
20194
20198
  key: 0,
20195
20199
  class: "badge",
20196
20200
  placement: "top",
@@ -20206,13 +20210,13 @@ const aD = {
20206
20210
  _: 1
20207
20211
  }, 8, ["text"])),
20208
20212
  G("div", cD, ge(x.value), 1),
20209
- A.error ? (w(), U(p(Fh), {
20213
+ A.error ? (w(), H(p(Fh), {
20210
20214
  key: 1,
20211
20215
  class: "error-icon",
20212
20216
  color: p(up),
20213
20217
  size: 16
20214
20218
  }, null, 8, ["color"])) : we("", !0),
20215
- g.value ? we("", !0) : (w(), U(p(Xh), {
20219
+ g.value ? we("", !0) : (w(), H(p(Xh), {
20216
20220
  key: 2,
20217
20221
  class: "menu",
20218
20222
  "kpop-attributes": {
@@ -20272,18 +20276,18 @@ const aD = {
20272
20276
  }, [
20273
20277
  N[3] || (N[3] = G("div", { class: "text" }, " inputs ", -1)),
20274
20278
  l.value ? (w(), ne(Ke, { key: 0 }, [
20275
- f.value ? we("", !0) : (w(), U(p(fu), {
20279
+ f.value ? we("", !0) : (w(), H(p(fu), {
20276
20280
  key: 0,
20277
20281
  size: p(uo)
20278
20282
  }, null, 8, ["size"])),
20279
- f.value ? (w(), U(p(pu), {
20283
+ f.value ? (w(), H(p(pu), {
20280
20284
  key: 1,
20281
20285
  color: c.value ? void 0 : p(ac),
20282
20286
  size: p(uo)
20283
20287
  }, null, 8, ["color", "size"])) : we("", !0)
20284
20288
  ], 64)) : we("", !0)
20285
20289
  ], 2),
20286
- l.value && f.value ? (w(), U(hr, {
20290
+ l.value && f.value ? (w(), H(hr, {
20287
20291
  key: 0,
20288
20292
  color: S.value,
20289
20293
  position: b.value,
@@ -20324,18 +20328,18 @@ const aD = {
20324
20328
  }, [
20325
20329
  N[4] || (N[4] = G("div", { class: "text" }, " outputs ", -1)),
20326
20330
  u.value ? (w(), ne(Ke, { key: 0 }, [
20327
- m.value ? we("", !0) : (w(), U(p(fu), {
20331
+ m.value ? we("", !0) : (w(), H(p(fu), {
20328
20332
  key: 0,
20329
20333
  size: p(uo)
20330
20334
  }, null, 8, ["size"])),
20331
- m.value ? (w(), U(p(pu), {
20335
+ m.value ? (w(), H(p(pu), {
20332
20336
  key: 1,
20333
20337
  color: d.value ? void 0 : p(ac),
20334
20338
  size: p(uo)
20335
20339
  }, null, 8, ["color", "size"])) : we("", !0)
20336
20340
  ], 64)) : we("", !0)
20337
20341
  ], 2),
20338
- u.value && m.value ? (w(), U(hr, {
20342
+ u.value && m.value ? (w(), H(hr, {
20339
20343
  key: 0,
20340
20344
  color: S.value,
20341
20345
  position: _.value,
@@ -20370,7 +20374,7 @@ const aD = {
20370
20374
  ], 2)
20371
20375
  ], 2));
20372
20376
  }
20373
- }), zg = /* @__PURE__ */ Me(_D, [["__scopeId", "data-v-30aa85b4"]]), bD = {
20377
+ }), zg = /* @__PURE__ */ Me(_D, [["__scopeId", "data-v-225c2e47"]]), bD = {
20374
20378
  key: 0,
20375
20379
  class: "dk-flow-mask"
20376
20380
  }, wD = /* @__PURE__ */ he({
@@ -20487,7 +20491,7 @@ const aD = {
20487
20491
  ]),
20488
20492
  default: M(() => [
20489
20493
  P(p(lP)),
20490
- Q.readonly ? we("", !0) : (w(), U(p(KP), {
20494
+ Q.readonly ? we("", !0) : (w(), H(p(KP), {
20491
20495
  key: 0,
20492
20496
  "fit-view-params": p(f),
20493
20497
  position: "bottom-left",
@@ -20570,7 +20574,7 @@ const aD = {
20570
20574
  class: Ve(["label request", { resizable: ie.resizable }]),
20571
20575
  onClick: B
20572
20576
  }, [
20573
- ie.resizable ? (w(), U(p(vs), {
20577
+ ie.resizable ? (w(), H(p(vs), {
20574
20578
  key: 0,
20575
20579
  class: Ve(["icon", { collapsed: O.value }])
20576
20580
  }, null, 8, ["class"])) : we("", !0),
@@ -20602,7 +20606,7 @@ const aD = {
20602
20606
  class: Ve(["label response", { dragging: p(J), resizable: ie.resizable }]),
20603
20607
  onClick: le
20604
20608
  }, [
20605
- ie.resizable ? (w(), U(p(vs), {
20609
+ ie.resizable ? (w(), H(p(vs), {
20606
20610
  key: 0,
20607
20611
  class: Ve(["icon", { collapsed: Q.value }])
20608
20612
  }, null, 8, ["class"])) : we("", !0),
@@ -20652,7 +20656,7 @@ const aD = {
20652
20656
  open: f
20653
20657
  }), (m, h) => {
20654
20658
  const v = Ee("KModal");
20655
- return w(), U(v, {
20659
+ return w(), H(v, {
20656
20660
  "action-button-text": p(i)("plugins.free-form.datakit.flow_editor.confirm.proceed"),
20657
20661
  "close-on-backdrop-click": "",
20658
20662
  "max-width": "660px",
@@ -20713,7 +20717,7 @@ const aD = {
20713
20717
  placement: "right"
20714
20718
  }, {
20715
20719
  default: M(() => [
20716
- (w(), U(p(an), {
20720
+ (w(), H(p(an), {
20717
20721
  key: d,
20718
20722
  appearance: "none",
20719
20723
  class: "nav-item",
@@ -20722,7 +20726,7 @@ const aD = {
20722
20726
  onClick: h
20723
20727
  }, {
20724
20728
  default: M(() => [
20725
- (w(), U(mt(m), {
20729
+ (w(), H(mt(m), {
20726
20730
  decorative: "",
20727
20731
  size: p(ja)
20728
20732
  }, null, 8, ["size"]))
@@ -20752,11 +20756,11 @@ const aD = {
20752
20756
  onClick: l
20753
20757
  }, {
20754
20758
  default: M(() => [
20755
- p(r) ? (w(), U(p(Dh), {
20759
+ p(r) ? (w(), H(p(Dh), {
20756
20760
  key: 0,
20757
20761
  decorative: "",
20758
20762
  size: p(ja)
20759
- }, null, 8, ["size"])) : (w(), U(p(Lh), {
20763
+ }, null, 8, ["size"])) : (w(), H(p(Lh), {
20760
20764
  key: 1,
20761
20765
  decorative: "",
20762
20766
  size: p(ja)
@@ -21012,7 +21016,7 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21012
21016
  }, 8, ["info"])
21013
21017
  ]),
21014
21018
  G("div", YD, [
21015
- (w(!0), ne(Ke, null, ze(Object.keys(p(ga)), (c) => (w(), U(UD, {
21019
+ (w(!0), ne(Ke, null, ze(Object.keys(p(ga)), (c) => (w(), H(UD, {
21016
21020
  key: c,
21017
21021
  draggable: "true",
21018
21022
  type: c,
@@ -21039,7 +21043,7 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21039
21043
  name: {}
21040
21044
  },
21041
21045
  setup(e) {
21042
- return (t, n) => (w(), U(sn, {
21046
+ return (t, n) => (w(), H(sn, {
21043
21047
  items: p(Il)([...p(nm)]),
21044
21048
  name: t.name
21045
21049
  }, null, 8, ["items", "name"]));
@@ -21056,13 +21060,13 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21056
21060
  const o = t("inputs");
21057
21061
  return o ? o.fields.map((r) => Object.keys(r)[0]) : [];
21058
21062
  });
21059
- return (o, r) => (w(), U(Nt, {
21063
+ return (o, r) => (w(), H(Nt, {
21060
21064
  "as-child": "",
21061
21065
  name: o.name,
21062
21066
  "reset-label-path": "isolate"
21063
21067
  }, {
21064
21068
  default: M(() => [
21065
- (w(!0), ne(Ke, null, ze(i.value, (a) => (w(), U(sn, {
21069
+ (w(!0), ne(Ke, null, ze(i.value, (a) => (w(), H(sn, {
21066
21070
  key: a,
21067
21071
  class: "dk-inputs-field-indent",
21068
21072
  clearable: "",
@@ -21145,7 +21149,7 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21145
21149
  }
21146
21150
  return (S, k) => {
21147
21151
  const A = Ee("KAlert"), N = Ee("KLabel"), L = Ee("KInput"), Y = Ee("KSelect"), W = Ee("KButton");
21148
- return p(s).error ? (w(), U(A, {
21152
+ return p(s).error ? (w(), H(A, {
21149
21153
  key: 0,
21150
21154
  appearance: "danger",
21151
21155
  message: p(s).error.message
@@ -21254,7 +21258,7 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21254
21258
  n("rename:field", f, m);
21255
21259
  }
21256
21260
  return (f, m) => (w(), ne(Ke, null, [
21257
- p(i)("input") ? (w(), U(sn, {
21261
+ p(i)("input") ? (w(), H(sn, {
21258
21262
  key: 0,
21259
21263
  clearable: "",
21260
21264
  "enable-filtering": "",
@@ -21264,7 +21268,7 @@ const MD = { class: "dk-editor-main" }, FD = { class: "header" }, RD = { class:
21264
21268
  placeholder: p(o).t("plugins.free-form.datakit.flow_editor.node_properties.input.placeholder"),
21265
21269
  onChange: s
21266
21270
  }, null, 8, ["items", "placeholder"])) : we("", !0),
21267
- a.value ? (w(), U(p(a), {
21271
+ a.value ? (w(), H(p(a), {
21268
21272
  key: 1,
21269
21273
  "field-name-validator": f.fieldNameValidator,
21270
21274
  items: f.items,
@@ -21862,7 +21866,7 @@ const Xo = /* @__PURE__ */ he({
21862
21866
  c !== r.value && (r.value = c);
21863
21867
  }), (c, d) => {
21864
21868
  const f = Ee("KInput");
21865
- return w(), U(f, {
21869
+ return w(), H(f, {
21866
21870
  "model-value": r.value,
21867
21871
  "onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
21868
21872
  "data-1p-ignore": "",
@@ -21915,7 +21919,7 @@ const Xo = /* @__PURE__ */ he({
21915
21919
  }), g = v("url", () => a("url")), y = v("timeout", () => a("timeout"));
21916
21920
  return (b, _) => {
21917
21921
  const x = Ee("KLabel");
21918
- return w(), U(Vt, {
21922
+ return w(), H(Vt, {
21919
21923
  ref: "form",
21920
21924
  data: p(o),
21921
21925
  schema: p(i)
@@ -21981,7 +21985,7 @@ const Xo = /* @__PURE__ */ he({
21981
21985
  inputsFieldNames: s,
21982
21986
  fieldNameValidator: l
21983
21987
  } = pi(e.nodeId, () => t.value.getInnerData());
21984
- return (u, c) => (w(), U(Vt, {
21988
+ return (u, c) => (w(), H(Vt, {
21985
21989
  ref: "form",
21986
21990
  data: p(i),
21987
21991
  schema: p(n)
@@ -22012,7 +22016,7 @@ const Xo = /* @__PURE__ */ he({
22012
22016
  inputsFieldNames: s,
22013
22017
  fieldNameValidator: l
22014
22018
  } = pi(e.nodeId, () => t.value.getInnerData());
22015
- return (u, c) => (w(), U(Vt, {
22019
+ return (u, c) => (w(), H(Vt, {
22016
22020
  ref: "form",
22017
22021
  data: p(i),
22018
22022
  schema: p(n)
@@ -22077,7 +22081,7 @@ const Xo = /* @__PURE__ */ he({
22077
22081
  }), A = k("jq", () => a("jq"));
22078
22082
  return (N, L) => {
22079
22083
  const Y = Ee("KLabel");
22080
- return w(), U(Vt, {
22084
+ return w(), H(Vt, {
22081
22085
  ref: "form",
22082
22086
  data: p(o),
22083
22087
  schema: p(i)
@@ -22195,7 +22199,7 @@ const Xo = /* @__PURE__ */ he({
22195
22199
  d.value && !r.value.some((S) => S.id === d.value.id) && r.value.push(d.value);
22196
22200
  }), (S, k) => {
22197
22201
  const A = Ee("KAlert"), N = Ee("KLabel"), L = Ee("KButton"), Y = Ee("KInput"), W = Ee("KCard");
22198
- return p(l).error ? (w(), U(A, {
22202
+ return p(l).error ? (w(), H(A, {
22199
22203
  key: 0,
22200
22204
  appearance: "danger",
22201
22205
  message: p(l).error.message
@@ -22211,7 +22215,7 @@ const Xo = /* @__PURE__ */ he({
22211
22215
  ]),
22212
22216
  _: 1
22213
22217
  }),
22214
- (w(!0), ne(Ke, null, ze(p(r), (O, Q) => (w(), U(W, {
22218
+ (w(!0), ne(Ke, null, ze(p(r), (O, Q) => (w(), H(W, {
22215
22219
  key: O.id,
22216
22220
  class: "dk-output-value-field-entry",
22217
22221
  "data-testid": `ff-kv-container-${p(l).path.value}.${Q}`
@@ -22379,7 +22383,7 @@ const CL = /* @__PURE__ */ he({
22379
22383
  };
22380
22384
  a(e.nodeId, k);
22381
22385
  }
22382
- return (_, x) => (w(), U(Vt, {
22386
+ return (_, x) => (w(), H(Vt, {
22383
22387
  ref: "form",
22384
22388
  data: h.value,
22385
22389
  schema: p(u)
@@ -22437,7 +22441,7 @@ const CL = /* @__PURE__ */ he({
22437
22441
  }), (m, h) => {
22438
22442
  const v = Ee("KBadge"), g = Ee("KSelect"), y = Ee("KInput");
22439
22443
  return w(), ne(Ke, null, [
22440
- (w(), U(g, {
22444
+ (w(), H(g, {
22441
22445
  key: u.value,
22442
22446
  "enable-filtering": "",
22443
22447
  error: !m.validators.property.isValid.value,
@@ -22460,7 +22464,7 @@ const CL = /* @__PURE__ */ he({
22460
22464
  G("div", xL, ge(p(Yn)[b.value].dataType), 1)
22461
22465
  ]),
22462
22466
  G("div", AL, [
22463
- p(Yn)[b.value].readable ? (w(), U(v, {
22467
+ p(Yn)[b.value].readable ? (w(), H(v, {
22464
22468
  key: 0,
22465
22469
  appearance: "info"
22466
22470
  }, {
@@ -22469,7 +22473,7 @@ const CL = /* @__PURE__ */ he({
22469
22473
  ]),
22470
22474
  _: 1
22471
22475
  })) : we("", !0),
22472
- p(Yn)[b.value].writable ? (w(), U(v, {
22476
+ p(Yn)[b.value].writable ? (w(), H(v, {
22473
22477
  key: 1,
22474
22478
  appearance: "warning"
22475
22479
  }, {
@@ -22483,7 +22487,7 @@ const CL = /* @__PURE__ */ he({
22483
22487
  ]),
22484
22488
  _: 1
22485
22489
  }, 8, ["error", "help", "items"])),
22486
- s.value ? (w(), U(y, {
22490
+ s.value ? (w(), H(y, {
22487
22491
  key: 0,
22488
22492
  "model-value": l.value,
22489
22493
  "onUpdate:modelValue": [
@@ -22543,7 +22547,7 @@ const CL = /* @__PURE__ */ he({
22543
22547
  skipValidationOnMount: v,
22544
22548
  toggleNodeValid: h
22545
22549
  });
22546
- return (x, S) => (w(), U(Vt, {
22550
+ return (x, S) => (w(), H(Vt, {
22547
22551
  ref: "form",
22548
22552
  data: p(a),
22549
22553
  schema: p(r)
@@ -22563,7 +22567,7 @@ const CL = /* @__PURE__ */ he({
22563
22567
  "onUpdate:modelValue": b,
22564
22568
  "onUpdate:propertyKey": S[0] || (S[0] = (k) => p(l)("property-key"))
22565
22569
  }, null, 8, ["validators"]),
22566
- y.value ? (w(), U(Wi, {
22570
+ y.value ? (w(), H(Wi, {
22567
22571
  key: 0,
22568
22572
  "field-name-validator": p(g),
22569
22573
  "field-names": p(f),
@@ -22608,7 +22612,7 @@ const CL = /* @__PURE__ */ he({
22608
22612
  skipValidationOnMount: f,
22609
22613
  toggleNodeValid: d
22610
22614
  }), v = h("status", () => r("status"));
22611
- return (g, y) => (w(), U(Vt, {
22615
+ return (g, y) => (w(), H(Vt, {
22612
22616
  ref: "form",
22613
22617
  data: p(i),
22614
22618
  schema: p(n)
@@ -22672,7 +22676,7 @@ const CL = /* @__PURE__ */ he({
22672
22676
  return null;
22673
22677
  }
22674
22678
  });
22675
- return (o, r) => (w(), U(p(Jh), {
22679
+ return (o, r) => (w(), H(p(Jh), {
22676
22680
  class: "dk-node-properties-panel",
22677
22681
  "close-on-blur": !1,
22678
22682
  "has-overlay": !1,
@@ -22687,7 +22691,7 @@ const CL = /* @__PURE__ */ he({
22687
22691
  class: "dk-node-properties-panel-desc",
22688
22692
  innerHTML: p(on)(n.value.type)
22689
22693
  }, null, 8, OL)) : we("", !0),
22690
- i.value ? (w(), U(p(i), {
22694
+ i.value ? (w(), H(p(i), {
22691
22695
  key: o.nodeId,
22692
22696
  class: "dk-node-properties-panel-form",
22693
22697
  "node-id": o.nodeId
@@ -23189,15 +23193,15 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23189
23193
  }
23190
23194
  return (h, v) => {
23191
23195
  const g = Ee("KTooltip");
23192
- return w(), U(dp, Ue(n, { class: "dk-form" }), et({
23196
+ return w(), H(dp, Ue(n, { class: "dk-form" }), et({
23193
23197
  default: M((y) => [
23194
23198
  P(Vt, Ue(y, { tag: "div" }), {
23195
23199
  default: M(() => [
23196
- r.value === "flow" ? (w(), U(ZL, {
23200
+ r.value === "flow" ? (w(), H(ZL, {
23197
23201
  key: 0,
23198
23202
  "is-editing": n.isEditing,
23199
23203
  onChange: d
23200
- }, null, 8, ["is-editing"])) : r.value === "code" ? (w(), U(Mx, {
23204
+ }, null, 8, ["is-editing"])) : r.value === "code" ? (w(), H(Mx, {
23201
23205
  key: 1,
23202
23206
  class: "code-editor",
23203
23207
  editing: n.isEditing,
@@ -23228,7 +23232,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23228
23232
  }, {
23229
23233
  default: M(() => [
23230
23234
  G("div", EK, [
23231
- (w(), U(mt(a[y.value]))),
23235
+ (w(), H(mt(a[y.value]))),
23232
23236
  De(" " + ge(y.label), 1)
23233
23237
  ])
23234
23238
  ]),
@@ -23276,7 +23280,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23276
23280
  zd(f.headers), zd(f.query);
23277
23281
  }), n("change", u);
23278
23282
  };
23279
- return (l, u) => (w(), U(Vt, {
23283
+ return (l, u) => (w(), H(Vt, {
23280
23284
  config: a,
23281
23285
  data: l.data,
23282
23286
  schema: l.schema,
@@ -23318,7 +23322,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23318
23322
  },
23319
23323
  setup(e) {
23320
23324
  const t = e, n = Gt();
23321
- return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), U(Fl, cn(En(t)), {
23325
+ return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), H(Fl, cn(En(t)), {
23322
23326
  default: M((r) => [
23323
23327
  P(xK, cn(En(r)), null, 16)
23324
23328
  ]),
@@ -23346,7 +23350,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23346
23350
  function r(a) {
23347
23351
  n("change", a);
23348
23352
  }
23349
- return (a, s) => (w(), U(Vt, {
23353
+ return (a, s) => (w(), H(Vt, {
23350
23354
  config: o,
23351
23355
  data: a.data,
23352
23356
  schema: a.schema,
@@ -23394,7 +23398,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23394
23398
  },
23395
23399
  setup(e) {
23396
23400
  const t = e, n = Gt();
23397
- return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), U(dp, cn(En(t)), {
23401
+ return ot(Gi, n == null ? void 0 : n[Xn]), (i, o) => (w(), H(dp, cn(En(t)), {
23398
23402
  default: M((r) => [
23399
23403
  P(TK, cn(En(r)), null, 16)
23400
23404
  ]),
@@ -23507,7 +23511,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23507
23511
  return r.config.app === "konnect" ? a.get(X).then((se) => {
23508
23512
  const { data: { data: R } } = se;
23509
23513
  if (delete de.size, delete de.offset, R.length && Object.keys(de).length === 1) {
23510
- const E = Object.keys(de)[0], C = R.filter((T) => T[E] ? !!T[E].toLowerCase().includes(de[E].toLowerCase()) : !1);
23514
+ const E = Object.keys(de)[0], C = R.filter((I) => I[E] ? !!I[E].toLowerCase().includes(de[E].toLowerCase()) : !1);
23511
23515
  se.data.data = C;
23512
23516
  }
23513
23517
  return se;
@@ -23523,26 +23527,26 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23523
23527
  size: 1e3
23524
23528
  },
23525
23529
  signal: X
23526
- }).then((I) => {
23527
- const { data: { data: H } } = I;
23528
- if (H.length && Object.keys(C).length === 1) {
23529
- const K = Object.keys(C)[0], oe = H.filter((D) => D[K] ? !!D[K].toLowerCase().includes(C[K].toLowerCase()) : !1);
23530
- I.data.data = oe;
23530
+ }).then((T) => {
23531
+ const { data: { data: U } } = T;
23532
+ if (U.length && Object.keys(C).length === 1) {
23533
+ const K = Object.keys(C)[0], oe = U.filter((D) => D[K] ? !!D[K].toLowerCase().includes(C[K].toLowerCase()) : !1);
23534
+ T.data.data = oe;
23531
23535
  }
23532
- return I;
23536
+ return T;
23533
23537
  });
23534
- const T = {
23538
+ const I = {
23535
23539
  size: R,
23536
23540
  offset: E
23537
23541
  };
23538
- for (const I of Object.keys(C))
23539
- T.filter = {
23540
- [I]: {
23541
- contains: C[I]
23542
+ for (const T of Object.keys(C))
23543
+ I.filter = {
23544
+ [T]: {
23545
+ contains: C[T]
23542
23546
  }
23543
23547
  };
23544
23548
  return a.get(se, {
23545
- params: T,
23549
+ params: I,
23546
23550
  signal: X
23547
23551
  });
23548
23552
  }
@@ -23566,29 +23570,29 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23566
23570
  var de;
23567
23571
  (de = V.value) == null || de.call(V, ue), $.value = !1;
23568
23572
  }, Z = () => {
23569
- var C, T;
23573
+ var C, I;
23570
23574
  const ue = { ...r.schema }, de = O, X = W, se = Object.keys(de), R = {};
23571
23575
  if (!d(Y.value))
23572
- for (let I = 0; I < ((T = (C = Y.value) == null ? void 0 : C.fields) == null ? void 0 : T.length); I++)
23573
- ue[Y.value.fields[I].model] = Y.value.fields[I];
23574
- hs.forEach((I) => {
23575
- ue[I] && (ue[I].fields.forEach((H) => {
23576
- H.fields && H.fields.forEach((K) => {
23576
+ for (let T = 0; T < ((I = (C = Y.value) == null ? void 0 : C.fields) == null ? void 0 : I.length); T++)
23577
+ ue[Y.value.fields[T].model] = Y.value.fields[T];
23578
+ hs.forEach((T) => {
23579
+ ue[T] && (ue[T].fields.forEach((U) => {
23580
+ U.fields && U.fields.forEach((K) => {
23577
23581
  ue[K.model] = K;
23578
- }), H.model && (ue[H.model] = H);
23579
- }), delete ue[I]);
23580
- }), se.forEach((I) => {
23582
+ }), U.model && (ue[U.model] = U);
23583
+ }), delete ue[T]);
23584
+ }), se.forEach((T) => {
23581
23585
  var $e;
23582
- if (!ue[I]) {
23583
- I === "partials" && (R[I] = de[I]);
23586
+ if (!ue[T]) {
23587
+ T === "partials" && (R[T] = de[T]);
23584
23588
  return;
23585
23589
  }
23586
- const H = ue[I];
23587
- let K = de[I];
23588
- const oe = X[I], D = Array.isArray(K) ? "array" : typeof K, te = H ? H.valueType : null, j = H ? H.valueArrayType : null, Ce = H ? H.transform : null;
23589
- if (K == null && oe == null && !H.submitWhenNull)
23590
+ const U = ue[T];
23591
+ let K = de[T];
23592
+ const oe = X[T], D = Array.isArray(K) ? "array" : typeof K, te = U ? U.valueType : null, j = U ? U.valueArrayType : null, Ce = U ? U.transform : null;
23593
+ if (K == null && oe == null && !U.submitWhenNull)
23590
23594
  return;
23591
- if (H) {
23595
+ if (U) {
23592
23596
  if (te && D !== te)
23593
23597
  switch (te) {
23594
23598
  case "array":
@@ -23604,7 +23608,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23604
23608
  return ke === 1;
23605
23609
  }
23606
23610
  return ke;
23607
- })), (!K || !K.length) && (K = H.submitWhenNull ? null : []);
23611
+ })), (!K || !K.length) && (K = U.submitWhenNull ? null : []);
23608
23612
  break;
23609
23613
  case "number":
23610
23614
  K = Number(K);
@@ -23616,8 +23620,8 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23616
23620
  K = K == null ? "" : String(K);
23617
23621
  break;
23618
23622
  }
23619
- else te === "array" && (!K || !K.length ? K = H.submitWhenNull ? null : [] : (($e = H.inputAttributes) == null ? void 0 : $e.type) === "number" && (K = K.map((ke) => Number(ke))));
23620
- if (H.type === "array" && H.nestedFields) {
23623
+ else te === "array" && (!K || !K.length ? K = U.submitWhenNull ? null : [] : (($e = U.inputAttributes) == null ? void 0 : $e.type) === "number" && (K = K.map((ke) => Number(ke))));
23624
+ if (U.type === "array" && U.nestedFields) {
23621
23625
  const ke = (ce) => {
23622
23626
  Object.keys(ce).forEach((Ne) => {
23623
23627
  ce[Ne] && typeof ce[Ne] == "object" && !Array.isArray(ce[Ne]) && ce[Ne] !== null ? ke(ce[Ne]) : (ce[Ne] === void 0 || ce[Ne] === null || typeof ce[Ne] == "number" && isNaN(ce[Ne]) || typeof ce[Ne] == "string" && ce[Ne].trim().length === 0) && delete ce[Ne];
@@ -23625,12 +23629,12 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23625
23629
  };
23626
23630
  K && typeof K == "object" && ke(K);
23627
23631
  }
23628
- H.type === "object-advanced" && H.fields && K !== null && (Object.entries(K).length === 0 ? K = null : Object.keys(K).forEach((ke) => {
23632
+ U.type === "object-advanced" && U.fields && K !== null && (Object.entries(K).length === 0 ? K = null : Object.keys(K).forEach((ke) => {
23629
23633
  Array.isArray(K[ke]) || (K[ke] = K[ke].split(","));
23630
23634
  }));
23631
23635
  }
23632
- let ve = l(I);
23633
- if (H.fieldNameHasDashes) {
23636
+ let ve = l(T);
23637
+ if (U.fieldNameHasDashes) {
23634
23638
  const [ke, ...ce] = ve.split(".").reverse();
23635
23639
  ve = [ke.replace(/_/g, "-"), ...ce].reverse().join(".");
23636
23640
  }
@@ -23640,7 +23644,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23640
23644
  let ce = {};
23641
23645
  R[ve] && (ce = R[ve]), ce[ke] = K, K = ce;
23642
23646
  }
23643
- oe !== void 0 && K === "" && K !== oe ? R[ve] = te === "object" ? {} : null : H.type === "checklist" && K === "" ? R[ve] = [] : K !== "" && (R[ve] = K), R[ve] = Ce ? Ce(K) : R[ve], f(ve, R);
23647
+ oe !== void 0 && K === "" && K !== oe ? R[ve] = te === "object" ? {} : null : U.type === "checklist" && K === "" ? R[ve] = [] : K !== "" && (R[ve] = K), R[ve] = Ce ? Ce(K) : R[ve], f(ve, R);
23644
23648
  });
23645
23649
  const E = u(R);
23646
23650
  return N.value && Object.assign(E, ae.value), E;
@@ -23664,11 +23668,11 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23664
23668
  o("validity-change", ue);
23665
23669
  }, ie = (ue, de) => {
23666
23670
  Object.keys(ue).forEach((X) => {
23667
- var T, I;
23671
+ var I, T;
23668
23672
  let se = de ? `${de}-${X}` : X, R = r.schema[se];
23669
23673
  if (!R) {
23670
- const H = de ? `${de}-${X.replace(/-/g, "_")}` : X.replace(/-/g, "_");
23671
- (T = r.schema[H]) != null && T.fieldNameHasDashes && (se = H, R = r.schema[se]), de && ((I = r.schema[de]) == null ? void 0 : I.keyFromObject) === X && (se = de, R = r.schema[se]);
23674
+ const U = de ? `${de}-${X.replace(/-/g, "_")}` : X.replace(/-/g, "_");
23675
+ (I = r.schema[U]) != null && I.fieldNameHasDashes && (se = U, R = r.schema[se]), de && ((T = r.schema[de]) == null ? void 0 : T.keyFromObject) === X && (se = de, R = r.schema[se]);
23672
23676
  }
23673
23677
  const E = ue[X], C = typeof E;
23674
23678
  if (R && R.type === "object-advanced" && !E) {
@@ -23745,11 +23749,11 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23745
23749
  const X = Ee("KSkeleton");
23746
23750
  return w(), ne(Ke, null, [
23747
23751
  G("div", NK, [
23748
- fe.value ? (w(), U(X, {
23752
+ fe.value ? (w(), H(X, {
23749
23753
  key: 0,
23750
23754
  type: "form"
23751
23755
  })) : O.id && e.editing || !e.editing ? (w(), ne("div", OK, [
23752
- N.value ? (w(), U(mt(Hd[N.value]), {
23756
+ N.value ? (w(), H(mt(Hd[N.value]), {
23753
23757
  key: 0,
23754
23758
  "form-model": O,
23755
23759
  "form-options": Q.value,
@@ -23765,11 +23769,11 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23765
23769
  e.enableVaultSecretPicker ? {
23766
23770
  name: p(Xn),
23767
23771
  fn: M((R) => [
23768
- R.schema.referenceable ? (w(), U(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23772
+ R.schema.referenceable ? (w(), H(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23769
23773
  ]),
23770
23774
  key: "0"
23771
23775
  } : void 0
23772
- ]), 1064, ["form-model", "form-options", "form-schema", "is-editing", "model", "schema"])) : A.value ? (w(), U(mt(p(du)[A.value]), {
23776
+ ]), 1064, ["form-model", "form-options", "form-schema", "is-editing", "model", "schema"])) : A.value ? (w(), H(mt(p(du)[A.value]), {
23773
23777
  key: 1,
23774
23778
  "enable-redis-partial": e.enableRedisPartial,
23775
23779
  "form-model": O,
@@ -23783,11 +23787,11 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23783
23787
  e.enableVaultSecretPicker ? {
23784
23788
  name: p(Xn),
23785
23789
  fn: M((R) => [
23786
- R.schema.referenceable ? (w(), U(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23790
+ R.schema.referenceable ? (w(), H(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23787
23791
  ]),
23788
23792
  key: "0"
23789
23793
  } : void 0
23790
- ]), 1064, ["enable-redis-partial", "form-model", "form-options", "form-schema", "is-editing", "show-new-partial-modal"])) : (w(), U(p(vo), {
23794
+ ]), 1064, ["enable-redis-partial", "form-model", "form-options", "form-schema", "is-editing", "show-new-partial-modal"])) : (w(), H(p(vo), {
23791
23795
  key: 2,
23792
23796
  "enable-redis-partial": e.enableRedisPartial,
23793
23797
  "is-editing": e.editing,
@@ -23816,7 +23820,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23816
23820
  e.enableVaultSecretPicker ? {
23817
23821
  name: p(Xn),
23818
23822
  fn: M((R) => [
23819
- R.schema.referenceable ? (w(), U(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23823
+ R.schema.referenceable ? (w(), H(p(Ra), Ue({ key: 0 }, R, { onOpen: B }), null, 16)) : we("", !0)
23820
23824
  ]),
23821
23825
  key: "1"
23822
23826
  } : void 0
@@ -23841,7 +23845,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
23841
23845
  }
23842
23846
  },
23843
23847
  setup(e) {
23844
- return (t, n) => e.teleportTarget ? (w(), U(Qd, {
23848
+ return (t, n) => e.teleportTarget ? (w(), H(Qd, {
23845
23849
  key: 0,
23846
23850
  to: e.teleportTarget
23847
23851
  }, [
@@ -24364,7 +24368,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24364
24368
  }), V.selectionGroup.fields[1].fields = Ne;
24365
24369
  }
24366
24370
  a[i.pluginType] && a[i.pluginType].overwriteDefault && Object.hasOwnProperty.call(a[i.pluginType], "formSchema") && Object.assign(V, a[i.pluginType].formSchema);
24367
- }, q = F(() => !d(L.fields, N, !0)), z = F(() => !H.value && !A.value && (v.value === Bn.Create || q.value)), ie = re(!1), ae = re(), ee = (D) => {
24371
+ }, q = F(() => !d(L.fields, N, !0)), z = F(() => !U.value && !A.value && (v.value === Bn.Create || q.value)), ie = re(!1), ae = re(), ee = (D) => {
24368
24372
  i.credential && D.password && (D.password = ""), L.fields.id = (D == null ? void 0 : D.id) || void 0, ae.value = D == null ? void 0 : D.ordering, Object.assign(N, L.fields), _.value = D, ie.value = !0;
24369
24373
  }, fe = re({}), me = (D) => {
24370
24374
  var te;
@@ -24419,24 +24423,24 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24419
24423
  } finally {
24420
24424
  L.isReadonly = !1;
24421
24425
  }
24422
- }, T = F(() => {
24426
+ }, I = F(() => {
24423
24427
  var Ce;
24424
24428
  const D = b.value ? (Ce = wi[i.pluginType]) == null ? void 0 : Ce.schemaEndpoint : i.pluginType, te = b.value ? lt.form[i.config.app].credentialSchema : lt.form[i.config.app].pluginSchema;
24425
24429
  let j = `${i.config.apiBaseUrl}${te}`;
24426
24430
  return i.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), j = j.replace(/{plugin}/gi, D), j;
24427
- }), I = re(""), H = re(!1), K = re("");
24431
+ }), T = re(""), U = re(!1), K = re("");
24428
24432
  return xn(async () => {
24429
24433
  var D, te, j, Ce;
24430
- H.value = !0;
24434
+ U.value = !0;
24431
24435
  try {
24432
24436
  if (b.value && i.config.app === "konnect") {
24433
24437
  const ve = (D = wi[i.pluginType]) == null ? void 0 : D.schemaEndpoint, $e = qv[ve];
24434
- I.value = ve, y.value = Z("", $e, {}), H.value = !1;
24438
+ T.value = ve, y.value = Z("", $e, {}), U.value = !1;
24435
24439
  } else {
24436
- const ve = i.schema ?? (await f.get(T.value)).data;
24440
+ const ve = i.schema ?? (await f.get(I.value)).data;
24437
24441
  if (g.value = ve, ve)
24438
24442
  if (b.value)
24439
- y.value = Z("", ve, {}), H.value = !1;
24443
+ y.value = Z("", ve, {}), U.value = !1;
24440
24444
  else {
24441
24445
  const $e = ve.fields.find((ce) => ce.config);
24442
24446
  x.value = $e ? $e.config : ve, ve.supported_partials && (S.value = Object.keys(ve.supported_partials).find((ce) => [bs.REDIS_CE, bs.REDIS_EE].includes(ce)), k.value = (te = ve.supported_partials[S.value]) == null ? void 0 : te[0]), J();
@@ -24456,15 +24460,15 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24456
24460
  } catch (ve) {
24457
24461
  console.error(ve), K.value = u(ve), n("error:fetch-schema", ve);
24458
24462
  } finally {
24459
- H.value = !1;
24463
+ U.value = !1;
24460
24464
  }
24461
24465
  }), (D, te) => {
24462
24466
  const j = Ee("KSkeleton"), Ce = Ee("KEmptyState"), ve = Ee("KButton"), $e = Ee("KTabs"), ke = Ee("KSlideout");
24463
24467
  return w(), ne("div", LK, [
24464
- H.value ? (w(), U(j, {
24468
+ U.value ? (w(), H(j, {
24465
24469
  key: 0,
24466
24470
  type: "form"
24467
- })) : K.value ? (w(), U(Ce, {
24471
+ })) : K.value ? (w(), H(Ce, {
24468
24472
  key: 1,
24469
24473
  "action-button-visible": !1,
24470
24474
  "data-testid": "plugin-form-schema-error",
@@ -24474,7 +24478,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24474
24478
  G("h3", null, ge(p(r)("errors.load_schema")), 1)
24475
24479
  ]),
24476
24480
  _: 1
24477
- })) : (w(), U(p(dh), {
24481
+ })) : (w(), H(p(dh), {
24478
24482
  key: 2,
24479
24483
  "can-submit": z.value,
24480
24484
  config: e.config,
@@ -24492,13 +24496,13 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24492
24496
  onLoading: te[5] || (te[5] = (ce) => D.$emit("loading", ce))
24493
24497
  }, {
24494
24498
  "form-actions": M(() => [
24495
- e.isWizardStep ? (w(), ne("div", KK)) : (w(), U(DK, {
24499
+ e.isWizardStep ? (w(), ne("div", KK)) : (w(), H(DK, {
24496
24500
  key: 1,
24497
24501
  "teleport-target": e.actionsTeleportTarget
24498
24502
  }, {
24499
24503
  default: M(() => [
24500
24504
  G("div", BK, [
24501
- e.hideViewConfigAction ? we("", !0) : (w(), U(ve, {
24505
+ e.hideViewConfigAction ? we("", !0) : (w(), H(ve, {
24502
24506
  key: 0,
24503
24507
  appearance: "tertiary",
24504
24508
  "data-testid": `plugin-${h.value ? "edit" : "create"}-form-view-configuration`,
@@ -24590,7 +24594,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24590
24594
  ]),
24591
24595
  terraform: M(() => [
24592
24596
  P(p(fh), {
24593
- "credential-type": I.value,
24597
+ "credential-type": T.value,
24594
24598
  "entity-record": E.value,
24595
24599
  "entity-type": p(gs).Plugin
24596
24600
  }, null, 8, ["credential-type", "entity-record", "entity-type"])
@@ -24684,8 +24688,8 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24684
24688
  },
24685
24689
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
24686
24690
  setup(e, { emit: t }) {
24687
- var I, H;
24688
- const n = nt.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = nt.useI18n(), a = ia(), { axiosInstance: s } = Kn((I = o.config) == null ? void 0 : I.axiosRequestConfig), { hasRecords: l, handleStateChange: u } = gh(() => _.value), c = F(() => l.value && o.config.app === "konnect"), d = F(() => !!o.config.entityId), f = F(() => {
24691
+ var T, U;
24692
+ const n = nt.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = nt.useI18n(), a = ia(), { axiosInstance: s } = Kn((T = o.config) == null ? void 0 : T.axiosRequestConfig), { hasRecords: l, handleStateChange: u } = gh(() => _.value), c = F(() => l.value && o.config.app === "konnect"), d = F(() => !!o.config.entityId), f = F(() => {
24689
24693
  var K;
24690
24694
  return ((K = o.config) == null ? void 0 : K.entityType) === "consumers";
24691
24695
  }), m = F(() => {
@@ -24701,7 +24705,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24701
24705
  // the Name column is non-hidable
24702
24706
  name: { label: r("plugins.list.table_headers.name"), searchable: !0, sortable: !0, hidable: !1 }
24703
24707
  };
24704
- (H = o.config) != null && H.entityId || (g.appliedTo = { label: r("plugins.list.table_headers.applied_to"), sortable: !1 }), g.enabled = { label: r("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, h && (g.ordering = { label: r("plugins.list.table_headers.ordering"), sortable: !0 }), g.tags = { label: r("plugins.list.table_headers.tags"), sortable: !1 };
24708
+ (U = o.config) != null && U.entityId || (g.appliedTo = { label: r("plugins.list.table_headers.applied_to"), sortable: !1 }), g.enabled = { label: r("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, h && (g.ordering = { label: r("plugins.list.table_headers.ordering"), sortable: !0 }), g.tags = { label: r("plugins.list.table_headers.tags"), sortable: !1 };
24705
24709
  const y = g, b = F(() => {
24706
24710
  var oe, D, te, j;
24707
24711
  let K = o.config.entityType ? `${o.config.apiBaseUrl}${lt.list[o.config.app].forEntity}` : `${o.config.apiBaseUrl}${lt.list[o.config.app].all}`;
@@ -24857,9 +24861,9 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24857
24861
  ctaText: void 0,
24858
24862
  message: `${r("plugins.list.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
24859
24863
  title: r("plugins.title")
24860
- }), T = re(!1);
24864
+ }), I = re(!1);
24861
24865
  return xn(async () => {
24862
- T.value = await o.canCreate(), T.value && (C.value.title = r("plugins.list.empty_state.title"), C.value.ctaText = r("actions.create"));
24866
+ I.value = await o.canCreate(), I.value && (C.value.title = r("plugins.list.empty_state.title"), C.value.ctaText = r("actions.create"));
24863
24867
  }), (K, oe) => {
24864
24868
  const D = Ee("KButton"), te = Ee("KEmptyState"), j = Ee("KBadge"), Ce = Ee("KTruncate"), ve = Ee("KInputSwitch"), $e = Ee("KDropdownItem"), ke = Ee("KClipboardProvider");
24865
24869
  return w(), ne("div", VK, [
@@ -24890,12 +24894,12 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24890
24894
  }, null, 8, ["modelValue", "config"])
24891
24895
  ]),
24892
24896
  "toolbar-button": M(() => [
24893
- (w(), U(Qd, {
24897
+ (w(), H(Qd, {
24894
24898
  disabled: !e.useActionOutside,
24895
24899
  to: "#kong-ui-app-page-header-action-button"
24896
24900
  }, [
24897
24901
  G("div", qK, [
24898
- !d.value && c.value ? (w(), U(D, {
24902
+ !d.value && c.value ? (w(), H(D, {
24899
24903
  key: 0,
24900
24904
  appearance: "secondary",
24901
24905
  class: "open-learning-hub",
@@ -24944,9 +24948,9 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
24944
24948
  ])
24945
24949
  ]),
24946
24950
  appliedTo: M(({ row: ce }) => [
24947
- W(ce).length > 0 ? (w(), U(Ce, { key: 0 }, {
24951
+ W(ce).length > 0 ? (w(), H(Ce, { key: 0 }, {
24948
24952
  default: M(() => [
24949
- (w(!0), ne(Ke, null, ze(W(ce), (Ne) => (w(), U(p(jn), {
24953
+ (w(!0), ne(Ke, null, ze(W(ce), (Ne) => (w(), H(p(jn), {
24950
24954
  key: Ne.badgeText,
24951
24955
  "auth-function": () => O(Ne.type, ce),
24952
24956
  "force-show": ""
@@ -25057,12 +25061,12 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25057
25061
  ]),
25058
25062
  _: 2
25059
25063
  }, 1032, ["auth-function"]),
25060
- !f.value && !m.value && p(h) ? (w(), U(p(jn), {
25064
+ !f.value && !m.value && p(h) ? (w(), H(p(jn), {
25061
25065
  key: 0,
25062
25066
  "auth-function": () => e.canConfigureDynamicOrdering(ce)
25063
25067
  }, {
25064
25068
  default: M(() => [
25065
- fe(ce) ? (w(), U($e, {
25069
+ fe(ce) ? (w(), H($e, {
25066
25070
  key: 0,
25067
25071
  "data-testid": "action-entity-config-dyn-order",
25068
25072
  item: fe(ce)
@@ -25106,7 +25110,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25106
25110
  P(p(Vh), { decorative: "" })
25107
25111
  ]),
25108
25112
  action: M(() => [
25109
- T.value ? (w(), U(D, {
25113
+ I.value ? (w(), H(D, {
25110
25114
  key: 0,
25111
25115
  "data-testid": "entity-create-button",
25112
25116
  onClick: E
@@ -25265,7 +25269,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25265
25269
  })
25266
25270
  ]),
25267
25271
  items: M(() => [
25268
- e.canDeleteCustomPlugin ? (w(), U(x, {
25272
+ e.canDeleteCustomPlugin ? (w(), H(x, {
25269
25273
  key: 0,
25270
25274
  "data-testid": "edit-plugin-schema",
25271
25275
  onClick: b[0] || (b[0] = Kt((A) => v(e.plugin.name, e.plugin.customPluginType), ["stop"]))
@@ -25275,7 +25279,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25275
25279
  ]),
25276
25280
  _: 1
25277
25281
  })) : we("", !0),
25278
- e.canDeleteCustomPlugin ? (w(), U(x, {
25282
+ e.canDeleteCustomPlugin ? (w(), H(x, {
25279
25283
  key: 1,
25280
25284
  danger: "",
25281
25285
  "data-testid": "delete-plugin-schema",
@@ -25365,7 +25369,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25365
25369
  };
25366
25370
  return (v, g) => {
25367
25371
  const y = Ee("KButton"), b = Ee("KModal");
25368
- return !d.value && e.plugin ? (w(), U(p(ef), {
25372
+ return !d.value && e.plugin ? (w(), H(p(ef), {
25369
25373
  key: 0,
25370
25374
  "action-pending": u.value,
25371
25375
  class: "delete-custom-plugin-schema-modal",
@@ -25379,7 +25383,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25379
25383
  visible: "",
25380
25384
  onCancel: g[0] || (g[0] = (_) => v.$emit("closed")),
25381
25385
  onProceed: m
25382
- }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title"])) : e.plugin ? (w(), U(b, {
25386
+ }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title"])) : e.plugin ? (w(), H(b, {
25383
25387
  key: 1,
25384
25388
  "action-button-disabled": u.value,
25385
25389
  class: "delete-custom-plugin-schema-modal",
@@ -25506,7 +25510,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25506
25510
  }), (S, k) => {
25507
25511
  const A = Ee("KEmptyState"), N = Ee("KCollapse");
25508
25512
  return w(), ne("div", u3, [
25509
- u.value.length ? (w(), U(N, {
25513
+ u.value.length ? (w(), H(N, {
25510
25514
  key: 1,
25511
25515
  modelValue: s.value,
25512
25516
  "onUpdate:modelValue": k[0] || (k[0] = (L) => s.value = L),
@@ -25522,7 +25526,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25522
25526
  class: "plugin-card-container",
25523
25527
  style: At(y.value)
25524
25528
  }, [
25525
- (w(!0), ne(Ke, null, ze(u.value, (L, Y) => (w(), U(th, {
25529
+ (w(!0), ne(Ke, null, ze(u.value, (L, Y) => (w(), H(th, {
25526
25530
  key: `plugin-card-${Y}`,
25527
25531
  ref_for: !0,
25528
25532
  ref_key: "pluginCardRef",
@@ -25546,7 +25550,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25546
25550
  ]),
25547
25551
  key: "0"
25548
25552
  }
25549
- ]), 1032, ["modelValue", "data-testid", "title", "trigger-label"])) : (w(), U(A, {
25553
+ ]), 1032, ["modelValue", "data-testid", "title", "trigger-label"])) : (w(), H(A, {
25550
25554
  key: 0,
25551
25555
  "action-button-visible": !1,
25552
25556
  class: "custom-plugins-empty-state",
@@ -25560,7 +25564,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25560
25564
  ]),
25561
25565
  _: 1
25562
25566
  })),
25563
- c.value && d.value ? (w(), U(l3, {
25567
+ c.value && d.value ? (w(), H(l3, {
25564
25568
  key: 2,
25565
25569
  config: e.config,
25566
25570
  plugin: d.value,
@@ -25622,7 +25626,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25622
25626
  window == null || window.removeEventListener("resize", m);
25623
25627
  }), (v, g) => {
25624
25628
  const y = Ee("KCollapse");
25625
- return w(), U(y, {
25629
+ return w(), H(y, {
25626
25630
  modelValue: n.value,
25627
25631
  "onUpdate:modelValue": g[0] || (g[0] = (b) => n.value = b),
25628
25632
  class: "plugins-collapse",
@@ -25637,7 +25641,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25637
25641
  class: "plugin-card-container",
25638
25642
  style: At(d.value)
25639
25643
  }, [
25640
- (w(!0), ne(Ke, null, ze(i.plugins, (b) => (w(), U(th, {
25644
+ (w(!0), ne(Ke, null, ze(i.plugins, (b) => (w(), H(th, {
25641
25645
  key: `plugin-card-${b.id}`,
25642
25646
  ref_for: !0,
25643
25647
  ref_key: "pluginCardRef",
@@ -25718,7 +25722,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25718
25722
  return (u, c) => {
25719
25723
  const d = Ee("KEmptyState");
25720
25724
  return w(), ne("div", g3, [
25721
- Object.keys(l.value).length ? we("", !0) : (w(), U(d, {
25725
+ Object.keys(l.value).length ? we("", !0) : (w(), H(d, {
25722
25726
  key: 0,
25723
25727
  "action-button-visible": !1,
25724
25728
  class: "plugins-empty-state",
@@ -25733,7 +25737,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25733
25737
  ]),
25734
25738
  _: 1
25735
25739
  })),
25736
- !n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (w(), U(Gd, {
25740
+ !n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (w(), H(Gd, {
25737
25741
  key: 1,
25738
25742
  modelValue: r.value,
25739
25743
  "onUpdate:modelValue": c[0] || (c[0] = (f) => r.value = f),
@@ -25976,7 +25980,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25976
25980
  class: "plugins-skeleton-cards",
25977
25981
  type: "card"
25978
25982
  })
25979
- ])) : m.value ? (w(), U(fe, {
25983
+ ])) : m.value ? (w(), H(fe, {
25980
25984
  key: 1,
25981
25985
  "action-button-visible": !1,
25982
25986
  "data-testid": "plugins-fetch-error",
@@ -25986,7 +25990,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25986
25990
  G("h3", null, ge(h.value), 1)
25987
25991
  ]),
25988
25992
  _: 1
25989
- })) : N.value && d.value ? (w(), U(fe, {
25993
+ })) : N.value && d.value ? (w(), H(fe, {
25990
25994
  key: 2,
25991
25995
  "action-button-visible": !1,
25992
25996
  "data-testid": "plugins-empty-state",
@@ -25997,7 +26001,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
25997
26001
  ]),
25998
26002
  _: 1
25999
26003
  })) : (w(), ne("section", w3, [
26000
- L.value.length && e.customPluginSupport !== "none" ? (w(), U(Se, {
26004
+ L.value.length && e.customPluginSupport !== "none" ? (w(), H(Se, {
26001
26005
  key: 0,
26002
26006
  modelValue: Y.value,
26003
26007
  "onUpdate:modelValue": z[5] || (z[5] = (xe) => Y.value = xe),
@@ -26052,7 +26056,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26052
26056
  ]),
26053
26057
  key: "0"
26054
26058
  } : void 0
26055
- ]), 1032, ["modelValue", "tabs"])) : (w(), U(Yd, {
26059
+ ]), 1032, ["modelValue", "tabs"])) : (w(), H(Yd, {
26056
26060
  key: 1,
26057
26061
  config: e.config,
26058
26062
  "hide-highlighted-plugins": d.value.length > 0,
@@ -26200,12 +26204,12 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26200
26204
  }), (_, x) => {
26201
26205
  const S = Ee("KSkeleton"), k = Ee("KEmptyState"), A = Ee("KCopy");
26202
26206
  return w(), ne("div", A3, [
26203
- g.value ? (w(), U(S, {
26207
+ g.value ? (w(), H(S, {
26204
26208
  key: 0,
26205
26209
  "data-testid": "plugin-config-card-loader",
26206
26210
  "table-columns": 2,
26207
26211
  type: "table"
26208
- })) : y.value ? (w(), U(k, {
26212
+ })) : y.value ? (w(), H(k, {
26209
26213
  key: 1,
26210
26214
  "data-testid": "plugin-config-card-schema-error",
26211
26215
  "icon-variant": "error"
@@ -26214,7 +26218,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26214
26218
  G("h3", null, ge(y.value), 1)
26215
26219
  ]),
26216
26220
  _: 1
26217
- })) : (w(), U(p(Sh), {
26221
+ })) : (w(), H(p(Sh), {
26218
26222
  key: 2,
26219
26223
  config: e.config,
26220
26224
  "config-card-doc": e.configCardDoc,
@@ -26239,7 +26243,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26239
26243
  ])
26240
26244
  ]),
26241
26245
  consumer: M((N) => [
26242
- p(s)("rowValue", N) ? e.showIdAsLink ? (w(), U(p(io), {
26246
+ p(s)("rowValue", N) ? e.showIdAsLink ? (w(), H(p(io), {
26243
26247
  key: 1,
26244
26248
  item: {
26245
26249
  key: p(s)("rowValue", N).id,
@@ -26247,7 +26251,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26247
26251
  type: p(kt).LinkInternal
26248
26252
  },
26249
26253
  onNavigationClick: () => _.$emit("navigation-click", p(s)("rowValue", N).id, "consumer")
26250
- }, null, 8, ["item", "onNavigationClick"])) : (w(), U(A, {
26254
+ }, null, 8, ["item", "onNavigationClick"])) : (w(), H(A, {
26251
26255
  key: 2,
26252
26256
  "copy-tooltip": p(o)("copy.tooltip", { label: p(s)("row", N).label }),
26253
26257
  "data-testid": "consumer-copy-uuid",
@@ -26255,7 +26259,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26255
26259
  }, null, 8, ["copy-tooltip", "text"])) : (w(), ne("span", $3, "–"))
26256
26260
  ]),
26257
26261
  route: M((N) => [
26258
- p(s)("rowValue", N) ? e.showIdAsLink ? (w(), U(p(io), {
26262
+ p(s)("rowValue", N) ? e.showIdAsLink ? (w(), H(p(io), {
26259
26263
  key: 1,
26260
26264
  item: {
26261
26265
  key: p(s)("rowValue", N).id,
@@ -26263,7 +26267,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26263
26267
  type: p(kt).LinkInternal
26264
26268
  },
26265
26269
  onNavigationClick: () => _.$emit("navigation-click", p(s)("rowValue", N).id, "route")
26266
- }, null, 8, ["item", "onNavigationClick"])) : (w(), U(A, {
26270
+ }, null, 8, ["item", "onNavigationClick"])) : (w(), H(A, {
26267
26271
  key: 2,
26268
26272
  "copy-tooltip": p(o)("copy.tooltip", { label: p(s)("row", N).label }),
26269
26273
  "data-testid": "route-copy-uuid",
@@ -26271,7 +26275,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26271
26275
  }, null, 8, ["copy-tooltip", "text"])) : (w(), ne("span", N3, "–"))
26272
26276
  ]),
26273
26277
  service: M((N) => [
26274
- p(s)("rowValue", N) ? e.showIdAsLink ? (w(), U(p(io), {
26278
+ p(s)("rowValue", N) ? e.showIdAsLink ? (w(), H(p(io), {
26275
26279
  key: 1,
26276
26280
  item: {
26277
26281
  key: p(s)("rowValue", N).id,
@@ -26279,7 +26283,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26279
26283
  type: p(kt).LinkInternal
26280
26284
  },
26281
26285
  onNavigationClick: () => _.$emit("navigation-click", p(s)("rowValue", N).id, "service")
26282
- }, null, 8, ["item", "onNavigationClick"])) : (w(), U(A, {
26286
+ }, null, 8, ["item", "onNavigationClick"])) : (w(), H(A, {
26283
26287
  key: 2,
26284
26288
  "copy-tooltip": p(o)("copy.tooltip", { label: p(s)("row", N).label }),
26285
26289
  "data-testid": "service-copy-uuid",
@@ -26287,7 +26291,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26287
26291
  }, null, 8, ["copy-tooltip", "text"])) : (w(), ne("span", O3, "–"))
26288
26292
  ]),
26289
26293
  consumer_group: M((N) => [
26290
- p(s)("rowValue", N) ? e.showIdAsLink ? (w(), U(p(io), {
26294
+ p(s)("rowValue", N) ? e.showIdAsLink ? (w(), H(p(io), {
26291
26295
  key: 1,
26292
26296
  item: {
26293
26297
  key: p(s)("rowValue", N).id,
@@ -26295,7 +26299,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26295
26299
  type: p(kt).LinkInternal
26296
26300
  },
26297
26301
  onNavigationClick: () => _.$emit("navigation-click", p(s)("rowValue", N).id, "consumer_group")
26298
- }, null, 8, ["item", "onNavigationClick"])) : (w(), U(A, {
26302
+ }, null, 8, ["item", "onNavigationClick"])) : (w(), H(A, {
26299
26303
  key: 2,
26300
26304
  "copy-tooltip": p(o)("copy.tooltip", { label: p(s)("row", N).label }),
26301
26305
  "data-testid": "consumer-group-copy-uuid",
@@ -26305,7 +26309,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26305
26309
  partials: M((N) => {
26306
26310
  var L, Y, W, O, Q, $, V, B, le;
26307
26311
  return [
26308
- p(s)("rowValue", N) ? e.showIdAsLink ? (w(), U(p(io), {
26312
+ p(s)("rowValue", N) ? e.showIdAsLink ? (w(), H(p(io), {
26309
26313
  key: 1,
26310
26314
  item: {
26311
26315
  key: (Y = (L = p(s)("rowValue", N)) == null ? void 0 : L[0]) == null ? void 0 : Y.id,
@@ -26316,7 +26320,7 @@ const qd = lu.options, pK = _e.string().min(1).refine((e) => !e.includes("."), "
26316
26320
  var Z, J;
26317
26321
  return _.$emit("navigation-click", (J = (Z = p(s)("rowValue", N)) == null ? void 0 : Z[0]) == null ? void 0 : J.id, "partial");
26318
26322
  }
26319
- }, null, 8, ["item", "onNavigationClick"])) : (w(), U(A, {
26323
+ }, null, 8, ["item", "onNavigationClick"])) : (w(), H(A, {
26320
26324
  key: 2,
26321
26325
  "copy-tooltip": p(o)("copy.tooltip", { label: p(s)("row", N).label }),
26322
26326
  "data-testid": "partial-copy-uuid",