@kong-ui-public/entities-key-sets 2.3.19 → 2.3.20

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 { defineComponent as G, ref as F, computed as T, watch as xe, renderSlot as H, createCommentVNode as V, unref as b, useSlots as We, onBeforeMount as ct, resolveComponent as E, openBlock as p, createBlock as q, createSlots as Se, withCtx as m, createElementVNode as U, createTextVNode as z, toDisplayString as N, createVNode as O, createElementBlock as j, renderList as de, Fragment as fe, normalizeClass as ke, withModifiers as Re, withDirectives as Ee, vShow as Ne, useCssVars as Gt, inject as Qt, resolveDynamicComponent as Ie, normalizeProps as aa, guardReactiveProps as ia, mergeProps as nt, onMounted as ra, onUnmounted as oa, normalizeStyle as Xt, pushScopeId as en, popScopeId as tn, reactive as At } from "vue";
1
+ import { defineComponent as G, ref as F, computed as j, watch as xe, renderSlot as H, createCommentVNode as V, unref as C, useSlots as We, onBeforeMount as ct, resolveComponent as E, openBlock as p, createBlock as q, createSlots as Se, withCtx as m, createElementVNode as U, createTextVNode as z, toDisplayString as N, createVNode as O, createElementBlock as T, renderList as de, Fragment as fe, normalizeClass as ke, withModifiers as De, withDirectives as Ee, vShow as Ne, useCssVars as Gt, inject as Qt, resolveDynamicComponent as Ie, normalizeProps as aa, guardReactiveProps as ia, mergeProps as nt, onMounted as ra, onUnmounted as oa, normalizeStyle as Xt, pushScopeId as en, popScopeId as tn, reactive as At } from "vue";
2
2
  import { useRouter as ut } from "vue-router";
3
3
  import { createI18n as dt, i18nTComponent as nn } from "@kong-ui-public/i18n";
4
4
  import It from "axios";
@@ -338,7 +338,7 @@ function Ia(e, t, n, a = {
338
338
  headers: e.requestHeaders
339
339
  }), { i18n: { t: o } } = gt(), { debounce: r } = pa(), l = r(async (g) => {
340
340
  await I(g);
341
- }, 200), s = F(!1), c = F(""), d = F(""), u = F([]), y = F([]), f = F(void 0), w = b(t);
341
+ }, 200), s = F(!1), c = F(""), d = F(""), u = F([]), y = F([]), f = F(void 0), w = C(t);
342
342
  let h = `${e.apiBaseUrl}${w}`;
343
343
  e.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
