@kong-ui-public/entities-consumer-groups 1.3.1 → 1.3.2-pr.883.293de71e.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as ae, ref as O, computed as M, watch as xe, renderSlot as Y, createCommentVNode as G, unref as y, useSlots as ut, onBeforeMount as Qe, resolveComponent as U, openBlock as m, createBlock as V, createSlots as Te, withCtx as h, createElementVNode as R, createTextVNode as Z, toDisplayString as F, createVNode as K, createElementBlock as j, renderList as ye, Fragment as ve, normalizeClass as Ke, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as ur, resolveDynamicComponent as ze, normalizeProps as cr, guardReactiveProps as dr, mergeProps as ht, onMounted as pr, onUnmounted as fr, normalizeStyle as mr, inject as gr, pushScopeId as yr, popScopeId as hr, reactive as Pt } from "vue";
1
+ import { defineComponent as ae, ref as O, computed as M, watch as xe, renderSlot as Y, createCommentVNode as G, unref as y, useSlots as ut, onBeforeMount as Qe, resolveComponent as U, openBlock as m, createBlock as R, createSlots as Te, withCtx as h, createElementVNode as V, createTextVNode as Z, toDisplayString as F, createVNode as K, createElementBlock as j, renderList as ye, Fragment as ve, normalizeClass as Ke, withModifiers as rt, withDirectives as et, vShow as tt, useCssVars as ur, resolveDynamicComponent as ze, normalizeProps as cr, guardReactiveProps as dr, mergeProps as ht, onMounted as pr, onUnmounted as fr, normalizeStyle as mr, inject as gr, pushScopeId as yr, popScopeId as hr, reactive as Pt } from "vue";
2
2
  import { useRouter as wt } from "vue-router";
3
3
  import { createI18n as It, i18nTComponent as cn } from "@kong-ui-public/i18n";
4
4
  import vr from "axios";
@@ -297,20 +297,47 @@ function St() {
297
297
  };
298
298
  }
299
299
  function pn() {
300
+ const e = (t, r) => (r == null ? void 0 : r[t]) ?? void 0, n = (t, r) => {
301
+ if (t.length !== r.length)
302
+ return !1;
303
+ const o = /* @__PURE__ */ new Set([...t, ...r]);
304
+ for (const a of o) {
305
+ const i = t.filter((l) => l === a).length, s = r.filter((l) => l === a).length;
306
+ if (i !== s)
307
+ return !1;
308
+ }
309
+ return !0;
310
+ };
300
311
  return {
301
- getPropValue: (e, n) => (n == null ? void 0 : n[e]) ?? void 0,
302
- objectsAreEqual: (e, n) => {
312
+ getPropValue: e,
313
+ objectsAreEqual: (t, r, o) => {
314
+ if (o) {
315
+ if (Object.keys(t).length === Object.keys(r).length)
316
+ for (const a in t)
317
+ if (Array.isArray(t[a]) && Array.isArray(r[a])) {
318
+ if (n(t[a], r[a]))
319
+ continue;
320
+ return !1;
321
+ } else {
322
+ if (t[a] === r[a])
323
+ continue;
324
+ return !1;
325
+ }
326
+ else
327
+ return !1;
328
+ return !0;
329
+ }
303
330
  try {
304
- return JSON.stringify(e) === JSON.stringify(n);
331
+ return JSON.stringify(t) === JSON.stringify(r);
305
332
  } catch {
306
333
  return !1;
307
334
  }
308
335
  },
309
- sortAlpha: (e) => (n, t) => {
310
- let r = n[e] === void 0 || n[e] === null ? "" : n[e], o = t[e] === void 0 || t[e] === null ? "" : t[e];
311
- return Array.isArray(n[e]) && (r = n[e][0]), Array.isArray(t[e]) && (o = t[e][0]), r.localeCompare(o);
336
+ sortAlpha: (t) => (r, o) => {
337
+ let a = r[t] === void 0 || r[t] === null ? "" : r[t], i = o[t] === void 0 || o[t] === null ? "" : o[t];
338
+ return Array.isArray(r[t]) && (a = r[t][0]), Array.isArray(o[t]) && (i = o[t][0]), a.localeCompare(i);
312
339
  },
313
- isValidUuid: (e) => e ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(e) : !1
340
+ isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
314
341
  };
315
342
  }
316
343
  function Kr(e, n, t, r = {
@@ -486,8 +513,10 @@ function Pr(e, n, t = "data") {
486
513
  }, fetcherState: i };
487
514
  }
488
515
  function Lr() {
516
+ const e = (t, r = "_") => t ? t.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", n = /(?:^|[\s-:'"])\w/g;
489
517
  return {
490
- convertKeyToTitle: (e, n = "_") => e ? e.split(n).map((t) => t.toLowerCase() === "id" ? t.toUpperCase() : t.charAt(0).toUpperCase() + t.substring(1)).join(" ") : ""
518
+ capitalize: (t) => t ? t.replace(n, (r) => r.toUpperCase()) : "",
519
+ convertKeyToTitle: e
491
520
  };
492
521
  }
493
522
  const mn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Lt = (e) => {
@@ -505,19 +534,19 @@ const mn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
505
534
  return 0;
506
535
  const [t, r] = Ur(qt(e), qt(n));
507
536
  return t > r ? 1 : t < r ? -1 : 0;
508
- }, Rt = (e, n) => {
537
+ }, Vt = (e, n) => {
509
538
  for (let t = 0; t < Math.max(e.length, n.length); t++) {
510
539
  const r = qr(e[t] || "0", n[t] || "0");
511
540
  if (r !== 0)
512
541
  return r;
513
542
  }
514
543
  return 0;
515
- }, Rr = (e, n) => {
516
- const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Rt(t, r);
517
- return i !== 0 ? i : o && a ? Rt(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
518
- }, Vt = (e, n, t) => {
519
- Vr(t);
520
- const r = Rr(e, n);
544
+ }, Vr = (e, n) => {
545
+ const t = Lt(e), r = Lt(n), o = t.pop(), a = r.pop(), i = Vt(t, r);
546
+ return i !== 0 ? i : o && a ? Vt(o.split("."), a.split(".")) : o || a ? o ? -1 : 1 : 0;
547
+ }, Rt = (e, n, t) => {
548
+ Rr(t);
549
+ const r = Vr(e, n);
521
550
  return gn[t].includes(r);
522
551
  }, gn = {
523
552
  ">": [1],
@@ -526,7 +555,7 @@ const mn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
526
555
  "<=": [-1, 0],
527
556
  "<": [-1],
528
557
  "!=": [-1, 1]
529
- }, Dt = Object.keys(gn), Vr = (e) => {
558
+ }, Dt = Object.keys(gn), Rr = (e) => {
530
559
  if (typeof e != "string")
531
560
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
532
561
  if (Dt.indexOf(e) === -1)
@@ -543,7 +572,7 @@ function Gr(e) {
543
572
  if (!a)
544
573
  return !1;
545
574
  const [i, s] = a;
546
- return !(i && Vt(o, i, "<") || s && Vt(o, s, ">"));
575
+ return !(i && Rt(o, i, "<") || s && Rt(o, s, ">"));
547
576
  }
548
577
  function Hr(e) {
549
578
  const n = O(0), t = O(0), r = O(!1);
@@ -651,9 +680,9 @@ const ue = {
651
680
  return (g, f) => {
652
681
  const A = U("KIcon"), v = U("KClipboardProvider");
653
682
  return m(), j("div", Zr, [
654
- e.format !== "hidden" ? (m(), V(ze(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
683
+ e.format !== "hidden" ? (m(), R(ze(e.idTooltip ? "KTooltip" : "div"), ht({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
655
684
  default: h(() => [
656
- R("div", {
685
+ V("div", {
657
686
  class: Ke([
658
687
  "uuid-container",
659
688
  e.truncated ? "truncated-uuid" : null,
@@ -663,11 +692,11 @@ const ue = {
663
692
  ]),
664
693
  _: 1
665
694
  }, 16)) : G("", !0),
666
- (m(), V(ze(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
695
+ (m(), R(ze(e.tooltip ? "KTooltip" : "div"), ht(l.value, { class: "uuid-icon-wrapper" }), {
667
696
  default: h(() => [
668
697
  K(v, null, {
669
698
  default: h(({ copyToClipboard: p }) => [
670
- R("span", {
699
+ V("span", {
671
700
  "data-testid": "copy-to-clipboard",
672
701
  role: "button",
673
702
  tabindex: "0",
@@ -723,14 +752,14 @@ const ue = {
723
752
  var l;
724
753
  return n.isArrayItem ? (l = a.value) != null && l.name ? r(a.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: n.index }) : "";
725
754
  });
726
- return (l, c) => (m(), V(ze(e.isArrayItem ? "fieldset" : "div"), {
755
+ return (l, c) => (m(), R(ze(e.isArrayItem ? "fieldset" : "div"), {
727
756
  class: Ke(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
728
757
  }, {
729
758
  default: h(() => [
730
759
  e.isArrayItem ? (m(), j("legend", to, [
731
- R("b", null, F(s.value), 1)
760
+ V("b", null, F(s.value), 1)
732
761
  ])) : G("", !0),
733
- (m(!0), j(ve, null, ye(Object.keys(i.value), (d, u) => (m(), V(xt, {
762
+ (m(!0), j(ve, null, ye(Object.keys(i.value), (d, u) => (m(), R(xt, {
734
763
  key: `${o.value}-property-${u}`,
735
764
  item: {
736
765
  key: d,
@@ -786,7 +815,7 @@ const ue = {
786
815
  const { i18n: { t: n } } = ue.useI18n();
787
816
  return (t, r) => {
788
817
  const o = U("KBadge");
789
- return m(), V(o, {
818
+ return m(), R(o, {
790
819
  appearance: e.status ? "success" : "neutral"
791
820
  }, {
792
821
  default: h(() => [
@@ -956,7 +985,7 @@ const ue = {
956
985
  return (f, A) => {
957
986
  const v = U("KLabel"), p = U("KBadge"), S = U("KMethodBadge"), b = U("KTooltip");
958
987
  return m(), j("div", po, [
959
- R("div", {
988
+ V("div", {
960
989
  class: "config-card-details-label",
961
990
  "data-testid": `${e.item.key}-label`
962
991
  }, [
@@ -970,7 +999,7 @@ const ue = {
970
999
  s.value ? {
971
1000
  name: "tooltip",
972
1001
  fn: h(() => [
973
- R("div", {
1002
+ V("div", {
974
1003
  "data-testid": `${e.item.key}-label-tooltip`
975
1004
  }, [
976
1005
  Y(f.$slots, "label-tooltip", {}, () => [
@@ -983,7 +1012,7 @@ const ue = {
983
1012
  ]), 1024)
984
1013
  ], !0)
985
1014
  ], 8, fo),
986
- R("div", {
1015
+ V("div", {
987
1016
  class: "config-card-details-value",
988
1017
  "data-testid": `${e.item.key}-property-value`
989
1018
  }, [
@@ -991,13 +1020,13 @@ const ue = {
991
1020
  rowValue: e.item.value
992
1021
  }, () => [
993
1022
  i.value ? (m(), j("div", ho, [
994
- (m(), V(ze(d.value.tag), cr(dr(d.value.attrs)), {
1023
+ (m(), R(ze(d.value.tag), cr(dr(d.value.attrs)), {
995
1024
  default: h(() => [
996
1025
  d.value.additionalComponent === "KBadge" ? (m(), j("div", {
997
1026
  key: 0,
998
1027
  "data-testid": `${e.item.key}-badge-tags`
999
1028
  }, [
1000
- (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), V(p, {
1029
+ (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), R(p, {
1001
1030
  key: `${e.item.key}-badge-tag-${I}`,
1002
1031
  class: "config-badge",
1003
1032
  "data-testid": `${e.item.key}-badge-tag-${I}`,
@@ -1014,7 +1043,7 @@ const ue = {
1014
1043
  class: "copy-uuid-array",
1015
1044
  "data-testid": `${e.item.key}-copy-uuid-array`
1016
1045
  }, [
1017
- (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), V(y(yn), ht(d.value.childAttrs, {
1046
+ (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), R(y(yn), ht(d.value.childAttrs, {
1018
1047
  key: `${e.item.key}-copy-uuid-${I}`,
1019
1048
  "data-testid": `${e.item.key}-copy-uuid-${I}`,
1020
1049
  uuid: C
@@ -1024,7 +1053,7 @@ const ue = {
1024
1053
  class: "method-badge-array",
1025
1054
  "data-testid": `${e.item.key}-badge-methods`
1026
1055
  }, [
1027
- (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), V(S, {
1056
+ (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), R(S, {
1028
1057
  key: `${e.item.key}-badge-method-${I}`,
1029
1058
  class: "config-badge",
1030
1059
  "data-testid": `${e.item.key}-badge-method-${I}`,
@@ -1042,18 +1071,18 @@ const ue = {
1042
1071
  key: 3,
1043
1072
  "data-testid": `${t.item.key}-json-array-content`
1044
1073
  }, [
1045
- (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), V(hn, {
1074
+ (m(!0), j(ve, null, ye(e.item.value, (C, I) => (m(), R(hn, {
1046
1075
  key: `json-array-item-${I}`,
1047
1076
  index: I,
1048
1077
  "is-array-item": "",
1049
1078
  item: C
1050
1079
  }, null, 8, ["index", "item"]))), 128))
1051
- ], 8, ko)) : (m(), V(b, {
1080
+ ], 8, ko)) : (m(), R(b, {
1052
1081
  key: 4,
1053
1082
  label: y(g) ? e.item.value : ""
1054
1083
  }, {
1055
1084
  default: h(() => [
1056
- R("span", {
1085
+ V("span", {
1057
1086
  ref_key: "textContent",
1058
1087
  ref: u,
1059
1088
  class: Ke(["attrs-data-text", { truncated: e.truncated }])
@@ -1278,13 +1307,13 @@ var Cn = vt, kn = new de("tag:yaml.org,2002:str", {
1278
1307
  wn
1279
1308
  ]
1280
1309
  });
1281
- function Ro(e) {
1310
+ function Vo(e) {
1282
1311
  if (e === null)
1283
1312
  return !0;
1284
1313
  var n = e.length;
1285
1314
  return n === 1 && e === "~" || n === 4 && (e === "null" || e === "Null" || e === "NULL");
1286
1315
  }
1287
- function Vo() {
1316
+ function Ro() {
1288
1317
  return null;
1289
1318
  }
1290
1319
  function Do(e) {
@@ -1292,8 +1321,8 @@ function Do(e) {
1292
1321
  }
1293
1322
  var An = new de("tag:yaml.org,2002:null", {
1294
1323
  kind: "scalar",
1295
- resolve: Ro,
1296
- construct: Vo,
1324
+ resolve: Vo,
1325
+ construct: Ro,
1297
1326
  predicate: Do,
1298
1327
  represent: {
1299
1328
  canonical: function() {
@@ -1662,7 +1691,7 @@ var Pn = new de("tag:yaml.org,2002:set", {
1662
1691
  Bn,
1663
1692
  Pn
1664
1693
  ]
1665
- }), je = Object.prototype.hasOwnProperty, ot = 1, Ln = 2, Un = 3, at = 4, yt = 1, Ia = 2, zt = 3, Aa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Sa = /[\x85\u2028\u2029]/, xa = /[,\[\]\{\}]/, qn = /^(?:!|!!|![a-z\-]+!)$/i, Rn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1694
+ }), je = Object.prototype.hasOwnProperty, ot = 1, Ln = 2, Un = 3, at = 4, yt = 1, Ia = 2, zt = 3, Aa = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Sa = /[\x85\u2028\u2029]/, xa = /[,\[\]\{\}]/, qn = /^(?:!|!!|![a-z\-]+!)$/i, Vn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1666
1695
  function Jt(e) {
1667
1696
  return Object.prototype.toString.call(e);
1668
1697
  }
@@ -1698,9 +1727,9 @@ function ja(e) {
1698
1727
  (e - 65536 & 1023) + 56320
1699
1728
  );
1700
1729
  }
1701
- var Vn = new Array(256), Dn = new Array(256);
1730
+ var Rn = new Array(256), Dn = new Array(256);
1702
1731
  for (var Pe = 0; Pe < 256; Pe++)
1703
- Vn[Pe] = Wt(Pe) ? 1 : 0, Dn[Pe] = Wt(Pe);
1732
+ Rn[Pe] = Wt(Pe) ? 1 : 0, Dn[Pe] = Wt(Pe);
1704
1733
  function Ea(e, n) {
1705
1734
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1706
1735
  }
@@ -1728,7 +1757,7 @@ var Yt = {
1728
1757
  },
1729
1758
  TAG: function(e, n, t) {
1730
1759
  var r, o;
1731
- t.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], qn.test(r) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && $(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Rn.test(o) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1760
+ t.length !== 2 && $(e, "TAG directive accepts exactly two arguments"), r = t[0], o = t[1], qn.test(r) || $(e, "ill-formed tag handle (first argument) of the TAG directive"), je.call(e.tagMap, r) && $(e, 'there is a previously declared suffix for "' + r + '" tag handle'), Vn.test(o) || $(e, "ill-formed tag prefix (second argument) of the TAG directive");
1732
1761
  try {
1733
1762
  o = decodeURIComponent(o);
1734
1763
  } catch {
@@ -1852,7 +1881,7 @@ function Ka(e, n) {
1852
1881
  if (s === 92) {
1853
1882
  if (Me(e, t, e.position, !0), s = e.input.charCodeAt(++e.position), we(s))
1854
1883
  oe(e, !1, n);
1855
- else if (s < 256 && Vn[s])
1884
+ else if (s < 256 && Rn[s])
1856
1885
  e.result += Dn[s], e.position++;
1857
1886
  else if ((i = $a(s)) > 0) {
1858
1887
  for (o = i, a = 0; o > 0; o--)
@@ -1877,7 +1906,7 @@ function Na(e, n) {
1877
1906
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), b = e.input.charCodeAt(++e.position); b !== 0; ) {
1878
1907
  if (oe(e, !0, n), b = e.input.charCodeAt(e.position), b === d)
1879
1908
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
1880
- t ? b === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), p = v = S = null, u = g = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = g = !0, e.position++, oe(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Re(e, n, ot, !1, !0), p = e.tag, v = e.result, oe(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), oe(e, !0, n), Re(e, n, ot, !1, !0), S = e.result), f ? qe(e, s, A, p, v, S, r, o, a) : u ? s.push(qe(e, null, A, p, v, S, r, o, a)) : s.push(v), oe(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
1909
+ t ? b === 44 && $(e, "expected the node content, but found ','") : $(e, "missed comma between flow collection entries"), p = v = S = null, u = g = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), he(c) && (u = g = !0, e.position++, oe(e, !0, n))), r = e.line, o = e.lineStart, a = e.position, Ve(e, n, ot, !1, !0), p = e.tag, v = e.result, oe(e, !0, n), b = e.input.charCodeAt(e.position), (g || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), oe(e, !0, n), Ve(e, n, ot, !1, !0), S = e.result), f ? qe(e, s, A, p, v, S, r, o, a) : u ? s.push(qe(e, null, A, p, v, S, r, o, a)) : s.push(v), oe(e, !0, n), b = e.input.charCodeAt(e.position), b === 44 ? (t = !0, b = e.input.charCodeAt(++e.position)) : t = !1;
1881
1910
  }
1882
1911
  $(e, "unexpected end of the stream within a flow collection");
1883
1912
  }
@@ -1937,7 +1966,7 @@ function Qt(e, n) {
1937
1966
  a.push(null), l = e.input.charCodeAt(e.position);
1938
1967
  continue;
1939
1968
  }
1940
- if (t = e.line, Re(e, n, Un, !1, !0), a.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1969
+ if (t = e.line, Ve(e, n, Un, !1, !0), a.push(e.result), oe(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === t || e.lineIndent > n) && l !== 0)
1941
1970
  $(e, "bad indentation of a sequence entry");
1942
1971
  else if (e.lineIndent < n)
1943
1972
  break;
@@ -1952,7 +1981,7 @@ function Pa(e, n, t) {
1952
1981
  if (!p && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, $(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && he(r))
1953
1982
  b === 63 ? (p && (qe(e, u, g, f, A, null, i, s, l), f = A = v = null), S = !0, p = !0, o = !0) : p ? (p = !1, o = !0) : $(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
1954
1983
  else {
1955
- if (i = e.line, s = e.lineStart, l = e.position, !Re(e, t, Ln, !1, !0))
1984
+ if (i = e.line, s = e.lineStart, l = e.position, !Ve(e, t, Ln, !1, !0))
1956
1985
  break;
1957
1986
  if (e.line === a) {
1958
1987
  for (b = e.input.charCodeAt(e.position); Fe(b); )
@@ -1968,7 +1997,7 @@ function Pa(e, n, t) {
1968
1997
  else
1969
1998
  return e.tag = c, e.anchor = d, !0;
1970
1999
  }
1971
- if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Re(e, n, at, !0, o) && (p ? A = e.result : v = e.result), p || (qe(e, u, g, f, A, v, i, s, l), f = A = v = null), oe(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && b !== 0)
2000
+ if ((e.line === a || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Ve(e, n, at, !0, o) && (p ? A = e.result : v = e.result), p || (qe(e, u, g, f, A, v, i, s, l), f = A = v = null), oe(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > n) && b !== 0)
1972
2001
  $(e, "bad indentation of a mapping entry");
1973
2002
  else if (e.lineIndent < n)
1974
2003
  break;
@@ -1989,7 +2018,7 @@ function La(e) {
1989
2018
  i === 33 && (r ? $(e, "tag suffix cannot contain exclamation marks") : (o = e.input.slice(n - 1, e.position + 1), qn.test(o) || $(e, "named tag handle cannot contain such characters"), r = !0, n = e.position + 1)), i = e.input.charCodeAt(++e.position);
1990
2019
  a = e.input.slice(n, e.position), xa.test(a) && $(e, "tag suffix cannot contain flow indicator characters");
1991
2020
  }
1992
- a && !Rn.test(a) && $(e, "tag name cannot contain such characters: " + a);
2021
+ a && !Vn.test(a) && $(e, "tag name cannot contain such characters: " + a);
1993
2022
  try {
1994
2023
  a = decodeURIComponent(a);
1995
2024
  } catch {
@@ -2013,7 +2042,7 @@ function qa(e) {
2013
2042
  r = e.input.charCodeAt(++e.position);
2014
2043
  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], oe(e, !0, -1), !0;
2015
2044
  }
2016
- function Re(e, n, t, r, o) {
2045
+ function Ve(e, n, t, r, o) {
2017
2046
  var a, i, s, l = 1, c = !1, d = !1, u, g, f, A, v, p;
2018
2047
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = i = s = at === t || Un === t, r && oe(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2019
2048
  for (; La(e) || Ua(e); )
@@ -2039,7 +2068,7 @@ function Re(e, n, t, r, o) {
2039
2068
  }
2040
2069
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2041
2070
  }
2042
- function Ra(e) {
2071
+ function Va(e) {
2043
2072
  var n = e.position, t, r, o, a = !1, i;
2044
2073
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (i = e.input.charCodeAt(e.position)) !== 0 && (oe(e, !0, -1), i = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || i !== 37)); ) {
2045
2074
  for (a = !0, i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !he(i); )
@@ -2061,7 +2090,7 @@ function Ra(e) {
2061
2090
  }
2062
2091
  i !== 0 && Mt(e), je.call(Yt, r) ? Yt[r](e, r, o) : it(e, 'unknown document directive "' + r + '"');
2063
2092
  }
2064
- if (oe(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, oe(e, !0, -1)) : a && $(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, at, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Sa.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2093
+ if (oe(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, oe(e, !0, -1)) : a && $(e, "directives end mark is expected"), Ve(e, e.lineIndent - 1, at, !1, !0), oe(e, !0, -1), e.checkLineBreaks && Sa.test(e.input.slice(n, e.position)) && it(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && dt(e)) {
2065
2094
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, oe(e, !0, -1));
2066
2095
  return;
2067
2096
  }
@@ -2077,10 +2106,10 @@ function Hn(e, n) {
2077
2106
  for (r !== -1 && (t.position = r, $(t, "null byte is not allowed in input")), t.input += "\0"; t.input.charCodeAt(t.position) === 32; )
2078
2107
  t.lineIndent += 1, t.position += 1;
2079
2108
  for (; t.position < t.length - 1; )
2080
- Ra(t);
2109
+ Va(t);
2081
2110
  return t.documents;
2082
2111
  }
2083
- function Va(e, n, t) {
2112
+ function Ra(e, n, t) {
2084
2113
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2085
2114
  var r = Hn(e, t);
2086
2115
  if (typeof n != "function")
@@ -2096,7 +2125,7 @@ function Da(e, n) {
2096
2125
  throw new me("expected a single document in the stream, but found more");
2097
2126
  }
2098
2127
  }
2099
- var Ga = Va, Ha = Da, zn = {
2128
+ var Ga = Ra, Ha = Da, zn = {
2100
2129
  loadAll: Ga,
2101
2130
  load: Ha
2102
2131
  }, Jn = Object.prototype.toString, Wn = Object.prototype.hasOwnProperty, Et = 65279, za = 9, We = 10, Ja = 13, Wa = 32, Ya = 33, Za = 34, bt = 35, Qa = 37, Xa = 38, ei = 39, ti = 42, Yn = 44, ni = 45, st = 58, ri = 61, oi = 62, ai = 63, ii = 64, Zn = 91, Qn = 93, si = 96, Xn = 123, li = 124, er = 125, fe = {};
@@ -2425,7 +2454,7 @@ var $i = de, Mi = Cn, ji = In, Ei = $n, Oi = Mn, Fi = $t, Ki = zn.load, Ni = zn.
2425
2454
  omap: Nn,
2426
2455
  seq: _n,
2427
2456
  str: kn
2428
- }, Ui = Ot("safeLoad", "load"), qi = Ot("safeLoadAll", "loadAll"), Ri = Ot("safeDump", "dump"), Vi = {
2457
+ }, Ui = Ot("safeLoad", "load"), qi = Ot("safeLoadAll", "loadAll"), Vi = Ot("safeDump", "dump"), Ri = {
2429
2458
  Type: $i,
2430
2459
  Schema: Mi,
2431
2460
  FAILSAFE_SCHEMA: ji,
@@ -2439,7 +2468,7 @@ var $i = de, Mi = Cn, ji = In, Ei = $n, Oi = Mn, Fi = $t, Ki = zn.load, Ni = zn.
2439
2468
  types: Li,
2440
2469
  safeLoad: Ui,
2441
2470
  safeLoadAll: qi,
2442
- safeDump: Ri
2471
+ safeDump: Vi
2443
2472
  };
2444
2473
  const Di = {
2445
2474
  key: 0,
@@ -2481,7 +2510,7 @@ const Di = {
2481
2510
  setup(e) {
2482
2511
  const n = e, t = ut(), { i18n: { t: r } } = ue.useI18n(), o = (s) => !!(s.tooltip || t[`${s.key}-label-tooltip`]), a = O(""), i = O("");
2483
2512
  return xe(() => n.format, (s) => {
2484
- s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = Vi.dump(n.record));
2513
+ s === "json" ? a.value = JSON.stringify(n.record, null, 2) : s === "yaml" && (i.value = Ri.dump(n.record));
2485
2514
  }, { immediate: !0 }), (s, l) => {
2486
2515
  const c = U("KCodeBlock");
2487
2516
  return m(), j(ve, null, [
@@ -2492,7 +2521,7 @@ const Di = {
2492
2521
  "data-testid": `config-card-details-${d}-props`
2493
2522
  }, [
2494
2523
  d !== "basic" ? (m(), j("div", Hi, F(d === "advanced" ? y(r)("baseConfigCard.sections.advanced") : y(r)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2495
- (m(!0), j(ve, null, ye(e.propertyCollections[d], (u) => (m(), V(xt, {
2524
+ (m(!0), j(ve, null, ye(e.propertyCollections[d], (u) => (m(), R(xt, {
2496
2525
  key: u.key,
2497
2526
  item: u
2498
2527
  }, Te({
@@ -2544,7 +2573,7 @@ const Di = {
2544
2573
  }, Qi = (e) => (yr("data-v-dd88a2bb"), e = e(), hr(), e), Xi = ["aria-hidden"], es = {
2545
2574
  key: 0,
2546
2575
  "data-testid": "kui-icon-svg-title"
2547
- }, ts = /* @__PURE__ */ Qi(() => /* @__PURE__ */ R("path", {
2576
+ }, ts = /* @__PURE__ */ Qi(() => /* @__PURE__ */ V("path", {
2548
2577
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2549
2578
  fill: "currentColor"
2550
2579
  }, null, -1)), ns = /* @__PURE__ */ ae({
@@ -2616,7 +2645,7 @@ const Di = {
2616
2645
  lineHeight: "0",
2617
2646
  width: t.value
2618
2647
  }));
2619
- return (o, a) => (m(), V(ze(e.as), {
2648
+ return (o, a) => (m(), R(ze(e.as), {
2620
2649
  "aria-hidden": e.decorative ? "true" : void 0,
2621
2650
  class: "kui-icon book-icon",
2622
2651
  "data-testid": "kui-icon-wrapper-book-icon",
@@ -2867,11 +2896,11 @@ const Di = {
2867
2896
  }
2868
2897
  }), (w, N) => {
2869
2898
  const B = U("KLabel"), k = U("KSelect"), x = U("KButton"), T = U("KClipboardProvider"), P = U("KSkeleton"), J = U("KEmptyState"), Q = U("KCard");
2870
- return m(), V(Q, { class: "kong-ui-entity-base-config-card" }, Te({
2899
+ return m(), R(Q, { class: "kong-ui-entity-base-config-card" }, Te({
2871
2900
  actions: h(() => [
2872
- R("div", as, [
2901
+ V("div", as, [
2873
2902
  Y(w.$slots, "actions", {}, void 0, !0),
2874
- e.config.jsonYamlEnabled ? (m(), V(B, {
2903
+ e.config.jsonYamlEnabled ? (m(), R(B, {
2875
2904
  key: 0,
2876
2905
  class: "config-format-select-label",
2877
2906
  "data-testid": "config-format-select-label"
@@ -2881,21 +2910,21 @@ const Di = {
2881
2910
  ]),
2882
2911
  _: 1
2883
2912
  })) : G("", !0),
2884
- e.config.jsonYamlEnabled ? (m(), V(k, {
2913
+ e.config.jsonYamlEnabled ? (m(), R(k, {
2885
2914
  key: 1,
2886
2915
  appearance: "select",
2887
2916
  "data-testid": "select-config-format",
2888
2917
  items: c,
2889
2918
  onChange: u
2890
2919
  })) : G("", !0),
2891
- r.config.jsonYamlEnabled && e.configCardDoc ? (m(), V(x, {
2920
+ r.config.jsonYamlEnabled && e.configCardDoc ? (m(), R(x, {
2892
2921
  key: 2,
2893
2922
  appearance: "btn-link",
2894
2923
  class: "book-icon",
2895
2924
  "data-testid": "book-icon"
2896
2925
  }, {
2897
2926
  default: h(() => [
2898
- R("a", {
2927
+ V("a", {
2899
2928
  href: e.configCardDoc,
2900
2929
  rel: "noopener",
2901
2930
  target: "_blank"
@@ -2905,9 +2934,9 @@ const Di = {
2905
2934
  ]),
2906
2935
  _: 1
2907
2936
  })) : G("", !0),
2908
- e.config.jsonYamlEnabled ? G("", !0) : (m(), V(T, { key: 3 }, {
2937
+ e.config.jsonYamlEnabled ? G("", !0) : (m(), R(T, { key: 3 }, {
2909
2938
  default: h(({ copyToClipboard: X }) => [
2910
- !f.value && !A.value ? (m(), V(x, {
2939
+ !f.value && !A.value ? (m(), R(x, {
2911
2940
  key: 0,
2912
2941
  appearance: "btn-link",
2913
2942
  "data-testid": "json-copy-button",
@@ -2924,18 +2953,18 @@ const Di = {
2924
2953
  ])
2925
2954
  ]),
2926
2955
  body: h(() => [
2927
- f.value ? (m(), V(P, {
2956
+ f.value ? (m(), R(P, {
2928
2957
  key: 0,
2929
2958
  "data-testid": "config-card-loader",
2930
2959
  "table-columns": 2,
2931
2960
  type: "table"
2932
- })) : A.value ? (m(), V(J, {
2961
+ })) : A.value ? (m(), R(J, {
2933
2962
  key: 1,
2934
2963
  "data-testid": "config-card-fetch-error",
2935
2964
  "is-error": ""
2936
2965
  }, {
2937
2966
  message: h(() => [
2938
- R("h3", null, F(v.value), 1)
2967
+ V("h3", null, F(v.value), 1)
2939
2968
  ]),
2940
2969
  _: 1
2941
2970
  })) : G("", !0),
@@ -2963,7 +2992,7 @@ const Di = {
2963
2992
  "data-testid": `config-card-details-${X}-props`
2964
2993
  }, [
2965
2994
  X !== "basic" ? (m(), j("div", cs, F(X === "advanced" ? y(a)("baseConfigCard.sections.advanced") : y(a)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
2966
- (m(!0), j(ve, null, ye(C.value[X], (ee) => (m(), V(xt, {
2995
+ (m(!0), j(ve, null, ye(C.value[X], (ee) => (m(), R(xt, {
2967
2996
  key: ee.key,
2968
2997
  item: ee
2969
2998
  }, Te({
@@ -2994,7 +3023,7 @@ const Di = {
2994
3023
  e.hideTitle ? void 0 : {
2995
3024
  name: "title",
2996
3025
  fn: h(() => [
2997
- R("div", os, [
3026
+ V("div", os, [
2998
3027
  Y(w.$slots, "title", {}, () => [
2999
3028
  Z(F(y(a)("baseConfigCard.title")), 1)
3000
3029
  ], !0)
@@ -3089,12 +3118,12 @@ const Di = {
3089
3118
  }
3090
3119
  }), (p, S) => {
3091
3120
  const b = U("KSkeleton"), C = U("KEmptyState"), I = U("KAlert"), ne = U("KButton"), pe = U("KCard");
3092
- return m(), V(pe, { class: "kong-ui-entity-base-form" }, {
3121
+ return m(), R(pe, { class: "kong-ui-entity-base-form" }, {
3093
3122
  body: h(() => [
3094
- l.value ? (m(), V(b, {
3123
+ l.value ? (m(), R(b, {
3095
3124
  key: 0,
3096
3125
  type: "form"
3097
- })) : c.value ? (m(), V(C, {
3126
+ })) : c.value ? (m(), R(C, {
3098
3127
  key: 1,
3099
3128
  "cta-text": y(a)("baseForm.actions.back"),
3100
3129
  "data-testid": "form-fetch-error",
@@ -3102,7 +3131,7 @@ const Di = {
3102
3131
  "is-error": !0
3103
3132
  }, {
3104
3133
  message: h(() => [
3105
- R("h3", null, F(d.value), 1)
3134
+ V("h3", null, F(d.value), 1)
3106
3135
  ]),
3107
3136
  _: 1
3108
3137
  }, 8, ["cta-text"])) : (m(), j("form", {
@@ -3112,13 +3141,13 @@ const Di = {
3112
3141
  onSubmit: rt(v, ["prevent"])
3113
3142
  }, [
3114
3143
  Y(p.$slots, "default", {}, void 0, !0),
3115
- e.errorMessage ? (m(), V(I, {
3144
+ e.errorMessage ? (m(), R(I, {
3116
3145
  key: 0,
3117
3146
  "alert-message": e.errorMessage,
3118
3147
  appearance: "danger",
3119
3148
  "data-testid": "form-error"
3120
3149
  }, null, 8, ["alert-message"])) : G("", !0),
3121
- R("div", ms, [
3150
+ V("div", ms, [
3122
3151
  Y(p.$slots, "form-actions", {}, () => [
3123
3152
  K(ne, {
3124
3153
  appearance: "outline",
@@ -3385,7 +3414,7 @@ const Di = {
3385
3414
  };
3386
3415
  return (C, I) => {
3387
3416
  const ne = U("KIcon"), pe = U("KButton"), H = U("KDropdownMenu"), w = U("KTable"), N = U("KCard");
3388
- return m(), V(N, {
3417
+ return m(), R(N, {
3389
3418
  class: "kong-ui-entity-base-table",
3390
3419
  title: e.title
3391
3420
  }, {
@@ -3422,7 +3451,7 @@ const Di = {
3422
3451
  "onUpdate:tablePreferences": b
3423
3452
  }, Te({
3424
3453
  toolbar: h(({ state: B }) => [
3425
- et(R("div", Cs, [
3454
+ et(V("div", Cs, [
3426
3455
  Y(C.$slots, "toolbar-filter", {}, void 0, !0),
3427
3456
  C.$slots["toolbar-button"] ? (m(), j("div", ks, [
3428
3457
  Y(C.$slots, "toolbar-button", {}, void 0, !0)
@@ -3432,7 +3461,7 @@ const Di = {
3432
3461
  ])
3433
3462
  ]),
3434
3463
  actions: h(({ row: B, rowKey: k, rowValue: x }) => [
3435
- R("div", {
3464
+ V("div", {
3436
3465
  class: "actions-container",
3437
3466
  "data-testid": B.name
3438
3467
  }, [
@@ -3547,7 +3576,7 @@ const Di = {
3547
3576
  };
3548
3577
  return (s, l) => {
3549
3578
  const c = U("KAlert"), d = U("KPrompt");
3550
- return m(), V(d, {
3579
+ return m(), R(d, {
3551
3580
  "action-button-text": "Yes, delete",
3552
3581
  "action-pending": e.actionPending,
3553
3582
  class: "kong-ui-entity-delete-modal",
@@ -3580,14 +3609,14 @@ const Di = {
3580
3609
  t.entityName ? {
3581
3610
  name: "entityName",
3582
3611
  fn: h(() => [
3583
- R("strong", null, F(t.entityName), 1)
3612
+ V("strong", null, F(t.entityName), 1)
3584
3613
  ]),
3585
3614
  key: "0"
3586
3615
  } : void 0
3587
3616
  ]), 1032, ["keypath"]),
3588
3617
  t.description || s.$slots.description ? (m(), j("div", Ss, [
3589
3618
  Y(s.$slots, "description", {}, () => [
3590
- R("p", null, F(t.description), 1)
3619
+ V("p", null, F(t.description), 1)
3591
3620
  ], !0)
3592
3621
  ])) : G("", !0)
3593
3622
  ]),
@@ -3619,15 +3648,15 @@ const Di = {
3619
3648
  },
3620
3649
  setup(e) {
3621
3650
  return (n, t) => (m(), j("svg", $s, [
3622
- R("mask", Ms, [
3623
- R("rect", {
3651
+ V("mask", Ms, [
3652
+ V("rect", {
3624
3653
  fill: e.color,
3625
3654
  height: "20",
3626
3655
  width: "20"
3627
3656
  }, null, 8, js)
3628
3657
  ]),
3629
- R("g", Es, [
3630
- R("path", {
3658
+ V("g", Es, [
3659
+ V("path", {
3631
3660
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3632
3661
  fill: e.color
3633
3662
  }, null, 8, Os)
@@ -3700,7 +3729,7 @@ const Di = {
3700
3729
  };
3701
3730
  return (p, S) => {
3702
3731
  const b = U("KInput"), C = U("KButton"), I = U("KSelect"), ne = U("KMenuItem"), pe = U("KMenu");
3703
- return e.config.isExactMatch ? (m(), V(b, {
3732
+ return e.config.isExactMatch ? (m(), R(b, {
3704
3733
  key: 0,
3705
3734
  autocomplete: "off",
3706
3735
  class: "kong-ui-entity-filter-input",
@@ -3725,7 +3754,7 @@ const Di = {
3725
3754
  ]),
3726
3755
  _: 1
3727
3756
  }),
3728
- et(R("div", {
3757
+ et(V("div", {
3729
3758
  class: "kong-ui-entity-filter-backdrop",
3730
3759
  onClick: l
3731
3760
  }, null, 512), [
@@ -3733,16 +3762,16 @@ const Di = {
3733
3762
  ]),
3734
3763
  et(K(pe, { class: "kong-ui-entity-filter-menu" }, {
3735
3764
  body: h(() => [
3736
- (m(!0), j(ve, null, ye(s.value, (H, w) => (m(), V(ne, {
3765
+ (m(!0), j(ve, null, ye(s.value, (H, w) => (m(), R(ne, {
3737
3766
  key: H.value,
3738
3767
  "data-testid": H.value,
3739
3768
  expandable: "",
3740
3769
  "last-menu-item": w === s.value.length - 1
3741
3770
  }, {
3742
3771
  itemTitle: h(() => [
3743
- R("span", Ns, [
3772
+ V("span", Ns, [
3744
3773
  Z(F(H.label) + " ", 1),
3745
- et(R("span", Bs, null, 512), [
3774
+ et(V("span", Bs, null, 512), [
3746
3775
  [tt, i.value.includes(H.value)]
3747
3776
  ])
3748
3777
  ])
@@ -3750,12 +3779,12 @@ const Di = {
3750
3779
  itemBody: h(() => {
3751
3780
  var N, B;
3752
3781
  return [
3753
- R("div", Ps, [
3754
- R("label", {
3782
+ V("div", Ps, [
3783
+ V("label", {
3755
3784
  class: "menu-item-label",
3756
3785
  for: d(H.value)
3757
3786
  }, F(y(r)("filter.fieldLabel")), 9, Ls),
3758
- ((B = (N = e.config.schema) == null ? void 0 : N[H.value]) == null ? void 0 : B.type) === "select" ? (m(), V(I, {
3787
+ ((B = (N = e.config.schema) == null ? void 0 : N[H.value]) == null ? void 0 : B.type) === "select" ? (m(), R(I, {
3759
3788
  key: 0,
3760
3789
  id: d(H.value),
3761
3790
  modelValue: a.value[H.value],
@@ -3763,7 +3792,7 @@ const Di = {
3763
3792
  appearance: "select",
3764
3793
  items: u(H.value),
3765
3794
  placeholder: y(r)("filter.selectPlaceholder")
3766
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), V(b, {
3795
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (m(), R(b, {
3767
3796
  key: 1,
3768
3797
  id: d(H.value),
3769
3798
  modelValue: a.value[H.value],
@@ -3774,7 +3803,7 @@ const Di = {
3774
3803
  type: g(H.value)
3775
3804
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
3776
3805
  ]),
3777
- R("div", Us, [
3806
+ V("div", Us, [
3778
3807
  K(C, {
3779
3808
  appearance: "btn-link",
3780
3809
  "data-testid": "apply-filter",
@@ -3818,7 +3847,7 @@ const Di = {
3818
3847
  ]));
3819
3848
  };
3820
3849
  }
3821
- }), Rs = /* @__PURE__ */ ke(qs, [["__scopeId", "data-v-745f38c0"]]), Xe = /* @__PURE__ */ ae({
3850
+ }), Vs = /* @__PURE__ */ ke(qs, [["__scopeId", "data-v-745f38c0"]]), Xe = /* @__PURE__ */ ae({
3822
3851
  __name: "PermissionsWrapper",
3823
3852
  props: {
3824
3853
  /**
@@ -3848,7 +3877,7 @@ const Di = {
3848
3877
  isAllowed: t.value
3849
3878
  }) : G("", !0);
3850
3879
  }
3851
- }), Vs = { class: "form-section-wrapper" }, Ds = {
3880
+ }), Rs = { class: "form-section-wrapper" }, Ds = {
3852
3881
  key: 0,
3853
3882
  class: "form-section-title"
3854
3883
  }, Gs = {
@@ -3886,7 +3915,7 @@ const Di = {
3886
3915
  return (t, r) => (m(), j("fieldset", {
3887
3916
  class: Ke(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
3888
3917
  }, [
3889
- R("div", Vs, [
3918
+ V("div", Rs, [
3890
3919
  e.hideInfoHeader ? G("", !0) : (m(), j("div", {
3891
3920
  key: 0,
3892
3921
  class: Ke(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -3894,14 +3923,14 @@ const Di = {
3894
3923
  e.title ? (m(), j("h4", Ds, F(e.title), 1)) : G("", !0),
3895
3924
  e.description || y(n).description ? (m(), j("div", Gs, [
3896
3925
  Y(t.$slots, "description", {}, () => [
3897
- R("p", null, F(e.description), 1)
3926
+ V("p", null, F(e.description), 1)
3898
3927
  ], !0)
3899
3928
  ])) : G("", !0),
3900
3929
  y(n).footer ? (m(), j("div", Hs, [
3901
3930
  Y(t.$slots, "footer", {}, void 0, !0)
3902
3931
  ])) : G("", !0)
3903
3932
  ], 2)),
3904
- R("div", zs, [
3933
+ V("div", zs, [
3905
3934
  Y(t.$slots, "default", {}, void 0, !0)
3906
3935
  ])
3907
3936
  ])
@@ -4002,7 +4031,7 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
4002
4031
  await d();
4003
4032
  }), (k, x) => {
4004
4033
  const T = U("KMultiselect"), P = U("KAlert"), J = U("KPrompt");
4005
- return m(), V(J, {
4034
+ return m(), R(J, {
4006
4035
  "action-pending": C.value,
4007
4036
  class: "kong-ui-entities-add-to-groups-modal",
4008
4037
  "data-testid": "add-to-group-modal",
@@ -4012,8 +4041,8 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
4012
4041
  onProceed: ne
4013
4042
  }, {
4014
4043
  "body-content": h(() => [
4015
- R("div", Qs, [
4016
- R("p", Xs, F(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4044
+ V("div", Qs, [
4045
+ V("p", Xs, F(y(r)("consumer_groups.consumers.add.ctaText")), 1),
4017
4046
  K(T, {
4018
4047
  modelValue: a.value,
4019
4048
  "onUpdate:modelValue": x[0] || (x[0] = (Q) => a.value = Q),
@@ -4032,11 +4061,11 @@ const Qs = { class: "add-to-group-form-container" }, Xs = { class: "add-to-group
4032
4061
  I.value || g.value || w.value.length ? (m(), j("div", el, [
4033
4062
  K(P, { appearance: "danger" }, {
4034
4063
  alertMessage: h(() => [
4035
- R("p", null, F(y(r)("consumer_groups.errors.add")), 1),
4064
+ V("p", null, F(y(r)("consumer_groups.errors.add")), 1),
4036
4065
  w.value.length ? (m(), j("ul", tl, [
4037
4066
  (m(!0), j(ve, null, ye(w.value, (Q, X) => (m(), j("li", { key: X }, F(Q), 1))), 128))
4038
4067
  ])) : G("", !0),
4039
- R("div", null, F(I.value || g.value), 1)
4068
+ V("div", null, F(I.value || g.value), 1)
4040
4069
  ]),
4041
4070
  _: 1
4042
4071
  })
@@ -4180,14 +4209,14 @@ const Kt = (e, n) => {
4180
4209
  T.value = !1;
4181
4210
  }
4182
4211
  }
4183
- }, ie = O(!1), Ve = () => {
4212
+ }, ie = O(!1), Re = () => {
4184
4213
  ie.value = !0;
4185
4214
  }, _ = () => {
4186
4215
  ie.value = !1;
4187
4216
  }, L = (E, z) => {
4188
4217
  z || _(), s.value++, n("add:success", E);
4189
4218
  }, re = () => {
4190
- l.value && Ve();
4219
+ l.value && Re();
4191
4220
  }, q = O(void 0), D = O(!1), ge = O(""), _e = (E) => {
4192
4221
  q.value = E, D.value = !0;
4193
4222
  }, ce = () => {
@@ -4248,7 +4277,7 @@ const Kt = (e, n) => {
4248
4277
  onSort: I
4249
4278
  }, {
4250
4279
  "toolbar-filter": h(() => [
4251
- l.value ? G("", !0) : (m(), V(y(Rs), {
4280
+ l.value ? G("", !0) : (m(), R(y(Vs), {
4252
4281
  key: 0,
4253
4282
  modelValue: A.value,
4254
4283
  "onUpdate:modelValue": z[0] || (z[0] = (W) => A.value = W),
@@ -4265,7 +4294,7 @@ const Kt = (e, n) => {
4265
4294
  "data-testid": "toolbar-add-consumer-group",
4266
4295
  icon: "plus",
4267
4296
  to: e.config.consumerId ? void 0 : e.config.createRoute,
4268
- onClick: z[1] || (z[1] = () => e.config.consumerId ? Ve() : void 0)
4297
+ onClick: z[1] || (z[1] = () => e.config.consumerId ? Re() : void 0)
4269
4298
  }, {
4270
4299
  default: h(() => [
4271
4300
  Z(F(e.config.consumerId ? y(o)("consumer_groups.actions.add_to_group") : y(o)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
@@ -4277,15 +4306,15 @@ const Kt = (e, n) => {
4277
4306
  }, 8, ["auth-function"])
4278
4307
  ]),
4279
4308
  name: h(({ rowValue: W }) => [
4280
- R("b", null, F(W ?? "-"), 1)
4309
+ V("b", null, F(W ?? "-"), 1)
4281
4310
  ]),
4282
4311
  consumers_count: h(({ rowValue: W }) => [
4283
4312
  Z(F(W ?? "-"), 1)
4284
4313
  ]),
4285
4314
  tags: h(({ rowValue: W }) => [
4286
- (W == null ? void 0 : W.length) > 0 ? (m(), V(Ee, { key: 0 }, {
4315
+ (W == null ? void 0 : W.length) > 0 ? (m(), R(Ee, { key: 0 }, {
4287
4316
  default: h(() => [
4288
- (m(!0), j(ve, null, ye(W, (Be) => (m(), V(Ce, {
4317
+ (m(!0), j(ve, null, ye(W, (Be) => (m(), R(Ce, {
4289
4318
  key: Be,
4290
4319
  onClick: z[2] || (z[2] = rt(() => {
4291
4320
  }, ["stop"]))
@@ -4384,7 +4413,7 @@ const Kt = (e, n) => {
4384
4413
  onCancel: X,
4385
4414
  onProceed: ee
4386
4415
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4387
- e.config.consumerId ? (m(), V(rl, {
4416
+ e.config.consumerId ? (m(), R(rl, {
4388
4417
  key: 0,
4389
4418
  config: e.config,
4390
4419
  "data-testid": "add-to-group-modal",
@@ -4393,7 +4422,7 @@ const Kt = (e, n) => {
4393
4422
  "onAdd:success": z[5] || (z[5] = (W) => L(W)),
4394
4423
  onCancel: _
4395
4424
  }, null, 8, ["config", "visible"])) : G("", !0),
4396
- e.config.consumerId && q.value ? (m(), V(sr, {
4425
+ e.config.consumerId && q.value ? (m(), R(sr, {
4397
4426
  key: 1,
4398
4427
  "data-testid": "exit-group-modal",
4399
4428
  "is-visible": D.value,
@@ -4409,19 +4438,19 @@ const Kt = (e, n) => {
4409
4438
  tag: "p"
4410
4439
  }, Te({
4411
4440
  consumerGroup: h(() => [
4412
- R("strong", null, F(q.value.name || q.value.id), 1)
4441
+ V("strong", null, F(q.value.name || q.value.id), 1)
4413
4442
  ]),
4414
4443
  _: 2
4415
4444
  }, [
4416
4445
  e.config.consumerUsername ? {
4417
4446
  name: "consumer",
4418
4447
  fn: h(() => [
4419
- R("strong", null, F(e.config.consumerUsername), 1)
4448
+ V("strong", null, F(e.config.consumerUsername), 1)
4420
4449
  ]),
4421
4450
  key: "0"
4422
4451
  } : void 0
4423
4452
  ]), 1032, ["keypath"]),
4424
- R("p", null, F(y(o)("consumer_groups.consumers.exit.description")), 1)
4453
+ V("p", null, F(y(o)("consumer_groups.consumers.exit.description")), 1)
4425
4454
  ]),
4426
4455
  _: 1
4427
4456
  }, 8, ["is-visible", "title"])) : G("", !0)
@@ -4450,7 +4479,7 @@ const _l = /* @__PURE__ */ Kt(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4450
4479
  },
4451
4480
  emits: ["update", "error", "loading"],
4452
4481
  setup(e, { emit: n }) {
4453
- var ee, ie, Ve;
4482
+ var ee, ie, Re;
4454
4483
  const t = e, { i18n: { t: r } } = ct.useI18n(), o = wt(), a = Pt({
4455
4484
  fields: {
4456
4485
  name: "",
@@ -4473,7 +4502,7 @@ const _l = /* @__PURE__ */ Kt(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4473
4502
  fetchedItemsKey: "data",
4474
4503
  searchKeys: ["username", "custom_id", "id"]
4475
4504
  }), { axiosInstance: g } = Ft({
4476
- headers: (Ve = t.config) == null ? void 0 : Ve.requestHeaders
4505
+ headers: (Re = t.config) == null ? void 0 : Re.requestHeaders
4477
4506
  }), { getMessageFromError: f } = Ys(), A = M(() => u.value.map((_) => ({
4478
4507
  label: _.username || _.custom_id,
4479
4508
  value: _.id,
@@ -4649,7 +4678,7 @@ const _l = /* @__PURE__ */ Kt(il, [["__scopeId", "data-v-80c4522c"]]), sl = { cl
4649
4678
  "item-template": h(({ item: D }) => {
4650
4679
  var ge, _e, ce;
4651
4680
  return [
4652
- R("div", ll, F(D.label), 1),
4681
+ V("div", ll, F(D.label), 1),
4653
4682
  (ge = D == null ? void 0 : D.data) != null && ge.username && ((_e = D == null ? void 0 : D.data) != null && _e.custom_id) ? (m(), j("div", ul, F((ce = D == null ? void 0 : D.data) == null ? void 0 : ce.custom_id), 1)) : G("", !0)
4654
4683
  ];
4655
4684
  }),