@kong-ui-public/entities-consumer-groups 2.4.13-pr.1138.ea95de26.0 → 2.4.13

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 A, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ut, onBeforeMount as ct, resolveComponent as q, openBlock as d, createBlock as P, createSlots as je, withCtx as g, createElementVNode as V, createTextVNode as Z, toDisplayString as K, 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, resolveDynamicComponent as Be, normalizeProps as Cr, guardReactiveProps as kr, mergeProps as vt, onMounted as wr, onUnmounted as _r, normalizeStyle as yn, inject as Ir, pushScopeId as hn, popScopeId as vn, reactive as Pt } from "vue";
1
+ import { defineComponent as ae, ref as F, computed as A, watch as Te, renderSlot as X, createCommentVNode as z, unref as m, useSlots as ut, onBeforeMount as ct, 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, resolveDynamicComponent as Be, normalizeProps as Cr, guardReactiveProps as kr, mergeProps as vt, onMounted as _r, onUnmounted as wr, normalizeStyle as yn, inject as Ir, pushScopeId as hn, popScopeId as vn, reactive as Pt } from "vue";
2
2
  import { useRouter as It } from "vue-router";
3
3
  import { createI18n as At, i18nTComponent as bn } from "@kong-ui-public/i18n";
4
4
  import Ar from "axios";
@@ -140,7 +140,7 @@ const dt = {
140
140
  }
141
141
  }
142
142
  };
