@kong-ui-public/entities-consumer-groups 2.3.8-pr.1069.be83e7e4.0 → 2.3.8-pr.1069.c38d2bc2.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 F, computed as x, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ct, onBeforeMount as dt, resolveComponent as q, openBlock as d, createBlock as P, createSlots as je, withCtx as g, createElementVNode as V, createTextVNode as Z, toDisplayString as N, createVNode as E, createElementBlock as j, renderList as ve, Fragment as Ce, normalizeClass as Ee, withModifiers as rt, withDirectives as Je, vShow as Ye, useCssVars as gn, reactive as ot, resolveDynamicComponent as Be, normalizeProps as Cr, guardReactiveProps as kr, mergeProps as bt, onMounted as wr, onUnmounted as _r, normalizeStyle as yn, inject as Ir, pushScopeId as hn, popScopeId as vn } from "vue";
1
+ import { defineComponent as ae, ref as F, computed as x, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ct, onBeforeMount as dt, resolveComponent as q, openBlock as d, createBlock as P, createSlots as je, withCtx as g, createElementVNode as D, createTextVNode as Z, toDisplayString as N, createVNode as E, createElementBlock as j, renderList as ve, Fragment as Ce, normalizeClass as Ee, withModifiers as rt, withDirectives as Je, vShow as Ye, useCssVars as gn, reactive as ot, resolveDynamicComponent as Be, normalizeProps as Cr, guardReactiveProps as kr, mergeProps as bt, onMounted as _r, onUnmounted as wr, normalizeStyle as yn, inject as Ir, pushScopeId as hn, popScopeId as vn } from "vue";
2
2
  import { useRouter as At } from "vue-router";
3
3
  import { createI18n as St, i18nTComponent as bn } from "@kong-ui-public/i18n";
4
4
  import Ar from "axios";
@@ -364,8 +364,8 @@ function Vr(e, n, t, r = {
364
364
  headers: e.requestHeaders
365
365
  }), { i18n: { t: i } } = Tt(), { debounce: a } = jr(), s = a(async (v) => {
366
366
  await L(v);
367
- }, 200), l = F(!1), u = F(""), p = F(""), c = F([]), y = F([]), f = F(void 0), _ = m(n);
368
- let h = `${e.apiBaseUrl}${_}`;
367
+ }, 200), l = F(!1), u = F(""), p = F(""), c = F([]), y = F([]), f = F(void 0), w = m(n);
368
+ let h = `${e.apiBaseUrl}${w}`;
369
369
  e.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
