@kong-ui-public/entities-consumer-groups 2.4.19 → 2.4.20

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,7 +1,7 @@
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 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 yn, inject as hn, resolveDynamicComponent as Be, normalizeProps as wr, guardReactiveProps as _r, mergeProps as vt, onMounted as Ir, onUnmounted as Ar, normalizeStyle as vn, pushScopeId as bn, popScopeId as Cn, 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 $e, withCtx as g, createElementVNode as V, createTextVNode as Z, toDisplayString as N, createVNode as E, createElementBlock as $, renderList as ve, Fragment as Ce, normalizeClass as Ee, withModifiers as rt, withDirectives as Je, vShow as Ye, useCssVars as yn, inject as hn, resolveDynamicComponent as Be, normalizeProps as wr, guardReactiveProps as _r, mergeProps as vt, onMounted as Ir, onUnmounted as Ar, normalizeStyle as vn, pushScopeId as bn, popScopeId as Cn, reactive as Pt } from "vue";
2
2
  import { useRouter as It } from "vue-router";
3
3
  import { createI18n as At, i18nTComponent as kn } from "@kong-ui-public/i18n";
4
- import Dt from "axios";
4
+ import Vt from "axios";
5
5
  import { BadgeMethodAppearances as xr } from "@kong/kongponents";