143
- var Cn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(Cn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ne || {}), oe = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(oe || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
143
+ var Cn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(Cn || {}), nt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(nt || {}), Ke = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Ke || {}), oe = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(oe || {}), ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ke || {});
144
144
  function St(e = {}) {
145
145
  return {
146
146
  axiosInstance: Ar.create({
@@ -208,7 +208,7 @@ const Er = {
208
208
  }, Fr = {
209
209
  message: "Are you sure you want to delete this {entityType}?",
210
210
  messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
211
- }, Kr = {
211
+ }, Nr = {
212
212
  actions: {
213
213
  viewConfiguration: "View Configuration",
214
214
  save: "Save",
@@ -217,14 +217,14 @@ const Er = {
217
217
  },
218
218
  configuration: {
219
219
  title: "Configuration",
220
- message: "Export configuration of core Gateway Manager objects, like services, routes, and plugins, to YAML or JSON. This allows you to import the file to APIOps tooling, like decK.",
220
+ message: "Configuring your API has never been easier. Use YAML for human-friendly simplicity or JSON for machine-readability. Streamline your settings effortlessly.",
221
221
  yaml: "YAML",
222
222
  json: "JSON"
223
223
  },
224
224
  errors: {
225
225
  edit: "The entity could not be edited at this time."
226
226
  }
227
- }, Nr = {
227
+ }, Kr = {
228
228
  emptyState: {
229
229
  noSearchResultsTitle: "No results found",
230
230
  noSearchResultsMessage: "Please adjust the criteria and try again.",
@@ -295,8 +295,8 @@ const Er = {
295
295
  }, Vr = {
296
296
  global: Er,
297
297
  deleteModal: Fr,
298
- baseForm: Kr,
299
- baseTable: Nr,
298
+ baseForm: Nr,
299
+ baseTable: Kr,
300
300
  baseConfigCard: qr,
301
301
  filter: Br,
302
302
  debouncedFilter: Lr,
@@ -364,8 +364,8 @@ function Dr(e, n, t, r = {
364
364
  headers: e.requestHeaders
365
365
  }), { i18n: { t: i } } = xt(), { 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: S } = kn(), b = async () => {
371
371
  try {
@@ -377,10 +377,10 @@ function Dr(e, n, t, r = {
377
377
  } finally {
378
378
  l.value = !1;
379
379
  }
380
- }, w = F(""), L = async (v) => {
380
+ }, _ = F(""), L = async (v) => {
381
381
  var x, D, re;
382
- if (w.value !== v)
383
- if (w.value = v || "", f.value === void 0)
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 G = h + "";
@@ -390,18 +390,18 @@ function Dr(e, n, t, r = {
390
390
  } else if (v) {
391
391
  const G = [];
392
392
  S(v) && r.searchKeys.includes("id") ? G.push((async () => {
393
- const { data: N } = await o.get(`${h}/${v}`);
394
- return [N[r.fetchedItemsKey] ?? N];
393
+ const { data: K } = await o.get(`${h}/${v}`);
394
+ return [K[r.fetchedItemsKey] ?? K];
395
395
  })()) : G.push(
396
- ...r.searchKeys.filter((N) => N !== "id").map(async (N) => {
397
- const { data: I } = await o.get(`${h}?${N}=${v}`);
396
+ ...r.searchKeys.filter((K) => K !== "id").map(async (K) => {
397
+ const { data: I } = await o.get(`${h}?${K}=${v}`);
398
398
  return I[r.fetchedItemsKey];
399
399
  })
400
400
  );
401
401
  const C = await Promise.all(G), R = /* @__PURE__ */ new Set();
402
- c.value = [], (x = C == null ? void 0 : C.forEach) == null || x.call(C, (N) => {
402
+ c.value = [], (x = C == null ? void 0 : C.forEach) == null || x.call(C, (K) => {
403
403
  var I;
404
- (I = N == null ? void 0 : N.forEach) == null || I.call(N, (T) => {
404
+ (I = K == null ? void 0 : K.forEach) == null || I.call(K, (T) => {
405
405
  R.has(T.id) || (R.add(T.id), c.value.push(T));
406
406
  });
407
407
  });
@@ -416,8 +416,8 @@ function Dr(e, n, t, r = {
416
416
  l.value = !0, p.value = "", v ? (c.value = (re = f.value) == null ? void 0 : re.filter((G) => {
417
417
  var C;
418
418
  let R = !1;
419
- for (const N of r.searchKeys) {
420
- const I = typeof G[N] == "string" ? (C = G[N]) == null ? void 0 : C.toLowerCase() : G[N];
419
+ for (const K of r.searchKeys) {
420
+ const I = typeof G[K] == "string" ? (C = G[K]) == null ? void 0 : C.toLowerCase() : G[K];
421
421
  I != null && I.includes(v.toLowerCase()) && (R = !0);
422
422
  }
423
423
  return R;
@@ -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 = A(
485
485
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
486
486
  ), i = A(
@@ -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,12 +501,12 @@ function wn(e, n) {
501
501
  function zr(e, n, t = "data") {
502
502
  const r = m(n), { axiosInstance: o } = St({
503
503
  headers: e.requestHeaders
504
- }), i = wn(e, r), a = F({
505
- status: Ne.Idle
504
+ }), i = _n(e, r), a = F({
505
+ status: Ke.Idle
506
506
  });
507
507
  return { fetcher: async (s) => {
508
508
  try {
509
- a.value = { status: Ne.Loading };
509
+ a.value = { status: Ke.Loading };
510
510
  let l = i(s);
511
511
  l.includes("filter[name]") && (l = `${l}&page[size]=${s.pageSize}&page[number]=${s.page}`);
512
512
  const { data: u } = await o.get(l), p = t && t.replace(/[^\w-_]/gi, "");
@@ -522,7 +522,7 @@ function zr(e, n, t = "data") {
522
522
  } : null
523
523
  };
524
524
  return a.value = {
525
- status: Ne.Idle,
525
+ status: Ke.Idle,
526
526
  response: y
527
527
  }, y;
528
528
  } catch (l) {
@@ -531,11 +531,11 @@ function zr(e, n, t = "data") {
531
531
  total: 0
532
532
  };
533
533
  return s.query && l.response.status === 404 ? (a.value = {
534
- status: Ne.NoResults,
534
+ status: Ke.NoResults,
535
535
  response: u,
536
536
  error: l
537
537
  }, u) : (a.value = {
538
- status: Ne.Error,
538
+ status: Ke.Error,
539
539
  response: u,
540
540
  error: l
541
541
  }, u);
@@ -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, Vt = (e) => {
552
+ const wn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Vt = (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: xt,
@@ -731,7 +731,7 @@ const ce = {
731
731
  width: "100%",
732
732
  xmlns: "http://www.w3.org/2000/svg"
733
733
  }, [
734
- e.title ? (d(), j("title", uo, K(e.title), 1)) : z("", !0),
734
+ e.title ? (d(), j("title", uo, N(e.title), 1)) : z("", !0),
735
735
  co
736
736
  ], 8, lo))
737
737
  ]),
@@ -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,13 +810,13 @@ const ce = {
810
810
  }), s.value ? c(t("message.fail")) : o("error", r.uuid);
811
811
  return;
812
812
  }
813
- const S = ((_ = 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)) + (S ? "..." : "")}"`;
813
+ const S = ((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)) + (S ? "..." : "")}"`;
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"), vt({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
@@ -827,7 +827,7 @@ const ce = {
827
827
  e.truncated ? "truncated-uuid" : null,
828
828
  e.useMono ? "mono" : null
829
829
  ])
830
- }, K(p.value), 3)
830
+ }, N(p.value), 3)
831
831
  ]),
832
832
  _: 1
833
833
  }, 16)) : z("", !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, K(s.value), 1)
898
+ V("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(Tt, {
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: {
@@ -934,14 +934,14 @@ const ce = {
934
934
  onClick: r[0] || (r[0] = (i) => t.$emit("navigation-click", e.item))
935
935
  }, {
936
936
  default: g(() => [
937
- Z(K(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
937
+ Z(N(e.item.value || m(n)("baseConfigCard.commonFields.link")), 1)
938
938
  ]),
939
939
  _: 1
940
940
  })
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: {
@@ -957,15 +957,15 @@ const ce = {
957
957
  appearance: e.status ? "success" : "neutral"
958
958
  }, {
959
959
  default: g(() => [
960
- Z(K(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
960
+ Z(N(e.status ? m(n)("baseConfigCard.statusBadge.enabledLabel") : m(n)("baseConfigCard.statusBadge.disabledLabel")), 1)
961
961
  ]),
962
962
  _: 1
963
963
  }, 8, ["appearance"]);
964
964
  };
965
965
  }
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 }, Ko = ["data-testid"], No = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = {
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,17 +1119,17 @@ const ce = {
1119
1119
  };
1120
1120
  }
1121
1121
  }), y = F(), { isTruncated: f } = ce.useTruncationDetector(y);
1122
- return (_, h) => {
1123
- const S = q("KLabel"), b = q("KBadge"), w = q("KTooltip");
1122
+ return (w, h) => {
1123
+ const S = q("KLabel"), b = q("KBadge"), _ = q("KTooltip");
1124
1124
  return d(), j("div", $o, [
1125
1125
  V("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(S, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1131
1131
  default: g(() => [
1132
- Z(K(e.item.label) + " ", 1)
1132
+ Z(N(e.item.label) + " ", 1)
1133
1133
  ]),
1134
1134
  _: 2
1135
1135
  }, [
@@ -1139,8 +1139,8 @@ const ce = {
1139
1139
  V("div", {
1140
1140
  "data-testid": `${e.item.key}-label-tooltip`
1141
1141
  }, [
1142
- X(_.$slots, "label-tooltip", {}, () => [
1143
- Z(K(e.item.tooltip), 1)
1142
+ X(w.$slots, "label-tooltip", {}, () => [
1143
+ Z(N(e.item.tooltip), 1)
1144
1144
  ], !0)
1145
1145
  ], 8, Mo)
1146
1146
  ]),
@@ -1153,7 +1153,7 @@ const ce = {
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, [
@@ -1171,11 +1171,11 @@ const ce = {
1171
1171
  "truncation-tooltip": ""
1172
1172
  }, {
1173
1173
  default: g(() => [
1174
- Z(K(L), 1)
1174
+ Z(N(L), 1)
1175
1175
  ]),
1176
1176
  _: 2
1177
1177
  }, 1032, ["data-testid", "tooltip"]))), 128))
1178
- ], 8, Ko)) : z("", !0),
1178
+ ], 8, No)) : z("", !0),
1179
1179
  c.value.additionalComponent === "CopyUuid" ? (d(), j("div", {
1180
1180
  key: 1,
1181
1181
  class: "copy-uuid-array",
@@ -1186,7 +1186,7 @@ const ce = {
1186
1186
  "data-testid": `${e.item.key}-copy-uuid-${v}`,
1187
1187
  uuid: L
1188
1188
  }), null, 16, ["data-testid", "uuid"]))), 128))
1189
- ], 8, No)) : c.value.additionalComponent === "KMethodBadge" ? (d(), j("div", {
1189
+ ], 8, Ko)) : c.value.additionalComponent === "KMethodBadge" ? (d(), j("div", {
1190
1190
  key: 2,
1191
1191
  class: "method-badge-array",
1192
1192
  "data-testid": `${e.item.key}-badge-methods`
@@ -1198,7 +1198,7 @@ const ce = {
1198
1198
  "data-testid": `${e.item.key}-badge-method-${v}`
1199
1199
  }, {
1200
1200
  default: g(() => [
1201
- Z(K(L), 1)
1201
+ Z(N(L), 1)
1202
1202
  ]),
1203
1203
  _: 2
1204
1204
  }, 1032, ["appearance", "data-testid"]))), 128))
@@ -1213,7 +1213,7 @@ 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
  }, {
@@ -1222,7 +1222,7 @@ const ce = {
1222
1222
  ref_key: "textContent",
1223
1223
  ref: y,
1224
1224
  class: Ee(["attrs-data-text", { truncated: e.truncated }])
1225
- }, K(c.value.text), 3)
1225
+ }, N(c.value.text), 3)
1226
1226
  ]),
1227
1227
  _: 1
1228
1228
  }, 8, ["label"]))
@@ -1238,7 +1238,7 @@ const ce = {
1238
1238
  ]);
1239
1239
  };
1240
1240
  }