370
370
  const { isValidUuid: A } = kn(), b = async () => {
371
371
  try {
@@ -377,10 +377,10 @@ function Vr(e, n, t, r = {
377
377
  } finally {
378
378
  l.value = !1;
379
379
  }
380
- }, w = F(""), L = async (v) => {
381
- var S, D, re;
382
- if (w.value !== v)
383
- if (w.value = v || "", f.value === void 0)
380
+ }, _ = F(""), L = async (v) => {
381
+ var S, V, re;
382
+ if (_.value !== v)
383
+ if (_.value = v || "", f.value === void 0)
384
384
  try {
385
385
  if (l.value = !0, u.value = "", p.value = "", e.app === "konnect") {
386
386
  let R = h + "";
@@ -408,7 +408,7 @@ function Vr(e, n, t, r = {
408
408
  } else
409
409
  c.value = y.value;
410
410
  } catch (R) {
411
- ((D = R == null ? void 0 : R.response) == null ? void 0 : D.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
411
+ ((V = R == null ? void 0 : R.response) == null ? void 0 : V.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
412
412
  } finally {
413
413
  l.value = !1;
414
414
  }
@@ -480,7 +480,7 @@ function Hr(e) {
480
480
  return console.warn("Failed to build valid URL:", r), "";
481
481
  }
482
482
  }
483
- function wn(e, n) {
483
+ function _n(e, n) {
484
484
  const t = F(m(e)), r = F(m(n)), o = x(
485
485
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
486
486
  ), i = x(
@@ -490,8 +490,8 @@ function wn(e, n) {
490
490
  const { page: s, pageSize: l, offset: u, sortColumnKey: p, sortColumnOrder: c, query: y } = a;
491
491
  try {
492
492
  let f = new URL(i.value.href);
493
- return o.value && y ? (f.search = "", f = t.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${y}`) : new URL(`${f.href}/${y}/`)) : (o.value || new URLSearchParams(y).forEach((_, h) => {
494
- f.searchParams.append(h, _);
493
+ return o.value && y ? (f.search = "", f = t.value.app === "konnect" ? new URL(`${f.href}?filter[name][contains]=${y}`) : new URL(`${f.href}/${y}/`)) : (o.value || new URLSearchParams(y).forEach((w, h) => {
494
+ f.searchParams.append(h, w);
495
495
  }), p && f.searchParams.append("sort_by", p), c === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(l))), u && s !== 1 && f.searchParams.append("offset", String(u)), f.href;
496
496
  } catch (f) {
497
497
  return console.error("RouteList(fetcher)", f), r.value;
@@ -501,7 +501,7 @@ function wn(e, n) {
501
501
  function zr(e, n, t = "data") {
502
502
  const r = m(n), { axiosInstance: o } = xt({
503
503
  headers: e.requestHeaders
504
- }), i = wn(e, r), a = F({
504
+ }), i = _n(e, r), a = F({
505
505
  status: Ke.Idle
506
506
  });
507
507
  return { fetcher: async (s) => {
@@ -549,10 +549,10 @@ function Jr() {
549
549
  convertKeyToTitle: e
550
550
  };
551
551
  }
552
- const _n = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Dt = (e) => {
552
+ const wn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Dt = (e) => {
553
553
  if (typeof e != "string")
554
554
  throw new TypeError("Invalid argument expected string");
555
- const n = e.match(_n);
555
+ const n = e.match(wn);
556
556
  if (!n)
557
557
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
558
558
  return n.shift(), n;
@@ -590,7 +590,7 @@ const _n = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
590
590
  throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
591
591
  if (zt.indexOf(e) === -1)
592
592
  throw new Error(`Invalid operator, expected one of ${zt.join("|")}`);
593
- }, Xr = (e) => typeof e == "string" && /^[v\d]/.test(e) && _n.test(e);
593
+ }, Xr = (e) => typeof e == "string" && /^[v\d]/.test(e) && wn.test(e);
594
594
  function eo(e) {
595
595
  const { gatewayInfo: n, supportedRange: t } = e;
596
596
  if (!n)
@@ -619,7 +619,7 @@ const ce = {
619
619
  useErrors: Gr,
620
620
  useExternalLinkCreator: Hr,
621
621
  useFetcher: zr,
622
- useFetchUrlBuilder: wn,
622
+ useFetchUrlBuilder: _n,
623
623
  useHelpers: kn,
624
624
  useStringHelpers: Jr,
625
625
  useI18n: Tt,
@@ -642,7 +642,7 @@ const ce = {
642
642
  }, so = (e) => (hn("data-v-e7863582"), e = e(), vn(), e), lo = ["aria-hidden"], uo = {
643
643
  key: 0,
644
644
  "data-testid": "kui-icon-svg-title"
645
- }, co = /* @__PURE__ */ so(() => /* @__PURE__ */ V("path", {
645
+ }, co = /* @__PURE__ */ so(() => /* @__PURE__ */ D("path", {
646
646
  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",
647
647
  fill: "currentColor"
648
648
  }, null, -1)), po = /* @__PURE__ */ ae({
@@ -802,7 +802,7 @@ const ce = {
802
802
  l.value = r.tooltip;
803
803
  }, 1800);
804
804
  }, y = (f) => {
805
- var _, h;
805
+ var w, h;
806
806
  if (!f(r.uuid)) {
807
807
  typeof i == "function" && i({
808
808
  type: "error",
@@ -810,18 +810,18 @@ const ce = {
810
810
  }), s.value ? c(t("message.fail")) : o("error", r.uuid);
811
811
  return;
812
812
  }
813
- const A = ((_ = r.uuid) == null ? void 0 : _.length) > Yt, b = r.format === "hidden" || r.format === "redacted" ? t("message.success.prefix") : `"${((h = r.uuid) == null ? void 0 : h.substring(0, Yt)) + (A ? "..." : "")}"`;
813
+ const A = ((w = r.uuid) == null ? void 0 : w.length) > Yt, b = r.format === "hidden" || r.format === "redacted" ? t("message.success.prefix") : `"${((h = r.uuid) == null ? void 0 : h.substring(0, Yt)) + (A ? "..." : "")}"`;
814
814
  typeof i == "function" && i({
815
815
  type: "success",
816
816
  message: `${b}${t("message.success.content")}`
817
817
  }), s.value ? c(r.successTooltip) : o("success", r.uuid);
818
818
  };
819
- return (f, _) => {
819
+ return (f, w) => {
820
820
  const h = q("KClipboardProvider");
821
821
  return d(), j("div", go, [
822
822
  e.format !== "hidden" ? (d(), P(Be(e.idTooltip ? "KTooltip" : "div"), bt({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
823
823
  default: g(() => [
824
- V("div", {
824
+ D("div", {
825
825
  class: Ee([
826
826
  "uuid-container",
827
827
  e.truncated ? "truncated-uuid" : null,
@@ -835,7 +835,7 @@ const ce = {
835
835
  default: g(() => [
836
836
  E(h, null, {
837
837
  default: g(({ copyToClipboard: A }) => [
838
- V("span", {
838
+ D("span", {
839
839
  "data-testid": "copy-to-clipboard",
840
840
  role: "button",
841
841
  tabindex: "0",
@@ -895,7 +895,7 @@ const ce = {
895
895
  }, {
896
896
  default: g(() => [
897
897
  e.isArrayItem ? (d(), j("legend", bo, [
898
- V("b", null, N(s.value), 1)
898
+ D("b", null, N(s.value), 1)
899
899
  ])) : z("", !0),
900
900
  (d(!0), j(Ce, null, ve(Object.keys(a.value), (p, c) => (d(), P($t, {
901
901
  key: `${o.value}-property-${c}`,
@@ -909,12 +909,12 @@ const ce = {
909
909
  _: 1
910
910
  }, 8, ["class"]));
911
911
  }
912
- }), we = (e, n) => {
912
+ }), _e = (e, n) => {
913
913
  const t = e.__vccOpts || e;
914
914
  for (const [r, o] of n)
915
915
  t[r] = o;
916
916
  return t;
917
- }, Sn = /* @__PURE__ */ we(Co, [["__scopeId", "data-v-68ca83ec"]]), ko = /* @__PURE__ */ ae({
917
+ }, Sn = /* @__PURE__ */ _e(Co, [["__scopeId", "data-v-68ca83ec"]]), ko = /* @__PURE__ */ ae({
918
918
  __name: "InternalLinkItem",
919
919
  props: {
920
920
  item: {
@@ -941,7 +941,7 @@ const ce = {
941
941
  ]);
942
942
  };
943
943
  }
944
- }), wo = /* @__PURE__ */ we(ko, [["__scopeId", "data-v-c96811e5"]]), _o = /* @__PURE__ */ ae({
944
+ }), _o = /* @__PURE__ */ _e(ko, [["__scopeId", "data-v-c96811e5"]]), wo = /* @__PURE__ */ ae({
945
945
  __name: "StatusBadge",
946
946
  props: {
947
947
  status: {
@@ -965,7 +965,7 @@ const ce = {
965
965
  }
966
966
  }), Io = "#0044f4", Ao = "#e0e4ea", So = "#3a3f51", xo = "1px", To = "20px", $o = { class: "config-card-details-row" }, jo = ["data-testid"], Mo = ["data-testid"], Oo = ["data-testid"], Eo = ["data-testid"], Fo = { key: 1 }, No = ["data-testid"], Ko = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = {
967
967
  name: "ConfigCardItem",
968
- components: { CopyUuid: An, JsonCardItem: Sn, StatusBadge: _o, InternalLinkItem: wo }
968
+ components: { CopyUuid: An, JsonCardItem: Sn, StatusBadge: wo, InternalLinkItem: _o }
969
969
  }, Uo = /* @__PURE__ */ ae({
970
970
  ...Lo,
971
971
  props: {
@@ -986,7 +986,7 @@ const ce = {
986
986
  },
987
987
  emits: ["navigation-click"],
988
988
  setup(e, { emit: n }) {
989
- gn((_) => ({
989
+ gn((w) => ({
990
990
  "0da74440": p.value ? "none" : `solid ${m(xo)} ${m(Ao)}`,
991
991
  "02a039da": u.value && s.value ? "block" : "flex",
992
992
  "690f3ced": u.value && s.value ? "100%" : t.slim ? "50%" : "25%",
@@ -1078,8 +1078,8 @@ const ce = {
1078
1078
  attrs: {
1079
1079
  "data-testid": `${t.item.key}-internal-link`,
1080
1080
  item: t.item,
1081
- onNavigationClick: (_) => {
1082
- r("navigation-click", _);
1081
+ onNavigationClick: (w) => {
1082
+ r("navigation-click", w);
1083
1083
  }
1084
1084
  }
1085
1085
  };
@@ -1119,14 +1119,14 @@ const ce = {
1119
1119
  };
1120
1120
  }
1121
1121
  }), y = F(), { isTruncated: f } = ce.useTruncationDetector(y);
1122
- return (_, h) => {
1123
- const A = q("KLabel"), b = q("KBadge"), w = q("KTooltip");
1122
+ return (w, h) => {
1123
+ const A = q("KLabel"), b = q("KBadge"), _ = q("KTooltip");
1124
1124
  return d(), j("div", $o, [
1125
- V("div", {
1125
+ D("div", {
1126
1126
  class: "config-card-details-label",
1127
1127
  "data-testid": `${e.item.key}-label`
1128
1128
  }, [
1129
- X(_.$slots, "label", { item: e.item }, () => [
1129
+ X(w.$slots, "label", { item: e.item }, () => [
1130
1130
  E(A, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1131
1131
  default: g(() => [
1132
1132
  Z(N(e.item.label) + " ", 1)
@@ -1136,10 +1136,10 @@ const ce = {
1136
1136
  l.value ? {
1137
1137
  name: "tooltip",
1138
1138
  fn: g(() => [
1139
- V("div", {
1139
+ D("div", {
1140
1140
  "data-testid": `${e.item.key}-label-tooltip`
1141
1141
  }, [
1142
- X(_.$slots, "label-tooltip", {}, () => [
1142
+ X(w.$slots, "label-tooltip", {}, () => [
1143
1143
  Z(N(e.item.tooltip), 1)
1144
1144
  ], !0)
1145
1145
  ], 8, Mo)
@@ -1149,11 +1149,11 @@ const ce = {
1149
1149
  ]), 1024)
1150
1150
  ], !0)
1151
1151
  ], 8, jo),
1152
- V("div", {
1152
+ D("div", {
1153
1153
  class: "config-card-details-value",
1154
1154
  "data-testid": `${e.item.key}-property-value`
1155
1155
  }, [
1156
- X(_.$slots, e.item.key, {
1156
+ X(w.$slots, e.item.key, {
1157
1157
  rowValue: e.item.value
1158
1158
  }, () => [
1159
1159
  s.value ? (d(), j("div", Fo, [
@@ -1213,12 +1213,12 @@ const ce = {
1213
1213
  "is-array-item": "",
1214
1214
  item: L
1215
1215
  }, null, 8, ["index", "item"]))), 128))
1216
- ], 8, Bo)) : (d(), P(w, {
1216
+ ], 8, Bo)) : (d(), P(_, {
1217
1217
  key: 4,
1218
1218
  label: m(f) ? e.item.value : ""
1219
1219
  }, {
1220
1220
  default: g(() => [
1221
- V("span", {
1221
+ D("span", {
1222
1222
  ref_key: "textContent",
1223
1223
  ref: y,
1224
1224
  class: Ee(["attrs-data-text", { truncated: e.truncated }])
@@ -1238,7 +1238,7 @@ const ce = {
1238
1238
  ]);
1239
1239
  };
1240
1240
  }
1241
- }), $t = /* @__PURE__ */ we(Uo, [["__scopeId", "data-v-9c87856b"]]), Po = { class: "json-config" }, Do = {
1241
+ }), $t = /* @__PURE__ */ _e(Uo, [["__scopeId", "data-v-9c87856b"]]), Po = { class: "json-config" }, Do = {
1242
1242
  key: 0,
1243
1243
  class: "json-endpoint"
1244
1244
  }, xn = /* @__PURE__ */ ae({
@@ -1695,8 +1695,8 @@ function ka(e) {
1695
1695
  var n, t;
1696
1696
  return n = e.replace(/_/g, "").toLowerCase(), t = n[0] === "-" ? -1 : 1, "+-".indexOf(n[0]) >= 0 && (n = n.slice(1)), n === ".inf" ? t === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : n === ".nan" ? NaN : t * parseFloat(n, 10);
1697
1697
  }
1698
- var wa = /^[-+]?[0-9]+e/;
1699
- function _a(e, n) {
1698
+ var _a = /^[-+]?[0-9]+e/;
1699
+ function wa(e, n) {
1700
1700
  var t;
1701
1701
  if (isNaN(e))
1702
1702
  switch (n) {
@@ -1727,7 +1727,7 @@ function _a(e, n) {
1727
1727
  }
1728
1728
  else if (ue.isNegativeZero(e))
1729
1729
  return "-0.0";
1730
- return t = e.toString(10), wa.test(t) ? t.replace("e", ".e") : t;
1730
+ return t = e.toString(10), _a.test(t) ? t.replace("e", ".e") : t;
1731
1731
  }
1732
1732
  function Ia(e) {
1733
1733
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ue.isNegativeZero(e));
@@ -1737,7 +1737,7 @@ var Bn = new pe("tag:yaml.org,2002:float", {
1737
1737
  resolve: Ca,
1738
1738
  construct: ka,
1739
1739
  predicate: Ia,
1740
- represent: _a,
1740
+ represent: wa,
1741
1741
  defaultStyle: "lowercase"
1742
1742
  }), Ln = Fn.extend({
1743
1743
  implicit: [
@@ -2105,17 +2105,17 @@ function ei(e, n) {
2105
2105
  M(e, "unexpected end of the stream within a double quoted scalar");
2106
2106
  }
2107
2107
  function ti(e, n) {
2108
- var t = !0, r, o, i, a = e.tag, s, l = e.anchor, u, p, c, y, f, _ = /* @__PURE__ */ Object.create(null), h, A, b, w;
2109
- if (w = e.input.charCodeAt(e.position), w === 91)
2108
+ var t = !0, r, o, i, a = e.tag, s, l = e.anchor, u, p, c, y, f, w = /* @__PURE__ */ Object.create(null), h, A, b, _;
2109
+ if (_ = e.input.charCodeAt(e.position), _ === 91)
2110
2110
  p = 93, f = !1, s = [];
2111
- else if (w === 123)
2111
+ else if (_ === 123)
2112
2112
  p = 125, f = !0, s = {};
2113
2113
  else
2114
2114
  return !1;
2115
- for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
2116
- if (le(e, !0, n), w = e.input.charCodeAt(e.position), w === p)
2115
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = s), _ = e.input.charCodeAt(++e.position); _ !== 0; ) {
2116
+ if (le(e, !0, n), _ = e.input.charCodeAt(e.position), _ === p)
2117
2117
  return e.position++, e.tag = a, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2118
- t ? w === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), A = h = b = null, c = y = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = y = !0, e.position++, le(e, !0, n))), r = e.line, o = e.lineStart, i = e.position, Ge(e, n, at, !1, !0), A = e.tag, h = e.result, le(e, !0, n), w = e.input.charCodeAt(e.position), (y || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), le(e, !0, n), Ge(e, n, at, !1, !0), b = e.result), f ? Re(e, s, _, A, h, b, r, o, i) : c ? s.push(Re(e, null, _, A, h, b, r, o, i)) : s.push(h), le(e, !0, n), w = e.input.charCodeAt(e.position), w === 44 ? (t = !0, w = e.input.charCodeAt(++e.position)) : t = !1;
2118
+ t ? _ === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), A = h = b = null, c = y = !1, _ === 63 && (u = e.input.charCodeAt(e.position + 1), be(u) && (c = y = !0, e.position++, le(e, !0, n))), r = e.line, o = e.lineStart, i = e.position, Ge(e, n, at, !1, !0), A = e.tag, h = e.result, le(e, !0, n), _ = e.input.charCodeAt(e.position), (y || e.line === r) && _ === 58 && (c = !0, _ = e.input.charCodeAt(++e.position), le(e, !0, n), Ge(e, n, at, !1, !0), b = e.result), f ? Re(e, s, w, A, h, b, r, o, i) : c ? s.push(Re(e, null, w, A, h, b, r, o, i)) : s.push(h), le(e, !0, n), _ = e.input.charCodeAt(e.position), _ === 44 ? (t = !0, _ = e.input.charCodeAt(++e.position)) : t = !1;
2119
2119
  }
2120
2120
  M(e, "unexpected end of the stream within a flow collection");
2121
2121
  }
@@ -2183,20 +2183,20 @@ function nn(e, n) {
2183
2183
  return s ? (e.tag = r, e.anchor = o, e.kind = "sequence", e.result = i, !0) : !1;
2184
2184
  }
2185
2185
  function ri(e, n, t) {
2186
- var r, o, i, a, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, _ = null, h = null, A = !1, b = !1, w;
2186
+ var r, o, i, a, s, l, u = e.tag, p = e.anchor, c = {}, y = /* @__PURE__ */ Object.create(null), f = null, w = null, h = null, A = !1, b = !1, _;
2187
2187
  if (e.firstTabInLine !== -1)
2188
2188
  return !1;
2189
- for (e.anchor !== null && (e.anchorMap[e.anchor] = c), w = e.input.charCodeAt(e.position); w !== 0; ) {
2190
- if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (w === 63 || w === 58) && be(r))
2191
- w === 63 ? (A && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, A = !0, o = !0) : A ? (A = !1, o = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, w = r;
2189
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = c), _ = e.input.charCodeAt(e.position); _ !== 0; ) {
2190
+ if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, M(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (_ === 63 || _ === 58) && be(r))
2191
+ _ === 63 ? (A && (Re(e, c, y, f, w, null, a, s, l), f = w = h = null), b = !0, A = !0, o = !0) : A ? (A = !1, o = !0) : M(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, _ = r;
2192
2192
  else {
2193
2193
  if (a = e.line, s = e.lineStart, l = e.position, !Ge(e, t, Yn, !1, !0))
2194
2194
  break;
2195
2195
  if (e.line === i) {
2196
- for (w = e.input.charCodeAt(e.position); qe(w); )
2197
- w = e.input.charCodeAt(++e.position);
2198
- if (w === 58)
2199
- w = e.input.charCodeAt(++e.position), be(w) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, A = !1, o = !1, f = e.tag, _ = e.result;
2196
+ for (_ = e.input.charCodeAt(e.position); qe(_); )
2197
+ _ = e.input.charCodeAt(++e.position);
2198
+ if (_ === 58)
2199
+ _ = e.input.charCodeAt(++e.position), be(_) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Re(e, c, y, f, w, null, a, s, l), f = w = h = null), b = !0, A = !1, o = !1, f = e.tag, w = e.result;
2200
2200
  else if (b)
2201
2201
  M(e, "can not read an implicit mapping pair; a colon is missed");
2202
2202
  else
@@ -2206,12 +2206,12 @@ function ri(e, n, t) {
2206
2206
  else
2207
2207
  return e.tag = u, e.anchor = p, !0;
2208
2208
  }
2209
- if ((e.line === i || e.lineIndent > n) && (A && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, it, !0, o) && (A ? _ = e.result : h = e.result), A || (Re(e, c, y, f, _, h, a, s, l), f = _ = h = null), le(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && w !== 0)
2209
+ if ((e.line === i || e.lineIndent > n) && (A && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, it, !0, o) && (A ? w = e.result : h = e.result), A || (Re(e, c, y, f, w, h, a, s, l), f = w = h = null), le(e, !0, -1), _ = e.input.charCodeAt(e.position)), (e.line === i || e.lineIndent > n) && _ !== 0)
2210
2210
  M(e, "bad indentation of a mapping entry");
2211
2211
  else if (e.lineIndent < n)
2212
2212
  break;
2213
2213
  }
2214
- return A && Re(e, c, y, f, _, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2214
+ return A && Re(e, c, y, f, w, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2215
2215
  }
2216
2216
  function oi(e) {
2217
2217
  var n, t = !1, r = !1, o, i, a;
@@ -2252,7 +2252,7 @@ function ii(e) {
2252
2252
  return e.position === n && M(e, "name of an alias node must contain at least one character"), t = e.input.slice(n, e.position), Fe.call(e.anchorMap, t) || M(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], le(e, !0, -1), !0;
2253
2253
  }
2254
2254
  function Ge(e, n, t, r, o) {
2255
- var i, a, s, l = 1, u = !1, p = !1, c, y, f, _, h, A;
2255
+ var i, a, s, l = 1, u = !1, p = !1, c, y, f, w, h, A;
2256
2256
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, i = a = s = it === t || Wn === t, r && le(e, !0, -1) && (u = !0, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)), l === 1)
2257
2257
  for (; oi(e) || ai(e); )
2258
2258
  le(e, !0, -1) ? (u = !0, s = i, e.lineIndent > n ? l = 1 : e.lineIndent === n ? l = 0 : e.lineIndent < n && (l = -1)) : s = !1;
@@ -2260,20 +2260,20 @@ function Ge(e, n, t, r, o) {
2260
2260
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2261
2261
  else if (e.tag === "?") {
2262
2262
  for (e.result !== null && e.kind !== "scalar" && M(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, y = e.implicitTypes.length; c < y; c += 1)
2263
- if (_ = e.implicitTypes[c], _.resolve(e.result)) {
2264
- e.result = _.construct(e.result), e.tag = _.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2263
+ if (w = e.implicitTypes[c], w.resolve(e.result)) {
2264
+ e.result = w.construct(e.result), e.tag = w.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2265
2265
  break;
2266
2266
  }
2267
2267
  } else if (e.tag !== "!") {
2268
2268
  if (Fe.call(e.typeMap[e.kind || "fallback"], e.tag))
2269
- _ = e.typeMap[e.kind || "fallback"][e.tag];
2269
+ w = e.typeMap[e.kind || "fallback"][e.tag];
2270
2270
  else
2271
- for (_ = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2271
+ for (w = null, f = e.typeMap.multi[e.kind || "fallback"], c = 0, y = f.length; c < y; c += 1)
2272
2272
  if (e.tag.slice(0, f[c].tag.length) === f[c].tag) {
2273
- _ = f[c];
2273
+ w = f[c];
2274
2274
  break;
2275
2275
  }
2276
- _ || M(e, "unknown tag !<" + e.tag + ">"), e.result !== null && _.kind !== e.kind && M(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + _.kind + '", not "' + e.kind + '"'), _.resolve(e.result, e.tag) ? (e.result = _.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : M(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2276
+ w || M(e, "unknown tag !<" + e.tag + ">"), e.result !== null && w.kind !== e.kind && M(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + w.kind + '", not "' + e.kind + '"'), w.resolve(e.result, e.tag) ? (e.result = w.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : M(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
2277
2277
  }
2278
2278
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || p;
2279
2279
  }
@@ -2337,7 +2337,7 @@ function ui(e, n) {
2337
2337
  var ci = li, di = ui, rr = {
2338
2338
  loadAll: ci,
2339
2339
  load: di
2340
- }, or = Object.prototype.toString, ar = Object.prototype.hasOwnProperty, Ft = 65279, pi = 9, Ze = 10, fi = 13, mi = 32, gi = 33, yi = 34, kt = 35, hi = 37, vi = 38, bi = 39, Ci = 42, ir = 44, ki = 45, lt = 58, wi = 61, _i = 62, Ii = 63, Ai = 64, sr = 91, lr = 93, Si = 96, ur = 123, xi = 124, cr = 125, ge = {};
2340
+ }, or = Object.prototype.toString, ar = Object.prototype.hasOwnProperty, Ft = 65279, pi = 9, Ze = 10, fi = 13, mi = 32, gi = 33, yi = 34, kt = 35, hi = 37, vi = 38, bi = 39, Ci = 42, ir = 44, ki = 45, lt = 58, _i = 61, wi = 62, Ii = 63, Ai = 64, sr = 91, lr = 93, Si = 96, ur = 123, xi = 124, cr = 125, ge = {};
2341
2341
  ge[0] = "\\0";
2342
2342
  ge[7] = "\\a";
2343
2343
  ge[8] = "\\b";
@@ -2402,7 +2402,7 @@ function rn(e, n) {
2402
2402
  ` && (i += t), i += a;
2403
2403
  return i;
2404
2404
  }
2405
- function wt(e, n) {
2405
+ function _t(e, n) {
2406
2406
  return `
2407
2407
  ` + ue.repeat(" ", e.indent * n);
2408
2408
  }
@@ -2433,7 +2433,7 @@ function an(e, n, t) {
2433
2433
  );
2434
2434
  }
2435
2435
  function Ni(e) {
2436
- return Xe(e) && e !== Ft && !ut(e) && e !== ki && e !== Ii && e !== lt && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr && e !== kt && e !== vi && e !== Ci && e !== gi && e !== xi && e !== wi && e !== _i && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2436
+ return Xe(e) && e !== Ft && !ut(e) && e !== ki && e !== Ii && e !== lt && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr && e !== kt && e !== vi && e !== Ci && e !== gi && e !== xi && e !== _i && e !== wi && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2437
2437
  }
2438
2438
  function Ki(e) {
2439
2439
  return !ut(e) && e !== lt;
@@ -2446,9 +2446,9 @@ function dr(e) {
2446
2446
  var n = /^\n* /;
2447
2447
  return n.test(e);
2448
2448
  }
2449
- var pr = 1, _t = 2, fr = 3, mr = 4, De = 5;
2449
+ var pr = 1, wt = 2, fr = 3, mr = 4, De = 5;
2450
2450
  function qi(e, n, t, r, o, i, a, s) {
2451
- var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, _ = -1, h = Ni(ze(e, 0)) && Ki(ze(e, e.length - 1));
2451
+ var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, w = -1, h = Ni(ze(e, 0)) && Ki(ze(e, e.length - 1));
2452
2452
  if (n || a)
2453
2453
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2454
2454
  if (u = ze(e, l), !Xe(u))
@@ -2459,14 +2459,14 @@ function qi(e, n, t, r, o, i, a, s) {
2459
2459
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2460
2460
  if (u = ze(e, l), u === Ze)
2461
2461
  c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2462
- l - _ - 1 > r && e[_ + 1] !== " ", _ = l);
2462
+ l - w - 1 > r && e[w + 1] !== " ", w = l);
2463
2463
  else if (!Xe(u))
2464
2464
  return De;
2465
2465
  h = h && an(u, p, s), p = u;
2466
2466
  }
2467
- y = y || f && l - _ - 1 > r && e[_ + 1] !== " ";
2467
+ y = y || f && l - w - 1 > r && e[w + 1] !== " ";
2468
2468
  }
2469
- return !c && !y ? h && !a && !o(e) ? pr : i === Qe ? De : _t : t > 9 && dr(e) ? De : a ? i === Qe ? De : _t : y ? mr : fr;
2469
+ return !c && !y ? h && !a && !o(e) ? pr : i === Qe ? De : wt : t > 9 && dr(e) ? De : a ? i === Qe ? De : wt : y ? mr : fr;
2470
2470
  }
2471
2471
  function Bi(e, n, t, r, o) {
2472
2472
  e.dump = function() {
@@ -2490,7 +2490,7 @@ function Bi(e, n, t, r, o) {
2490
2490
  )) {
2491
2491
  case pr:
2492
2492
  return n;
2493
- case _t:
2493
+ case wt:
2494
2494
  return "'" + n.replace(/'/g, "''") + "'";
2495
2495
  case fr:
2496
2496
  return "|" + sn(n, e.indent) + ln(rn(n, i));
@@ -2552,7 +2552,7 @@ function Pi(e, n, t) {
2552
2552
  function cn(e, n, t, r) {
2553
2553
  var o = "", i = e.tag, a, s, l;
2554
2554
  for (a = 0, s = t.length; a < s; a += 1)
2555
- l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), ($e(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && $e(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += wt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2555
+ l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), ($e(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && $e(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += _t(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2556
2556
  e.tag = i, e.dump = o || "[]";
2557
2557
  }
2558
2558
  function Di(e, n, t) {
@@ -2570,7 +2570,7 @@ function Vi(e, n, t, r) {
2570
2570
  else if (e.sortKeys)
2571
2571
  throw new ye("sortKeys must be a boolean or a function");
2572
2572
  for (s = 0, l = a.length; s < l; s += 1)
2573
- y = "", (!r || o !== "") && (y += wt(e, n)), u = a[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), $e(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ze === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += wt(e, n)), $e(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2573
+ y = "", (!r || o !== "") && (y += _t(e, n)), u = a[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), $e(e, n + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ze === e.dump.charCodeAt(0) ? y += "?" : y += "? "), y += e.dump, c && (y += _t(e, n)), $e(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2574
2574
  e.tag = i, e.dump = o || "{}";
2575
2575
  }
2576
2576
  function dn(e, n, t) {
@@ -2800,7 +2800,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2800
2800
  }, null, 8, ["yaml-record"])) : z("", !0)
2801
2801
  ], 64));
2802
2802
  }
2803
- }), ms = /* @__PURE__ */ we(fs, [["__scopeId", "data-v-2b74ac63"]]), pn = "24px", gs = (e, n) => {
2803
+ }), ms = /* @__PURE__ */ _e(fs, [["__scopeId", "data-v-2b74ac63"]]), pn = "24px", gs = (e, n) => {
2804
2804
  const t = e.__vccOpts || e;
2805
2805
  for (const [r, o] of n)
2806
2806
  t[r] = o;
@@ -2808,7 +2808,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2808
2808
  }, ys = (e) => (hn("data-v-44d910d6"), e = e(), vn(), e), hs = ["aria-hidden"], vs = {
2809
2809
  key: 0,
2810
2810
  "data-testid": "kui-icon-svg-title"
2811
- }, bs = /* @__PURE__ */ ys(() => /* @__PURE__ */ V("path", {
2811
+ }, bs = /* @__PURE__ */ ys(() => /* @__PURE__ */ D("path", {
2812
2812
  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",
2813
2813
  fill: "currentColor"
2814
2814
  }, null, -1)), Cs = /* @__PURE__ */ ae({
@@ -2904,7 +2904,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2904
2904
  _: 1
2905
2905
  }, 8, ["aria-hidden", "style"]));
2906
2906
  }
2907
- }), ks = /* @__PURE__ */ gs(Cs, [["__scopeId", "data-v-44d910d6"]]), ws = { "data-testid": "config-card-title" }, _s = { class: "config-card-actions" }, Is = ["href"], As = {
2907
+ }), ks = /* @__PURE__ */ gs(Cs, [["__scopeId", "data-v-44d910d6"]]), _s = { "data-testid": "config-card-title" }, ws = { class: "config-card-actions" }, Is = ["href"], As = {
2908
2908
  key: 2,
2909
2909
  class: "config-card-details-section"
2910
2910
  }, Ss = {
@@ -3040,7 +3040,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3040
3040
  // the last property displayed
3041
3041
  section: ke.Basic
3042
3042
  }
3043
- }, _ = F(!1), h = F(!1), A = F(""), b = F({}), w = x(() => {
3043
+ }, w = F(!1), h = F(!1), A = F(""), b = F({}), _ = x(() => {
3044
3044
  var C, G, K;
3045
3045
  if (!b.value)
3046
3046
  return [];
@@ -3093,24 +3093,24 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3093
3093
  }), v = x(() => {
3094
3094
  var C, G, K, I;
3095
3095
  return {
3096
- basic: (C = w.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3097
- advanced: (G = w.value) == null ? void 0 : G.filter((T) => T.section === ke.Advanced),
3098
- plugin: (I = L.value) == null ? void 0 : I.concat((K = w.value) == null ? void 0 : K.filter((T) => T.section === ke.Plugin))
3096
+ basic: (C = _.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3097
+ advanced: (G = _.value) == null ? void 0 : G.filter((T) => T.section === ke.Advanced),
3098
+ plugin: (I = L.value) == null ? void 0 : I.concat((K = _.value) == null ? void 0 : K.filter((T) => T.section === ke.Plugin))
3099
3099
  };
3100
3100
  }), S = x(() => {
3101
3101
  const C = [];
3102
3102
  return v.value.basic.length && C.push("basic"), v.value.advanced.length && C.push("advanced"), v.value.plugin.length && C.push("plugin"), C;
3103
- }), D = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = x(() => {
3103
+ }), V = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = x(() => {
3104
3104
  var C, G;
3105
3105
  let K = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3106
3106
  return o.config.app === "konnect" ? K = K.replace(/{controlPlaneId}/gi, ((C = o.config) == null ? void 0 : C.controlPlaneId) || "") : o.config.app === "kongManager" && (K = K.replace(/\/{workspace}/gi, (G = o.config) != null && G.workspace ? `/${o.config.workspace}` : "")), K = K.replace(/{id}/gi, o.config.entityId), K;
3107
3107
  }), R = (C) => {
3108
3108
  b.value && C(JSON.stringify(b.value)) ? r("copy:success", b.value) : r("copy:error");
3109
3109
  };
3110
- return Te(_, (C) => {
3110
+ return Te(w, (C) => {
3111
3111
  r("loading", C);
3112
3112
  }, { immediate: !0 }), dt(async () => {
3113
- h.value = !1, _.value = !0;
3113
+ h.value = !1, w.value = !0;
3114
3114
  try {
3115
3115
  const { data: C } = await u.get(re.value);
3116
3116
  if (o.dataKey)
@@ -3127,13 +3127,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3127
3127
  const G = s(C);
3128
3128
  A.value = G.startsWith("code") ? a("baseConfigCard.errors.load") : G, h.value = !0, r("fetch:error", C);
3129
3129
  } finally {
3130
- _.value = !1;
3130
+ w.value = !1;
3131
3131
  }
3132
3132
  }), (C, G) => {
3133
3133
  const K = q("KLabel"), I = q("KSelect"), T = q("KButton"), O = q("KClipboardProvider"), B = q("KSkeleton"), W = q("KEmptyState"), ee = q("KCard");
3134
3134
  return d(), P(ee, { class: "kong-ui-entity-base-config-card" }, je({
3135
3135
  actions: g(() => [
3136
- V("div", _s, [
3136
+ D("div", ws, [
3137
3137
  X(C.$slots, "actions", {}, void 0, !0),
3138
3138
  e.config.jsonYamlEnabled ? (d(), P(K, {
3139
3139
  key: 0,
@@ -3158,7 +3158,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3158
3158
  "data-testid": "book-icon"
3159
3159
  }, {
3160
3160
  default: g(() => [
3161
- V("a", {
3161
+ D("a", {
3162
3162
  href: e.configCardDoc,
3163
3163
  rel: "noopener",
3164
3164
  target: "_blank"
@@ -3170,7 +3170,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3170
3170
  })) : z("", !0),
3171
3171
  e.config.jsonYamlEnabled ? z("", !0) : (d(), P(O, { key: 3 }, {
3172
3172
  default: g(({ copyToClipboard: te }) => [
3173
- !_.value && !h.value ? (d(), P(T, {
3173
+ !w.value && !h.value ? (d(), P(T, {
3174
3174
  key: 0,
3175
3175
  appearance: "tertiary",
3176
3176
  "data-testid": "json-copy-button",
@@ -3187,7 +3187,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3187
3187
  ])
3188
3188
  ]),
3189
3189
  default: g(() => [
3190
- _.value ? (d(), P(B, {
3190
+ w.value ? (d(), P(B, {
3191
3191
  key: 0,
3192
3192
  "data-testid": "config-card-loader",
3193
3193
  "table-columns": 2,
@@ -3198,7 +3198,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3198
3198
  "is-error": ""
3199
3199
  }, {
3200
3200
  message: g(() => [
3201
- V("h3", null, N(A.value), 1)
3201
+ D("h3", null, N(A.value), 1)
3202
3202
  ]),
3203
3203
  _: 1
3204
3204
  })) : z("", !0),
@@ -3243,7 +3243,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3243
3243
  ]),
3244
3244
  _: 2
3245
3245
  }, [
3246
- D(ne) ? {
3246
+ V(ne) ? {
3247
3247
  name: "label-tooltip",
3248
3248
  fn: g(() => [
3249
3249
  X(C.$slots, `${ne.key}-label-tooltip`, { row: ne }, void 0, !0)
@@ -3259,7 +3259,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3259
3259
  e.hideTitle ? void 0 : {
3260
3260
  name: "title",
3261
3261
  fn: g(() => [
3262
- V("div", ws, [
3262
+ D("div", _s, [
3263
3263
  X(C.$slots, "title", {}, () => [
3264
3264
  Z(N(m(a)("baseConfigCard.title")), 1)
3265
3265
  ], !0)
@@ -3270,7 +3270,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3270
3270
  ]), 1024);
3271
3271
  };
3272
3272
  }
3273
- }), js = /* @__PURE__ */ we($s, [["__scopeId", "data-v-3fd4a3a4"]]), Ms = {
3273
+ }), js = /* @__PURE__ */ _e($s, [["__scopeId", "data-v-3fd4a3a4"]]), Ms = {
3274
3274
  class: "form-actions",
3275
3275
  "data-testid": "form-actions"
3276
3276
  }, Os = { key: 0 }, Es = /* @__PURE__ */ ae({
@@ -3330,17 +3330,17 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3330
3330
  var t;
3331
3331
  const r = n, o = e, i = At(), { i18n: { t: a } } = ce.useI18n(), { getMessageFromError: s } = ce.useErrors(), { axiosInstance: l } = ce.useAxios({
3332
3332
  headers: (t = o.config) == null ? void 0 : t.requestHeaders
3333
- }), u = F(!1), p = F(!1), c = F(""), y = x(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), _ = x(() => {
3333
+ }), u = F(!1), p = F(!1), c = F(""), y = x(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), w = x(() => {
3334
3334
  var v, S;
3335
- let D = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3336
- return o.config.app === "konnect" ? D = D.replace(/{controlPlaneId}/gi, ((v = o.config) == null ? void 0 : v.controlPlaneId) || "") : o.config.app === "kongManager" && (D = D.replace(/\/{workspace}/gi, (S = o.config) != null && S.workspace ? `/${o.config.workspace}` : "")), o.editId ? (D = D.replace(/{id}/gi, o.editId), D) : (D = D.replace(/\/{id}/gi, ""), D);
3335
+ let V = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3336
+ return o.config.app === "konnect" ? V = V.replace(/{controlPlaneId}/gi, ((v = o.config) == null ? void 0 : v.controlPlaneId) || "") : o.config.app === "kongManager" && (V = V.replace(/\/{workspace}/gi, (S = o.config) != null && S.workspace ? `/${o.config.workspace}` : "")), o.editId ? (V = V.replace(/{id}/gi, o.editId), V) : (V = V.replace(/\/{id}/gi, ""), V);
3337
3337
  }), h = () => {
3338
3338
  f.value = !f.value;
3339
3339
  }, A = () => {
3340
3340
  o.config.cancelRoute ? i.push(o.config.cancelRoute) : b();
3341
3341
  }, b = () => {
3342
3342
  r("cancel");
3343
- }, w = () => {
3343
+ }, _ = () => {
3344
3344
  y.value || r("submit");
3345
3345
  }, L = F([
3346
3346
  {
@@ -3358,7 +3358,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3358
3358
  if (o.editId)
3359
3359
  try {
3360
3360
  p.value = !1, u.value = !0;
3361
- const { data: v } = await l.get(_.value);
3361
+ const { data: v } = await l.get(w.value);
3362
3362
  r("fetch:success", v);
3363
3363
  } catch (v) {
3364
3364
  const S = s(v);
@@ -3367,10 +3367,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3367
3367
  u.value = !1;
3368
3368
  }
3369
3369
  }), (v, S) => {
3370
- const D = q("KSkeleton"), re = q("KEmptyState"), R = q("KAlert"), C = q("KButton"), G = q("KTabs"), K = q("KSlideout"), I = q("KCard");
3370
+ const V = q("KSkeleton"), re = q("KEmptyState"), R = q("KAlert"), C = q("KButton"), G = q("KTabs"), K = q("KSlideout"), I = q("KCard");
3371
3371
  return d(), P(I, { class: "kong-ui-entity-base-form" }, {
3372
3372
  default: g(() => [
3373
- u.value ? (d(), P(D, {
3373
+ u.value ? (d(), P(V, {
3374
3374
  key: 0,
3375
3375
  type: "form"
3376
3376
  })) : p.value ? (d(), P(re, {
@@ -3381,14 +3381,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3381
3381
  "is-error": !0
3382
3382
  }, {
3383
3383
  message: g(() => [
3384
- V("h3", null, N(c.value), 1)
3384
+ D("h3", null, N(c.value), 1)
3385
3385
  ]),
3386
3386
  _: 1
3387
3387
  }, 8, ["cta-text"])) : (d(), j("form", {
3388
3388
  key: 2,
3389
3389
  "data-testid": "form-content",
3390
3390
  onReset: rt(b, ["prevent"]),
3391
- onSubmit: rt(w, ["prevent"])
3391
+ onSubmit: rt(_, ["prevent"])
3392
3392
  }, [
3393
3393
  X(v.$slots, "default", {}, void 0, !0),
3394
3394
  e.errorMessage ? (d(), P(R, {
@@ -3397,7 +3397,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3397
3397
  appearance: "danger",
3398
3398
  "data-testid": "form-error"
3399
3399
  }, null, 8, ["alert-message"])) : z("", !0),
3400
- V("div", Ms, [
3400
+ D("div", Ms, [
3401
3401
  X(v.$slots, "form-actions", {}, () => [
3402
3402
  e.config.jsonYamlFormsEnabled ? (d(), j("div", Os, [
3403
3403
  E(C, {
@@ -3446,7 +3446,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3446
3446
  onClose: S[1] || (S[1] = (T) => h())
3447
3447
  }, {
3448
3448
  default: g(() => [
3449
- V("div", null, N(m(a)("baseForm.configuration.message")), 1),
3449
+ D("div", null, N(m(a)("baseForm.configuration.message")), 1),
3450
3450
  E(G, {
3451
3451
  "data-testid": "form-view-configuration-slideout-tabs",
3452
3452
  tabs: L.value
@@ -3454,7 +3454,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3454
3454
  json: g(() => [
3455
3455
  E(xn, {
3456
3456
  config: e.config,
3457
- "fetcher-url": _.value,
3457
+ "fetcher-url": w.value,
3458
3458
  "json-record": o.formFields,
3459
3459
  "request-method": o.editId ? "put" : "post"
3460
3460
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
@@ -3474,7 +3474,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3474
3474
  });
3475
3475
  };
3476
3476
  }
3477
- }), Fs = /* @__PURE__ */ we(Es, [["__scopeId", "data-v-4ef70725"]]), Ns = {
3477
+ }), Fs = /* @__PURE__ */ _e(Es, [["__scopeId", "data-v-4ef70725"]]), Ns = {
3478
3478
  key: 0,
3479
3479
  "data-testid": "first-col"
3480
3480
  }, Ks = /* @__PURE__ */ ae({
@@ -3521,10 +3521,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3521
3521
  }
3522
3522
  },
3523
3523
  { immediate: !0, flush: "post", deep: !0 }
3524
- ), _ = x(() => o.value ? u.value > p.value : !1);
3525
- return wr(() => {
3524
+ ), w = x(() => o.value ? u.value > p.value : !1);
3525
+ return _r(() => {
3526
3526
  s();
3527
- }), _r(() => {
3527
+ }), wr(() => {
3528
3528
  f();
3529
3529
  }), (h, A) => {
3530
3530
  const b = q("KTooltip");
@@ -3535,7 +3535,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3535
3535
  }, [
3536
3536
  o.value ? (d(), j("span", Ns, [
3537
3537
  E(b, {
3538
- label: _.value ? c.value : "",
3538
+ label: w.value ? c.value : "",
3539
3539
  "max-width": "300",
3540
3540
  placement: "bottomStart"
3541
3541
  }, {
@@ -3548,7 +3548,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3548
3548
  ], 512);
3549
3549
  };
3550
3550
  }
3551
- }), qs = /* @__PURE__ */ we(Ks, [["__scopeId", "data-v-e42a20c9"]]), Bs = { class: "toolbar-container" }, Ls = {
3551
+ }), qs = /* @__PURE__ */ _e(Ks, [["__scopeId", "data-v-e42a20c9"]]), Bs = { class: "toolbar-container" }, Ls = {
3552
3552
  key: 0,
3553
3553
  class: "toolbar-button-container"
3554
3554
  }, Us = ["data-testid"], Ps = /* @__PURE__ */ ae({
@@ -3662,7 +3662,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3662
3662
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3663
3663
  setup(e, { emit: n }) {
3664
3664
  const t = e, r = n, { i18n: { t: o } } = ce.useI18n(), i = x(() => {
3665
- var S, D;
3665
+ var S, V;
3666
3666
  return typeof t.errorMessage == "string" ? {
3667
3667
  hasError: !!t.errorMessage,
3668
3668
  title: t.errorMessage,
@@ -3670,15 +3670,15 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3670
3670
  } : {
3671
3671
  hasError: !!t.errorMessage,
3672
3672
  title: (S = t.errorMessage) == null ? void 0 : S.title,
3673
- message: (D = t.errorMessage) == null ? void 0 : D.message
3673
+ message: (V = t.errorMessage) == null ? void 0 : V.message
3674
3674
  };
3675
3675
  }), a = x(() => t.cacheIdentifier || t.preferencesStorageKey), s = (S) => S.hasData || !!t.query, l = x(() => {
3676
3676
  const S = [];
3677
- return Object.keys(t.tableHeaders).forEach((D) => {
3678
- const re = t.tableHeaders[D];
3677
+ return Object.keys(t.tableHeaders).forEach((V) => {
3678
+ const re = t.tableHeaders[V];
3679
3679
  S.push({
3680
- label: re.label ?? D,
3681
- key: D,
3680
+ label: re.label ?? V,
3681
+ key: V,
3682
3682
  sortable: re.sortable ?? !1
3683
3683
  });
3684
3684
  }), t.enableEntityActions && S.push({
@@ -3690,28 +3690,28 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3690
3690
  "data-testid": S.name,
3691
3691
  ...t.rowAttributes(S)
3692
3692
  }), p = F({}), c = (S) => {
3693
- var D;
3694
- return (D = p.value) == null ? void 0 : D.$el.querySelector(`[data-rowid="${S.id}"]`);
3693
+ var V;
3694
+ return (V = p.value) == null ? void 0 : V.$el.querySelector(`[data-rowid="${S.id}"]`);
3695
3695
  }, y = (S) => {
3696
- const D = {
3696
+ const V = {
3697
3697
  "data-testid": S.headerKey,
3698
3698
  ...t.cellAttributes(S)
3699
3699
  };
3700
- return S.colIndex === 0 && (D.style = {
3700
+ return S.colIndex === 0 && (V.style = {
3701
3701
  maxWidth: "250px",
3702
3702
  overflowX: "hidden",
3703
3703
  textOverflow: "ellipsis"
3704
- }), D;
3704
+ }), V;
3705
3705
  }, f = () => {
3706
- r("empty-state-cta-clicked"), _();
3707
- }, _ = () => {
3706
+ r("empty-state-cta-clicked"), w();
3707
+ }, w = () => {
3708
3708
  r("clear-search-input");
3709
- }, h = x(() => t.disableRowClick ? void 0 : (S, D) => {
3710
- r("click:row", D);
3709
+ }, h = x(() => t.disableRowClick ? void 0 : (S, V) => {
3710
+ r("click:row", V);
3711
3711
  }), A = (S) => {
3712
3712
  r("sort", S);
3713
- }, { setTablePreferences: b, getTablePreferences: w } = Or(), L = x(() => {
3714
- const S = w(t.preferencesStorageKey);
3713
+ }, { setTablePreferences: b, getTablePreferences: _ } = Or(), L = x(() => {
3714
+ const S = _(t.preferencesStorageKey);
3715
3715
  return {
3716
3716
  ...t.initialFetcherParams,
3717
3717
  ...S
@@ -3719,7 +3719,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3719
3719
  }), v = (S) => {
3720
3720
  t.preferencesStorageKey && b(t.preferencesStorageKey, S);
3721
3721
  };
3722
- return (S, D) => {
3722
+ return (S, V) => {
3723
3723
  const re = q("KIcon"), R = q("KButton"), C = q("KDropdown"), G = q("KTable"), K = q("KCard");
3724
3724
  return d(), P(K, {
3725
3725
  class: "kong-ui-entity-base-table",
@@ -3755,11 +3755,11 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3755
3755
  "search-input": e.query,
3756
3756
  onKtableEmptyStateCtaClicked: f,
3757
3757
  "onRow:click": h.value,
3758
- onSort: D[0] || (D[0] = (I) => A(I)),
3758
+ onSort: V[0] || (V[0] = (I) => A(I)),
3759
3759
  "onUpdate:tablePreferences": v
3760
3760
  }, je({
3761
3761
  toolbar: g(({ state: I }) => [
3762
- Je(V("div", Bs, [
3762
+ Je(D("div", Bs, [
3763
3763
  X(S.$slots, "toolbar-filter", {}, void 0, !0),
3764
3764
  S.$slots["toolbar-button"] ? (d(), j("div", Ls, [
3765
3765
  X(S.$slots, "toolbar-button", {}, void 0, !0)
@@ -3769,7 +3769,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3769
3769
  ])
3770
3770
  ]),
3771
3771
  actions: g(({ row: I, rowKey: T, rowValue: O }) => [
3772
- V("div", {
3772
+ D("div", {
3773
3773
  class: "actions-container",
3774
3774
  "data-testid": I.name
3775
3775
  }, [
@@ -3832,7 +3832,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3832
3832
  }, 8, ["title"]);
3833
3833
  };
3834
3834
  }
3835
- }), Ds = /* @__PURE__ */ we(Ps, [["__scopeId", "data-v-2b9bf3dd"]]), Vs = {
3835
+ }), Ds = /* @__PURE__ */ _e(Ps, [["__scopeId", "data-v-2b9bf3dd"]]), Vs = {
3836
3836
  key: 0,
3837
3837
  class: "kong-ui-entity-delete-error"
3838
3838
  }, Rs = {
@@ -3917,14 +3917,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3917
3917
  r.entityName ? {
3918
3918
  name: "entityName",
3919
3919
  fn: g(() => [
3920
- V("strong", null, N(r.entityName), 1)
3920
+ D("strong", null, N(r.entityName), 1)
3921
3921
  ]),
3922
3922
  key: "0"
3923
3923
  } : void 0
3924
3924
  ]), 1032, ["keypath"]),
3925
3925
  r.description || l.$slots.description ? (d(), j("div", Rs, [
3926
3926
  X(l.$slots, "description", {}, () => [
3927
- V("p", null, N(r.description), 1)
3927
+ D("p", null, N(r.description), 1)
3928
3928
  ], !0)
3929
3929
  ])) : z("", !0)
3930
3930
  ]),
@@ -3932,7 +3932,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3932
3932
  }, 8, ["action-pending", "confirmation-text", "is-visible", "title"]);
3933
3933
  };
3934
3934
  }
3935
- }), Hs = /* @__PURE__ */ we(Gs, [["__scopeId", "data-v-1c9a2a07"]]), zs = {
3935
+ }), Hs = /* @__PURE__ */ _e(Gs, [["__scopeId", "data-v-1c9a2a07"]]), zs = {
3936
3936
  fill: "none",
3937
3937
  height: "20",
3938
3938
  viewBox: "0 0 20 20",
@@ -3956,15 +3956,15 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3956
3956
  },
3957
3957
  setup(e) {
3958
3958
  return (n, t) => (d(), j("svg", zs, [
3959
- V("mask", Js, [
3960
- V("rect", {
3959
+ D("mask", Js, [
3960
+ D("rect", {
3961
3961
  fill: e.color,
3962
3962
  height: "20",
3963
3963
  width: "20"
3964
3964
  }, null, 8, Ys)
3965
3965
  ]),
3966
- V("g", Ws, [
3967
- V("path", {
3966
+ D("g", Ws, [
3967
+ D("path", {
3968
3968
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3969
3969
  fill: e.color
3970
3970
  }, null, 8, Zs)
@@ -3996,19 +3996,19 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3996
3996
  setup(e, { emit: n }) {
3997
3997
  const { i18n: { t } } = ce.useI18n(), r = e, o = n, i = F(!1), a = F({}), s = x(() => {
3998
3998
  const b = [];
3999
- return new URLSearchParams(r.modelValue).forEach((w, L) => {
4000
- w !== "" && b.push(L);
3999
+ return new URLSearchParams(r.modelValue).forEach((_, L) => {
4000
+ _ !== "" && b.push(L);
4001
4001
  }), b;
4002
4002
  }), l = x(() => {
4003
4003
  const b = r.config.fields;
4004
- return Object.keys(b).filter((w) => b[w].searchable).map((w) => ({
4005
- label: b[w].label || w,
4006
- value: w
4004
+ return Object.keys(b).filter((_) => b[_].searchable).map((_) => ({
4005
+ label: b[_].label || _,
4006
+ value: _
4007
4007
  }));
4008
4008
  });
4009
4009
  Te(() => r.modelValue, (b) => {
4010
- a.value = {}, new URLSearchParams(b).forEach((w, L) => {
4011
- a.value[L] = w;
4010
+ a.value = {}, new URLSearchParams(b).forEach((_, L) => {
4011
+ a.value[L] = _;
4012
4012
  });
4013
4013
  });
4014
4014
  const u = () => {
@@ -4016,15 +4016,15 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4016
4016
  }, p = (b) => {
4017
4017
  o("update:modelValue", b);
4018
4018
  }, c = (b) => `filter-${b}`, y = (b) => {
4019
- var w, L;
4020
- return (((L = (w = r.config.schema) == null ? void 0 : w[b]) == null ? void 0 : L.values) ?? []).map((v) => ({
4019
+ var _, L;
4020
+ return (((L = (_ = r.config.schema) == null ? void 0 : _[b]) == null ? void 0 : L.values) ?? []).map((v) => ({
4021
4021
  value: v,
4022
4022
  label: v
4023
4023
  }));
4024
4024
  }, f = (b) => {
4025
- var w, L;
4026
- return ((L = (w = r.config.schema) == null ? void 0 : w[b]) == null ? void 0 : L.type) ?? "text";
4027
- }, _ = (b) => {
4025
+ var _, L;
4026
+ return ((L = (_ = r.config.schema) == null ? void 0 : _[b]) == null ? void 0 : L.type) ?? "text";
4027
+ }, w = (b) => {
4028
4028
  a.value = {
4029
4029
  ...a.value,
4030
4030
  [b]: ""
@@ -4032,11 +4032,11 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4032
4032
  }, h = () => {
4033
4033
  a.value = {}, A(!0);
4034
4034
  }, A = (b = !1) => {
4035
- const w = Object.keys(a.value).reduce((L, v) => (a.value[v] && (L[v] = `${a.value[v]}`), L), {});
4036
- b && (i.value = !1), o("update:modelValue", new URLSearchParams(w).toString());
4035
+ const _ = Object.keys(a.value).reduce((L, v) => (a.value[v] && (L[v] = `${a.value[v]}`), L), {});
4036
+ b && (i.value = !1), o("update:modelValue", new URLSearchParams(_).toString());
4037
4037
  };
4038
- return (b, w) => {
4039
- const L = q("KInput"), v = q("KButton"), S = q("KSelect"), D = q("KMenuItem"), re = q("KMenu");
4038
+ return (b, _) => {
4039
+ const L = q("KInput"), v = q("KButton"), S = q("KSelect"), V = q("KMenuItem"), re = q("KMenu");
4040
4040
  return e.config.isExactMatch ? (d(), P(L, {
4041
4041
  key: 0,
4042
4042
  autocomplete: "off",
@@ -4062,7 +4062,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4062
4062
  ]),
4063
4063
  _: 1
4064
4064
  }),
4065
- Je(V("div", {
4065
+ Je(D("div", {
4066
4066
  class: "kong-ui-entity-filter-backdrop",
4067
4067
  onClick: u
4068
4068
  }, null, 512), [
@@ -4070,16 +4070,16 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4070
4070
  ]),
4071
4071
  Je(E(re, { class: "kong-ui-entity-filter-menu" }, {
4072
4072
  body: g(() => [
4073
- (d(!0), j(Ce, null, ve(l.value, (R, C) => (d(), P(D, {
4073
+ (d(!0), j(Ce, null, ve(l.value, (R, C) => (d(), P(V, {
4074
4074
  key: R.value,
4075
4075
  "data-testid": R.value,
4076
4076
  expandable: "",
4077
4077
  "last-menu-item": C === l.value.length - 1
4078
4078
  }, {
4079
4079
  itemTitle: g(() => [
4080
- V("span", Xs, [
4080
+ D("span", Xs, [
4081
4081
  Z(N(R.label) + " ", 1),
4082
- Je(V("span", el, null, 512), [
4082
+ Je(D("span", el, null, 512), [
4083
4083
  [Ye, s.value.includes(R.value)]
4084
4084
  ])
4085
4085
  ])
@@ -4087,8 +4087,8 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4087
4087
  itemBody: g(() => {
4088
4088
  var G, K;
4089
4089
  return [
4090
- V("div", tl, [
4091
- V("label", {
4090
+ D("div", tl, [
4091
+ D("label", {
4092
4092
  class: "menu-item-label",
4093
4093
  for: c(R.value)
4094
4094
  }, N(m(t)("filter.fieldLabel")), 9, nl),
@@ -4109,12 +4109,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4109
4109
  type: f(R.value)
4110
4110
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4111
4111
  ]),
4112
- V("div", rl, [
4112
+ D("div", rl, [
4113
4113
  E(v, {
4114
4114
  appearance: "tertiary",
4115
4115
  "data-testid": "apply-filter",
4116
4116
  size: "small",
4117
- onClick: w[0] || (w[0] = (I) => A(!0))
4117
+ onClick: _[0] || (_[0] = (I) => A(!0))
4118
4118
  }, {
4119
4119
  default: g(() => [
4120
4120
  Z(N(m(t)("filter.applyButtonText")), 1)
@@ -4125,7 +4125,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4125
4125
  appearance: "tertiary",
4126
4126
  "data-testid": "clear-filter",
4127
4127
  size: "small",
4128
- onClick: (I) => _(R.value)
4128
+ onClick: (I) => w(R.value)
4129
4129
  }, {
4130
4130
  default: g(() => [
4131
4131
  Z(N(m(t)("filter.clearButtonText")), 1)
@@ -4139,7 +4139,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4139
4139
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4140
4140
  ]),
4141
4141
  actionButton: g(() => [
4142
- V("div", ol, [
4142
+ D("div", ol, [
4143
4143
  E(v, {
4144
4144
  appearance: "tertiary",
4145
4145
  size: "small",
@@ -4159,7 +4159,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4159
4159
  ]));
4160
4160
  };
4161
4161
  }
4162
- }), il = /* @__PURE__ */ we(al, [["__scopeId", "data-v-e9512e8f"]]), tt = /* @__PURE__ */ ae({
4162
+ }), il = /* @__PURE__ */ _e(al, [["__scopeId", "data-v-e9512e8f"]]), tt = /* @__PURE__ */ ae({
4163
4163
  __name: "PermissionsWrapper",
4164
4164
  props: {
4165
4165
  /**
@@ -4227,7 +4227,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4227
4227
  return (t, r) => (d(), j("fieldset", {
4228
4228
  class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4229
4229
  }, [
4230
- V("div", sl, [
4230
+ D("div", sl, [
4231
4231
  e.hideInfoHeader ? z("", !0) : (d(), j("div", {
4232
4232
  key: 0,
4233
4233
  class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -4235,20 +4235,20 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4235
4235
  e.title ? (d(), j("h4", ll, N(e.title), 1)) : z("", !0),
4236
4236
  e.description || m(n).description ? (d(), j("div", ul, [
4237
4237
  X(t.$slots, "description", {}, () => [
4238
- V("p", null, N(e.description), 1)
4238
+ D("p", null, N(e.description), 1)
4239
4239
  ], !0)
4240
4240
  ])) : z("", !0),
4241
4241
  m(n).footer ? (d(), j("div", cl, [
4242
4242
  X(t.$slots, "footer", {}, void 0, !0)
4243
4243
  ])) : z("", !0)
4244
4244
  ], 2)),
4245
- V("div", dl, [
4245
+ D("div", dl, [
4246
4246
  X(t.$slots, "default", {}, void 0, !0)
4247
4247
  ])
4248
4248
  ])
4249
4249
  ], 2));
4250
4250
  }
4251
- }), mn = /* @__PURE__ */ we(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: fl, useErrors: ml, useExternalLinkCreator: Nl, useFetchUrlBuilder: Kl, useFetcher: gl, useDebouncedFilter: yr, useStringHelpers: ql, useHelpers: Bl, useGatewayFeatureSupported: Ll, useTruncationDetector: Ul } = ce, yl = { class: "add-to-group-form-container" }, hl = { class: "add-to-group-cta-text" }, vl = {
4251
+ }), mn = /* @__PURE__ */ _e(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Kt, useDeleteUrlBuilder: fl, useErrors: ml, useExternalLinkCreator: Kl, useFetchUrlBuilder: ql, useFetcher: gl, useDebouncedFilter: yr, useStringHelpers: Bl, useHelpers: Ll, useGatewayFeatureSupported: Ul, useTruncationDetector: Pl } = ce, yl = { class: "add-to-group-form-container" }, hl = { class: "add-to-group-cta-text" }, vl = {
4252
4252
  key: 0,
4253
4253
  class: "kong-ui-entity-add-to-groups-error"
4254
4254
  }, bl = { key: 0 }, Cl = /* @__PURE__ */ ae({
@@ -4286,7 +4286,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4286
4286
  fetchedItemsKey: "data",
4287
4287
  searchKeys: ["name", "id"]
4288
4288
  }
4289
- ), f = x(() => p.value ? t("consumer_groups.errors.general") : ""), _ = F(0), h = x(() => u.value === void 0), A = x(() => y.value.map((I) => ({
4289
+ ), f = x(() => p.value ? t("consumer_groups.errors.general") : ""), w = F(0), h = x(() => u.value === void 0), A = x(() => y.value.map((I) => ({
4290
4290
  label: I.name,
4291
4291
  value: I.id,
4292
4292
  selected: a.value.includes(I.id),
@@ -4296,9 +4296,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4296
4296
  var O;
4297
4297
  const T = h.value ? y.value.find((B) => B.id === I) : (O = u.value) == null ? void 0 : O.find((B) => B.id === I);
4298
4298
  return T ? T.name : I;
4299
- }, w = () => {
4299
+ }, _ = () => {
4300
4300
  S.value = "", L.value = [], C.value = [], o("cancel");
4301
- }, L = F([]), v = F(!1), S = F(""), D = async () => {
4301
+ }, L = F([]), v = F(!1), S = F(""), V = async () => {
4302
4302
  if (!a.value.length) {
4303
4303
  S.value = "", C.value = [], o("cancel");
4304
4304
  return;
@@ -4337,7 +4337,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4337
4337
  }).filter(Boolean);
4338
4338
  };
4339
4339
  return Te(A, () => {
4340
- _.value++;
4340
+ w.value++;
4341
4341
  }, { immediate: !0, deep: !0 }), Te(() => r.visible, () => {
4342
4342
  r.visible && c();
4343
4343
  }, { immediate: !0 }), (I, T) => {
@@ -4348,12 +4348,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4348
4348
  "data-testid": "add-to-group-modal",
4349
4349
  "is-visible": e.visible,
4350
4350
  title: m(t)("consumer_groups.consumers.add.title"),
4351
- onCanceled: w,
4352
- onProceed: D
4351
+ onCanceled: _,
4352
+ onProceed: V
4353
4353
  }, {
4354
4354
  "body-content": g(() => [
4355
- V("div", yl, [
4356
- V("p", hl, N(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4355
+ D("div", yl, [
4356
+ D("p", hl, N(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4357
4357
  E(O, {
4358
4358
  modelValue: a.value,
4359
4359
  "onUpdate:modelValue": T[0] || (T[0] = (ee) => a.value = ee),
@@ -4372,11 +4372,11 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4372
4372
  S.value || f.value || C.value.length ? (d(), j("div", vl, [
4373
4373
  E(B, { appearance: "danger" }, {
4374
4374
  alertMessage: g(() => [
4375
- V("p", null, N(m(t)("consumer_groups.errors.add")), 1),
4375
+ D("p", null, N(m(t)("consumer_groups.errors.add")), 1),
4376
4376
  C.value.length ? (d(), j("ul", bl, [
4377
4377
  (d(!0), j(Ce, null, ve(C.value, (ee, te) => (d(), j("li", { key: te }, N(ee), 1))), 128))
4378
4378
  ])) : z("", !0),
4379
- V("div", null, N(S.value || f.value), 1)
4379
+ D("div", null, N(S.value || f.value), 1)
4380
4380
  ]),
4381
4381
  _: 1
4382
4382
  })
@@ -4392,7 +4392,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4392
4392
  for (const [r, o] of n)
4393
4393
  t[r] = o;
4394
4394
  return t;
4395
- }, kl = /* @__PURE__ */ qt(Cl, [["__scopeId", "data-v-3808b4c0"]]), wl = { class: "kong-ui-entities-consumer-groups-list" }, _l = { key: 1 }, Il = /* @__PURE__ */ ae({
4395
+ }, kl = /* @__PURE__ */ qt(Cl, [["__scopeId", "data-v-3808b4c0"]]), _l = { class: "kong-ui-entities-consumer-groups-list" }, wl = { key: 1 }, Il = /* @__PURE__ */ ae({
4396
4396
  __name: "ConsumerGroupList",
4397
4397
  props: {
4398
4398
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4447,7 +4447,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4447
4447
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4448
4448
  };
4449
4449
  r.config.app === "kongManager" && (y.consumers_count = { label: i("consumer_groups.list.table_headers.consumers_count"), searchable: !1, sortable: !1 }), y.tags = { label: i("consumer_groups.list.table_headers.tags"), sortable: !1 };
4450
- const f = y, _ = ($) => ({
4450
+ const f = y, w = ($) => ({
4451
4451
  "data-testid": $.username ?? $.custom_id ?? $.id
4452
4452
  }), h = x(() => {
4453
4453
  var Y, se, he, Ie;
@@ -4469,9 +4469,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4469
4469
  },
4470
4470
  schema: r.config.filterSchema
4471
4471
  };
4472
- }), w = x(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = gl(r.config, h.value, w.value), S = () => {
4472
+ }), _ = x(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = gl(r.config, h.value, _.value), S = () => {
4473
4473
  A.value = "";
4474
- }, D = () => {
4474
+ }, V = () => {
4475
4475
  l.value++;
4476
4476
  }, re = F(null), R = ($, Y) => {
4477
4477
  const se = $.id;
@@ -4534,7 +4534,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4534
4534
  Y || U(), l.value++, t("add:success", $);
4535
4535
  }, J = () => {
4536
4536
  u.value && k();
4537
- }, H = F(void 0), fe = F(!1), _e = F(""), me = ($) => {
4537
+ }, H = F(void 0), fe = F(!1), we = F(""), me = ($) => {
4538
4538
  H.value = $, fe.value = !0;
4539
4539
  }, Ne = () => {
4540
4540
  fe.value = !1, H.value = void 0;
@@ -4549,7 +4549,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4549
4549
  const $ = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4550
4550
  await s.delete($), t("remove:success", H.value), Ne(), l.value++;
4551
4551
  } catch ($) {
4552
- _e.value = $.message || i("consumer_groups.errors.delete"), t("error", $);
4552
+ we.value = $.message || i("consumer_groups.errors.delete"), t("error", $);
4553
4553
  } finally {
4554
4554
  Bt.value = !1;
4555
4555
  }
@@ -4575,7 +4575,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4575
4575
  await r.canCreate() && (mt.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), mt.value.ctaText = u.value ? i("consumer_groups.actions.add_to_group") : i("consumer_groups.actions.create"));
4576
4576
  }), ($, Y) => {
4577
4577
  const se = q("KButton"), he = q("KBadge"), Ie = q("KTruncate"), He = q("KDropdownItem"), Pt = q("KClipboardProvider"), vr = q("KPrompt");
4578
- return d(), j("div", wl, [
4578
+ return d(), j("div", _l, [
4579
4579
  E(m(Ds), {
4580
4580
  "cache-identifier": e.cacheIdentifier,
4581
4581
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
@@ -4589,13 +4589,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4589
4589
  "pagination-type": "offset",
4590
4590
  "preferences-storage-key": p.value,
4591
4591
  query: A.value,
4592
- "row-attributes": _,
4592
+ "row-attributes": w,
4593
4593
  "table-headers": m(f),
4594
4594
  "use-action-outside": e.useActionOutside,
4595
4595
  onClearSearchInput: S,
4596
4596
  "onClick:row": Y[3] || (Y[3] = (Q) => G(Q)),
4597
4597
  onEmptyStateCtaClicked: J,
4598
- onSort: D
4598
+ onSort: V
4599
4599
  }, {
4600
4600
  "toolbar-filter": g(() => [
4601
4601
  u.value ? z("", !0) : (d(), P(m(il), {
@@ -4636,7 +4636,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4636
4636
  }, 8, ["to"]))
4637
4637
  ]),
4638
4638
  name: g(({ rowValue: Q }) => [
4639
- V("b", null, N(Q ?? "-"), 1)
4639
+ D("b", null, N(Q ?? "-"), 1)
4640
4640
  ]),
4641
4641
  consumers_count: g(({ rowValue: Q }) => [
4642
4642
  Z(N(Q ?? "-"), 1)
@@ -4656,7 +4656,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4656
4656
  }, 1024))), 128))
4657
4657
  ]),
4658
4658
  _: 2
4659
- }, 1024)) : (d(), j("span", _l, "-"))
4659
+ }, 1024)) : (d(), j("span", wl, "-"))
4660
4660
  ]),
4661
4661
  actions: g(({ row: Q }) => [
4662
4662
  E(Pt, null, {
@@ -4768,29 +4768,29 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4768
4768
  tag: "p"
4769
4769
  }, je({
4770
4770
  consumerGroup: g(() => [
4771
- V("strong", null, N(H.value.name || H.value.id), 1)
4771
+ D("strong", null, N(H.value.name || H.value.id), 1)
4772
4772
  ]),
4773
4773
  _: 2
4774
4774
  }, [
4775
4775
  e.config.consumerUsername ? {
4776
4776
  name: "consumer",
4777
4777
  fn: g(() => [
4778
- V("strong", null, N(e.config.consumerUsername), 1)
4778
+ D("strong", null, N(e.config.consumerUsername), 1)
4779
4779
  ]),
4780
4780
  key: "0"
4781
4781
  } : void 0
4782
4782
  ]), 1032, ["keypath"]),
4783
- V("p", null, N(m(i)("consumer_groups.consumers.exit.description")), 1)
4783
+ D("p", null, N(m(i)("consumer_groups.consumers.exit.description")), 1)
4784
4784
  ]),
4785
4785
  _: 1
4786
4786
  }, 8, ["is-visible", "title"])) : z("", !0)
4787
4787
  ]);
4788
4788
  };
4789
4789
  }
4790
- }), Pl = /* @__PURE__ */ qt(Il, [["__scopeId", "data-v-5e849c87"]]), Al = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-label" }, xl = {
4790
+ }), Dl = /* @__PURE__ */ qt(Il, [["__scopeId", "data-v-5e849c87"]]), Al = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-container" }, xl = { class: "select-item-label" }, Tl = {
4791
4791
  key: 0,
4792
- class: "select-item-desc"
4793
- }, Tl = /* @__PURE__ */ ae({
4792
+ class: "select-item-description"
4793
+ }, $l = /* @__PURE__ */ ae({
4794
4794
  __name: "ConsumerGroupForm",
4795
4795
  props: {
4796
4796
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4832,7 +4832,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4832
4832
  searchKeys: ["username", "custom_id", "id"]
4833
4833
  }), { axiosInstance: f } = Kt({
4834
4834
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4835
- }), { getMessageFromError: _ } = ml(), h = x(() => y.value.map((k) => ({
4835
+ }), { getMessageFromError: w } = ml(), h = x(() => y.value.map((k) => ({
4836
4836
  label: k.username || k.custom_id,
4837
4837
  value: k.id,
4838
4838
  selected: a.fields.consumers.includes(k.id),
@@ -4841,19 +4841,19 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4841
4841
  }))), A = x(() => {
4842
4842
  var k, U;
4843
4843
  return (U = Me.form[(k = t.config) == null ? void 0 : k.app]) == null ? void 0 : U.edit;
4844
- }), b = x(() => t.consumerGroupId ? nt.Edit : nt.Create), w = x(() => !!a.fields.name && !C.value), L = x(() => JSON.stringify(a.fields) !== JSON.stringify(s)), v = (k, U = "", ie = "") => {
4845
- var H, fe, _e, me, Ne, et;
4844
+ }), b = x(() => t.consumerGroupId ? nt.Edit : nt.Create), _ = x(() => !!a.fields.name && !C.value), L = x(() => JSON.stringify(a.fields) !== JSON.stringify(s)), v = (k, U = "", ie = "") => {
4845
+ var H, fe, we, me, Ne, et;
4846
4846
  let J = `${(H = t.config) == null ? void 0 : H.apiBaseUrl}${Me.form[(fe = t.config) == null ? void 0 : fe.app][k]}`;
4847
- return ((_e = t.config) == null ? void 0 : _e.app) === "konnect" ? J = J.replace(/{controlPlaneId}/gi, ((me = t.config) == null ? void 0 : me.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (J = J.replace(/\/{workspace}/gi, (et = t.config) != null && et.workspace ? `/${t.config.workspace}` : "")), J = J.replace(/{id}/gi, U || t.consumerGroupId), (k === "addConsumer" || k === "removeConsumer") && (J = J.replace(/{consumerId}/gi, ie)), J;
4847
+ return ((we = t.config) == null ? void 0 : we.app) === "konnect" ? J = J.replace(/{controlPlaneId}/gi, ((me = t.config) == null ? void 0 : me.controlPlaneId) || "") : ((Ne = t.config) == null ? void 0 : Ne.app) === "kongManager" && (J = J.replace(/\/{workspace}/gi, (et = t.config) != null && et.workspace ? `/${t.config.workspace}` : "")), J = J.replace(/{id}/gi, U || t.consumerGroupId), (k === "addConsumer" || k === "removeConsumer") && (J = J.replace(/{consumerId}/gi, ie)), J;
4848
4848
  }, S = () => {
4849
4849
  var k;
4850
4850
  i.push(((k = t.config) == null ? void 0 : k.cancelRoute) || { name: "consumer-group-list" });
4851
- }, D = (k) => {
4851
+ }, V = (k) => {
4852
4852
  r("error", k);
4853
4853
  }, re = (k) => {
4854
4854
  r("loading", k);
4855
4855
  }, R = async (k) => {
4856
- var ie, J, H, fe, _e;
4856
+ var ie, J, H, fe, we;
4857
4857
  a.fields.name = ((ie = k == null ? void 0 : k.item) == null ? void 0 : ie.name) || ((J = k == null ? void 0 : k.consumer_group) == null ? void 0 : J.name) || (k == null ? void 0 : k.name) || "";
4858
4858
  const U = ((H = k == null ? void 0 : k.item) == null ? void 0 : H.tags) || (k == null ? void 0 : k.consumer_group.tags) || (k == null ? void 0 : k.tags) || [];
4859
4859
  if (a.fields.tags = (U == null ? void 0 : U.join(", ")) || "", "consumers" in k)
@@ -4861,7 +4861,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4861
4861
  else
4862
4862
  try {
4863
4863
  const { data: me } = await f.get(v("getConsumers"));
4864
- a.fields.consumers = "consumers" in me ? (_e = me == null ? void 0 : me.consumers) == null ? void 0 : _e.map((Ne) => Ne.id) : [];
4864
+ a.fields.consumers = "consumers" in me ? (we = me == null ? void 0 : me.consumers) == null ? void 0 : we.map((Ne) => Ne.id) : [];
4865
4865
  } catch (me) {
4866
4866
  T(me);
4867
4867
  }
@@ -4873,7 +4873,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4873
4873
  tags: (U = (k = a.fields.tags.split(",")) == null ? void 0 : k.map((ie) => String(ie || "").trim())) == null ? void 0 : U.filter((ie) => ie !== "")
4874
4874
  };
4875
4875
  }, K = async (k, U = "") => await f.post(v("addConsumer", U, k), { consumer: k }), I = async (k, U = "") => await f.delete(v("removeConsumer", U, k)), T = (k) => {
4876
- a.errorMessage = _(k), r("error", k);
4876
+ a.errorMessage = w(k), r("error", k);
4877
4877
  }, O = (k = t.consumerGroupId) => {
4878
4878
  Object.assign(s, a.fields), r("update", { ...a.fields, id: k });
4879
4879
  }, B = (k, U, ie = t.consumerGroupId) => {
@@ -4938,7 +4938,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4938
4938
  const ie = q("KInput"), J = q("KMultiselect");
4939
4939
  return d(), j("div", Al, [
4940
4940
  E(m(Fs), {
4941
- "can-submit": w.value && L.value,
4941
+ "can-submit": _.value && L.value,
4942
4942
  config: e.config,
4943
4943
  "edit-id": e.consumerGroupId,
4944
4944
  "error-message": a.errorMessage || m(p) || C.value,
@@ -4946,7 +4946,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4946
4946
  "form-fields": a.fields,
4947
4947
  "is-readonly": a.readonly,
4948
4948
  onCancel: S,
4949
- "onFetch:error": U[3] || (U[3] = (H) => D(H)),
4949
+ "onFetch:error": U[3] || (U[3] = (H) => V(H)),
4950
4950
  "onFetch:success": R,
4951
4951
  onLoading: U[4] || (U[4] = (H) => re(H)),
4952
4952
  onSubmit: te
@@ -5005,10 +5005,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5005
5005
  onQueryChange: m(l)
5006
5006
  }, {
5007
5007
  "item-template": g(({ item: H }) => {
5008
- var fe, _e, me;
5008
+ var fe, we, me;
5009
5009
  return [
5010
- V("div", Sl, N(H.label), 1),
5011
- (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), j("div", xl, N((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5010
+ D("div", Sl, [
5011
+ D("div", xl, N(H.label), 1),
5012
+ (fe = H == null ? void 0 : H.data) != null && fe.username && ((we = H == null ? void 0 : H.data) != null && we.custom_id) ? (d(), j("div", Tl, N((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5013
+ ])
5012
5014
  ];
5013
5015
  }),
5014
5016
  _: 1
@@ -5022,7 +5024,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5022
5024
  ]);
5023
5025
  };
5024
5026
  }
5025
- }), Dl = /* @__PURE__ */ qt(Tl, [["__scopeId", "data-v-86a1dbb6"]]), $l = { class: "kong-ui-consumer-group-entity-config-card" }, Vl = /* @__PURE__ */ ae({
5027
+ }), Vl = /* @__PURE__ */ qt($l, [["__scopeId", "data-v-27ebc1e1"]]), jl = { class: "kong-ui-consumer-group-entity-config-card" }, Rl = /* @__PURE__ */ ae({
5026
5028
  __name: "ConsumerGroupConfigCard",
5027
5029
  props: {
5028
5030
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5058,7 +5060,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5058
5060
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
5059
5061
  }
5060
5062
  });
5061
- return (i, a) => (d(), j("div", $l, [
5063
+ return (i, a) => (d(), j("div", jl, [
5062
5064
  E(m(js), {
5063
5065
  config: e.config,
5064
5066
  "config-card-doc": e.configCardDoc,
@@ -5075,7 +5077,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5075
5077
  }
5076
5078
  });
5077
5079
  export {
5078
- Vl as ConsumerGroupConfigCard,
5079
- Dl as ConsumerGroupForm,
5080
- Pl as ConsumerGroupList
5080
+ Rl as ConsumerGroupConfigCard,
5081
+ Vl as ConsumerGroupForm,
5082
+ Dl as ConsumerGroupList
5081
5083
  };