6
6
  const Sr = {
7
7
  list: {
@@ -98,7 +98,7 @@ const Sr = {
98
98
  }, Tr = {
99
99
  consumer_groups: Sr
100
100
  };
101
- function $r() {
101
+ function jr() {
102
102
  const e = At("en-us", Tr);
103
103
  return {
104
104
  i18n: e,
@@ -107,7 +107,7 @@ function $r() {
107
107
  };
108
108
  }
109
109
  const dt = {
110
- useI18n: $r
110
+ useI18n: jr
111
111
  }, xe = "/api/runtime_groups/{controlPlaneId}", Se = "/{workspace}", Me = {
112
112
  list: {
113
113
  konnect: {
@@ -141,18 +141,18 @@ const dt = {
141
141
  }
142
142
  };
143
143
  var wn = /* @__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))(wn || {}), 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
- function jr() {
144
+ function $r() {
145
145
  return {
146
146
  getAxiosInstance: (e = {}) => {
147
147
  try {
148
148
  const n = hn("get-axios-instance");
149
- return typeof n == "function" ? n(e) : Dt.create({
149
+ return typeof n == "function" ? n(e) : Vt.create({
150
150
  withCredentials: !0,
151
151
  timeout: 3e4,
152
152
  ...e
153
153
  });
154
154
  } catch (n) {
155
- return console.warn("getAxiosInstance:", n.message || n), Dt.create({
155
+ return console.warn("getAxiosInstance:", n.message || n), Vt.create({
156
156
  withCredentials: !0,
157
157
  timeout: 3e4,
158
158
  ...e
@@ -214,7 +214,7 @@ function Er() {
214
214
  };
215
215
  }
216
216
  function xt(e = {}) {
217
- const { getAxiosInstance: n } = jr();
217
+ const { getAxiosInstance: n } = $r();
218
218
  return {
219
219
  axiosInstance: n(e)
220
220
  };
@@ -302,7 +302,7 @@ const Fr = {
302
302
  }, Pr = {
303
303
  unexpected: "An unexpected error has occurred",
304
304
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
305
- }, Dr = {
305
+ }, Vr = {
306
306
  enable: {
307
307
  title: "Enable {entityType}",
308
308
  message: "Are you sure you want to enable the {entityType} {entityName}?",
@@ -313,7 +313,7 @@ const Fr = {
313
313
  message: "Are you sure you want to disable the {entityType} {entityName}?",
314
314
  confirmText: "Yes, disable"
315
315
  }
316
- }, Vr = {
316
+ }, Rr = {
317
317
  global: Fr,
318
318
  deleteModal: Nr,
319
319
  baseForm: Kr,
@@ -322,10 +322,10 @@ const Fr = {
322
322
  filter: Lr,
323
323
  debouncedFilter: Ur,
324
324
  errors: Pr,
325
- toggleModal: Dr
325
+ toggleModal: Vr
326
326
  };
327
327
  function St() {
328
- const e = At("en-us", Vr);
328
+ const e = At("en-us", Rr);
329
329
  return {
330
330
  i18n: e,
331
331
  i18nT: kn(e)
@@ -376,7 +376,7 @@ function _n() {
376
376
  isValidUuid: (t) => t ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(t) : !1
377
377
  };
378
378
  }
379
- function Rr(e, n, t, r = {
379
+ function Dr(e, n, t, r = {
380
380
  fetchedItemsKey: "data",
381
381
  searchKeys: ["id"]
382
382
  }) {
@@ -399,7 +399,7 @@ function Rr(e, n, t, r = {
399
399
  l.value = !1;
400
400
  }
401
401
  }, w = F(""), L = async (v) => {
402
- var S, V, re;
402
+ var S, R, re;
403
403
  if (w.value !== v)
404
404
  if (w.value = v || "", f.value === void 0)
405
405
  try {
@@ -419,29 +419,29 @@ function Rr(e, n, t, r = {
419
419
  return I[r.fetchedItemsKey];
420
420
  })
421
421
  );
422
- const C = await Promise.all(G), R = /* @__PURE__ */ new Set();
422
+ const C = await Promise.all(G), D = /* @__PURE__ */ new Set();
423
423
  c.value = [], (S = C == null ? void 0 : C.forEach) == null || S.call(C, (K) => {
424
424
  var I;
425
425
  (I = K == null ? void 0 : K.forEach) == null || I.call(K, (T) => {
426
- R.has(T.id) || (R.add(T.id), c.value.push(T));
426
+ D.has(T.id) || (D.add(T.id), c.value.push(T));
427
427
  });
428
428
  });
429
429
  } else
430
430
  c.value = y.value;
431
431
  } catch (G) {
432
- ((V = G == null ? void 0 : G.response) == null ? void 0 : V.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
432
+ ((R = G == null ? void 0 : G.response) == null ? void 0 : R.status) === 404 ? p.value = i("debouncedFilter.errors.invalid") : (c.value = [], u.value = i("debouncedFilter.errors.fetch"));
433
433
  } finally {
434
434
  l.value = !1;
435
435
  }
436
436
  else
437
437
  l.value = !0, p.value = "", v ? (c.value = (re = f.value) == null ? void 0 : re.filter((G) => {
438
438
  var C;
439
- let R = !1;
439
+ let D = !1;
440
440
  for (const K of r.searchKeys) {
441
441
  const I = typeof G[K] == "string" ? (C = G[K]) == null ? void 0 : C.toLowerCase() : G[K];
442
- I != null && I.includes(v.toLowerCase()) && (R = !0);
442
+ I != null && I.includes(v.toLowerCase()) && (D = !0);
443
443
  }
444
- return R;
444
+ return D;
445
445
  }), (!c.value || !c.value.length) && (p.value = i("debouncedFilter.errors.invalid"))) : c.value = f.value, l.value = !1;
446
446
  };
447
447
  return {
@@ -570,18 +570,18 @@ function Yr() {
570
570
  convertKeyToTitle: e
571
571
  };
572
572
  }
573
- const An = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Vt = (e) => {
573
+ const An = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, Rt = (e) => {
574
574
  if (typeof e != "string")
575
575
  throw new TypeError("Invalid argument expected string");
576
576
  const n = e.match(An);
577
577
  if (!n)
578
578
  throw new Error(`Invalid argument not valid semver ('${e}' received)`);
579
579
  return n.shift(), n;
580
- }, Rt = (e) => e === "*" || e === "x" || e === "X", Gt = (e) => {
580
+ }, Dt = (e) => e === "*" || e === "x" || e === "X", Gt = (e) => {
581
581
  const n = parseInt(e, 10);
582
582
  return isNaN(n) ? e : n;
583
583
  }, Wr = (e, n) => typeof e != typeof n ? [String(e), String(n)] : [e, n], Zr = (e, n) => {
584
- if (Rt(e) || Rt(n))
584
+ if (Dt(e) || Dt(n))
585
585
  return 0;
586
586
  const [t, r] = Wr(Gt(e), Gt(n));
587
587
  return t > r ? 1 : t < r ? -1 : 0;
@@ -593,7 +593,7 @@ const An = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
593
593
  }
594
594
  return 0;
595
595
  }, Qr = (e, n) => {
596
- const t = Vt(e), r = Vt(n), o = t.pop(), i = r.pop(), a = Ht(t, r);
596
+ const t = Rt(e), r = Rt(n), o = t.pop(), i = r.pop(), a = Ht(t, r);
597
597
  return a !== 0 ? a : o && i ? Ht(o.split("."), i.split(".")) : o || i ? o ? -1 : 1 : 0;
598
598
  }, zt = (e, n, t) => {
599
599
  Xr(t);
@@ -635,7 +635,7 @@ function no(e) {
635
635
  }
636
636
  const ce = {
637
637
  useAxios: xt,
638
- useDebouncedFilter: Rr,
638
+ useDebouncedFilter: Dr,
639
639
  useDeleteUrlBuilder: Gr,
640
640
  useErrors: Hr,
641
641
  useExternalLinkCreator: zr,
@@ -663,7 +663,7 @@ const ce = {
663
663
  }, lo = (e) => (bn("data-v-13f41aa3"), e = e(), Cn(), e), uo = ["aria-hidden"], co = {
664
664
  key: 0,
665
665
  "data-testid": "kui-icon-svg-title"
666
- }, po = /* @__PURE__ */ lo(() => /* @__PURE__ */ D("path", {
666
+ }, po = /* @__PURE__ */ lo(() => /* @__PURE__ */ V("path", {
667
667
  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",
668
668
  fill: "currentColor"
669
669
  }, null, -1)), fo = /* @__PURE__ */ ae({
@@ -742,7 +742,7 @@ const ce = {
742
742
  style: vn(r.value)
743
743
  }, {
744
744
  default: g(() => [
745
- (d(), j("svg", {
745
+ (d(), $("svg", {
746
746
  "aria-hidden": e.decorative ? "true" : void 0,
747
747
  "data-testid": "kui-icon-svg-copy-icon",
748
748
  fill: "none",
@@ -752,7 +752,7 @@ const ce = {
752
752
  width: "100%",
753
753
  xmlns: "http://www.w3.org/2000/svg"
754
754
  }, [
755
- e.title ? (d(), j("title", co, N(e.title), 1)) : z("", !0),
755
+ e.title ? (d(), $("title", co, N(e.title), 1)) : z("", !0),
756
756
  po
757
757
  ], 8, uo))
758
758
  ]),
@@ -839,10 +839,10 @@ const ce = {
839
839
  };
840
840
  return (f, _) => {
841
841
  const h = q("KClipboardProvider");
842
- return d(), j("div", yo, [
842
+ return d(), $("div", yo, [
843
843
  e.format !== "hidden" ? (d(), P(Be(e.idTooltip ? "KTooltip" : "div"), vt({ key: 0 }, a.value, { "data-testid": "copy-id" }), {
844
844
  default: g(() => [
845
- D("div", {
845
+ V("div", {
846
846
  class: Ee([
847
847
  "uuid-container",
848
848
  e.truncated ? "truncated-uuid" : null,
@@ -856,7 +856,7 @@ const ce = {
856
856
  default: g(() => [
857
857
  E(h, null, {
858
858
  default: g(({ copyToClipboard: x }) => [
859
- D("span", {
859
+ V("span", {
860
860
  "data-testid": "copy-to-clipboard",
861
861
  role: "button",
862
862
  tabindex: "0",
@@ -915,10 +915,10 @@ const ce = {
915
915
  class: Ee(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
916
916
  }, {
917
917
  default: g(() => [
918
- e.isArrayItem ? (d(), j("legend", Co, [
919
- D("b", null, N(s.value), 1)
918
+ e.isArrayItem ? (d(), $("legend", Co, [
919
+ V("b", null, N(s.value), 1)
920
920
  ])) : z("", !0),
921
- (d(!0), j(Ce, null, ve(Object.keys(a.value), (p, c) => (d(), P(Tt, {
921
+ (d(!0), $(Ce, null, ve(Object.keys(a.value), (p, c) => (d(), P(Tt, {
922
922
  key: `${o.value}-property-${c}`,
923
923
  item: {
924
924
  key: p,
@@ -948,7 +948,7 @@ const ce = {
948
948
  const { i18n: { t: n } } = ce.useI18n();
949
949
  return (t, r) => {
950
950
  const o = q("KButton");
951
- return d(), j("div", null, [
951
+ return d(), $("div", null, [
952
952
  E(o, {
953
953
  appearance: "tertiary",
954
954
  class: "navigation-button",
@@ -984,7 +984,7 @@ const ce = {
984
984
  }, 8, ["appearance"]);
985
985
  };
986
986
  }
987
- }), Ao = "#0044f4", xo = "#e0e4ea", So = "#3a3f51", To = "1px", $o = "20px", jo = { class: "config-card-details-row" }, Mo = ["data-testid"], Oo = ["data-testid"], Eo = ["data-testid"], Fo = ["data-testid"], No = { key: 1 }, Ko = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = ["data-testid"], Uo = {
987
+ }), Ao = "#0044f4", xo = "#e0e4ea", So = "#3a3f51", To = "1px", jo = "20px", $o = { class: "config-card-details-row" }, Mo = ["data-testid"], Oo = ["data-testid"], Eo = ["data-testid"], Fo = ["data-testid"], No = { key: 1 }, Ko = ["data-testid"], qo = ["data-testid"], Bo = ["data-testid"], Lo = ["data-testid"], Uo = {
988
988
  name: "ConfigCardItem",
989
989
  components: { CopyUuid: Sn, JsonCardItem: Tn, StatusBadge: Io, InternalLinkItem: _o }
990
990
  }, Po = /* @__PURE__ */ ae({
@@ -1142,13 +1142,13 @@ const ce = {
1142
1142
  }), y = F(), { isTruncated: f } = ce.useTruncationDetector(y);
1143
1143
  return (_, h) => {
1144
1144
  const x = q("KLabel"), b = q("KBadge"), w = q("KTooltip");
1145
- return d(), j("div", jo, [
1146
- D("div", {
1145
+ return d(), $("div", $o, [
1146
+ V("div", {
1147
1147
  class: "config-card-details-label",
1148
1148
  "data-testid": `${e.item.key}-label`
1149
1149
  }, [
1150
1150
  X(_.$slots, "label", { item: e.item }, () => [
1151
- E(x, { "tooltip-attributes": { maxWidth: "500px" } }, je({
1151
+ E(x, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
1152
1152
  default: g(() => [
1153
1153
  Z(N(e.item.label) + " ", 1)
1154
1154
  ]),
@@ -1157,7 +1157,7 @@ const ce = {
1157
1157
  l.value ? {
1158
1158
  name: "tooltip",
1159
1159
  fn: g(() => [
1160
- D("div", {
1160
+ V("div", {
1161
1161
  "data-testid": `${e.item.key}-label-tooltip`
1162
1162
  }, [
1163
1163
  X(_.$slots, "label-tooltip", {}, () => [
@@ -1170,21 +1170,21 @@ const ce = {
1170
1170
  ]), 1024)
1171
1171
  ], !0)
1172
1172
  ], 8, Mo),
1173
- D("div", {
1173
+ V("div", {
1174
1174
  class: "config-card-details-value",
1175
1175
  "data-testid": `${e.item.key}-property-value`
1176
1176
  }, [
1177
1177
  X(_.$slots, e.item.key, {
1178
1178
  rowValue: e.item.value
1179
1179
  }, () => [
1180
- s.value ? (d(), j("div", No, [
1180
+ s.value ? (d(), $("div", No, [
1181
1181
  (d(), P(Be(c.value.tag), wr(_r(c.value.attrs)), {
1182
1182
  default: g(() => [
1183
- c.value.additionalComponent === "KBadge" ? (d(), j("div", {
1183
+ c.value.additionalComponent === "KBadge" ? (d(), $("div", {
1184
1184
  key: 0,
1185
1185
  "data-testid": `${e.item.key}-badge-tags`
1186
1186
  }, [
1187
- (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1187
+ (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1188
1188
  key: `${e.item.key}-badge-tag-${v}`,
1189
1189
  class: "config-badge",
1190
1190
  "data-testid": `${e.item.key}-badge-tag-${v}`,
@@ -1197,22 +1197,22 @@ const ce = {
1197
1197
  _: 2
1198
1198
  }, 1032, ["data-testid", "tooltip"]))), 128))
1199
1199
  ], 8, Ko)) : z("", !0),
1200
- c.value.additionalComponent === "CopyUuid" ? (d(), j("div", {
1200
+ c.value.additionalComponent === "CopyUuid" ? (d(), $("div", {
1201
1201
  key: 1,
1202
1202
  class: "copy-uuid-array",
1203
1203
  "data-testid": `${e.item.key}-copy-uuid-array`
1204
1204
  }, [
1205
- (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(m(Sn), vt(c.value.childAttrs, {
1205
+ (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(m(Sn), vt(c.value.childAttrs, {
1206
1206
  key: `${e.item.key}-copy-uuid-${v}`,
1207
1207
  "data-testid": `${e.item.key}-copy-uuid-${v}`,
1208
1208
  uuid: L
1209
1209
  }), null, 16, ["data-testid", "uuid"]))), 128))
1210
- ], 8, qo)) : c.value.additionalComponent === "KMethodBadge" ? (d(), j("div", {
1210
+ ], 8, qo)) : c.value.additionalComponent === "KMethodBadge" ? (d(), $("div", {
1211
1211
  key: 2,
1212
1212
  class: "method-badge-array",
1213
1213
  "data-testid": `${e.item.key}-badge-methods`
1214
1214
  }, [
1215
- (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1215
+ (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(b, {
1216
1216
  key: `${e.item.key}-badge-method-${v}`,
1217
1217
  appearance: Object.values(m(xr)).includes(L.toLowerCase()) ? L.toLowerCase() : "custom",
1218
1218
  class: "config-badge",
@@ -1224,11 +1224,11 @@ const ce = {
1224
1224
  _: 2
1225
1225
  }, 1032, ["appearance", "data-testid"]))), 128))
1226
1226
  ], 8, Bo)) : z("", !0),
1227
- c.value.additionalComponent === "JsonCardItem" ? (d(), j("div", {
1227
+ c.value.additionalComponent === "JsonCardItem" ? (d(), $("div", {
1228
1228
  key: 3,
1229
1229
  "data-testid": `${t.item.key}-json-array-content`
1230
1230
  }, [
1231
- (d(!0), j(Ce, null, ve(e.item.value, (L, v) => (d(), P(Tn, {
1231
+ (d(!0), $(Ce, null, ve(e.item.value, (L, v) => (d(), P(Tn, {
1232
1232
  key: `json-array-item-${v}`,
1233
1233
  index: v,
1234
1234
  "is-array-item": "",
@@ -1239,7 +1239,7 @@ const ce = {
1239
1239
  text: m(f) ? e.item.value : ""
1240
1240
  }, {
1241
1241
  default: g(() => [
1242
- D("span", {
1242
+ V("span", {
1243
1243
  ref_key: "textContent",
1244
1244
  ref: y,
1245
1245
  class: Ee(["attrs-data-text", { truncated: e.truncated }])
@@ -1250,7 +1250,7 @@ const ce = {
1250
1250
  ]),
1251
1251
  _: 1
1252
1252
  }, 16))
1253
- ])) : (d(), j("div", {
1253
+ ])) : (d(), $("div", {
1254
1254
  key: 0,
1255
1255
  "data-testid": `${e.item.key}-no-value`
1256
1256
  }, " – ", 8, Fo))
@@ -1259,10 +1259,10 @@ const ce = {
1259
1259
  ]);
1260
1260
  };
1261
1261
  }
1262
- }), Tt = /* @__PURE__ */ we(Po, [["__scopeId", "data-v-f65fc52c"]]), Do = { class: "json-config" }, Vo = {
1262
+ }), Tt = /* @__PURE__ */ we(Po, [["__scopeId", "data-v-f65fc52c"]]), Vo = { class: "json-config" }, Ro = {
1263
1263
  key: 0,
1264
1264
  class: "json-endpoint"
1265
- }, $n = /* @__PURE__ */ ae({
1265
+ }, jn = /* @__PURE__ */ ae({
1266
1266
  __name: "JsonCodeBlock",
1267
1267
  props: {
1268
1268
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1303,8 +1303,8 @@ const ce = {
1303
1303
  return (o, i) => {
1304
1304
  var a;
1305
1305
  const s = q("KBadge"), l = q("KCodeBlock");
1306
- return d(), j("div", Do, [
1307
- n.fetcherUrl && (a = n.config) != null && a.jsonYamlFormsEnabled ? (d(), j("div", Vo, [
1306
+ return d(), $("div", Vo, [
1307
+ n.fetcherUrl && (a = n.config) != null && a.jsonYamlFormsEnabled ? (d(), $("div", Ro, [
1308
1308
  E(s, {
1309
1309
  appearance: n.requestMethod
1310
1310
  }, {
@@ -1334,14 +1334,14 @@ const ce = {
1334
1334
  }
1335
1335
  });
1336
1336
  /*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */
1337
- function jn(e) {
1337
+ function $n(e) {
1338
1338
  return typeof e > "u" || e === null;
1339
1339
  }
1340
- function Ro(e) {
1340
+ function Do(e) {
1341
1341
  return typeof e == "object" && e !== null;
1342
1342
  }
1343
1343
  function Go(e) {
1344
- return Array.isArray(e) ? e : jn(e) ? [] : [e];
1344
+ return Array.isArray(e) ? e : $n(e) ? [] : [e];
1345
1345
  }
1346
1346
  function Ho(e, n) {
1347
1347
  var t, r, o, i;
@@ -1359,7 +1359,7 @@ function zo(e, n) {
1359
1359
  function Jo(e) {
1360
1360
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1361
1361
  }
1362
- var Yo = jn, Wo = Ro, Zo = Go, Qo = zo, Xo = Jo, ea = Ho, ue = {
1362
+ var Yo = $n, Wo = Do, Zo = Go, Qo = zo, Xo = Jo, ea = Ho, ue = {
1363
1363
  isNothing: Yo,
1364
1364
  isObject: Wo,
1365
1365
  toArray: Zo,
@@ -1767,17 +1767,17 @@ var Un = new pe("tag:yaml.org,2002:float", {
1767
1767
  Ln,
1768
1768
  Un
1769
1769
  ]
1770
- }), Dn = Pn, Vn = new RegExp(
1770
+ }), Vn = Pn, Rn = new RegExp(
1771
1771
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1772
- ), Rn = new RegExp(
1772
+ ), Dn = new RegExp(
1773
1773
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
1774
1774
  );
1775
1775
  function xa(e) {
1776
- return e === null ? !1 : Vn.exec(e) !== null || Rn.exec(e) !== null;
1776
+ return e === null ? !1 : Rn.exec(e) !== null || Dn.exec(e) !== null;
1777
1777
  }
1778
1778
  function Sa(e) {
1779
1779
  var n, t, r, o, i, a, s, l = 0, u = null, p, c, y;
1780
- if (n = Vn.exec(e), n === null && (n = Rn.exec(e)), n === null)
1780
+ if (n = Rn.exec(e), n === null && (n = Dn.exec(e)), n === null)
1781
1781
  throw new Error("Date resolve error");
1782
1782
  if (t = +n[1], r = +n[2] - 1, o = +n[3], !n[4])
1783
1783
  return new Date(Date.UTC(t, r, o));
@@ -1798,18 +1798,18 @@ var Gn = new pe("tag:yaml.org,2002:timestamp", {
1798
1798
  instanceOf: Date,
1799
1799
  represent: Ta
1800
1800
  });
1801
- function $a(e) {
1801
+ function ja(e) {
1802
1802
  return e === "<<" || e === null;
1803
1803
  }
1804
1804
  var Hn = new pe("tag:yaml.org,2002:merge", {
1805
1805
  kind: "scalar",
1806
- resolve: $a
1807
- }), $t = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1806
+ resolve: ja
1807
+ }), jt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1808
1808
  \r`;
1809
- function ja(e) {
1809
+ function $a(e) {
1810
1810
  if (e === null)
1811
1811
  return !1;
1812
- var n, t, r = 0, o = e.length, i = $t;
1812
+ var n, t, r = 0, o = e.length, i = jt;
1813
1813
  for (t = 0; t < o; t++)
1814
1814
  if (n = i.indexOf(e.charAt(t)), !(n > 64)) {
1815
1815
  if (n < 0)
@@ -1819,13 +1819,13 @@ function ja(e) {
1819
1819
  return r % 8 === 0;
1820
1820
  }
1821
1821
  function Ma(e) {
1822
- var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, i = $t, a = 0, s = [];
1822
+ var n, t, r = e.replace(/[\r\n=]/g, ""), o = r.length, i = jt, a = 0, s = [];
1823
1823
  for (n = 0; n < o; n++)
1824
1824
  n % 4 === 0 && n && (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)), a = a << 6 | i.indexOf(r.charAt(n));
1825
1825
  return t = o % 4 * 6, t === 0 ? (s.push(a >> 16 & 255), s.push(a >> 8 & 255), s.push(a & 255)) : t === 18 ? (s.push(a >> 10 & 255), s.push(a >> 2 & 255)) : t === 12 && s.push(a >> 4 & 255), new Uint8Array(s);
1826
1826
  }
1827
1827
  function Oa(e) {
1828
- var n = "", t = 0, r, o, i = e.length, a = $t;
1828
+ var n = "", t = 0, r, o, i = e.length, a = jt;
1829
1829
  for (r = 0; r < i; r++)
1830
1830
  r % 3 === 0 && r && (n += a[t >> 18 & 63], n += a[t >> 12 & 63], n += a[t >> 6 & 63], n += a[t & 63]), t = (t << 8) + e[r];
1831
1831
  return o = i % 3, o === 0 ? (n += a[t >> 18 & 63], n += a[t >> 12 & 63], n += a[t >> 6 & 63], n += a[t & 63]) : o === 2 ? (n += a[t >> 10 & 63], n += a[t >> 4 & 63], n += a[t << 2 & 63], n += a[64]) : o === 1 && (n += a[t >> 2 & 63], n += a[t << 4 & 63], n += a[64], n += a[64]), n;
@@ -1835,7 +1835,7 @@ function Ea(e) {
1835
1835
  }
1836
1836
  var zn = new pe("tag:yaml.org,2002:binary", {
1837
1837
  kind: "scalar",
1838
- resolve: ja,
1838
+ resolve: $a,
1839
1839
  construct: Ma,
1840
1840
  predicate: Ea,
1841
1841
  represent: Oa
@@ -1894,7 +1894,7 @@ var Yn = new pe("tag:yaml.org,2002:pairs", {
1894
1894
  resolve: La,
1895
1895
  construct: Ua
1896
1896
  }), Pa = Object.prototype.hasOwnProperty;
1897
- function Da(e) {
1897
+ function Va(e) {
1898
1898
  if (e === null)
1899
1899
  return !0;
1900
1900
  var n, t = e;
@@ -1903,14 +1903,14 @@ function Da(e) {
1903
1903
  return !1;
1904
1904
  return !0;
1905
1905
  }
1906
- function Va(e) {
1906
+ function Ra(e) {
1907
1907
  return e !== null ? e : {};
1908
1908
  }
1909
1909
  var Wn = new pe("tag:yaml.org,2002:set", {
1910
1910
  kind: "mapping",
1911
- resolve: Da,
1912
- construct: Va
1913
- }), jt = Dn.extend({
1911
+ resolve: Va,
1912
+ construct: Ra
1913
+ }), $t = Vn.extend({
1914
1914
  implicit: [
1915
1915
  Gn,
1916
1916
  Hn
@@ -1921,7 +1921,7 @@ var Wn = new pe("tag:yaml.org,2002:set", {
1921
1921
  Yn,
1922
1922
  Wn
1923
1923
  ]
1924
- }), Fe = Object.prototype.hasOwnProperty, ot = 1, Zn = 2, Qn = 3, at = 4, ht = 1, Ra = 2, Qt = 3, Ga = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ha = /[\x85\u2028\u2029]/, za = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1924
+ }), Fe = Object.prototype.hasOwnProperty, ot = 1, Zn = 2, Qn = 3, at = 4, ht = 1, Da = 2, Qt = 3, Ga = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ha = /[\x85\u2028\u2029]/, za = /[,\[\]\{\}]/, Xn = /^(?:!|!!|![a-z\-]+!)$/i, er = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1925
1925
  function Xt(e) {
1926
1926
  return Object.prototype.toString.call(e);
1927
1927
  }
@@ -1934,7 +1934,7 @@ function qe(e) {
1934
1934
  function be(e) {
1935
1935
  return e === 9 || e === 32 || e === 10 || e === 13;
1936
1936
  }
1937
- function Ve(e) {
1937
+ function Re(e) {
1938
1938
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
1939
1939
  }
1940
1940
  function Ja(e) {
@@ -1961,7 +1961,7 @@ var tr = new Array(256), nr = new Array(256);
1961
1961
  for (var Pe = 0; Pe < 256; Pe++)
1962
1962
  tr[Pe] = en(Pe) ? 1 : 0, nr[Pe] = en(Pe);
1963
1963
  function Qa(e, n) {
1964
- this.input = e, this.filename = n.filename || null, this.schema = n.schema || jt, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1964
+ this.input = e, this.filename = n.filename || null, this.schema = n.schema || $t, this.onWarning = n.onWarning || null, this.legacy = n.legacy || !1, this.json = n.json || !1, this.listener = n.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1965
1965
  }
1966
1966
  function rr(e, n) {
1967
1967
  var t = {
@@ -2012,7 +2012,7 @@ function nn(e, n, t, r) {
2012
2012
  for (ue.isObject(t) || M(e, "cannot merge mappings; the provided source object is unacceptable"), o = Object.keys(t), a = 0, s = o.length; a < s; a += 1)
2013
2013
  i = o[a], Fe.call(n, i) || (n[i] = t[i], r[i] = !0);
2014
2014
  }
2015
- function Re(e, n, t, r, o, i, a, s, l) {
2015
+ function De(e, n, t, r, o, i, a, s, l) {
2016
2016
  var u, p;
2017
2017
  if (Array.isArray(o))
2018
2018
  for (o = Array.prototype.slice.call(o), u = 0, p = o.length; u < p; u += 1)
@@ -2062,17 +2062,17 @@ function Ot(e, n) {
2062
2062
  }
2063
2063
  function Xa(e, n, t) {
2064
2064
  var r, o, i, a, s, l, u, p, c = e.kind, y = e.result, f;
2065
- if (f = e.input.charCodeAt(e.position), be(f) || Ve(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (o = e.input.charCodeAt(e.position + 1), be(o) || t && Ve(o)))
2065
+ if (f = e.input.charCodeAt(e.position), be(f) || Re(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (o = e.input.charCodeAt(e.position + 1), be(o) || t && Re(o)))
2066
2066
  return !1;
2067
2067
  for (e.kind = "scalar", e.result = "", i = a = e.position, s = !1; f !== 0; ) {
2068
2068
  if (f === 58) {
2069
- if (o = e.input.charCodeAt(e.position + 1), be(o) || t && Ve(o))
2069
+ if (o = e.input.charCodeAt(e.position + 1), be(o) || t && Re(o))
2070
2070
  break;
2071
2071
  } else if (f === 35) {
2072
2072
  if (r = e.input.charCodeAt(e.position - 1), be(r))
2073
2073
  break;
2074
2074
  } else {
2075
- if (e.position === e.lineStart && pt(e) || t && Ve(f))
2075
+ if (e.position === e.lineStart && pt(e) || t && Re(f))
2076
2076
  break;
2077
2077
  if (Ae(f))
2078
2078
  if (l = e.line, u = e.lineStart, p = e.lineIndent, le(e, !1, -1), e.lineIndent >= n) {
@@ -2136,7 +2136,7 @@ function ni(e, n) {
2136
2136
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), w = e.input.charCodeAt(++e.position); w !== 0; ) {
2137
2137
  if (le(e, !0, n), w = e.input.charCodeAt(e.position), w === p)
2138
2138
  return e.position++, e.tag = a, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = s, !0;
2139
- t ? w === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), x = 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), x = 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, _, x, h, b, r, o, i) : c ? s.push(Re(e, null, _, x, 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;
2139
+ t ? w === 44 && M(e, "expected the node content, but found ','") : M(e, "missed comma between flow collection entries"), x = 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), x = 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 ? De(e, s, _, x, h, b, r, o, i) : c ? s.push(De(e, null, _, x, 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;
2140
2140
  }
2141
2141
  M(e, "unexpected end of the stream within a flow collection");
2142
2142
  }
@@ -2150,7 +2150,7 @@ function ri(e, n) {
2150
2150
  return !1;
2151
2151
  for (e.kind = "scalar", e.result = ""; c !== 0; )
2152
2152
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
2153
- ht === o ? o = c === 43 ? Qt : Ra : M(e, "repeat of a chomping mode identifier");
2153
+ ht === o ? o = c === 43 ? Qt : Da : M(e, "repeat of a chomping mode identifier");
2154
2154
  else if ((p = Wa(c)) >= 0)
2155
2155
  p === 0 ? M(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? M(e, "repeat of an indentation width identifier") : (s = n + p - 1, a = !0);
2156
2156
  else
@@ -2209,7 +2209,7 @@ function oi(e, n, t) {
2209
2209
  return !1;
2210
2210
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), w = e.input.charCodeAt(e.position); w !== 0; ) {
2211
2211
  if (!x && 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))
2212
- w === 63 ? (x && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, x = !0, o = !0) : x ? (x = !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;
2212
+ w === 63 ? (x && (De(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, x = !0, o = !0) : x ? (x = !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;
2213
2213
  else {
2214
2214
  if (a = e.line, s = e.lineStart, l = e.position, !Ge(e, t, Zn, !1, !0))
2215
2215
  break;
@@ -2217,7 +2217,7 @@ function oi(e, n, t) {
2217
2217
  for (w = e.input.charCodeAt(e.position); qe(w); )
2218
2218
  w = e.input.charCodeAt(++e.position);
2219
2219
  if (w === 58)
2220
- w = e.input.charCodeAt(++e.position), be(w) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (Re(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, x = !1, o = !1, f = e.tag, _ = e.result;
2220
+ w = e.input.charCodeAt(++e.position), be(w) || M(e, "a whitespace character is expected after the key-value separator within a block mapping"), x && (De(e, c, y, f, _, null, a, s, l), f = _ = h = null), b = !0, x = !1, o = !1, f = e.tag, _ = e.result;
2221
2221
  else if (b)
2222
2222
  M(e, "can not read an implicit mapping pair; a colon is missed");
2223
2223
  else
@@ -2227,12 +2227,12 @@ function oi(e, n, t) {
2227
2227
  else
2228
2228
  return e.tag = u, e.anchor = p, !0;
2229
2229
  }
2230
- if ((e.line === i || e.lineIndent > n) && (x && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (x ? _ = e.result : h = e.result), x || (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)
2230
+ if ((e.line === i || e.lineIndent > n) && (x && (a = e.line, s = e.lineStart, l = e.position), Ge(e, n, at, !0, o) && (x ? _ = e.result : h = e.result), x || (De(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)
2231
2231
  M(e, "bad indentation of a mapping entry");
2232
2232
  else if (e.lineIndent < n)
2233
2233
  break;
2234
2234
  }
2235
- return x && Re(e, c, y, f, _, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2235
+ return x && De(e, c, y, f, _, null, a, s, l), b && (e.tag = u, e.anchor = p, e.kind = "mapping", e.result = c), b;
2236
2236
  }
2237
2237
  function ai(e) {
2238
2238
  var n, t = !1, r = !1, o, i, a;
@@ -2260,7 +2260,7 @@ function ii(e) {
2260
2260
  var n, t;
2261
2261
  if (t = e.input.charCodeAt(e.position), t !== 38)
2262
2262
  return !1;
2263
- for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !be(t) && !Ve(t); )
2263
+ for (e.anchor !== null && M(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), n = e.position; t !== 0 && !be(t) && !Re(t); )
2264
2264
  t = e.input.charCodeAt(++e.position);
2265
2265
  return e.position === n && M(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(n, e.position), !0;
2266
2266
  }
@@ -2268,7 +2268,7 @@ function si(e) {
2268
2268
  var n, t, r;
2269
2269
  if (r = e.input.charCodeAt(e.position), r !== 42)
2270
2270
  return !1;
2271
- for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !be(r) && !Ve(r); )
2271
+ for (r = e.input.charCodeAt(++e.position), n = e.position; r !== 0 && !be(r) && !Re(r); )
2272
2272
  r = e.input.charCodeAt(++e.position);
2273
2273
  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;
2274
2274
  }
@@ -2374,7 +2374,7 @@ ge[133] = "\\N";
2374
2374
  ge[160] = "\\_";
2375
2375
  ge[8232] = "\\L";
2376
2376
  ge[8233] = "\\P";
2377
- var $i = [
2377
+ var ji = [
2378
2378
  "y",
2379
2379
  "Y",
2380
2380
  "yes",
@@ -2391,7 +2391,7 @@ var $i = [
2391
2391
  "off",
2392
2392
  "Off",
2393
2393
  "OFF"
2394
- ], ji = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2394
+ ], $i = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2395
2395
  function Mi(e, n) {
2396
2396
  var t, r, o, i, a, s, l;
2397
2397
  if (n === null)
@@ -2414,7 +2414,7 @@ function Oi(e) {
2414
2414
  }
2415
2415
  var Ei = 1, Qe = 2;
2416
2416
  function Fi(e) {
2417
- this.schema = e.schema || jt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ue.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Mi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Qe : Ei, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2417
+ this.schema = e.schema || $t, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ue.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Mi(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Qe : Ei, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
2418
2418
  }
2419
2419
  function on(e, n) {
2420
2420
  for (var t = ue.repeat(" ", n), r = 0, o = -1, i = "", a, s = e.length; r < s; )
@@ -2467,13 +2467,13 @@ function fr(e) {
2467
2467
  var n = /^\n* /;
2468
2468
  return n.test(e);
2469
2469
  }
2470
- var mr = 1, wt = 2, gr = 3, yr = 4, De = 5;
2470
+ var mr = 1, wt = 2, gr = 3, yr = 4, Ve = 5;
2471
2471
  function Bi(e, n, t, r, o, i, a, s) {
2472
2472
  var l, u = 0, p = null, c = !1, y = !1, f = r !== -1, _ = -1, h = Ki(ze(e, 0)) && qi(ze(e, e.length - 1));
2473
2473
  if (n || a)
2474
2474
  for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
2475
2475
  if (u = ze(e, l), !Xe(u))
2476
- return De;
2476
+ return Ve;
2477
2477
  h = h && sn(u, p, s), p = u;
2478
2478
  }
2479
2479
  else {
@@ -2482,18 +2482,18 @@ function Bi(e, n, t, r, o, i, a, s) {
2482
2482
  c = !0, f && (y = y || // Foldable line = too long, and not more-indented.
2483
2483
  l - _ - 1 > r && e[_ + 1] !== " ", _ = l);
2484
2484
  else if (!Xe(u))
2485
- return De;
2485
+ return Ve;
2486
2486
  h = h && sn(u, p, s), p = u;
2487
2487
  }
2488
2488
  y = y || f && l - _ - 1 > r && e[_ + 1] !== " ";
2489
2489
  }
2490
- return !c && !y ? h && !a && !o(e) ? mr : i === Qe ? De : wt : t > 9 && fr(e) ? De : a ? i === Qe ? De : wt : y ? yr : gr;
2490
+ return !c && !y ? h && !a && !o(e) ? mr : i === Qe ? Ve : wt : t > 9 && fr(e) ? Ve : a ? i === Qe ? Ve : wt : y ? yr : gr;
2491
2491
  }
2492
2492
  function Li(e, n, t, r, o) {
2493
2493
  e.dump = function() {
2494
2494
  if (n.length === 0)
2495
2495
  return e.quotingType === Qe ? '""' : "''";
2496
- if (!e.noCompatMode && ($i.indexOf(n) !== -1 || ji.test(n)))
2496
+ if (!e.noCompatMode && (ji.indexOf(n) !== -1 || $i.test(n)))
2497
2497
  return e.quotingType === Qe ? '"' + n + '"' : "'" + n + "'";
2498
2498
  var i = e.indent * Math.max(1, t), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - i), s = r || e.flowLevel > -1 && t >= e.flowLevel;
2499
2499
  function l(u) {
@@ -2517,7 +2517,7 @@ function Li(e, n, t, r, o) {
2517
2517
  return "|" + ln(n, e.indent) + un(on(n, i));
2518
2518
  case yr:
2519
2519
  return ">" + ln(n, e.indent) + un(on(Ui(n, a), i));
2520
- case De:
2520
+ case Ve:
2521
2521
  return '"' + Pi(n) + '"';
2522
2522
  default:
2523
2523
  throw new ye("impossible error: invalid scalar style");
@@ -2564,25 +2564,25 @@ function Pi(e) {
2564
2564
  t = ze(e, o), r = ge[t], !r && Xe(t) ? (n += e[o], t >= 65536 && (n += e[o + 1])) : n += r || Oi(t);
2565
2565
  return n;
2566
2566
  }
2567
- function Di(e, n, t) {
2567
+ function Vi(e, n, t) {
2568
2568
  var r = "", o = e.tag, i, a, s;
2569
2569
  for (i = 0, a = t.length; i < a; i += 1)
2570
- s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), ($e(e, n, s, !1, !1) || typeof s > "u" && $e(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2570
+ s = t[i], e.replacer && (s = e.replacer.call(t, String(i), s)), (je(e, n, s, !1, !1) || typeof s > "u" && je(e, n, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
2571
2571
  e.tag = o, e.dump = "[" + r + "]";
2572
2572
  }
2573
2573
  function dn(e, n, t, r) {
2574
2574
  var o = "", i = e.tag, a, s, l;
2575
2575
  for (a = 0, s = t.length; a < s; a += 1)
2576
- 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 += kt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2576
+ l = t[a], e.replacer && (l = e.replacer.call(t, String(a), l)), (je(e, n + 1, l, !0, !0, !1, !0) || typeof l > "u" && je(e, n + 1, null, !0, !0, !1, !0)) && ((!r || o !== "") && (o += kt(e, n)), e.dump && Ze === e.dump.charCodeAt(0) ? o += "-" : o += "- ", o += e.dump);
2577
2577
  e.tag = i, e.dump = o || "[]";
2578
2578
  }
2579
- function Vi(e, n, t) {
2579
+ function Ri(e, n, t) {
2580
2580
  var r = "", o = e.tag, i = Object.keys(t), a, s, l, u, p;
2581
2581
  for (a = 0, s = i.length; a < s; a += 1)
2582
- p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[a], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), $e(e, n, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), $e(e, n, u, !1, !1) && (p += e.dump, r += p));
2582
+ p = "", r !== "" && (p += ", "), e.condenseFlow && (p += '"'), l = i[a], u = t[l], e.replacer && (u = e.replacer.call(t, l, u)), je(e, n, l, !1, !1) && (e.dump.length > 1024 && (p += "? "), p += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), je(e, n, u, !1, !1) && (p += e.dump, r += p));
2583
2583
  e.tag = o, e.dump = "{" + r + "}";
2584
2584
  }
2585
- function Ri(e, n, t, r) {
2585
+ function Di(e, n, t, r) {
2586
2586
  var o = "", i = e.tag, a = Object.keys(t), s, l, u, p, c, y;
2587
2587
  if (e.sortKeys === !0)
2588
2588
  a.sort();
@@ -2591,7 +2591,7 @@ function Ri(e, n, t, r) {
2591
2591
  else if (e.sortKeys)
2592
2592
  throw new ye("sortKeys must be a boolean or a function");
2593
2593
  for (s = 0, l = a.length; s < l; s += 1)
2594
- y = "", (!r || o !== "") && (y += kt(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 += kt(e, n)), $e(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2594
+ y = "", (!r || o !== "") && (y += kt(e, n)), u = a[s], p = t[u], e.replacer && (p = e.replacer.call(t, u, p)), je(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 += kt(e, n)), je(e, n + 1, p, !0, c) && (e.dump && Ze === e.dump.charCodeAt(0) ? y += ":" : y += ": ", y += e.dump, o += y));
2595
2595
  e.tag = i, e.dump = o || "{}";
2596
2596
  }
2597
2597
  function pn(e, n, t) {
@@ -2611,7 +2611,7 @@ function pn(e, n, t) {
2611
2611
  }
2612
2612
  return !1;
2613
2613
  }
2614
- function $e(e, n, t, r, o, i, a) {
2614
+ function je(e, n, t, r, o, i, a) {
2615
2615
  e.tag = null, e.dump = t, pn(e, t, !1) || pn(e, t, !0);
2616
2616
  var s = ir.call(e.dump), l = r, u;
2617
2617
  r && (r = e.flowLevel < 0 || e.flowLevel > n);
@@ -2620,9 +2620,9 @@ function $e(e, n, t, r, o, i, a) {
2620
2620
  e.dump = "*ref_" + c;
2621
2621
  else {
2622
2622
  if (p && y && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), s === "[object Object]")
2623
- r && Object.keys(e.dump).length !== 0 ? (Ri(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Vi(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2623
+ r && Object.keys(e.dump).length !== 0 ? (Di(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Ri(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2624
2624
  else if (s === "[object Array]")
2625
- r && e.dump.length !== 0 ? (e.noArrayIndent && !a && n > 0 ? dn(e, n - 1, e.dump, o) : dn(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Di(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2625
+ r && e.dump.length !== 0 ? (e.noArrayIndent && !a && n > 0 ? dn(e, n - 1, e.dump, o) : dn(e, n, e.dump, o), y && (e.dump = "&ref_" + c + e.dump)) : (Vi(e, n, e.dump), y && (e.dump = "&ref_" + c + " " + e.dump));
2626
2626
  else if (s === "[object String]")
2627
2627
  e.tag !== "?" && Li(e, e.dump, n, i, l);
2628
2628
  else {
@@ -2659,7 +2659,7 @@ function Hi(e, n) {
2659
2659
  var t = new Fi(n);
2660
2660
  t.noRefs || Gi(e, t);
2661
2661
  var r = e;
2662
- return t.replacer && (r = t.replacer.call({ "": r }, "", r)), $e(t, 0, r, !0, !0) ? t.dump + `
2662
+ return t.replacer && (r = t.replacer.call({ "": r }, "", r)), je(t, 0, r, !0, !0) ? t.dump + `
2663
2663
  ` : "";
2664
2664
  }
2665
2665
  var zi = Hi, Ji = {
@@ -2670,7 +2670,7 @@ function Ft(e, n) {
2670
2670
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + n + " instead, which is now safe by default.");
2671
2671
  };
2672
2672
  }
2673
- var Yi = pe, Wi = On, Zi = Kn, Qi = Pn, Xi = Dn, es = jt, ts = ar.load, ns = ar.loadAll, rs = Ji.dump, os = ye, as = {
2673
+ var Yi = pe, Wi = On, Zi = Kn, Qi = Pn, Xi = Vn, es = $t, ts = ar.load, ns = ar.loadAll, rs = Ji.dump, os = ye, as = {
2674
2674
  binary: zn,
2675
2675
  float: Un,
2676
2676
  map: Nn,
@@ -2710,14 +2710,17 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2710
2710
  }
2711
2711
  },
2712
2712
  setup(e) {
2713
- const n = e, t = A(() => n.yamlRecord);
2713
+ const n = e, t = A(() => {
2714
+ const r = Object.fromEntries(Object.entries(n.yamlRecord).filter(([, o]) => o && (Array.isArray(o) ? o.length !== 0 : !0)));
2715
+ return Object.keys(r).length === 0 && r.constructor === Object ? "" : us.dump(r).trim();
2716
+ });
2714
2717
  return (r, o) => {
2715
2718
  const i = q("KCodeBlock");
2716
- return d(), j("div", cs, [
2719
+ return d(), $("div", cs, [
2717
2720
  n.yamlRecord ? (d(), P(i, {
2718
2721
  key: 0,
2719
2722
  id: "yaml-codeblock",
2720
- code: m(us).dump(t.value),
2723
+ code: t.value,
2721
2724
  language: "yaml",
2722
2725
  theme: "dark"
2723
2726
  }, null, 8, ["code"])) : z("", !0)
@@ -2775,18 +2778,18 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2775
2778
  const a = JSON.parse(JSON.stringify(n.record));
2776
2779
  return delete a.created_at, delete a.updated_at, a;
2777
2780
  });
2778
- return (a, s) => (d(), j(Ce, null, [
2779
- e.format === "structured" ? (d(), j("div", ds, [
2780
- (d(!0), j(Ce, null, ve(e.propListTypes, (l) => (d(), j("div", {
2781
+ return (a, s) => (d(), $(Ce, null, [
2782
+ e.format === "structured" ? (d(), $("div", ds, [
2783
+ (d(!0), $(Ce, null, ve(e.propListTypes, (l) => (d(), $("div", {
2781
2784
  key: `config-card-details-${l}-props`,
2782
2785
  class: Ee(`config-card-details-${l}-props`),
2783
2786
  "data-testid": `config-card-details-${l}-props`
2784
2787
  }, [
2785
- l !== "basic" ? (d(), j("div", fs, N(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2786
- (d(!0), j(Ce, null, ve(e.propertyCollections[l], (u) => (d(), P(Tt, {
2788
+ l !== "basic" ? (d(), $("div", fs, N(l === "advanced" ? m(r)("baseConfigCard.sections.advanced") : m(r)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2789
+ (d(!0), $(Ce, null, ve(e.propertyCollections[l], (u) => (d(), P(Tt, {
2787
2790
  key: u.key,
2788
2791
  item: u
2789
- }, je({
2792
+ }, $e({
2790
2793
  label: g(() => [
2791
2794
  X(a.$slots, `${u.key}-label`, { row: u }, void 0, !0)
2792
2795
  ]),
@@ -2808,7 +2811,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2808
2811
  ]), 1032, ["item"]))), 128))
2809
2812
  ], 10, ps))), 128))
2810
2813
  ])) : z("", !0),
2811
- e.format === "json" && n.record ? (d(), P($n, {
2814
+ e.format === "json" && n.record ? (d(), P(jn, {
2812
2815
  key: 1,
2813
2816
  config: n.config,
2814
2817
  "fetcher-url": n.fetcherUrl,
@@ -2829,7 +2832,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2829
2832
  }, hs = (e) => (bn("data-v-40a7f387"), e = e(), Cn(), e), vs = ["aria-hidden"], bs = {
2830
2833
  key: 0,
2831
2834
  "data-testid": "kui-icon-svg-title"
2832
- }, Cs = /* @__PURE__ */ hs(() => /* @__PURE__ */ D("path", {
2835
+ }, Cs = /* @__PURE__ */ hs(() => /* @__PURE__ */ V("path", {
2833
2836
  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",
2834
2837
  fill: "currentColor"
2835
2838
  }, null, -1)), ks = /* @__PURE__ */ ae({
@@ -2908,7 +2911,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2908
2911
  style: vn(r.value)
2909
2912
  }, {
2910
2913
  default: g(() => [
2911
- (d(), j("svg", {
2914
+ (d(), $("svg", {
2912
2915
  "aria-hidden": e.decorative ? "true" : void 0,
2913
2916
  "data-testid": "kui-icon-svg-book-icon",
2914
2917
  fill: "none",
@@ -2918,7 +2921,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2918
2921
  width: "100%",
2919
2922
  xmlns: "http://www.w3.org/2000/svg"
2920
2923
  }, [
2921
- e.title ? (d(), j("title", bs, N(e.title), 1)) : z("", !0),
2924
+ e.title ? (d(), $("title", bs, N(e.title), 1)) : z("", !0),
2922
2925
  Cs
2923
2926
  ], 8, vs))
2924
2927
  ]),
@@ -2931,10 +2934,10 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
2931
2934
  }, Ss = {
2932
2935
  key: 3,
2933
2936
  class: "config-card-details-section"
2934
- }, Ts = ["data-testid"], $s = {
2937
+ }, Ts = ["data-testid"], js = {
2935
2938
  key: 0,
2936
2939
  class: "config-card-prop-section-title"
2937
- }, js = /* @__PURE__ */ ae({
2940
+ }, $s = /* @__PURE__ */ ae({
2938
2941
  __name: "EntityBaseConfigCard",
2939
2942
  props: {
2940
2943
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3062,12 +3065,12 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3062
3065
  section: ke.Basic
3063
3066
  }
3064
3067
  }, _ = F(!1), h = F(!1), x = F(""), b = F({}), w = A(() => {
3065
- var C, R, K;
3068
+ var C, D, K;
3066
3069
  if (!b.value)
3067
3070
  return [];
3068
3071
  const I = [], T = Object.keys(b.value).length;
3069
3072
  for (const O in b.value) {
3070
- 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;
3073
+ const B = (D = (C = o.configSchema) == null ? void 0 : C[O]) == null ? void 0 : D.order, W = (K = f[O]) == null ? void 0 : K.order;
3071
3074
  let ee = T;
3072
3075
  (W || W === 0) && (ee = W === -1 ? T + 1 : W), B && (ee = B === -1 ? T + 1 : B), I.push([O, ee]);
3073
3076
  }
@@ -3087,12 +3090,12 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3087
3090
  };
3088
3091
  }).filter((O) => !O.hidden && O.key !== o.pluginConfigKey);
3089
3092
  }), L = A(() => {
3090
- var C, R;
3093
+ var C, D;
3091
3094
  if (!b.value || !o.pluginConfigKey)
3092
3095
  return [];
3093
3096
  const K = b.value[o.pluginConfigKey] || {}, I = Object.keys(K).length, T = [];
3094
3097
  for (const O in K) {
3095
- const B = (R = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : R.order, W = K[O];
3098
+ const B = (D = (C = o.pluginConfigSchema) == null ? void 0 : C[O]) == null ? void 0 : D.order, W = K[O];
3096
3099
  let ee = W != null && W !== "" ? I - 1 : I;
3097
3100
  B && (ee = B === -1 ? I + 1 : B), T.push([O, ee]);
3098
3101
  }
@@ -3112,19 +3115,19 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3112
3115
  };
3113
3116
  }).filter((O) => !O.hidden);
3114
3117
  }), v = A(() => {
3115
- var C, R, K, I;
3118
+ var C, D, K, I;
3116
3119
  return {
3117
3120
  basic: (C = w.value) == null ? void 0 : C.filter((T) => T.section === ke.Basic),
3118
- advanced: (R = w.value) == null ? void 0 : R.filter((T) => T.section === ke.Advanced),
3121
+ advanced: (D = w.value) == null ? void 0 : D.filter((T) => T.section === ke.Advanced),
3119
3122
  plugin: (I = L.value) == null ? void 0 : I.concat((K = w.value) == null ? void 0 : K.filter((T) => T.section === ke.Plugin))
3120
3123
  };
3121
3124
  }), S = A(() => {
3122
3125
  const C = [];
3123
3126
  return v.value.basic.length && C.push("basic"), v.value.advanced.length && C.push("advanced"), v.value.plugin.length && C.push("plugin"), C;
3124
- }), V = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = A(() => {
3125
- var C, R;
3127
+ }), R = (C) => !!(C.tooltip || i[`${C.key}-label-tooltip`]), re = A(() => {
3128
+ var C, D;
3126
3129
  let K = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3127
- 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;
3130
+ 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, (D = o.config) != null && D.workspace ? `/${o.config.workspace}` : "")), K = K.replace(/{id}/gi, o.config.entityId), K;
3128
3131
  }), G = (C) => {
3129
3132
  b.value && C(JSON.stringify(b.value)) ? r("copy:success", b.value) : r("copy:error");
3130
3133
  };
@@ -3141,20 +3144,20 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3141
3144
  throw new Error(a("errors.dataKeyUndefined", { dataKey: o.dataKey }));
3142
3145
  else
3143
3146
  b.value = { ...C };
3144
- Object.keys(o.configSchema).filter((R) => o.configSchema[R].forceShow).forEach((R) => {
3145
- b.value && typeof b.value[R] > "u" && (b.value[R] = null);
3147
+ Object.keys(o.configSchema).filter((D) => o.configSchema[D].forceShow).forEach((D) => {
3148
+ b.value && typeof b.value[D] > "u" && (b.value[D] = null);
3146
3149
  }), r("fetch:success", C);
3147
3150
  } catch (C) {
3148
- const R = s(C);
3149
- x.value = R.startsWith("code") ? a("baseConfigCard.errors.load") : R, h.value = !0, r("fetch:error", C);
3151
+ const D = s(C);
3152
+ x.value = D.startsWith("code") ? a("baseConfigCard.errors.load") : D, h.value = !0, r("fetch:error", C);
3150
3153
  } finally {
3151
3154
  _.value = !1;
3152
3155
  }
3153
- }), (C, R) => {
3156
+ }), (C, D) => {
3154
3157
  const K = q("KLabel"), I = q("KSelect"), T = q("KButton"), O = q("KClipboardProvider"), B = q("KSkeleton"), W = q("KEmptyState"), ee = q("KCard");
3155
- return d(), P(ee, { class: "kong-ui-entity-base-config-card" }, je({
3158
+ return d(), P(ee, { class: "kong-ui-entity-base-config-card" }, $e({
3156
3159
  actions: g(() => [
3157
- D("div", Is, [
3160
+ V("div", Is, [
3158
3161
  X(C.$slots, "actions", {}, void 0, !0),
3159
3162
  e.config.jsonYamlEnabled ? (d(), P(K, {
3160
3163
  key: 0,
@@ -3179,12 +3182,12 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3179
3182
  "data-testid": "book-icon"
3180
3183
  }, {
3181
3184
  default: g(() => [
3182
- D("a", {
3185
+ V("a", {
3183
3186
  href: e.configCardDoc,
3184
3187
  rel: "noopener",
3185
3188
  target: "_blank"
3186
3189
  }, [
3187
- E(m(ws), { size: m($o) }, null, 8, ["size"])
3190
+ E(m(ws), { size: m(jo) }, null, 8, ["size"])
3188
3191
  ], 8, As)
3189
3192
  ]),
3190
3193
  _: 1
@@ -3219,11 +3222,11 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3219
3222
  "is-error": ""
3220
3223
  }, {
3221
3224
  message: g(() => [
3222
- D("h3", null, N(x.value), 1)
3225
+ V("h3", null, N(x.value), 1)
3223
3226
  ]),
3224
3227
  _: 1
3225
3228
  })) : z("", !0),
3226
- e.config.jsonYamlEnabled ? (d(), j("div", xs, [
3229
+ e.config.jsonYamlEnabled ? (d(), $("div", xs, [
3227
3230
  E(gs, {
3228
3231
  config: e.config,
3229
3232
  "fetcher-url": re.value,
@@ -3231,7 +3234,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3231
3234
  "prop-list-types": S.value,
3232
3235
  "property-collections": v.value,
3233
3236
  record: b.value
3234
- }, je({ _: 2 }, [
3237
+ }, $e({ _: 2 }, [
3235
3238
  ve(Object.keys(C.$slots), (te) => ({
3236
3239
  name: te,
3237
3240
  fn: g(({ row: ne, rowValue: de }) => [
@@ -3242,17 +3245,17 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3242
3245
  ])
3243
3246
  }))
3244
3247
  ]), 1032, ["config", "fetcher-url", "format", "prop-list-types", "property-collections", "record"])
3245
- ])) : (d(), j("div", Ss, [
3246
- (d(!0), j(Ce, null, ve(S.value, (te) => (d(), j("div", {
3248
+ ])) : (d(), $("div", Ss, [
3249
+ (d(!0), $(Ce, null, ve(S.value, (te) => (d(), $("div", {
3247
3250
  key: `config-card-details-${te}-props`,
3248
3251
  class: Ee(`config-card-details-${te}-props`),
3249
3252
  "data-testid": `config-card-details-${te}-props`
3250
3253
  }, [
3251
- te !== "basic" ? (d(), j("div", $s, N(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3252
- (d(!0), j(Ce, null, ve(v.value[te], (ne) => (d(), P(Tt, {
3254
+ te !== "basic" ? (d(), $("div", js, N(te === "advanced" ? m(a)("baseConfigCard.sections.advanced") : m(a)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
3255
+ (d(!0), $(Ce, null, ve(v.value[te], (ne) => (d(), P(Tt, {
3253
3256
  key: ne.key,
3254
3257
  item: ne
3255
- }, je({
3258
+ }, $e({
3256
3259
  label: g(() => [
3257
3260
  X(C.$slots, `${ne.key}-label`, { row: ne }, void 0, !0)
3258
3261
  ]),
@@ -3264,7 +3267,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3264
3267
  ]),
3265
3268
  _: 2
3266
3269
  }, [
3267
- V(ne) ? {
3270
+ R(ne) ? {
3268
3271
  name: "label-tooltip",
3269
3272
  fn: g(() => [
3270
3273
  X(C.$slots, `${ne.key}-label-tooltip`, { row: ne }, void 0, !0)
@@ -3280,7 +3283,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3280
3283
  e.hideTitle ? void 0 : {
3281
3284
  name: "title",
3282
3285
  fn: g(() => [
3283
- D("div", _s, [
3286
+ V("div", _s, [
3284
3287
  X(C.$slots, "title", {}, () => [
3285
3288
  Z(N(m(a)("baseConfigCard.title")), 1)
3286
3289
  ], !0)
@@ -3291,7 +3294,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3291
3294
  ]), 1024);
3292
3295
  };
3293
3296
  }
3294
- }), Ms = /* @__PURE__ */ we(js, [["__scopeId", "data-v-3fd4a3a4"]]), Os = {
3297
+ }), Ms = /* @__PURE__ */ we($s, [["__scopeId", "data-v-3fd4a3a4"]]), Os = {
3295
3298
  class: "form-actions",
3296
3299
  "data-testid": "form-actions"
3297
3300
  }, Es = { key: 0 }, Fs = /* @__PURE__ */ ae({
@@ -3353,8 +3356,8 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3353
3356
  headers: (t = o.config) == null ? void 0 : t.requestHeaders
3354
3357
  }), u = F(!1), p = F(!1), c = F(""), y = A(() => o.canSubmit === !1 || o.isReadonly), f = F(!1), _ = A(() => {
3355
3358
  var v, S;
3356
- let V = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3357
- 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);
3359
+ let R = `${o.config.apiBaseUrl}${o.fetchUrl}`;
3360
+ return o.config.app === "konnect" ? R = R.replace(/{controlPlaneId}/gi, ((v = o.config) == null ? void 0 : v.controlPlaneId) || "") : o.config.app === "kongManager" && (R = R.replace(/\/{workspace}/gi, (S = o.config) != null && S.workspace ? `/${o.config.workspace}` : "")), o.editId ? (R = R.replace(/{id}/gi, o.editId), R) : (R = R.replace(/\/{id}/gi, ""), R);
3358
3361
  }), h = () => {
3359
3362
  f.value = !f.value;
3360
3363
  }, x = () => {
@@ -3388,10 +3391,10 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3388
3391
  u.value = !1;
3389
3392
  }
3390
3393
  }), (v, S) => {
3391
- const V = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), R = q("KTabs"), K = q("KSlideout"), I = q("KCard");
3394
+ const R = q("KSkeleton"), re = q("KEmptyState"), G = q("KAlert"), C = q("KButton"), D = q("KTabs"), K = q("KSlideout"), I = q("KCard");
3392
3395
  return d(), P(I, { class: "kong-ui-entity-base-form" }, {
3393
3396
  default: g(() => [
3394
- u.value ? (d(), P(V, {
3397
+ u.value ? (d(), P(R, {
3395
3398
  key: 0,
3396
3399
  type: "form"
3397
3400
  })) : p.value ? (d(), P(re, {
@@ -3402,10 +3405,10 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3402
3405
  "is-error": !0
3403
3406
  }, {
3404
3407
  message: g(() => [
3405
- D("h3", null, N(c.value), 1)
3408
+ V("h3", null, N(c.value), 1)
3406
3409
  ]),
3407
3410
  _: 1
3408
- }, 8, ["cta-text"])) : (d(), j("form", {
3411
+ }, 8, ["cta-text"])) : (d(), $("form", {
3409
3412
  key: 2,
3410
3413
  "data-testid": "form-content",
3411
3414
  onReset: rt(b, ["prevent"]),
@@ -3418,9 +3421,9 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3418
3421
  appearance: "danger",
3419
3422
  "data-testid": "form-error"
3420
3423
  }, null, 8, ["alert-message"])) : z("", !0),
3421
- D("div", Os, [
3424
+ V("div", Os, [
3422
3425
  X(v.$slots, "form-actions", {}, () => [
3423
- e.config.jsonYamlFormsEnabled ? (d(), j("div", Es, [
3426
+ e.config.jsonYamlFormsEnabled ? (d(), $("div", Es, [
3424
3427
  E(C, {
3425
3428
  appearance: "tertiary",
3426
3429
  "data-testid": "form-view-configuration",
@@ -3467,13 +3470,13 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3467
3470
  onClose: S[1] || (S[1] = (T) => h())
3468
3471
  }, {
3469
3472
  default: g(() => [
3470
- D("div", null, N(m(a)("baseForm.configuration.message")), 1),
3471
- E(R, {
3473
+ V("div", null, N(m(a)("baseForm.configuration.message")), 1),
3474
+ E(D, {
3472
3475
  "data-testid": "form-view-configuration-slideout-tabs",
3473
3476
  tabs: L.value
3474
3477
  }, {
3475
3478
  json: g(() => [
3476
- E($n, {
3479
+ E(jn, {
3477
3480
  config: e.config,
3478
3481
  "fetcher-url": _.value,
3479
3482
  "json-record": o.formFields,
@@ -3549,12 +3552,12 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3549
3552
  f();
3550
3553
  }), (h, x) => {
3551
3554
  const b = q("KTooltip");
3552
- return d(), j("span", {
3555
+ return d(), $("span", {
3553
3556
  ref_key: "contentRef",
3554
3557
  ref: l,
3555
3558
  class: "content-wrapper"
3556
3559
  }, [
3557
- o.value ? (d(), j("span", Ks, [
3560
+ o.value ? (d(), $("span", Ks, [
3558
3561
  E(b, {
3559
3562
  "max-width": "300",
3560
3563
  placement: "bottomStart",
@@ -3572,7 +3575,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3572
3575
  }), Bs = /* @__PURE__ */ we(qs, [["__scopeId", "data-v-c4379fd4"]]), Ls = { class: "toolbar-container" }, Us = {
3573
3576
  key: 0,
3574
3577
  class: "toolbar-button-container"
3575
- }, Ps = ["data-testid"], Ds = /* @__PURE__ */ ae({
3578
+ }, Ps = ["data-testid"], Vs = /* @__PURE__ */ ae({
3576
3579
  __name: "EntityBaseTable",
3577
3580
  props: {
3578
3581
  // table header configuration
@@ -3683,7 +3686,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3683
3686
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3684
3687
  setup(e, { emit: n }) {
3685
3688
  const t = e, r = n, { i18n: { t: o } } = ce.useI18n(), i = A(() => {
3686
- var S, V;
3689
+ var S, R;
3687
3690
  return typeof t.errorMessage == "string" ? {
3688
3691
  hasError: !!t.errorMessage,
3689
3692
  title: t.errorMessage,
@@ -3691,15 +3694,15 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3691
3694
  } : {
3692
3695
  hasError: !!t.errorMessage,
3693
3696
  title: (S = t.errorMessage) == null ? void 0 : S.title,
3694
- message: (V = t.errorMessage) == null ? void 0 : V.message
3697
+ message: (R = t.errorMessage) == null ? void 0 : R.message
3695
3698
  };
3696
3699
  }), a = A(() => t.cacheIdentifier || t.preferencesStorageKey), s = (S) => S.hasData || !!t.query, l = A(() => {
3697
3700
  const S = [];
3698
- return Object.keys(t.tableHeaders).forEach((V) => {
3699
- const re = t.tableHeaders[V];
3701
+ return Object.keys(t.tableHeaders).forEach((R) => {
3702
+ const re = t.tableHeaders[R];
3700
3703
  S.push({
3701
- label: re.label ?? V,
3702
- key: V,
3704
+ label: re.label ?? R,
3705
+ key: R,
3703
3706
  sortable: re.sortable ?? !1
3704
3707
  });
3705
3708
  }), t.enableEntityActions && S.push({
@@ -3711,24 +3714,24 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3711
3714
  "data-testid": S.name,
3712
3715
  ...t.rowAttributes(S)
3713
3716
  }), p = F({}), c = (S) => {
3714
- var V;
3715
- return (V = p.value) == null ? void 0 : V.$el.querySelector(`[data-rowid="${S.id}"]`);
3717
+ var R;
3718
+ return (R = p.value) == null ? void 0 : R.$el.querySelector(`[data-rowid="${S.id}"]`);
3716
3719
  }, y = (S) => {
3717
- const V = {
3720
+ const R = {
3718
3721
  "data-testid": S.headerKey,
3719
3722
  ...t.cellAttributes(S)
3720
3723
  };
3721
- return S.colIndex === 0 && (V.style = {
3724
+ return S.colIndex === 0 && (R.style = {
3722
3725
  maxWidth: "250px",
3723
3726
  overflowX: "hidden",
3724
3727
  textOverflow: "ellipsis"
3725
- }), V;
3728
+ }), R;
3726
3729
  }, f = () => {
3727
3730
  r("empty-state-cta-clicked"), _();
3728
3731
  }, _ = () => {
3729
3732
  r("clear-search-input");
3730
- }, h = A(() => t.disableRowClick ? void 0 : (S, V) => {
3731
- r("click:row", V);
3733
+ }, h = A(() => t.disableRowClick ? void 0 : (S, R) => {
3734
+ r("click:row", R);
3732
3735
  }), x = (S) => {
3733
3736
  r("sort", S);
3734
3737
  }, { setTablePreferences: b, getTablePreferences: w } = Er(), L = A(() => {
@@ -3740,14 +3743,14 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3740
3743
  }), v = (S) => {
3741
3744
  t.preferencesStorageKey && b(t.preferencesStorageKey, S);
3742
3745
  };
3743
- return (S, V) => {
3744
- const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), R = q("KTable"), K = q("KCard");
3746
+ return (S, R) => {
3747
+ const re = q("KIcon"), G = q("KButton"), C = q("KDropdown"), D = q("KTable"), K = q("KCard");
3745
3748
  return d(), P(K, {
3746
3749
  class: "kong-ui-entity-base-table",
3747
3750
  title: e.title
3748
3751
  }, {
3749
3752
  default: g(() => [
3750
- E(R, {
3753
+ E(D, {
3751
3754
  ref_key: "tableRefs",
3752
3755
  ref: p,
3753
3756
  "cache-identifier": a.value,
@@ -3776,13 +3779,13 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3776
3779
  "search-input": e.query,
3777
3780
  onKtableEmptyStateCtaClicked: f,
3778
3781
  "onRow:click": h.value,
3779
- onSort: V[0] || (V[0] = (I) => x(I)),
3782
+ onSort: R[0] || (R[0] = (I) => x(I)),
3780
3783
  "onUpdate:tablePreferences": v
3781
- }, je({
3784
+ }, $e({
3782
3785
  toolbar: g(({ state: I }) => [
3783
- Je(D("div", Ls, [
3786
+ Je(V("div", Ls, [
3784
3787
  X(S.$slots, "toolbar-filter", {}, void 0, !0),
3785
- S.$slots["toolbar-button"] ? (d(), j("div", Us, [
3788
+ S.$slots["toolbar-button"] ? (d(), $("div", Us, [
3786
3789
  X(S.$slots, "toolbar-button", {}, void 0, !0)
3787
3790
  ])) : z("", !0)
3788
3791
  ], 512), [
@@ -3790,7 +3793,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3790
3793
  ])
3791
3794
  ]),
3792
3795
  actions: g(({ row: I, rowKey: T, rowValue: O }) => [
3793
- D("div", {
3796
+ V("div", {
3794
3797
  class: "actions-container",
3795
3798
  "data-testid": I.name
3796
3799
  }, [
@@ -3853,7 +3856,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3853
3856
  }, 8, ["title"]);
3854
3857
  };
3855
3858
  }
3856
- }), Vs = /* @__PURE__ */ we(Ds, [["__scopeId", "data-v-ecfaa7cf"]]), Rs = {
3859
+ }), Rs = /* @__PURE__ */ we(Vs, [["__scopeId", "data-v-ecfaa7cf"]]), Ds = {
3857
3860
  key: 0,
3858
3861
  class: "kong-ui-entity-delete-error"
3859
3862
  }, Gs = {
@@ -3917,7 +3920,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3917
3920
  onProceed: s
3918
3921
  }, {
3919
3922
  default: g(() => [
3920
- e.error ? (d(), j("div", Rs, [
3923
+ e.error ? (d(), $("div", Ds, [
3921
3924
  E(p, { appearance: "danger" }, {
3922
3925
  alertMessage: g(() => [
3923
3926
  Z(N(e.error), 1)
@@ -3929,7 +3932,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3929
3932
  class: "message",
3930
3933
  keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3931
3934
  tag: "p"
3932
- }, je({
3935
+ }, $e({
3933
3936
  entityType: g(() => [
3934
3937
  Z(N(r.entityType), 1)
3935
3938
  ]),
@@ -3938,14 +3941,14 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3938
3941
  r.entityName ? {
3939
3942
  name: "entityName",
3940
3943
  fn: g(() => [
3941
- D("strong", null, N(r.entityName), 1)
3944
+ V("strong", null, N(r.entityName), 1)
3942
3945
  ]),
3943
3946
  key: "0"
3944
3947
  } : void 0
3945
3948
  ]), 1032, ["keypath"]),
3946
- r.description || l.$slots.description ? (d(), j("div", Gs, [
3949
+ r.description || l.$slots.description ? (d(), $("div", Gs, [
3947
3950
  X(l.$slots, "description", {}, () => [
3948
- D("p", null, N(r.description), 1)
3951
+ V("p", null, N(r.description), 1)
3949
3952
  ], !0)
3950
3953
  ])) : z("", !0)
3951
3954
  ]),
@@ -3976,16 +3979,16 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
3976
3979
  }
3977
3980
  },
3978
3981
  setup(e) {
3979
- return (n, t) => (d(), j("svg", Js, [
3980
- D("mask", Ys, [
3981
- D("rect", {
3982
+ return (n, t) => (d(), $("svg", Js, [
3983
+ V("mask", Ys, [
3984
+ V("rect", {
3982
3985
  fill: e.color,
3983
3986
  height: "20",
3984
3987
  width: "20"
3985
3988
  }, null, 8, Ws)
3986
3989
  ]),
3987
- D("g", Zs, [
3988
- D("path", {
3990
+ V("g", Zs, [
3991
+ V("path", {
3989
3992
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3990
3993
  fill: e.color
3991
3994
  }, null, 8, Qs)
@@ -4057,7 +4060,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4057
4060
  b && (i.value = !1), o("update:modelValue", new URLSearchParams(w).toString());
4058
4061
  };
4059
4062
  return (b, w) => {
4060
- const L = q("KInput"), v = q("KButton"), S = q("KSelect"), V = q("KMenuItem"), re = q("KMenu");
4063
+ const L = q("KInput"), v = q("KButton"), S = q("KSelect"), R = q("KMenuItem"), re = q("KMenu");
4061
4064
  return e.config.isExactMatch ? (d(), P(L, {
4062
4065
  key: 0,
4063
4066
  autocomplete: "off",
@@ -4071,7 +4074,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4071
4074
  E(mn)
4072
4075
  ]),
4073
4076
  _: 1
4074
- }, 8, ["model-value", "placeholder"])) : (d(), j("div", Xs, [
4077
+ }, 8, ["model-value", "placeholder"])) : (d(), $("div", Xs, [
4075
4078
  E(v, {
4076
4079
  appearance: "tertiary",
4077
4080
  "data-testid": "filter-button",
@@ -4083,7 +4086,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4083
4086
  ]),
4084
4087
  _: 1
4085
4088
  }),
4086
- Je(D("div", {
4089
+ Je(V("div", {
4087
4090
  class: "kong-ui-entity-filter-backdrop",
4088
4091
  onClick: u
4089
4092
  }, null, 512), [
@@ -4091,29 +4094,29 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4091
4094
  ]),
4092
4095
  Je(E(re, { class: "kong-ui-entity-filter-menu" }, {
4093
4096
  body: g(() => [
4094
- (d(!0), j(Ce, null, ve(l.value, (G, C) => (d(), P(V, {
4097
+ (d(!0), $(Ce, null, ve(l.value, (G, C) => (d(), P(R, {
4095
4098
  key: G.value,
4096
4099
  "data-testid": G.value,
4097
4100
  expandable: "",
4098
4101
  "last-menu-item": C === l.value.length - 1
4099
4102
  }, {
4100
4103
  itemTitle: g(() => [
4101
- D("span", el, [
4104
+ V("span", el, [
4102
4105
  Z(N(G.label) + " ", 1),
4103
- Je(D("span", tl, null, 512), [
4106
+ Je(V("span", tl, null, 512), [
4104
4107
  [Ye, s.value.includes(G.value)]
4105
4108
  ])
4106
4109
  ])
4107
4110
  ]),
4108
4111
  itemBody: g(() => {
4109
- var R, K;
4112
+ var D, K;
4110
4113
  return [
4111
- D("div", nl, [
4112
- D("label", {
4114
+ V("div", nl, [
4115
+ V("label", {
4113
4116
  class: "menu-item-label",
4114
4117
  for: c(G.value)
4115
4118
  }, N(m(t)("filter.fieldLabel")), 9, rl),
4116
- ((K = (R = e.config.schema) == null ? void 0 : R[G.value]) == null ? void 0 : K.type) === "select" ? (d(), P(S, {
4119
+ ((K = (D = e.config.schema) == null ? void 0 : D[G.value]) == null ? void 0 : K.type) === "select" ? (d(), P(S, {
4117
4120
  key: 0,
4118
4121
  id: c(G.value),
4119
4122
  modelValue: a.value[G.value],
@@ -4130,7 +4133,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4130
4133
  type: f(G.value)
4131
4134
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4132
4135
  ]),
4133
- D("div", ol, [
4136
+ V("div", ol, [
4134
4137
  E(v, {
4135
4138
  appearance: "tertiary",
4136
4139
  "data-testid": "apply-filter",
@@ -4160,7 +4163,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4160
4163
  }, 1032, ["data-testid", "last-menu-item"]))), 128))
4161
4164
  ]),
4162
4165
  actionButton: g(() => [
4163
- D("div", al, [
4166
+ V("div", al, [
4164
4167
  E(v, {
4165
4168
  appearance: "tertiary",
4166
4169
  size: "small",
@@ -4245,31 +4248,31 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4245
4248
  },
4246
4249
  setup(e) {
4247
4250
  const n = ut();
4248
- return (t, r) => (d(), j("fieldset", {
4251
+ return (t, r) => (d(), $("fieldset", {
4249
4252
  class: Ee(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4250
4253
  }, [
4251
- D("div", ll, [
4252
- e.hideInfoHeader ? z("", !0) : (d(), j("div", {
4254
+ V("div", ll, [
4255
+ e.hideInfoHeader ? z("", !0) : (d(), $("div", {
4253
4256
  key: 0,
4254
4257
  class: Ee(["form-section-info", { sticky: e.stickyInfoHeader }])
4255
4258
  }, [
4256
- e.title ? (d(), j("h4", ul, N(e.title), 1)) : z("", !0),
4257
- e.description || m(n).description ? (d(), j("div", cl, [
4259
+ e.title ? (d(), $("h4", ul, N(e.title), 1)) : z("", !0),
4260
+ e.description || m(n).description ? (d(), $("div", cl, [
4258
4261
  X(t.$slots, "description", {}, () => [
4259
- D("p", null, N(e.description), 1)
4262
+ V("p", null, N(e.description), 1)
4260
4263
  ], !0)
4261
4264
  ])) : z("", !0),
4262
- m(n).footer ? (d(), j("div", dl, [
4265
+ m(n).footer ? (d(), $("div", dl, [
4263
4266
  X(t.$slots, "footer", {}, void 0, !0)
4264
4267
  ])) : z("", !0)
4265
4268
  ], 2)),
4266
- D("div", pl, [
4269
+ V("div", pl, [
4267
4270
  X(t.$slots, "default", {}, void 0, !0)
4268
4271
  ])
4269
4272
  ])
4270
4273
  ], 2));
4271
4274
  }
4272
- }), gn = /* @__PURE__ */ we(fl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Nt, useDeleteUrlBuilder: ml, useErrors: gl, useExternalLinkCreator: ql, useFetchUrlBuilder: Bl, useFetcher: yl, useDebouncedFilter: vr, useStringHelpers: Ll, useHelpers: Ul, useGatewayFeatureSupported: Pl, useTruncationDetector: Dl } = ce, hl = { class: "add-to-group-form-container" }, vl = { class: "add-to-group-cta-text" }, bl = {
4275
+ }), gn = /* @__PURE__ */ we(fl, [["__scopeId", "data-v-3565daa7"]]), { useAxios: Nt, useDeleteUrlBuilder: ml, useErrors: gl, useExternalLinkCreator: ql, useFetchUrlBuilder: Bl, useFetcher: yl, useDebouncedFilter: vr, useStringHelpers: Ll, useHelpers: Ul, useGatewayFeatureSupported: Pl, useTruncationDetector: Vl } = ce, hl = { class: "add-to-group-form-container" }, vl = { class: "add-to-group-cta-text" }, bl = {
4273
4276
  key: 0,
4274
4277
  class: "kong-ui-entity-add-to-groups-error"
4275
4278
  }, Cl = { key: 0 }, kl = /* @__PURE__ */ ae({
@@ -4319,7 +4322,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4319
4322
  return T ? T.name : I;
4320
4323
  }, w = () => {
4321
4324
  S.value = "", L.value = [], C.value = [], o("cancel");
4322
- }, L = F([]), v = F(!1), S = F(""), V = async () => {
4325
+ }, L = F([]), v = F(!1), S = F(""), R = async () => {
4323
4326
  if (!a.value.length) {
4324
4327
  S.value = "", C.value = [], o("cancel");
4325
4328
  return;
@@ -4330,7 +4333,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4330
4333
  let O = !0;
4331
4334
  T.forEach((B) => {
4332
4335
  B.status !== "fulfilled" && (O = !1);
4333
- }), O ? (L.value = [], C.value = [], o("add:success", a.value), a.value = []) : (L.value.length && o("add:partial-success", L.value), a.value = [], R(T));
4336
+ }), O ? (L.value = [], C.value = [], o("add:success", a.value), a.value = []) : (L.value.length && o("add:partial-success", L.value), a.value = [], D(T));
4334
4337
  } catch {
4335
4338
  S.value = t("consumer_groups.errors.add"), o("error", S.value);
4336
4339
  } finally {
@@ -4351,7 +4354,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4351
4354
  let B = `${b(I)} - ${O.message}`;
4352
4355
  return O.response.status === 409 && (B = `${b(I)} - ${t("consumer_groups.errors.already_added")}`), Promise.reject(Error(B));
4353
4356
  }
4354
- }, C = F([]), R = (I) => {
4357
+ }, C = F([]), D = (I) => {
4355
4358
  C.value = I.map((T) => {
4356
4359
  var O;
4357
4360
  return (O = T.reason) == null ? void 0 : O.message;
@@ -4370,11 +4373,11 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4370
4373
  title: m(t)("consumer_groups.consumers.add.title"),
4371
4374
  visible: e.visible,
4372
4375
  onCancel: w,
4373
- onProceed: V
4376
+ onProceed: R
4374
4377
  }, {
4375
4378
  default: g(() => [
4376
- D("div", hl, [
4377
- D("p", vl, N(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4379
+ V("div", hl, [
4380
+ V("p", vl, N(m(t)("consumer_groups.consumers.add.ctaText")), 1),
4378
4381
  E(O, {
4379
4382
  modelValue: a.value,
4380
4383
  "onUpdate:modelValue": T[0] || (T[0] = (ee) => a.value = ee),
@@ -4390,14 +4393,14 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4390
4393
  width: "100%",
4391
4394
  onQueryChange: m(s)
4392
4395
  }, null, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4393
- S.value || f.value || C.value.length ? (d(), j("div", bl, [
4396
+ S.value || f.value || C.value.length ? (d(), $("div", bl, [
4394
4397
  E(B, { appearance: "danger" }, {
4395
4398
  alertMessage: g(() => [
4396
- D("p", null, N(m(t)("consumer_groups.errors.add")), 1),
4397
- C.value.length ? (d(), j("ul", Cl, [
4398
- (d(!0), j(Ce, null, ve(C.value, (ee, te) => (d(), j("li", { key: te }, N(ee), 1))), 128))
4399
+ V("p", null, N(m(t)("consumer_groups.errors.add")), 1),
4400
+ C.value.length ? (d(), $("ul", Cl, [
4401
+ (d(!0), $(Ce, null, ve(C.value, (ee, te) => (d(), $("li", { key: te }, N(ee), 1))), 128))
4399
4402
  ])) : z("", !0),
4400
- D("div", null, N(S.value || f.value), 1)
4403
+ V("div", null, N(S.value || f.value), 1)
4401
4404
  ]),
4402
4405
  _: 1
4403
4406
  })
@@ -4468,23 +4471,23 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4468
4471
  name: { label: i("consumer_groups.list.table_headers.name"), searchable: !0, sortable: !0 }
4469
4472
  };
4470
4473
  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 };
4471
- const f = y, _ = ($) => ({
4472
- "data-testid": $.username ?? $.custom_id ?? $.id
4474
+ const f = y, _ = (j) => ({
4475
+ "data-testid": j.username ?? j.custom_id ?? j.id
4473
4476
  }), h = A(() => {
4474
4477
  var Y, se, he, Ie;
4475
- let $ = `${r.config.apiBaseUrl}${Me.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4476
- return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), $;
4478
+ let j = `${r.config.apiBaseUrl}${Me.list[r.config.app][u.value ? "forConsumer" : "all"]}`;
4479
+ return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), j;
4477
4480
  }), x = F(""), b = A(() => {
4478
- const $ = r.config.app === "konnect" || r.config.isExactMatch;
4479
- return $ ? {
4480
- isExactMatch: $,
4481
+ const j = r.config.app === "konnect" || r.config.isExactMatch;
4482
+ return j ? {
4483
+ isExactMatch: j,
4481
4484
  fields: {
4482
4485
  username: y.name,
4483
4486
  id: { label: i("consumer_groups.list.table_headers.id") }
4484
4487
  },
4485
4488
  placeholder: i("consumer_groups.search.placeholder")
4486
4489
  } : {
4487
- isExactMatch: $,
4490
+ isExactMatch: j,
4488
4491
  fields: {
4489
4492
  name: y.name
4490
4493
  },
@@ -4492,52 +4495,52 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4492
4495
  };
4493
4496
  }), w = A(() => u.value && !r.config.paginatedEndpoint ? "consumer_groups" : void 0), { fetcher: L, fetcherState: v } = yl(r.config, h.value, w.value), S = () => {
4494
4497
  x.value = "";
4495
- }, V = () => {
4498
+ }, R = () => {
4496
4499
  l.value++;
4497
- }, re = F(null), G = ($, Y) => {
4498
- const se = $.id;
4500
+ }, re = F(null), G = (j, Y) => {
4501
+ const se = j.id;
4499
4502
  if (!Y(se)) {
4500
4503
  t("copy:error", {
4501
- entity: $,
4504
+ entity: j,
4502
4505
  field: "id",
4503
4506
  message: i("consumer_groups.errors.copy")
4504
4507
  });
4505
4508
  return;
4506
4509
  }
4507
4510
  t("copy:success", {
4508
- entity: $,
4511
+ entity: j,
4509
4512
  field: "id",
4510
4513
  message: i("consumer_groups.copy.success", { val: se })
4511
4514
  });
4512
- }, C = ($, Y) => {
4513
- const se = JSON.stringify($);
4515
+ }, C = (j, Y) => {
4516
+ const se = JSON.stringify(j);
4514
4517
  if (!Y(se)) {
4515
4518
  t("copy:error", {
4516
- entity: $,
4519
+ entity: j,
4517
4520
  message: i("consumer_groups.errors.copy")
4518
4521
  });
4519
4522
  return;
4520
4523
  }
4521
4524
  t("copy:success", {
4522
- entity: $,
4525
+ entity: j,
4523
4526
  message: i("consumer_groups.copy.success_brief")
4524
4527
  });
4525
- }, R = async ($) => {
4528
+ }, D = async (j) => {
4526
4529
  var se;
4527
- await ((se = r.canRetrieve) == null ? void 0 : se.call(r, $)) && a.push(r.config.getViewRoute($.id));
4528
- }, K = ($) => ({
4530
+ await ((se = r.canRetrieve) == null ? void 0 : se.call(r, j)) && a.push(r.config.getViewRoute(j.id));
4531
+ }, K = (j) => ({
4529
4532
  label: i("consumer_groups.actions.view"),
4530
- to: r.config.getViewRoute($)
4531
- }), I = ($) => ({
4533
+ to: r.config.getViewRoute(j)
4534
+ }), I = (j) => ({
4532
4535
  label: i("consumer_groups.actions.edit"),
4533
- to: r.config.getEditRoute($)
4534
- }), T = F(void 0), O = F(!1), B = F(!1), W = F(""), ee = ml(r.config, h.value), te = ($) => {
4535
- T.value = $, O.value = !0;
4536
+ to: r.config.getEditRoute(j)
4537
+ }), T = F(void 0), O = F(!1), B = F(!1), W = F(""), ee = ml(r.config, h.value), te = (j) => {
4538
+ T.value = j, O.value = !0;
4536
4539
  }, ne = () => {
4537
4540
  O.value = !1;
4538
4541
  }, de = async () => {
4539
- var $, Y, se;
4540
- if (($ = T.value) != null && $.id) {
4542
+ var j, Y, se;
4543
+ if ((j = T.value) != null && j.id) {
4541
4544
  B.value = !0;
4542
4545
  try {
4543
4546
  await s.delete(ee(T.value.id)), B.value = !1, O.value = !1, l.value++, t("delete:success", T.value);
@@ -4551,37 +4554,37 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4551
4554
  Le.value = !0;
4552
4555
  }, U = () => {
4553
4556
  Le.value = !1;
4554
- }, ie = ($, Y) => {
4555
- Y || U(), l.value++, t("add:success", $);
4557
+ }, ie = (j, Y) => {
4558
+ Y || U(), l.value++, t("add:success", j);
4556
4559
  }, J = () => {
4557
4560
  u.value && k();
4558
- }, H = F(void 0), fe = F(!1), _e = F(""), me = ($) => {
4559
- H.value = $, fe.value = !0;
4561
+ }, H = F(void 0), fe = F(!1), _e = F(""), me = (j) => {
4562
+ H.value = j, fe.value = !0;
4560
4563
  }, Ne = () => {
4561
4564
  fe.value = !1, H.value = void 0;
4562
4565
  }, et = A(() => {
4563
4566
  var Y, se, he, Ie;
4564
- let $ = `${r.config.apiBaseUrl}${Me.list[r.config.app].oneForConsumer}`;
4565
- return r.config.app === "konnect" ? $ = $.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && ($ = $.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), $;
4567
+ let j = `${r.config.apiBaseUrl}${Me.list[r.config.app].oneForConsumer}`;
4568
+ return r.config.app === "konnect" ? j = j.replace(/{controlPlaneId}/gi, ((Y = r.config) == null ? void 0 : Y.controlPlaneId) || "").replace(/{consumerId}/gi, ((se = r.config) == null ? void 0 : se.consumerId) || "") : r.config.app === "kongManager" && (j = j.replace(/\/{workspace}/gi, (he = r.config) != null && he.workspace ? `/${r.config.workspace}` : "").replace(/{consumerId}/gi, ((Ie = r.config) == null ? void 0 : Ie.consumerId) || "")), j;
4566
4569
  }), qt = F(!1), br = async () => {
4567
4570
  if (H.value) {
4568
4571
  qt.value = !0;
4569
4572
  try {
4570
- const $ = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4571
- await s.delete($), t("remove:success", H.value), Ne(), l.value++;
4572
- } catch ($) {
4573
- _e.value = $.message || i("consumer_groups.errors.delete"), t("error", $);
4573
+ const j = et.value.replace(/{consumerGroupId}/gi, H.value.id);
4574
+ await s.delete(j), t("remove:success", H.value), Ne(), l.value++;
4575
+ } catch (j) {
4576
+ _e.value = j.message || i("consumer_groups.errors.delete"), t("error", j);
4574
4577
  } finally {
4575
4578
  qt.value = !1;
4576
4579
  }
4577
4580
  }
4578
4581
  }, Bt = F(!0);
4579
- Te(v, ($) => {
4582
+ Te(v, (j) => {
4580
4583
  var Y, se, he, Ie;
4581
- if (Array.isArray((Y = $ == null ? void 0 : $.response) == null ? void 0 : Y.data) && (Bt.value = $.response.data.length > 0), $.status === Ke.Error) {
4584
+ if (Array.isArray((Y = j == null ? void 0 : j.response) == null ? void 0 : Y.data) && (Bt.value = j.response.data.length > 0), j.status === Ke.Error) {
4582
4585
  re.value = {
4583
4586
  title: i("consumer_groups.errors.general")
4584
- }, (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);
4587
+ }, (Ie = (he = (se = j.error) == null ? void 0 : se.response) == null ? void 0 : he.data) != null && Ie.message && (re.value.message = j.error.response.data.message), t("error", j.error);
4585
4588
  return;
4586
4589
  }
4587
4590
  re.value = null;
@@ -4594,10 +4597,10 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4594
4597
  });
4595
4598
  return ct(async () => {
4596
4599
  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"));
4597
- }), ($, Y) => {
4600
+ }), (j, Y) => {
4598
4601
  const se = q("KButton"), he = q("KBadge"), Ie = q("KTruncate"), He = q("KDropdownItem"), Ut = q("KClipboardProvider"), Cr = q("KPrompt");
4599
- return d(), j("div", _l, [
4600
- E(m(Vs), {
4602
+ return d(), $("div", _l, [
4603
+ E(m(Rs), {
4601
4604
  "cache-identifier": e.cacheIdentifier,
4602
4605
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4603
4606
  "disable-pagination-page-jump": "",
@@ -4614,9 +4617,9 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4614
4617
  "table-headers": m(f),
4615
4618
  "use-action-outside": e.useActionOutside,
4616
4619
  onClearSearchInput: S,
4617
- "onClick:row": Y[3] || (Y[3] = (Q) => R(Q)),
4620
+ "onClick:row": Y[3] || (Y[3] = (Q) => D(Q)),
4618
4621
  onEmptyStateCtaClicked: J,
4619
- onSort: V
4622
+ onSort: R
4620
4623
  }, {
4621
4624
  "toolbar-filter": g(() => [
4622
4625
  u.value ? z("", !0) : (d(), P(m(sl), {
@@ -4657,7 +4660,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4657
4660
  }, 8, ["to"]))
4658
4661
  ]),
4659
4662
  name: g(({ rowValue: Q }) => [
4660
- D("b", null, N(Q ?? "-"), 1)
4663
+ V("b", null, N(Q ?? "-"), 1)
4661
4664
  ]),
4662
4665
  consumers_count: g(({ rowValue: Q }) => [
4663
4666
  Z(N(Q ?? "-"), 1)
@@ -4665,7 +4668,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4665
4668
  tags: g(({ rowValue: Q }) => [
4666
4669
  (Q == null ? void 0 : Q.length) > 0 ? (d(), P(Ie, { key: 0 }, {
4667
4670
  default: g(() => [
4668
- (d(!0), j(Ce, null, ve(Q, (Ue) => (d(), P(he, {
4671
+ (d(!0), $(Ce, null, ve(Q, (Ue) => (d(), P(he, {
4669
4672
  key: Ue,
4670
4673
  onClick: Y[2] || (Y[2] = rt(() => {
4671
4674
  }, ["stop"]))
@@ -4677,7 +4680,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4677
4680
  }, 1024))), 128))
4678
4681
  ]),
4679
4682
  _: 2
4680
- }, 1024)) : (d(), j("span", Il, "-"))
4683
+ }, 1024)) : (d(), $("span", Il, "-"))
4681
4684
  ]),
4682
4685
  actions: g(({ row: Q }) => [
4683
4686
  E(Ut, null, {
@@ -4787,31 +4790,31 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4787
4790
  class: "exit-modal-message",
4788
4791
  keypath: e.config.consumerUsername ? "consumer_groups.consumers.exit.confirmation" : "consumer_groups.consumers.exit.confirmationNoUsername",
4789
4792
  tag: "p"
4790
- }, je({
4793
+ }, $e({
4791
4794
  consumerGroup: g(() => [
4792
- D("strong", null, N(H.value.name || H.value.id), 1)
4795
+ V("strong", null, N(H.value.name || H.value.id), 1)
4793
4796
  ]),
4794
4797
  _: 2
4795
4798
  }, [
4796
4799
  e.config.consumerUsername ? {
4797
4800
  name: "consumer",
4798
4801
  fn: g(() => [
4799
- D("strong", null, N(e.config.consumerUsername), 1)
4802
+ V("strong", null, N(e.config.consumerUsername), 1)
4800
4803
  ]),
4801
4804
  key: "0"
4802
4805
  } : void 0
4803
4806
  ]), 1032, ["keypath"]),
4804
- D("p", null, N(m(i)("consumer_groups.consumers.exit.description")), 1)
4807
+ V("p", null, N(m(i)("consumer_groups.consumers.exit.description")), 1)
4805
4808
  ]),
4806
4809
  _: 1
4807
4810
  }, 8, ["title", "visible"])) : z("", !0)
4808
4811
  ]);
4809
4812
  };
4810
4813
  }
4811
- }), Vl = /* @__PURE__ */ Kt(Al, [["__scopeId", "data-v-3624929d"]]), xl = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-container" }, Tl = { class: "select-item-label" }, $l = {
4814
+ }), Rl = /* @__PURE__ */ Kt(Al, [["__scopeId", "data-v-3624929d"]]), xl = { class: "kong-ui-entities-consumer-group-form" }, Sl = { class: "select-item-container" }, Tl = { class: "select-item-label" }, jl = {
4812
4815
  key: 0,
4813
4816
  class: "select-item-description"
4814
- }, jl = /* @__PURE__ */ ae({
4817
+ }, $l = /* @__PURE__ */ ae({
4815
4818
  __name: "ConsumerGroupForm",
4816
4819
  props: {
4817
4820
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4869,7 +4872,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4869
4872
  }, S = () => {
4870
4873
  var k;
4871
4874
  i.push(((k = t.config) == null ? void 0 : k.cancelRoute) || { name: "consumer-group-list" });
4872
- }, V = (k) => {
4875
+ }, R = (k) => {
4873
4876
  r("error", k);
4874
4877
  }, re = (k) => {
4875
4878
  r("loading", k);
@@ -4887,7 +4890,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4887
4890
  T(me);
4888
4891
  }
4889
4892
  Object.assign(s, a.fields);
4890
- }, C = A(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : o("consumer_groups.form.validation_errors.name")), R = A(() => {
4893
+ }, C = A(() => /^[0-9a-zA-Z.\-_~]*$/.test(a.fields.name) ? "" : o("consumer_groups.form.validation_errors.name")), D = A(() => {
4891
4894
  var k, U;
4892
4895
  return {
4893
4896
  name: a.fields.name,
@@ -4906,7 +4909,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4906
4909
  }, W = async () => {
4907
4910
  let k = "";
4908
4911
  try {
4909
- const { data: U } = await f.post(v("create"), R.value);
4912
+ const { data: U } = await f.post(v("create"), D.value);
4910
4913
  k = "item" in U ? U.item.id : U.id;
4911
4914
  } catch (U) {
4912
4915
  T(U);
@@ -4923,7 +4926,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4923
4926
  }, ee = async () => {
4924
4927
  var ie;
4925
4928
  try {
4926
- ((ie = t.config) == null ? void 0 : ie.app) === "konnect" ? await f.put(v("edit"), R.value) : await f.patch(v("edit"), R.value);
4929
+ ((ie = t.config) == null ? void 0 : ie.app) === "konnect" ? await f.put(v("edit"), D.value) : await f.patch(v("edit"), D.value);
4927
4930
  } catch (J) {
4928
4931
  T(J);
4929
4932
  }
@@ -4957,17 +4960,17 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
4957
4960
  await c();
4958
4961
  }), (k, U) => {
4959
4962
  const ie = q("KInput"), J = q("KMultiselect");
4960
- return d(), j("div", xl, [
4963
+ return d(), $("div", xl, [
4961
4964
  E(m(Ns), {
4962
4965
  "can-submit": w.value && L.value,
4963
4966
  config: e.config,
4964
4967
  "edit-id": e.consumerGroupId,
4965
4968
  "error-message": a.errorMessage || m(p) || C.value,
4966
4969
  "fetch-url": x.value,
4967
- "form-fields": R.value,
4970
+ "form-fields": D.value,
4968
4971
  "is-readonly": a.readonly,
4969
4972
  onCancel: S,
4970
- "onFetch:error": U[3] || (U[3] = (H) => V(H)),
4973
+ "onFetch:error": U[3] || (U[3] = (H) => R(H)),
4971
4974
  "onFetch:success": G,
4972
4975
  onLoading: U[4] || (U[4] = (H) => re(H)),
4973
4976
  onSubmit: te
@@ -5028,9 +5031,9 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
5028
5031
  "item-template": g(({ item: H }) => {
5029
5032
  var fe, _e, me;
5030
5033
  return [
5031
- D("div", Sl, [
5032
- D("div", Tl, N(H.label), 1),
5033
- (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), j("div", $l, N((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5034
+ V("div", Sl, [
5035
+ V("div", Tl, N(H.label), 1),
5036
+ (fe = H == null ? void 0 : H.data) != null && fe.username && ((_e = H == null ? void 0 : H.data) != null && _e.custom_id) ? (d(), $("div", jl, N((me = H == null ? void 0 : H.data) == null ? void 0 : me.custom_id), 1)) : z("", !0)
5034
5037
  ])
5035
5038
  ];
5036
5039
  }),
@@ -5045,7 +5048,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
5045
5048
  ]);
5046
5049
  };
5047
5050
  }
5048
- }), Rl = /* @__PURE__ */ Kt(jl, [["__scopeId", "data-v-89ee41dd"]]), Ml = { class: "kong-ui-consumer-group-entity-config-card" }, Gl = /* @__PURE__ */ ae({
5051
+ }), Dl = /* @__PURE__ */ Kt($l, [["__scopeId", "data-v-89ee41dd"]]), Ml = { class: "kong-ui-consumer-group-entity-config-card" }, Gl = /* @__PURE__ */ ae({
5049
5052
  __name: "ConsumerGroupConfigCard",
5050
5053
  props: {
5051
5054
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5081,7 +5084,7 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
5081
5084
  tooltip: t("consumer_groups.form.fields.tags.tooltip")
5082
5085
  }
5083
5086
  });
5084
- return (i, a) => (d(), j("div", Ml, [
5087
+ return (i, a) => (d(), $("div", Ml, [
5085
5088
  E(m(Ms), {
5086
5089
  config: e.config,
5087
5090
  "config-card-doc": e.configCardDoc,
@@ -5099,6 +5102,6 @@ const cs = { class: "yaml-config" }, hr = /* @__PURE__ */ ae({
5099
5102
  });
5100
5103
  export {
5101
5104
  Gl as ConsumerGroupConfigCard,
5102
- Rl as ConsumerGroupForm,
5103
- Vl as ConsumerGroupList
5105
+ Dl as ConsumerGroupForm,
5106
+ Rl as ConsumerGroupList
5104
5107
  };