1241
- }), Tt = /* @__PURE__ */ we(Uo, [["__scopeId", "data-v-9c87856b"]]), Po = { class: "json-config" }, Vo = {
1241
+ }), Tt = /* @__PURE__ */ _e(Uo, [["__scopeId", "data-v-9c87856b"]]), Po = { class: "json-config" }, Vo = {
1242
1242
  key: 0,
1243
1243
  class: "json-endpoint"
1244
1244
  }, xn = /* @__PURE__ */ ae({
@@ -1288,7 +1288,7 @@ const ce = {
1288
1288
  appearance: n.requestMethod
1289
1289
  }, {
1290
1290
  default: g(() => [
1291
- Z(K(n.requestMethod), 1)
1291
+ Z(N(n.requestMethod), 1)
1292
1292
  ]),
1293
1293
  _: 1
1294
1294
  }, 8, ["appearance"]),
@@ -1528,7 +1528,7 @@ function la() {
1528
1528
  function ua(e) {
1529
1529
  return e === null;
1530
1530
  }
1531
- var Kn = new pe("tag:yaml.org,2002:null", {
1531
+ var Nn = new pe("tag:yaml.org,2002:null", {
1532
1532
  kind: "scalar",
1533
1533
  resolve: sa,
1534
1534
  construct: la,
@@ -1564,7 +1564,7 @@ function da(e) {
1564
1564
  function pa(e) {
1565
1565
  return Object.prototype.toString.call(e) === "[object Boolean]";
1566
1566
  }
1567
- var Nn = new pe("tag:yaml.org,2002:bool", {
1567
+ var Kn = new pe("tag:yaml.org,2002:bool", {
1568
1568
  kind: "scalar",
1569
1569
  resolve: ca,
1570
1570
  construct: da,
@@ -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,12 +1737,12 @@ 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: [
1744
- Kn,
1745
1744
  Nn,
1745
+ Kn,
1746
1746
  qn,
1747
1747
  Bn
1748
1748
  ]
@@ -1819,7 +1819,7 @@ var Gn = new pe("tag:yaml.org,2002:binary", {
1819
1819
  predicate: Oa,
1820
1820
  represent: Ma
1821
1821
  }), Ea = Object.prototype.hasOwnProperty, Fa = Object.prototype.toString;
1822
- function Ka(e) {
1822
+ function Na(e) {
1823
1823
  if (e === null)
1824
1824
  return !0;
1825
1825
  var n = [], t, r, o, i, a, s = e;
@@ -1841,13 +1841,13 @@ function Ka(e) {
1841
1841
  }
1842
1842
  return !0;
1843
1843
  }
1844
- function Na(e) {
1844
+ function Ka(e) {
1845
1845
  return e !== null ? e : [];
1846
1846
  }
1847
1847
  var Hn = new pe("tag:yaml.org,2002:omap", {
1848
1848
  kind: "sequence",
1849
- resolve: Ka,
1850
- construct: Na
1849
+ resolve: Na,
1850
+ construct: Ka
1851
1851
  }), qa = Object.prototype.toString;
1852
1852
  function Ba(e) {
1853
1853
  if (e === null)
@@ -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, S, 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, S, 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"), S = 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, ot, !1, !0), S = 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, ot, !1, !0), b = e.result), f ? Re(e, s, _, S, h, b, r, o, i) : c ? s.push(Re(e, null, _, S, 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"), S = 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, ot, !1, !0), S = 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, ot, !1, !0), b = e.result), f ? Re(e, s, w, S, h, b, r, o, i) : c ? s.push(Re(e, null, w, S, 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, S = !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, S = !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 (!S && 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 ? (S && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !0, o = !0) : S ? (S = !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 (!S && 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 ? (S && (Re(e, c, y, f, w, null, a, s, l), f = w = h = null), b = !0, S = !0, o = !0) : S ? (S = !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"), S && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, S = !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"), S && (Re(e, c, y, f, w, null, a, s, l), f = w = h = null), b = !0, S = !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) && (S && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (S ? _ = e.result : h = e.result), S || (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) && (S && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (S ? w = e.result : h = e.result), S || (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 S && 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 S && 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, S;
2255
+ var i, a, s, l = 1, u = !1, p = !1, c, y, f, w, h, S;
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 = at === 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, Et = 65279, pi = 9, Ze = 10, fi = 13, mi = 32, gi = 33, yi = 34, Ct = 35, hi = 37, vi = 38, bi = 39, Ci = 42, ir = 44, ki = 45, st = 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, Et = 65279, pi = 9, Ze = 10, fi = 13, mi = 32, gi = 33, yi = 34, Ct = 35, hi = 37, vi = 38, bi = 39, Ci = 42, ir = 44, ki = 45, st = 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";
@@ -2432,10 +2432,10 @@ function an(e, n, t) {
2432
2432
  ) : r && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr) && e !== Ct && !(n === st && !o) || on(n) && !lt(n) && e === Ct || n === st && o
2433
2433
  );
2434
2434
  }
2435
- function Ki(e) {
2436
- return Xe(e) && e !== Et && !lt(e) && e !== ki && e !== Ii && e !== st && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr && e !== Ct && e !== vi && e !== Ci && e !== gi && e !== xi && e !== wi && e !== _i && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2437
- }
2438
2435
  function Ni(e) {
2436
+ return Xe(e) && e !== Et && !lt(e) && e !== ki && e !== Ii && e !== st && e !== ir && e !== sr && e !== lr && e !== ur && e !== cr && e !== Ct && e !== vi && e !== Ci && e !== gi && e !== xi && e !== _i && e !== wi && e !== bi && e !== yi && e !== hi && e !== Ai && e !== Si;
2437
+ }
2438
+ function Ki(e) {
2439
2439
  return !lt(e) && e !== st;
2440
2440
  }
2441
2441
  function ze(e, n) {
@@ -2446,9 +2446,9 @@ function dr(e) {
2446
2446
  var n = /^\n* /;
2447
2447
  return n.test(e);
2448
2448
  }
2449
- var pr = 1, wt = 2, fr = 3, mr = 4, Ve = 5;
2449
+ var pr = 1, _t = 2, fr = 3, mr = 4, Ve = 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 = Ki(ze(e, 0)) && Ni(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 Ve;
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 ? Ve : wt : t > 9 && dr(e) ? Ve : a ? i === Qe ? Ve : wt : y ? mr : fr;
2469
+ return !c && !y ? h && !a && !o(e) ? pr : i === Qe ? Ve : _t : t > 9 && dr(e) ? Ve : a ? i === Qe ? Ve : _t : 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 wt:
2493
+ case _t:
2494
2494
  return "'" + n.replace(/'/g, "''") + "'";
2495
2495
  case fr:
2496
2496
  return "|" + sn(n, e.indent) + ln(rn(n, i));
@@ -2617,21 +2617,21 @@ function $e(e, n, t, r, o, i, a) {
2617
2617
  }
2618
2618
  function Ri(e, n) {
2619
2619
  var t = [], r = [], o, i;
2620
- for (_t(e, t, r), o = 0, i = r.length; o < i; o += 1)
2620
+ for (wt(e, t, r), o = 0, i = r.length; o < i; o += 1)
2621
2621
  n.duplicates.push(t[r[o]]);
2622
2622
  n.usedDuplicates = new Array(i);
2623
2623
  }
2624
- function _t(e, n, t) {
2624
+ function wt(e, n, t) {
2625
2625
  var r, o, i;
2626
2626
  if (e !== null && typeof e == "object")
2627
2627
  if (o = n.indexOf(e), o !== -1)
2628
2628
  t.indexOf(o) === -1 && t.push(o);
2629
2629
  else if (n.push(e), Array.isArray(e))
2630
2630
  for (o = 0, i = e.length; o < i; o += 1)
2631
- _t(e[o], n, t);
2631
+ wt(e[o], n, t);
2632
2632
  else
2633
2633
  for (r = Object.keys(e), o = 0, i = r.length; o < i; o += 1)
2634
- _t(e[r[o]], n, t);
2634
+ wt(e[r[o]], n, t);
2635
2635
  }
2636
2636
  function Gi(e, n) {
2637
2637
  n = n || {};
@@ -2653,11 +2653,11 @@ var Ji = pe, Yi = jn, Wi = Fn, Zi = Ln, Qi = Un, Xi = jt, es = rr.load, ts = rr.
2653
2653
  binary: Gn,
2654
2654
  float: Bn,
2655
2655
  map: En,
2656
- null: Kn,
2656
+ null: Nn,
2657
2657
  pairs: zn,
2658
2658
  set: Jn,
2659
2659
  timestamp: Dn,
2660
- bool: Nn,
2660
+ bool: Kn,
2661
2661
  int: qn,
2662
2662
  merge: Rn,
2663
2663
  omap: Hn,
@@ -2761,7 +2761,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2761
2761
  class: Ee(`config-card-details-${l}-props`),
2762
2762
  "data-testid": `config-card-details-${l}-props`
2763
2763
  }, [
2764
- l !== "basic" ? (d(), j("div", ps, K(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2764
+ l !== "basic" ? (d(), j("div", ps, N(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2765
2765
  (d(!0), j(Ce, null, ve(e.propertyCollections[l], (u) => (d(), P(Tt, {
2766
2766
  key: u.key,
2767
2767
  item: u
@@ -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;
@@ -2897,14 +2897,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
2897
2897
  width: "100%",
2898
2898
  xmlns: "http://www.w3.org/2000/svg"
2899
2899
  }, [
2900
- e.title ? (d(), j("title", vs, K(e.title), 1)) : z("", !0),
2900
+ e.title ? (d(), j("title", vs, N(e.title), 1)) : z("", !0),
2901
2901
  bs
2902
2902
  ], 8, hs))
2903
2903
  ]),
2904
2904
  _: 1
2905
2905
  }, 8, ["aria-hidden", "style"]));
2906
2906
  }
2907
- }), ks = /* @__PURE__ */ gs(Cs, [["__scopeId", "data-v-40a7f387"]]), ws = { "data-testid": "config-card-title" }, _s = { class: "config-card-actions" }, Is = ["href"], As = {
2907
+ }), ks = /* @__PURE__ */ gs(Cs, [["__scopeId", "data-v-40a7f387"]]), _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,13 +3040,13 @@ 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), S = F(""), b = F({}), w = A(() => {
3044
- var C, R, N;
3043
+ }, w = F(!1), h = F(!1), S = F(""), b = F({}), _ = A(() => {
3044
+ var C, R, K;
3045
3045
  if (!b.value)
3046
3046
  return [];
3047
3047
  const I = [], T = Object.keys(b.value).length;
3048
3048
  for (const O in b.value) {
3049
- const B = (R = (C = o.configSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = (N = f[O]) == null ? void 0 : N.order;
3049
+ const B = (R = (C = o.configSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = (K = f[O]) == null ? void 0 : K.order;
3050
3050
  let ee = T;
3051
3051
  (W || W === 0) && (ee = W === -1 ? T + 1 : W), B && (ee = B === -1 ? T + 1 : B), I.push([O, ee]);
3052
3052
  }
@@ -3069,9 +3069,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3069
3069
  var C, R;
3070
3070
  if (!b.value || !o.pluginConfigKey)
3071
3071
  return [];
3072
- const N = b.value[o.pluginConfigKey] || {}, I = Object.keys(N).length, T = [];
3073
- for (const O in N) {
3074
- const B = (R = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = N[O];
3072
+ const K = b.value[o.pluginConfigKey] || {}, I = Object.keys(K).length, T = [];
3073
+ for (const O in K) {
3074
+ const B = (R = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = K[O];
3075
3075
  let ee = W != null && W !== "" ? I - 1 : I;
3076
3076
  B && (ee = B === -1 ? I + 1 : B), T.push([O, ee]);
3077
3077
  }
@@ -3079,7 +3079,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3079
3079
  return O[1] - B[1];
3080
3080
  }), T.map((O) => {
3081
3081
  var B;
3082
- const W = O[0], ee = N[W], te = ((B = o.pluginConfigSchema) == null ? void 0 : B[W]) || {};
3082
+ const W = O[0], ee = K[W], te = ((B = o.pluginConfigSchema) == null ? void 0 : B[W]) || {};
3083
3083
  return {
3084
3084
  key: W,
3085
3085
  value: ee,
@@ -3091,26 +3091,26 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3091
3091
  };
3092
3092
  }).filter((O) => !O.hidden);
3093
3093
  }), v = A(() => {
3094
- var C, R, N, I;
3094
+ var C, R, K, I;
3095
3095
  return {
3096
- basic: (C = w.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3097
- advanced: (R = w.value) == null ? void 0 : R.filter((T) => T.section === ke.Advanced),
3098
- plugin: (I = L.value) == null ? void 0 : I.concat((N = w.value) == null ? void 0 : N.filter((T) => T.section === ke.Plugin))
3096
+ basic: (C = _.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3097
+ advanced: (R = _.value) == null ? void 0 : R.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
  }), x = A(() => {
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
3103
  }), D = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = A(() => {
3104
3104
  var C, R;
3105
- let N = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3106
- return o.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((C = o.config) == null ? void 0 : C.controlPlaneId) || "") : o.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (R = o.config) != null && R.workspace ? `/${o.config.workspace}` : "")), N = N.replace(/{id}/gi, o.config.entityId), N;
3105
+ let K = `${o.config.apiBaseUrl}${o.fetchUrl}`;
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, (R = o.config) != null && R.workspace ? `/${o.config.workspace}` : "")), K = K.replace(/{id}/gi, o.config.entityId), K;
3107
3107
  }), G = (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 }), ct(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,21 +3127,21 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3127
3127
  const R = s(C);
3128
3128
  S.value = R.startsWith("code") ? a("baseConfigCard.errors.load") : R, h.value = !0, r("fetch:error", C);
3129
3129
  } finally {
3130
- _.value = !1;
3130
+ w.value = !1;
3131
3131
  }
3132
3132
  }), (C, R) => {
3133
- const N = q("KLabel"), I = q("KSelect"), T = q("KButton"), O = q("KClipboardProvider"), B = q("KSkeleton"), W = q("KEmptyState"), ee = q("KCard");
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
+ V("div", ws, [
3137
3137
  X(C.$slots, "actions", {}, void 0, !0),
3138
- e.config.jsonYamlEnabled ? (d(), P(N, {
3138
+ e.config.jsonYamlEnabled ? (d(), P(K, {
3139
3139
  key: 0,
3140
3140
  class: "config-format-select-label",
3141
3141
  "data-testid": "config-format-select-label"
3142
3142
  }, {
3143
3143
  default: g(() => [
3144
- Z(K(e.label), 1)
3144
+ Z(N(e.label), 1)
3145
3145
  ]),
3146
3146
  _: 1
3147
3147
  })) : z("", !0),
@@ -3170,14 +3170,14 @@ 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",
3177
3177
  onClick: (ne) => G(te)
3178
3178
  }, {
3179
3179
  default: g(() => [
3180
- Z(K(m(a)("baseConfigCard.actions.copy")), 1)
3180
+ Z(N(m(a)("baseConfigCard.actions.copy")), 1)
3181
3181
  ]),
3182
3182
  _: 2
3183
3183
  }, 1032, ["onClick"])) : z("", !0)
@@ -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, K(S.value), 1)
3201
+ V("h3", null, N(S.value), 1)
3202
3202
  ]),
3203
3203
  _: 1
3204
3204
  })) : z("", !0),
@@ -3227,7 +3227,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3227
3227
  class: Ee(`config-card-details-${te}-props`),
3228
3228
  "data-testid": `config-card-details-${te}-props`
3229
3229
  }, [
3230
- te !== "basic" ? (d(), j("div", Ts, K(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3230
+ te !== "basic" ? (d(), j("div", Ts, N(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3231
3231
  (d(!0), j(Ce, null, ve(v.value[te], (ne) => (d(), P(Tt, {
3232
3232
  key: ne.key,
3233
3233
  item: ne
@@ -3259,9 +3259,9 @@ 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
+ V("div", _s, [
3263
3263
  X(C.$slots, "title", {}, () => [
3264
- Z(K(m(a)("baseConfigCard.title")), 1)
3264
+ Z(N(m(a)("baseConfigCard.title")), 1)
3265
3265
  ], !0)
3266
3266
  ])
3267
3267
  ]),
@@ -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,7 +3330,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3330
3330
  var t;
3331
3331
  const r = n, o = e, i = It(), { 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 = A(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), _ = A(() => {
3333
+ }), u = F(!1), p = F(!1), c = F(""), y = A(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), w = A(() => {
3334
3334
  var v, x;
3335
3335
  let D = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3336
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, (x = o.config) != null && x.workspace ? `/${o.config.workspace}` : "")), o.editId ? (D = D.replace(/{id}/gi, o.editId), D) : (D = D.replace(/\/{id}/gi, ""), D);
@@ -3340,7 +3340,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
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 x = s(v);
@@ -3367,7 +3367,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3367
3367
  u.value = !1;
3368
3368
  }
3369
3369
  }), (v, x) => {
3370
- const D = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), R = q("KTabs"), N = q("KSlideout"), I = q("KCard");
3370
+ const D = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), R = 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
3373
  u.value ? (d(), P(D, {
@@ -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, K(c.value), 1)
3384
+ V("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(G, {
@@ -3406,7 +3406,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3406
3406
  onClick: x[0] || (x[0] = (T) => h())
3407
3407
  }, {
3408
3408
  default: g(() => [
3409
- Z(K(m(a)("baseForm.actions.viewConfiguration")), 1)
3409
+ Z(N(m(a)("baseForm.actions.viewConfiguration")), 1)
3410
3410
  ]),
3411
3411
  _: 1
3412
3412
  })
@@ -3418,7 +3418,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3418
3418
  type: "reset"
3419
3419
  }, {
3420
3420
  default: g(() => [
3421
- Z(K(m(a)("baseForm.actions.cancel")), 1)
3421
+ Z(N(m(a)("baseForm.actions.cancel")), 1)
3422
3422
  ]),
3423
3423
  _: 1
3424
3424
  }, 8, ["disabled"]),
@@ -3429,14 +3429,14 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3429
3429
  type: "submit"
3430
3430
  }, {
3431
3431
  default: g(() => [
3432
- Z(K(m(a)("baseForm.actions.save")), 1)
3432
+ Z(N(m(a)("baseForm.actions.save")), 1)
3433
3433
  ]),
3434
3434
  _: 1
3435
3435
  }, 8, ["disabled"])
3436
3436
  ], !0)
3437
3437
  ])
3438
3438
  ], 32)),
3439
- E(N, {
3439
+ E(K, {
3440
3440
  "close-button-alignment": "end",
3441
3441
  "data-testid": "form-view-configuration-slideout",
3442
3442
  "has-overlay": !1,
@@ -3446,7 +3446,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3446
3446
  onClose: x[1] || (x[1] = (T) => h())
3447
3447
  }, {
3448
3448
  default: g(() => [
3449
- V("div", null, K(m(a)("baseForm.configuration.message")), 1),
3449
+ V("div", null, N(m(a)("baseForm.configuration.message")), 1),
3450
3450
  E(R, {
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,10 +3474,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3474
3474
  });
3475
3475
  };
3476
3476
  }
3477
- }), Fs = /* @__PURE__ */ we(Es, [["__scopeId", "data-v-4ef70725"]]), Ks = {
3477
+ }), Fs = /* @__PURE__ */ _e(Es, [["__scopeId", "data-v-4ef70725"]]), Ns = {
3478
3478
  key: 0,
3479
3479
  "data-testid": "first-col"
3480
- }, Ns = /* @__PURE__ */ ae({
3480
+ }, Ks = /* @__PURE__ */ ae({
3481
3481
  __name: "EntityBaseTableCell",
3482
3482
  props: {
3483
3483
  keyName: {
@@ -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
- ), _ = A(() => o.value ? u.value > p.value : !1);
3525
- return wr(() => {
3524
+ ), w = A(() => o.value ? u.value > p.value : !1);
3525
+ return _r(() => {
3526
3526
  s();
3527
- }), _r(() => {
3527
+ }), wr(() => {
3528
3528
  f();
3529
3529
  }), (h, S) => {
3530
3530
  const b = q("KTooltip");
@@ -3533,9 +3533,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3533
3533
  ref: l,
3534
3534
  class: "content-wrapper"
3535
3535
  }, [
3536
- o.value ? (d(), j("span", Ks, [
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(Ns, [["__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({
@@ -3703,15 +3703,15 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3703
3703
  textOverflow: "ellipsis"
3704
3704
  }), D;
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
3709
  }, h = A(() => t.disableRowClick ? void 0 : (x, D) => {
3710
3710
  r("click:row", D);
3711
3711
  }), S = (x) => {
3712
3712
  r("sort", x);
3713
- }, { setTablePreferences: b, getTablePreferences: w } = Or(), L = A(() => {
3714
- const x = w(t.preferencesStorageKey);
3713
+ }, { setTablePreferences: b, getTablePreferences: _ } = Or(), L = A(() => {
3714
+ const x = _(t.preferencesStorageKey);
3715
3715
  return {
3716
3716
  ...t.initialFetcherParams,
3717
3717
  ...x
@@ -3720,8 +3720,8 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3720
3720
  t.preferencesStorageKey && b(t.preferencesStorageKey, x);
3721
3721
  };
3722
3722
  return (x, D) => {
3723
- const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), R = q("KTable"), N = q("KCard");
3724
- return d(), P(N, {
3723
+ const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), R = q("KTable"), K = q("KCard");
3724
+ return d(), P(K, {
3725
3725
  class: "kong-ui-entity-base-table",
3726
3726
  title: e.title
3727
3727
  }, {
@@ -3819,7 +3819,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3819
3819
  rowKey: B,
3820
3820
  rowValue: W
3821
3821
  }, () => [
3822
- Z(K(W), 1)
3822
+ Z(N(W), 1)
3823
3823
  ], !0)
3824
3824
  ]),
3825
3825
  _: 2
@@ -3832,7 +3832,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3832
3832
  }, 8, ["title"]);
3833
3833
  };
3834
3834
  }
3835
- }), Vs = /* @__PURE__ */ we(Ps, [["__scopeId", "data-v-ecfaa7cf"]]), Ds = {
3835
+ }), Vs = /* @__PURE__ */ _e(Ps, [["__scopeId", "data-v-ecfaa7cf"]]), Ds = {
3836
3836
  key: 0,
3837
3837
  class: "kong-ui-entity-delete-error"
3838
3838
  }, Rs = {
@@ -3899,7 +3899,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3899
3899
  e.error ? (d(), j("div", Ds, [
3900
3900
  E(p, { appearance: "danger" }, {
3901
3901
  alertMessage: g(() => [
3902
- Z(K(e.error), 1)
3902
+ Z(N(e.error), 1)
3903
3903
  ]),
3904
3904
  _: 1
3905
3905
  })
@@ -3910,21 +3910,21 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
3910
3910
  tag: "p"
3911
3911
  }, je({
3912
3912
  entityType: g(() => [
3913
- Z(K(r.entityType), 1)
3913
+ Z(N(r.entityType), 1)
3914
3914
  ]),
3915
3915
  _: 2
3916
3916
  }, [
3917
3917
  r.entityName ? {
3918
3918
  name: "entityName",
3919
3919
  fn: g(() => [
3920
- V("strong", null, K(r.entityName), 1)
3920
+ V("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, K(r.description), 1)
3927
+ V("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",
@@ -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 = A(() => {
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 = A(() => {
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,10 +4032,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4032
4032
  }, h = () => {
4033
4033
  a.value = {}, S(!0);
4034
4034
  }, S = (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) => {
4038
+ return (b, _) => {
4039
4039
  const L = q("KInput"), v = q("KButton"), x = q("KSelect"), D = q("KMenuItem"), re = q("KMenu");
4040
4040
  return e.config.isExactMatch ? (d(), P(L, {
4041
4041
  key: 0,
@@ -4058,7 +4058,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4058
4058
  }, {
4059
4059
  default: g(() => [
4060
4060
  E(fn),
4061
- Z(" " + K(m(t)("filter.filterButtonText")) + " " + K(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4061
+ Z(" " + N(m(t)("filter.filterButtonText")) + " " + N(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4062
4062
  ]),
4063
4063
  _: 1
4064
4064
  }),
@@ -4078,21 +4078,21 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4078
4078
  }, {
4079
4079
  itemTitle: g(() => [
4080
4080
  V("span", Xs, [
4081
- Z(K(G.label) + " ", 1),
4081
+ Z(N(G.label) + " ", 1),
4082
4082
  Je(V("span", el, null, 512), [
4083
4083
  [Ye, s.value.includes(G.value)]
4084
4084
  ])
4085
4085
  ])
4086
4086
  ]),
4087
4087
  itemBody: g(() => {
4088
- var R, N;
4088
+ var R, K;
4089
4089
  return [
4090
4090
  V("div", tl, [
4091
4091
  V("label", {
4092
4092
  class: "menu-item-label",
4093
4093
  for: c(G.value)
4094
- }, K(m(t)("filter.fieldLabel")), 9, nl),
4095
- ((N = (R = e.config.schema) == null ? void 0 : R[G.value]) == null ? void 0 : N.type) === "select" ? (d(), P(x, {
4094
+ }, N(m(t)("filter.fieldLabel")), 9, nl),
4095
+ ((K = (R = e.config.schema) == null ? void 0 : R[G.value]) == null ? void 0 : K.type) === "select" ? (d(), P(x, {
4096
4096
  key: 0,
4097
4097
  id: c(G.value),
4098
4098
  modelValue: a.value[G.value],
@@ -4114,10 +4114,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4114
4114
  appearance: "tertiary",
4115
4115
  "data-testid": "apply-filter",
4116
4116
  size: "small",
4117
- onClick: w[0] || (w[0] = (I) => S(!0))
4117
+ onClick: _[0] || (_[0] = (I) => S(!0))
4118
4118
  }, {
4119
4119
  default: g(() => [
4120
- Z(K(m(t)("filter.applyButtonText")), 1)
4120
+ Z(N(m(t)("filter.applyButtonText")), 1)
4121
4121
  ]),
4122
4122
  _: 1
4123
4123
  }),
@@ -4125,10 +4125,10 @@ 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) => _(G.value)
4128
+ onClick: (I) => w(G.value)
4129
4129
  }, {
4130
4130
  default: g(() => [
4131
- Z(K(m(t)("filter.clearButtonText")), 1)
4131
+ Z(N(m(t)("filter.clearButtonText")), 1)
4132
4132
  ]),
4133
4133
  _: 2
4134
4134
  }, 1032, ["onClick"])
@@ -4146,7 +4146,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4146
4146
  onClick: h
4147
4147
  }, {
4148
4148
  default: g(() => [
4149
- Z(K(m(t)("filter.clearAllButtonText")), 1)
4149
+ Z(N(m(t)("filter.clearAllButtonText")), 1)
4150
4150
  ]),
4151
4151
  _: 1
4152
4152
  })
@@ -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
  /**
@@ -4232,10 +4232,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4232
4232
  key: 0,
4233
4233
  class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
4234
4234
  }, [
4235
- e.title ? (d(), j("h4", ll, K(e.title), 1)) : z("", !0),
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, K(e.description), 1)
4238
+ V("p", null, N(e.description), 1)
4239
4239
  ], !0)
4240
4240
  ])) : z("", !0),
4241
4241
  m(n).footer ? (d(), j("div", cl, [
@@ -4248,7 +4248,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
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: 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 = {
4251
+ }), mn = /* @__PURE__ */ _e(pl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Nt, 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({
@@ -4268,9 +4268,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4268
4268
  },
4269
4269
  emits: ["cancel", "add:success", "add:partial-success", "error"],
4270
4270
  setup(e, { emit: n }) {
4271
- var N;
4272
- const { i18n: { t } } = dt.useI18n(), r = e, o = n, { axiosInstance: i } = Kt({
4273
- headers: (N = r.config) == null ? void 0 : N.requestHeaders
4271
+ var K;
4272
+ const { i18n: { t } } = dt.useI18n(), r = e, o = n, { axiosInstance: i } = Nt({
4273
+ headers: (K = r.config) == null ? void 0 : K.requestHeaders
4274
4274
  }), a = F([]), {
4275
4275
  debouncedQueryChange: s,
4276
4276
  loading: l,
@@ -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 = A(() => p.value ? t("consumer_groups.errors.general") : ""), _ = F(0), h = A(() => u.value === void 0), S = A(() => y.value.map((I) => ({
4289
+ ), f = A(() => p.value ? t("consumer_groups.errors.general") : ""), w = F(0), h = A(() => u.value === void 0), S = A(() => y.value.map((I) => ({
4290
4290
  label: I.name,
4291
4291
  value: I.id,
4292
4292
  selected: a.value.includes(I.id),
@@ -4296,7 +4296,7 @@ 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
  x.value = "", L.value = [], C.value = [], o("cancel");
4301
4301
  }, L = F([]), v = F(!1), x = F(""), D = async () => {
4302
4302
  if (!a.value.length) {
@@ -4337,7 +4337,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4337
4337
  }).filter(Boolean);
4338
4338
  };
4339
4339
  return Te(S, () => {
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,
4351
+ onCanceled: _,
4352
4352
  onProceed: D
4353
4353
  }, {
4354
4354
  "body-content": g(() => [
4355
4355
  V("div", yl, [
4356
- V("p", hl, K(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4356
+ V("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
  x.value || f.value || C.value.length ? (d(), j("div", vl, [
4373
4373
  E(B, { appearance: "danger" }, {
4374
4374
  alertMessage: g(() => [
4375
- V("p", null, K(m(t)("consumer_groups.errors.add")), 1),
4375
+ V("p", null, N(m(t)("consumer_groups.errors.add")), 1),
4376
4376
  C.value.length ? (d(), j("ul", bl, [
4377
- (d(!0), j(Ce, null, ve(C.value, (ee, te) => (d(), j("li", { key: te }, K(ee), 1))), 128))
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, K(x.value || f.value), 1)
4379
+ V("div", null, N(x.value || f.value), 1)
4380
4380
  ]),
4381
4381
  _: 1
4382
4382
  })
@@ -4387,12 +4387,12 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4387
4387
  }, 8, ["action-pending", "is-visible", "title"]);
4388
4388
  };
4389
4389
  }
4390
- }), Nt = (e, n) => {
4390
+ }), Kt = (e, n) => {
4391
4391
  const t = e.__vccOpts || e;
4392
4392
  for (const [r, o] of n)
4393
4393
  t[r] = o;
4394
4394
  return t;
4395
- }, kl = /* @__PURE__ */ Nt(Cl, [["__scopeId", "data-v-3808b4c0"]]), wl = { class: "kong-ui-entities-consumer-groups-list" }, _l = { key: 1 }, Il = /* @__PURE__ */ ae({
4395
+ }, kl = /* @__PURE__ */ Kt(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. */
@@ -4439,7 +4439,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4439
4439
  emits: ["error", "copy:success", "copy:error", "delete:success", "add:success", "remove:success"],
4440
4440
  setup(e, { emit: n }) {
4441
4441
  var Lt;
4442
- const t = n, r = e, { i18nT: o, i18n: { t: i } } = dt.useI18n(), a = It(), { axiosInstance: s } = Kt({
4442
+ const t = n, r = e, { i18nT: o, i18n: { t: i } } = dt.useI18n(), a = It(), { axiosInstance: s } = Nt({
4443
4443
  headers: (Lt = r.config) == null ? void 0 : Lt.requestHeaders
4444
4444
  }), l = F(1), u = A(() => !!r.config.consumerId), p = A(
4445
4445
  () => u.value ? "kong-ui-entities-consumer-groups-list-in-consumer-page" : "kong-ui-entities-consumer-groups-list"
@@ -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 = A(() => {
4453
4453
  var Y, se, he, Ie;
@@ -4469,7 +4469,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4469
4469
  },
4470
4470
  schema: r.config.filterSchema
4471
4471
  };
4472
- }), w = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = gl(r.config, h.value, w.value), x = () => {
4472
+ }), _ = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = gl(r.config, h.value, _.value), x = () => {
4473
4473
  S.value = "";
4474
4474
  }, D = () => {
4475
4475
  l.value++;
@@ -4504,7 +4504,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4504
4504
  }, R = async ($) => {
4505
4505
  var se;
4506
4506
  await ((se = r.canRetrieve) == null ? void 0 : se.call(r, $)) && a.push(r.config.getViewRoute($.id));
4507
- }, N = ($) => ({
4507
+ }, K = ($) => ({
4508
4508
  label: i("consumer_groups.actions.view"),
4509
4509
  to: r.config.getViewRoute($)
4510
4510
  }), I = ($) => ({
@@ -4534,9 +4534,9 @@ 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
- }, Ke = () => {
4539
+ }, Ne = () => {
4540
4540
  fe.value = !1, H.value = void 0;
4541
4541
  }, et = A(() => {
4542
4542
  var Y, se, he, Ie;
@@ -4547,9 +4547,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4547
4547
  qt.value = !0;
4548
4548
  try {
4549
4549
  const $ = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4550
- await s.delete($), t("remove:success", H.value), Ke(), l.value++;
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
  qt.value = !1;
4555
4555
  }
@@ -4557,7 +4557,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4557
4557
  }, Bt = F(!0);
4558
4558
  Te(v, ($) => {
4559
4559
  var Y, se, he, Ie;
4560
- if (Array.isArray((Y = $ == null ? void 0 : $.response) == null ? void 0 : Y.data) && (Bt.value = $.response.data.length > 0), $.status === Ne.Error) {
4560
+ if (Array.isArray((Y = $ == null ? void 0 : $.response) == null ? void 0 : Y.data) && (Bt.value = $.response.data.length > 0), $.status === Ke.Error) {
4561
4561
  re.value = {
4562
4562
  title: i("consumer_groups.errors.general")
4563
4563
  }, (Ie = (he = (se = $.error) == null ? void 0 : se.response) == null ? void 0 : he.data) != null && Ie.message && (re.value.message = $.error.response.data.message), t("error", $.error);
@@ -4575,7 +4575,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4575
4575
  await r.canCreate() && (ft.value.title = u.value ? i("consumer_groups.list.empty_state.title_for_consumer") : i("consumer_groups.list.empty_state.title"), ft.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"), Ut = q("KClipboardProvider"), vr = q("KPrompt");
4578
- return d(), j("div", wl, [
4578
+ return d(), j("div", _l, [
4579
4579
  E(m(Vs), {
4580
4580
  "cache-identifier": e.cacheIdentifier,
4581
4581
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
@@ -4589,7 +4589,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4589
4589
  "pagination-type": "offset",
4590
4590
  "preferences-storage-key": p.value,
4591
4591
  query: S.value,
4592
- "row-attributes": _,
4592
+ "row-attributes": w,
4593
4593
  "table-headers": m(f),
4594
4594
  "use-action-outside": e.useActionOutside,
4595
4595
  onClearSearchInput: x,
@@ -4622,7 +4622,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4622
4622
  onClick: Y[1] || (Y[1] = () => e.config.consumerId ? k() : void 0)
4623
4623
  }, {
4624
4624
  default: g(() => [
4625
- Z(K(e.config.consumerId ? m(i)("consumer_groups.actions.add_to_group") : m(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4625
+ Z(N(e.config.consumerId ? m(i)("consumer_groups.actions.add_to_group") : m(i)("consumer_groups.list.toolbar_actions.new_consumer_group")), 1)
4626
4626
  ]),
4627
4627
  _: 1
4628
4628
  }, 8, ["to"]), [
@@ -4636,10 +4636,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4636
4636
  }, 8, ["to"]))
4637
4637
  ]),
4638
4638
  name: g(({ rowValue: Q }) => [
4639
- V("b", null, K(Q ?? "-"), 1)
4639
+ V("b", null, N(Q ?? "-"), 1)
4640
4640
  ]),
4641
4641
  consumers_count: g(({ rowValue: Q }) => [
4642
- Z(K(Q ?? "-"), 1)
4642
+ Z(N(Q ?? "-"), 1)
4643
4643
  ]),
4644
4644
  tags: g(({ rowValue: Q }) => [
4645
4645
  (Q == null ? void 0 : Q.length) > 0 ? (d(), P(Ie, { key: 0 }, {
@@ -4650,13 +4650,13 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4650
4650
  }, ["stop"]))
4651
4651
  }, {
4652
4652
  default: g(() => [
4653
- Z(K(Ue), 1)
4653
+ Z(N(Ue), 1)
4654
4654
  ]),
4655
4655
  _: 2
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(Ut, null, {
@@ -4666,7 +4666,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4666
4666
  onClick: (br) => G(Q, Ue)
4667
4667
  }, {
4668
4668
  default: g(() => [
4669
- Z(K(m(i)("consumer_groups.actions.copy_id")), 1)
4669
+ Z(N(m(i)("consumer_groups.actions.copy_id")), 1)
4670
4670
  ]),
4671
4671
  _: 2
4672
4672
  }, 1032, ["onClick"])
@@ -4680,7 +4680,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4680
4680
  onClick: (br) => C(Q, Ue)
4681
4681
  }, {
4682
4682
  default: g(() => [
4683
- Z(K(m(i)("consumer_groups.actions.copy_json")), 1)
4683
+ Z(N(m(i)("consumer_groups.actions.copy_json")), 1)
4684
4684
  ]),
4685
4685
  _: 2
4686
4686
  }, 1032, ["onClick"])
@@ -4694,7 +4694,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4694
4694
  E(He, {
4695
4695
  "data-testid": "action-entity-view",
4696
4696
  "has-divider": "",
4697
- item: N(Q.id)
4697
+ item: K(Q.id)
4698
4698
  }, null, 8, ["item"])
4699
4699
  ]),
4700
4700
  _: 2
@@ -4721,7 +4721,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4721
4721
  onClick: () => e.config.consumerId ? me(Q) : te(Q)
4722
4722
  }, {
4723
4723
  default: g(() => [
4724
- Z(K(e.config.consumerId ? m(i)("consumer_groups.actions.exit") : m(i)("consumer_groups.actions.delete")), 1)
4724
+ Z(N(e.config.consumerId ? m(i)("consumer_groups.actions.exit") : m(i)("consumer_groups.actions.delete")), 1)
4725
4725
  ]),
4726
4726
  _: 2
4727
4727
  }, 1032, ["onClick"])
@@ -4758,7 +4758,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4758
4758
  "is-visible": fe.value,
4759
4759
  title: m(i)("consumer_groups.consumers.exit.title"),
4760
4760
  type: "danger",
4761
- onCanceled: Ke,
4761
+ onCanceled: Ne,
4762
4762
  onProceed: hr
4763
4763
  }, {
4764
4764
  "body-content": g(() => [
@@ -4768,26 +4768,26 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4768
4768
  tag: "p"
4769
4769
  }, je({
4770
4770
  consumerGroup: g(() => [
4771
- V("strong", null, K(H.value.name || H.value.id), 1)
4771
+ V("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, K(e.config.consumerUsername), 1)
4778
+ V("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, K(m(i)("consumer_groups.consumers.exit.description")), 1)
4783
+ V("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
- }), Vl = /* @__PURE__ */ Nt(Il, [["__scopeId", "data-v-5e849c87"]]), Al = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-container" }, xl = { class: "select-item-label" }, Tl = {
4790
+ }), Vl = /* @__PURE__ */ Kt(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
4792
  class: "select-item-description"
4793
4793
  }, $l = /* @__PURE__ */ ae({
@@ -4830,9 +4830,9 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4830
4830
  } = yr(t.config, (de = Me.form[(ne = t.config) == null ? void 0 : ne.app]) == null ? void 0 : de.consumersList, "", {
4831
4831
  fetchedItemsKey: "data",
4832
4832
  searchKeys: ["username", "custom_id", "id"]
4833
- }), { axiosInstance: f } = Kt({
4833
+ }), { axiosInstance: f } = Nt({
4834
4834
  headers: (Le = t.config) == null ? void 0 : Le.requestHeaders
4835
- }), { getMessageFromError: _ } = ml(), h = A(() => y.value.map((k) => ({
4835
+ }), { getMessageFromError: w } = ml(), h = A(() => 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,10 +4841,10 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4841
4841
  }))), S = A(() => {
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 = A(() => t.consumerGroupId ? nt.Edit : nt.Create), w = A(() => !!a.fields.name && !C.value), L = A(() => JSON.stringify(a.fields) !== JSON.stringify(s)), v = (k, U = "", ie = "") => {
4845
- var H, fe, _e, me, Ke, et;
4844
+ }), b = A(() => t.consumerGroupId ? nt.Edit : nt.Create), _ = A(() => !!a.fields.name && !C.value), L = A(() => 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) || "") : ((Ke = t.config) == null ? void 0 : Ke.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
  }, x = () => {
4849
4849
  var k;
4850
4850
  i.push(((k = t.config) == null ? void 0 : k.cancelRoute) || { name: "consumer-group-list" });
@@ -4853,7 +4853,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4853
4853
  }, re = (k) => {
4854
4854
  r("loading", k);
4855
4855
  }, G = 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((Ke) => Ke.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
  }
@@ -4872,8 +4872,8 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4872
4872
  name: a.fields.name,
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
- }), N = 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);
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 = 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) => {
@@ -4892,7 +4892,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4892
4892
  }
4893
4893
  if (a.fields.consumers.length > 0 && k)
4894
4894
  try {
4895
- const U = a.fields.consumers.map((J) => N(J, k)), ie = await Promise.allSettled(U);
4895
+ const U = a.fields.consumers.map((J) => K(J, k)), ie = await Promise.allSettled(U);
4896
4896
  B(ie, o("consumer_groups.errors.add_consumer"), k);
4897
4897
  } catch (U) {
4898
4898
  T(U);
@@ -4919,7 +4919,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
4919
4919
  }
4920
4920
  if (k.length > 0)
4921
4921
  try {
4922
- const J = k.map((fe) => N(fe)), H = await Promise.allSettled(J);
4922
+ const J = k.map((fe) => K(fe)), H = await Promise.allSettled(J);
4923
4923
  B(H, o("consumer_groups.errors.add_consumer"));
4924
4924
  } catch (J) {
4925
4925
  T(J);
@@ -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,
@@ -5005,11 +5005,11 @@ 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
5010
  V("div", Sl, [
5011
- V("div", xl, K(H.label), 1),
5012
- (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), j("div", Tl, K((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5011
+ V("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
5013
  ])
5014
5014
  ];
5015
5015
  }),
@@ -5024,7 +5024,7 @@ const us = { class: "yaml-config" }, gr = /* @__PURE__ */ ae({
5024
5024
  ]);
5025
5025
  };
5026
5026
  }
5027
- }), Dl = /* @__PURE__ */ Nt($l, [["__scopeId", "data-v-89ee41dd"]]), jl = { class: "kong-ui-consumer-group-entity-config-card" }, Rl = /* @__PURE__ */ ae({
5027
+ }), Dl = /* @__PURE__ */ Kt($l, [["__scopeId", "data-v-89ee41dd"]]), jl = { class: "kong-ui-consumer-group-entity-config-card" }, Rl = /* @__PURE__ */ ae({
5028
5028
  __name: "ConsumerGroupConfigCard",
5029
5029
  props: {
5030
5030
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */