@kong-ui-public/entities-keys 2.1.17 → 2.1.19

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 oe, ref as M, computed as j, watch as ke, renderSlot as X, createCommentVNode as H, unref as g, resolveComponent as N, openBlock as y, createElementBlock as T, createVNode as K, withCtx as k, createTextVNode as ee, toDisplayString as E, useCssVars as Xt, useSlots as tt, createElementVNode as L, createSlots as Ae, createBlock as F, resolveDynamicComponent as Fe, normalizeProps as ta, guardReactiveProps as na, Fragment as he, renderList as ge, mergeProps as st, normalizeClass as we, onBeforeMount as nt, withModifiers as Ye, withDirectives as De, vShow as Ve, onMounted as aa, onUnmounted as ia, inject as ra, normalizeStyle as en, pushScopeId as tn, popScopeId as nn, Teleport as oa, reactive as At } from "vue";
1
+ import { defineComponent as oe, ref as M, computed as j, watch as ke, renderSlot as X, createCommentVNode as H, unref as g, resolveComponent as F, openBlock as y, createElementBlock as T, createVNode as K, withCtx as k, createTextVNode as ee, toDisplayString as E, useCssVars as Xt, useSlots as tt, createElementVNode as L, createSlots as Ae, createBlock as N, resolveDynamicComponent as Ne, normalizeProps as ta, guardReactiveProps as na, Fragment as he, renderList as ge, mergeProps as st, normalizeClass as we, onBeforeMount as nt, withModifiers as Ye, withDirectives as De, vShow as Ve, onMounted as aa, onUnmounted as ia, inject as ra, normalizeStyle as en, pushScopeId as tn, popScopeId as nn, Teleport as oa, reactive as At } from "vue";
2
2
  import { useRouter as yt } from "vue-router";
3
3
  import { createI18n as mt, i18nTComponent as an } from "@kong-ui-public/i18n";
4
4
  import la from "axios";
