@kong-ui-public/entities-shared 2.10.4 → 2.10.5-pr.1246.1d05c1a2.0

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,4 +1,4 @@
1
- import { inject as In, ref as R, unref as I, computed as k, watch as Ae, defineComponent as H, openBlock as p, createBlock as K, resolveDynamicComponent as ge, normalizeClass as ue, withCtx as b, createElementBlock as A, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as B, createVNode as N, createTextVNode as Y, useCssVars as Tt, useSlots as Ge, renderSlot as V, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as $e, onBeforeMount as Ft, withModifiers as He, onMounted as On, onUnmounted as $n, withDirectives as pe, vShow as he, withKeys as Ln, Teleport as Nn } from "vue";
1
+ import { inject as In, ref as R, unref as I, computed as k, watch as Ae, defineComponent as H, openBlock as p, createBlock as K, resolveDynamicComponent as fe, normalizeClass as ue, withCtx as b, createElementBlock as S, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as B, createVNode as N, createTextVNode as V, useCssVars as Tt, useSlots as Ge, renderSlot as Y, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as $e, onBeforeMount as Ft, withModifiers as He, onMounted as On, onUnmounted as $n, withDirectives as he, vShow as me, withKeys as Ln, Teleport as Nn } from "vue";
2
2
  import ot from "axios";
3
3
  import { createI18n as Bn, i18nTComponent as Rn } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as Kn } from "@kong/kongponents";
@@ -251,7 +251,7 @@ function tr(e, t, n, r = {
251
251
  }, 200), s = R(!1), c = R(""), d = R(""), u = R([]), m = R([]), f = R(void 0), x = I(t);
252
252
  let v = `${e.apiBaseUrl}${x}`;
253
253
  e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