344
344
  const { isValidUuid: A } = rn(), v = async () => {
@@ -351,10 +351,10 @@ function Ia(e, t, n, a = {
351
351
  } finally {
352
352
  s.value = !1;
353
353
  }
354
- }, k = F(""), I = async (g) => {
355
- var C, x, re;
356
- if (k.value !== g)
357
- if (k.value = g || "", f.value === void 0)
354
+ }, b = F(""), I = async (g) => {
355
+ var k, x, re;
356
+ if (b.value !== g)
357
+ if (b.value = g || "", f.value === void 0)
358
358
  try {
359
359
  if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
360
360
  let B = h + "";
@@ -373,10 +373,10 @@ function Ia(e, t, n, a = {
373
373
  })
374
374
  );
375
375
  const S = await Promise.all(B), L = /* @__PURE__ */ new Set();
376
- u.value = [], (C = S == null ? void 0 : S.forEach) == null || C.call(S, ($) => {
376
+ u.value = [], (k = S == null ? void 0 : S.forEach) == null || k.call(S, ($) => {
377
377
  var K;
378
- (K = $ == null ? void 0 : $.forEach) == null || K.call($, (D) => {
379
- L.has(D.id) || (L.add(D.id), u.value.push(D));
378
+ (K = $ == null ? void 0 : $.forEach) == null || K.call($, (R) => {
379
+ L.has(R.id) || (L.add(R.id), u.value.push(R));
380
380
  });
381
381
  });
382
382
  } else
@@ -408,7 +408,7 @@ function Ia(e, t, n, a = {
408
408
  };
409
409
  }
410
410
  function xa(e, t) {
411
- const n = b(t), a = T(
411
+ const n = C(t), a = j(
412
412
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
413
413
  );
414
414
  return a.value.search = "", (i) => `${a.value.href}/${i}`;
@@ -443,7 +443,7 @@ function _a() {
443
443
  }
444
444
  };
445
445
  }
446
- function Ta(e) {
446
+ function ja(e) {
447
447
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
448
448
  try {
449
449
  const a = e.join("/"), i = `${n}${a}`, o = e.some((r) => r.trim() === "");
@@ -455,9 +455,9 @@ function Ta(e) {
455
455
  }
456
456
  }
457
457
  function on(e, t) {
458
- const n = F(b(e)), a = F(b(t)), i = T(
458
+ const n = F(C(e)), a = F(C(t)), i = j(
459
459
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
460
- ), o = T(
460
+ ), o = j(
461
461
  () => a.value.startsWith("/") ? new URL(`${window.location.origin}${a.value}`) : new URL(a.value)
462
462
  );
463
463
  return (r) => {
@@ -472,8 +472,8 @@ function on(e, t) {
472
472
  }
473
473
  };
474
474
  }
475
- function ja(e, t, n = "data") {
476
- const a = b(t), { axiosInstance: i } = ft({
475
+ function Ta(e, t, n = "data") {
476
+ const a = C(t), { axiosInstance: i } = ft({
477
477
  headers: e.requestHeaders
478
478
  }), o = on(e, a), r = F({
479
479
  status: we.Idle
@@ -530,15 +530,15 @@ const ln = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
530
530
  if (!t)
531
531
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
532
532
  return t.shift(), t;
533
- }, _t = (e) => e === "*" || e === "x" || e === "X", Tt = (e) => {
533
+ }, _t = (e) => e === "*" || e === "x" || e === "X", jt = (e) => {
534
534
  const t = parseInt(e, 10);
535
535
  return isNaN(t) ? e : t;
536
536
  }, $a = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ma = (e, t) => {
537
537
  if (_t(e) || _t(t))
538
538
  return 0;
539
- const [n, a] = $a(Tt(e), Tt(t));
539
+ const [n, a] = $a(jt(e), jt(t));
540
540
  return n > a ? 1 : n < a ? -1 : 0;
541
- }, jt = (e, t) => {
541
+ }, Tt = (e, t) => {
542
542
  for (let n = 0; n < Math.max(e.length, t.length); n++) {
543
543
  const a = Ma(e[n] || "0", t[n] || "0");
544
544
  if (a !== 0)
@@ -546,8 +546,8 @@ const ln = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
546
546
  }
547
547
  return 0;
548
548
  }, Fa = (e, t) => {
549
- const n = xt(e), a = xt(t), i = n.pop(), o = a.pop(), r = jt(n, a);
550
- return r !== 0 ? r : i && o ? jt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
549
+ const n = xt(e), a = xt(t), i = n.pop(), o = a.pop(), r = Tt(n, a);
550
+ return r !== 0 ? r : i && o ? Tt(i.split("."), o.split(".")) : i || o ? i ? -1 : 1 : 0;
551
551
  }, Ot = (e, t, n) => {
552
552
  Ea(n);
553
553
  const a = Fa(e, t);
@@ -583,7 +583,7 @@ function qa(e) {
583
583
  return xe(e, (i) => {
584
584
  i && !a.value && (t.value = i.offsetWidth, n.value = i.scrollWidth, a.value = !0);
585
585
  }), {
586
- isTruncated: T(() => t.value < n.value)
586
+ isTruncated: j(() => t.value < n.value)
587
587
  };
588
588
  }
589
589
  const ie = {
@@ -591,8 +591,8 @@ const ie = {
591
591
  useDebouncedFilter: Ia,
592
592
  useDeleteUrlBuilder: xa,
593
593
  useErrors: _a,
594
- useExternalLinkCreator: Ta,
595
- useFetcher: ja,
594
+ useExternalLinkCreator: ja,
595
+ useFetcher: Ta,
596
596
  useFetchUrlBuilder: on,
597
597
  useHelpers: rn,
598
598
  useStringHelpers: Oa,
@@ -608,7 +608,7 @@ const ie = {
608
608
  }, La = "Copy to clipboard", Ua = {
609
609
  message: Ba,
610
610
  iconTitle: La
611
- }, Da = "kong-ui-copy-uuid-notify", Mt = "24px", Ra = (e, t) => {
611
+ }, Ra = "kong-ui-copy-uuid-notify", Mt = "24px", Da = (e, t) => {
612
612
  const n = e.__vccOpts || e;
613
613
  for (const [a, i] of t)
614
614
  n[a] = i;
@@ -671,7 +671,7 @@ const ie = {
671
671
  }
672
672
  },
673
673
  setup(e) {
674
- const t = e, n = T(() => {
674
+ const t = e, n = j(() => {
675
675
  if (typeof t.size == "number" && t.size > 0)
676
676
  return `${t.size}px`;
677
677
  if (typeof t.size == "string") {
@@ -680,7 +680,7 @@ const ie = {
680
680
  return `${o}px`;
681
681
  }
682
682
  return Mt;
683
- }), a = T(() => ({
683
+ }), a = j(() => ({
684
684
  boxSizing: "border-box",
685
685
  color: t.color,
686
686
  display: t.display,
@@ -695,7 +695,7 @@ const ie = {
695
695
  style: Xt(a.value)
696
696
  }, {
697
697
  default: m(() => [
698
- (p(), j("svg", {
698
+ (p(), T("svg", {
699
699
  "aria-hidden": e.decorative ? "true" : void 0,
700
700
  "data-testid": "kui-icon-svg-copy-icon",
701
701
  fill: "none",
@@ -705,14 +705,14 @@ const ie = {
705
705
  width: "100%",
706
706
  xmlns: "http://www.w3.org/2000/svg"
707
707
  }, [
708
- e.title ? (p(), j("title", za, N(e.title), 1)) : V("", !0),
708
+ e.title ? (p(), T("title", za, N(e.title), 1)) : V("", !0),
709
709
  Ha
710
710
  ], 8, Va))
711
711
  ]),
712
712
  _: 1
713
713
  }, 8, ["aria-hidden", "style"]));
714
714
  }
715
- }), Ya = /* @__PURE__ */ Ra(Ja, [["__scopeId", "data-v-13f41aa3"]]), Wa = "16px", Za = { class: "kong-ui-copy-uuid" }, Ga = ["onClick"], Ft = 15, Qa = /* @__PURE__ */ G({
715
+ }), Ya = /* @__PURE__ */ Da(Ja, [["__scopeId", "data-v-13f41aa3"]]), Wa = "16px", Za = { class: "kong-ui-copy-uuid" }, Ga = ["onClick"], Ft = 15, Qa = /* @__PURE__ */ G({
716
716
  __name: "CopyUuid",
717
717
  props: {
718
718
  uuid: {
@@ -756,19 +756,19 @@ const ie = {
756
756
  },
757
757
  emits: ["success", "error"],
758
758
  setup(e, { emit: t }) {
759
- const { t: n } = dt("en-us", Ua), a = e, i = t, o = a.notify || Qt(Da, () => {
760
- }), r = T(() => a.idTooltip ? {
759
+ const { t: n } = dt("en-us", Ua), a = e, i = t, o = a.notify || Qt(Ra, () => {
760
+ }), r = j(() => a.idTooltip ? {
761
761
  label: a.idTooltip,
762
762
  positionFixed: !0,
763
763
  placement: "bottomStart"
764
764
  } : {
765
765
  title: a.uuid
766
- }), l = T(() => !!(a.tooltip && a.successTooltip)), s = F(a.tooltip), c = T(() => a.tooltip ? {
766
+ }), l = j(() => !!(a.tooltip && a.successTooltip)), s = F(a.tooltip), c = j(() => a.tooltip ? {
767
767
  label: s.value,
768
768
  positionFixed: !0,
769
769
  maxWidth: "500px",
770
770
  placement: "bottomStart"
771
- } : {}), d = T(() => {
771
+ } : {}), d = j(() => {
772
772
  var f;
773
773
  return a.format === "redacted" ? "*****" : a.format === "deleted" ? `*${(f = a.uuid) == null ? void 0 : f.substring(0, 5)}` : a.uuid;
774
774
  }), u = (f) => {
@@ -792,7 +792,7 @@ const ie = {
792
792
  };
793
793
  return (f, w) => {
794
794
  const h = E("KClipboardProvider");
795
- return p(), j("div", Za, [
795
+ return p(), T("div", Za, [
796
796
  e.format !== "hidden" ? (p(), q(Ie(e.idTooltip ? "KTooltip" : "div"), nt({ key: 0 }, r.value, { "data-testid": "copy-id" }), {
797
797
  default: m(() => [
798
798
  U("div", {
@@ -813,14 +813,14 @@ const ie = {
813
813
  "data-testid": "copy-to-clipboard",
814
814
  role: "button",
815
815
  tabindex: "0",
816
- onClick: Re((v) => y(A), ["stop"])
816
+ onClick: De((v) => y(A), ["stop"])
817
817
  }, [
818
- O(b(Ya), {
818
+ O(C(Ya), {
819
819
  class: "uuid-icon",
820
820
  color: e.iconColor,
821
821
  decorative: !!e.tooltip,
822
- size: b(Wa),
823
- title: b(n)("iconTitle")
822
+ size: C(Wa),
823
+ title: C(n)("iconTitle")
824
824
  }, null, 8, ["color", "decorative", "size", "title"])
825
825
  ], 8, Ga)
826
826
  ]),
@@ -857,10 +857,10 @@ const ie = {
857
857
  }
858
858
  },
859
859
  setup(e) {
860
- const t = e, { i18n: { t: n } } = ie.useI18n(), { convertKeyToTitle: a } = ie.useStringHelpers(), i = T(() => t.item.key ?? "json-array-item"), o = T(() => t.item.value ?? t.item), r = T(() => {
860
+ const t = e, { i18n: { t: n } } = ie.useI18n(), { convertKeyToTitle: a } = ie.useStringHelpers(), i = j(() => t.item.key ?? "json-array-item"), o = j(() => t.item.value ?? t.item), r = j(() => {
861
861
  const s = JSON.parse(JSON.stringify(o.value));
862
862
  return t.isArrayItem && delete s.name, s;
863
- }), l = T(() => {
863
+ }), l = j(() => {
864
864
  var s;
865
865
  return t.isArrayItem ? (s = o.value) != null && s.name ? a(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
866
866
  });
@@ -868,14 +868,14 @@ const ie = {
868
868
  class: ke(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
869
869
  }, {
870
870
  default: m(() => [
871
- e.isArrayItem ? (p(), j("legend", ei, [
871
+ e.isArrayItem ? (p(), T("legend", ei, [
872
872
  U("b", null, N(l.value), 1)
873
873
  ])) : V("", !0),
874
- (p(!0), j(fe, null, de(Object.keys(r.value), (d, u) => (p(), q(yt, {
874
+ (p(!0), T(fe, null, de(Object.keys(r.value), (d, u) => (p(), q(yt, {
875
875
  key: `${i.value}-property-${u}`,
876
876
  item: {
877
877
  key: d,
878
- label: b(a)(d),
878
+ label: C(a)(d),
879
879
  value: r.value[d]
880
880
  }
881
881
  }, null, 8, ["item"]))), 128))
@@ -901,14 +901,14 @@ const ie = {
901
901
  const { i18n: { t } } = ie.useI18n();
902
902
  return (n, a) => {
903
903
  const i = E("KButton");
904
- return p(), j("div", null, [
904
+ return p(), T("div", null, [
905
905
  O(i, {
906
906
  appearance: "tertiary",
907
907
  class: "navigation-button",
908
908
  onClick: a[0] || (a[0] = (o) => n.$emit("navigation-click", e.item))
909
909
  }, {
910
910
  default: m(() => [
911
- z(N(e.item.value || b(t)("baseConfigCard.commonFields.link")), 1)
911
+ z(N(e.item.value || C(t)("baseConfigCard.commonFields.link")), 1)
912
912
  ]),
913
913
  _: 1
914
914
  })
@@ -931,7 +931,7 @@ const ie = {
931
931
  appearance: e.status ? "success" : "neutral"
932
932
  }, {
933
933
  default: m(() => [
934
- z(N(e.status ? b(t)("baseConfigCard.statusBadge.enabledLabel") : b(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
934
+ z(N(e.status ? C(t)("baseConfigCard.statusBadge.enabledLabel") : C(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
935
935
  ]),
936
936
  _: 1
937
937
  }, 8, ["appearance"]);
@@ -961,12 +961,12 @@ const ie = {
961
961
  emits: ["navigation-click"],
962
962
  setup(e, { emit: t }) {
963
963
  Gt((w) => ({
964
- "5ae2770e": d.value ? "none" : `solid ${b(si)} ${b(oi)}`,
964
+ "5ae2770e": d.value ? "none" : `solid ${C(si)} ${C(oi)}`,
965
965
  "4db3977e": c.value && l.value ? "block" : "flex",
966
966
  "1a7c5e02": c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
967
967
  "1a77d24c": c.value && l.value ? "100%" : n.slim ? "50%" : "75%"
968
968
  }));
969
- const n = e, a = t, i = We(), { i18n: { t: o, formatUnixTimeStamp: r } } = ie.useI18n(), l = T(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = T(() => !!(n.item.tooltip || i["label-tooltip"])), c = T(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = T(() => n.item.type === Y.JsonArray), u = T(() => {
969
+ const n = e, a = t, i = We(), { i18n: { t: o, formatUnixTimeStamp: r } } = ie.useI18n(), l = j(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = j(() => !!(n.item.tooltip || i["label-tooltip"])), c = j(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = j(() => n.item.type === Y.JsonArray), u = j(() => {
970
970
  switch (n.item.type) {
971
971
  case Y.ID:
972
972
  return {
@@ -1094,8 +1094,8 @@ const ie = {
1094
1094
  }
1095
1095
  }), y = F(), { isTruncated: f } = ie.useTruncationDetector(y);
1096
1096
  return (w, h) => {
1097
- const A = E("KLabel"), v = E("KBadge"), k = E("KTooltip");
1098
- return p(), j("div", ui, [
1097
+ const A = E("KLabel"), v = E("KBadge"), b = E("KTooltip");
1098
+ return p(), T("div", ui, [
1099
1099
  U("div", {
1100
1100
  class: "config-card-details-label",
1101
1101
  "data-testid": `${e.item.key}-label`
@@ -1130,14 +1130,14 @@ const ie = {
1130
1130
  H(w.$slots, e.item.key, {
1131
1131
  rowValue: e.item.value
1132
1132
  }, () => [
1133
- l.value ? (p(), j("div", yi, [
1133
+ l.value ? (p(), T("div", yi, [
1134
1134
  (p(), q(Ie(u.value.tag), aa(ia(u.value.attrs)), {
1135
1135
  default: m(() => [
1136
- u.value.additionalComponent === "KBadge" ? (p(), j("div", {
1136
+ u.value.additionalComponent === "KBadge" ? (p(), T("div", {
1137
1137
  key: 0,
1138
1138
  "data-testid": `${e.item.key}-badge-tags`
1139
1139
  }, [
1140
- (p(!0), j(fe, null, de(e.item.value, (I, g) => (p(), q(v, {
1140
+ (p(!0), T(fe, null, de(e.item.value, (I, g) => (p(), q(v, {
1141
1141
  key: `${e.item.key}-badge-tag-${g}`,
1142
1142
  class: "config-badge",
1143
1143
  "data-testid": `${e.item.key}-badge-tag-${g}`,
@@ -1150,24 +1150,24 @@ const ie = {
1150
1150
  _: 2
1151
1151
  }, 1032, ["data-testid", "tooltip"]))), 128))
1152
1152
  ], 8, mi)) : V("", !0),
1153
- u.value.additionalComponent === "CopyUuid" ? (p(), j("div", {
1153
+ u.value.additionalComponent === "CopyUuid" ? (p(), T("div", {
1154
1154
  key: 1,
1155
1155
  class: "copy-uuid-array",
1156
1156
  "data-testid": `${e.item.key}-copy-uuid-array`
1157
1157
  }, [
1158
- (p(!0), j(fe, null, de(e.item.value, (I, g) => (p(), q(b(cn), nt(u.value.childAttrs, {
1158
+ (p(!0), T(fe, null, de(e.item.value, (I, g) => (p(), q(C(cn), nt(u.value.childAttrs, {
1159
1159
  key: `${e.item.key}-copy-uuid-${g}`,
1160
1160
  "data-testid": `${e.item.key}-copy-uuid-${g}`,
1161
1161
  uuid: I
1162
1162
  }), null, 16, ["data-testid", "uuid"]))), 128))
1163
- ], 8, hi)) : u.value.additionalComponent === "KMethodBadge" ? (p(), j("div", {
1163
+ ], 8, hi)) : u.value.additionalComponent === "KMethodBadge" ? (p(), T("div", {
1164
1164
  key: 2,
1165
1165
  class: "method-badge-array",
1166
1166
  "data-testid": `${e.item.key}-badge-methods`
1167
1167
  }, [
1168
- (p(!0), j(fe, null, de(e.item.value, (I, g) => (p(), q(v, {
1168
+ (p(!0), T(fe, null, de(e.item.value, (I, g) => (p(), q(v, {
1169
1169
  key: `${e.item.key}-badge-method-${g}`,
1170
- appearance: Object.values(b(la)).includes(I.toLowerCase()) ? I.toLowerCase() : "custom",
1170
+ appearance: Object.values(C(la)).includes(I.toLowerCase()) ? I.toLowerCase() : "custom",
1171
1171
  class: "config-badge",
1172
1172
  "data-testid": `${e.item.key}-badge-method-${g}`
1173
1173
  }, {
@@ -1177,19 +1177,19 @@ const ie = {
1177
1177
  _: 2
1178
1178
  }, 1032, ["appearance", "data-testid"]))), 128))
1179
1179
  ], 8, vi)) : V("", !0),
1180
- u.value.additionalComponent === "JsonCardItem" ? (p(), j("div", {
1180
+ u.value.additionalComponent === "JsonCardItem" ? (p(), T("div", {
1181
1181
  key: 3,
1182
1182
  "data-testid": `${n.item.key}-json-array-content`
1183
1183
  }, [
1184
- (p(!0), j(fe, null, de(e.item.value, (I, g) => (p(), q(un, {
1184
+ (p(!0), T(fe, null, de(e.item.value, (I, g) => (p(), q(un, {
1185
1185
  key: `json-array-item-${g}`,
1186
1186
  index: g,
1187
1187
  "is-array-item": "",
1188
1188
  item: I
1189
1189
  }, null, 8, ["index", "item"]))), 128))
1190
- ], 8, bi)) : (p(), q(k, {
1190
+ ], 8, bi)) : (p(), q(b, {
1191
1191
  key: 4,
1192
- text: b(f) ? e.item.value : ""
1192
+ text: C(f) ? e.item.value : ""
1193
1193
  }, {
1194
1194
  default: m(() => [
1195
1195
  U("span", {
@@ -1203,7 +1203,7 @@ const ie = {
1203
1203
  ]),
1204
1204
  _: 1
1205
1205
  }, 16))
1206
- ])) : (p(), j("div", {
1206
+ ])) : (p(), T("div", {
1207
1207
  key: 0,
1208
1208
  "data-testid": `${e.item.key}-no-value`
1209
1209
  }, " – ", 8, gi))
@@ -1246,7 +1246,7 @@ const ie = {
1246
1246
  Gt((i) => ({
1247
1247
  "2d178975": `${a.value}ch`
1248
1248
  }));
1249
- const t = e, n = T(() => t.jsonRecord), a = T(() => {
1249
+ const t = e, n = j(() => t.jsonRecord), a = j(() => {
1250
1250
  var i;
1251
1251
  if (!t.fetcherUrl)
1252
1252
  return 0;
@@ -1256,8 +1256,8 @@ const ie = {
1256
1256
  return (i, o) => {
1257
1257
  var r;
1258
1258
  const l = E("KBadge"), s = E("KCodeBlock");
1259
- return p(), j("div", wi, [
1260
- t.fetcherUrl && (r = t.config) != null && r.jsonYamlFormsEnabled ? (p(), j("div", Si, [
1259
+ return p(), T("div", wi, [
1260
+ t.fetcherUrl && (r = t.config) != null && r.jsonYamlFormsEnabled ? (p(), T("div", Si, [
1261
1261
  O(l, {
1262
1262
  appearance: t.requestMethod
1263
1263
  }, {
@@ -1309,11 +1309,11 @@ function _i(e, t) {
1309
1309
  n += e;
1310
1310
  return n;
1311
1311
  }
1312
- function Ti(e) {
1312
+ function ji(e) {
1313
1313
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1314
1314
  }
1315
- var ji = pn, Oi = Ai, $i = Ii, Mi = _i, Fi = Ti, Ei = xi, ne = {
1316
- isNothing: ji,
1315
+ var Ti = pn, Oi = Ai, $i = Ii, Mi = _i, Fi = ji, Ei = xi, ne = {
1316
+ isNothing: Ti,
1317
1317
  isObject: Oi,
1318
1318
  toArray: $i,
1319
1319
  repeat: Mi,
@@ -1421,7 +1421,7 @@ function Et(e, t) {
1421
1421
  }), n[i] = a;
1422
1422
  }), n;
1423
1423
  }
1424
- function Di() {
1424
+ function Ri() {
1425
1425
  var e = {
1426
1426
  scalar: {},
1427
1427
  sequence: {},
@@ -1466,7 +1466,7 @@ it.prototype.extend = function(e) {
1466
1466
  throw new ce("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1467
1467
  });
1468
1468
  var a = Object.create(it.prototype);
1469
- return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(n), a.compiledImplicit = Et(a, "implicit"), a.compiledExplicit = Et(a, "explicit"), a.compiledTypeMap = Di(a.compiledImplicit, a.compiledExplicit), a;
1469
+ return a.implicit = (this.implicit || []).concat(t), a.explicit = (this.explicit || []).concat(n), a.compiledImplicit = Et(a, "implicit"), a.compiledExplicit = Et(a, "explicit"), a.compiledTypeMap = Ri(a.compiledImplicit, a.compiledExplicit), a;
1470
1470
  };
1471
1471
  var gn = it, yn = new oe("tag:yaml.org,2002:str", {
1472
1472
  kind: "scalar",
@@ -1490,7 +1490,7 @@ var gn = it, yn = new oe("tag:yaml.org,2002:str", {
1490
1490
  hn
1491
1491
  ]
1492
1492
  });
1493
- function Ri(e) {
1493
+ function Di(e) {
1494
1494
  if (e === null)
1495
1495
  return !0;
1496
1496
  var t = e.length;
@@ -1504,7 +1504,7 @@ function Vi(e) {
1504
1504
  }
1505
1505
  var bn = new oe("tag:yaml.org,2002:null", {
1506
1506
  kind: "scalar",
1507
- resolve: Ri,
1507
+ resolve: Di,
1508
1508
  construct: Pi,
1509
1509
  predicate: Vi,
1510
1510
  represent: {
@@ -1754,7 +1754,7 @@ var _n = new oe("tag:yaml.org,2002:timestamp", {
1754
1754
  function cr(e) {
1755
1755
  return e === "<<" || e === null;
1756
1756
  }
1757
- var Tn = new oe("tag:yaml.org,2002:merge", {
1757
+ var jn = new oe("tag:yaml.org,2002:merge", {
1758
1758
  kind: "scalar",
1759
1759
  resolve: cr
1760
1760
  }), mt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1786,7 +1786,7 @@ function pr(e) {
1786
1786
  function fr(e) {
1787
1787
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1788
1788
  }
1789
- var jn = new oe("tag:yaml.org,2002:binary", {
1789
+ var Tn = new oe("tag:yaml.org,2002:binary", {
1790
1790
  kind: "scalar",
1791
1791
  resolve: ur,
1792
1792
  construct: dr,
@@ -1866,10 +1866,10 @@ var Mn = new oe("tag:yaml.org,2002:set", {
1866
1866
  }), ht = An.extend({
1867
1867
  implicit: [
1868
1868
  _n,
1869
- Tn
1869
+ jn
1870
1870
  ],
1871
1871
  explicit: [
1872
- jn,
1872
+ Tn,
1873
1873
  On,
1874
1874
  $n,
1875
1875
  Mn
@@ -1887,14 +1887,14 @@ function Ae(e) {
1887
1887
  function ue(e) {
1888
1888
  return e === 9 || e === 32 || e === 10 || e === 13;
1889
1889
  }
1890
- function je(e) {
1890
+ function Te(e) {
1891
1891
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1892
1892
  }
1893
- function Tr(e) {
1893
+ function jr(e) {
1894
1894
  var t;
1895
1895
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
1896
1896
  }
1897
- function jr(e) {
1897
+ function Tr(e) {
1898
1898
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
1899
1899
  }
1900
1900
  function Or(e) {
@@ -2015,17 +2015,17 @@ function bt(e, t) {
2015
2015
  }
2016
2016
  function Fr(e, t, n) {
2017
2017
  var a, i, o, r, l, s, c, d, u = e.kind, y = e.result, f;
2018
- if (f = e.input.charCodeAt(e.position), ue(f) || je(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), ue(i) || n && je(i)))
2018
+ if (f = e.input.charCodeAt(e.position), ue(f) || Te(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), ue(i) || n && Te(i)))
2019
2019
  return !1;
2020
2020
  for (e.kind = "scalar", e.result = "", o = r = e.position, l = !1; f !== 0; ) {
2021
2021
  if (f === 58) {
2022
- if (i = e.input.charCodeAt(e.position + 1), ue(i) || n && je(i))
2022
+ if (i = e.input.charCodeAt(e.position + 1), ue(i) || n && Te(i))
2023
2023
  break;
2024
2024
  } else if (f === 35) {
2025
2025
  if (a = e.input.charCodeAt(e.position - 1), ue(a))
2026
2026
  break;
2027
2027
  } else {
2028
- if (e.position === e.lineStart && Ze(e) || n && je(f))
2028
+ if (e.position === e.lineStart && Ze(e) || n && Te(f))
2029
2029
  break;
2030
2030
  if (me(f))
2031
2031
  if (s = e.line, c = e.lineStart, d = e.lineIndent, te(e, !1, -1), e.lineIndent >= t) {
@@ -2066,9 +2066,9 @@ function Nr(e, t) {
2066
2066
  te(e, !1, t);
2067
2067
  else if (l < 256 && qn[l])
2068
2068
  e.result += Bn[l], e.position++;
2069
- else if ((r = jr(l)) > 0) {
2069
+ else if ((r = Tr(l)) > 0) {
2070
2070
  for (i = r, o = 0; i > 0; i--)
2071
- l = e.input.charCodeAt(++e.position), (r = Tr(l)) >= 0 ? o = (o << 4) + r : _(e, "expected hexadecimal character");
2071
+ l = e.input.charCodeAt(++e.position), (r = jr(l)) >= 0 ? o = (o << 4) + r : _(e, "expected hexadecimal character");
2072
2072
  e.result += $r(o), e.position++;
2073
2073
  } else
2074
2074
  _(e, "unknown escape sequence");
@@ -2079,17 +2079,17 @@ function Nr(e, t) {
2079
2079
  _(e, "unexpected end of the stream within a double quoted scalar");
2080
2080
  }
2081
2081
  function Kr(e, t) {
2082
- var n = !0, a, i, o, r = e.tag, l, s = e.anchor, c, d, u, y, f, w = /* @__PURE__ */ Object.create(null), h, A, v, k;
2083
- if (k = e.input.charCodeAt(e.position), k === 91)
2082
+ var n = !0, a, i, o, r = e.tag, l, s = e.anchor, c, d, u, y, f, w = /* @__PURE__ */ Object.create(null), h, A, v, b;
2083
+ if (b = e.input.charCodeAt(e.position), b === 91)
2084
2084
  d = 93, f = !1, l = [];
2085
- else if (k === 123)
2085
+ else if (b === 123)
2086
2086
  d = 125, f = !0, l = {};
2087
2087
  else
2088
2088
  return !1;
2089
- for (e.anchor !== null && (e.anchorMap[e.anchor] = l), k = e.input.charCodeAt(++e.position); k !== 0; ) {
2090
- if (te(e, !0, t), k = e.input.charCodeAt(e.position), k === d)
2089
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = l), b = e.input.charCodeAt(++e.position); b !== 0; ) {
2090
+ if (te(e, !0, t), b = e.input.charCodeAt(e.position), b === d)
2091
2091
  return e.position++, e.tag = r, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
2092
- n ? k === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), A = h = v = null, u = y = !1, k === 63 && (c = e.input.charCodeAt(e.position + 1), ue(c) && (u = y = !0, e.position++, te(e, !0, t))), a = e.line, i = e.lineStart, o = e.position, $e(e, t, Ve, !1, !0), A = e.tag, h = e.result, te(e, !0, t), k = e.input.charCodeAt(e.position), (y || e.line === a) && k === 58 && (u = !0, k = e.input.charCodeAt(++e.position), te(e, !0, t), $e(e, t, Ve, !1, !0), v = e.result), f ? Oe(e, l, w, A, h, v, a, i, o) : u ? l.push(Oe(e, null, w, A, h, v, a, i, o)) : l.push(h), te(e, !0, t), k = e.input.charCodeAt(e.position), k === 44 ? (n = !0, k = e.input.charCodeAt(++e.position)) : n = !1;
2092
+ n ? b === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), A = h = v = null, u = y = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), ue(c) && (u = y = !0, e.position++, te(e, !0, t))), a = e.line, i = e.lineStart, o = e.position, $e(e, t, Ve, !1, !0), A = e.tag, h = e.result, te(e, !0, t), b = e.input.charCodeAt(e.position), (y || e.line === a) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), te(e, !0, t), $e(e, t, Ve, !1, !0), v = e.result), f ? Oe(e, l, w, A, h, v, a, i, o) : u ? l.push(Oe(e, null, w, A, h, v, a, i, o)) : l.push(h), te(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
2093
2093
  }
2094
2094
  _(e, "unexpected end of the stream within a flow collection");
2095
2095
  }
@@ -2157,20 +2157,20 @@ function Ut(e, t) {
2157
2157
  return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = o, !0) : !1;
2158
2158
  }
2159
2159
  function Br(e, t, n) {
2160
- var a, i, o, r, l, s, c = e.tag, d = e.anchor, u = {}, y = /* @__PURE__ */ Object.create(null), f = null, w = null, h = null, A = !1, v = !1, k;
2160
+ var a, i, o, r, l, s, c = e.tag, d = e.anchor, u = {}, y = /* @__PURE__ */ Object.create(null), f = null, w = null, h = null, A = !1, v = !1, b;
2161
2161
  if (e.firstTabInLine !== -1)
2162
2162
  return !1;
2163
- for (e.anchor !== null && (e.anchorMap[e.anchor] = u), k = e.input.charCodeAt(e.position); k !== 0; ) {
2164
- if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (k === 63 || k === 58) && ue(a))
2165
- k === 63 ? (A && (Oe(e, u, y, f, w, null, r, l, s), f = w = h = null), v = !0, A = !0, i = !0) : A ? (A = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, k = a;
2163
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
2164
+ if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), o = e.line, (b === 63 || b === 58) && ue(a))
2165
+ b === 63 ? (A && (Oe(e, u, y, f, w, null, r, l, s), f = w = h = null), v = !0, A = !0, i = !0) : A ? (A = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = a;
2166
2166
  else {
2167
2167
  if (r = e.line, l = e.lineStart, s = e.position, !$e(e, n, Fn, !1, !0))
2168
2168
  break;
2169
2169
  if (e.line === o) {
2170
- for (k = e.input.charCodeAt(e.position); Ae(k); )
2171
- k = e.input.charCodeAt(++e.position);
2172
- if (k === 58)
2173
- k = e.input.charCodeAt(++e.position), ue(k) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Oe(e, u, y, f, w, null, r, l, s), f = w = h = null), v = !0, A = !1, i = !1, f = e.tag, w = e.result;
2170
+ for (b = e.input.charCodeAt(e.position); Ae(b); )
2171
+ b = e.input.charCodeAt(++e.position);
2172
+ if (b === 58)
2173
+ b = e.input.charCodeAt(++e.position), ue(b) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Oe(e, u, y, f, w, null, r, l, s), f = w = h = null), v = !0, A = !1, i = !1, f = e.tag, w = e.result;
2174
2174
  else if (v)
2175
2175
  _(e, "can not read an implicit mapping pair; a colon is missed");
2176
2176
  else
@@ -2180,7 +2180,7 @@ function Br(e, t, n) {
2180
2180
  else
2181
2181
  return e.tag = c, e.anchor = d, !0;
2182
2182
  }
2183
- if ((e.line === o || e.lineIndent > t) && (A && (r = e.line, l = e.lineStart, s = e.position), $e(e, t, ze, !0, i) && (A ? w = e.result : h = e.result), A || (Oe(e, u, y, f, w, h, r, l, s), f = w = h = null), te(e, !0, -1), k = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && k !== 0)
2183
+ if ((e.line === o || e.lineIndent > t) && (A && (r = e.line, l = e.lineStart, s = e.position), $e(e, t, ze, !0, i) && (A ? w = e.result : h = e.result), A || (Oe(e, u, y, f, w, h, r, l, s), f = w = h = null), te(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && b !== 0)
2184
2184
  _(e, "bad indentation of a mapping entry");
2185
2185
  else if (e.lineIndent < t)
2186
2186
  break;
@@ -2213,15 +2213,15 @@ function Ur(e) {
2213
2213
  var t, n;
2214
2214
  if (n = e.input.charCodeAt(e.position), n !== 38)
2215
2215
  return !1;
2216
- for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ue(n) && !je(n); )
2216
+ for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !ue(n) && !Te(n); )
2217
2217
  n = e.input.charCodeAt(++e.position);
2218
2218
  return e.position === t && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2219
2219
  }
2220
- function Dr(e) {
2220
+ function Rr(e) {
2221
2221
  var t, n, a;
2222
2222
  if (a = e.input.charCodeAt(e.position), a !== 42)
2223
2223
  return !1;
2224
- for (a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !ue(a) && !je(a); )
2224
+ for (a = e.input.charCodeAt(++e.position), t = e.position; a !== 0 && !ue(a) && !Te(a); )
2225
2225
  a = e.input.charCodeAt(++e.position);
2226
2226
  return e.position === t && _(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Ce.call(e.anchorMap, n) || _(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], te(e, !0, -1), !0;
2227
2227
  }
@@ -2230,7 +2230,7 @@ function $e(e, t, n, a, i) {
2230
2230
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = r = l = ze === n || En === n, a && te(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2231
2231
  for (; Lr(e) || Ur(e); )
2232
2232
  te(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2233
- if (l && (l = c || i), (s === 1 || ze === n) && (Ve === n || Fn === n ? h = t : h = t + 1, A = e.position - e.lineStart, s === 1 ? l && (Ut(e, A) || Br(e, A, h)) || Kr(e, h) ? d = !0 : (r && qr(e, h) || Er(e, h) || Nr(e, h) ? d = !0 : Dr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : Fr(e, h, Ve === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ut(e, A))), e.tag === null)
2233
+ if (l && (l = c || i), (s === 1 || ze === n) && (Ve === n || Fn === n ? h = t : h = t + 1, A = e.position - e.lineStart, s === 1 ? l && (Ut(e, A) || Br(e, A, h)) || Kr(e, h) ? d = !0 : (r && qr(e, h) || Er(e, h) || Nr(e, h) ? d = !0 : Rr(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && _(e, "alias node should not have any properties")) : Fr(e, h, Ve === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ut(e, A))), e.tag === null)
2234
2234
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2235
2235
  else if (e.tag === "?") {
2236
2236
  for (e.result !== null && e.kind !== "scalar" && _(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, y = e.implicitTypes.length; u < y; u += 1)
@@ -2251,7 +2251,7 @@ function $e(e, t, n, a, i) {
2251
2251
  }
2252
2252
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2253
2253
  }
2254
- function Rr(e) {
2254
+ function Dr(e) {
2255
2255
  var t = e.position, n, a, i, o = !1, r;
2256
2256
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (r = e.input.charCodeAt(e.position)) !== 0 && (te(e, !0, -1), r = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || r !== 37)); ) {
2257
2257
  for (o = !0, r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !ue(r); )
@@ -2289,7 +2289,7 @@ function Un(e, t) {
2289
2289
  for (a !== -1 && (n.position = a, _(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2290
2290
  n.lineIndent += 1, n.position += 1;
2291
2291
  for (; n.position < n.length - 1; )
2292
- Rr(n);
2292
+ Dr(n);
2293
2293
  return n.documents;
2294
2294
  }
2295
2295
  function Pr(e, t, n) {
@@ -2308,10 +2308,10 @@ function Vr(e, t) {
2308
2308
  throw new ce("expected a single document in the stream, but found more");
2309
2309
  }
2310
2310
  }
2311
- var zr = Pr, Hr = Vr, Dn = {
2311
+ var zr = Pr, Hr = Vr, Rn = {
2312
2312
  loadAll: zr,
2313
2313
  load: Hr
2314
- }, Rn = Object.prototype.toString, Pn = Object.prototype.hasOwnProperty, kt = 65279, Jr = 9, qe = 10, Yr = 13, Wr = 32, Zr = 33, Gr = 34, rt = 35, Qr = 37, Xr = 38, eo = 39, to = 42, Vn = 44, no = 45, Je = 58, ao = 61, io = 62, ro = 63, oo = 64, zn = 91, Hn = 93, lo = 96, Jn = 123, so = 124, Yn = 125, se = {};
2314
+ }, Dn = Object.prototype.toString, Pn = Object.prototype.hasOwnProperty, kt = 65279, Jr = 9, qe = 10, Yr = 13, Wr = 32, Zr = 33, Gr = 34, rt = 35, Qr = 37, Xr = 38, eo = 39, to = 42, Vn = 44, no = 45, Je = 58, ao = 61, io = 62, ro = 63, oo = 64, zn = 91, Hn = 93, lo = 96, Jn = 123, so = 124, Yn = 125, se = {};
2315
2315
  se[0] = "\\0";
2316
2316
  se[7] = "\\a";
2317
2317
  se[8] = "\\b";
@@ -2369,7 +2369,7 @@ var go = 1, Be = 2;
2369
2369
  function yo(e) {
2370
2370
  this.schema = e.schema || ht, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ne.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = po(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Be : go, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2371
2371
  }
2372
- function Dt(e, t) {
2372
+ function Rt(e, t) {
2373
2373
  for (var n = ne.repeat(" ", t), a = 0, i = -1, o = "", r, l = e.length; a < l; )
2374
2374
  i = e.indexOf(`
2375
2375
  `, a), i === -1 ? (r = e.slice(a), a = l) : (r = e.slice(a, i + 1), a = i + 1), r.length && r !== `
@@ -2393,17 +2393,17 @@ function Ye(e) {
2393
2393
  function Le(e) {
2394
2394
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== kt || 65536 <= e && e <= 1114111;
2395
2395
  }
2396
- function Rt(e) {
2396
+ function Dt(e) {
2397
2397
  return Le(e) && e !== kt && e !== Yr && e !== qe;
2398
2398
  }
2399
2399
  function Pt(e, t, n) {
2400
- var a = Rt(e), i = a && !Ye(e);
2400
+ var a = Dt(e), i = a && !Ye(e);
2401
2401
  return (
2402
2402
  // ns-plain-safe
2403
2403
  (n ? (
2404
2404
  // c = flow-in
2405
2405
  a
2406
- ) : a && e !== Vn && e !== zn && e !== Hn && e !== Jn && e !== Yn) && e !== rt && !(t === Je && !i) || Rt(t) && !Ye(t) && e === rt || t === Je && i
2406
+ ) : a && e !== Vn && e !== zn && e !== Hn && e !== Jn && e !== Yn) && e !== rt && !(t === Je && !i) || Dt(t) && !Ye(t) && e === rt || t === Je && i
2407
2407
  );
2408
2408
  }
2409
2409
  function ho(e) {
@@ -2420,13 +2420,13 @@ function Wn(e) {
2420
2420
  var t = /^\n* /;
2421
2421
  return t.test(e);
2422
2422
  }
2423
- var Zn = 1, lt = 2, Gn = 3, Qn = 4, Te = 5;
2423
+ var Zn = 1, lt = 2, Gn = 3, Qn = 4, je = 5;
2424
2424
  function bo(e, t, n, a, i, o, r, l) {
2425
2425
  var s, c = 0, d = null, u = !1, y = !1, f = a !== -1, w = -1, h = ho(Fe(e, 0)) && vo(Fe(e, e.length - 1));
2426
2426
  if (t || r)
2427
2427
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2428
2428
  if (c = Fe(e, s), !Le(c))
2429
- return Te;
2429
+ return je;
2430
2430
  h = h && Pt(c, d, l), d = c;
2431
2431
  }
2432
2432
  else {
@@ -2435,12 +2435,12 @@ function bo(e, t, n, a, i, o, r, l) {
2435
2435
  u = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2436
2436
  s - w - 1 > a && e[w + 1] !== " ", w = s);
2437
2437
  else if (!Le(c))
2438
- return Te;
2438
+ return je;
2439
2439
  h = h && Pt(c, d, l), d = c;
2440
2440
  }
2441
2441
  y = y || f && s - w - 1 > a && e[w + 1] !== " ";
2442
2442
  }
2443
- return !u && !y ? h && !r && !i(e) ? Zn : o === Be ? Te : lt : n > 9 && Wn(e) ? Te : r ? o === Be ? Te : lt : y ? Qn : Gn;
2443
+ return !u && !y ? h && !r && !i(e) ? Zn : o === Be ? je : lt : n > 9 && Wn(e) ? je : r ? o === Be ? je : lt : y ? Qn : Gn;
2444
2444
  }
2445
2445
  function ko(e, t, n, a, i) {
2446
2446
  e.dump = function() {
@@ -2467,10 +2467,10 @@ function ko(e, t, n, a, i) {
2467
2467
  case lt:
2468
2468
  return "'" + t.replace(/'/g, "''") + "'";
2469
2469
  case Gn:
2470
- return "|" + Vt(t, e.indent) + zt(Dt(t, o));
2470
+ return "|" + Vt(t, e.indent) + zt(Rt(t, o));
2471
2471
  case Qn:
2472
- return ">" + Vt(t, e.indent) + zt(Dt(Co(t, r), o));
2473
- case Te:
2472
+ return ">" + Vt(t, e.indent) + zt(Rt(Co(t, r), o));
2473
+ case je:
2474
2474
  return '"' + wo(t) + '"';
2475
2475
  default:
2476
2476
  throw new ce("impossible error: invalid scalar style");
@@ -2552,7 +2552,7 @@ function Yt(e, t, n) {
2552
2552
  for (i = n ? e.explicitTypes : e.implicitTypes, o = 0, r = i.length; o < r; o += 1)
2553
2553
  if (l = i[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
2554
2554
  if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
2555
- if (s = e.styleMap[l.tag] || l.defaultStyle, Rn.call(l.represent) === "[object Function]")
2555
+ if (s = e.styleMap[l.tag] || l.defaultStyle, Dn.call(l.represent) === "[object Function]")
2556
2556
  a = l.represent(t, s);
2557
2557
  else if (Pn.call(l.represent, s))
2558
2558
  a = l.represent[s](t, s);
@@ -2566,7 +2566,7 @@ function Yt(e, t, n) {
2566
2566
  }
2567
2567
  function ve(e, t, n, a, i, o, r) {
2568
2568
  e.tag = null, e.dump = n, Yt(e, n, !1) || Yt(e, n, !0);
2569
- var l = Rn.call(e.dump), s = a, c;
2569
+ var l = Dn.call(e.dump), s = a, c;
2570
2570
  a && (a = e.flowLevel < 0 || e.flowLevel > t);
2571
2571
  var d = l === "[object Object]" || l === "[object Array]", u, y;
2572
2572
  if (d && (u = e.duplicates.indexOf(n), y = u !== -1), (e.tag !== null && e.tag !== "?" || y || e.indent !== 2 && t > 0) && (i = !1), y && e.usedDuplicates[u])
@@ -2615,16 +2615,16 @@ function _o(e, t) {
2615
2615
  return n.replacer && (a = n.replacer.call({ "": a }, "", a)), ve(n, 0, a, !0, !0) ? n.dump + `
2616
2616
  ` : "";
2617
2617
  }
2618
- var To = _o, jo = {
2619
- dump: To
2618
+ var jo = _o, To = {
2619
+ dump: jo
2620
2620
  };
2621
2621
  function Ct(e, t) {
2622
2622
  return function() {
2623
2623
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2624
2624
  };
2625
2625
  }
2626
- var Oo = oe, $o = gn, Mo = vn, Fo = Sn, Eo = An, No = ht, Ko = Dn.load, qo = Dn.loadAll, Bo = jo.dump, Lo = ce, Uo = {
2627
- binary: jn,
2626
+ var Oo = oe, $o = gn, Mo = vn, Fo = Sn, Eo = An, No = ht, Ko = Rn.load, qo = Rn.loadAll, Bo = To.dump, Lo = ce, Uo = {
2627
+ binary: Tn,
2628
2628
  float: wn,
2629
2629
  map: hn,
2630
2630
  null: bn,
@@ -2633,11 +2633,11 @@ var Oo = oe, $o = gn, Mo = vn, Fo = Sn, Eo = An, No = ht, Ko = Dn.load, qo = Dn.
2633
2633
  timestamp: _n,
2634
2634
  bool: kn,
2635
2635
  int: Cn,
2636
- merge: Tn,
2636
+ merge: jn,
2637
2637
  omap: On,
2638
2638
  seq: mn,
2639
2639
  str: yn
2640
- }, Do = Ct("safeLoad", "load"), Ro = Ct("safeLoadAll", "loadAll"), Po = Ct("safeDump", "dump"), Vo = {
2640
+ }, Ro = Ct("safeLoad", "load"), Do = Ct("safeLoadAll", "loadAll"), Po = Ct("safeDump", "dump"), Vo = {
2641
2641
  Type: Oo,
2642
2642
  Schema: $o,
2643
2643
  FAILSAFE_SCHEMA: Mo,
@@ -2649,8 +2649,8 @@ var Oo = oe, $o = gn, Mo = vn, Fo = Sn, Eo = An, No = ht, Ko = Dn.load, qo = Dn.
2649
2649
  dump: Bo,
2650
2650
  YAMLException: Lo,
2651
2651
  types: Uo,
2652
- safeLoad: Do,
2653
- safeLoadAll: Ro,
2652
+ safeLoad: Ro,
2653
+ safeLoadAll: Do,
2654
2654
  safeDump: Po
2655
2655
  };
2656
2656
  const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
@@ -2663,14 +2663,17 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2663
2663
  }
2664
2664
  },
2665
2665
  setup(e) {
2666
- const t = e, n = T(() => t.yamlRecord);
2666
+ const t = e, n = j(() => {
2667
+ const a = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, i]) => i && (Array.isArray(i) ? i.length !== 0 : !0)));
2668
+ return Object.keys(a).length === 0 && a.constructor === Object ? "" : Vo.dump(a).trim();
2669
+ });
2667
2670
  return (a, i) => {
2668
2671
  const o = E("KCodeBlock");
2669
- return p(), j("div", zo, [
2672
+ return p(), T("div", zo, [
2670
2673
  t.yamlRecord ? (p(), q(o, {
2671
2674
  key: 0,
2672
2675
  id: "yaml-codeblock",
2673
- code: b(Vo).dump(n.value),
2676
+ code: n.value,
2674
2677
  language: "yaml",
2675
2678
  theme: "dark"
2676
2679
  }, null, 8, ["code"])) : V("", !0)
@@ -2722,21 +2725,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2722
2725
  }
2723
2726
  },
2724
2727
  setup(e) {
2725
- const t = e, n = We(), { i18n: { t: a } } = ie.useI18n(), i = (r) => !!(r.tooltip || n[`${r.key}-label-tooltip`]), o = T(() => {
2728
+ const t = e, n = We(), { i18n: { t: a } } = ie.useI18n(), i = (r) => !!(r.tooltip || n[`${r.key}-label-tooltip`]), o = j(() => {
2726
2729
  if (!t.record)
2727
2730
  return t.record;
2728
2731
  const r = JSON.parse(JSON.stringify(t.record));
2729
2732
  return delete r.created_at, delete r.updated_at, r;
2730
2733
  });
2731
- return (r, l) => (p(), j(fe, null, [
2732
- e.format === "structured" ? (p(), j("div", Ho, [
2733
- (p(!0), j(fe, null, de(e.propListTypes, (s) => (p(), j("div", {
2734
+ return (r, l) => (p(), T(fe, null, [
2735
+ e.format === "structured" ? (p(), T("div", Ho, [
2736
+ (p(!0), T(fe, null, de(e.propListTypes, (s) => (p(), T("div", {
2734
2737
  key: `config-card-details-${s}-props`,
2735
2738
  class: ke(`config-card-details-${s}-props`),
2736
2739
  "data-testid": `config-card-details-${s}-props`
2737
2740
  }, [
2738
- s !== "basic" ? (p(), j("div", Yo, N(s === "advanced" ? b(a)("baseConfigCard.sections.advanced") : b(a)("baseConfigCard.sections.plugin")), 1)) : V("", !0),
2739
- (p(!0), j(fe, null, de(e.propertyCollections[s], (c) => (p(), q(yt, {
2741
+ s !== "basic" ? (p(), T("div", Yo, N(s === "advanced" ? C(a)("baseConfigCard.sections.advanced") : C(a)("baseConfigCard.sections.plugin")), 1)) : V("", !0),
2742
+ (p(!0), T(fe, null, de(e.propertyCollections[s], (c) => (p(), q(yt, {
2740
2743
  key: c.key,
2741
2744
  item: c
2742
2745
  }, Se({
@@ -2837,7 +2840,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2837
2840
  }
2838
2841
  },
2839
2842
  setup(e) {
2840
- const t = e, n = T(() => {
2843
+ const t = e, n = j(() => {
2841
2844
  if (typeof t.size == "number" && t.size > 0)
2842
2845
  return `${t.size}px`;
2843
2846
  if (typeof t.size == "string") {
@@ -2846,7 +2849,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2846
2849
  return `${o}px`;
2847
2850
  }
2848
2851
  return Wt;
2849
- }), a = T(() => ({
2852
+ }), a = j(() => ({
2850
2853
  boxSizing: "border-box",
2851
2854
  color: t.color,
2852
2855
  display: t.display,
@@ -2861,7 +2864,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2861
2864
  style: Xt(a.value)
2862
2865
  }, {
2863
2866
  default: m(() => [
2864
- (p(), j("svg", {
2867
+ (p(), T("svg", {
2865
2868
  "aria-hidden": e.decorative ? "true" : void 0,
2866
2869
  "data-testid": "kui-icon-svg-book-icon",
2867
2870
  fill: "none",
@@ -2871,7 +2874,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
2871
2874
  width: "100%",
2872
2875
  xmlns: "http://www.w3.org/2000/svg"
2873
2876
  }, [
2874
- e.title ? (p(), j("title", el, N(e.title), 1)) : V("", !0),
2877
+ e.title ? (p(), T("title", el, N(e.title), 1)) : V("", !0),
2875
2878
  tl
2876
2879
  ], 8, Xo))
2877
2880
  ]),
@@ -3014,21 +3017,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3014
3017
  // the last property displayed
3015
3018
  section: pe.Basic
3016
3019
  }
3017
- }, w = F(!1), h = F(!1), A = F(""), v = F({}), k = T(() => {
3020
+ }, w = F(!1), h = F(!1), A = F(""), v = F({}), b = j(() => {
3018
3021
  var S, L, $;
3019
3022
  if (!v.value)
3020
3023
  return [];
3021
- const K = [], D = Object.keys(v.value).length;
3022
- for (const R in v.value) {
3023
- const J = (L = (S = i.configSchema) == null ? void 0 : S[R]) == null ? void 0 : L.order, W = ($ = f[R]) == null ? void 0 : $.order;
3024
- let ae = D;
3025
- (W || W === 0) && (ae = W === -1 ? D + 1 : W), J && (ae = J === -1 ? D + 1 : J), K.push([R, ae]);
3024
+ const K = [], R = Object.keys(v.value).length;
3025
+ for (const D in v.value) {
3026
+ const J = (L = (S = i.configSchema) == null ? void 0 : S[D]) == null ? void 0 : L.order, W = ($ = f[D]) == null ? void 0 : $.order;
3027
+ let ae = R;
3028
+ (W || W === 0) && (ae = W === -1 ? R + 1 : W), J && (ae = J === -1 ? R + 1 : J), K.push([D, ae]);
3026
3029
  }
3027
- return K.sort(function(R, J) {
3028
- return R[1] - J[1];
3029
- }), K.map((R) => {
3030
+ return K.sort(function(D, J) {
3031
+ return D[1] - J[1];
3032
+ }), K.map((D) => {
3030
3033
  var J, W;
3031
- const ae = R[0], X = (J = v.value) == null ? void 0 : J[ae], Z = ((W = i.configSchema) == null ? void 0 : W[ae]) || {}, le = f[ae];
3034
+ const ae = D[0], X = (J = v.value) == null ? void 0 : J[ae], Z = ((W = i.configSchema) == null ? void 0 : W[ae]) || {}, le = f[ae];
3032
3035
  return {
3033
3036
  key: ae,
3034
3037
  value: X,
@@ -3038,22 +3041,22 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3038
3041
  tooltip: Z.tooltip ?? ((le == null ? void 0 : le.tooltip) || void 0),
3039
3042
  section: Z.section ?? ((le == null ? void 0 : le.section) || pe.Advanced)
3040
3043
  };
3041
- }).filter((R) => !R.hidden && R.key !== i.pluginConfigKey);
3042
- }), I = T(() => {
3044
+ }).filter((D) => !D.hidden && D.key !== i.pluginConfigKey);
3045
+ }), I = j(() => {
3043
3046
  var S, L;
3044
3047
  if (!v.value || !i.pluginConfigKey)
3045
3048
  return [];
3046
- const $ = v.value[i.pluginConfigKey] || {}, K = Object.keys($).length, D = [];
3047
- for (const R in $) {
3048
- const J = (L = (S = i.pluginConfigSchema) == null ? void 0 : S[R]) == null ? void 0 : L.order, W = $[R];
3049
+ const $ = v.value[i.pluginConfigKey] || {}, K = Object.keys($).length, R = [];
3050
+ for (const D in $) {
3051
+ const J = (L = (S = i.pluginConfigSchema) == null ? void 0 : S[D]) == null ? void 0 : L.order, W = $[D];
3049
3052
  let ae = W != null && W !== "" ? K - 1 : K;
3050
- J && (ae = J === -1 ? K + 1 : J), D.push([R, ae]);
3053
+ J && (ae = J === -1 ? K + 1 : J), R.push([D, ae]);
3051
3054
  }
3052
- return D.sort(function(R, J) {
3053
- return R[1] - J[1];
3054
- }), D.map((R) => {
3055
+ return R.sort(function(D, J) {
3056
+ return D[1] - J[1];
3057
+ }), R.map((D) => {
3055
3058
  var J;
3056
- const W = R[0], ae = $[W], X = ((J = i.pluginConfigSchema) == null ? void 0 : J[W]) || {};
3059
+ const W = D[0], ae = $[W], X = ((J = i.pluginConfigSchema) == null ? void 0 : J[W]) || {};
3057
3060
  return {
3058
3061
  key: W,
3059
3062
  value: ae,
@@ -3063,18 +3066,18 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3063
3066
  tooltip: X.tooltip ?? void 0,
3064
3067
  section: pe.Plugin
3065
3068
  };
3066
- }).filter((R) => !R.hidden);
3067
- }), g = T(() => {
3069
+ }).filter((D) => !D.hidden);
3070
+ }), g = j(() => {
3068
3071
  var S, L, $, K;
3069
3072
  return {
3070
- basic: (S = k.value) == null ? void 0 : S.filter((D) => D.section === pe.Basic),
3071
- advanced: (L = k.value) == null ? void 0 : L.filter((D) => D.section === pe.Advanced),
3072
- plugin: (K = I.value) == null ? void 0 : K.concat(($ = k.value) == null ? void 0 : $.filter((D) => D.section === pe.Plugin))
3073
+ basic: (S = b.value) == null ? void 0 : S.filter((R) => R.section === pe.Basic),
3074
+ advanced: (L = b.value) == null ? void 0 : L.filter((R) => R.section === pe.Advanced),
3075
+ plugin: (K = I.value) == null ? void 0 : K.concat(($ = b.value) == null ? void 0 : $.filter((R) => R.section === pe.Plugin))
3073
3076
  };
3074
- }), C = T(() => {
3077
+ }), k = j(() => {
3075
3078
  const S = [];
3076
3079
  return g.value.basic.length && S.push("basic"), g.value.advanced.length && S.push("advanced"), g.value.plugin.length && S.push("plugin"), S;
3077
- }), x = (S) => !!(S.tooltip || o[`${S.key}-label-tooltip`]), re = T(() => {
3080
+ }), x = (S) => !!(S.tooltip || o[`${S.key}-label-tooltip`]), re = j(() => {
3078
3081
  var S, L;
3079
3082
  let $ = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3080
3083
  return i.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((S = i.config) == null ? void 0 : S.controlPlaneId) || "") : i.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (L = i.config) != null && L.workspace ? `/${i.config.workspace}` : "")), $ = $.replace(/{id}/gi, i.config.entityId), $;
@@ -3104,7 +3107,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3104
3107
  w.value = !1;
3105
3108
  }
3106
3109
  }), (S, L) => {
3107
- const $ = E("KLabel"), K = E("KSelect"), D = E("KButton"), R = E("KClipboardProvider"), J = E("KSkeleton"), W = E("KEmptyState"), ae = E("KCard");
3110
+ const $ = E("KLabel"), K = E("KSelect"), R = E("KButton"), D = E("KClipboardProvider"), J = E("KSkeleton"), W = E("KEmptyState"), ae = E("KCard");
3108
3111
  return p(), q(ae, { class: "kong-ui-entity-base-config-card" }, Se({
3109
3112
  actions: m(() => [
3110
3113
  U("div", rl, [
@@ -3125,7 +3128,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3125
3128
  items: d,
3126
3129
  onChange: y
3127
3130
  })) : V("", !0),
3128
- i.config.jsonYamlEnabled && e.configCardDoc ? (p(), q(D, {
3131
+ i.config.jsonYamlEnabled && e.configCardDoc ? (p(), q(R, {
3129
3132
  key: 2,
3130
3133
  appearance: "tertiary",
3131
3134
  class: "book-icon",
@@ -3137,21 +3140,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3137
3140
  rel: "noopener",
3138
3141
  target: "_blank"
3139
3142
  }, [
3140
- O(b(al), { size: b(ci) }, null, 8, ["size"])
3143
+ O(C(al), { size: C(ci) }, null, 8, ["size"])
3141
3144
  ], 8, ol)
3142
3145
  ]),
3143
3146
  _: 1
3144
3147
  })) : V("", !0),
3145
- e.config.jsonYamlEnabled ? V("", !0) : (p(), q(R, { key: 3 }, {
3148
+ e.config.jsonYamlEnabled ? V("", !0) : (p(), q(D, { key: 3 }, {
3146
3149
  default: m(({ copyToClipboard: X }) => [
3147
- !w.value && !h.value ? (p(), q(D, {
3150
+ !w.value && !h.value ? (p(), q(R, {
3148
3151
  key: 0,
3149
3152
  appearance: "tertiary",
3150
3153
  "data-testid": "json-copy-button",
3151
3154
  onClick: (Z) => B(X)
3152
3155
  }, {
3153
3156
  default: m(() => [
3154
- z(N(b(r)("baseConfigCard.actions.copy")), 1)
3157
+ z(N(C(r)("baseConfigCard.actions.copy")), 1)
3155
3158
  ]),
3156
3159
  _: 2
3157
3160
  }, 1032, ["onClick"])) : V("", !0)
@@ -3176,12 +3179,12 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3176
3179
  ]),
3177
3180
  _: 1
3178
3181
  })) : V("", !0),
3179
- e.config.jsonYamlEnabled ? (p(), j("div", ll, [
3182
+ e.config.jsonYamlEnabled ? (p(), T("div", ll, [
3180
3183
  O(Zo, {
3181
3184
  config: e.config,
3182
3185
  "fetcher-url": re.value,
3183
3186
  format: u.value,
3184
- "prop-list-types": C.value,
3187
+ "prop-list-types": k.value,
3185
3188
  "property-collections": g.value,
3186
3189
  record: v.value
3187
3190
  }, Se({ _: 2 }, [
@@ -3195,14 +3198,14 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3195
3198
  ])
3196
3199
  }))
3197
3200
  ]), 1032, ["config", "fetcher-url", "format", "prop-list-types", "property-collections", "record"])
3198
- ])) : (p(), j("div", sl, [
3199
- (p(!0), j(fe, null, de(C.value, (X) => (p(), j("div", {
3201
+ ])) : (p(), T("div", sl, [
3202
+ (p(!0), T(fe, null, de(k.value, (X) => (p(), T("div", {
3200
3203
  key: `config-card-details-${X}-props`,
3201
3204
  class: ke(`config-card-details-${X}-props`),
3202
3205
  "data-testid": `config-card-details-${X}-props`
3203
3206
  }, [
3204
- X !== "basic" ? (p(), j("div", ul, N(X === "advanced" ? b(r)("baseConfigCard.sections.advanced") : b(r)("baseConfigCard.sections.plugin")), 1)) : V("", !0),
3205
- (p(!0), j(fe, null, de(g.value[X], (Z) => (p(), q(yt, {
3207
+ X !== "basic" ? (p(), T("div", ul, N(X === "advanced" ? C(r)("baseConfigCard.sections.advanced") : C(r)("baseConfigCard.sections.plugin")), 1)) : V("", !0),
3208
+ (p(!0), T(fe, null, de(g.value[X], (Z) => (p(), q(yt, {
3206
3209
  key: Z.key,
3207
3210
  item: Z
3208
3211
  }, Se({
@@ -3235,7 +3238,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3235
3238
  fn: m(() => [
3236
3239
  U("div", il, [
3237
3240
  H(S.$slots, "title", {}, () => [
3238
- z(N(b(r)("baseConfigCard.title")), 1)
3241
+ z(N(C(r)("baseConfigCard.title")), 1)
3239
3242
  ], !0)
3240
3243
  ])
3241
3244
  ]),
@@ -3304,17 +3307,17 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3304
3307
  var n;
3305
3308
  const a = t, i = e, o = ut(), { i18n: { t: r } } = ie.useI18n(), { getMessageFromError: l } = ie.useErrors(), { axiosInstance: s } = ie.useAxios({
3306
3309
  headers: (n = i.config) == null ? void 0 : n.requestHeaders
3307
- }), c = F(!1), d = F(!1), u = F(""), y = T(() => i.canSubmit === !1 || i.isReadonly), f = F(!1), w = T(() => {
3308
- var g, C;
3310
+ }), c = F(!1), d = F(!1), u = F(""), y = j(() => i.canSubmit === !1 || i.isReadonly), f = F(!1), w = j(() => {
3311
+ var g, k;
3309
3312
  let x = `${i.config.apiBaseUrl}${i.fetchUrl}`;
3310
- return i.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((g = i.config) == null ? void 0 : g.controlPlaneId) || "") : i.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (C = i.config) != null && C.workspace ? `/${i.config.workspace}` : "")), i.editId ? (x = x.replace(/{id}/gi, i.editId), x) : (x = x.replace(/\/{id}/gi, ""), x);
3313
+ return i.config.app === "konnect" ? x = x.replace(/{controlPlaneId}/gi, ((g = i.config) == null ? void 0 : g.controlPlaneId) || "") : i.config.app === "kongManager" && (x = x.replace(/\/{workspace}/gi, (k = i.config) != null && k.workspace ? `/${i.config.workspace}` : "")), i.editId ? (x = x.replace(/{id}/gi, i.editId), x) : (x = x.replace(/\/{id}/gi, ""), x);
3311
3314
  }), h = () => {
3312
3315
  f.value = !f.value;
3313
3316
  }, A = () => {
3314
3317
  i.config.cancelRoute ? o.push(i.config.cancelRoute) : v();
3315
3318
  }, v = () => {
3316
3319
  a("cancel");
3317
- }, k = () => {
3320
+ }, b = () => {
3318
3321
  y.value || a("submit");
3319
3322
  }, I = F([
3320
3323
  {
@@ -3335,12 +3338,12 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3335
3338
  const { data: g } = await s.get(w.value);
3336
3339
  a("fetch:success", g);
3337
3340
  } catch (g) {
3338
- const C = l(g);
3339
- u.value = C.startsWith("code") ? r("baseForm.errors.edit") : C, d.value = !0, a("fetch:error", g);
3341
+ const k = l(g);
3342
+ u.value = k.startsWith("code") ? r("baseForm.errors.edit") : k, d.value = !0, a("fetch:error", g);
3340
3343
  } finally {
3341
3344
  c.value = !1;
3342
3345
  }
3343
- }), (g, C) => {
3346
+ }), (g, k) => {
3344
3347
  const x = E("KSkeleton"), re = E("KEmptyState"), B = E("KAlert"), S = E("KButton"), L = E("KTabs"), $ = E("KSlideout"), K = E("KCard");
3345
3348
  return p(), q(K, { class: "kong-ui-entity-base-form" }, {
3346
3349
  default: m(() => [
@@ -3349,7 +3352,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3349
3352
  type: "form"
3350
3353
  })) : d.value ? (p(), q(re, {
3351
3354
  key: 1,
3352
- "cta-text": b(r)("baseForm.actions.back"),
3355
+ "cta-text": C(r)("baseForm.actions.back"),
3353
3356
  "data-testid": "form-fetch-error",
3354
3357
  "handle-click": A,
3355
3358
  "is-error": !0
@@ -3358,11 +3361,11 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3358
3361
  U("h3", null, N(u.value), 1)
3359
3362
  ]),
3360
3363
  _: 1
3361
- }, 8, ["cta-text"])) : (p(), j("form", {
3364
+ }, 8, ["cta-text"])) : (p(), T("form", {
3362
3365
  key: 2,
3363
3366
  "data-testid": "form-content",
3364
- onReset: Re(v, ["prevent"]),
3365
- onSubmit: Re(k, ["prevent"])
3367
+ onReset: De(v, ["prevent"]),
3368
+ onSubmit: De(b, ["prevent"])
3366
3369
  }, [
3367
3370
  H(g.$slots, "default", {}, void 0, !0),
3368
3371
  e.errorMessage ? (p(), q(B, {
@@ -3373,14 +3376,14 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3373
3376
  }, null, 8, ["alert-message"])) : V("", !0),
3374
3377
  U("div", fl, [
3375
3378
  H(g.$slots, "form-actions", {}, () => [
3376
- e.config.jsonYamlFormsEnabled ? (p(), j("div", gl, [
3379
+ e.config.jsonYamlFormsEnabled ? (p(), T("div", gl, [
3377
3380
  O(S, {
3378
3381
  appearance: "tertiary",
3379
3382
  "data-testid": "form-view-configuration",
3380
- onClick: C[0] || (C[0] = (D) => h())
3383
+ onClick: k[0] || (k[0] = (R) => h())
3381
3384
  }, {
3382
3385
  default: m(() => [
3383
- z(N(b(r)("baseForm.actions.viewConfiguration")), 1)
3386
+ z(N(C(r)("baseForm.actions.viewConfiguration")), 1)
3384
3387
  ]),
3385
3388
  _: 1
3386
3389
  })
@@ -3392,7 +3395,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3392
3395
  type: "reset"
3393
3396
  }, {
3394
3397
  default: m(() => [
3395
- z(N(b(r)("baseForm.actions.cancel")), 1)
3398
+ z(N(C(r)("baseForm.actions.cancel")), 1)
3396
3399
  ]),
3397
3400
  _: 1
3398
3401
  }, 8, ["disabled"]),
@@ -3403,7 +3406,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3403
3406
  type: "submit"
3404
3407
  }, {
3405
3408
  default: m(() => [
3406
- z(N(b(r)("baseForm.actions.save")), 1)
3409
+ z(N(C(r)("baseForm.actions.save")), 1)
3407
3410
  ]),
3408
3411
  _: 1
3409
3412
  }, 8, ["disabled"])
@@ -3416,11 +3419,11 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3416
3419
  "has-overlay": !1,
3417
3420
  "is-visible": f.value,
3418
3421
  "prevent-close-on-blur": "",
3419
- title: b(r)("baseForm.configuration.title"),
3420
- onClose: C[1] || (C[1] = (D) => h())
3422
+ title: C(r)("baseForm.configuration.title"),
3423
+ onClose: k[1] || (k[1] = (R) => h())
3421
3424
  }, {
3422
3425
  default: m(() => [
3423
- U("div", null, N(b(r)("baseForm.configuration.message")), 1),
3426
+ U("div", null, N(C(r)("baseForm.configuration.message")), 1),
3424
3427
  O(L, {
3425
3428
  "data-testid": "form-view-configuration-slideout-tabs",
3426
3429
  tabs: I.value
@@ -3464,13 +3467,13 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3464
3467
  }
3465
3468
  },
3466
3469
  setup(e) {
3467
- const t = e, n = T(() => {
3470
+ const t = e, n = j(() => {
3468
3471
  var h;
3469
3472
  return ((h = t.rowEl) == null ? void 0 : h.querySelector(`[data-testid="${t.keyName}"]`)) || null;
3470
- }), a = T(() => {
3473
+ }), a = j(() => {
3471
3474
  var h;
3472
3475
  return ((h = n.value) == null ? void 0 : h.querySelector('[data-testid="first-col"]')) || null;
3473
- }), i = T(() => {
3476
+ }), i = j(() => {
3474
3477
  var h, A;
3475
3478
  const v = (h = t.rowEl) == null ? void 0 : h.querySelectorAll("td");
3476
3479
  return v ? ((A = v[0]) == null ? void 0 : A.getAttribute("data-testid")) === t.keyName : !1;
@@ -3481,7 +3484,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3481
3484
  }, l = () => {
3482
3485
  var h, A, v;
3483
3486
  c.value = ((h = a.value) == null ? void 0 : h.getBoundingClientRect().width) || 0, d.value = ((A = n.value) == null ? void 0 : A.clientWidth) || 0, u.value = ((v = s.value) == null ? void 0 : v.innerText) || "";
3484
- }, s = F({}), c = F(0), d = F(0), u = F(""), y = T(() => [a.value, n.value]), f = xe(
3487
+ }, s = F({}), c = F(0), d = F(0), u = F(""), y = j(() => [a.value, n.value]), f = xe(
3485
3488
  y,
3486
3489
  (h) => {
3487
3490
  if (i.value && (r(), "ResizeObserver" in window && window)) {
@@ -3495,19 +3498,19 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3495
3498
  }
3496
3499
  },
3497
3500
  { immediate: !0, flush: "post", deep: !0 }
3498
- ), w = T(() => i.value ? c.value > d.value : !1);
3501
+ ), w = j(() => i.value ? c.value > d.value : !1);
3499
3502
  return ra(() => {
3500
3503
  l();
3501
3504
  }), oa(() => {
3502
3505
  f();
3503
3506
  }), (h, A) => {
3504
3507
  const v = E("KTooltip");
3505
- return p(), j("span", {
3508
+ return p(), T("span", {
3506
3509
  ref_key: "contentRef",
3507
3510
  ref: s,
3508
3511
  class: "content-wrapper"
3509
3512
  }, [
3510
- i.value ? (p(), j("span", hl, [
3513
+ i.value ? (p(), T("span", hl, [
3511
3514
  O(v, {
3512
3515
  "max-width": "300",
3513
3516
  placement: "bottomStart",
@@ -3635,43 +3638,43 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3635
3638
  },
3636
3639
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3637
3640
  setup(e, { emit: t }) {
3638
- const n = e, a = t, { i18n: { t: i } } = ie.useI18n(), o = T(() => {
3639
- var C, x;
3641
+ const n = e, a = t, { i18n: { t: i } } = ie.useI18n(), o = j(() => {
3642
+ var k, x;
3640
3643
  return typeof n.errorMessage == "string" ? {
3641
3644
  hasError: !!n.errorMessage,
3642
3645
  title: n.errorMessage,
3643
3646
  message: void 0
3644
3647
  } : {
3645
3648
  hasError: !!n.errorMessage,
3646
- title: (C = n.errorMessage) == null ? void 0 : C.title,
3649
+ title: (k = n.errorMessage) == null ? void 0 : k.title,
3647
3650
  message: (x = n.errorMessage) == null ? void 0 : x.message
3648
3651
  };
3649
- }), r = T(() => n.cacheIdentifier || n.preferencesStorageKey), l = (C) => C.hasData || !!n.query, s = T(() => {
3650
- const C = [];
3652
+ }), r = j(() => n.cacheIdentifier || n.preferencesStorageKey), l = (k) => k.hasData || !!n.query, s = j(() => {
3653
+ const k = [];
3651
3654
  return Object.keys(n.tableHeaders).forEach((x) => {
3652
3655
  const re = n.tableHeaders[x];
3653
- C.push({
3656
+ k.push({
3654
3657
  label: re.label ?? x,
3655
3658
  key: x,
3656
3659
  sortable: re.sortable ?? !1
3657
3660
  });
3658
- }), n.enableEntityActions && C.push({
3661
+ }), n.enableEntityActions && k.push({
3659
3662
  key: "actions",
3660
3663
  hideLabel: !0
3661
- }), C;
3662
- }), c = (C) => ({
3663
- "data-rowid": C.id,
3664
- "data-testid": C.name,
3665
- ...n.rowAttributes(C)
3666
- }), d = F({}), u = (C) => {
3664
+ }), k;
3665
+ }), c = (k) => ({
3666
+ "data-rowid": k.id,
3667
+ "data-testid": k.name,
3668
+ ...n.rowAttributes(k)
3669
+ }), d = F({}), u = (k) => {
3667
3670
  var x;
3668
- return (x = d.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${C.id}"]`);
3669
- }, y = (C) => {
3671
+ return (x = d.value) == null ? void 0 : x.$el.querySelector(`[data-rowid="${k.id}"]`);
3672
+ }, y = (k) => {
3670
3673
  const x = {
3671
- "data-testid": C.headerKey,
3672
- ...n.cellAttributes(C)
3674
+ "data-testid": k.headerKey,
3675
+ ...n.cellAttributes(k)
3673
3676
  };
3674
- return C.colIndex === 0 && (x.style = {
3677
+ return k.colIndex === 0 && (x.style = {
3675
3678
  maxWidth: "250px",
3676
3679
  overflowX: "hidden",
3677
3680
  textOverflow: "ellipsis"
@@ -3680,20 +3683,20 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3680
3683
  a("empty-state-cta-clicked"), w();
3681
3684
  }, w = () => {
3682
3685
  a("clear-search-input");
3683
- }, h = T(() => n.disableRowClick ? void 0 : (C, x) => {
3686
+ }, h = j(() => n.disableRowClick ? void 0 : (k, x) => {
3684
3687
  a("click:row", x);
3685
- }), A = (C) => {
3686
- a("sort", C);
3687
- }, { setTablePreferences: v, getTablePreferences: k } = ga(), I = T(() => {
3688
- const C = k(n.preferencesStorageKey);
3688
+ }), A = (k) => {
3689
+ a("sort", k);
3690
+ }, { setTablePreferences: v, getTablePreferences: b } = ga(), I = j(() => {
3691
+ const k = b(n.preferencesStorageKey);
3689
3692
  return {
3690
3693
  ...n.initialFetcherParams,
3691
- ...C
3694
+ ...k
3692
3695
  };
3693
- }), g = (C) => {
3694
- n.preferencesStorageKey && v(n.preferencesStorageKey, C);
3696
+ }), g = (k) => {
3697
+ n.preferencesStorageKey && v(n.preferencesStorageKey, k);
3695
3698
  };
3696
- return (C, x) => {
3699
+ return (k, x) => {
3697
3700
  const re = E("KIcon"), B = E("KButton"), S = E("KDropdown"), L = E("KTable"), $ = E("KCard");
3698
3701
  return p(), q($, {
3699
3702
  class: "kong-ui-entity-base-table",
@@ -3708,12 +3711,12 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3708
3711
  "disable-pagination-page-jump": e.disablePaginationPageJump,
3709
3712
  "disable-sorting": e.disableSorting,
3710
3713
  "empty-state-action-button-icon": e.query ? "" : "plus",
3711
- "empty-state-action-message": e.query ? b(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3714
+ "empty-state-action-message": e.query ? C(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
3712
3715
  "empty-state-action-route": e.query ? "" : e.emptyStateOptions.ctaPath,
3713
3716
  "empty-state-icon": e.query ? "stateNoSearchResults" : "stateGruceo",
3714
3717
  "empty-state-icon-size": "96",
3715
- "empty-state-message": e.query ? b(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3716
- "empty-state-title": e.query ? b(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3718
+ "empty-state-message": e.query ? C(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
3719
+ "empty-state-title": e.query ? C(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
3717
3720
  "enable-client-sort": e.enableClientSort,
3718
3721
  "error-state-message": o.value.message,
3719
3722
  "error-state-title": o.value.title,
@@ -3734,15 +3737,15 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3734
3737
  }, Se({
3735
3738
  toolbar: m(({ state: K }) => [
3736
3739
  Ee(U("div", kl, [
3737
- H(C.$slots, "toolbar-filter", {}, void 0, !0),
3738
- C.$slots["toolbar-button"] ? (p(), j("div", Cl, [
3739
- H(C.$slots, "toolbar-button", {}, void 0, !0)
3740
+ H(k.$slots, "toolbar-filter", {}, void 0, !0),
3741
+ k.$slots["toolbar-button"] ? (p(), T("div", Cl, [
3742
+ H(k.$slots, "toolbar-button", {}, void 0, !0)
3740
3743
  ])) : V("", !0)
3741
3744
  ], 512), [
3742
3745
  [Ne, l(K)]
3743
3746
  ])
3744
3747
  ]),
3745
- actions: m(({ row: K, rowKey: D, rowValue: R }) => [
3748
+ actions: m(({ row: K, rowKey: R, rowValue: D }) => [
3746
3749
  U("div", {
3747
3750
  class: "actions-container",
3748
3751
  "data-testid": K.name
@@ -3752,10 +3755,10 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3752
3755
  width: e.dropdownMenuWidth
3753
3756
  }, {
3754
3757
  items: m(() => [
3755
- H(C.$slots, "actions", {
3758
+ H(k.$slots, "actions", {
3756
3759
  row: K,
3757
- rowKey: D,
3758
- rowValue: R
3760
+ rowKey: R,
3761
+ rowValue: D
3759
3762
  }, void 0, !0)
3760
3763
  ]),
3761
3764
  default: m(() => [
@@ -3766,7 +3769,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3766
3769
  }, {
3767
3770
  icon: m(() => [
3768
3771
  O(re, {
3769
- color: b(li),
3772
+ color: C(li),
3770
3773
  icon: "more",
3771
3774
  size: "16"
3772
3775
  }, null, 8, ["color"])
@@ -3780,16 +3783,16 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3780
3783
  ]),
3781
3784
  _: 2
3782
3785
  }, [
3783
- de(e.tableHeaders, (K, D) => ({
3784
- name: D,
3785
- fn: m(({ row: R, rowKey: J, rowValue: W }) => [
3786
+ de(e.tableHeaders, (K, R) => ({
3787
+ name: R,
3788
+ fn: m(({ row: D, rowKey: J, rowValue: W }) => [
3786
3789
  O(bl, {
3787
- "key-name": String(D),
3788
- "row-el": u(R)
3790
+ "key-name": String(R),
3791
+ "row-el": u(D)
3789
3792
  }, {
3790
3793
  default: m(() => [
3791
- H(C.$slots, D, {
3792
- row: R,
3794
+ H(k.$slots, R, {
3795
+ row: D,
3793
3796
  rowKey: J,
3794
3797
  rowValue: W
3795
3798
  }, () => [
@@ -3851,7 +3854,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3851
3854
  },
3852
3855
  emits: ["cancel", "proceed"],
3853
3856
  setup(e, { emit: t }) {
3854
- const { i18nT: n } = ie.useI18n(), a = e, i = t, o = T(() => a.needConfirm ? a.entityName : ""), r = () => {
3857
+ const { i18nT: n } = ie.useI18n(), a = e, i = t, o = j(() => a.needConfirm ? a.entityName : ""), r = () => {
3855
3858
  i("cancel");
3856
3859
  }, l = () => {
3857
3860
  i("proceed");
@@ -3870,7 +3873,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3870
3873
  onProceed: l
3871
3874
  }, {
3872
3875
  default: m(() => [
3873
- e.error ? (p(), j("div", Il, [
3876
+ e.error ? (p(), T("div", Il, [
3874
3877
  O(d, { appearance: "danger" }, {
3875
3878
  alertMessage: m(() => [
3876
3879
  z(N(e.error), 1)
@@ -3878,7 +3881,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3878
3881
  _: 1
3879
3882
  })
3880
3883
  ])) : V("", !0),
3881
- O(b(n), {
3884
+ O(C(n), {
3882
3885
  class: "message",
3883
3886
  keypath: a.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3884
3887
  tag: "p"
@@ -3896,7 +3899,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3896
3899
  key: "0"
3897
3900
  } : void 0
3898
3901
  ]), 1032, ["keypath"]),
3899
- a.description || s.$slots.description ? (p(), j("div", xl, [
3902
+ a.description || s.$slots.description ? (p(), T("div", xl, [
3900
3903
  H(s.$slots, "description", {}, () => [
3901
3904
  U("p", null, N(a.description), 1)
3902
3905
  ], !0)
@@ -3906,7 +3909,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3906
3909
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3907
3910
  };
3908
3911
  }
3909
- }), Tl = /* @__PURE__ */ ge(_l, [["__scopeId", "data-v-efe8f34b"]]), jl = {
3912
+ }), jl = /* @__PURE__ */ ge(_l, [["__scopeId", "data-v-efe8f34b"]]), Tl = {
3910
3913
  fill: "none",
3911
3914
  height: "20",
3912
3915
  viewBox: "0 0 20 20",
@@ -3929,7 +3932,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3929
3932
  }
3930
3933
  },
3931
3934
  setup(e) {
3932
- return (t, n) => (p(), j("svg", jl, [
3935
+ return (t, n) => (p(), T("svg", Tl, [
3933
3936
  U("mask", Ol, [
3934
3937
  U("rect", {
3935
3938
  fill: e.color,
@@ -3948,7 +3951,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3948
3951
  }), El = {
3949
3952
  key: 1,
3950
3953
  class: "kong-ui-entity-filter"
3951
- }, Nl = { class: "menu-item-title" }, Kl = { class: "menu-item-indicator" }, ql = { class: "menu-item-body" }, Bl = ["for"], Ll = { class: "menu-item-buttons" }, Ul = { class: "filter-clear-button-container" }, Dl = /* @__PURE__ */ G({
3954
+ }, Nl = { class: "menu-item-title" }, Kl = { class: "menu-item-indicator" }, ql = { class: "menu-item-body" }, Bl = ["for"], Ll = { class: "menu-item-buttons" }, Ul = { class: "filter-clear-button-container" }, Rl = /* @__PURE__ */ G({
3952
3955
  __name: "EntityFilter",
3953
3956
  props: {
3954
3957
  // filter config, either exact match or fuzzy match
@@ -3968,21 +3971,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3968
3971
  },
3969
3972
  emits: ["update:modelValue"],
3970
3973
  setup(e, { emit: t }) {
3971
- const { i18n: { t: n } } = ie.useI18n(), a = e, i = t, o = F(!1), r = F({}), l = T(() => {
3974
+ const { i18n: { t: n } } = ie.useI18n(), a = e, i = t, o = F(!1), r = F({}), l = j(() => {
3972
3975
  const v = [];
3973
- return new URLSearchParams(a.modelValue).forEach((k, I) => {
3974
- k !== "" && v.push(I);
3976
+ return new URLSearchParams(a.modelValue).forEach((b, I) => {
3977
+ b !== "" && v.push(I);
3975
3978
  }), v;
3976
- }), s = T(() => {
3979
+ }), s = j(() => {
3977
3980
  const v = a.config.fields;
3978
- return Object.keys(v).filter((k) => v[k].searchable).map((k) => ({
3979
- label: v[k].label || k,
3980
- value: k
3981
+ return Object.keys(v).filter((b) => v[b].searchable).map((b) => ({
3982
+ label: v[b].label || b,
3983
+ value: b
3981
3984
  }));
3982
3985
  });
3983
3986
  xe(() => a.modelValue, (v) => {
3984
- r.value = {}, new URLSearchParams(v).forEach((k, I) => {
3985
- r.value[I] = k;
3987
+ r.value = {}, new URLSearchParams(v).forEach((b, I) => {
3988
+ r.value[I] = b;
3986
3989
  });
3987
3990
  });
3988
3991
  const c = () => {
@@ -3990,14 +3993,14 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
3990
3993
  }, d = (v) => {
3991
3994
  i("update:modelValue", v);
3992
3995
  }, u = (v) => `filter-${v}`, y = (v) => {
3993
- var k, I;
3994
- return (((I = (k = a.config.schema) == null ? void 0 : k[v]) == null ? void 0 : I.values) ?? []).map((g) => ({
3996
+ var b, I;
3997
+ return (((I = (b = a.config.schema) == null ? void 0 : b[v]) == null ? void 0 : I.values) ?? []).map((g) => ({
3995
3998
  value: g,
3996
3999
  label: g
3997
4000
  }));
3998
4001
  }, f = (v) => {
3999
- var k, I;
4000
- return ((I = (k = a.config.schema) == null ? void 0 : k[v]) == null ? void 0 : I.type) ?? "text";
4002
+ var b, I;
4003
+ return ((I = (b = a.config.schema) == null ? void 0 : b[v]) == null ? void 0 : I.type) ?? "text";
4001
4004
  }, w = (v) => {
4002
4005
  r.value = {
4003
4006
  ...r.value,
@@ -4006,11 +4009,11 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4006
4009
  }, h = () => {
4007
4010
  r.value = {}, A(!0);
4008
4011
  }, A = (v = !1) => {
4009
- const k = Object.keys(r.value).reduce((I, g) => (r.value[g] && (I[g] = `${r.value[g]}`), I), {});
4010
- v && (o.value = !1), i("update:modelValue", new URLSearchParams(k).toString());
4012
+ const b = Object.keys(r.value).reduce((I, g) => (r.value[g] && (I[g] = `${r.value[g]}`), I), {});
4013
+ v && (o.value = !1), i("update:modelValue", new URLSearchParams(b).toString());
4011
4014
  };
4012
- return (v, k) => {
4013
- const I = E("KInput"), g = E("KButton"), C = E("KSelect"), x = E("KMenuItem"), re = E("KMenu");
4015
+ return (v, b) => {
4016
+ const I = E("KInput"), g = E("KButton"), k = E("KSelect"), x = E("KMenuItem"), re = E("KMenu");
4014
4017
  return e.config.isExactMatch ? (p(), q(I, {
4015
4018
  key: 0,
4016
4019
  autocomplete: "off",
@@ -4024,7 +4027,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4024
4027
  O(Zt)
4025
4028
  ]),
4026
4029
  _: 1
4027
- }, 8, ["model-value", "placeholder"])) : (p(), j("div", El, [
4030
+ }, 8, ["model-value", "placeholder"])) : (p(), T("div", El, [
4028
4031
  O(g, {
4029
4032
  appearance: "tertiary",
4030
4033
  "data-testid": "filter-button",
@@ -4032,7 +4035,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4032
4035
  }, {
4033
4036
  default: m(() => [
4034
4037
  O(Zt),
4035
- z(" " + N(b(n)("filter.filterButtonText")) + " " + N(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4038
+ z(" " + N(C(n)("filter.filterButtonText")) + " " + N(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4036
4039
  ]),
4037
4040
  _: 1
4038
4041
  }),
@@ -4044,7 +4047,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4044
4047
  ]),
4045
4048
  Ee(O(re, { class: "kong-ui-entity-filter-menu" }, {
4046
4049
  body: m(() => [
4047
- (p(!0), j(fe, null, de(s.value, (B, S) => (p(), q(x, {
4050
+ (p(!0), T(fe, null, de(s.value, (B, S) => (p(), q(x, {
4048
4051
  key: B.value,
4049
4052
  "data-testid": B.value,
4050
4053
  expandable: "",
@@ -4065,21 +4068,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4065
4068
  U("label", {
4066
4069
  class: "menu-item-label",
4067
4070
  for: u(B.value)
4068
- }, N(b(n)("filter.fieldLabel")), 9, Bl),
4069
- (($ = (L = e.config.schema) == null ? void 0 : L[B.value]) == null ? void 0 : $.type) === "select" ? (p(), q(C, {
4071
+ }, N(C(n)("filter.fieldLabel")), 9, Bl),
4072
+ (($ = (L = e.config.schema) == null ? void 0 : L[B.value]) == null ? void 0 : $.type) === "select" ? (p(), q(k, {
4070
4073
  key: 0,
4071
4074
  id: u(B.value),
4072
4075
  modelValue: r.value[B.value],
4073
4076
  "onUpdate:modelValue": (K) => r.value[B.value] = K,
4074
4077
  items: y(B.value),
4075
- placeholder: b(n)("filter.selectPlaceholder")
4078
+ placeholder: C(n)("filter.selectPlaceholder")
4076
4079
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(), q(I, {
4077
4080
  key: 1,
4078
4081
  id: u(B.value),
4079
4082
  modelValue: r.value[B.value],
4080
4083
  "onUpdate:modelValue": (K) => r.value[B.value] = K,
4081
4084
  autocomplete: "off",
4082
- placeholder: b(n)("filter.inputPlaceholder"),
4085
+ placeholder: C(n)("filter.inputPlaceholder"),
4083
4086
  type: f(B.value)
4084
4087
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4085
4088
  ]),
@@ -4088,10 +4091,10 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4088
4091
  appearance: "tertiary",
4089
4092
  "data-testid": "apply-filter",
4090
4093
  size: "small",
4091
- onClick: k[0] || (k[0] = (K) => A(!0))
4094
+ onClick: b[0] || (b[0] = (K) => A(!0))
4092
4095
  }, {
4093
4096
  default: m(() => [
4094
- z(N(b(n)("filter.applyButtonText")), 1)
4097
+ z(N(C(n)("filter.applyButtonText")), 1)
4095
4098
  ]),
4096
4099
  _: 1
4097
4100
  }),
@@ -4102,7 +4105,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4102
4105
  onClick: (K) => w(B.value)
4103
4106
  }, {
4104
4107
  default: m(() => [
4105
- z(N(b(n)("filter.clearButtonText")), 1)
4108
+ z(N(C(n)("filter.clearButtonText")), 1)
4106
4109
  ]),
4107
4110
  _: 2
4108
4111
  }, 1032, ["onClick"])
@@ -4120,7 +4123,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4120
4123
  onClick: h
4121
4124
  }, {
4122
4125
  default: m(() => [
4123
- z(N(b(n)("filter.clearAllButtonText")), 1)
4126
+ z(N(C(n)("filter.clearAllButtonText")), 1)
4124
4127
  ]),
4125
4128
  _: 1
4126
4129
  })
@@ -4133,7 +4136,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4133
4136
  ]));
4134
4137
  };
4135
4138
  }
4136
- }), Rl = /* @__PURE__ */ ge(Dl, [["__scopeId", "data-v-e9512e8f"]]), De = /* @__PURE__ */ G({
4139
+ }), Dl = /* @__PURE__ */ ge(Rl, [["__scopeId", "data-v-e9512e8f"]]), Re = /* @__PURE__ */ G({
4137
4140
  __name: "PermissionsWrapper",
4138
4141
  props: {
4139
4142
  /**
@@ -4155,7 +4158,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4155
4158
  }
4156
4159
  },
4157
4160
  setup(e) {
4158
- const t = e, n = F(void 0), a = T(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4161
+ const t = e, n = F(void 0), a = j(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4159
4162
  return xe(() => t.authFunction, async () => {
4160
4163
  n.value = await t.authFunction();
4161
4164
  }, { immediate: !0 }), (i, o) => a.value ? H(i.$slots, "default", {
@@ -4198,21 +4201,21 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4198
4201
  },
4199
4202
  setup(e) {
4200
4203
  const t = We();
4201
- return (n, a) => (p(), j("fieldset", {
4204
+ return (n, a) => (p(), T("fieldset", {
4202
4205
  class: ke(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4203
4206
  }, [
4204
4207
  U("div", Pl, [
4205
- e.hideInfoHeader ? V("", !0) : (p(), j("div", {
4208
+ e.hideInfoHeader ? V("", !0) : (p(), T("div", {
4206
4209
  key: 0,
4207
4210
  class: ke(["form-section-info", { sticky: e.stickyInfoHeader }])
4208
4211
  }, [
4209
- e.title ? (p(), j("h4", Vl, N(e.title), 1)) : V("", !0),
4210
- e.description || b(t).description ? (p(), j("div", zl, [
4212
+ e.title ? (p(), T("h4", Vl, N(e.title), 1)) : V("", !0),
4213
+ e.description || C(t).description ? (p(), T("div", zl, [
4211
4214
  H(n.$slots, "description", {}, () => [
4212
4215
  U("p", null, N(e.description), 1)
4213
4216
  ], !0)
4214
4217
  ])) : V("", !0),
4215
- b(t).footer ? (p(), j("div", Hl, [
4218
+ C(t).footer ? (p(), T("div", Hl, [
4216
4219
  H(n.$slots, "footer", {}, void 0, !0)
4217
4220
  ])) : V("", !0)
4218
4221
  ], 2)),
@@ -4271,15 +4274,15 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4271
4274
  var wt;
4272
4275
  const n = t, a = e, { i18n: { t: i } } = pt.useI18n(), o = ut(), { axiosInstance: r } = ea({
4273
4276
  headers: (wt = a.config) == null ? void 0 : wt.requestHeaders
4274
- }), l = F(1), s = T(() => a.config.app !== "kongManager" || !!a.config.disableSorting), c = {
4277
+ }), l = F(1), s = j(() => a.config.app !== "kongManager" || !!a.config.disableSorting), c = {
4275
4278
  name: { label: i("keySets.list.table_headers.name"), searchable: !0, sortable: !0 },
4276
4279
  tags: { label: i("keySets.list.table_headers.tags") },
4277
4280
  id: { label: i("keySets.list.table_headers.id"), sortable: !0 }
4278
- }, d = c, u = T(() => {
4281
+ }, d = c, u = j(() => {
4279
4282
  var P, ee;
4280
4283
  let M = `${a.config.apiBaseUrl}${Pe.list[a.config.app]}`;
4281
4284
  return a.config.app === "konnect" ? M = M.replace(/{controlPlaneId}/gi, ((P = a.config) == null ? void 0 : P.controlPlaneId) || "") : a.config.app === "kongManager" && (M = M.replace(/\/{workspace}/gi, (ee = a.config) != null && ee.workspace ? `/${a.config.workspace}` : "")), M;
4282
- }), y = F(""), f = T(() => {
4285
+ }), y = F(""), f = j(() => {
4283
4286
  const M = a.config.app === "konnect" || a.config.isExactMatch;
4284
4287
  if (M)
4285
4288
  return {
@@ -4296,7 +4299,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4296
4299
  y.value = "";
4297
4300
  }, v = () => {
4298
4301
  l.value++;
4299
- }, k = F(null), I = (M, P) => {
4302
+ }, b = F(null), I = (M, P) => {
4300
4303
  const ee = M.id;
4301
4304
  if (!P(ee)) {
4302
4305
  re(M, "id");
@@ -4316,7 +4319,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4316
4319
  entity: M,
4317
4320
  message: i("keySets.copy.success_brief")
4318
4321
  });
4319
- }, C = (M, P, ee) => {
4322
+ }, k = (M, P, ee) => {
4320
4323
  const { type: ye } = M;
4321
4324
  ye === "success" ? x(P, ee) : re(P, ee);
4322
4325
  }, x = (M, P) => {
@@ -4340,32 +4343,32 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4340
4343
  }), L = (M) => ({
4341
4344
  label: i("keySets.actions.edit"),
4342
4345
  to: a.config.getEditRoute(M)
4343
- }), $ = F(void 0), K = F(!1), D = F(!1), R = F(""), J = Zl(a.config, u.value), W = (M) => {
4346
+ }), $ = F(void 0), K = F(!1), R = F(!1), D = F(""), J = Zl(a.config, u.value), W = (M) => {
4344
4347
  $.value = M, K.value = !0;
4345
4348
  }, ae = () => {
4346
4349
  K.value = !1;
4347
4350
  }, X = async () => {
4348
4351
  var M, P, ee;
4349
4352
  if ((M = $.value) != null && M.id) {
4350
- D.value = !0;
4353
+ R.value = !0;
4351
4354
  try {
4352
- await r.delete(J($.value.id)), D.value = !1, K.value = !1, l.value++, n("delete:success", $.value);
4355
+ await r.delete(J($.value.id)), R.value = !1, K.value = !1, l.value++, n("delete:success", $.value);
4353
4356
  } catch (ye) {
4354
- R.value = ((ee = (P = ye.response) == null ? void 0 : P.data) == null ? void 0 : ee.message) || ye.message || i("keySets.errors.delete"), n("error", ye);
4357
+ D.value = ((ee = (P = ye.response) == null ? void 0 : P.data) == null ? void 0 : ee.message) || ye.message || i("keySets.errors.delete"), n("error", ye);
4355
4358
  } finally {
4356
- D.value = !1;
4359
+ R.value = !1;
4357
4360
  }
4358
4361
  }
4359
4362
  }, Z = F(!0);
4360
4363
  xe(h, (M) => {
4361
4364
  var P, ee, ye, Ue;
4362
4365
  if (Array.isArray((P = M == null ? void 0 : M.response) == null ? void 0 : P.data) && (Z.value = M.response.data.length > 0), M.status === we.Error) {
4363
- k.value = {
4366
+ b.value = {
4364
4367
  title: i("keySets.errors.general")
4365
- }, (Ue = (ye = (ee = M.error) == null ? void 0 : ee.response) == null ? void 0 : ye.data) != null && Ue.message && (k.value.message = M.error.response.data.message), n("error", M.error);
4368
+ }, (Ue = (ye = (ee = M.error) == null ? void 0 : ee.response) == null ? void 0 : ye.data) != null && Ue.message && (b.value.message = M.error.response.data.message), n("error", M.error);
4366
4369
  return;
4367
4370
  }
4368
- k.value = null;
4371
+ b.value = null;
4369
4372
  });
4370
4373
  const le = F({
4371
4374
  ctaPath: a.config.createRoute,
@@ -4377,27 +4380,27 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4377
4380
  await a.canCreate() && (le.value.title = i("keySets.list.empty_state.title"), le.value.ctaText = i("keySets.actions.create"));
4378
4381
  }), (M, P) => {
4379
4382
  const ee = E("KButton"), ye = E("KBadge"), Ue = E("KTruncate"), na = E("CopyUuid"), Me = E("KDropdownItem"), St = E("KClipboardProvider");
4380
- return p(), j("div", Xl, [
4381
- O(b(Al), {
4383
+ return p(), T("div", Xl, [
4384
+ O(C(Al), {
4382
4385
  "cache-identifier": e.cacheIdentifier,
4383
4386
  "disable-pagination-page-jump": "",
4384
4387
  "disable-sorting": s.value,
4385
4388
  "empty-state-options": le.value,
4386
4389
  "enable-entity-actions": "",
4387
- "error-message": k.value,
4388
- fetcher: b(w),
4390
+ "error-message": b.value,
4391
+ fetcher: C(w),
4389
4392
  "fetcher-cache-key": l.value,
4390
4393
  "pagination-type": "offset",
4391
4394
  "preferences-storage-key": "kong-ui-entities-key-sets-list",
4392
4395
  query: y.value,
4393
- "table-headers": b(d),
4396
+ "table-headers": C(d),
4394
4397
  "use-action-outside": e.useActionOutside,
4395
4398
  onClearSearchInput: A,
4396
4399
  "onClick:row": P[2] || (P[2] = (Q) => B(Q)),
4397
4400
  onSort: v
4398
4401
  }, {
4399
4402
  "toolbar-filter": m(() => [
4400
- O(b(Rl), {
4403
+ O(C(Dl), {
4401
4404
  modelValue: y.value,
4402
4405
  "onUpdate:modelValue": P[0] || (P[0] = (Q) => y.value = Q),
4403
4406
  config: f.value
@@ -4408,7 +4411,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4408
4411
  to: e.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4409
4412
  }, {
4410
4413
  default: m(() => [
4411
- O(b(De), {
4414
+ O(C(Re), {
4412
4415
  "auth-function": () => e.canCreate()
4413
4416
  }, {
4414
4417
  default: m(() => [
@@ -4419,7 +4422,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4419
4422
  to: e.config.createRoute
4420
4423
  }, {
4421
4424
  default: m(() => [
4422
- z(N(b(i)("keySets.list.toolbar_actions.new_key_set")), 1)
4425
+ z(N(C(i)("keySets.list.toolbar_actions.new_key_set")), 1)
4423
4426
  ]),
4424
4427
  _: 1
4425
4428
  }, 8, ["to"]), [
@@ -4438,9 +4441,9 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4438
4441
  tags: m(({ rowValue: Q }) => [
4439
4442
  (Q == null ? void 0 : Q.length) > 0 ? (p(), q(Ue, { key: 0 }, {
4440
4443
  default: m(() => [
4441
- (p(!0), j(fe, null, de(Q, (he) => (p(), q(ye, {
4444
+ (p(!0), T(fe, null, de(Q, (he) => (p(), q(ye, {
4442
4445
  key: he,
4443
- onClick: P[1] || (P[1] = Re(() => {
4446
+ onClick: P[1] || (P[1] = De(() => {
4444
4447
  }, ["stop"]))
4445
4448
  }, {
4446
4449
  default: m(() => [
@@ -4450,11 +4453,11 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4450
4453
  }, 1024))), 128))
4451
4454
  ]),
4452
4455
  _: 2
4453
- }, 1024)) : (p(), j("span", es, "-"))
4456
+ }, 1024)) : (p(), T("span", es, "-"))
4454
4457
  ]),
4455
4458
  id: m(({ row: Q, rowValue: he }) => [
4456
4459
  O(na, {
4457
- notify: (Ge) => C(Ge, Q, "id"),
4460
+ notify: (Ge) => k(Ge, Q, "id"),
4458
4461
  truncated: !1,
4459
4462
  uuid: he
4460
4463
  }, null, 8, ["notify", "uuid"])
@@ -4467,7 +4470,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4467
4470
  onClick: (Ge) => I(Q, he)
4468
4471
  }, {
4469
4472
  default: m(() => [
4470
- z(N(b(i)("keySets.actions.copy_id")), 1)
4473
+ z(N(C(i)("keySets.actions.copy_id")), 1)
4471
4474
  ]),
4472
4475
  _: 2
4473
4476
  }, 1032, ["onClick"])
@@ -4481,14 +4484,14 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4481
4484
  onClick: (Ge) => g(Q, he)
4482
4485
  }, {
4483
4486
  default: m(() => [
4484
- z(N(b(i)("keySets.actions.copy_json")), 1)
4487
+ z(N(C(i)("keySets.actions.copy_json")), 1)
4485
4488
  ]),
4486
4489
  _: 2
4487
4490
  }, 1032, ["onClick"])
4488
4491
  ]),
4489
4492
  _: 2
4490
4493
  }, 1024),
4491
- O(b(De), {
4494
+ O(C(Re), {
4492
4495
  "auth-function": () => e.canRetrieve(Q)
4493
4496
  }, {
4494
4497
  default: m(() => [
@@ -4500,7 +4503,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4500
4503
  ]),
4501
4504
  _: 2
4502
4505
  }, 1032, ["auth-function"]),
4503
- O(b(De), {
4506
+ O(C(Re), {
4504
4507
  "auth-function": () => e.canEdit(Q)
4505
4508
  }, {
4506
4509
  default: m(() => [
@@ -4511,7 +4514,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4511
4514
  ]),
4512
4515
  _: 2
4513
4516
  }, 1032, ["auth-function"]),
4514
- O(b(De), {
4517
+ O(C(Re), {
4515
4518
  "auth-function": () => e.canDelete(Q)
4516
4519
  }, {
4517
4520
  default: m(() => [
@@ -4522,7 +4525,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4522
4525
  onClick: (he) => W(Q)
4523
4526
  }, {
4524
4527
  default: m(() => [
4525
- z(N(b(i)("keySets.actions.delete")), 1)
4528
+ z(N(C(i)("keySets.actions.delete")), 1)
4526
4529
  ]),
4527
4530
  _: 2
4528
4531
  }, 1032, ["onClick"])
@@ -4532,13 +4535,13 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4532
4535
  ]),
4533
4536
  _: 1
4534
4537
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4535
- O(b(Tl), {
4536
- "action-pending": D.value,
4537
- description: b(i)("keySets.delete.description"),
4538
+ O(C(jl), {
4539
+ "action-pending": R.value,
4540
+ description: C(i)("keySets.delete.description"),
4538
4541
  "entity-name": $.value && ($.value.name || $.value.id),
4539
- "entity-type": b(an).KeySet,
4540
- error: R.value,
4541
- title: b(i)("keySets.delete.title"),
4542
+ "entity-type": C(an).KeySet,
4543
+ error: D.value,
4544
+ title: C(i)("keySets.delete.title"),
4542
4545
  visible: K.value,
4543
4546
  onCancel: ae,
4544
4547
  onProceed: X
@@ -4569,10 +4572,10 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4569
4572
  },
4570
4573
  emits: ["update", "error", "loading"],
4571
4574
  setup(e, { emit: t }) {
4572
- var k;
4575
+ var b;
4573
4576
  const n = t, a = e, i = ut(), { i18n: { t: o } } = pt.useI18n(), { getMessageFromError: r } = Gl(), { axiosInstance: l } = ea({
4574
- headers: (k = a.config) == null ? void 0 : k.requestHeaders
4575
- }), s = T(() => Pe.form[a.config.app].edit), c = T(() => a.keySetId ? at.Edit : at.Create), d = At({
4577
+ headers: (b = a.config) == null ? void 0 : b.requestHeaders
4578
+ }), s = j(() => Pe.form[a.config.app].edit), c = j(() => a.keySetId ? at.Edit : at.Create), d = At({
4576
4579
  fields: {
4577
4580
  name: "",
4578
4581
  tags: ""
@@ -4582,40 +4585,40 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4582
4585
  }), u = At({
4583
4586
  name: "",
4584
4587
  tags: ""
4585
- }), y = T(() => JSON.stringify(d.fields) !== JSON.stringify(u) && !!d.fields.name), f = (I) => {
4588
+ }), y = j(() => JSON.stringify(d.fields) !== JSON.stringify(u) && !!d.fields.name), f = (I) => {
4586
4589
  var g;
4587
4590
  d.fields.name = (I == null ? void 0 : I.name) || "", d.fields.tags = ((g = I == null ? void 0 : I.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields);
4588
4591
  }, w = () => {
4589
4592
  i.push(a.config.cancelRoute);
4590
- }, h = T(() => {
4591
- var g, C;
4593
+ }, h = j(() => {
4594
+ var g, k;
4592
4595
  let I = `${a.config.apiBaseUrl}${Pe.form[a.config.app][c.value]}`;
4593
- return a.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (C = a.config) != null && C.workspace ? `/${a.config.workspace}` : "")), I = I.replace(/{id}/gi, a.keySetId), I;
4594
- }), A = T(() => {
4595
- var I, g, C;
4596
+ return a.config.app === "konnect" ? I = I.replace(/{controlPlaneId}/gi, ((g = a.config) == null ? void 0 : g.controlPlaneId) || "") : a.config.app === "kongManager" && (I = I.replace(/\/{workspace}/gi, (k = a.config) != null && k.workspace ? `/${a.config.workspace}` : "")), I = I.replace(/{id}/gi, a.keySetId), I;
4597
+ }), A = j(() => {
4598
+ var I, g, k;
4596
4599
  return {
4597
4600
  name: d.fields.name,
4598
- tags: ((C = (g = (I = d.fields.tags) == null ? void 0 : I.split(",")) == null ? void 0 : g.map((x) => String(x || "").trim())) == null ? void 0 : C.filter((x) => x !== "")) || ""
4601
+ tags: ((k = (g = (I = d.fields.tags) == null ? void 0 : I.split(",")) == null ? void 0 : g.map((x) => String(x || "").trim())) == null ? void 0 : k.filter((x) => x !== "")) || ""
4599
4602
  };
4600
4603
  }), v = async () => {
4601
4604
  var I, g;
4602
4605
  try {
4603
4606
  d.isReadonly = !0;
4604
- let C;
4605
- if (c.value === "create" ? C = await l.post(h.value, A.value) : c.value === "edit" && (C = ((I = a.config) == null ? void 0 : I.app) === "konnect" ? await l.put(h.value, A.value) : await l.patch(h.value, A.value)), C) {
4606
- const { data: x } = C;
4607
- d.fields.name = (x == null ? void 0 : x.name) || "", d.fields.tags = ((g = x == null ? void 0 : x.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields), n("update", C == null ? void 0 : C.data);
4607
+ let k;
4608
+ if (c.value === "create" ? k = await l.post(h.value, A.value) : c.value === "edit" && (k = ((I = a.config) == null ? void 0 : I.app) === "konnect" ? await l.put(h.value, A.value) : await l.patch(h.value, A.value)), k) {
4609
+ const { data: x } = k;
4610
+ d.fields.name = (x == null ? void 0 : x.name) || "", d.fields.tags = ((g = x == null ? void 0 : x.tags) == null ? void 0 : g.join(", ")) || "", Object.assign(u, d.fields), n("update", k == null ? void 0 : k.data);
4608
4611
  }
4609
- } catch (C) {
4610
- d.errorMessage = r(C), n("error", C);
4612
+ } catch (k) {
4613
+ d.errorMessage = r(k), n("error", k);
4611
4614
  } finally {
4612
4615
  d.isReadonly = !1;
4613
4616
  }
4614
4617
  };
4615
4618
  return (I, g) => {
4616
- const C = E("KInput");
4617
- return p(), j("div", ns, [
4618
- O(b(ml), {
4619
+ const k = E("KInput");
4620
+ return p(), T("div", ns, [
4621
+ O(C(ml), {
4619
4622
  "can-submit": y.value,
4620
4623
  config: e.config,
4621
4624
  "edit-id": e.keySetId,
@@ -4630,33 +4633,33 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4630
4633
  onSubmit: v
4631
4634
  }, {
4632
4635
  default: m(() => [
4633
- O(b(Wl), {
4634
- description: b(o)("keySets.form.sections.general.description"),
4636
+ O(C(Wl), {
4637
+ description: C(o)("keySets.form.sections.general.description"),
4635
4638
  "has-divider": "",
4636
- title: b(o)("keySets.form.sections.general.title")
4639
+ title: C(o)("keySets.form.sections.general.title")
4637
4640
  }, {
4638
4641
  default: m(() => [
4639
- O(C, {
4642
+ O(k, {
4640
4643
  modelValue: d.fields.name,
4641
4644
  "onUpdate:modelValue": g[0] || (g[0] = (x) => d.fields.name = x),
4642
4645
  modelModifiers: { trim: !0 },
4643
4646
  autocomplete: "off",
4644
4647
  "data-testid": "key-set-form-name",
4645
- label: b(o)("keySets.form.fields.name.label"),
4646
- placeholder: b(o)("keySets.form.fields.name.placeholder"),
4648
+ label: C(o)("keySets.form.fields.name.label"),
4649
+ placeholder: C(o)("keySets.form.fields.name.placeholder"),
4647
4650
  readonly: d.isReadonly,
4648
4651
  type: "text"
4649
4652
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
4650
- O(C, {
4653
+ O(k, {
4651
4654
  modelValue: d.fields.tags,
4652
4655
  "onUpdate:modelValue": g[1] || (g[1] = (x) => d.fields.tags = x),
4653
4656
  modelModifiers: { trim: !0 },
4654
4657
  autocomplete: "off",
4655
4658
  "data-testid": "key-set-form-tags",
4656
- help: b(o)("keySets.form.fields.tags.help"),
4657
- label: b(o)("keySets.form.fields.tags.label"),
4658
- "label-attributes": { info: b(o)("keySets.form.fields.tags.tooltip") },
4659
- placeholder: b(o)("keySets.form.fields.tags.placeholder"),
4659
+ help: C(o)("keySets.form.fields.tags.help"),
4660
+ label: C(o)("keySets.form.fields.tags.label"),
4661
+ "label-attributes": { info: C(o)("keySets.form.fields.tags.tooltip") },
4662
+ placeholder: C(o)("keySets.form.fields.tags.placeholder"),
4660
4663
  readonly: d.isReadonly,
4661
4664
  type: "text"
4662
4665
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
@@ -4696,7 +4699,7 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4696
4699
  },
4697
4700
  emits: ["loading", "fetch:error", "fetch:success", "copy:success"],
4698
4701
  setup(e) {
4699
- const t = e, { i18n: { t: n } } = pt.useI18n(), a = T(() => Pe.form[t.config.app].edit), i = F({
4702
+ const t = e, { i18n: { t: n } } = pt.useI18n(), a = j(() => Pe.form[t.config.app].edit), i = F({
4700
4703
  id: {},
4701
4704
  name: {},
4702
4705
  last_updated: {},
@@ -4705,8 +4708,8 @@ const zo = { class: "yaml-config" }, Xn = /* @__PURE__ */ G({
4705
4708
  tooltip: n("keySets.form.fields.tags.tooltip")
4706
4709
  }
4707
4710
  });
4708
- return (o, r) => (p(), j("div", is, [
4709
- O(b(pl), {
4711
+ return (o, r) => (p(), T("div", is, [
4712
+ O(C(pl), {
4710
4713
  config: e.config,
4711
4714
  "config-card-doc": e.configCardDoc,
4712
4715
  "config-schema": i.value,