@@ -527,7 +527,9 @@ function Ta(e, n, t = "data") {
527
527
  return { fetcher: async (l) => {
528
528
  try {
529
529
  o.value = { status: Te.Loading };
530
- const s = r(l), { data: u } = await i.get(s), c = t && t.replace(/[^\w-_]/gi, "");
530
+ let s = r(l);
531
+ s.includes("filter[name]") && (s = `${s}&page[size]=${l.pageSize}&page[number]=${l.page}`);
532
+ const { data: u } = await i.get(s), c = t && t.replace(/[^\w-_]/gi, "");
531
533
  let d;
532
534
  u[c] && Array.isArray(u[c]) ? d = u[c] : Array.isArray(u) ? d = u : d = Object.keys(u).length ? [u] : [];
533
535
  const h = {
@@ -608,13 +610,13 @@ const sn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
608
610
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
609
611
  if (Ot.indexOf(e) === -1)
610
612
  throw new Error(`Invalid operator, expected one of ${Ot.join("|")}`);
611
- }, Fa = (e) => typeof e == "string" && /^[v\d]/.test(e) && sn.test(e);
612
- function Na(e) {
613
+ }, Na = (e) => typeof e == "string" && /^[v\d]/.test(e) && sn.test(e);
614
+ function Fa(e) {
613
615
  const { gatewayInfo: n, supportedRange: t } = e;
614
616
  if (!n)
615
617
  return !0;
616
618
  const { edition: a, version: i } = n;
617
- if (!Fa(i))
619
+ if (!Na(i))
618
620
  return console.error("Invalid version"), !1;
619
621
  const r = t[a];
620
622
  if (!r)
@@ -641,7 +643,7 @@ const ue = {
641
643
  useHelpers: on,
642
644
  useStringHelpers: $a,
643
645
  useI18n: vt,
644
- useGatewayFeatureSupported: Na,
646
+ useGatewayFeatureSupported: Fa,
645
647
  useTruncationDetector: qa
646
648
  }, Ba = {
647
649
  fail: "Failed to copy id to clipboard",
@@ -657,10 +659,10 @@ const ue = {
657
659
  for (const [a, i] of n)
658
660
  t[a] = i;
659
661
  return t;
660
- }, Pa = (e) => (tn("data-v-ac7fcfb4"), e = e(), nn(), e), Ra = ["aria-hidden"], Ja = {
662
+ }, Pa = (e) => (tn("data-v-ac7fcfb4"), e = e(), nn(), e), Ra = ["aria-hidden"], za = {
661
663
  key: 0,
662
664
  "data-testid": "kui-icon-svg-title"
663
- }, za = /* @__PURE__ */ Pa(() => /* @__PURE__ */ L("path", {
665
+ }, Ja = /* @__PURE__ */ Pa(() => /* @__PURE__ */ L("path", {
664
666
  d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
665
667
  fill: "currentColor"
666
668
  }, null, -1)), Ha = /* @__PURE__ */ oe({
@@ -732,7 +734,7 @@ const ue = {
732
734
  lineHeight: "0",
733
735
  width: t.value
734
736
  }));
735
- return (i, r) => (y(), F(Fe(e.as), {
737
+ return (i, r) => (y(), N(Ne(e.as), {
736
738
  "aria-hidden": e.decorative ? "true" : void 0,
737
739
  class: "kui-icon copy-icon",
738
740
  "data-testid": "kui-icon-wrapper-copy-icon",
@@ -749,8 +751,8 @@ const ue = {
749
751
  width: "100%",
750
752
  xmlns: "http://www.w3.org/2000/svg"
751
753
  }, [
752
- e.title ? (y(), T("title", Ja, E(e.title), 1)) : H("", !0),
753
- za
754
+ e.title ? (y(), T("title", za, E(e.title), 1)) : H("", !0),
755
+ Ja
754
756
  ], 8, Ra))
755
757
  ]),
756
758
  _: 1
@@ -835,9 +837,9 @@ const ue = {
835
837
  }), l.value ? d(a.successTooltip) : i("success", a.uuid);
836
838
  };
837
839
  return (f, C) => {
838
- const b = N("KClipboardProvider");
840
+ const b = F("KClipboardProvider");
839
841
  return y(), T("div", Za, [
840
- e.format !== "hidden" ? (y(), F(Fe(e.idTooltip ? "KTooltip" : "div"), st({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
842
+ e.format !== "hidden" ? (y(), N(Ne(e.idTooltip ? "KTooltip" : "div"), st({ key: 0 }, o.value, { "data-testid": "copy-id" }), {
841
843
  default: k(() => [
842
844
  L("div", {
843
845
  class: we([
@@ -849,7 +851,7 @@ const ue = {
849
851
  ]),
850
852
  _: 1
851
853
  }, 16)) : H("", !0),
852
- (y(), F(Fe(e.tooltip ? "KTooltip" : "div"), st(u.value, { class: "uuid-icon-wrapper" }), {
854
+ (y(), N(Ne(e.tooltip ? "KTooltip" : "div"), st(u.value, { class: "uuid-icon-wrapper" }), {
853
855
  default: k(() => [
854
856
  K(b, null, {
855
857
  default: k(({ copyToClipboard: x }) => [
@@ -908,14 +910,14 @@ const ue = {
908
910
  var s;
909
911
  return n.isArrayItem ? (s = r.value) != null && s.name ? a(r.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
910
912
  });
911
- return (s, u) => (y(), F(Fe(e.isArrayItem ? "fieldset" : "div"), {
913
+ return (s, u) => (y(), N(Ne(e.isArrayItem ? "fieldset" : "div"), {
912
914
  class: we(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
913
915
  }, {
914
916
  default: k(() => [
915
917
  e.isArrayItem ? (y(), T("legend", ei, [
916
918
  L("b", null, E(l.value), 1)
917
919
  ])) : H("", !0),
918
- (y(!0), T(he, null, ge(Object.keys(o.value), (c, d) => (y(), F(Pe, {
920
+ (y(!0), T(he, null, ge(Object.keys(o.value), (c, d) => (y(), N(Pe, {
919
921
  key: `${i.value}-property-${d}`,
920
922
  item: {
921
923
  key: c,
@@ -944,7 +946,7 @@ const ue = {
944
946
  setup(e) {
945
947
  const { i18n: { t: n } } = ue.useI18n();
946
948
  return (t, a) => {
947
- const i = N("KButton");
949
+ const i = F("KButton");
948
950
  return y(), T("div", null, [
949
951
  K(i, {
950
952
  appearance: "tertiary",
@@ -970,8 +972,8 @@ const ue = {
970
972
  setup(e) {
971
973
  const { i18n: { t: n } } = ue.useI18n();
972
974
  return (t, a) => {
973
- const i = N("KBadge");
974
- return y(), F(i, {
975
+ const i = F("KBadge");
976
+ return y(), N(i, {
975
977
  appearance: e.status ? "success" : "neutral"
976
978
  }, {
977
979
  default: k(() => [
@@ -1138,7 +1140,7 @@ const ue = {
1138
1140
  }
1139
1141
  }), h = M(), { isTruncated: f } = ue.useTruncationDetector(h);
1140
1142
  return (C, b) => {
1141
- const x = N("KLabel"), v = N("KBadge"), p = N("KTooltip");
1143
+ const x = F("KLabel"), v = F("KBadge"), p = F("KTooltip");
1142
1144
  return y(), T("div", ci, [
1143
1145
  L("div", {
1144
1146
  class: "config-card-details-label",
@@ -1175,13 +1177,13 @@ const ue = {
1175
1177
  rowValue: e.item.value
1176
1178
  }, () => [
1177
1179
  l.value ? (y(), T("div", yi, [
1178
- (y(), F(Fe(d.value.tag), ta(na(d.value.attrs)), {
1180
+ (y(), N(Ne(d.value.tag), ta(na(d.value.attrs)), {
1179
1181
  default: k(() => [
1180
1182
  d.value.additionalComponent === "KBadge" ? (y(), T("div", {
1181
1183
  key: 0,
1182
1184
  "data-testid": `${e.item.key}-badge-tags`
1183
1185
  }, [
1184
- (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), F(v, {
1186
+ (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), N(v, {
1185
1187
  key: `${e.item.key}-badge-tag-${S}`,
1186
1188
  class: "config-badge",
1187
1189
  "data-testid": `${e.item.key}-badge-tag-${S}`,
@@ -1199,7 +1201,7 @@ const ue = {
1199
1201
  class: "copy-uuid-array",
1200
1202
  "data-testid": `${e.item.key}-copy-uuid-array`
1201
1203
  }, [
1202
- (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), F(g(un), st(d.value.childAttrs, {
1204
+ (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), N(g(un), st(d.value.childAttrs, {
1203
1205
  key: `${e.item.key}-copy-uuid-${S}`,
1204
1206
  "data-testid": `${e.item.key}-copy-uuid-${S}`,
1205
1207
  uuid: A
@@ -1209,7 +1211,7 @@ const ue = {
1209
1211
  class: "method-badge-array",
1210
1212
  "data-testid": `${e.item.key}-badge-methods`
1211
1213
  }, [
1212
- (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), F(v, {
1214
+ (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), N(v, {
1213
1215
  key: `${e.item.key}-badge-method-${S}`,
1214
1216
  appearance: Object.values(g(sa)).includes(A.toLowerCase()) ? A.toLowerCase() : "custom",
1215
1217
  class: "config-badge",
@@ -1225,13 +1227,13 @@ const ue = {
1225
1227
  key: 3,
1226
1228
  "data-testid": `${t.item.key}-json-array-content`
1227
1229
  }, [
1228
- (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), F(dn, {
1230
+ (y(!0), T(he, null, ge(e.item.value, (A, S) => (y(), N(dn, {
1229
1231
  key: `json-array-item-${S}`,
1230
1232
  index: S,
1231
1233
  "is-array-item": "",
1232
1234
  item: A
1233
1235
  }, null, 8, ["index", "item"]))), 128))
1234
- ], 8, vi)) : (y(), F(p, {
1236
+ ], 8, vi)) : (y(), N(p, {
1235
1237
  key: 4,
1236
1238
  label: g(f) ? e.item.value : ""
1237
1239
  }, {
@@ -1358,12 +1360,12 @@ var Mi = Oi, Ei = [
1358
1360
  "representName",
1359
1361
  "defaultStyle",
1360
1362
  "styleAliases"
1361
- ], Fi = [
1363
+ ], Ni = [
1362
1364
  "scalar",
1363
1365
  "sequence",
1364
1366
  "mapping"
1365
1367
  ];
1366
- function Ni(e) {
1368
+ function Fi(e) {
1367
1369
  var n = {};
1368
1370
  return e !== null && Object.keys(e).forEach(function(t) {
1369
1371
  e[t].forEach(function(a) {
@@ -1379,11 +1381,11 @@ function qi(e, n) {
1379
1381
  return !0;
1380
1382
  }, this.construct = n.construct || function(t) {
1381
1383
  return t;
1382
- }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Ni(n.styleAliases || null), Fi.indexOf(this.kind) === -1)
1384
+ }, this.instanceOf = n.instanceOf || null, this.predicate = n.predicate || null, this.represent = n.represent || null, this.representName = n.representName || null, this.defaultStyle = n.defaultStyle || null, this.multi = n.multi || !1, this.styleAliases = Fi(n.styleAliases || null), Ni.indexOf(this.kind) === -1)
1383
1385
  throw new me('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1384
1386
  }
1385
1387
  var pe = qi;
1386
- function Ft(e, n) {
1388
+ function Nt(e, n) {
1387
1389
  var t = [];
1388
1390
  return e[n].forEach(function(a) {
1389
1391
  var i = t.length;
@@ -1437,7 +1439,7 @@ ct.prototype.extend = function(e) {
1437
1439
  throw new me("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1438
1440
  });
1439
1441
  var a = Object.create(ct.prototype);
1440
- return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Ft(a, "implicit"), a.compiledExplicit = Ft(a, "explicit"), a.compiledTypeMap = Bi(a.compiledImplicit, a.compiledExplicit), a;
1442
+ return a.implicit = (this.implicit || []).concat(n), a.explicit = (this.explicit || []).concat(t), a.compiledImplicit = Nt(a, "implicit"), a.compiledExplicit = Nt(a, "explicit"), a.compiledTypeMap = Bi(a.compiledImplicit, a.compiledExplicit), a;
1441
1443
  };
1442
1444
  var mn = ct, gn = new pe("tag:yaml.org,2002:str", {
1443
1445
  kind: "scalar",
@@ -1527,10 +1529,10 @@ var Cn = new pe("tag:yaml.org,2002:bool", {
1527
1529
  },
1528
1530
  defaultStyle: "lowercase"
1529
1531
  });
1530
- function Ji(e) {
1532
+ function zi(e) {
1531
1533
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
1532
1534
  }
1533
- function zi(e) {
1535
+ function Ji(e) {
1534
1536
  return 48 <= e && e <= 55;
1535
1537
  }
1536
1538
  function Hi(e) {
@@ -1557,7 +1559,7 @@ function Wi(e) {
1557
1559
  if (i === "x") {
1558
1560
  for (t++; t < n; t++)
1559
1561
  if (i = e[t], i !== "_") {
1560
- if (!Ji(e.charCodeAt(t)))
1562
+ if (!zi(e.charCodeAt(t)))
1561
1563
  return !1;
1562
1564
  a = !0;
1563
1565
  }
@@ -1566,7 +1568,7 @@ function Wi(e) {
1566
1568
  if (i === "o") {
1567
1569
  for (t++; t < n; t++)
1568
1570
  if (i = e[t], i !== "_") {
1569
- if (!zi(e.charCodeAt(t)))
1571
+ if (!Ji(e.charCodeAt(t)))
1570
1572
  return !1;
1571
1573
  a = !0;
1572
1574
  }
@@ -1845,7 +1847,7 @@ var Mn = new pe("tag:yaml.org,2002:set", {
1845
1847
  On,
1846
1848
  Mn
1847
1849
  ]
1848
- }), je = Object.prototype.hasOwnProperty, Ze = 1, En = 2, Fn = 3, Ge = 4, lt = 1, Cr = 2, Nt = 3, wr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Sr = /[\x85\u2028\u2029]/, _r = /[,\[\]\{\}]/, Nn = /^(?:!|!!|![a-z\-]+!)$/i, qn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1850
+ }), je = Object.prototype.hasOwnProperty, Ze = 1, En = 2, Nn = 3, Ge = 4, lt = 1, Cr = 2, Ft = 3, wr = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Sr = /[\x85\u2028\u2029]/, _r = /[,\[\]\{\}]/, Fn = /^(?:!|!!|![a-z\-]+!)$/i, qn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1849
1851
  function qt(e) {
1850
1852
  return Object.prototype.toString.call(e);
1851
1853
  }
@@ -1911,7 +1913,7 @@ var Lt = {
1911
1913
  },
1912
1914
  TAG: function(e, n, t) {
1913
1915
  var a, i;
1914
- t.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], Nn.test(a) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, a) && $(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qn.test(i) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1916
+ t.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), a = t[0], i = t[1], Fn.test(a) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, a) && $(e, 'there is a previously declared suffix for "' + a + '" tag handle'), qn.test(i) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1915
1917
  try {
1916
1918
  i = decodeURIComponent(i);
1917
1919
  } catch {
@@ -2060,7 +2062,7 @@ function Mr(e, n) {
2060
2062
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), p = e.input.charCodeAt(++e.position); p !== 0; ) {
2061
2063
  if (re(e, !0, n), p = e.input.charCodeAt(e.position), p === c)
2062
2064
  return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
2063
- t ? p === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), x = b = v = null, d = h = !1, p === 63 && (u = e.input.charCodeAt(e.position + 1), ve(u) && (d = h = !0, e.position++, re(e, !0, n))), a = e.line, i = e.lineStart, r = e.position, Ne(e, n, Ze, !1, !0), x = e.tag, b = e.result, re(e, !0, n), p = e.input.charCodeAt(e.position), (h || e.line === a) && p === 58 && (d = !0, p = e.input.charCodeAt(++e.position), re(e, !0, n), Ne(e, n, Ze, !1, !0), v = e.result), f ? Ee(e, l, C, x, b, v, a, i, r) : d ? l.push(Ee(e, null, C, x, b, v, a, i, r)) : l.push(b), re(e, !0, n), p = e.input.charCodeAt(e.position), p === 44 ? (t = !0, p = e.input.charCodeAt(++e.position)) : t = !1;
2065
+ t ? p === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), x = b = v = null, d = h = !1, p === 63 && (u = e.input.charCodeAt(e.position + 1), ve(u) && (d = h = !0, e.position++, re(e, !0, n))), a = e.line, i = e.lineStart, r = e.position, Fe(e, n, Ze, !1, !0), x = e.tag, b = e.result, re(e, !0, n), p = e.input.charCodeAt(e.position), (h || e.line === a) && p === 58 && (d = !0, p = e.input.charCodeAt(++e.position), re(e, !0, n), Fe(e, n, Ze, !1, !0), v = e.result), f ? Ee(e, l, C, x, b, v, a, i, r) : d ? l.push(Ee(e, null, C, x, b, v, a, i, r)) : l.push(b), re(e, !0, n), p = e.input.charCodeAt(e.position), p === 44 ? (t = !0, p = e.input.charCodeAt(++e.position)) : t = !1;
2064
2066
  }
2065
2067
  $(e, "unexpected end of the stream within a flow collection");
2066
2068
  }
@@ -2074,7 +2076,7 @@ function Er(e, n) {
2074
2076
  return !1;
2075
2077
  for (e.kind = "scalar", e.result = ""; d !== 0; )
2076
2078
  if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
2077
- lt === i ? i = d === 43 ? Nt : Cr : $(e, "repeat of a chomping mode identifier");
2079
+ lt === i ? i = d === 43 ? Ft : Cr : $(e, "repeat of a chomping mode identifier");
2078
2080
  else if ((c = xr(d)) >= 0)
2079
2081
  c === 0 ? $(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? $(e, "repeat of an indentation width identifier") : (l = n + c - 1, o = !0);
2080
2082
  else
@@ -2096,7 +2098,7 @@ function Er(e, n) {
2096
2098
  continue;
2097
2099
  }
2098
2100
  if (e.lineIndent < l) {
2099
- i === Nt ? e.result += se.repeat(`
2101
+ i === Ft ? e.result += se.repeat(`
2100
2102
  `, r ? 1 + s : s) : i === lt && r && (e.result += `
2101
2103
  `);
2102
2104
  break;
@@ -2120,14 +2122,14 @@ function Dt(e, n) {
2120
2122
  r.push(null), s = e.input.charCodeAt(e.position);
2121
2123
  continue;
2122
2124
  }
2123
- if (t = e.line, Ne(e, n, Fn, !1, !0), r.push(e.result), re(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
2125
+ if (t = e.line, Fe(e, n, Nn, !1, !0), r.push(e.result), re(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && s !== 0)
2124
2126
  $(e, "bad indentation of a sequence entry");
2125
2127
  else if (e.lineIndent < n)
2126
2128
  break;
2127
2129
  }
2128
2130
  return l ? (e.tag = a, e.anchor = i, e.kind = "sequence", e.result = r, !0) : !1;
2129
2131
  }
2130
- function Fr(e, n, t) {
2132
+ function Nr(e, n, t) {
2131
2133
  var a, i, r, o, l, s, u = e.tag, c = e.anchor, d = {}, h = /* @__PURE__ */ Object.create(null), f = null, C = null, b = null, x = !1, v = !1, p;
2132
2134
  if (e.firstTabInLine !== -1)
2133
2135
  return !1;
@@ -2135,7 +2137,7 @@ function Fr(e, n, t) {
2135
2137
  if (!x && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), a = e.input.charCodeAt(e.position + 1), r = e.line, (p === 63 || p === 58) && ve(a))
2136
2138
  p === 63 ? (x && (Ee(e, d, h, f, C, null, o, l, s), f = C = b = null), v = !0, x = !0, i = !0) : x ? (x = !1, i = !0) : $(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, p = a;
2137
2139
  else {
2138
- if (o = e.line, l = e.lineStart, s = e.position, !Ne(e, t, En, !1, !0))
2140
+ if (o = e.line, l = e.lineStart, s = e.position, !Fe(e, t, En, !1, !0))
2139
2141
  break;
2140
2142
  if (e.line === r) {
2141
2143
  for (p = e.input.charCodeAt(e.position); $e(p); )
@@ -2151,14 +2153,14 @@ function Fr(e, n, t) {
2151
2153
  else
2152
2154
  return e.tag = u, e.anchor = c, !0;
2153
2155
  }
2154
- if ((e.line === r || e.lineIndent > n) && (x && (o = e.line, l = e.lineStart, s = e.position), Ne(e, n, Ge, !0, i) && (x ? C = e.result : b = e.result), x || (Ee(e, d, h, f, C, b, o, l, s), f = C = b = null), re(e, !0, -1), p = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && p !== 0)
2156
+ if ((e.line === r || e.lineIndent > n) && (x && (o = e.line, l = e.lineStart, s = e.position), Fe(e, n, Ge, !0, i) && (x ? C = e.result : b = e.result), x || (Ee(e, d, h, f, C, b, o, l, s), f = C = b = null), re(e, !0, -1), p = e.input.charCodeAt(e.position)), (e.line === r || e.lineIndent > n) && p !== 0)
2155
2157
  $(e, "bad indentation of a mapping entry");
2156
2158
  else if (e.lineIndent < n)
2157
2159
  break;
2158
2160
  }
2159
2161
  return x && Ee(e, d, h, f, C, null, o, l, s), v && (e.tag = u, e.anchor = c, e.kind = "mapping", e.result = d), v;
2160
2162
  }
2161
- function Nr(e) {
2163
+ function Fr(e) {
2162
2164
  var n, t = !1, a = !1, i, r, o;
2163
2165
  if (o = e.input.charCodeAt(e.position), o !== 33)
2164
2166
  return !1;
@@ -2169,7 +2171,7 @@ function Nr(e) {
2169
2171
  e.position < e.length ? (r = e.input.slice(n, e.position), o = e.input.charCodeAt(++e.position)) : $(e, "unexpected end of the stream within a verbatim tag");
2170
2172
  } else {
2171
2173
  for (; o !== 0 && !ve(o); )
2172
- o === 33 && (a ? $(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), Nn.test(i) || $(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2174
+ o === 33 && (a ? $(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(n - 1, e.position + 1), Fn.test(i) || $(e, "named tag handle cannot contain such characters"), a = !0, n = e.position + 1)), o = e.input.charCodeAt(++e.position);
2173
2175
  r = e.input.slice(n, e.position), _r.test(r) && $(e, "tag suffix cannot contain flow indicator characters");
2174
2176
  }
2175
2177
  r && !qn.test(r) && $(e, "tag name cannot contain such characters: " + r);
@@ -2196,12 +2198,12 @@ function Br(e) {
2196
2198
  a = e.input.charCodeAt(++e.position);
2197
2199
  return e.position === n && $(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), je.call(e.anchorMap, t) || $(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], re(e, !0, -1), !0;
2198
2200
  }
2199
- function Ne(e, n, t, a, i) {
2201
+ function Fe(e, n, t, a, i) {
2200
2202
  var r, o, l, s = 1, u = !1, c = !1, d, h, f, C, b, x;
2201
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = Ge === t || Fn === t, a && re(e, !0, -1) && (u = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2202
- for (; Nr(e) || qr(e); )
2203
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = Ge === t || Nn === t, a && re(e, !0, -1) && (u = !0, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)), s === 1)
2204
+ for (; Fr(e) || qr(e); )
2203
2205
  re(e, !0, -1) ? (u = !0, l = r, e.lineIndent > n ? s = 1 : e.lineIndent === n ? s = 0 : e.lineIndent < n && (s = -1)) : l = !1;
2204
- if (l && (l = u || i), (s === 1 || Ge === t) && (Ze === t || En === t ? b = n : b = n + 1, x = e.position - e.lineStart, s === 1 ? l && (Dt(e, x) || Fr(e, x, b)) || Mr(e, b) ? c = !0 : (o && Er(e, b) || Kr(e, b) || Or(e, b) ? c = !0 : Br(e) ? (c = !0, (e.tag !== null || e.anchor !== null) && $(e, "alias node should not have any properties")) : $r(e, b, Ze === t) && (c = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (c = l && Dt(e, x))), e.tag === null)
2206
+ if (l && (l = u || i), (s === 1 || Ge === t) && (Ze === t || En === t ? b = n : b = n + 1, x = e.position - e.lineStart, s === 1 ? l && (Dt(e, x) || Nr(e, x, b)) || Mr(e, b) ? c = !0 : (o && Er(e, b) || Kr(e, b) || Or(e, b) ? c = !0 : Br(e) ? (c = !0, (e.tag !== null || e.anchor !== null) && $(e, "alias node should not have any properties")) : $r(e, b, Ze === t) && (c = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (c = l && Dt(e, x))), e.tag === null)
2205
2207
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2206
2208
  else if (e.tag === "?") {
2207
2209
  for (e.result !== null && e.kind !== "scalar" && $(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, h = e.implicitTypes.length; d < h; d += 1)
@@ -2244,7 +2246,7 @@ function Lr(e) {
2244
2246
  }
2245
2247
  o !== 0 && Ct(e), je.call(Lt, a) ? Lt[a](e, a, i) : Qe(e, 'unknown document directive "' + a + '"');
2246
2248
  }
2247
- if (re(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, re(e, !0, -1)) : r && $(e, "directives end mark is expected"), Ne(e, e.lineIndent - 1, Ge, !1, !0), re(e, !0, -1), e.checkLineBreaks && Sr.test(e.input.slice(n, e.position)) && Qe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2249
+ if (re(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, re(e, !0, -1)) : r && $(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, Ge, !1, !0), re(e, !0, -1), e.checkLineBreaks && Sr.test(e.input.slice(n, e.position)) && Qe(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && at(e)) {
2248
2250
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, re(e, !0, -1));
2249
2251
  return;
2250
2252
  }
@@ -2282,7 +2284,7 @@ function Dr(e, n) {
2282
2284
  var Vr = Ur, Pr = Dr, Vn = {
2283
2285
  loadAll: Vr,
2284
2286
  load: Pr
2285
- }, Pn = Object.prototype.toString, Rn = Object.prototype.hasOwnProperty, St = 65279, Rr = 9, Je = 10, Jr = 13, zr = 32, Hr = 33, Wr = 34, ut = 35, Yr = 37, Zr = 38, Gr = 39, Qr = 42, Jn = 44, Xr = 45, Xe = 58, eo = 61, to = 62, no = 63, ao = 64, zn = 91, Hn = 93, io = 96, Wn = 123, ro = 124, Yn = 125, fe = {};
2287
+ }, Pn = Object.prototype.toString, Rn = Object.prototype.hasOwnProperty, St = 65279, Rr = 9, ze = 10, zr = 13, Jr = 32, Hr = 33, Wr = 34, ut = 35, Yr = 37, Zr = 38, Gr = 39, Qr = 42, zn = 44, Xr = 45, Xe = 58, eo = 61, to = 62, no = 63, ao = 64, Jn = 91, Hn = 93, io = 96, Wn = 123, ro = 124, Yn = 125, fe = {};
2286
2288
  fe[0] = "\\0";
2287
2289
  fe[7] = "\\a";
2288
2290
  fe[8] = "\\b";
@@ -2336,9 +2338,9 @@ function co(e) {
2336
2338
  throw new me("code point within a string may not be greater than 0xFFFFFFFF");
2337
2339
  return "\\" + t + se.repeat("0", a - n.length) + n;
2338
2340
  }
2339
- var uo = 1, ze = 2;
2341
+ var uo = 1, Je = 2;
2340
2342
  function po(e) {
2341
- this.schema = e.schema || bt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = se.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = so(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 === '"' ? ze : uo, 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;
2343
+ this.schema = e.schema || bt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = se.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = so(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 === '"' ? Je : uo, 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;
2342
2344
  }
2343
2345
  function Vt(e, n) {
2344
2346
  for (var t = se.repeat(" ", n), a = 0, i = -1, r = "", o, l = e.length; a < l; )
@@ -2359,13 +2361,13 @@ function fo(e, n) {
2359
2361
  return !1;
2360
2362
  }
2361
2363
  function et(e) {
2362
- return e === zr || e === Rr;
2364
+ return e === Jr || e === Rr;
2363
2365
  }
2364
2366
  function He(e) {
2365
2367
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== St || 65536 <= e && e <= 1114111;
2366
2368
  }
2367
2369
  function Pt(e) {
2368
- return He(e) && e !== St && e !== Jr && e !== Je;
2370
+ return He(e) && e !== St && e !== zr && e !== ze;
2369
2371
  }
2370
2372
  function Rt(e, n, t) {
2371
2373
  var a = Pt(e), i = a && !et(e);
@@ -2374,11 +2376,11 @@ function Rt(e, n, t) {
2374
2376
  (t ? (
2375
2377
  // c = flow-in
2376
2378
  a
2377
- ) : a && e !== Jn && e !== zn && e !== Hn && e !== Wn && e !== Yn) && e !== ut && !(n === Xe && !i) || Pt(n) && !et(n) && e === ut || n === Xe && i
2379
+ ) : a && e !== zn && e !== Jn && e !== Hn && e !== Wn && e !== Yn) && e !== ut && !(n === Xe && !i) || Pt(n) && !et(n) && e === ut || n === Xe && i
2378
2380
  );
2379
2381
  }
2380
2382
  function yo(e) {
2381
- return He(e) && e !== St && !et(e) && e !== Xr && e !== no && e !== Xe && e !== Jn && e !== zn && e !== Hn && e !== Wn && e !== Yn && e !== ut && e !== Zr && e !== Qr && e !== Hr && e !== ro && e !== eo && e !== to && e !== Gr && e !== Wr && e !== Yr && e !== ao && e !== io;
2383
+ return He(e) && e !== St && !et(e) && e !== Xr && e !== no && e !== Xe && e !== zn && e !== Jn && e !== Hn && e !== Wn && e !== Yn && e !== ut && e !== Zr && e !== Qr && e !== Hr && e !== ro && e !== eo && e !== to && e !== Gr && e !== Wr && e !== Yr && e !== ao && e !== io;
2382
2384
  }
2383
2385
  function mo(e) {
2384
2386
  return !et(e) && e !== Xe;
@@ -2402,7 +2404,7 @@ function go(e, n, t, a, i, r, o, l) {
2402
2404
  }
2403
2405
  else {
2404
2406
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2405
- if (u = Ue(e, s), u === Je)
2407
+ if (u = Ue(e, s), u === ze)
2406
2408
  d = !0, f && (h = h || // Foldable line = too long, and not more-indented.
2407
2409
  s - C - 1 > a && e[C + 1] !== " ", C = s);
2408
2410
  else if (!He(u))
@@ -2411,14 +2413,14 @@ function go(e, n, t, a, i, r, o, l) {
2411
2413
  }
2412
2414
  h = h || f && s - C - 1 > a && e[C + 1] !== " ";
2413
2415
  }
2414
- return !d && !h ? b && !o && !i(e) ? Gn : r === ze ? Oe : pt : t > 9 && Zn(e) ? Oe : o ? r === ze ? Oe : pt : h ? Xn : Qn;
2416
+ return !d && !h ? b && !o && !i(e) ? Gn : r === Je ? Oe : pt : t > 9 && Zn(e) ? Oe : o ? r === Je ? Oe : pt : h ? Xn : Qn;
2415
2417
  }
2416
2418
  function ho(e, n, t, a, i) {
2417
2419
  e.dump = function() {
2418
2420
  if (n.length === 0)
2419
- return e.quotingType === ze ? '""' : "''";
2421
+ return e.quotingType === Je ? '""' : "''";
2420
2422
  if (!e.noCompatMode && (oo.indexOf(n) !== -1 || lo.test(n)))
2421
- return e.quotingType === ze ? '"' + n + '"' : "'" + n + "'";
2423
+ return e.quotingType === Je ? '"' + n + '"' : "'" + n + "'";
2422
2424
  var r = e.indent * Math.max(1, t), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = a || e.flowLevel > -1 && t >= e.flowLevel;
2423
2425
  function s(u) {
2424
2426
  return fo(e, u);
@@ -2438,9 +2440,9 @@ function ho(e, n, t, a, i) {
2438
2440
  case pt:
2439
2441
  return "'" + n.replace(/'/g, "''") + "'";
2440
2442
  case Qn:
2441
- return "|" + Jt(n, e.indent) + zt(Vt(n, r));
2443
+ return "|" + zt(n, e.indent) + Jt(Vt(n, r));
2442
2444
  case Xn:
2443
- return ">" + Jt(n, e.indent) + zt(Vt(vo(n, o), r));
2445
+ return ">" + zt(n, e.indent) + Jt(Vt(vo(n, o), r));
2444
2446
  case Oe:
2445
2447
  return '"' + ko(n) + '"';
2446
2448
  default:
@@ -2448,7 +2450,7 @@ function ho(e, n, t, a, i) {
2448
2450
  }
2449
2451
  }();
2450
2452
  }
2451
- function Jt(e, n) {
2453
+ function zt(e, n) {
2452
2454
  var t = Zn(e) ? String(n) : "", a = e[e.length - 1] === `
2453
2455
  `, i = a && (e[e.length - 2] === `
2454
2456
  ` || e === `
@@ -2456,7 +2458,7 @@ function Jt(e, n) {
2456
2458
  return t + r + `
2457
2459
  `;
2458
2460
  }
2459
- function zt(e) {
2461
+ function Jt(e) {
2460
2462
  return e[e.length - 1] === `
2461
2463
  ` ? e.slice(0, -1) : e;
2462
2464
  }
@@ -2497,7 +2499,7 @@ function bo(e, n, t) {
2497
2499
  function Wt(e, n, t, a) {
2498
2500
  var i = "", r = e.tag, o, l, s;
2499
2501
  for (o = 0, l = t.length; o < l; o += 1)
2500
- s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Se(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += dt(e, n)), e.dump && Je === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2502
+ s = t[o], e.replacer && (s = e.replacer.call(t, String(o), s)), (Se(e, n + 1, s, !0, !0, !1, !0) || typeof s > "u" && Se(e, n + 1, null, !0, !0, !1, !0)) && ((!a || i !== "") && (i += dt(e, n)), e.dump && ze === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
2501
2503
  e.tag = r, e.dump = i || "[]";
2502
2504
  }
2503
2505
  function Co(e, n, t) {
@@ -2515,7 +2517,7 @@ function wo(e, n, t, a) {
2515
2517
  else if (e.sortKeys)
2516
2518
  throw new me("sortKeys must be a boolean or a function");
2517
2519
  for (l = 0, s = o.length; l < s; l += 1)
2518
- h = "", (!a || i !== "") && (h += dt(e, n)), u = o[l], c = t[u], e.replacer && (c = e.replacer.call(t, u, c)), Se(e, n + 1, u, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && Je === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, d && (h += dt(e, n)), Se(e, n + 1, c, !0, d) && (e.dump && Je === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2520
+ h = "", (!a || i !== "") && (h += dt(e, n)), u = o[l], c = t[u], e.replacer && (c = e.replacer.call(t, u, c)), Se(e, n + 1, u, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && ze === e.dump.charCodeAt(0) ? h += "?" : h += "? "), h += e.dump, d && (h += dt(e, n)), Se(e, n + 1, c, !0, d) && (e.dump && ze === e.dump.charCodeAt(0) ? h += ":" : h += ": ", h += e.dump, i += h));
2519
2521
  e.tag = r, e.dump = i || "{}";
2520
2522
  }
2521
2523
  function Yt(e, n, t) {
@@ -2594,7 +2596,7 @@ function _t(e, n) {
2594
2596
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2595
2597
  };
2596
2598
  }
2597
- var xo = pe, jo = mn, To = kn, $o = _n, Ko = In, Oo = bt, Mo = Vn.load, Eo = Vn.loadAll, Fo = Ao.dump, No = me, qo = {
2599
+ var xo = pe, jo = mn, To = kn, $o = _n, Ko = In, Oo = bt, Mo = Vn.load, Eo = Vn.loadAll, No = Ao.dump, Fo = me, qo = {
2598
2600
  binary: $n,
2599
2601
  float: Sn,
2600
2602
  map: vn,
@@ -2617,8 +2619,8 @@ var xo = pe, jo = mn, To = kn, $o = _n, Ko = In, Oo = bt, Mo = Vn.load, Eo = Vn.
2617
2619
  DEFAULT_SCHEMA: Oo,
2618
2620
  load: Mo,
2619
2621
  loadAll: Eo,
2620
- dump: Fo,
2621
- YAMLException: No,
2622
+ dump: No,
2623
+ YAMLException: Fo,
2622
2624
  types: qo,
2623
2625
  safeLoad: Bo,
2624
2626
  safeLoadAll: Lo,
@@ -2630,10 +2632,10 @@ const Vo = {
2630
2632
  }, Po = ["data-testid"], Ro = {
2631
2633
  key: 0,
2632
2634
  class: "config-card-prop-section-title"
2633
- }, Jo = {
2635
+ }, zo = {
2634
2636
  key: 1,
2635
2637
  class: "config-card-display-json"
2636
- }, zo = {
2638
+ }, Jo = {
2637
2639
  key: 0,
2638
2640
  class: "config-card-display-json-endpoint"
2639
2641
  }, Ho = {
@@ -2685,7 +2687,7 @@ const Vo = {
2685
2687
  delete u.created_at, delete u.updated_at, s === "json" ? r.value = JSON.stringify(u, null, 2) : s === "yaml" && (o.value = Do.dump(u));
2686
2688
  }
2687
2689
  }, { immediate: !0 }), (s, u) => {
2688
- const c = N("KBadge"), d = N("KCodeBlock");
2690
+ const c = F("KBadge"), d = F("KCodeBlock");
2689
2691
  return y(), T(he, null, [
2690
2692
  e.format === "structured" ? (y(), T("div", Vo, [
2691
2693
  (y(!0), T(he, null, ge(e.propListTypes, (h) => (y(), T("div", {
@@ -2694,7 +2696,7 @@ const Vo = {
2694
2696
  "data-testid": `config-card-details-${h}-props`
2695
2697
  }, [
2696
2698
  h !== "basic" ? (y(), T("div", Ro, E(h === "advanced" ? g(a)("baseConfigCard.sections.advanced") : g(a)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
2697
- (y(!0), T(he, null, ge(e.propertyCollections[h], (f) => (y(), F(Pe, {
2699
+ (y(!0), T(he, null, ge(e.propertyCollections[h], (f) => (y(), N(Pe, {
2698
2700
  key: f.key,
2699
2701
  item: f
2700
2702
  }, Ae({
@@ -2719,8 +2721,8 @@ const Vo = {
2719
2721
  ]), 1032, ["item"]))), 128))
2720
2722
  ], 10, Po))), 128))
2721
2723
  ])) : H("", !0),
2722
- e.format === "json" ? (y(), T("div", Jo, [
2723
- n.fetcherUrl ? (y(), T("div", zo, [
2724
+ e.format === "json" ? (y(), T("div", zo, [
2725
+ n.fetcherUrl ? (y(), T("div", Jo, [
2724
2726
  K(c, { appearance: "get" }, {
2725
2727
  default: k(() => [
2726
2728
  ee(E(g(a)("baseConfigCard.endpoints.get")), 1)
@@ -2834,7 +2836,7 @@ const Vo = {
2834
2836
  lineHeight: "0",
2835
2837
  width: t.value
2836
2838
  }));
2837
- return (i, r) => (y(), F(Fe(e.as), {
2839
+ return (i, r) => (y(), N(Ne(e.as), {
2838
2840
  "aria-hidden": e.decorative ? "true" : void 0,
2839
2841
  class: "kui-icon book-icon",
2840
2842
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2999,16 +3001,16 @@ const Vo = {
2999
3001
  if (!v.value)
3000
3002
  return [];
3001
3003
  const B = [], R = Object.keys(v.value).length;
3002
- for (const J in v.value) {
3003
- const G = (V = (I = i.configSchema) == null ? void 0 : I[J]) == null ? void 0 : V.order, te = (O = f[J]) == null ? void 0 : O.order;
3004
+ for (const z in v.value) {
3005
+ const G = (V = (I = i.configSchema) == null ? void 0 : I[z]) == null ? void 0 : V.order, te = (O = f[z]) == null ? void 0 : O.order;
3004
3006
  let ie = R;
3005
- (te || te === 0) && (ie = te === -1 ? R + 1 : te), G && (ie = G === -1 ? R + 1 : G), B.push([J, ie]);
3007
+ (te || te === 0) && (ie = te === -1 ? R + 1 : te), G && (ie = G === -1 ? R + 1 : G), B.push([z, ie]);
3006
3008
  }
3007
- return B.sort(function(J, G) {
3008
- return J[1] - G[1];
3009
- }), B.map((J) => {
3009
+ return B.sort(function(z, G) {
3010
+ return z[1] - G[1];
3011
+ }), B.map((z) => {
3010
3012
  var G, te;
3011
- const ie = J[0], ne = (G = v.value) == null ? void 0 : G[ie], Q = ((te = i.configSchema) == null ? void 0 : te[ie]) || {}, ce = f[ie];
3013
+ const ie = z[0], ne = (G = v.value) == null ? void 0 : G[ie], Q = ((te = i.configSchema) == null ? void 0 : te[ie]) || {}, ce = f[ie];
3012
3014
  return {
3013
3015
  key: ie,
3014
3016
  value: ne,
@@ -3018,22 +3020,22 @@ const Vo = {
3018
3020
  tooltip: Q.tooltip ?? ((ce == null ? void 0 : ce.tooltip) || void 0),
3019
3021
  section: Q.section ?? ((ce == null ? void 0 : ce.section) || ye.Advanced)
3020
3022
  };
3021
- }).filter((J) => !J.hidden && J.key !== i.pluginConfigKey);
3023
+ }).filter((z) => !z.hidden && z.key !== i.pluginConfigKey);
3022
3024
  }), A = j(() => {
3023
3025
  var I, V;
3024
3026
  if (!v.value || !i.pluginConfigKey)
3025
3027
  return [];
3026
3028
  const O = v.value[i.pluginConfigKey] || {}, B = Object.keys(O).length, R = [];
3027
- for (const J in O) {
3028
- const G = (V = (I = i.pluginConfigSchema) == null ? void 0 : I[J]) == null ? void 0 : V.order, te = O[J];
3029
+ for (const z in O) {
3030
+ const G = (V = (I = i.pluginConfigSchema) == null ? void 0 : I[z]) == null ? void 0 : V.order, te = O[z];
3029
3031
  let ie = te != null && te !== "" ? B - 1 : B;
3030
- G && (ie = G === -1 ? B + 1 : G), R.push([J, ie]);
3032
+ G && (ie = G === -1 ? B + 1 : G), R.push([z, ie]);
3031
3033
  }
3032
- return R.sort(function(J, G) {
3033
- return J[1] - G[1];
3034
- }), R.map((J) => {
3034
+ return R.sort(function(z, G) {
3035
+ return z[1] - G[1];
3036
+ }), R.map((z) => {
3035
3037
  var G;
3036
- const te = J[0], ie = O[te], ne = ((G = i.pluginConfigSchema) == null ? void 0 : G[te]) || {};
3038
+ const te = z[0], ie = O[te], ne = ((G = i.pluginConfigSchema) == null ? void 0 : G[te]) || {};
3037
3039
  return {
3038
3040
  key: te,
3039
3041
  value: ie,
@@ -3043,7 +3045,7 @@ const Vo = {
3043
3045
  tooltip: ne.tooltip ?? void 0,
3044
3046
  section: ye.Plugin
3045
3047
  };
3046
- }).filter((J) => !J.hidden);
3048
+ }).filter((z) => !z.hidden);
3047
3049
  }), S = j(() => {
3048
3050
  var I, V, O, B;
3049
3051
  return {
@@ -3084,12 +3086,12 @@ const Vo = {
3084
3086
  C.value = !1;
3085
3087
  }
3086
3088
  }), (I, V) => {
3087
- const O = N("KLabel"), B = N("KSelect"), R = N("KButton"), J = N("KClipboardProvider"), G = N("KSkeleton"), te = N("KEmptyState"), ie = N("KCard");
3088
- return y(), F(ie, { class: "kong-ui-entity-base-config-card" }, Ae({
3089
+ const O = F("KLabel"), B = F("KSelect"), R = F("KButton"), z = F("KClipboardProvider"), G = F("KSkeleton"), te = F("KEmptyState"), ie = F("KCard");
3090
+ return y(), N(ie, { class: "kong-ui-entity-base-config-card" }, Ae({
3089
3091
  actions: k(() => [
3090
3092
  L("div", il, [
3091
3093
  X(I.$slots, "actions", {}, void 0, !0),
3092
- e.config.jsonYamlEnabled ? (y(), F(O, {
3094
+ e.config.jsonYamlEnabled ? (y(), N(O, {
3093
3095
  key: 0,
3094
3096
  class: "config-format-select-label",
3095
3097
  "data-testid": "config-format-select-label"
@@ -3099,14 +3101,14 @@ const Vo = {
3099
3101
  ]),
3100
3102
  _: 1
3101
3103
  })) : H("", !0),
3102
- e.config.jsonYamlEnabled ? (y(), F(B, {
3104
+ e.config.jsonYamlEnabled ? (y(), N(B, {
3103
3105
  key: 1,
3104
3106
  appearance: "select",
3105
3107
  "data-testid": "select-config-format",
3106
3108
  items: c,
3107
3109
  onChange: h
3108
3110
  })) : H("", !0),
3109
- i.config.jsonYamlEnabled && e.configCardDoc ? (y(), F(R, {
3111
+ i.config.jsonYamlEnabled && e.configCardDoc ? (y(), N(R, {
3110
3112
  key: 2,
3111
3113
  appearance: "tertiary",
3112
3114
  class: "book-icon",
@@ -3123,9 +3125,9 @@ const Vo = {
3123
3125
  ]),
3124
3126
  _: 1
3125
3127
  })) : H("", !0),
3126
- e.config.jsonYamlEnabled ? H("", !0) : (y(), F(J, { key: 3 }, {
3128
+ e.config.jsonYamlEnabled ? H("", !0) : (y(), N(z, { key: 3 }, {
3127
3129
  default: k(({ copyToClipboard: ne }) => [
3128
- !C.value && !b.value ? (y(), F(R, {
3130
+ !C.value && !b.value ? (y(), N(R, {
3129
3131
  key: 0,
3130
3132
  appearance: "tertiary",
3131
3133
  "data-testid": "json-copy-button",
@@ -3142,12 +3144,12 @@ const Vo = {
3142
3144
  ])
3143
3145
  ]),
3144
3146
  default: k(() => [
3145
- C.value ? (y(), F(G, {
3147
+ C.value ? (y(), N(G, {
3146
3148
  key: 0,
3147
3149
  "data-testid": "config-card-loader",
3148
3150
  "table-columns": 2,
3149
3151
  type: "table"
3150
- })) : b.value ? (y(), F(te, {
3152
+ })) : b.value ? (y(), N(te, {
3151
3153
  key: 1,
3152
3154
  "data-testid": "config-card-fetch-error",
3153
3155
  "is-error": ""
@@ -3182,7 +3184,7 @@ const Vo = {
3182
3184
  "data-testid": `config-card-details-${ne}-props`
3183
3185
  }, [
3184
3186
  ne !== "basic" ? (y(), T("div", cl, E(ne === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : H("", !0),
3185
- (y(!0), T(he, null, ge(S.value[ne], (Q) => (y(), F(Pe, {
3187
+ (y(!0), T(he, null, ge(S.value[ne], (Q) => (y(), N(Pe, {
3186
3188
  key: Q.key,
3187
3189
  item: Q
3188
3190
  }, Ae({
@@ -3307,13 +3309,13 @@ const Vo = {
3307
3309
  u.value = !1;
3308
3310
  }
3309
3311
  }), (v, p) => {
3310
- const A = N("KSkeleton"), S = N("KEmptyState"), _ = N("KAlert"), U = N("KButton"), q = N("KCard");
3311
- return y(), F(q, { class: "kong-ui-entity-base-form" }, {
3312
+ const A = F("KSkeleton"), S = F("KEmptyState"), _ = F("KAlert"), U = F("KButton"), q = F("KCard");
3313
+ return y(), N(q, { class: "kong-ui-entity-base-form" }, {
3312
3314
  default: k(() => [
3313
- u.value ? (y(), F(A, {
3315
+ u.value ? (y(), N(A, {
3314
3316
  key: 0,
3315
3317
  type: "form"
3316
- })) : c.value ? (y(), F(S, {
3318
+ })) : c.value ? (y(), N(S, {
3317
3319
  key: 1,
3318
3320
  "cta-text": g(o)("baseForm.actions.back"),
3319
3321
  "data-testid": "form-fetch-error",
@@ -3331,7 +3333,7 @@ const Vo = {
3331
3333
  onSubmit: Ye(x, ["prevent"])
3332
3334
  }, [
3333
3335
  X(v.$slots, "default", {}, void 0, !0),
3334
- e.errorMessage ? (y(), F(_, {
3336
+ e.errorMessage ? (y(), N(_, {
3335
3337
  key: 0,
3336
3338
  "alert-message": e.errorMessage,
3337
3339
  appearance: "danger",
@@ -3422,7 +3424,7 @@ const Vo = {
3422
3424
  }), ia(() => {
3423
3425
  f();
3424
3426
  }), (b, x) => {
3425
- const v = N("KTooltip");
3427
+ const v = F("KTooltip");
3426
3428
  return y(), T("span", {
3427
3429
  ref_key: "contentRef",
3428
3430
  ref: s,
@@ -3615,8 +3617,8 @@ const Vo = {
3615
3617
  t.preferencesStorageKey && v(t.preferencesStorageKey, _);
3616
3618
  };
3617
3619
  return (_, U) => {
3618
- const q = N("KIcon"), D = N("KButton"), I = N("KDropdown"), V = N("KTable"), O = N("KCard");
3619
- return y(), F(O, {
3620
+ const q = F("KIcon"), D = F("KButton"), I = F("KDropdown"), V = F("KTable"), O = F("KCard");
3621
+ return y(), N(O, {
3620
3622
  class: "kong-ui-entity-base-table",
3621
3623
  title: e.title
3622
3624
  }, {
@@ -3663,7 +3665,7 @@ const Vo = {
3663
3665
  [Ve, l(B)]
3664
3666
  ])
3665
3667
  ]),
3666
- actions: k(({ row: B, rowKey: R, rowValue: J }) => [
3668
+ actions: k(({ row: B, rowKey: R, rowValue: z }) => [
3667
3669
  L("div", {
3668
3670
  class: "actions-container",
3669
3671
  "data-testid": B.name
@@ -3676,7 +3678,7 @@ const Vo = {
3676
3678
  X(_.$slots, "actions", {
3677
3679
  row: B,
3678
3680
  rowKey: R,
3679
- rowValue: J
3681
+ rowValue: z
3680
3682
  }, void 0, !0)
3681
3683
  ]),
3682
3684
  default: k(() => [
@@ -3703,14 +3705,14 @@ const Vo = {
3703
3705
  }, [
3704
3706
  ge(e.tableHeaders, (B, R) => ({
3705
3707
  name: R,
3706
- fn: k(({ row: J, rowKey: G, rowValue: te }) => [
3708
+ fn: k(({ row: z, rowKey: G, rowValue: te }) => [
3707
3709
  K(hl, {
3708
3710
  "key-name": String(R),
3709
- "row-el": d(J)
3711
+ "row-el": d(z)
3710
3712
  }, {
3711
3713
  default: k(() => [
3712
3714
  X(_.$slots, R, {
3713
- row: J,
3715
+ row: z,
3714
3716
  rowKey: G,
3715
3717
  rowValue: te
3716
3718
  }, () => [
@@ -3778,8 +3780,8 @@ const Vo = {
3778
3780
  i("proceed");
3779
3781
  };
3780
3782
  return (s, u) => {
3781
- const c = N("KAlert"), d = N("KPrompt");
3782
- return y(), F(d, {
3783
+ const c = F("KAlert"), d = F("KPrompt");
3784
+ return y(), N(d, {
3783
3785
  "action-button-text": "Yes, delete",
3784
3786
  "action-pending": e.actionPending,
3785
3787
  class: "kong-ui-entity-delete-modal",
@@ -3869,7 +3871,7 @@ const Vo = {
3869
3871
  }), Ol = {
3870
3872
  key: 1,
3871
3873
  class: "kong-ui-entity-filter"
3872
- }, Ml = { class: "menu-item-title" }, El = { class: "menu-item-indicator" }, Fl = { class: "menu-item-body" }, Nl = ["for"], ql = { class: "menu-item-buttons" }, Bl = { class: "filter-clear-button-container" }, Ll = /* @__PURE__ */ oe({
3874
+ }, Ml = { class: "menu-item-title" }, El = { class: "menu-item-indicator" }, Nl = { class: "menu-item-body" }, Fl = ["for"], ql = { class: "menu-item-buttons" }, Bl = { class: "filter-clear-button-container" }, Ll = /* @__PURE__ */ oe({
3873
3875
  __name: "EntityFilter",
3874
3876
  props: {
3875
3877
  // filter config, either exact match or fuzzy match
@@ -3931,8 +3933,8 @@ const Vo = {
3931
3933
  v && (r.value = !1), i("update:modelValue", new URLSearchParams(p).toString());
3932
3934
  };
3933
3935
  return (v, p) => {
3934
- const A = N("KInput"), S = N("KButton"), _ = N("KSelect"), U = N("KMenuItem"), q = N("KMenu");
3935
- return e.config.isExactMatch ? (y(), F(A, {
3936
+ const A = F("KInput"), S = F("KButton"), _ = F("KSelect"), U = F("KMenuItem"), q = F("KMenu");
3937
+ return e.config.isExactMatch ? (y(), N(A, {
3936
3938
  key: 0,
3937
3939
  autocomplete: "off",
3938
3940
  class: "kong-ui-entity-filter-input",
@@ -3965,7 +3967,7 @@ const Vo = {
3965
3967
  ]),
3966
3968
  De(K(q, { class: "kong-ui-entity-filter-menu" }, {
3967
3969
  body: k(() => [
3968
- (y(!0), T(he, null, ge(s.value, (D, I) => (y(), F(U, {
3970
+ (y(!0), T(he, null, ge(s.value, (D, I) => (y(), N(U, {
3969
3971
  key: D.value,
3970
3972
  "data-testid": D.value,
3971
3973
  expandable: "",
@@ -3982,12 +3984,12 @@ const Vo = {
3982
3984
  itemBody: k(() => {
3983
3985
  var V, O;
3984
3986
  return [
3985
- L("div", Fl, [
3987
+ L("div", Nl, [
3986
3988
  L("label", {
3987
3989
  class: "menu-item-label",
3988
3990
  for: d(D.value)
3989
- }, E(g(t)("filter.fieldLabel")), 9, Nl),
3990
- ((O = (V = e.config.schema) == null ? void 0 : V[D.value]) == null ? void 0 : O.type) === "select" ? (y(), F(_, {
3991
+ }, E(g(t)("filter.fieldLabel")), 9, Fl),
3992
+ ((O = (V = e.config.schema) == null ? void 0 : V[D.value]) == null ? void 0 : O.type) === "select" ? (y(), N(_, {
3991
3993
  key: 0,
3992
3994
  id: d(D.value),
3993
3995
  modelValue: o.value[D.value],
@@ -3995,7 +3997,7 @@ const Vo = {
3995
3997
  appearance: "select",
3996
3998
  items: h(D.value),
3997
3999
  placeholder: g(t)("filter.selectPlaceholder")
3998
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), F(A, {
4000
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (y(), N(A, {
3999
4001
  key: 1,
4000
4002
  id: d(D.value),
4001
4003
  modelValue: o.value[D.value],
@@ -4094,7 +4096,7 @@ const Vo = {
4094
4096
  }, Rl = {
4095
4097
  key: 2,
4096
4098
  class: "form-section-footer"
4097
- }, Jl = { class: "form-section-content" }, zl = /* @__PURE__ */ oe({
4099
+ }, zl = { class: "form-section-content" }, Jl = /* @__PURE__ */ oe({
4098
4100
  __name: "EntityFormSection",
4099
4101
  props: {
4100
4102
  title: {
@@ -4138,13 +4140,13 @@ const Vo = {
4138
4140
  X(t.$slots, "footer", {}, void 0, !0)
4139
4141
  ])) : H("", !0)
4140
4142
  ], 2)),
4141
- L("div", Jl, [
4143
+ L("div", zl, [
4142
4144
  X(t.$slots, "default", {}, void 0, !0)
4143
4145
  ])
4144
4146
  ])
4145
4147
  ], 2));
4146
4148
  }
4147
- }), Qt = /* @__PURE__ */ be(zl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: It, useDeleteUrlBuilder: Hl, useErrors: Wl, useExternalLinkCreator: ms, useFetchUrlBuilder: gs, useFetcher: Yl, useDebouncedFilter: Zl, useStringHelpers: Gl, useHelpers: hs, useGatewayFeatureSupported: vs, useTruncationDetector: ks } = ue, Ql = { class: "kong-ui-entities-keys-list" }, Xl = { key: 1 }, es = /* @__PURE__ */ oe({
4149
+ }), Qt = /* @__PURE__ */ be(Jl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: It, useDeleteUrlBuilder: Hl, useErrors: Wl, useExternalLinkCreator: ms, useFetchUrlBuilder: gs, useFetcher: Yl, useDebouncedFilter: Zl, useStringHelpers: Gl, useHelpers: hs, useGatewayFeatureSupported: vs, useTruncationDetector: ks } = ue, Ql = { class: "kong-ui-entities-keys-list" }, Xl = { key: 1 }, es = /* @__PURE__ */ oe({
4148
4150
  __name: "KeyList",
4149
4151
  props: {
4150
4152
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4199,9 +4201,9 @@ const Vo = {
4199
4201
  tags: { label: i("keys.list.table_headers.tags") },
4200
4202
  id: { label: i("keys.list.table_headers.id"), sortable: !0 }
4201
4203
  }, c = u, d = j(() => {
4202
- var w, z, ae, de;
4204
+ var w, J, ae, de;
4203
4205
  let m = `${a.config.apiBaseUrl}${Ie.list[a.config.app][a.config.keySetId ? "forKeySet" : "all"]}`;
4204
- return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "").replace(/{keySetId}/gi, ((z = a.config) == null ? void 0 : z.keySetId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (ae = a.config) != null && ae.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, ((de = a.config) == null ? void 0 : de.keySetId) || "")), m;
4206
+ return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "").replace(/{keySetId}/gi, ((J = a.config) == null ? void 0 : J.keySetId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (ae = a.config) != null && ae.workspace ? `/${a.config.workspace}` : "").replace(/{keySetId}/gi, ((de = a.config) == null ? void 0 : de.keySetId) || "")), m;
4205
4207
  }), h = M(""), f = j(() => {
4206
4208
  const m = a.config.app === "konnect" || a.config.isExactMatch;
4207
4209
  if (m)
@@ -4220,15 +4222,15 @@ const Vo = {
4220
4222
  }, v = () => {
4221
4223
  l.value++;
4222
4224
  }, p = M(null), A = (m, w) => {
4223
- const z = m.id;
4224
- if (!w(z)) {
4225
+ const J = m.id;
4226
+ if (!w(J)) {
4225
4227
  q(m, "id");
4226
4228
  return;
4227
4229
  }
4228
4230
  U(m, "id");
4229
4231
  }, S = (m, w) => {
4230
- const z = JSON.stringify(m);
4231
- if (!w(z)) {
4232
+ const J = JSON.stringify(m);
4233
+ if (!w(J)) {
4232
4234
  t("copy:error", {
4233
4235
  entity: m,
4234
4236
  message: i("keys.errors.copy")
@@ -4239,9 +4241,9 @@ const Vo = {
4239
4241
  entity: m,
4240
4242
  message: i("keys.copy.success_brief")
4241
4243
  });
4242
- }, _ = (m, w, z) => {
4244
+ }, _ = (m, w, J) => {
4243
4245
  const { type: ae } = m;
4244
- ae === "success" ? U(w, z) : q(w, z);
4246
+ ae === "success" ? U(w, J) : q(w, J);
4245
4247
  }, U = (m, w) => {
4246
4248
  t("copy:success", {
4247
4249
  entity: m,
@@ -4255,37 +4257,37 @@ const Vo = {
4255
4257
  message: i("keys.errors.copy")
4256
4258
  });
4257
4259
  }, D = async (m) => {
4258
- var z;
4259
- await ((z = a.canRetrieve) == null ? void 0 : z.call(a, m)) && r.push(a.config.getViewRoute(m.id));
4260
+ var J;
4261
+ await ((J = a.canRetrieve) == null ? void 0 : J.call(a, m)) && r.push(a.config.getViewRoute(m.id));
4260
4262
  }, I = (m) => ({
4261
4263
  label: i("keys.actions.view"),
4262
4264
  to: a.config.getViewRoute(m)
4263
4265
  }), V = (m) => ({
4264
4266
  label: i("keys.actions.edit"),
4265
4267
  to: a.config.getEditRoute(m)
4266
- }), O = M(void 0), B = M(!1), R = M(!1), J = M(""), G = Hl(a.config, d.value), te = (m) => {
4268
+ }), O = M(void 0), B = M(!1), R = M(!1), z = M(""), G = Hl(a.config, d.value), te = (m) => {
4267
4269
  O.value = m, B.value = !0;
4268
4270
  }, ie = () => {
4269
4271
  B.value = !1;
4270
4272
  }, ne = async () => {
4271
- var m, w, z;
4273
+ var m, w, J;
4272
4274
  if ((m = O.value) != null && m.id) {
4273
4275
  R.value = !0;
4274
4276
  try {
4275
4277
  await o.delete(G(O.value.id)), R.value = !1, B.value = !1, l.value++, t("delete:success", O.value);
4276
4278
  } catch (ae) {
4277
- J.value = ((z = (w = ae.response) == null ? void 0 : w.data) == null ? void 0 : z.message) || ae.message || i("keys.errors.delete"), t("error", ae);
4279
+ z.value = ((J = (w = ae.response) == null ? void 0 : w.data) == null ? void 0 : J.message) || ae.message || i("keys.errors.delete"), t("error", ae);
4278
4280
  } finally {
4279
4281
  R.value = !1;
4280
4282
  }
4281
4283
  }
4282
4284
  }, Q = M(!0);
4283
4285
  ke(b, (m) => {
4284
- var w, z, ae, de;
4286
+ var w, J, ae, de;
4285
4287
  if (Array.isArray((w = m == null ? void 0 : m.response) == null ? void 0 : w.data) && (Q.value = m.response.data.length > 0), m.status === Te.Error) {
4286
4288
  p.value = {
4287
4289
  title: i("keys.errors.general")
4288
- }, (de = (ae = (z = m.error) == null ? void 0 : z.response) == null ? void 0 : ae.data) != null && de.message && (p.value.message = m.error.response.data.message), t("error", m.error);
4290
+ }, (de = (ae = (J = m.error) == null ? void 0 : J.response) == null ? void 0 : ae.data) != null && de.message && (p.value.message = m.error.response.data.message), t("error", m.error);
4289
4291
  return;
4290
4292
  }
4291
4293
  p.value = null;
@@ -4299,7 +4301,7 @@ const Vo = {
4299
4301
  return nt(async () => {
4300
4302
  await a.canCreate() && (ce.value.title = i("keys.list.empty_state.title"), ce.value.ctaText = i("keys.actions.create"));
4301
4303
  }), (m, w) => {
4302
- const z = N("KButton"), ae = N("CopyUuid"), de = N("KBadge"), Y = N("KTruncate"), _e = N("KDropdownItem"), Be = N("KClipboardProvider");
4304
+ const J = F("KButton"), ae = F("CopyUuid"), de = F("KBadge"), Y = F("KTruncate"), _e = F("KDropdownItem"), Be = F("KClipboardProvider");
4303
4305
  return y(), T("div", Ql, [
4304
4306
  K(g(wl), {
4305
4307
  "cache-identifier": e.cacheIdentifier,
@@ -4327,7 +4329,7 @@ const Vo = {
4327
4329
  }, null, 8, ["modelValue", "config"])
4328
4330
  ]),
4329
4331
  "toolbar-button": k(() => [
4330
- (y(), F(oa, {
4332
+ (y(), N(oa, {
4331
4333
  disabled: !e.useActionOutside,
4332
4334
  to: "#kong-ui-app-page-header-action-button"
4333
4335
  }, [
@@ -4335,7 +4337,7 @@ const Vo = {
4335
4337
  "auth-function": () => e.canCreate()
4336
4338
  }, {
4337
4339
  default: k(() => [
4338
- De(K(z, {
4340
+ De(K(J, {
4339
4341
  appearance: "primary",
4340
4342
  "data-testid": "toolbar-add-key",
4341
4343
  icon: "plus",
@@ -4363,9 +4365,9 @@ const Vo = {
4363
4365
  }, null, 8, ["notify", "uuid"])
4364
4366
  ]),
4365
4367
  tags: k(({ rowValue: W }) => [
4366
- (W == null ? void 0 : W.length) > 0 ? (y(), F(Y, { key: 0 }, {
4368
+ (W == null ? void 0 : W.length) > 0 ? (y(), N(Y, { key: 0 }, {
4367
4369
  default: k(() => [
4368
- (y(!0), T(he, null, ge(W, (le) => (y(), F(de, {
4370
+ (y(!0), T(he, null, ge(W, (le) => (y(), N(de, {
4369
4371
  key: le,
4370
4372
  onClick: w[1] || (w[1] = Ye(() => {
4371
4373
  }, ["stop"]))
@@ -4463,7 +4465,7 @@ const Vo = {
4463
4465
  description: g(i)("keys.delete.description"),
4464
4466
  "entity-name": O.value && (O.value.name || O.value.id),
4465
4467
  "entity-type": g(rn).Key,
4466
- error: J.value,
4468
+ error: z.value,
4467
4469
  "need-confirm": !1,
4468
4470
  title: g(i)("keys.delete.title"),
4469
4471
  visible: B.value,
@@ -4551,22 +4553,22 @@ const Vo = {
4551
4553
  u.value === Le.Create && (c.fields.key_set = m);
4552
4554
  }, { immediate: !0 });
4553
4555
  const b = j(() => JSON.stringify(c.fields) !== JSON.stringify(d) && !!c.fields.key_id && !!c.fields.key_format && (c.fields.key_format === "jwk" && !!c.fields.jwk || c.fields.key_format === "pem" && !!c.fields.private_key && !!c.fields.public_key)), x = (m) => {
4554
- var w, z, ae, de;
4555
- c.fields.key_id = (m == null ? void 0 : m.kid) || "", c.fields.name = (m == null ? void 0 : m.name) || "", c.fields.tags = ((w = m == null ? void 0 : m.tags) == null ? void 0 : w.join(", ")) || "", c.fields.key_set = ((z = m == null ? void 0 : m.set) == null ? void 0 : z.id) || "", c.fields.key_format = m != null && m.pem ? "pem" : "jwk", c.fields.jwk = (m == null ? void 0 : m.jwk) || "", c.fields.private_key = ((ae = m == null ? void 0 : m.pem) == null ? void 0 : ae.private_key) || "", c.fields.public_key = ((de = m == null ? void 0 : m.pem) == null ? void 0 : de.public_key) || "", c.fields.key_set && (O.value = !1), Object.assign(d, c.fields);
4556
+ var w, J, ae, de;
4557
+ c.fields.key_id = (m == null ? void 0 : m.kid) || "", c.fields.name = (m == null ? void 0 : m.name) || "", c.fields.tags = ((w = m == null ? void 0 : m.tags) == null ? void 0 : w.join(", ")) || "", c.fields.key_set = ((J = m == null ? void 0 : m.set) == null ? void 0 : J.id) || "", c.fields.key_format = m != null && m.pem ? "pem" : "jwk", c.fields.jwk = (m == null ? void 0 : m.jwk) || "", c.fields.private_key = ((ae = m == null ? void 0 : m.pem) == null ? void 0 : ae.private_key) || "", c.fields.public_key = ((de = m == null ? void 0 : m.pem) == null ? void 0 : de.public_key) || "", c.fields.key_set && (O.value = !1), Object.assign(d, c.fields);
4556
4558
  }, v = () => {
4557
4559
  i.push(a.config.cancelRoute);
4558
4560
  }, p = j(() => {
4559
- var w, z;
4561
+ var w, J;
4560
4562
  let m = `${a.config.apiBaseUrl}${Ie.form[a.config.app][u.value][a.keySetId ? "forKeySet" : "all"]}`;
4561
- return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (z = a.config) != null && z.workspace ? `/${a.config.workspace}` : "")), m = m.replace(/{id}/gi, a.keyId).replace(/{keySetId}/gi, a.keySetId || ""), m;
4563
+ return a.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((w = a.config) == null ? void 0 : w.controlPlaneId) || "") : a.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (J = a.config) != null && J.workspace ? `/${a.config.workspace}` : "")), m = m.replace(/{id}/gi, a.keyId).replace(/{keySetId}/gi, a.keySetId || ""), m;
4562
4564
  }), A = async () => {
4563
- var m, w, z, ae, de, Y, _e, Be;
4565
+ var m, w, J, ae, de, Y, _e, Be;
4564
4566
  try {
4565
4567
  c.isReadonly = !0;
4566
4568
  const W = {
4567
4569
  kid: c.fields.key_id,
4568
4570
  name: c.fields.name || null,
4569
- tags: ((z = (w = (m = c.fields.tags) == null ? void 0 : m.split(",")) == null ? void 0 : w.map((P) => String(P || "").trim())) == null ? void 0 : z.filter((P) => P !== "")) || [],
4571
+ tags: ((J = (w = (m = c.fields.tags) == null ? void 0 : m.split(",")) == null ? void 0 : w.map((P) => String(P || "").trim())) == null ? void 0 : J.filter((P) => P !== "")) || [],
4570
4572
  set: c.fields.key_set ? { id: c.fields.key_set } : null,
4571
4573
  jwk: c.fields.key_format === "jwk" ? c.fields.jwk : null,
4572
4574
  pem: c.fields.key_format === "pem" ? { private_key: c.fields.private_key, public_key: c.fields.public_key } : null
@@ -4594,7 +4596,7 @@ const Vo = {
4594
4596
  searchKeys: ["id", "name"]
4595
4597
  }), O = M(!0), B = (m) => {
4596
4598
  O.value = !m, (!m || m !== c.fields.key_set && m !== d.key_set) && S(m);
4597
- }, R = j(() => q.value ? r("keys.errors.key_sets.fetch") : ""), J = j(() => D.value ? r("keys.errors.key_sets.invalid") : ""), G = M(0), te = j(() => U.value === void 0), ie = j(() => {
4599
+ }, R = j(() => q.value ? r("keys.errors.key_sets.fetch") : ""), z = j(() => D.value ? r("keys.errors.key_sets.invalid") : ""), G = M(0), te = j(() => U.value === void 0), ie = j(() => {
4598
4600
  if (te.value)
4599
4601
  return a.config.app === "konnect" ? r("keys.form.fields.key_set.footer") : void 0;
4600
4602
  }), ne = M(/* @__PURE__ */ new Set()), Q = j(() => Array.from(ne.value).map((w) => ({
@@ -4617,7 +4619,7 @@ const Vo = {
4617
4619
  }, { immediate: !0, deep: !0 }), nt(async () => {
4618
4620
  await I();
4619
4621
  }), (m, w) => {
4620
- const z = N("KInput"), ae = N("KSelect"), de = N("KTextArea");
4622
+ const J = F("KInput"), ae = F("KSelect"), de = F("KTextArea");
4621
4623
  return y(), T("div", ts, [
4622
4624
  K(g(yl), {
4623
4625
  "can-submit": b.value,
@@ -4638,7 +4640,7 @@ const Vo = {
4638
4640
  title: g(r)("keys.form.sections.general.title")
4639
4641
  }, {
4640
4642
  default: k(() => [
4641
- K(z, {
4643
+ K(J, {
4642
4644
  modelValue: c.fields.key_id,
4643
4645
  "onUpdate:modelValue": w[0] || (w[0] = (Y) => c.fields.key_id = Y),
4644
4646
  modelModifiers: { trim: !0 },
@@ -4652,7 +4654,7 @@ const Vo = {
4652
4654
  required: "",
4653
4655
  type: "text"
4654
4656
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"]),
4655
- K(z, {
4657
+ K(J, {
4656
4658
  modelValue: c.fields.name,
4657
4659
  "onUpdate:modelValue": w[1] || (w[1] = (Y) => c.fields.name = Y),
4658
4660
  modelModifiers: { trim: !0 },
@@ -4696,8 +4698,8 @@ const Vo = {
4696
4698
  ]),
4697
4699
  _: 1
4698
4700
  }, 8, ["modelValue", "class", "clearable", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly"]),
4699
- J.value ? (y(), T("p", rs, E(J.value), 1)) : H("", !0),
4700
- K(z, {
4701
+ z.value ? (y(), T("p", rs, E(z.value), 1)) : H("", !0),
4702
+ K(J, {
4701
4703
  modelValue: c.fields.tags,
4702
4704
  "onUpdate:modelValue": w[3] || (w[3] = (Y) => c.fields.tags = Y),
4703
4705
  modelModifiers: { trim: !0 },
@@ -4732,7 +4734,7 @@ const Vo = {
4732
4734
  width: "100%"
4733
4735
  }, null, 8, ["modelValue", "label", "readonly"])
4734
4736
  ]),
4735
- c.fields.key_format === "jwk" ? (y(), F(de, {
4737
+ c.fields.key_format === "jwk" ? (y(), N(de, {
4736
4738
  key: 0,
4737
4739
  modelValue: c.fields.jwk,
4738
4740
  "onUpdate:modelValue": w[5] || (w[5] = (Y) => c.fields.jwk = Y),
@@ -4745,7 +4747,7 @@ const Vo = {
4745
4747
  readonly: c.isReadonly,
4746
4748
  required: ""
4747
4749
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder", "readonly"])) : H("", !0),
4748
- c.fields.key_format === "pem" ? (y(), F(de, {
4750
+ c.fields.key_format === "pem" ? (y(), N(de, {
4749
4751
  key: 1,
4750
4752
  modelValue: c.fields.private_key,
4751
4753
  "onUpdate:modelValue": w[6] || (w[6] = (Y) => c.fields.private_key = Y),
@@ -4757,7 +4759,7 @@ const Vo = {
4757
4759
  readonly: c.isReadonly,
4758
4760
  required: ""
4759
4761
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"])) : H("", !0),
4760
- c.fields.key_format === "pem" ? (y(), F(de, {
4762
+ c.fields.key_format === "pem" ? (y(), N(de, {
4761
4763
  key: 2,
4762
4764
  modelValue: c.fields.public_key,
4763
4765
  "onUpdate:modelValue": w[7] || (w[7] = (Y) => c.fields.public_key = Y),
@@ -4892,7 +4894,7 @@ const Vo = {
4892
4894
  });
4893
4895
  return (p, A) => {
4894
4896
  var _, U;
4895
- const S = N("KSkeleton");
4897
+ const S = F("KSkeleton");
4896
4898
  return y(), T("div", ss, [
4897
4899
  K(g(dl), {
4898
4900
  config: e.config,
@@ -4906,11 +4908,11 @@ const Vo = {
4906
4908
  onLoading: A[2] || (A[2] = (q) => p.$emit("loading", q))
4907
4909
  }, Ae({
4908
4910
  set: k(({ row: q }) => [
4909
- f.value ? (y(), F(S, {
4911
+ f.value ? (y(), N(S, {
4910
4912
  key: 0,
4911
4913
  "data-testid": "key-set-name-loader",
4912
4914
  type: "spinner"
4913
- })) : q.value && q.value.id === d.value && h.value ? (y(), F(g(pn), {
4915
+ })) : q.value && q.value.id === d.value && h.value ? (y(), N(g(pn), {
4914
4916
  key: 1,
4915
4917
  item: {
4916
4918
  key: q.value.id,
@@ -4925,7 +4927,7 @@ const Vo = {
4925
4927
  (_ = u.value) != null && _.jwk ? {
4926
4928
  name: "jwk",
4927
4929
  fn: k(() => [
4928
- (y(!0), T(he, null, ge(Object.keys(c.value), (q) => (y(), F(g(Pe), {
4930
+ (y(!0), T(he, null, ge(Object.keys(c.value), (q) => (y(), N(g(Pe), {
4929
4931
  key: q,
4930
4932
  "data-testid": `${q}`,
4931
4933
  item: {
@@ -4940,7 +4942,7 @@ const Vo = {
4940
4942
  (U = u.value) != null && U.pem ? {
4941
4943
  name: "pem",
4942
4944
  fn: k(() => [
4943
- (y(!0), T(he, null, ge(Object.keys(c.value), (q) => (y(), F(g(Pe), {
4945
+ (y(!0), T(he, null, ge(Object.keys(c.value), (q) => (y(), N(g(Pe), {
4944
4946
  key: q,
4945
4947
  "data-testid": `${q}`,
4946
4948
  item: {