254
- const { isValidUuid: w } = Ot(), M = async () => {
254
+ const { isValidUuid: A } = Ot(), M = async () => {
255
255
  try {
256
256
  s.value = !0;
257
257
  const { data: h } = await i.get(`${v}?size=${n}`);
@@ -273,19 +273,19 @@ function tr(e, t, n, r = {
273
273
  r.fetchedItemsKey in _ ? u.value = _[r.fetchedItemsKey] : _ != null && _.id ? u.value = [_] : u.value = [];
274
274
  } else if (h) {
275
275
  const F = [];
276
- w(h) && r.searchKeys.includes("id") ? F.push((async () => {
276
+ A(h) && r.searchKeys.includes("id") ? F.push((async () => {
277
277
  const { data: T } = await i.get(`${v}/${h}`);
278
278
  return [T[r.fetchedItemsKey] ?? T];
279
279
  })()) : F.push(
280
280
  ...r.searchKeys.filter((T) => T !== "id").map(async (T) => {
281
- const { data: S } = await i.get(`${v}?${T}=${h}`);
282
- return S[r.fetchedItemsKey];
281
+ const { data: w } = await i.get(`${v}?${T}=${h}`);
282
+ return w[r.fetchedItemsKey];
283
283
  })
284
284
  );
285
285
  const _ = await Promise.all(F), j = /* @__PURE__ */ new Set();
286
286
  u.value = [], (y = _ == null ? void 0 : _.forEach) == null || y.call(_, (T) => {
287
- var S;
288
- (S = T == null ? void 0 : T.forEach) == null || S.call(T, (U) => {
287
+ var w;
288
+ (w = T == null ? void 0 : T.forEach) == null || w.call(T, (U) => {
289
289
  j.has(U.id) || (j.add(U.id), u.value.push(U));
290
290
  });
291
291
  });
@@ -301,8 +301,8 @@ function tr(e, t, n, r = {
301
301
  var j;
302
302
  let _ = !1;
303
303
  for (const T of r.searchKeys) {
304
- const S = typeof F[T] == "string" ? (j = F[T]) == null ? void 0 : j.toLowerCase() : F[T];
305
- S != null && S.includes(h.toLowerCase()) && (_ = !0);
304
+ const w = typeof F[T] == "string" ? (j = F[T]) == null ? void 0 : j.toLowerCase() : F[T];
305
+ w != null && w.includes(h.toLowerCase()) && (_ = !0);
306
306
  }
307
307
  return _;
308
308
  }), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = f.value, s.value = !1;
@@ -374,7 +374,7 @@ function $t(e, t) {
374
374
  const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: m } = o;
375
375
  try {
376
376
  let f = new URL(a.value.href);
377
- return i.value && m ? (f.search = "", f = n.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${m}`) : new URL(`${f.href}/${m}/`)) : (i.value || new URLSearchParams(m).forEach((x, v) => {
377
+ return i.value && m ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${m}/`) : new URL(`${f.href}?filter[name][contains]=${m}`)) : (i.value || new URLSearchParams(m).forEach((x, v) => {
378
378
  f.searchParams.append(v, x);
379
379
  }), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), c && l !== 1 && f.searchParams.append("offset", String(c)), f.href;
380
380
  } catch (f) {
@@ -536,14 +536,14 @@ const z = {
536
536
  var s;
537
537
  return t.isArrayItem ? (s = a.value) != null && s.name ? r(a.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
538
538
  });
539
- return (s, c) => (p(), K(ge(e.isArrayItem ? "fieldset" : "div"), {
539
+ return (s, c) => (p(), K(fe(e.isArrayItem ? "fieldset" : "div"), {
540
540
  class: ue(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
541
541
  }, {
542
542
  default: b(() => [
543
- e.isArrayItem ? (p(), A("legend", hr, [
543
+ e.isArrayItem ? (p(), S("legend", hr, [
544
544
  L("b", null, O(l.value), 1)
545
545
  ])) : D("", !0),
546
- (p(!0), A(le, null, ie(Object.keys(o.value), (d, u) => (p(), K(Rt, {
546
+ (p(!0), S(le, null, ie(Object.keys(o.value), (d, u) => (p(), K(Rt, {
547
547
  key: `${i.value}-property-${u}`,
548
548
  item: {
549
549
  key: d,
@@ -573,14 +573,14 @@ const z = {
573
573
  const { i18n: { t } } = z.useI18n();
574
574
  return (n, r) => {
575
575
  const i = B("KButton");
576
- return p(), A("div", null, [
576
+ return p(), S("div", null, [
577
577
  N(i, {
578
578
  appearance: "tertiary",
579
579
  class: "navigation-button",
580
580
  onClick: r[0] || (r[0] = (a) => n.$emit("navigation-click", e.item))
581
581
  }, {
582
582
  default: b(() => [
583
- Y(O(e.item.value || I(t)("baseConfigCard.commonFields.link")), 1)
583
+ V(O(e.item.value || I(t)("baseConfigCard.commonFields.link")), 1)
584
584
  ]),
585
585
  _: 1
586
586
  })
@@ -603,7 +603,7 @@ const z = {
603
603
  appearance: e.status ? "success" : "neutral"
604
604
  }, {
605
605
  default: b(() => [
606
- Y(O(e.status ? I(t)("baseConfigCard.statusBadge.enabledLabel") : I(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
606
+ V(O(e.status ? I(t)("baseConfigCard.statusBadge.enabledLabel") : I(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
607
607
  ]),
608
608
  _: 1
609
609
  }, 8, ["appearance"]);
@@ -750,16 +750,16 @@ const z = {
750
750
  }
751
751
  }), m = R(), { isTruncated: f } = z.useTruncationDetector(m);
752
752
  return (x, v) => {
753
- const w = B("KLabel"), M = B("KBadge"), E = B("KCopy"), ee = B("KTooltip");
754
- return p(), A("div", Ir, [
753
+ const A = B("KLabel"), M = B("KBadge"), E = B("KCopy"), ee = B("KTooltip");
754
+ return p(), S("div", Ir, [
755
755
  L("div", {
756
756
  class: "config-card-details-label",
757
757
  "data-testid": `${e.item.key}-label`
758
758
  }, [
759
- V(x.$slots, "label", { item: e.item }, () => [
760
- N(w, { "tooltip-attributes": { maxWidth: "500px" } }, _e({
759
+ Y(x.$slots, "label", { item: e.item }, () => [
760
+ N(A, { "tooltip-attributes": { maxWidth: "500px" } }, _e({
761
761
  default: b(() => [
762
- Y(O(e.item.label) + " ", 1)
762
+ V(O(e.item.label) + " ", 1)
763
763
  ]),
764
764
  _: 2
765
765
  }, [
@@ -769,8 +769,8 @@ const z = {
769
769
  L("div", {
770
770
  "data-testid": `${e.item.key}-label-tooltip`
771
771
  }, [
772
- V(x.$slots, "label-tooltip", {}, () => [
773
- Y(O(e.item.tooltip), 1)
772
+ Y(x.$slots, "label-tooltip", {}, () => [
773
+ V(O(e.item.tooltip), 1)
774
774
  ], !0)
775
775
  ], 8, Tr)
776
776
  ]),
@@ -783,17 +783,17 @@ const z = {
783
783
  class: "config-card-details-value",
784
784
  "data-testid": `${e.item.key}-property-value`
785
785
  }, [
786
- V(x.$slots, e.item.key, {
786
+ Y(x.$slots, e.item.key, {
787
787
  rowValue: e.item.value
788
788
  }, () => [
789
- l.value ? (p(), A("div", $r, [
790
- (p(), K(ge(u.value.tag), En(Tn(u.value.attrs)), {
789
+ l.value ? (p(), S("div", $r, [
790
+ (p(), K(fe(u.value.tag), En(Tn(u.value.attrs)), {
791
791
  default: b(() => [
792
- u.value.additionalComponent === "KBadge" ? (p(), A("div", {
792
+ u.value.additionalComponent === "KBadge" ? (p(), S("div", {
793
793
  key: 0,
794
794
  "data-testid": `${e.item.key}-badge-tags`
795
795
  }, [
796
- (p(!0), A(le, null, ie(e.item.value, (h, y) => (p(), K(M, {
796
+ (p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), K(M, {
797
797
  key: `${e.item.key}-badge-tag-${y}`,
798
798
  class: "config-badge",
799
799
  "data-testid": `${e.item.key}-badge-tag-${y}`,
@@ -801,43 +801,43 @@ const z = {
801
801
  "truncation-tooltip": ""
802
802
  }, {
803
803
  default: b(() => [
804
- Y(O(h), 1)
804
+ V(O(h), 1)
805
805
  ]),
806
806
  _: 2
807
807
  }, 1032, ["data-testid", "tooltip"]))), 128))
808
808
  ], 8, Lr)) : D("", !0),
809
- u.value.additionalComponent === "KCopy" ? (p(), A("div", {
809
+ u.value.additionalComponent === "KCopy" ? (p(), S("div", {
810
810
  key: 1,
811
811
  class: "copy-uuid-array",
812
812
  "data-testid": `${e.item.key}-copy-uuid-array`
813
813
  }, [
814
- (p(!0), A(le, null, ie(e.item.value, (h, y) => (p(), K(E, Fn(u.value.childAttrs, {
814
+ (p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), K(E, Fn(u.value.childAttrs, {
815
815
  key: `${e.item.key}-copy-uuid-${y}`,
816
816
  "data-testid": `${e.item.key}-copy-uuid-${y}`,
817
817
  text: h
818
818
  }), null, 16, ["data-testid", "text"]))), 128))
819
- ], 8, Nr)) : u.value.additionalComponent === "KMethodBadge" ? (p(), A("div", {
819
+ ], 8, Nr)) : u.value.additionalComponent === "KMethodBadge" ? (p(), S("div", {
820
820
  key: 2,
821
821
  class: "method-badge-array",
822
822
  "data-testid": `${e.item.key}-badge-methods`
823
823
  }, [
824
- (p(!0), A(le, null, ie(e.item.value, (h, y) => (p(), K(M, {
824
+ (p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), K(M, {
825
825
  key: `${e.item.key}-badge-method-${y}`,
826
826
  appearance: Object.values(I(Kn)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
827
827
  class: "config-badge",
828
828
  "data-testid": `${e.item.key}-badge-method-${y}`
829
829
  }, {
830
830
  default: b(() => [
831
- Y(O(h), 1)
831
+ V(O(h), 1)
832
832
  ]),
833
833
  _: 2
834
834
  }, 1032, ["appearance", "data-testid"]))), 128))
835
835
  ], 8, Br)) : D("", !0),
836
- u.value.additionalComponent === "JsonCardItem" ? (p(), A("div", {
836
+ u.value.additionalComponent === "JsonCardItem" ? (p(), S("div", {
837
837
  key: 3,
838
838
  "data-testid": `${n.item.key}-json-array-content`
839
839
  }, [
840
- (p(!0), A(le, null, ie(e.item.value, (h, y) => (p(), K(Bt, {
840
+ (p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), K(Bt, {
841
841
  key: `json-array-item-${y}`,
842
842
  index: y,
843
843
  "is-array-item": "",
@@ -859,7 +859,7 @@ const z = {
859
859
  ]),
860
860
  _: 1
861
861
  }, 16))
862
- ])) : (p(), A("div", {
862
+ ])) : (p(), S("div", {
863
863
  key: 0,
864
864
  "data-testid": `${e.item.key}-no-value`
865
865
  }, " – ", 8, Or))
@@ -912,13 +912,13 @@ const z = {
912
912
  return (i, a) => {
913
913
  var s;
914
914
  const o = B("KBadge"), l = B("KCodeBlock");
915
- return p(), A("div", Dr, [
916
- t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (p(), A("div", jr, [
915
+ return p(), S("div", Dr, [
916
+ t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (p(), S("div", jr, [
917
917
  N(o, {
918
918
  appearance: t.requestMethod
919
919
  }, {
920
920
  default: b(() => [
921
- Y(O(t.requestMethod), 1)
921
+ V(O(t.requestMethod), 1)
922
922
  ]),
923
923
  _: 1
924
924
  }, 8, ["appearance"]),
@@ -1537,7 +1537,7 @@ function mt(e) {
1537
1537
  function ae(e) {
1538
1538
  return e === 10 || e === 13;
1539
1539
  }
1540
- function me(e) {
1540
+ function ge(e) {
1541
1541
  return e === 9 || e === 32;
1542
1542
  }
1543
1543
  function te(e) {
@@ -1647,7 +1647,7 @@ function tt(e) {
1647
1647
  }
1648
1648
  function W(e, t, n) {
1649
1649
  for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
1650
- for (; me(i); )
1650
+ for (; ge(i); )
1651
1651
  i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
1652
1652
  if (t && i === 35)
1653
1653
  do
@@ -1692,7 +1692,7 @@ function Gi(e, t, n) {
1692
1692
  break;
1693
1693
  }
1694
1694
  }
1695
- l && (ce(e, a, o, !1), nt(e, e.line - s), a = o = e.position, l = !1), me(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1695
+ l && (ce(e, a, o, !1), nt(e, e.line - s), a = o = e.position, l = !1), ge(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
1696
1696
  }
1697
1697
  return ce(e, a, o, !1), e.result ? !0 : (e.kind = u, e.result = m, !1);
1698
1698
  }
@@ -1735,7 +1735,7 @@ function Qi(e, t) {
1735
1735
  C(e, "unexpected end of the stream within a double quoted scalar");
1736
1736
  }
1737
1737
  function Xi(e, t) {
1738
- var n = !0, r, i, a, o = e.tag, l, s = e.anchor, c, d, u, m, f, x = /* @__PURE__ */ Object.create(null), v, w, M, E;
1738
+ var n = !0, r, i, a, o = e.tag, l, s = e.anchor, c, d, u, m, f, x = /* @__PURE__ */ Object.create(null), v, A, M, E;
1739
1739
  if (E = e.input.charCodeAt(e.position), E === 91)
1740
1740
  d = 93, f = !1, l = [];
1741
1741
  else if (E === 123)
@@ -1745,7 +1745,7 @@ function Xi(e, t) {
1745
1745
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), E = e.input.charCodeAt(++e.position); E !== 0; ) {
1746
1746
  if (W(e, !0, t), E = e.input.charCodeAt(e.position), E === d)
1747
1747
  return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
1748
- n ? E === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"), w = v = M = null, u = m = !1, E === 63 && (c = e.input.charCodeAt(e.position + 1), te(c) && (u = m = !0, e.position++, W(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, ke(e, t, Ne, !1, !0), w = e.tag, v = e.result, W(e, !0, t), E = e.input.charCodeAt(e.position), (m || e.line === r) && E === 58 && (u = !0, E = e.input.charCodeAt(++e.position), W(e, !0, t), ke(e, t, Ne, !1, !0), M = e.result), f ? Ce(e, l, x, w, v, M, r, i, a) : u ? l.push(Ce(e, null, x, w, v, M, r, i, a)) : l.push(v), W(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (n = !0, E = e.input.charCodeAt(++e.position)) : n = !1;
1748
+ n ? E === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"), A = v = M = null, u = m = !1, E === 63 && (c = e.input.charCodeAt(e.position + 1), te(c) && (u = m = !0, e.position++, W(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, ke(e, t, Ne, !1, !0), A = e.tag, v = e.result, W(e, !0, t), E = e.input.charCodeAt(e.position), (m || e.line === r) && E === 58 && (u = !0, E = e.input.charCodeAt(++e.position), W(e, !0, t), ke(e, t, Ne, !1, !0), M = e.result), f ? Ce(e, l, x, A, v, M, r, i, a) : u ? l.push(Ce(e, null, x, A, v, M, r, i, a)) : l.push(v), W(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (n = !0, E = e.input.charCodeAt(++e.position)) : n = !1;
1749
1749
  }
1750
1750
  C(e, "unexpected end of the stream within a flow collection");
1751
1751
  }
@@ -1764,10 +1764,10 @@ function ea(e, t) {
1764
1764
  d === 0 ? C(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? C(e, "repeat of an indentation width identifier") : (l = t + d - 1, o = !0);
1765
1765
  else
1766
1766
  break;
1767
- if (me(u)) {
1767
+ if (ge(u)) {
1768
1768
  do
1769
1769
  u = e.input.charCodeAt(++e.position);
1770
- while (me(u));
1770
+ while (ge(u));
1771
1771
  if (u === 35)
1772
1772
  do
1773
1773
  u = e.input.charCodeAt(++e.position);
@@ -1786,7 +1786,7 @@ function ea(e, t) {
1786
1786
  `);
1787
1787
  break;
1788
1788
  }
1789
- for (r ? me(u) ? (c = !0, e.result += G.repeat(`
1789
+ for (r ? ge(u) ? (c = !0, e.result += G.repeat(`
1790
1790
  `, a ? 1 + s : s)) : c ? (c = !1, e.result += G.repeat(`
1791
1791
  `, s + 1)) : s === 0 ? a && (e.result += " ") : e.result += G.repeat(`
1792
1792
  `, s) : e.result += G.repeat(`
@@ -1813,20 +1813,20 @@ function bt(e, t) {
1813
1813
  return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
1814
1814
  }
1815
1815
  function ta(e, t, n) {
1816
- var r, i, a, o, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, x = null, v = null, w = !1, M = !1, E;
1816
+ var r, i, a, o, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, x = null, v = null, A = !1, M = !1, E;
1817
1817
  if (e.firstTabInLine !== -1)
1818
1818
  return !1;
1819
1819
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), E = e.input.charCodeAt(e.position); E !== 0; ) {
1820
- if (!w && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, C(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (E === 63 || E === 58) && te(r))
1821
- E === 63 ? (w && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, w = !0, i = !0) : w ? (w = !1, i = !0) : C(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
1820
+ if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, C(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (E === 63 || E === 58) && te(r))
1821
+ E === 63 ? (A && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, A = !0, i = !0) : A ? (A = !1, i = !0) : C(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
1822
1822
  else {
1823
1823
  if (o = e.line, l = e.lineStart, s = e.position, !ke(e, n, on, !1, !0))
1824
1824
  break;
1825
1825
  if (e.line === a) {
1826
- for (E = e.input.charCodeAt(e.position); me(E); )
1826
+ for (E = e.input.charCodeAt(e.position); ge(E); )
1827
1827
  E = e.input.charCodeAt(++e.position);
1828
1828
  if (E === 58)
1829
- E = e.input.charCodeAt(++e.position), te(E) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"), w && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, w = !1, i = !1, f = e.tag, x = e.result;
1829
+ E = e.input.charCodeAt(++e.position), te(E) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, A = !1, i = !1, f = e.tag, x = e.result;
1830
1830
  else if (M)
1831
1831
  C(e, "can not read an implicit mapping pair; a colon is missed");
1832
1832
  else
@@ -1836,12 +1836,12 @@ function ta(e, t, n) {
1836
1836
  else
1837
1837
  return e.tag = c, e.anchor = d, !0;
1838
1838
  }
1839
- if ((e.line === a || e.lineIndent > t) && (w && (o = e.line, l = e.lineStart, s = e.position), ke(e, t, Be, !0, i) && (w ? x = e.result : v = e.result), w || (Ce(e, u, m, f, x, v, o, l, s), f = x = v = null), W(e, !0, -1), E = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && E !== 0)
1839
+ if ((e.line === a || e.lineIndent > t) && (A && (o = e.line, l = e.lineStart, s = e.position), ke(e, t, Be, !0, i) && (A ? x = e.result : v = e.result), A || (Ce(e, u, m, f, x, v, o, l, s), f = x = v = null), W(e, !0, -1), E = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && E !== 0)
1840
1840
  C(e, "bad indentation of a mapping entry");
1841
1841
  else if (e.lineIndent < t)
1842
1842
  break;
1843
1843
  }
1844
- return w && Ce(e, u, m, f, x, null, o, l, s), M && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), M;
1844
+ return A && Ce(e, u, m, f, x, null, o, l, s), M && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), M;
1845
1845
  }
1846
1846
  function na(e) {
1847
1847
  var t, n = !1, r = !1, i, a, o;
@@ -1882,11 +1882,11 @@ function ia(e) {
1882
1882
  return e.position === t && C(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), de.call(e.anchorMap, n) || C(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], W(e, !0, -1), !0;
1883
1883
  }
1884
1884
  function ke(e, t, n, r, i) {
1885
- var a, o, l, s = 1, c = !1, d = !1, u, m, f, x, v, w;
1885
+ var a, o, l, s = 1, c = !1, d = !1, u, m, f, x, v, A;
1886
1886
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Be === n || ln === n, r && W(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1887
1887
  for (; na(e) || ra(e); )
1888
1888
  W(e, !0, -1) ? (c = !0, l = a, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1889
- if (l && (l = c || i), (s === 1 || Be === n) && (Ne === n || on === n ? v = t : v = t + 1, w = e.position - e.lineStart, s === 1 ? l && (bt(e, w) || ta(e, w, v)) || Xi(e, v) ? d = !0 : (o && ea(e, v) || Zi(e, v) || Qi(e, v) ? d = !0 : ia(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Gi(e, v, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, w))), e.tag === null)
1889
+ if (l && (l = c || i), (s === 1 || Be === n) && (Ne === n || on === n ? v = t : v = t + 1, A = e.position - e.lineStart, s === 1 ? l && (bt(e, A) || ta(e, A, v)) || Xi(e, v) ? d = !0 : (o && ea(e, v) || Zi(e, v) || Qi(e, v) ? d = !0 : ia(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Gi(e, v, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, A))), e.tag === null)
1890
1890
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1891
1891
  else if (e.tag === "?") {
1892
1892
  for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, m = e.implicitTypes.length; u < m; u += 1)
@@ -1913,7 +1913,7 @@ function aa(e) {
1913
1913
  for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !te(o); )
1914
1914
  o = e.input.charCodeAt(++e.position);
1915
1915
  for (r = e.input.slice(n, e.position), i = [], r.length < 1 && C(e, "directive name must not be less than one character in length"); o !== 0; ) {
1916
- for (; me(o); )
1916
+ for (; ge(o); )
1917
1917
  o = e.input.charCodeAt(++e.position);
1918
1918
  if (o === 35) {
1919
1919
  do
@@ -2327,7 +2327,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2327
2327
  });
2328
2328
  return (r, i) => {
2329
2329
  const a = B("KCodeBlock");
2330
- return p(), A("div", lo, [
2330
+ return p(), S("div", lo, [
2331
2331
  t.yamlRecord ? (p(), K(a, {
2332
2332
  key: 0,
2333
2333
  id: "yaml-codeblock",
@@ -2389,23 +2389,23 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2389
2389
  const o = JSON.parse(JSON.stringify(t.record));
2390
2390
  return delete o.created_at, delete o.updated_at, o;
2391
2391
  });
2392
- return (o, l) => (p(), A(le, null, [
2393
- e.format === "structured" ? (p(), A("div", so, [
2394
- (p(!0), A(le, null, ie(e.propListTypes, (s) => (p(), A("div", {
2392
+ return (o, l) => (p(), S(le, null, [
2393
+ e.format === "structured" ? (p(), S("div", so, [
2394
+ (p(!0), S(le, null, ie(e.propListTypes, (s) => (p(), S("div", {
2395
2395
  key: `config-card-details-${s}-props`,
2396
2396
  class: ue(`config-card-details-${s}-props`),
2397
2397
  "data-testid": `config-card-details-${s}-props`
2398
2398
  }, [
2399
- s !== "basic" ? (p(), A("div", uo, O(s === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2400
- (p(!0), A(le, null, ie(e.propertyCollections[s], (c) => (p(), K(Rt, {
2399
+ s !== "basic" ? (p(), S("div", uo, O(s === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2400
+ (p(!0), S(le, null, ie(e.propertyCollections[s], (c) => (p(), K(Rt, {
2401
2401
  key: c.key,
2402
2402
  item: c
2403
2403
  }, _e({
2404
2404
  label: b(() => [
2405
- V(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2405
+ Y(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
2406
2406
  ]),
2407
2407
  [c.key]: b(({ rowValue: d }) => [
2408
- V(o.$slots, c.key, {
2408
+ Y(o.$slots, c.key, {
2409
2409
  row: c,
2410
2410
  rowValue: d
2411
2411
  }, void 0, !0)
@@ -2415,7 +2415,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2415
2415
  i(c) ? {
2416
2416
  name: "label-tooltip",
2417
2417
  fn: b(() => [
2418
- V(o.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2418
+ Y(o.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
2419
2419
  ]),
2420
2420
  key: "0"
2421
2421
  } : void 0
@@ -2515,14 +2515,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2515
2515
  lineHeight: "0",
2516
2516
  width: n.value
2517
2517
  }));
2518
- return (i, a) => (p(), K(ge(e.as), {
2518
+ return (i, a) => (p(), K(fe(e.as), {
2519
2519
  "aria-hidden": e.decorative ? "true" : void 0,
2520
2520
  class: "kui-icon add-icon",
2521
2521
  "data-testid": "kui-icon-wrapper-add-icon",
2522
2522
  style: Fe(r.value)
2523
2523
  }, {
2524
2524
  default: b(() => [
2525
- (p(), A("svg", {
2525
+ (p(), S("svg", {
2526
2526
  "aria-hidden": e.decorative ? "true" : void 0,
2527
2527
  "data-testid": "kui-icon-svg-add-icon",
2528
2528
  fill: "none",
@@ -2532,7 +2532,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2532
2532
  width: "100%",
2533
2533
  xmlns: "http://www.w3.org/2000/svg"
2534
2534
  }, [
2535
- e.title ? (p(), A("title", go, O(e.title), 1)) : D("", !0),
2535
+ e.title ? (p(), S("title", go, O(e.title), 1)) : D("", !0),
2536
2536
  yo
2537
2537
  ], 8, mo))
2538
2538
  ]),
@@ -2614,14 +2614,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2614
2614
  lineHeight: "0",
2615
2615
  width: n.value
2616
2616
  }));
2617
- return (i, a) => (p(), K(ge(e.as), {
2617
+ return (i, a) => (p(), K(fe(e.as), {
2618
2618
  "aria-hidden": e.decorative ? "true" : void 0,
2619
2619
  class: "kui-icon book-icon",
2620
2620
  "data-testid": "kui-icon-wrapper-book-icon",
2621
2621
  style: Fe(r.value)
2622
2622
  }, {
2623
2623
  default: b(() => [
2624
- (p(), A("svg", {
2624
+ (p(), S("svg", {
2625
2625
  "aria-hidden": e.decorative ? "true" : void 0,
2626
2626
  "data-testid": "kui-icon-svg-book-icon",
2627
2627
  fill: "none",
@@ -2631,7 +2631,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2631
2631
  width: "100%",
2632
2632
  xmlns: "http://www.w3.org/2000/svg"
2633
2633
  }, [
2634
- e.title ? (p(), A("title", _o, O(e.title), 1)) : D("", !0),
2634
+ e.title ? (p(), S("title", _o, O(e.title), 1)) : D("", !0),
2635
2635
  ko
2636
2636
  ], 8, Co))
2637
2637
  ]),
@@ -2713,14 +2713,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2713
2713
  lineHeight: "0",
2714
2714
  width: n.value
2715
2715
  }));
2716
- return (i, a) => (p(), K(ge(e.as), {
2716
+ return (i, a) => (p(), K(fe(e.as), {
2717
2717
  "aria-hidden": e.decorative ? "true" : void 0,
2718
2718
  class: "kui-icon chevron-down-icon",
2719
2719
  "data-testid": "kui-icon-wrapper-chevron-down-icon",
2720
2720
  style: Fe(r.value)
2721
2721
  }, {
2722
2722
  default: b(() => [
2723
- (p(), A("svg", {
2723
+ (p(), S("svg", {
2724
2724
  "aria-hidden": e.decorative ? "true" : void 0,
2725
2725
  "data-testid": "kui-icon-svg-chevron-down-icon",
2726
2726
  fill: "none",
@@ -2730,7 +2730,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2730
2730
  width: "100%",
2731
2731
  xmlns: "http://www.w3.org/2000/svg"
2732
2732
  }, [
2733
- e.title ? (p(), A("title", Eo, O(e.title), 1)) : D("", !0),
2733
+ e.title ? (p(), S("title", Eo, O(e.title), 1)) : D("", !0),
2734
2734
  To
2735
2735
  ], 8, Io))
2736
2736
  ]),
@@ -2812,14 +2812,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2812
2812
  lineHeight: "0",
2813
2813
  width: n.value
2814
2814
  }));
2815
- return (i, a) => (p(), K(ge(e.as), {
2815
+ return (i, a) => (p(), K(fe(e.as), {
2816
2816
  "aria-hidden": e.decorative ? "true" : void 0,
2817
2817
  class: "kui-icon close-icon",
2818
2818
  "data-testid": "kui-icon-wrapper-close-icon",
2819
2819
  style: Fe(r.value)
2820
2820
  }, {
2821
2821
  default: b(() => [
2822
- (p(), A("svg", {
2822
+ (p(), S("svg", {
2823
2823
  "aria-hidden": e.decorative ? "true" : void 0,
2824
2824
  "data-testid": "kui-icon-svg-close-icon",
2825
2825
  fill: "none",
@@ -2829,7 +2829,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2829
2829
  width: "100%",
2830
2830
  xmlns: "http://www.w3.org/2000/svg"
2831
2831
  }, [
2832
- e.title ? (p(), A("title", No, O(e.title), 1)) : D("", !0),
2832
+ e.title ? (p(), S("title", No, O(e.title), 1)) : D("", !0),
2833
2833
  Bo
2834
2834
  ], 8, Lo))
2835
2835
  ]),
@@ -2911,14 +2911,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2911
2911
  lineHeight: "0",
2912
2912
  width: n.value
2913
2913
  }));
2914
- return (i, a) => (p(), K(ge(e.as), {
2914
+ return (i, a) => (p(), K(fe(e.as), {
2915
2915
  "aria-hidden": e.decorative ? "true" : void 0,
2916
2916
  class: "kui-icon copy-icon",
2917
2917
  "data-testid": "kui-icon-wrapper-copy-icon",
2918
2918
  style: Fe(r.value)
2919
2919
  }, {
2920
2920
  default: b(() => [
2921
- (p(), A("svg", {
2921
+ (p(), S("svg", {
2922
2922
  "aria-hidden": e.decorative ? "true" : void 0,
2923
2923
  "data-testid": "kui-icon-svg-copy-icon",
2924
2924
  fill: "none",
@@ -2928,7 +2928,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2928
2928
  width: "100%",
2929
2929
  xmlns: "http://www.w3.org/2000/svg"
2930
2930
  }, [
2931
- e.title ? (p(), A("title", jo, O(e.title), 1)) : D("", !0),
2931
+ e.title ? (p(), S("title", jo, O(e.title), 1)) : D("", !0),
2932
2932
  Uo
2933
2933
  ], 8, Do))
2934
2934
  ]),
@@ -3062,27 +3062,27 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3062
3062
  // the last property displayed
3063
3063
  section: ne.Basic
3064
3064
  }
3065
- }, m = R(!1), f = R(!1), x = R(""), v = R({}), w = k(() => {
3065
+ }, m = R(!1), f = R(!1), x = R(""), v = R({}), A = k(() => {
3066
3066
  var F, _, j;
3067
3067
  if (!v.value)
3068
3068
  return [];
3069
3069
  const g = [], $ = Object.keys(v.value).length;
3070
3070
  for (const T in v.value) {
3071
- const S = (_ = (F = r.configSchema) == null ? void 0 : F[T]) == null ? void 0 : _.order, U = (j = u[T]) == null ? void 0 : j.order;
3071
+ const w = (_ = (F = r.configSchema) == null ? void 0 : F[T]) == null ? void 0 : _.order, U = (j = u[T]) == null ? void 0 : j.order;
3072
3072
  let q = $;
3073
- (U || U === 0) && (q = U === -1 ? $ + 1 : U), S && (q = S === -1 ? $ + 1 : S), g.push([T, q]);
3073
+ (U || U === 0) && (q = U === -1 ? $ + 1 : U), w && (q = w === -1 ? $ + 1 : w), g.push([T, q]);
3074
3074
  }
3075
- return g.sort(function(T, S) {
3076
- return T[1] - S[1];
3075
+ return g.sort(function(T, w) {
3076
+ return T[1] - w[1];
3077
3077
  }), g.map((T) => {
3078
- var fe, at;
3079
- const S = T[0], U = (fe = v.value) == null ? void 0 : fe[S], q = ((at = r.configSchema) == null ? void 0 : at[S]) || {}, J = u[S];
3078
+ var pe, at;
3079
+ const w = T[0], U = (pe = v.value) == null ? void 0 : pe[w], q = ((at = r.configSchema) == null ? void 0 : at[w]) || {}, J = u[w];
3080
3080
  return {
3081
- key: S,
3081
+ key: w,
3082
3082
  value: U,
3083
3083
  hidden: q.hidden || !1,
3084
3084
  type: q.type ?? ((J == null ? void 0 : J.type) || P.Text),
3085
- label: q.label ?? ((J == null ? void 0 : J.label) || o(S)),
3085
+ label: q.label ?? ((J == null ? void 0 : J.label) || o(w)),
3086
3086
  tooltip: q.tooltip ?? ((J == null ? void 0 : J.tooltip) || void 0),
3087
3087
  section: q.section ?? ((J == null ? void 0 : J.section) || ne.Advanced)
3088
3088
  };
@@ -3093,21 +3093,21 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3093
3093
  return [];
3094
3094
  const g = v.value[r.pluginConfigKey] || {}, $ = Object.keys(g).length, F = [];
3095
3095
  for (const T in g) {
3096
- const S = (j = (_ = r.pluginConfigSchema) == null ? void 0 : _[T]) == null ? void 0 : j.order, U = g[T];
3096
+ const w = (j = (_ = r.pluginConfigSchema) == null ? void 0 : _[T]) == null ? void 0 : j.order, U = g[T];
3097
3097
  let q = U != null && U !== "" ? $ - 1 : $;
3098
- S && (q = S === -1 ? $ + 1 : S), F.push([T, q]);
3098
+ w && (q = w === -1 ? $ + 1 : w), F.push([T, q]);
3099
3099
  }
3100
- return F.sort(function(T, S) {
3101
- return T[1] - S[1];
3100
+ return F.sort(function(T, w) {
3101
+ return T[1] - w[1];
3102
3102
  }), F.map((T) => {
3103
3103
  var J;
3104
- const S = T[0], U = g[S], q = ((J = r.pluginConfigSchema) == null ? void 0 : J[S]) || {};
3104
+ const w = T[0], U = g[w], q = ((J = r.pluginConfigSchema) == null ? void 0 : J[w]) || {};
3105
3105
  return {
3106
- key: S,
3106
+ key: w,
3107
3107
  value: U,
3108
3108
  hidden: q.hidden || !1,
3109
3109
  type: q.type ?? P.Text,
3110
- label: q.label ?? o(S),
3110
+ label: q.label ?? o(w),
3111
3111
  tooltip: q.tooltip ?? void 0,
3112
3112
  section: ne.Plugin
3113
3113
  };
@@ -3115,9 +3115,9 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3115
3115
  }), E = k(() => {
3116
3116
  var g, $, F, _;
3117
3117
  return {
3118
- basic: (g = w.value) == null ? void 0 : g.filter((j) => j.section === ne.Basic),
3119
- advanced: ($ = w.value) == null ? void 0 : $.filter((j) => j.section === ne.Advanced),
3120
- plugin: (_ = M.value) == null ? void 0 : _.concat((F = w.value) == null ? void 0 : F.filter((j) => j.section === ne.Plugin))
3118
+ basic: (g = A.value) == null ? void 0 : g.filter((j) => j.section === ne.Basic),
3119
+ advanced: ($ = A.value) == null ? void 0 : $.filter((j) => j.section === ne.Advanced),
3120
+ plugin: (_ = M.value) == null ? void 0 : _.concat((F = A.value) == null ? void 0 : F.filter((j) => j.section === ne.Plugin))
3121
3121
  };
3122
3122
  }), ee = k(() => {
3123
3123
  const g = [];
@@ -3150,17 +3150,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3150
3150
  m.value = !1;
3151
3151
  }
3152
3152
  }), (g, $) => {
3153
- const F = B("KLabel"), _ = B("KSelect"), j = B("KButton"), T = B("KSkeleton"), S = B("KEmptyState"), U = B("KCard");
3153
+ const F = B("KLabel"), _ = B("KSelect"), j = B("KButton"), T = B("KSkeleton"), w = B("KEmptyState"), U = B("KCard");
3154
3154
  return p(), K(U, { class: "kong-ui-entity-base-config-card" }, _e({
3155
3155
  actions: b(() => [
3156
3156
  L("div", Vo, [
3157
- V(g.$slots, "actions", {}, void 0, !0),
3157
+ Y(g.$slots, "actions", {}, void 0, !0),
3158
3158
  N(F, {
3159
3159
  class: "config-format-select-label",
3160
3160
  "data-testid": "config-format-select-label"
3161
3161
  }, {
3162
3162
  default: b(() => [
3163
- Y(O(e.label), 1)
3163
+ V(O(e.label), 1)
3164
3164
  ]),
3165
3165
  _: 1
3166
3166
  }),
@@ -3194,7 +3194,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3194
3194
  "data-testid": "config-card-loader",
3195
3195
  "table-columns": 2,
3196
3196
  type: "table"
3197
- })) : f.value ? (p(), K(S, {
3197
+ })) : f.value ? (p(), K(w, {
3198
3198
  key: 1,
3199
3199
  "data-testid": "config-card-fetch-error",
3200
3200
  "icon-variant": "error"
@@ -3215,10 +3215,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3215
3215
  }, _e({ _: 2 }, [
3216
3216
  ie(Object.keys(g.$slots), (q) => ({
3217
3217
  name: q,
3218
- fn: b(({ row: J, rowValue: fe }) => [
3219
- V(g.$slots, q, {
3218
+ fn: b(({ row: J, rowValue: pe }) => [
3219
+ Y(g.$slots, q, {
3220
3220
  row: J,
3221
- rowValue: fe
3221
+ rowValue: pe
3222
3222
  }, void 0, !0)
3223
3223
  ])
3224
3224
  }))
@@ -3231,8 +3231,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3231
3231
  name: "title",
3232
3232
  fn: b(() => [
3233
3233
  L("div", Ho, [
3234
- V(g.$slots, "title", {}, () => [
3235
- Y(O(I(i)("baseConfigCard.title")), 1)
3234
+ Y(g.$slots, "title", {}, () => [
3235
+ V(O(I(i)("baseConfigCard.title")), 1)
3236
3236
  ], !0)
3237
3237
  ])
3238
3238
  ]),
@@ -3241,7 +3241,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3241
3241
  ]), 1024);
3242
3242
  };
3243
3243
  }
3244
- }), Dl = /* @__PURE__ */ re(Wo, [["__scopeId", "data-v-491f1797"]]), Jo = {
3244
+ }), Ml = /* @__PURE__ */ re(Wo, [["__scopeId", "data-v-491f1797"]]), Jo = {
3245
3245
  class: "form-actions",
3246
3246
  "data-testid": "form-actions"
3247
3247
  }, Go = { key: 0 }, Zo = /* @__PURE__ */ H({
@@ -3308,8 +3308,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3308
3308
  }), x = () => {
3309
3309
  m.value = !m.value;
3310
3310
  }, v = () => {
3311
- r.config.cancelRoute ? i.push(r.config.cancelRoute) : w();
3312
- }, w = () => {
3311
+ r.config.cancelRoute ? i.push(r.config.cancelRoute) : A();
3312
+ }, A = () => {
3313
3313
  n("cancel");
3314
3314
  }, M = () => {
3315
3315
  u.value || n("submit");
@@ -3338,8 +3338,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3338
3338
  s.value = !1;
3339
3339
  }
3340
3340
  }), (h, y) => {
3341
- const g = B("KSkeleton"), $ = B("KEmptyState"), F = B("KAlert"), _ = B("KButton"), j = B("KTabs"), T = B("KSlideout"), S = B("KCard");
3342
- return p(), K(S, { class: "kong-ui-entity-base-form" }, {
3341
+ const g = B("KSkeleton"), $ = B("KEmptyState"), F = B("KAlert"), _ = B("KButton"), j = B("KTabs"), T = B("KSlideout"), w = B("KCard");
3342
+ return p(), K(w, { class: "kong-ui-entity-base-form" }, {
3343
3343
  default: b(() => [
3344
3344
  s.value ? (p(), K(g, {
3345
3345
  key: 0,
@@ -3355,13 +3355,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3355
3355
  L("h3", null, O(d.value), 1)
3356
3356
  ]),
3357
3357
  _: 1
3358
- }, 8, ["action-button-text"])) : (p(), A("form", {
3358
+ }, 8, ["action-button-text"])) : (p(), S("form", {
3359
3359
  key: 2,
3360
3360
  "data-testid": "form-content",
3361
- onReset: He(w, ["prevent"]),
3361
+ onReset: He(A, ["prevent"]),
3362
3362
  onSubmit: He(M, ["prevent"])
3363
3363
  }, [
3364
- V(h.$slots, "default", {}, void 0, !0),
3364
+ Y(h.$slots, "default", {}, void 0, !0),
3365
3365
  e.errorMessage ? (p(), K(F, {
3366
3366
  key: 0,
3367
3367
  appearance: "danger",
@@ -3369,15 +3369,15 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3369
3369
  message: e.errorMessage
3370
3370
  }, null, 8, ["message"])) : D("", !0),
3371
3371
  L("div", Jo, [
3372
- V(h.$slots, "form-actions", {}, () => [
3373
- e.config.jsonYamlFormsEnabled ? (p(), A("div", Go, [
3372
+ Y(h.$slots, "form-actions", {}, () => [
3373
+ e.config.jsonYamlFormsEnabled ? (p(), S("div", Go, [
3374
3374
  N(_, {
3375
3375
  appearance: "tertiary",
3376
3376
  "data-testid": "form-view-configuration",
3377
3377
  onClick: y[0] || (y[0] = (U) => x())
3378
3378
  }, {
3379
3379
  default: b(() => [
3380
- Y(O(I(a)("baseForm.actions.viewConfiguration")), 1)
3380
+ V(O(I(a)("baseForm.actions.viewConfiguration")), 1)
3381
3381
  ]),
3382
3382
  _: 1
3383
3383
  })
@@ -3389,7 +3389,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3389
3389
  type: "reset"
3390
3390
  }, {
3391
3391
  default: b(() => [
3392
- Y(O(I(a)("baseForm.actions.cancel")), 1)
3392
+ V(O(I(a)("baseForm.actions.cancel")), 1)
3393
3393
  ]),
3394
3394
  _: 1
3395
3395
  }, 8, ["disabled"]),
@@ -3400,7 +3400,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3400
3400
  type: "submit"
3401
3401
  }, {
3402
3402
  default: b(() => [
3403
- Y(O(I(a)("baseForm.actions.save")), 1)
3403
+ V(O(I(a)("baseForm.actions.save")), 1)
3404
3404
  ]),
3405
3405
  _: 1
3406
3406
  }, 8, ["disabled"])
@@ -3445,7 +3445,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3445
3445
  });
3446
3446
  };
3447
3447
  }
3448
- }), jl = /* @__PURE__ */ re(Zo, [["__scopeId", "data-v-acb5a965"]]), Qo = {
3448
+ }), Dl = /* @__PURE__ */ re(Zo, [["__scopeId", "data-v-acb5a965"]]), Qo = {
3449
3449
  key: 0,
3450
3450
  "data-testid": "first-col"
3451
3451
  }, Xo = /* @__PURE__ */ H({
@@ -3468,27 +3468,27 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3468
3468
  var v;
3469
3469
  return ((v = n.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
3470
3470
  }), i = k(() => {
3471
- var w, M;
3472
- const v = (w = t.rowEl) == null ? void 0 : w.querySelectorAll("td");
3471
+ var A, M;
3472
+ const v = (A = t.rowEl) == null ? void 0 : A.querySelectorAll("td");
3473
3473
  return v ? ((M = v[0]) == null ? void 0 : M.getAttribute("data-testid")) === t.keyName : !1;
3474
3474
  });
3475
3475
  let a;
3476
3476
  const o = () => {
3477
3477
  a && (a.disconnect(), a = void 0);
3478
3478
  }, l = () => {
3479
- var v, w, M;
3480
- c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((w = n.value) == null ? void 0 : w.clientWidth) || 0, u.value = ((M = s.value) == null ? void 0 : M.innerText) || "";
3479
+ var v, A, M;
3480
+ c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((A = n.value) == null ? void 0 : A.clientWidth) || 0, u.value = ((M = s.value) == null ? void 0 : M.innerText) || "";
3481
3481
  }, s = R({}), c = R(0), d = R(0), u = R(""), m = k(() => [r.value, n.value]), f = Ae(
3482
3482
  m,
3483
3483
  (v) => {
3484
3484
  if (i.value && (o(), "ResizeObserver" in window && window)) {
3485
- a = new ResizeObserver((w) => {
3485
+ a = new ResizeObserver((A) => {
3486
3486
  window.requestAnimationFrame(() => {
3487
- !Array.isArray(w) || !w.length || l();
3487
+ !Array.isArray(A) || !A.length || l();
3488
3488
  });
3489
3489
  });
3490
- for (const w of v)
3491
- w && a.observe(w);
3490
+ for (const A of v)
3491
+ A && a.observe(A);
3492
3492
  }
3493
3493
  },
3494
3494
  { immediate: !0, flush: "post", deep: !0 }
@@ -3497,25 +3497,25 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3497
3497
  l();
3498
3498
  }), $n(() => {
3499
3499
  f();
3500
- }), (v, w) => {
3500
+ }), (v, A) => {
3501
3501
  const M = B("KTooltip");
3502
- return p(), A("span", {
3502
+ return p(), S("span", {
3503
3503
  ref_key: "contentRef",
3504
3504
  ref: s,
3505
3505
  class: "content-wrapper"
3506
3506
  }, [
3507
- i.value ? (p(), A("span", Qo, [
3507
+ i.value ? (p(), S("span", Qo, [
3508
3508
  N(M, {
3509
3509
  "max-width": "300",
3510
3510
  placement: "bottomStart",
3511
3511
  text: x.value ? u.value : ""
3512
3512
  }, {
3513
3513
  default: b(() => [
3514
- V(v.$slots, "default", {}, void 0, !0)
3514
+ Y(v.$slots, "default", {}, void 0, !0)
3515
3515
  ]),
3516
3516
  _: 3
3517
3517
  }, 8, ["text"])
3518
- ])) : V(v.$slots, "default", { key: 1 }, void 0, !0)
3518
+ ])) : Y(v.$slots, "default", { key: 1 }, void 0, !0)
3519
3519
  ], 512);
3520
3520
  };
3521
3521
  }
@@ -3679,7 +3679,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3679
3679
  r("clear-search-input");
3680
3680
  }, v = k(() => n.disableRowClick ? void 0 : (y, g) => {
3681
3681
  r("click:row", g);
3682
- }), w = (y) => {
3682
+ }), A = (y) => {
3683
3683
  r("sort", y);
3684
3684
  }, { setTablePreferences: M, getTablePreferences: E } = Hn(), ee = k(() => {
3685
3685
  const y = E(n.preferencesStorageKey);
@@ -3724,31 +3724,31 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3724
3724
  "search-input": e.query,
3725
3725
  onKtableEmptyStateCtaClicked: f,
3726
3726
  "onRow:click": v.value,
3727
- onSort: g[0] || (g[0] = (S) => w(S)),
3727
+ onSort: g[0] || (g[0] = (w) => A(w)),
3728
3728
  "onUpdate:tablePreferences": h
3729
3729
  }, _e({
3730
- toolbar: b(({ state: S }) => [
3731
- pe(L("div", tl, [
3732
- V(y.$slots, "toolbar-filter", {}, void 0, !0),
3733
- y.$slots["toolbar-button"] ? (p(), A("div", nl, [
3734
- V(y.$slots, "toolbar-button", {}, void 0, !0)
3730
+ toolbar: b(({ state: w }) => [
3731
+ he(L("div", tl, [
3732
+ Y(y.$slots, "toolbar-filter", {}, void 0, !0),
3733
+ y.$slots["toolbar-button"] ? (p(), S("div", nl, [
3734
+ Y(y.$slots, "toolbar-button", {}, void 0, !0)
3735
3735
  ])) : D("", !0)
3736
3736
  ], 512), [
3737
- [he, l(S)]
3737
+ [me, l(w)]
3738
3738
  ])
3739
3739
  ]),
3740
- actions: b(({ row: S, rowKey: U, rowValue: q }) => [
3740
+ actions: b(({ row: w, rowKey: U, rowValue: q }) => [
3741
3741
  L("div", {
3742
3742
  class: "actions-container",
3743
- "data-testid": S.name
3743
+ "data-testid": w.name
3744
3744
  }, [
3745
3745
  N(_, {
3746
3746
  "kpop-attributes": { placement: "bottomEnd" },
3747
3747
  width: e.dropdownMenuWidth
3748
3748
  }, {
3749
3749
  items: b(() => [
3750
- V(y.$slots, "actions", {
3751
- row: S,
3750
+ Y(y.$slots, "actions", {
3751
+ row: w,
3752
3752
  rowKey: U,
3753
3753
  rowValue: q
3754
3754
  }, void 0, !0)
@@ -3775,20 +3775,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3775
3775
  ]),
3776
3776
  _: 2
3777
3777
  }, [
3778
- ie(e.tableHeaders, (S, U) => ({
3778
+ ie(e.tableHeaders, (w, U) => ({
3779
3779
  name: U,
3780
- fn: b(({ row: q, rowKey: J, rowValue: fe }) => [
3780
+ fn: b(({ row: q, rowKey: J, rowValue: pe }) => [
3781
3781
  N(el, {
3782
3782
  "key-name": String(U),
3783
3783
  "row-el": u(q)
3784
3784
  }, {
3785
3785
  default: b(() => [
3786
- V(y.$slots, U, {
3786
+ Y(y.$slots, U, {
3787
3787
  row: q,
3788
3788
  rowKey: J,
3789
- rowValue: fe
3789
+ rowValue: pe
3790
3790
  }, () => [
3791
- Y(O(fe), 1)
3791
+ V(O(pe), 1)
3792
3792
  ], !0)
3793
3793
  ]),
3794
3794
  _: 2
@@ -3808,7 +3808,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3808
3808
  }, 8, ["title"]);
3809
3809
  };
3810
3810
  }
3811
- }), Ul = /* @__PURE__ */ re(il, [["__scopeId", "data-v-273124cf"]]), al = {
3811
+ }), jl = /* @__PURE__ */ re(il, [["__scopeId", "data-v-273124cf"]]), al = {
3812
3812
  key: 0,
3813
3813
  class: "kong-ui-entity-delete-error"
3814
3814
  }, ol = {
@@ -3872,10 +3872,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3872
3872
  onProceed: l
3873
3873
  }, {
3874
3874
  default: b(() => [
3875
- e.error ? (p(), A("div", al, [
3875
+ e.error ? (p(), S("div", al, [
3876
3876
  N(d, { appearance: "danger" }, {
3877
3877
  default: b(() => [
3878
- Y(O(e.error), 1)
3878
+ V(O(e.error), 1)
3879
3879
  ]),
3880
3880
  _: 1
3881
3881
  })
@@ -3886,7 +3886,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3886
3886
  tag: "p"
3887
3887
  }, _e({
3888
3888
  entityType: b(() => [
3889
- Y(O(r.entityType), 1)
3889
+ V(O(r.entityType), 1)
3890
3890
  ]),
3891
3891
  _: 2
3892
3892
  }, [
@@ -3898,8 +3898,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3898
3898
  key: "0"
3899
3899
  } : void 0
3900
3900
  ]), 1032, ["keypath"]),
3901
- r.description || s.$slots.description ? (p(), A("div", ol, [
3902
- V(s.$slots, "description", {}, () => [
3901
+ r.description || s.$slots.description ? (p(), S("div", ol, [
3902
+ Y(s.$slots, "description", {}, () => [
3903
3903
  L("p", null, O(r.description), 1)
3904
3904
  ], !0)
3905
3905
  ])) : D("", !0)
@@ -3908,7 +3908,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3908
3908
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3909
3909
  };
3910
3910
  }
3911
- }), ql = /* @__PURE__ */ re(ll, [["__scopeId", "data-v-4361d622"]]), sl = {
3911
+ }), Ul = /* @__PURE__ */ re(ll, [["__scopeId", "data-v-4361d622"]]), sl = {
3912
3912
  fill: "none",
3913
3913
  height: "20",
3914
3914
  viewBox: "0 0 20 20",
@@ -3931,7 +3931,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3931
3931
  }
3932
3932
  },
3933
3933
  setup(e) {
3934
- return (t, n) => (p(), A("svg", sl, [
3934
+ return (t, n) => (p(), S("svg", sl, [
3935
3935
  L("mask", cl, [
3936
3936
  L("rect", {
3937
3937
  fill: e.color,
@@ -4002,7 +4002,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4002
4002
  value: $,
4003
4003
  label: $
4004
4004
  }));
4005
- }, w = (h) => {
4005
+ }, A = (h) => {
4006
4006
  var y, g;
4007
4007
  return ((g = (y = r.config.schema) == null ? void 0 : y[h]) == null ? void 0 : g.type) ?? "text";
4008
4008
  }, M = (h) => {
@@ -4031,15 +4031,15 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4031
4031
  N(Et)
4032
4032
  ]),
4033
4033
  after: b(() => [
4034
- pe(N(I(Ko), {
4034
+ he(N(I(Ko), {
4035
4035
  class: "kong-ui-entity-filter-clear",
4036
4036
  onClick: f
4037
4037
  }, null, 512), [
4038
- [he, e.modelValue !== ""]
4038
+ [me, e.modelValue !== ""]
4039
4039
  ])
4040
4040
  ]),
4041
4041
  _: 1
4042
- }, 8, ["model-value", "placeholder"])) : (p(), A("div", pl, [
4042
+ }, 8, ["model-value", "placeholder"])) : (p(), S("div", pl, [
4043
4043
  N($, {
4044
4044
  appearance: "tertiary",
4045
4045
  "data-testid": "filter-button",
@@ -4047,20 +4047,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4047
4047
  }, {
4048
4048
  default: b(() => [
4049
4049
  N(Et),
4050
- Y(" " + O(I(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4050
+ V(" " + O(I(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4051
4051
  ]),
4052
4052
  _: 1
4053
4053
  }),
4054
- pe(L("div", {
4054
+ he(L("div", {
4055
4055
  class: "kong-ui-entity-filter-backdrop",
4056
4056
  onClick: d
4057
4057
  }, null, 512), [
4058
- [he, a.value]
4058
+ [me, a.value]
4059
4059
  ]),
4060
- pe(L("div", hl, [
4061
- (p(!0), A(le, null, ie(c.value, (_) => {
4060
+ he(L("div", hl, [
4061
+ (p(!0), S(le, null, ie(c.value, (_) => {
4062
4062
  var j, T;
4063
- return p(), A("div", {
4063
+ return p(), S("div", {
4064
4064
  key: _.value,
4065
4065
  class: "kong-ui-entity-filter-menu-item",
4066
4066
  "data-testid": _.value
@@ -4069,19 +4069,19 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4069
4069
  class: ue(["menu-item-title", { expanded: l.value.has(_.value) }]),
4070
4070
  role: "button",
4071
4071
  tabindex: "0",
4072
- onClick: (S) => u(_.value),
4073
- onKeydown: Ln((S) => u(_.value), ["enter"])
4072
+ onClick: (w) => u(_.value),
4073
+ onKeydown: Ln((w) => u(_.value), ["enter"])
4074
4074
  }, [
4075
- Y(O(_.label) + " ", 1),
4076
- pe(L("span", yl, null, 512), [
4077
- [he, s.value.includes(_.value)]
4075
+ V(O(_.label) + " ", 1),
4076
+ he(L("span", yl, null, 512), [
4077
+ [me, s.value.includes(_.value)]
4078
4078
  ]),
4079
4079
  N(I(Oo), {
4080
4080
  class: ue(["menu-item-expand-icon", { expanded: l.value.has(_.value) }]),
4081
4081
  color: I(_r)
4082
4082
  }, null, 8, ["class", "color"])
4083
4083
  ], 42, gl),
4084
- pe(L("div", vl, [
4084
+ he(L("div", vl, [
4085
4085
  L("label", {
4086
4086
  class: "menu-item-label",
4087
4087
  for: x(_.value)
@@ -4090,30 +4090,30 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4090
4090
  key: 0,
4091
4091
  id: x(_.value),
4092
4092
  modelValue: o.value[_.value],
4093
- "onUpdate:modelValue": (S) => o.value[_.value] = S,
4093
+ "onUpdate:modelValue": (w) => o.value[_.value] = w,
4094
4094
  items: v(_.value),
4095
4095
  placeholder: I(n)("filter.selectPlaceholder")
4096
4096
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(), K(g, {
4097
4097
  key: 1,
4098
4098
  id: x(_.value),
4099
4099
  modelValue: o.value[_.value],
4100
- "onUpdate:modelValue": (S) => o.value[_.value] = S,
4100
+ "onUpdate:modelValue": (w) => o.value[_.value] = w,
4101
4101
  autocomplete: "off",
4102
4102
  placeholder: I(n)("filter.inputPlaceholder"),
4103
- type: w(_.value)
4103
+ type: A(_.value)
4104
4104
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4105
4105
  ], 512), [
4106
- [he, l.value.has(_.value)]
4106
+ [me, l.value.has(_.value)]
4107
4107
  ]),
4108
- pe(L("div", xl, [
4108
+ he(L("div", xl, [
4109
4109
  N($, {
4110
4110
  appearance: "tertiary",
4111
4111
  "data-testid": "apply-filter",
4112
4112
  size: "small",
4113
- onClick: y[0] || (y[0] = (S) => ee(!0))
4113
+ onClick: y[0] || (y[0] = (w) => ee(!0))
4114
4114
  }, {
4115
4115
  default: b(() => [
4116
- Y(O(I(n)("filter.applyButtonText")), 1)
4116
+ V(O(I(n)("filter.applyButtonText")), 1)
4117
4117
  ]),
4118
4118
  _: 1
4119
4119
  }),
@@ -4121,15 +4121,15 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4121
4121
  appearance: "tertiary",
4122
4122
  "data-testid": "clear-filter",
4123
4123
  size: "small",
4124
- onClick: (S) => M(_.value)
4124
+ onClick: (w) => M(_.value)
4125
4125
  }, {
4126
4126
  default: b(() => [
4127
- Y(O(I(n)("filter.clearButtonText")), 1)
4127
+ V(O(I(n)("filter.clearButtonText")), 1)
4128
4128
  ]),
4129
4129
  _: 2
4130
4130
  }, 1032, ["onClick"])
4131
4131
  ], 512), [
4132
- [he, l.value.has(_.value)]
4132
+ [me, l.value.has(_.value)]
4133
4133
  ])
4134
4134
  ], 8, ml);
4135
4135
  }), 128)),
@@ -4140,18 +4140,18 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4140
4140
  onClick: E
4141
4141
  }, {
4142
4142
  default: b(() => [
4143
- Y(O(I(n)("filter.clearAllButtonText")), 1)
4143
+ V(O(I(n)("filter.clearAllButtonText")), 1)
4144
4144
  ]),
4145
4145
  _: 1
4146
4146
  })
4147
4147
  ])
4148
4148
  ], 512), [
4149
- [he, a.value]
4149
+ [me, a.value]
4150
4150
  ])
4151
4151
  ]));
4152
4152
  };
4153
4153
  }
4154
- }), Pl = /* @__PURE__ */ re(_l, [["__scopeId", "data-v-8cfadde3"]]), Hl = /* @__PURE__ */ H({
4154
+ }), ql = /* @__PURE__ */ re(_l, [["__scopeId", "data-v-8cfadde3"]]), Pl = /* @__PURE__ */ H({
4155
4155
  __name: "EntityToggleModal",
4156
4156
  props: {
4157
4157
  visible: {
@@ -4217,7 +4217,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4217
4217
  scope: "global"
4218
4218
  }, {
4219
4219
  entityType: b(() => [
4220
- Y(O(e.entityType), 1)
4220
+ V(O(e.entityType), 1)
4221
4221
  ]),
4222
4222
  entityName: b(() => [
4223
4223
  L("strong", null, O(e.entityName), 1)
@@ -4230,7 +4230,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4230
4230
  ]);
4231
4231
  };
4232
4232
  }
4233
- }), Vl = /* @__PURE__ */ H({
4233
+ }), Hl = /* @__PURE__ */ H({
4234
4234
  __name: "PermissionsWrapper",
4235
4235
  props: {
4236
4236
  /**
@@ -4255,27 +4255,28 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4255
4255
  const t = e, n = R(void 0), r = k(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4256
4256
  return Ae(() => t.authFunction, async () => {
4257
4257
  n.value = await t.authFunction();
4258
- }, { immediate: !0 }), (i, a) => r.value ? V(i.$slots, "default", {
4258
+ }, { immediate: !0 }), (i, a) => r.value ? Y(i.$slots, "default", {
4259
4259
  key: 0,
4260
4260
  isAllowed: n.value
4261
4261
  }) : D("", !0);
4262
4262
  }
4263
4263
  }), kl = { class: "form-section-wrapper" }, Al = {
4264
- key: 0,
4265
- class: "form-section-title"
4266
- }, wl = {
4267
4264
  key: 1,
4268
4265
  class: "form-section-description"
4269
- }, Sl = {
4266
+ }, wl = {
4270
4267
  key: 2,
4271
4268
  class: "form-section-footer"
4272
- }, Il = { class: "form-section-content" }, El = /* @__PURE__ */ H({
4269
+ }, Sl = { class: "form-section-content" }, Il = /* @__PURE__ */ H({
4273
4270
  __name: "EntityFormSection",
4274
4271
  props: {
4275
4272
  title: {
4276
4273
  type: String,
4277
4274
  default: ""
4278
4275
  },
4276
+ titleTag: {
4277
+ type: String,
4278
+ default: "h2"
4279
+ },
4279
4280
  description: {
4280
4281
  type: String,
4281
4282
  default: ""
@@ -4295,37 +4296,45 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4295
4296
  },
4296
4297
  setup(e) {
4297
4298
  const t = Ge();
4298
- return (n, r) => (p(), A("fieldset", {
4299
+ return (n, r) => (p(), S("fieldset", {
4299
4300
  class: ue(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4300
4301
  }, [
4301
4302
  L("div", kl, [
4302
- e.hideInfoHeader ? D("", !0) : (p(), A("div", {
4303
+ e.hideInfoHeader ? D("", !0) : (p(), S("div", {
4303
4304
  key: 0,
4304
4305
  class: ue(["form-section-info", { sticky: e.stickyInfoHeader }])
4305
4306
  }, [
4306
- e.title ? (p(), A("h4", Al, O(e.title), 1)) : D("", !0),
4307
- e.description || I(t).description ? (p(), A("div", wl, [
4308
- V(n.$slots, "description", {}, () => [
4307
+ e.title ? (p(), K(fe(e.titleTag), {
4308
+ key: 0,
4309
+ class: "form-section-title"
4310
+ }, {
4311
+ default: b(() => [
4312
+ V(O(e.title), 1)
4313
+ ]),
4314
+ _: 1
4315
+ })) : D("", !0),
4316
+ e.description || I(t).description ? (p(), S("div", Al, [
4317
+ Y(n.$slots, "description", {}, () => [
4309
4318
  L("p", null, O(e.description), 1)
4310
4319
  ], !0)
4311
4320
  ])) : D("", !0),
4312
- I(t).footer ? (p(), A("div", Sl, [
4313
- V(n.$slots, "footer", {}, void 0, !0)
4321
+ I(t).footer ? (p(), S("div", wl, [
4322
+ Y(n.$slots, "footer", {}, void 0, !0)
4314
4323
  ])) : D("", !0)
4315
4324
  ], 2)),
4316
- L("div", Il, [
4317
- V(n.$slots, "default", {}, void 0, !0)
4325
+ L("div", Sl, [
4326
+ Y(n.$slots, "default", {}, void 0, !0)
4318
4327
  ])
4319
4328
  ])
4320
4329
  ], 2));
4321
4330
  }
4322
- }), Yl = /* @__PURE__ */ re(El, [["__scopeId", "data-v-3565daa7"]]), Tl = {
4331
+ }), Vl = /* @__PURE__ */ re(Il, [["__scopeId", "data-v-04c961fd"]]), El = {
4323
4332
  class: "kong-ui-public-entity-link",
4324
4333
  "data-testid": "entity-link-parent"
4325
- }, Fl = {
4334
+ }, Tl = {
4326
4335
  key: 0,
4327
4336
  class: "deleted-entity"
4328
- }, Ol = { key: 1 }, $l = ["onClick"], Ll = /* @__PURE__ */ H({
4337
+ }, Fl = { key: 1 }, Ol = ["onClick"], $l = /* @__PURE__ */ H({
4329
4338
  __name: "EntityLink",
4330
4339
  props: {
4331
4340
  entityLinkData: {
@@ -4356,8 +4365,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4356
4365
  };
4357
4366
  return (u, m) => {
4358
4367
  const f = B("KTooltip"), x = B("KExternalLink"), v = B("KClipboardProvider");
4359
- return p(), A("div", Tl, [
4360
- l.value ? (p(), A("div", Fl, O(c.value), 1)) : s.value ? s.value ? (p(), K(x, {
4368
+ return p(), S("div", El, [
4369
+ l.value ? (p(), S("div", Tl, O(c.value), 1)) : s.value ? s.value ? (p(), K(x, {
4361
4370
  key: 2,
4362
4371
  class: "entity-link",
4363
4372
  "hide-icon": !e.newWindow,
@@ -4379,7 +4388,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4379
4388
  }, 8, ["text"])
4380
4389
  ]),
4381
4390
  _: 1
4382
- }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (p(), A("div", Ol, O(" – "))),
4391
+ }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (p(), S("div", Fl, O(" – "))),
4383
4392
  s.value && e.allowCopy ? (p(), K(f, {
4384
4393
  key: o.value,
4385
4394
  class: "copy-uuid-tooltip",
@@ -4389,10 +4398,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4389
4398
  }, {
4390
4399
  default: b(() => [
4391
4400
  N(v, null, {
4392
- default: b(({ copyToClipboard: w }) => [
4401
+ default: b(({ copyToClipboard: A }) => [
4393
4402
  L("span", {
4394
4403
  class: "entity-link-copy-id",
4395
- onClick: He((M) => d(w), ["stop"])
4404
+ onClick: He((M) => d(A), ["stop"])
4396
4405
  }, [
4397
4406
  N(I(Po), {
4398
4407
  class: "copy-icon",
@@ -4400,7 +4409,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4400
4409
  "data-testid": "copy-id",
4401
4410
  size: I(wr)
4402
4411
  }, null, 8, ["color", "size"])
4403
- ], 8, $l)
4412
+ ], 8, Ol)
4404
4413
  ]),
4405
4414
  _: 1
4406
4415
  })
@@ -4410,36 +4419,36 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4410
4419
  ]);
4411
4420
  };
4412
4421
  }
4413
- }), zl = /* @__PURE__ */ re(Ll, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Wl, useDeleteUrlBuilder: Jl, useErrors: Gl, useExternalLinkCreator: Zl, useFetchUrlBuilder: Ql, useFetcher: Xl, useDebouncedFilter: es, useStringHelpers: ts, useHelpers: ns, useGatewayFeatureSupported: rs, useTruncationDetector: is } = z;
4422
+ }), Yl = /* @__PURE__ */ re($l, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: zl, useDeleteUrlBuilder: Wl, useErrors: Jl, useExternalLinkCreator: Gl, useFetchUrlBuilder: Zl, useFetcher: Ql, useDebouncedFilter: Xl, useStringHelpers: es, useHelpers: ts, useGatewayFeatureSupported: ns, useTruncationDetector: rs } = z;
4414
4423
  export {
4415
4424
  po as ConfigCardDisplay,
4416
4425
  Rt as ConfigCardItem,
4417
4426
  ne as ConfigurationSchemaSection,
4418
4427
  P as ConfigurationSchemaType,
4419
- Dl as EntityBaseConfigCard,
4420
- jl as EntityBaseForm,
4428
+ Ml as EntityBaseConfigCard,
4429
+ Dl as EntityBaseForm,
4421
4430
  jn as EntityBaseFormType,
4422
- Ul as EntityBaseTable,
4423
- ql as EntityDeleteModal,
4424
- Pl as EntityFilter,
4425
- Yl as EntityFormSection,
4426
- zl as EntityLink,
4427
- Hl as EntityToggleModal,
4431
+ jl as EntityBaseTable,
4432
+ Ul as EntityDeleteModal,
4433
+ ql as EntityFilter,
4434
+ Vl as EntityFormSection,
4435
+ Yl as EntityLink,
4436
+ Pl as EntityToggleModal,
4428
4437
  Dn as EntityTypes,
4429
4438
  ve as FetcherStatus,
4430
4439
  yr as InternalLinkItem,
4431
4440
  Kt as JsonCodeBlock,
4432
- Vl as PermissionsWrapper,
4441
+ Hl as PermissionsWrapper,
4433
4442
  Sn as YamlCodeBlock,
4434
- Wl as useAxios,
4435
- es as useDebouncedFilter,
4436
- Jl as useDeleteUrlBuilder,
4437
- Gl as useErrors,
4438
- Zl as useExternalLinkCreator,
4439
- Ql as useFetchUrlBuilder,
4440
- Xl as useFetcher,
4441
- rs as useGatewayFeatureSupported,
4442
- ns as useHelpers,
4443
- ts as useStringHelpers,
4444
- is as useTruncationDetector
4443
+ zl as useAxios,
4444
+ Xl as useDebouncedFilter,
4445
+ Wl as useDeleteUrlBuilder,
4446
+ Jl as useErrors,
4447
+ Gl as useExternalLinkCreator,
4448
+ Zl as useFetchUrlBuilder,
4449
+ Ql as useFetcher,
4450
+ ns as useGatewayFeatureSupported,
4451
+ ts as useHelpers,
4452
+ es as useStringHelpers,
4453
+ rs as useTruncationDetector
4445
4454
  };