@kong-ui-public/entities-consumers 2.0.2-pr.933.d9547822.0 → 2.0.3

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.
@@ -458,7 +458,7 @@ function Pr(e) {
458
458
  const n = window.location.origin, t = n.endsWith("/") ? n : `${n}/`;
459
459
  try {
460
460
  const r = e.join("/"), a = `${t}${r}`, o = e.some((i) => i.trim() === "");
461
- if (/^(https:\/\/(www\.)?([a-zA-Z0-9-]+\.){1,}[a-zA-Z]{2,}(:[0-9]+)?(\/[^\/]+)*)$|^(https|http):\/\/localhost(:[0-9]+)?(\/[^\/]+)*$/.test(a) && !o && new URL(a))
461
+ if (!/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(a) && !o && new URL(a))
462
462
  return `${t}${r}`;
463
463
  throw new Error("Invalid url");
464
464
  } catch (r) {
@@ -558,7 +558,7 @@ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
558
558
  const t = Kt(e), r = Kt(n), a = t.pop(), o = r.pop(), i = Lt(t, r);
559
559
  return i !== 0 ? i : a && o ? Lt(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
560
560
  }, Pt = (e, n, t) => {
561
- Hr(t);
561
+ zr(t);
562
562
  const r = Gr(e, n);
563
563
  return yn[t].includes(r);
564
564
  }, yn = {
@@ -568,18 +568,18 @@ const gn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
568
568
  "<=": [-1, 0],
569
569
  "<": [-1],
570
570
  "!=": [-1, 1]
571
- }, Vt = Object.keys(yn), Hr = (e) => {
571
+ }, Vt = Object.keys(yn), zr = (e) => {
572
572
  if (typeof e != "string")
573
573
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
574
574
  if (Vt.indexOf(e) === -1)
575
575
  throw new Error(`Invalid operator, expected one of ${Vt.join("|")}`);
576
- }, zr = (e) => typeof e == "string" && /^[v\d]/.test(e) && gn.test(e);
576
+ }, Hr = (e) => typeof e == "string" && /^[v\d]/.test(e) && gn.test(e);
577
577
  function Jr(e) {
578
578
  const { gatewayInfo: n, supportedRange: t } = e;
579
579
  if (!n)
580
580
  return !0;
581
581
  const { edition: r, version: a } = n;
582
- if (!zr(a))
582
+ if (!Hr(a))
583
583
  return console.error("Invalid version"), !1;
584
584
  const o = t[r];
585
585
  if (!o)
@@ -1314,7 +1314,7 @@ function Ga(e, n) {
1314
1314
  `;
1315
1315
  return s.replace(/\n$/, "");
1316
1316
  }
1317
- var Ha = Ga, za = [
1317
+ var za = Ga, Ha = [
1318
1318
  "kind",
1319
1319
  "multi",
1320
1320
  "resolve",
@@ -1340,7 +1340,7 @@ function Ya(e) {
1340
1340
  }
1341
1341
  function Wa(e, n) {
1342
1342
  if (n = n || {}, Object.keys(n).forEach(function(t) {
1343
- if (za.indexOf(t) === -1)
1343
+ if (Ha.indexOf(t) === -1)
1344
1344
  throw new se('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1345
1345
  }), this.options = n, this.tag = e, this.kind = n.kind || null, this.resolve = n.resolve || function() {
1346
1346
  return !0;
@@ -1812,8 +1812,8 @@ var Ln = new oe("tag:yaml.org,2002:set", {
1812
1812
  qn,
1813
1813
  Ln
1814
1814
  ]
1815
- }), ke = Object.prototype.hasOwnProperty, He = 1, Pn = 2, Vn = 3, ze = 4, st = 1, Fo = 2, Gt = 3, Ko = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Bo = /[\x85\u2028\u2029]/, qo = /[,\[\]\{\}]/, Rn = /^(?:!|!!|![a-z\-]+!)$/i, Un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1816
- function Ht(e) {
1815
+ }), ke = Object.prototype.hasOwnProperty, ze = 1, Pn = 2, Vn = 3, He = 4, st = 1, Fo = 2, Gt = 3, Ko = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Bo = /[\x85\u2028\u2029]/, qo = /[,\[\]\{\}]/, Rn = /^(?:!|!!|![a-z\-]+!)$/i, Un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1816
+ function zt(e) {
1817
1817
  return Object.prototype.toString.call(e);
1818
1818
  }
1819
1819
  function ge(e) {
@@ -1838,7 +1838,7 @@ function Po(e) {
1838
1838
  function Vo(e) {
1839
1839
  return 48 <= e && e <= 57 ? e - 48 : -1;
1840
1840
  }
1841
- function zt(e) {
1841
+ function Ht(e) {
1842
1842
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
1843
1843
  ` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
1844
1844
  }
@@ -1850,11 +1850,11 @@ function Ro(e) {
1850
1850
  }
1851
1851
  var Dn = new Array(256), Gn = new Array(256);
1852
1852
  for (var je = 0; je < 256; je++)
1853
- Dn[je] = zt(je) ? 1 : 0, Gn[je] = zt(je);
1853
+ Dn[je] = Ht(je) ? 1 : 0, Gn[je] = Ht(je);
1854
1854
  function Uo(e, n) {
1855
1855
  this.input = e, this.filename = n.filename || null, this.schema = n.schema || kt, 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 = [];
1856
1856
  }
1857
- function Hn(e, n) {
1857
+ function zn(e, n) {
1858
1858
  var t = {
1859
1859
  name: e.filename,
1860
1860
  buffer: e.input.slice(0, -1),
@@ -1863,13 +1863,13 @@ function Hn(e, n) {
1863
1863
  line: e.line,
1864
1864
  column: e.position - e.lineStart
1865
1865
  };
1866
- return t.snippet = Ha(t), new se(n, t);
1866
+ return t.snippet = za(t), new se(n, t);
1867
1867
  }
1868
1868
  function j(e, n) {
1869
- throw Hn(e, n);
1869
+ throw zn(e, n);
1870
1870
  }
1871
1871
  function Je(e, n) {
1872
- e.onWarning && e.onWarning.call(null, Hn(e, n));
1872
+ e.onWarning && e.onWarning.call(null, zn(e, n));
1873
1873
  }
1874
1874
  var Jt = {
1875
1875
  YAML: function(e, n, t) {
@@ -1907,8 +1907,8 @@ function Ee(e, n, t, r, a, o, i, s, l) {
1907
1907
  var c, d;
1908
1908
  if (Array.isArray(a))
1909
1909
  for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
1910
- Array.isArray(a[c]) && j(e, "nested arrays are not supported inside keys"), typeof a == "object" && Ht(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1911
- if (typeof a == "object" && Ht(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1910
+ Array.isArray(a[c]) && j(e, "nested arrays are not supported inside keys"), typeof a == "object" && zt(a[c]) === "[object Object]" && (a[c] = "[object Object]");
1911
+ if (typeof a == "object" && zt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), n === null && (n = {}), r === "tag:yaml.org,2002:merge")
1912
1912
  if (Array.isArray(o))
1913
1913
  for (c = 0, d = o.length; c < d; c += 1)
1914
1914
  Yt(e, n, o[c], t);
@@ -1992,7 +1992,7 @@ function Go(e, n) {
1992
1992
  ge(t) ? (Ce(e, r, a, !0), _t(e, te(e, !1, n)), r = a = e.position) : e.position === e.lineStart && et(e) ? j(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1993
1993
  j(e, "unexpected end of the stream within a single quoted scalar");
1994
1994
  }
1995
- function Ho(e, n) {
1995
+ function zo(e, n) {
1996
1996
  var t, r, a, o, i, s;
1997
1997
  if (s = e.input.charCodeAt(e.position), s !== 34)
1998
1998
  return !1;
@@ -2016,7 +2016,7 @@ function Ho(e, n) {
2016
2016
  }
2017
2017
  j(e, "unexpected end of the stream within a double quoted scalar");
2018
2018
  }
2019
- function zo(e, n) {
2019
+ function Ho(e, n) {
2020
2020
  var t = !0, r, a, o, i = e.tag, s, l = e.anchor, c, d, u, h, f, I = /* @__PURE__ */ Object.create(null), b, p, A, w;
2021
2021
  if (w = e.input.charCodeAt(e.position), w === 91)
2022
2022
  d = 93, f = !1, s = [];
@@ -2027,7 +2027,7 @@ function zo(e, n) {
2027
2027
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
2028
2028
  if (te(e, !0, n), w = e.input.charCodeAt(e.position), w === d)
2029
2029
  return e.position++, e.tag = i, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2030
- t ? w === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = b = A = null, u = h = !1, w === 63 && (c = e.input.charCodeAt(e.position + 1), de(c) && (u = h = !0, e.position++, te(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Fe(e, n, He, !1, !0), p = e.tag, b = e.result, te(e, !0, n), w = e.input.charCodeAt(e.position), (h || e.line === r) && w === 58 && (u = !0, w = e.input.charCodeAt(++e.position), te(e, !0, n), Fe(e, n, He, !1, !0), A = e.result), f ? Ee(e, s, I, p, b, A, r, a, o) : u ? s.push(Ee(e, null, I, p, b, A, r, a, o)) : s.push(b), te(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2030
+ t ? w === 44 && j(e, "expected the node content, but found ','") : j(e, "missed comma between flow collection entries"), p = b = A = null, u = h = !1, w === 63 && (c = e.input.charCodeAt(e.position + 1), de(c) && (u = h = !0, e.position++, te(e, !0, n))), r = e.line, a = e.lineStart, o = e.position, Fe(e, n, ze, !1, !0), p = e.tag, b = e.result, te(e, !0, n), w = e.input.charCodeAt(e.position), (h || e.line === r) && w === 58 && (u = !0, w = e.input.charCodeAt(++e.position), te(e, !0, n), Fe(e, n, ze, !1, !0), A = e.result), f ? Ee(e, s, I, p, b, A, r, a, o) : u ? s.push(Ee(e, null, I, p, b, A, r, a, o)) : s.push(b), te(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2031
2031
  }
2032
2032
  j(e, "unexpected end of the stream within a flow collection");
2033
2033
  }
@@ -2118,7 +2118,7 @@ function Yo(e, n, t) {
2118
2118
  else
2119
2119
  return e.tag = c, e.anchor = d, !0;
2120
2120
  }
2121
- if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Fe(e, n, ze, !0, a) && (p ? I = e.result : b = e.result), p || (Ee(e, u, h, f, I, b, i, s, l), f = I = b = null), te(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && w !== 0)
2121
+ if ((e.line === o || e.lineIndent > n) && (p && (i = e.line, s = e.lineStart, l = e.position), Fe(e, n, He, !0, a) && (p ? I = e.result : b = e.result), p || (Ee(e, u, h, f, I, b, i, s, l), f = I = b = null), te(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > n) && w !== 0)
2122
2122
  j(e, "bad indentation of a mapping entry");
2123
2123
  else if (e.lineIndent < n)
2124
2124
  break;
@@ -2165,10 +2165,10 @@ function Xo(e) {
2165
2165
  }
2166
2166
  function Fe(e, n, t, r, a) {
2167
2167
  var o, i, s, l = 1, c = !1, d = !1, u, h, f, I, b, p;
2168
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = ze === t || Vn === t, r && te(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2168
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = i = s = He === t || Vn === t, r && te(e, !0, -1) && (c = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2169
2169
  for (; Wo(e) || Zo(e); )
2170
2170
  te(e, !0, -1) ? (c = !0, s = o, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
2171
- if (s && (s = c || a), (l === 1 || ze === t) && (He === t || Pn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Wt(e, p) || Yo(e, p, b)) || zo(e, b) ? d = !0 : (i && Jo(e, b) || Go(e, b) || Ho(e, b) ? d = !0 : Xo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Do(e, b, He === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Wt(e, p))), e.tag === null)
2171
+ if (s && (s = c || a), (l === 1 || He === t) && (ze === t || Pn === t ? b = n : b = n + 1, p = e.position - e.lineStart, l === 1 ? s && (Wt(e, p) || Yo(e, p, b)) || Ho(e, b) ? d = !0 : (i && Jo(e, b) || Go(e, b) || zo(e, b) ? d = !0 : Xo(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && j(e, "alias node should not have any properties")) : Do(e, b, ze === t) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = s && Wt(e, p))), e.tag === null)
2172
2172
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2173
2173
  else if (e.tag === "?") {
2174
2174
  for (e.result !== null && e.kind !== "scalar" && j(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, h = e.implicitTypes.length; u < h; u += 1)
@@ -2211,7 +2211,7 @@ function Qo(e) {
2211
2211
  }
2212
2212
  i !== 0 && wt(e), ke.call(Jt, r) ? Jt[r](e, r, a) : Je(e, 'unknown document directive "' + r + '"');
2213
2213
  }
2214
- if (te(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, te(e, !0, -1)) : o && j(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, ze, !1, !0), te(e, !0, -1), e.checkLineBreaks && Bo.test(e.input.slice(n, e.position)) && Je(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && et(e)) {
2214
+ if (te(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, te(e, !0, -1)) : o && j(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, He, !1, !0), te(e, !0, -1), e.checkLineBreaks && Bo.test(e.input.slice(n, e.position)) && Je(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && et(e)) {
2215
2215
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, te(e, !0, -1));
2216
2216
  return;
2217
2217
  }
@@ -2220,7 +2220,7 @@ function Qo(e) {
2220
2220
  else
2221
2221
  return;
2222
2222
  }
2223
- function zn(e, n) {
2223
+ function Hn(e, n) {
2224
2224
  e = String(e), n = n || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
2225
2225
  `), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
2226
2226
  var t = new Uo(e, n), r = e.indexOf("\0");
@@ -2232,14 +2232,14 @@ function zn(e, n) {
2232
2232
  }
2233
2233
  function ei(e, n, t) {
2234
2234
  n !== null && typeof n == "object" && typeof t > "u" && (t = n, n = null);
2235
- var r = zn(e, t);
2235
+ var r = Hn(e, t);
2236
2236
  if (typeof n != "function")
2237
2237
  return r;
2238
2238
  for (var a = 0, o = r.length; a < o; a += 1)
2239
2239
  n(r[a]);
2240
2240
  }
2241
2241
  function ti(e, n) {
2242
- var t = zn(e, n);
2242
+ var t = Hn(e, n);
2243
2243
  if (t.length !== 0) {
2244
2244
  if (t.length === 1)
2245
2245
  return t[0];
@@ -2561,7 +2561,7 @@ function At(e, n) {
2561
2561
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2562
2562
  };
2563
2563
  }
2564
- var Pi = oe, Vi = kn, Ri = An, Ui = jn, Di = Mn, Gi = kt, Hi = Jn.load, zi = Jn.loadAll, Ji = Li.dump, Yi = se, Wi = {
2564
+ var Pi = oe, Vi = kn, Ri = An, Ui = jn, Di = Mn, Gi = kt, zi = Jn.load, Hi = Jn.loadAll, Ji = Li.dump, Yi = se, Wi = {
2565
2565
  binary: Kn,
2566
2566
  float: $n,
2567
2567
  map: In,
@@ -2582,8 +2582,8 @@ var Pi = oe, Vi = kn, Ri = An, Ui = jn, Di = Mn, Gi = kt, Hi = Jn.load, zi = Jn.
2582
2582
  JSON_SCHEMA: Ui,
2583
2583
  CORE_SCHEMA: Di,
2584
2584
  DEFAULT_SCHEMA: Gi,
2585
- load: Hi,
2586
- loadAll: zi,
2585
+ load: zi,
2586
+ loadAll: Hi,
2587
2587
  dump: Ji,
2588
2588
  YAMLException: Yi,
2589
2589
  types: Wi,
@@ -2940,10 +2940,10 @@ const ts = {
2940
2940
  return F[1] - L[1];
2941
2941
  }), q.map((F) => {
2942
2942
  var L, D;
2943
- const Z = F[0], H = (L = p.value) == null ? void 0 : L[Z], X = ((D = r.configSchema) == null ? void 0 : D[Z]) || {}, le = h[Z];
2943
+ const Z = F[0], z = (L = p.value) == null ? void 0 : L[Z], X = ((D = r.configSchema) == null ? void 0 : D[Z]) || {}, le = h[Z];
2944
2944
  return {
2945
2945
  key: Z,
2946
- value: H,
2946
+ value: z,
2947
2947
  hidden: X.hidden || !1,
2948
2948
  type: X.type ?? ((le == null ? void 0 : le.type) || Q.Text),
2949
2949
  label: X.label ?? ((le == null ? void 0 : le.label) || s(Z)),
@@ -2965,14 +2965,14 @@ const ts = {
2965
2965
  return F[1] - L[1];
2966
2966
  }), _.map((F) => {
2967
2967
  var L;
2968
- const D = F[0], Z = B[D], H = ((L = r.pluginConfigSchema) == null ? void 0 : L[D]) || {};
2968
+ const D = F[0], Z = B[D], z = ((L = r.pluginConfigSchema) == null ? void 0 : L[D]) || {};
2969
2969
  return {
2970
2970
  key: D,
2971
2971
  value: Z,
2972
- hidden: H.hidden || !1,
2973
- type: H.type ?? Q.Text,
2974
- label: H.label ?? s(D),
2975
- tooltip: H.tooltip ?? void 0,
2972
+ hidden: z.hidden || !1,
2973
+ type: z.type ?? Q.Text,
2974
+ label: z.label ?? s(D),
2975
+ tooltip: z.tooltip ?? void 0,
2976
2976
  section: ue.Plugin
2977
2977
  };
2978
2978
  }).filter((F) => !F.hidden);
@@ -3056,12 +3056,12 @@ const ts = {
3056
3056
  _: 1
3057
3057
  })) : G("", !0),
3058
3058
  e.config.jsonYamlEnabled ? G("", !0) : (m(), U(F, { key: 3 }, {
3059
- default: y(({ copyToClipboard: H }) => [
3059
+ default: y(({ copyToClipboard: z }) => [
3060
3060
  !f.value && !I.value ? (m(), U(_, {
3061
3061
  key: 0,
3062
3062
  appearance: "tertiary",
3063
3063
  "data-testid": "json-copy-button",
3064
- onClick: (X) => R(H)
3064
+ onClick: (X) => R(z)
3065
3065
  }, {
3066
3066
  default: y(() => [
3067
3067
  W($(g(o)("baseConfigCard.actions.copy")), 1)
@@ -3096,10 +3096,10 @@ const ts = {
3096
3096
  "property-collections": k.value,
3097
3097
  record: p.value
3098
3098
  }, be({ _: 2 }, [
3099
- ce(Object.keys(v.$slots), (H) => ({
3100
- name: H,
3099
+ ce(Object.keys(v.$slots), (z) => ({
3100
+ name: z,
3101
3101
  fn: y(({ row: X, rowValue: le }) => [
3102
- Y(v.$slots, H, {
3102
+ Y(v.$slots, z, {
3103
3103
  row: X,
3104
3104
  rowValue: le
3105
3105
  }, void 0, !0)
@@ -3107,13 +3107,13 @@ const ts = {
3107
3107
  }))
3108
3108
  ]), 1032, ["format", "prop-list-types", "property-collections", "record"])
3109
3109
  ])) : (m(), T("div", bs, [
3110
- (m(!0), T(pe, null, ce(S.value, (H) => (m(), T("div", {
3111
- key: `config-card-details-${H}-props`,
3112
- class: Ae(`config-card-details-${H}-props`),
3113
- "data-testid": `config-card-details-${H}-props`
3110
+ (m(!0), T(pe, null, ce(S.value, (z) => (m(), T("div", {
3111
+ key: `config-card-details-${z}-props`,
3112
+ class: Ae(`config-card-details-${z}-props`),
3113
+ "data-testid": `config-card-details-${z}-props`
3114
3114
  }, [
3115
- H !== "basic" ? (m(), T("div", ks, $(H === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3116
- (m(!0), T(pe, null, ce(k.value[H], (X) => (m(), U(bt, {
3115
+ z !== "basic" ? (m(), T("div", ks, $(z === "advanced" ? g(o)("baseConfigCard.sections.advanced") : g(o)("baseConfigCard.sections.plugin")), 1)) : G("", !0),
3116
+ (m(!0), T(pe, null, ce(k.value[z], (X) => (m(), U(bt, {
3117
3117
  key: X.key,
3118
3118
  item: X
3119
3119
  }, be({
@@ -3787,7 +3787,7 @@ const ts = {
3787
3787
  }), Gs = {
3788
3788
  key: 1,
3789
3789
  class: "kong-ui-entity-filter"
3790
- }, Hs = { class: "menu-item-title" }, zs = { class: "menu-item-indicator" }, Js = { class: "menu-item-body" }, Ys = ["for"], Ws = { class: "menu-item-buttons" }, Zs = { class: "filter-clear-button-container" }, Xs = /* @__PURE__ */ ee({
3790
+ }, zs = { class: "menu-item-title" }, Hs = { class: "menu-item-indicator" }, Js = { class: "menu-item-body" }, Ys = ["for"], Ws = { class: "menu-item-buttons" }, Zs = { class: "filter-clear-button-container" }, Xs = /* @__PURE__ */ ee({
3791
3791
  __name: "EntityFilter",
3792
3792
  props: {
3793
3793
  // filter config, either exact match or fuzzy match
@@ -3890,9 +3890,9 @@ const ts = {
3890
3890
  "last-menu-item": v === s.value.length - 1
3891
3891
  }, {
3892
3892
  itemTitle: y(() => [
3893
- K("span", Hs, [
3893
+ K("span", zs, [
3894
3894
  W($(R.label) + " ", 1),
3895
- Ue(K("span", zs, null, 512), [
3895
+ Ue(K("span", Hs, null, 512), [
3896
3896
  [De, i.value.includes(R.value)]
3897
3897
  ])
3898
3898
  ])
@@ -4173,7 +4173,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4173
4173
  K("p", pl, $(g(r)("consumers.consumer_groups.add.ctaText")), 1),
4174
4174
  E(L, {
4175
4175
  modelValue: o.value,
4176
- "onUpdate:modelValue": F[0] || (F[0] = (H) => o.value = H),
4176
+ "onUpdate:modelValue": F[0] || (F[0] = (z) => o.value = z),
4177
4177
  autosuggest: "",
4178
4178
  "data-testid": "add-consumers-multiselect",
4179
4179
  "dropdown-footer-text": b.value ? g(r)("consumers.consumer_groups.add.footer") : void 0,
@@ -4186,9 +4186,9 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4186
4186
  width: "100%",
4187
4187
  onQueryChange: g(i)
4188
4188
  }, {
4189
- "item-template": y(({ item: H }) => [
4190
- K("div", fl, $(H.label), 1),
4191
- h(H).data.username && h(H).data.custom_id ? (m(), T("div", ml, $(h(H).data.custom_id), 1)) : G("", !0)
4189
+ "item-template": y(({ item: z }) => [
4190
+ K("div", fl, $(z.label), 1),
4191
+ h(z).data.username && h(z).data.custom_id ? (m(), T("div", ml, $(h(z).data.custom_id), 1)) : G("", !0)
4192
4192
  ]),
4193
4193
  _: 1
4194
4194
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
@@ -4197,7 +4197,7 @@ const dl = { class: "add-consumer-form-container" }, pl = { class: "add-consumer
4197
4197
  alertMessage: y(() => [
4198
4198
  K("p", null, $(g(r)("consumers.errors.add")), 1),
4199
4199
  C.value.length ? (m(), T("ul", yl, [
4200
- (m(!0), T(pe, null, ce(C.value, (H, X) => (m(), T("li", { key: X }, $(H), 1))), 128))
4200
+ (m(!0), T(pe, null, ce(C.value, (z, X) => (m(), T("li", { key: X }, $(z), 1))), 128))
4201
4201
  ])) : G("", !0),
4202
4202
  K("div", null, $(x.value || f.value), 1)
4203
4203
  ]),
@@ -4267,9 +4267,9 @@ const xt = (e, n) => {
4267
4267
  }, u = d, h = (O) => ({
4268
4268
  "data-testid": O.username ?? O.custom_id ?? O.id
4269
4269
  }), f = M(() => {
4270
- var z, re, fe, we;
4270
+ var H, re, fe, we;
4271
4271
  let O = `${t.config.apiBaseUrl}${Se.list[t.config.app][l.value ? "forConsumerGroup" : "all"]}`;
4272
- return t.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((z = t.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((re = t.config) == null ? void 0 : re.consumerGroupId) || "") : t.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), O;
4272
+ return t.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((re = t.config) == null ? void 0 : re.consumerGroupId) || "") : t.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), O;
4273
4273
  }), I = N(""), b = M(() => {
4274
4274
  const O = t.config.app === "konnect" || t.config.isExactMatch;
4275
4275
  return O ? {
@@ -4287,9 +4287,9 @@ const xt = (e, n) => {
4287
4287
  I.value = "";
4288
4288
  }, S = () => {
4289
4289
  s.value++;
4290
- }, x = (O) => O ?? "-", P = N(""), R = (O, z) => {
4290
+ }, x = (O) => O ?? "-", P = N(""), R = (O, H) => {
4291
4291
  const re = O.id;
4292
- if (!z(re)) {
4292
+ if (!H(re)) {
4293
4293
  n("copy:error", {
4294
4294
  entity: O,
4295
4295
  field: "id",
@@ -4302,9 +4302,9 @@ const xt = (e, n) => {
4302
4302
  field: "id",
4303
4303
  message: a("consumers.copy.success", { val: re })
4304
4304
  });
4305
- }, v = (O, z) => {
4305
+ }, v = (O, H) => {
4306
4306
  const re = JSON.stringify(O);
4307
- if (!z(re)) {
4307
+ if (!H(re)) {
4308
4308
  n("copy:error", {
4309
4309
  entity: O,
4310
4310
  message: a("consumers.errors.copy")
@@ -4324,18 +4324,18 @@ const xt = (e, n) => {
4324
4324
  }), q = (O) => ({
4325
4325
  label: a("consumers.actions.edit"),
4326
4326
  to: t.config.getEditRoute(O)
4327
- }), _ = N(void 0), F = N(!1), L = N(!1), D = N(""), Z = sl(t.config, f.value), H = (O) => {
4327
+ }), _ = N(void 0), F = N(!1), L = N(!1), D = N(""), Z = sl(t.config, f.value), z = (O) => {
4328
4328
  _.value = O, F.value = !0;
4329
4329
  }, X = () => {
4330
4330
  F.value = !1;
4331
4331
  }, le = async () => {
4332
- var O, z, re;
4332
+ var O, H, re;
4333
4333
  if ((O = _.value) != null && O.id) {
4334
4334
  L.value = !0;
4335
4335
  try {
4336
4336
  await i.delete(Z(_.value.id)), L.value = !1, F.value = !1, s.value++, n("delete:success", _.value);
4337
4337
  } catch (fe) {
4338
- D.value = ((re = (z = fe.response) == null ? void 0 : z.data) == null ? void 0 : re.message) || fe.message || a("consumers.errors.delete"), n("error", fe);
4338
+ D.value = ((re = (H = fe.response) == null ? void 0 : H.data) == null ? void 0 : re.message) || fe.message || a("consumers.errors.delete"), n("error", fe);
4339
4339
  } finally {
4340
4340
  L.value = !1;
4341
4341
  }
@@ -4344,8 +4344,8 @@ const xt = (e, n) => {
4344
4344
  tt.value = !0;
4345
4345
  }, $t = () => {
4346
4346
  tt.value = !1;
4347
- }, jt = (O, z) => {
4348
- z || $t(), s.value++, n("add:success", O);
4347
+ }, jt = (O, H) => {
4348
+ H || $t(), s.value++, n("add:success", O);
4349
4349
  }, ir = () => {
4350
4350
  l.value && Tt();
4351
4351
  }, ye = N(void 0), nt = N(!1), sr = N(""), lr = (O) => {
@@ -4353,9 +4353,9 @@ const xt = (e, n) => {
4353
4353
  }, Mt = () => {
4354
4354
  nt.value = !1, ye.value = void 0;
4355
4355
  }, ur = M(() => {
4356
- var z, re, fe, we;
4356
+ var H, re, fe, we;
4357
4357
  let O = `${t.config.apiBaseUrl}${Se.list[t.config.app].oneForConsumerGroup}`;
4358
- return t.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((z = t.config) == null ? void 0 : z.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((re = t.config) == null ? void 0 : re.consumerGroupId) || "") : t.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), O;
4358
+ return t.config.app === "konnect" ? O = O.replace(/{controlPlaneId}/gi, ((H = t.config) == null ? void 0 : H.controlPlaneId) || "").replace(/{consumerGroupId}/gi, ((re = t.config) == null ? void 0 : re.consumerGroupId) || "") : t.config.app === "kongManager" && (O = O.replace(/\/{workspace}/gi, (fe = t.config) != null && fe.workspace ? `/${t.config.workspace}` : "").replace(/{consumerGroupId}/gi, ((we = t.config) == null ? void 0 : we.consumerGroupId) || "")), O;
4359
4359
  }), Ot = N(!1), cr = async () => {
4360
4360
  if (ye.value) {
4361
4361
  Ot.value = !0;
@@ -4384,7 +4384,7 @@ const xt = (e, n) => {
4384
4384
  });
4385
4385
  return Xe(async () => {
4386
4386
  await t.canCreate() && (rt.value.title = l.value ? a("consumers.list.empty_state.title_for_consumer_group") : a("consumers.list.empty_state.title"), rt.value.ctaText = l.value ? a("consumers.actions.add_consumer") : a("consumers.actions.create"));
4387
- }), (O, z) => {
4387
+ }), (O, H) => {
4388
4388
  const re = V("KButton"), fe = V("KBadge"), we = V("KTruncate"), Ke = V("KDropdownItem"), Nt = V("KClipboardProvider"), dr = V("KPrompt");
4389
4389
  return m(), T("div", bl, [
4390
4390
  E(g(Fs), {
@@ -4403,7 +4403,7 @@ const xt = (e, n) => {
4403
4403
  "row-attributes": h,
4404
4404
  "table-headers": g(u),
4405
4405
  onClearSearchInput: k,
4406
- "onClick:row": z[3] || (z[3] = (J) => C(J)),
4406
+ "onClick:row": H[3] || (H[3] = (J) => C(J)),
4407
4407
  onEmptyStateCtaClicked: ir,
4408
4408
  onSort: S
4409
4409
  }, {
@@ -4411,7 +4411,7 @@ const xt = (e, n) => {
4411
4411
  l.value ? G("", !0) : (m(), U(g(Qs), {
4412
4412
  key: 0,
4413
4413
  modelValue: I.value,
4414
- "onUpdate:modelValue": z[0] || (z[0] = (J) => I.value = J),
4414
+ "onUpdate:modelValue": H[0] || (H[0] = (J) => I.value = J),
4415
4415
  config: b.value
4416
4416
  }, null, 8, ["modelValue", "config"]))
4417
4417
  ]),
@@ -4425,7 +4425,7 @@ const xt = (e, n) => {
4425
4425
  "data-testid": "toolbar-add-consumer",
4426
4426
  icon: "plus",
4427
4427
  to: e.config.consumerGroupId ? void 0 : e.config.createRoute,
4428
- onClick: z[1] || (z[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4428
+ onClick: H[1] || (H[1] = () => e.config.consumerGroupId ? Tt() : void 0)
4429
4429
  }, {
4430
4430
  default: y(() => [
4431
4431
  W($(e.config.consumerGroupId ? g(a)("consumers.actions.add_consumer") : g(a)("consumers.list.toolbar_actions.new_consumer")), 1)
@@ -4447,7 +4447,7 @@ const xt = (e, n) => {
4447
4447
  default: y(() => [
4448
4448
  (m(!0), T(pe, null, ce(J, (xe) => (m(), U(fe, {
4449
4449
  key: xe,
4450
- onClick: z[2] || (z[2] = Ge(() => {
4450
+ onClick: H[2] || (H[2] = Ge(() => {
4451
4451
  }, ["stop"]))
4452
4452
  }, {
4453
4453
  default: y(() => [
@@ -4519,7 +4519,7 @@ const xt = (e, n) => {
4519
4519
  danger: "",
4520
4520
  "data-testid": "action-entity-delete",
4521
4521
  "has-divider": "",
4522
- onClick: () => e.config.consumerGroupId ? lr(J) : H(J)
4522
+ onClick: () => e.config.consumerGroupId ? lr(J) : z(J)
4523
4523
  }, {
4524
4524
  default: y(() => [
4525
4525
  W($(e.config.consumerGroupId ? g(a)("consumers.actions.remove") : g(a)("consumers.actions.delete")), 1)
@@ -4549,8 +4549,8 @@ const xt = (e, n) => {
4549
4549
  config: e.config,
4550
4550
  "data-testid": "add-consumer-modal",
4551
4551
  visible: tt.value,
4552
- "onAdd:partialSuccess": z[4] || (z[4] = (J) => jt(J, !0)),
4553
- "onAdd:success": z[5] || (z[5] = (J) => jt(J)),
4552
+ "onAdd:partialSuccess": H[4] || (H[4] = (J) => jt(J, !0)),
4553
+ "onAdd:success": H[5] || (H[5] = (J) => jt(J)),
4554
4554
  onCancel: $t
4555
4555
  }, null, 8, ["config", "visible"])) : G("", !0),
4556
4556
  e.config.consumerGroupId && ye.value ? (m(), U(dr, {