@kong-ui-public/entities-vaults 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, ref as j, computed as U, watch as TA, renderSlot as AA, createCommentVNode as z, unref as g, onBeforeMount as me, resolveComponent as K, openBlock as u, createBlock as Y, createSlots as LA, withCtx as m, createElementVNode as F, createVNode as p, createTextVNode as Z, toDisplayString as O, renderList as dA, createElementBlock as J, withModifiers as Be, withDirectives as vA, vShow as yA, Fragment as fA, normalizeClass as kA, withKeys as ia, useSlots as he, resolveDynamicComponent as JA, useCssVars as at, inject as oa, onMounted as la, onUnmounted as na, normalizeStyle as ae, normalizeProps as ga, guardReactiveProps as ra, mergeProps as Ca, pushScopeId as ie, popScopeId as oe, reactive as zA, TransitionGroup as Ia } from "vue";
1
+ import { defineComponent as AA, ref as j, computed as S, watch as TA, renderSlot as eA, createCommentVNode as z, unref as g, onBeforeMount as me, resolveComponent as K, openBlock as u, createBlock as Y, createSlots as MA, withCtx as m, createElementVNode as x, createVNode as f, createTextVNode as Z, toDisplayString as O, renderList as dA, createElementBlock as J, withModifiers as Be, withDirectives as vA, vShow as yA, Fragment as fA, normalizeClass as kA, withKeys as ia, useSlots as he, resolveDynamicComponent as JA, useCssVars as at, inject as oa, onMounted as la, onUnmounted as na, normalizeStyle as ae, normalizeProps as ga, guardReactiveProps as ra, mergeProps as Ca, pushScopeId as ie, popScopeId as oe, reactive as zA, TransitionGroup as Ia } from "vue";
2
2
  import { useRouter as ve } from "vue-router";
3
3
  import Te from "axios";
4
4
  import { createI18n as it, i18nTComponent as ot } from "@kong-ui-public/i18n";
@@ -247,63 +247,63 @@ function Sa(A, e, t, i = {
247
247
  searchKeys: ["id"]
248
248
  }) {
249
249
  t || (t = "1000");
250
- const { axiosInstance: a } = ye(A.axiosRequestConfig), { i18n: { t: o } } = le(), { debounce: l } = Ea(), n = l(async (y) => {
251
- await eA(y);
252
- }, 200), I = j(!1), r = j(""), B = j(""), C = j([]), v = j([]), c = j(void 0), Q = g(e);
253
- let k = `${A.apiBaseUrl}${Q}`;
254
- A.app === "konnect" ? k = k.replace(/{controlPlaneId}/gi, (A == null ? void 0 : A.controlPlaneId) || "") : A.app === "kongManager" && (k = k.replace(/\/{workspace}/gi, A != null && A.workspace ? `/${A.workspace}` : ""));
255
- const { isValidUuid: w } = nt(), q = async () => {
250
+ const { axiosInstance: a } = ye(A.axiosRequestConfig), { i18n: { t: o } } = le(), { debounce: l } = Ea(), n = l(async (v) => {
251
+ await $(v);
252
+ }, 200), I = j(!1), r = j(""), B = j(""), C = j([]), y = j([]), c = j(void 0), Q = g(e);
253
+ let T = `${A.apiBaseUrl}${Q}`;
254
+ A.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (A == null ? void 0 : A.controlPlaneId) || "") : A.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, A != null && A.workspace ? `/${A.workspace}` : ""));
255
+ const { isValidUuid: k } = nt(), D = async () => {
256
256
  try {
257
257
  I.value = !0;
258
- const { data: y } = await a.get(`${k}?size=${t}`);
259
- y != null && y.next || (c.value = i.fetchedItemsKey in y ? y[i.fetchedItemsKey] : []), v.value = i.fetchedItemsKey in y ? y[i.fetchedItemsKey] : [], C.value = v.value;
258
+ const { data: v } = await a.get(`${T}?size=${t}`);
259
+ v != null && v.next || (c.value = i.fetchedItemsKey in v ? v[i.fetchedItemsKey] : []), y.value = i.fetchedItemsKey in v ? v[i.fetchedItemsKey] : [], C.value = y.value;
260
260
  } catch {
261
261
  C.value = [], r.value = o("debouncedFilter.errors.fetch");
262
262
  } finally {
263
263
  I.value = !1;
264
264
  }
265
- }, x = j(""), eA = async (y) => {
266
- var h, f, T;
267
- if (x.value !== y)
268
- if (x.value = y || "", c.value === void 0)
265
+ }, U = j(""), $ = async (v) => {
266
+ var h, d, R;
267
+ if (U.value !== v)
268
+ if (U.value = v || "", c.value === void 0)
269
269
  try {
270
270
  if (I.value = !0, r.value = "", B.value = "", A.app === "konnect") {
271
- let N = k + "";
272
- y && (N += `/${y}`);
273
- const { data: S } = await a.get(`${N}?size=${t}`);
274
- i.fetchedItemsKey in S ? C.value = S[i.fetchedItemsKey] : S != null && S.id ? C.value = [S] : C.value = [];
275
- } else if (y) {
276
- const N = [];
277
- w(y) && i.searchKeys.includes("id") ? N.push((async () => {
278
- const { data: R } = await a.get(`${k}/${y}`);
279
- return [R[i.fetchedItemsKey] ?? R];
280
- })()) : N.push(
281
- ...i.searchKeys.filter((R) => R !== "id").map(async (R) => {
282
- const { data: M } = await a.get(`${k}?${R}=${y}`);
283
- return M[i.fetchedItemsKey];
271
+ let L = T + "";
272
+ v && (L += `/${v}`);
273
+ const { data: w } = await a.get(`${L}?size=${t}`);
274
+ i.fetchedItemsKey in w ? C.value = w[i.fetchedItemsKey] : w != null && w.id ? C.value = [w] : C.value = [];
275
+ } else if (v) {
276
+ const L = [];
277
+ k(v) && i.searchKeys.includes("id") ? L.push((async () => {
278
+ const { data: F } = await a.get(`${T}/${v}`);
279
+ return [F[i.fetchedItemsKey] ?? F];
280
+ })()) : L.push(
281
+ ...i.searchKeys.filter((F) => F !== "id").map(async (F) => {
282
+ const { data: N } = await a.get(`${T}?${F}=${v}`);
283
+ return N[i.fetchedItemsKey];
284
284
  })
285
285
  );
286
- const S = await Promise.all(N), W = /* @__PURE__ */ new Set();
287
- C.value = [], (h = S == null ? void 0 : S.forEach) == null || h.call(S, (R) => {
288
- var M;
289
- (M = R == null ? void 0 : R.forEach) == null || M.call(R, (H) => {
286
+ const w = await Promise.all(L), W = /* @__PURE__ */ new Set();
287
+ C.value = [], (h = w == null ? void 0 : w.forEach) == null || h.call(w, (F) => {
288
+ var N;
289
+ (N = F == null ? void 0 : F.forEach) == null || N.call(F, (H) => {
290
290
  W.has(H.id) || (W.add(H.id), C.value.push(H));
291
291
  });
292
292
  });
293
293
  } else
294
- C.value = v.value;
295
- } catch (N) {
296
- ((f = N == null ? void 0 : N.response) == null ? void 0 : f.status) === 404 ? B.value = o("debouncedFilter.errors.invalid") : (C.value = [], r.value = o("debouncedFilter.errors.fetch"));
294
+ C.value = y.value;
295
+ } catch (L) {
296
+ ((d = L == null ? void 0 : L.response) == null ? void 0 : d.status) === 404 ? B.value = o("debouncedFilter.errors.invalid") : (C.value = [], r.value = o("debouncedFilter.errors.fetch"));
297
297
  } finally {
298
298
  I.value = !1;
299
299
  }
300
300
  else
301
- I.value = !0, B.value = "", y ? (C.value = (T = c.value) == null ? void 0 : T.filter((N) => {
302
- var S;
301
+ I.value = !0, B.value = "", v ? (C.value = (R = c.value) == null ? void 0 : R.filter((L) => {
302
+ var w;
303
303
  let W = !1;
304
- for (const R of i.searchKeys) {
305
- const M = typeof N[R] == "string" ? (S = N[R]) == null ? void 0 : S.toLowerCase() : N[R];
306
- M != null && M.includes(y.toLowerCase()) && (W = !0);
304
+ for (const F of i.searchKeys) {
305
+ const N = typeof L[F] == "string" ? (w = L[F]) == null ? void 0 : w.toLowerCase() : L[F];
306
+ N != null && N.includes(v.toLowerCase()) && (W = !0);
307
307
  }
308
308
  return W;
309
309
  }), (!C.value || !C.value.length) && (B.value = o("debouncedFilter.errors.invalid"))) : C.value = c.value, I.value = !1;
@@ -314,12 +314,12 @@ function Sa(A, e, t, i = {
314
314
  validationError: B,
315
315
  results: C,
316
316
  allRecords: c,
317
- loadItems: q,
317
+ loadItems: D,
318
318
  debouncedQueryChange: n
319
319
  };
320
320
  }
321
321
  function Ja(A, e) {
322
- const t = g(e), i = U(
322
+ const t = g(e), i = S(
323
323
  () => A.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${t}`) : new URL(t)
324
324
  );
325
325
  return i.value.search = "", (a) => `${i.value.href}/${a}`;
@@ -366,17 +366,17 @@ function Va(A) {
366
366
  }
367
367
  }
368
368
  function gt(A, e) {
369
- const t = j(g(A)), i = j(g(e)), a = U(
369
+ const t = j(g(A)), i = j(g(e)), a = S(
370
370
  () => !!(t.value.app === "konnect" || t.value.isExactMatch)
371
- ), o = U(
371
+ ), o = S(
372
372
  () => i.value.startsWith("/") ? new URL(`${window.location.origin}${i.value}`) : new URL(i.value)
373
373
  );
374
374
  return (l) => {
375
- const { page: n, pageSize: I, offset: r, sortColumnKey: B, sortColumnOrder: C, query: v } = l;
375
+ const { page: n, pageSize: I, offset: r, sortColumnKey: B, sortColumnOrder: C, query: y } = l;
376
376
  try {
377
377
  let c = new URL(o.value.href);
378
- return a.value && v ? (c.search = "", c = t.value.isExactMatch ? new URL(`${c.href}/${v}/`) : new URL(`${c.href}?filter[name][contains]=${v}`)) : (a.value || new URLSearchParams(v).forEach((Q, k) => {
379
- c.searchParams.append(k, Q);
378
+ return a.value && y ? (c.search = "", c = t.value.isExactMatch ? new URL(`${c.href}/${y}/`) : new URL(`${c.href}?filter[name][contains]=${y}`)) : (a.value || new URLSearchParams(y).forEach((Q, T) => {
379
+ c.searchParams.append(T, Q);
380
380
  }), B && c.searchParams.append("sort_by", B), C === "desc" && c.searchParams.append("sort_desc", "1"), c.searchParams.append("size", String(I))), r && n !== 1 && c.searchParams.append("offset", String(r)), c.href;
381
381
  } catch (c) {
382
382
  return console.error("RouteList(fetcher)", c), i.value;
@@ -396,9 +396,9 @@ function Ta(A, e, t = "data") {
396
396
  const B = await a.get(r);
397
397
  if (B.status >= 400)
398
398
  throw B;
399
- const C = B.data, v = t && t.replace(/[^\w-_]/gi, "");
399
+ const C = B.data, y = t && t.replace(/[^\w-_]/gi, "");
400
400
  let c;
401
- C[v] && Array.isArray(C[v]) ? c = C[v] : Array.isArray(C) ? c = C : c = Object.keys(C).length ? [C] : [];
401
+ C[y] && Array.isArray(C[y]) ? c = C[y] : Array.isArray(C) ? c = C : c = Object.keys(C).length ? [C] : [];
402
402
  const Q = {
403
403
  data: c,
404
404
  total: c.length,
@@ -443,27 +443,27 @@ const rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
443
443
  if (!e)
444
444
  throw new Error(`Invalid argument not valid semver ('${A}' received)`);
445
445
  return e.shift(), e;
446
- }, Fe = (A) => A === "*" || A === "x" || A === "X", xe = (A) => {
446
+ }, Fe = (A) => A === "*" || A === "x" || A === "X", Ne = (A) => {
447
447
  const e = parseInt(A, 10);
448
448
  return isNaN(e) ? A : e;
449
- }, Fa = (A, e) => typeof A != typeof e ? [String(A), String(e)] : [A, e], xa = (A, e) => {
449
+ }, Fa = (A, e) => typeof A != typeof e ? [String(A), String(e)] : [A, e], Na = (A, e) => {
450
450
  if (Fe(A) || Fe(e))
451
451
  return 0;
452
- const [t, i] = Fa(xe(A), xe(e));
452
+ const [t, i] = Fa(Ne(A), Ne(e));
453
453
  return t > i ? 1 : t < i ? -1 : 0;
454
- }, Ne = (A, e) => {
454
+ }, xe = (A, e) => {
455
455
  for (let t = 0; t < Math.max(A.length, e.length); t++) {
456
- const i = xa(A[t] || "0", e[t] || "0");
456
+ const i = Na(A[t] || "0", e[t] || "0");
457
457
  if (i !== 0)
458
458
  return i;
459
459
  }
460
460
  return 0;
461
- }, Na = (A, e) => {
462
- const t = Re(A), i = Re(e), a = t.pop(), o = i.pop(), l = Ne(t, i);
463
- return l !== 0 ? l : a && o ? Ne(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
464
- }, Me = (A, e, t) => {
465
- Ma(t);
466
- const i = Na(A, e);
461
+ }, xa = (A, e) => {
462
+ const t = Re(A), i = Re(e), a = t.pop(), o = i.pop(), l = xe(t, i);
463
+ return l !== 0 ? l : a && o ? xe(a.split("."), o.split(".")) : a || o ? a ? -1 : 1 : 0;
464
+ }, Le = (A, e, t) => {
465
+ La(t);
466
+ const i = xa(A, e);
467
467
  return Ct[t].includes(i);
468
468
  }, Ct = {
469
469
  ">": [1],
@@ -472,31 +472,31 @@ const rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
472
472
  "<=": [-1, 0],
473
473
  "<": [-1],
474
474
  "!=": [-1, 1]
475
- }, Le = Object.keys(Ct), Ma = (A) => {
475
+ }, Me = Object.keys(Ct), La = (A) => {
476
476
  if (typeof A != "string")
477
477
  throw new TypeError(`Invalid operator type, expected string but got ${typeof A}`);
478
- if (Le.indexOf(A) === -1)
479
- throw new Error(`Invalid operator, expected one of ${Le.join("|")}`);
480
- }, La = (A) => typeof A == "string" && /^[v\d]/.test(A) && rt.test(A);
478
+ if (Me.indexOf(A) === -1)
479
+ throw new Error(`Invalid operator, expected one of ${Me.join("|")}`);
480
+ }, Ma = (A) => typeof A == "string" && /^[v\d]/.test(A) && rt.test(A);
481
481
  function Ka(A) {
482
482
  const { gatewayInfo: e, supportedRange: t } = A;
483
483
  if (!e)
484
484
  return !0;
485
485
  const { edition: i, version: a } = e;
486
- if (!La(a))
486
+ if (!Ma(a))
487
487
  return console.error("Invalid version"), !1;
488
488
  const o = t[i];
489
489
  if (!o)
490
490
  return !1;
491
491
  const [l, n] = o;
492
- return !(l && Me(a, l, "<") || n && Me(a, n, ">"));
492
+ return !(l && Le(a, l, "<") || n && Le(a, n, ">"));
493
493
  }
494
494
  function ja(A) {
495
495
  const e = j(0), t = j(0), i = j(!1);
496
496
  return TA(A, (a) => {
497
497
  a && !i.value && (e.value = a.offsetWidth, t.value = a.scrollWidth, i.value = !0);
498
498
  }), {
499
- isTruncated: U(() => e.value < t.value)
499
+ isTruncated: S(() => e.value < t.value)
500
500
  };
501
501
  }
502
502
  function Oa() {
@@ -522,7 +522,7 @@ const oA = {
522
522
  }, Da = {
523
523
  key: 0,
524
524
  class: "config-card-fieldset-title"
525
- }, qa = /* @__PURE__ */ $({
525
+ }, qa = /* @__PURE__ */ AA({
526
526
  __name: "JsonCardItem",
527
527
  props: {
528
528
  item: {
@@ -539,10 +539,10 @@ const oA = {
539
539
  }
540
540
  },
541
541
  setup(A) {
542
- const e = A, { i18n: { t } } = oA.useI18n(), { convertKeyToTitle: i } = oA.useStringHelpers(), a = U(() => e.item.key ?? "json-array-item"), o = U(() => e.item.value ?? e.item), l = U(() => {
542
+ const e = A, { i18n: { t } } = oA.useI18n(), { convertKeyToTitle: i } = oA.useStringHelpers(), a = S(() => e.item.key ?? "json-array-item"), o = S(() => e.item.value ?? e.item), l = S(() => {
543
543
  const I = JSON.parse(JSON.stringify(o.value));
544
544
  return e.isArrayItem && delete I.name, I;
545
- }), n = U(() => {
545
+ }), n = S(() => {
546
546
  var I;
547
547
  return e.isArrayItem ? (I = o.value) != null && I.name ? i(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: e.index }) : "";
548
548
  });
@@ -551,7 +551,7 @@ const oA = {
551
551
  }, {
552
552
  default: m(() => [
553
553
  A.isArrayItem ? (u(), J("legend", Da, [
554
- F("b", null, O(n.value), 1)
554
+ x("b", null, O(n.value), 1)
555
555
  ])) : z("", !0),
556
556
  (u(!0), J(fA, null, dA(Object.keys(l.value), (B, C) => (u(), Y(Qt, {
557
557
  key: `${a.value}-property-${C}`,
@@ -570,7 +570,7 @@ const oA = {
570
570
  for (const [i, a] of e)
571
571
  t[i] = a;
572
572
  return t;
573
- }, It = /* @__PURE__ */ pA(qa, [["__scopeId", "data-v-68ca83ec"]]), Ya = /* @__PURE__ */ $({
573
+ }, It = /* @__PURE__ */ pA(qa, [["__scopeId", "data-v-68ca83ec"]]), Ya = /* @__PURE__ */ AA({
574
574
  __name: "InternalLinkItem",
575
575
  props: {
576
576
  item: {
@@ -584,7 +584,7 @@ const oA = {
584
584
  return (t, i) => {
585
585
  const a = K("KButton");
586
586
  return u(), J("div", null, [
587
- p(a, {
587
+ f(a, {
588
588
  appearance: "tertiary",
589
589
  class: "navigation-button",
590
590
  onClick: i[0] || (i[0] = (o) => t.$emit("navigation-click", A.item))
@@ -597,7 +597,7 @@ const oA = {
597
597
  ]);
598
598
  };
599
599
  }
600
- }), Wa = /* @__PURE__ */ pA(Ya, [["__scopeId", "data-v-c96811e5"]]), Pa = /* @__PURE__ */ $({
600
+ }), Wa = /* @__PURE__ */ pA(Ya, [["__scopeId", "data-v-c96811e5"]]), Pa = /* @__PURE__ */ AA({
601
601
  __name: "StatusBadge",
602
602
  props: {
603
603
  status: {
@@ -622,7 +622,7 @@ const oA = {
622
622
  }), za = "#0044f4", Ha = "#e0e4ea", Ga = "#3a3f51", Za = "#afb7c5", Xa = "1px", _a = "20px", $a = { class: "config-card-details-row" }, Ai = ["data-testid"], ei = ["data-testid"], ti = ["data-testid"], ai = ["data-testid"], ii = { key: 1 }, oi = ["data-testid"], li = ["data-testid"], ni = ["data-testid"], gi = ["data-testid"], ri = {
623
623
  name: "ConfigCardItem",
624
624
  components: { JsonCardItem: It, StatusBadge: Pa, InternalLinkItem: Wa }
625
- }, Ci = /* @__PURE__ */ $({
625
+ }, Ci = /* @__PURE__ */ AA({
626
626
  ...ri,
627
627
  props: {
628
628
  item: {
@@ -648,7 +648,7 @@ const oA = {
648
648
  "5036b738": r.value && n.value ? "100%" : t.slim ? "50%" : "25%",
649
649
  "5038fd13": r.value && n.value ? "100%" : t.slim ? "50%" : "75%"
650
650
  }));
651
- const t = A, i = e, a = he(), { i18n: { t: o, formatUnixTimeStamp: l } } = oA.useI18n(), n = U(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), I = U(() => !!(t.item.tooltip || a["label-tooltip"])), r = U(() => t.item.type === _.Json || t.item.type === _.JsonArray), B = U(() => t.item.type === _.JsonArray), C = U(() => {
651
+ const t = A, i = e, a = he(), { i18n: { t: o, formatUnixTimeStamp: l } } = oA.useI18n(), n = S(() => t.item.value !== void 0 && t.item.value !== null && t.item.value !== ""), I = S(() => !!(t.item.tooltip || a["label-tooltip"])), r = S(() => t.item.type === _.Json || t.item.type === _.JsonArray), B = S(() => t.item.type === _.JsonArray), C = S(() => {
652
652
  switch (t.item.type) {
653
653
  case _.ID:
654
654
  return {
@@ -758,16 +758,16 @@ const oA = {
758
758
  text: t.item.value
759
759
  };
760
760
  }
761
- }), v = j(), { isTruncated: c } = oA.useTruncationDetector(v);
762
- return (Q, k) => {
763
- const w = K("KLabel"), q = K("KBadge"), x = K("KCopy"), eA = K("KTooltip");
761
+ }), y = j(), { isTruncated: c } = oA.useTruncationDetector(y);
762
+ return (Q, T) => {
763
+ const k = K("KLabel"), D = K("KBadge"), U = K("KCopy"), $ = K("KTooltip");
764
764
  return u(), J("div", $a, [
765
- F("div", {
765
+ x("div", {
766
766
  class: "config-card-details-label",
767
767
  "data-testid": `${A.item.key}-label`
768
768
  }, [
769
- AA(Q.$slots, "label", { item: A.item }, () => [
770
- p(w, { "tooltip-attributes": { maxWidth: "500px" } }, LA({
769
+ eA(Q.$slots, "label", { item: A.item }, () => [
770
+ f(k, { "tooltip-attributes": { maxWidth: "500px" } }, MA({
771
771
  default: m(() => [
772
772
  Z(O(A.item.label) + " ", 1)
773
773
  ]),
@@ -776,10 +776,10 @@ const oA = {
776
776
  I.value ? {
777
777
  name: "tooltip",
778
778
  fn: m(() => [
779
- F("div", {
779
+ x("div", {
780
780
  "data-testid": `${A.item.key}-label-tooltip`
781
781
  }, [
782
- AA(Q.$slots, "label-tooltip", {}, () => [
782
+ eA(Q.$slots, "label-tooltip", {}, () => [
783
783
  Z(O(A.item.tooltip), 1)
784
784
  ], !0)
785
785
  ], 8, ei)
@@ -789,11 +789,11 @@ const oA = {
789
789
  ]), 1024)
790
790
  ], !0)
791
791
  ], 8, Ai),
792
- F("div", {
792
+ x("div", {
793
793
  class: "config-card-details-value",
794
794
  "data-testid": `${A.item.key}-property-value`
795
795
  }, [
796
- AA(Q.$slots, A.item.key, {
796
+ eA(Q.$slots, A.item.key, {
797
797
  rowValue: A.item.value
798
798
  }, () => [
799
799
  n.value ? (u(), J("div", ii, [
@@ -803,15 +803,15 @@ const oA = {
803
803
  key: 0,
804
804
  "data-testid": `${A.item.key}-badge-tags`
805
805
  }, [
806
- (u(!0), J(fA, null, dA(A.item.value, (y, h) => (u(), Y(q, {
806
+ (u(!0), J(fA, null, dA(A.item.value, (v, h) => (u(), Y(D, {
807
807
  key: `${A.item.key}-badge-tag-${h}`,
808
808
  class: "config-badge",
809
809
  "data-testid": `${A.item.key}-badge-tag-${h}`,
810
- tooltip: y,
810
+ tooltip: v,
811
811
  "truncation-tooltip": ""
812
812
  }, {
813
813
  default: m(() => [
814
- Z(O(y), 1)
814
+ Z(O(v), 1)
815
815
  ]),
816
816
  _: 2
817
817
  }, 1032, ["data-testid", "tooltip"]))), 128))
@@ -821,24 +821,24 @@ const oA = {
821
821
  class: "copy-uuid-array",
822
822
  "data-testid": `${A.item.key}-copy-uuid-array`
823
823
  }, [
824
- (u(!0), J(fA, null, dA(A.item.value, (y, h) => (u(), Y(x, Ca(C.value.childAttrs, {
824
+ (u(!0), J(fA, null, dA(A.item.value, (v, h) => (u(), Y(U, Ca(C.value.childAttrs, {
825
825
  key: `${A.item.key}-copy-uuid-${h}`,
826
826
  "data-testid": `${A.item.key}-copy-uuid-${h}`,
827
- text: y
827
+ text: v
828
828
  }), null, 16, ["data-testid", "text"]))), 128))
829
829
  ], 8, li)) : C.value.additionalComponent === "KMethodBadge" ? (u(), J("div", {
830
830
  key: 2,
831
831
  class: "method-badge-array",
832
832
  "data-testid": `${A.item.key}-badge-methods`
833
833
  }, [
834
- (u(!0), J(fA, null, dA(A.item.value, (y, h) => (u(), Y(q, {
834
+ (u(!0), J(fA, null, dA(A.item.value, (v, h) => (u(), Y(D, {
835
835
  key: `${A.item.key}-badge-method-${h}`,
836
- appearance: Object.values(g(Qa)).includes(y.toLowerCase()) ? y.toLowerCase() : "custom",
836
+ appearance: Object.values(g(Qa)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
837
837
  class: "config-badge",
838
838
  "data-testid": `${A.item.key}-badge-method-${h}`
839
839
  }, {
840
840
  default: m(() => [
841
- Z(O(y), 1)
841
+ Z(O(v), 1)
842
842
  ]),
843
843
  _: 2
844
844
  }, 1032, ["appearance", "data-testid"]))), 128))
@@ -847,20 +847,20 @@ const oA = {
847
847
  key: 3,
848
848
  "data-testid": `${t.item.key}-json-array-content`
849
849
  }, [
850
- (u(!0), J(fA, null, dA(A.item.value, (y, h) => (u(), Y(It, {
850
+ (u(!0), J(fA, null, dA(A.item.value, (v, h) => (u(), Y(It, {
851
851
  key: `json-array-item-${h}`,
852
852
  index: h,
853
853
  "is-array-item": "",
854
- item: y
854
+ item: v
855
855
  }, null, 8, ["index", "item"]))), 128))
856
- ], 8, gi)) : (u(), Y(eA, {
856
+ ], 8, gi)) : (u(), Y($, {
857
857
  key: 4,
858
858
  text: g(c) ? A.item.value : ""
859
859
  }, {
860
860
  default: m(() => [
861
- F("span", {
861
+ x("span", {
862
862
  ref_key: "textContent",
863
- ref: v,
863
+ ref: y,
864
864
  class: kA(["attrs-data-text", { truncated: A.truncated }])
865
865
  }, O(C.value.text), 3)
866
866
  ]),
@@ -881,7 +881,7 @@ const oA = {
881
881
  }), Qt = /* @__PURE__ */ pA(Ci, [["__scopeId", "data-v-d056663c"]]), Ii = { class: "json-config" }, Qi = {
882
882
  key: 0,
883
883
  class: "json-endpoint"
884
- }, st = /* @__PURE__ */ $({
884
+ }, st = /* @__PURE__ */ AA({
885
885
  __name: "JsonCodeBlock",
886
886
  props: {
887
887
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -912,7 +912,7 @@ const oA = {
912
912
  at((a) => ({
913
913
  "4520e3ec": `${i.value}ch`
914
914
  }));
915
- const e = A, t = U(() => e.jsonRecord), i = U(() => {
915
+ const e = A, t = S(() => e.jsonRecord), i = S(() => {
916
916
  var a;
917
917
  if (!e.fetcherUrl)
918
918
  return 0;
@@ -923,7 +923,7 @@ const oA = {
923
923
  const l = K("KBadge"), n = K("KCodeBlock");
924
924
  return u(), J("div", Ii, [
925
925
  e.fetcherUrl ? (u(), J("div", Qi, [
926
- p(l, {
926
+ f(l, {
927
927
  appearance: e.requestMethod
928
928
  }, {
929
929
  default: m(() => [
@@ -931,7 +931,7 @@ const oA = {
931
931
  ]),
932
932
  _: 1
933
933
  }, 8, ["appearance"]),
934
- p(n, {
934
+ f(n, {
935
935
  id: "json-endpoint-codeblock",
936
936
  code: e.fetcherUrl,
937
937
  language: "json",
@@ -1197,17 +1197,17 @@ function Fi(A) {
1197
1197
  var e = A.length;
1198
1198
  return e === 4 && (A === "true" || A === "True" || A === "TRUE") || e === 5 && (A === "false" || A === "False" || A === "FALSE");
1199
1199
  }
1200
- function xi(A) {
1200
+ function Ni(A) {
1201
1201
  return A === "true" || A === "True" || A === "TRUE";
1202
1202
  }
1203
- function Ni(A) {
1203
+ function xi(A) {
1204
1204
  return Object.prototype.toString.call(A) === "[object Boolean]";
1205
1205
  }
1206
1206
  var ht = new rA("tag:yaml.org,2002:bool", {
1207
1207
  kind: "scalar",
1208
1208
  resolve: Fi,
1209
- construct: xi,
1210
- predicate: Ni,
1209
+ construct: Ni,
1210
+ predicate: xi,
1211
1211
  represent: {
1212
1212
  lowercase: function(A) {
1213
1213
  return A ? "true" : "false";
@@ -1221,10 +1221,10 @@ var ht = new rA("tag:yaml.org,2002:bool", {
1221
1221
  },
1222
1222
  defaultStyle: "lowercase"
1223
1223
  });
1224
- function Mi(A) {
1224
+ function Li(A) {
1225
1225
  return 48 <= A && A <= 57 || 65 <= A && A <= 70 || 97 <= A && A <= 102;
1226
1226
  }
1227
- function Li(A) {
1227
+ function Mi(A) {
1228
1228
  return 48 <= A && A <= 55;
1229
1229
  }
1230
1230
  function Ki(A) {
@@ -1251,7 +1251,7 @@ function ji(A) {
1251
1251
  if (a === "x") {
1252
1252
  for (t++; t < e; t++)
1253
1253
  if (a = A[t], a !== "_") {
1254
- if (!Mi(A.charCodeAt(t)))
1254
+ if (!Li(A.charCodeAt(t)))
1255
1255
  return !1;
1256
1256
  i = !0;
1257
1257
  }
@@ -1260,7 +1260,7 @@ function ji(A) {
1260
1260
  if (a === "o") {
1261
1261
  for (t++; t < e; t++)
1262
1262
  if (a = A[t], a !== "_") {
1263
- if (!Li(A.charCodeAt(t)))
1263
+ if (!Mi(A.charCodeAt(t)))
1264
1264
  return !1;
1265
1265
  i = !0;
1266
1266
  }
@@ -1394,7 +1394,7 @@ function Gi(A) {
1394
1394
  return A === null ? !1 : wt.exec(A) !== null || St.exec(A) !== null;
1395
1395
  }
1396
1396
  function Zi(A) {
1397
- var e, t, i, a, o, l, n, I = 0, r = null, B, C, v;
1397
+ var e, t, i, a, o, l, n, I = 0, r = null, B, C, y;
1398
1398
  if (e = wt.exec(A), e === null && (e = St.exec(A)), e === null)
1399
1399
  throw new Error("Date resolve error");
1400
1400
  if (t = +e[1], i = +e[2] - 1, a = +e[3], !e[4])
@@ -1404,7 +1404,7 @@ function Zi(A) {
1404
1404
  I += "0";
1405
1405
  I = +I;
1406
1406
  }
1407
- return e[9] && (B = +e[10], C = +(e[11] || 0), r = (B * 60 + C) * 6e4, e[9] === "-" && (r = -r)), v = new Date(Date.UTC(t, i, a, o, l, n, I)), r && v.setTime(v.getTime() - r), v;
1407
+ return e[9] && (B = +e[10], C = +(e[11] || 0), r = (B * 60 + C) * 6e4, e[9] === "-" && (r = -r)), y = new Date(Date.UTC(t, i, a, o, l, n, I)), r && y.setTime(y.getTime() - r), y;
1408
1408
  }
1409
1409
  function Xi(A) {
1410
1410
  return A.toISOString();
@@ -1539,7 +1539,7 @@ var Ft = new rA("tag:yaml.org,2002:set", {
1539
1539
  Rt,
1540
1540
  Ft
1541
1541
  ]
1542
- }), wA = Object.prototype.hasOwnProperty, XA = 1, xt = 2, Nt = 3, _A = 4, Qe = 1, so = 2, je = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Bo = /[\x85\u2028\u2029]/, uo = /[,\[\]\{\}]/, Mt = /^(?:!|!!|![a-z\-]+!)$/i, Lt = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1542
+ }), wA = Object.prototype.hasOwnProperty, XA = 1, Nt = 2, xt = 3, _A = 4, Qe = 1, so = 2, je = 3, Eo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Bo = /[\x85\u2028\u2029]/, uo = /[,\[\]\{\}]/, Lt = /^(?:!|!!|![a-z\-]+!)$/i, Mt = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1543
1543
  function Oe(A) {
1544
1544
  return Object.prototype.toString.call(A);
1545
1545
  }
@@ -1552,7 +1552,7 @@ function VA(A) {
1552
1552
  function BA(A) {
1553
1553
  return A === 9 || A === 32 || A === 10 || A === 13;
1554
1554
  }
1555
- function NA(A) {
1555
+ function xA(A) {
1556
1556
  return A === 44 || A === 91 || A === 93 || A === 123 || A === 125;
1557
1557
  }
1558
1558
  function co(A) {
@@ -1605,7 +1605,7 @@ var qe = {
1605
1605
  },
1606
1606
  TAG: function(A, e, t) {
1607
1607
  var i, a;
1608
- t.length !== 2 && V(A, "TAG directive accepts exactly two arguments"), i = t[0], a = t[1], Mt.test(i) || V(A, "ill-formed tag handle (first argument) of the TAG directive"), wA.call(A.tagMap, i) && V(A, 'there is a previously declared suffix for "' + i + '" tag handle'), Lt.test(a) || V(A, "ill-formed tag prefix (second argument) of the TAG directive");
1608
+ t.length !== 2 && V(A, "TAG directive accepts exactly two arguments"), i = t[0], a = t[1], Lt.test(i) || V(A, "ill-formed tag handle (first argument) of the TAG directive"), wA.call(A.tagMap, i) && V(A, 'there is a previously declared suffix for "' + i + '" tag handle'), Mt.test(a) || V(A, "ill-formed tag prefix (second argument) of the TAG directive");
1609
1609
  try {
1610
1610
  a = decodeURIComponent(a);
1611
1611
  } catch {
@@ -1630,7 +1630,7 @@ function Ye(A, e, t, i) {
1630
1630
  for (iA.isObject(t) || V(A, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(t), l = 0, n = a.length; l < n; l += 1)
1631
1631
  o = a[l], wA.call(e, o) || (e[o] = t[o], i[o] = !0);
1632
1632
  }
1633
- function MA(A, e, t, i, a, o, l, n, I) {
1633
+ function LA(A, e, t, i, a, o, l, n, I) {
1634
1634
  var r, B;
1635
1635
  if (Array.isArray(a))
1636
1636
  for (a = Array.prototype.slice.call(a), r = 0, B = a.length; r < B; r += 1)
@@ -1679,18 +1679,18 @@ function Se(A, e) {
1679
1679
  `, e - 1));
1680
1680
  }
1681
1681
  function vo(A, e, t) {
1682
- var i, a, o, l, n, I, r, B, C = A.kind, v = A.result, c;
1683
- if (c = A.input.charCodeAt(A.position), BA(c) || NA(c) || c === 35 || c === 38 || c === 42 || c === 33 || c === 124 || c === 62 || c === 39 || c === 34 || c === 37 || c === 64 || c === 96 || (c === 63 || c === 45) && (a = A.input.charCodeAt(A.position + 1), BA(a) || t && NA(a)))
1682
+ var i, a, o, l, n, I, r, B, C = A.kind, y = A.result, c;
1683
+ if (c = A.input.charCodeAt(A.position), BA(c) || xA(c) || c === 35 || c === 38 || c === 42 || c === 33 || c === 124 || c === 62 || c === 39 || c === 34 || c === 37 || c === 64 || c === 96 || (c === 63 || c === 45) && (a = A.input.charCodeAt(A.position + 1), BA(a) || t && xA(a)))
1684
1684
  return !1;
1685
1685
  for (A.kind = "scalar", A.result = "", o = l = A.position, n = !1; c !== 0; ) {
1686
1686
  if (c === 58) {
1687
- if (a = A.input.charCodeAt(A.position + 1), BA(a) || t && NA(a))
1687
+ if (a = A.input.charCodeAt(A.position + 1), BA(a) || t && xA(a))
1688
1688
  break;
1689
1689
  } else if (c === 35) {
1690
1690
  if (i = A.input.charCodeAt(A.position - 1), BA(i))
1691
1691
  break;
1692
1692
  } else {
1693
- if (A.position === A.lineStart && ne(A) || t && NA(c))
1693
+ if (A.position === A.lineStart && ne(A) || t && xA(c))
1694
1694
  break;
1695
1695
  if (mA(c))
1696
1696
  if (I = A.line, r = A.lineStart, B = A.lineIndent, tA(A, !1, -1), A.lineIndent >= e) {
@@ -1703,7 +1703,7 @@ function vo(A, e, t) {
1703
1703
  }
1704
1704
  n && (bA(A, o, l, !1), Se(A, A.line - I), o = l = A.position, n = !1), VA(c) || (l = A.position + 1), c = A.input.charCodeAt(++A.position);
1705
1705
  }
1706
- return bA(A, o, l, !1), A.result ? !0 : (A.kind = C, A.result = v, !1);
1706
+ return bA(A, o, l, !1), A.result ? !0 : (A.kind = C, A.result = y, !1);
1707
1707
  }
1708
1708
  function yo(A, e) {
1709
1709
  var t, i, a;
@@ -1744,17 +1744,17 @@ function bo(A, e) {
1744
1744
  V(A, "unexpected end of the stream within a double quoted scalar");
1745
1745
  }
1746
1746
  function ko(A, e) {
1747
- var t = !0, i, a, o, l = A.tag, n, I = A.anchor, r, B, C, v, c, Q = /* @__PURE__ */ Object.create(null), k, w, q, x;
1748
- if (x = A.input.charCodeAt(A.position), x === 91)
1747
+ var t = !0, i, a, o, l = A.tag, n, I = A.anchor, r, B, C, y, c, Q = /* @__PURE__ */ Object.create(null), T, k, D, U;
1748
+ if (U = A.input.charCodeAt(A.position), U === 91)
1749
1749
  B = 93, c = !1, n = [];
1750
- else if (x === 123)
1750
+ else if (U === 123)
1751
1751
  B = 125, c = !0, n = {};
1752
1752
  else
1753
1753
  return !1;
1754
- for (A.anchor !== null && (A.anchorMap[A.anchor] = n), x = A.input.charCodeAt(++A.position); x !== 0; ) {
1755
- if (tA(A, !0, e), x = A.input.charCodeAt(A.position), x === B)
1754
+ for (A.anchor !== null && (A.anchorMap[A.anchor] = n), U = A.input.charCodeAt(++A.position); U !== 0; ) {
1755
+ if (tA(A, !0, e), U = A.input.charCodeAt(A.position), U === B)
1756
1756
  return A.position++, A.tag = l, A.anchor = I, A.kind = c ? "mapping" : "sequence", A.result = n, !0;
1757
- t ? x === 44 && V(A, "expected the node content, but found ','") : V(A, "missed comma between flow collection entries"), w = k = q = null, C = v = !1, x === 63 && (r = A.input.charCodeAt(A.position + 1), BA(r) && (C = v = !0, A.position++, tA(A, !0, e))), i = A.line, a = A.lineStart, o = A.position, KA(A, e, XA, !1, !0), w = A.tag, k = A.result, tA(A, !0, e), x = A.input.charCodeAt(A.position), (v || A.line === i) && x === 58 && (C = !0, x = A.input.charCodeAt(++A.position), tA(A, !0, e), KA(A, e, XA, !1, !0), q = A.result), c ? MA(A, n, Q, w, k, q, i, a, o) : C ? n.push(MA(A, null, Q, w, k, q, i, a, o)) : n.push(k), tA(A, !0, e), x = A.input.charCodeAt(A.position), x === 44 ? (t = !0, x = A.input.charCodeAt(++A.position)) : t = !1;
1757
+ t ? U === 44 && V(A, "expected the node content, but found ','") : V(A, "missed comma between flow collection entries"), k = T = D = null, C = y = !1, U === 63 && (r = A.input.charCodeAt(A.position + 1), BA(r) && (C = y = !0, A.position++, tA(A, !0, e))), i = A.line, a = A.lineStart, o = A.position, KA(A, e, XA, !1, !0), k = A.tag, T = A.result, tA(A, !0, e), U = A.input.charCodeAt(A.position), (y || A.line === i) && U === 58 && (C = !0, U = A.input.charCodeAt(++A.position), tA(A, !0, e), KA(A, e, XA, !1, !0), D = A.result), c ? LA(A, n, Q, k, T, D, i, a, o) : C ? n.push(LA(A, null, Q, k, T, D, i, a, o)) : n.push(T), tA(A, !0, e), U = A.input.charCodeAt(A.position), U === 44 ? (t = !0, U = A.input.charCodeAt(++A.position)) : t = !1;
1758
1758
  }
1759
1759
  V(A, "unexpected end of the stream within a flow collection");
1760
1760
  }
@@ -1814,7 +1814,7 @@ function We(A, e) {
1814
1814
  o.push(null), I = A.input.charCodeAt(A.position);
1815
1815
  continue;
1816
1816
  }
1817
- if (t = A.line, KA(A, e, Nt, !1, !0), o.push(A.result), tA(A, !0, -1), I = A.input.charCodeAt(A.position), (A.line === t || A.lineIndent > e) && I !== 0)
1817
+ if (t = A.line, KA(A, e, xt, !1, !0), o.push(A.result), tA(A, !0, -1), I = A.input.charCodeAt(A.position), (A.line === t || A.lineIndent > e) && I !== 0)
1818
1818
  V(A, "bad indentation of a sequence entry");
1819
1819
  else if (A.lineIndent < e)
1820
1820
  break;
@@ -1822,35 +1822,35 @@ function We(A, e) {
1822
1822
  return n ? (A.tag = i, A.anchor = a, A.kind = "sequence", A.result = o, !0) : !1;
1823
1823
  }
1824
1824
  function So(A, e, t) {
1825
- var i, a, o, l, n, I, r = A.tag, B = A.anchor, C = {}, v = /* @__PURE__ */ Object.create(null), c = null, Q = null, k = null, w = !1, q = !1, x;
1825
+ var i, a, o, l, n, I, r = A.tag, B = A.anchor, C = {}, y = /* @__PURE__ */ Object.create(null), c = null, Q = null, T = null, k = !1, D = !1, U;
1826
1826
  if (A.firstTabInLine !== -1)
1827
1827
  return !1;
1828
- for (A.anchor !== null && (A.anchorMap[A.anchor] = C), x = A.input.charCodeAt(A.position); x !== 0; ) {
1829
- if (!w && A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, V(A, "tab characters must not be used in indentation")), i = A.input.charCodeAt(A.position + 1), o = A.line, (x === 63 || x === 58) && BA(i))
1830
- x === 63 ? (w && (MA(A, C, v, c, Q, null, l, n, I), c = Q = k = null), q = !0, w = !0, a = !0) : w ? (w = !1, a = !0) : V(A, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), A.position += 1, x = i;
1828
+ for (A.anchor !== null && (A.anchorMap[A.anchor] = C), U = A.input.charCodeAt(A.position); U !== 0; ) {
1829
+ if (!k && A.firstTabInLine !== -1 && (A.position = A.firstTabInLine, V(A, "tab characters must not be used in indentation")), i = A.input.charCodeAt(A.position + 1), o = A.line, (U === 63 || U === 58) && BA(i))
1830
+ U === 63 ? (k && (LA(A, C, y, c, Q, null, l, n, I), c = Q = T = null), D = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : V(A, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), A.position += 1, U = i;
1831
1831
  else {
1832
- if (l = A.line, n = A.lineStart, I = A.position, !KA(A, t, xt, !1, !0))
1832
+ if (l = A.line, n = A.lineStart, I = A.position, !KA(A, t, Nt, !1, !0))
1833
1833
  break;
1834
1834
  if (A.line === o) {
1835
- for (x = A.input.charCodeAt(A.position); VA(x); )
1836
- x = A.input.charCodeAt(++A.position);
1837
- if (x === 58)
1838
- x = A.input.charCodeAt(++A.position), BA(x) || V(A, "a whitespace character is expected after the key-value separator within a block mapping"), w && (MA(A, C, v, c, Q, null, l, n, I), c = Q = k = null), q = !0, w = !1, a = !1, c = A.tag, Q = A.result;
1839
- else if (q)
1835
+ for (U = A.input.charCodeAt(A.position); VA(U); )
1836
+ U = A.input.charCodeAt(++A.position);
1837
+ if (U === 58)
1838
+ U = A.input.charCodeAt(++A.position), BA(U) || V(A, "a whitespace character is expected after the key-value separator within a block mapping"), k && (LA(A, C, y, c, Q, null, l, n, I), c = Q = T = null), D = !0, k = !1, a = !1, c = A.tag, Q = A.result;
1839
+ else if (D)
1840
1840
  V(A, "can not read an implicit mapping pair; a colon is missed");
1841
1841
  else
1842
1842
  return A.tag = r, A.anchor = B, !0;
1843
- } else if (q)
1843
+ } else if (D)
1844
1844
  V(A, "can not read a block mapping entry; a multiline key may not be an implicit key");
1845
1845
  else
1846
1846
  return A.tag = r, A.anchor = B, !0;
1847
1847
  }
1848
- if ((A.line === o || A.lineIndent > e) && (w && (l = A.line, n = A.lineStart, I = A.position), KA(A, e, _A, !0, a) && (w ? Q = A.result : k = A.result), w || (MA(A, C, v, c, Q, k, l, n, I), c = Q = k = null), tA(A, !0, -1), x = A.input.charCodeAt(A.position)), (A.line === o || A.lineIndent > e) && x !== 0)
1848
+ if ((A.line === o || A.lineIndent > e) && (k && (l = A.line, n = A.lineStart, I = A.position), KA(A, e, _A, !0, a) && (k ? Q = A.result : T = A.result), k || (LA(A, C, y, c, Q, T, l, n, I), c = Q = T = null), tA(A, !0, -1), U = A.input.charCodeAt(A.position)), (A.line === o || A.lineIndent > e) && U !== 0)
1849
1849
  V(A, "bad indentation of a mapping entry");
1850
1850
  else if (A.lineIndent < e)
1851
1851
  break;
1852
1852
  }
1853
- return w && MA(A, C, v, c, Q, null, l, n, I), q && (A.tag = r, A.anchor = B, A.kind = "mapping", A.result = C), q;
1853
+ return k && LA(A, C, y, c, Q, null, l, n, I), D && (A.tag = r, A.anchor = B, A.kind = "mapping", A.result = C), D;
1854
1854
  }
1855
1855
  function Jo(A) {
1856
1856
  var e, t = !1, i = !1, a, o, l;
@@ -1863,10 +1863,10 @@ function Jo(A) {
1863
1863
  A.position < A.length ? (o = A.input.slice(e, A.position), l = A.input.charCodeAt(++A.position)) : V(A, "unexpected end of the stream within a verbatim tag");
1864
1864
  } else {
1865
1865
  for (; l !== 0 && !BA(l); )
1866
- l === 33 && (i ? V(A, "tag suffix cannot contain exclamation marks") : (a = A.input.slice(e - 1, A.position + 1), Mt.test(a) || V(A, "named tag handle cannot contain such characters"), i = !0, e = A.position + 1)), l = A.input.charCodeAt(++A.position);
1866
+ l === 33 && (i ? V(A, "tag suffix cannot contain exclamation marks") : (a = A.input.slice(e - 1, A.position + 1), Lt.test(a) || V(A, "named tag handle cannot contain such characters"), i = !0, e = A.position + 1)), l = A.input.charCodeAt(++A.position);
1867
1867
  o = A.input.slice(e, A.position), uo.test(o) && V(A, "tag suffix cannot contain flow indicator characters");
1868
1868
  }
1869
- o && !Lt.test(o) && V(A, "tag name cannot contain such characters: " + o);
1869
+ o && !Mt.test(o) && V(A, "tag name cannot contain such characters: " + o);
1870
1870
  try {
1871
1871
  o = decodeURIComponent(o);
1872
1872
  } catch {
@@ -1878,7 +1878,7 @@ function Uo(A) {
1878
1878
  var e, t;
1879
1879
  if (t = A.input.charCodeAt(A.position), t !== 38)
1880
1880
  return !1;
1881
- for (A.anchor !== null && V(A, "duplication of an anchor property"), t = A.input.charCodeAt(++A.position), e = A.position; t !== 0 && !BA(t) && !NA(t); )
1881
+ for (A.anchor !== null && V(A, "duplication of an anchor property"), t = A.input.charCodeAt(++A.position), e = A.position; t !== 0 && !BA(t) && !xA(t); )
1882
1882
  t = A.input.charCodeAt(++A.position);
1883
1883
  return A.position === e && V(A, "name of an anchor node must contain at least one character"), A.anchor = A.input.slice(e, A.position), !0;
1884
1884
  }
@@ -1886,19 +1886,19 @@ function Vo(A) {
1886
1886
  var e, t, i;
1887
1887
  if (i = A.input.charCodeAt(A.position), i !== 42)
1888
1888
  return !1;
1889
- for (i = A.input.charCodeAt(++A.position), e = A.position; i !== 0 && !BA(i) && !NA(i); )
1889
+ for (i = A.input.charCodeAt(++A.position), e = A.position; i !== 0 && !BA(i) && !xA(i); )
1890
1890
  i = A.input.charCodeAt(++A.position);
1891
1891
  return A.position === e && V(A, "name of an alias node must contain at least one character"), t = A.input.slice(e, A.position), wA.call(A.anchorMap, t) || V(A, 'unidentified alias "' + t + '"'), A.result = A.anchorMap[t], tA(A, !0, -1), !0;
1892
1892
  }
1893
1893
  function KA(A, e, t, i, a) {
1894
- var o, l, n, I = 1, r = !1, B = !1, C, v, c, Q, k, w;
1895
- if (A.listener !== null && A.listener("open", A), A.tag = null, A.anchor = null, A.kind = null, A.result = null, o = l = n = _A === t || Nt === t, i && tA(A, !0, -1) && (r = !0, A.lineIndent > e ? I = 1 : A.lineIndent === e ? I = 0 : A.lineIndent < e && (I = -1)), I === 1)
1894
+ var o, l, n, I = 1, r = !1, B = !1, C, y, c, Q, T, k;
1895
+ if (A.listener !== null && A.listener("open", A), A.tag = null, A.anchor = null, A.kind = null, A.result = null, o = l = n = _A === t || xt === t, i && tA(A, !0, -1) && (r = !0, A.lineIndent > e ? I = 1 : A.lineIndent === e ? I = 0 : A.lineIndent < e && (I = -1)), I === 1)
1896
1896
  for (; Jo(A) || Uo(A); )
1897
1897
  tA(A, !0, -1) ? (r = !0, n = o, A.lineIndent > e ? I = 1 : A.lineIndent === e ? I = 0 : A.lineIndent < e && (I = -1)) : n = !1;
1898
- if (n && (n = r || a), (I === 1 || _A === t) && (XA === t || xt === t ? k = e : k = e + 1, w = A.position - A.lineStart, I === 1 ? n && (We(A, w) || So(A, w, k)) || ko(A, k) ? B = !0 : (l && wo(A, k) || yo(A, k) || bo(A, k) ? B = !0 : Vo(A) ? (B = !0, (A.tag !== null || A.anchor !== null) && V(A, "alias node should not have any properties")) : vo(A, k, XA === t) && (B = !0, A.tag === null && (A.tag = "?")), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : I === 0 && (B = n && We(A, w))), A.tag === null)
1898
+ if (n && (n = r || a), (I === 1 || _A === t) && (XA === t || Nt === t ? T = e : T = e + 1, k = A.position - A.lineStart, I === 1 ? n && (We(A, k) || So(A, k, T)) || ko(A, T) ? B = !0 : (l && wo(A, T) || yo(A, T) || bo(A, T) ? B = !0 : Vo(A) ? (B = !0, (A.tag !== null || A.anchor !== null) && V(A, "alias node should not have any properties")) : vo(A, T, XA === t) && (B = !0, A.tag === null && (A.tag = "?")), A.anchor !== null && (A.anchorMap[A.anchor] = A.result)) : I === 0 && (B = n && We(A, k))), A.tag === null)
1899
1899
  A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
1900
1900
  else if (A.tag === "?") {
1901
- for (A.result !== null && A.kind !== "scalar" && V(A, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + A.kind + '"'), C = 0, v = A.implicitTypes.length; C < v; C += 1)
1901
+ for (A.result !== null && A.kind !== "scalar" && V(A, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + A.kind + '"'), C = 0, y = A.implicitTypes.length; C < y; C += 1)
1902
1902
  if (Q = A.implicitTypes[C], Q.resolve(A.result)) {
1903
1903
  A.result = Q.construct(A.result), A.tag = Q.tag, A.anchor !== null && (A.anchorMap[A.anchor] = A.result);
1904
1904
  break;
@@ -1907,7 +1907,7 @@ function KA(A, e, t, i, a) {
1907
1907
  if (wA.call(A.typeMap[A.kind || "fallback"], A.tag))
1908
1908
  Q = A.typeMap[A.kind || "fallback"][A.tag];
1909
1909
  else
1910
- for (Q = null, c = A.typeMap.multi[A.kind || "fallback"], C = 0, v = c.length; C < v; C += 1)
1910
+ for (Q = null, c = A.typeMap.multi[A.kind || "fallback"], C = 0, y = c.length; C < y; C += 1)
1911
1911
  if (A.tag.slice(0, c[C].tag.length) === c[C].tag) {
1912
1912
  Q = c[C];
1913
1913
  break;
@@ -1973,10 +1973,10 @@ function Fo(A, e) {
1973
1973
  throw new IA("expected a single document in the stream, but found more");
1974
1974
  }
1975
1975
  }
1976
- var xo = Ro, No = Fo, qt = {
1977
- loadAll: xo,
1978
- load: No
1979
- }, Yt = Object.prototype.toString, Wt = Object.prototype.hasOwnProperty, Je = 65279, Mo = 9, DA = 10, Lo = 13, Ko = 32, jo = 33, Oo = 34, ce = 35, Do = 37, qo = 38, Yo = 39, Wo = 42, Pt = 44, Po = 45, Ae = 58, zo = 61, Ho = 62, Go = 63, Zo = 64, zt = 91, Ht = 93, Xo = 96, Gt = 123, _o = 124, Zt = 125, CA = {};
1976
+ var No = Ro, xo = Fo, qt = {
1977
+ loadAll: No,
1978
+ load: xo
1979
+ }, Yt = Object.prototype.toString, Wt = Object.prototype.hasOwnProperty, Je = 65279, Lo = 9, DA = 10, Mo = 13, Ko = 32, jo = 33, Oo = 34, ce = 35, Do = 37, qo = 38, Yo = 39, Wo = 42, Pt = 44, Po = 45, Ae = 58, zo = 61, Ho = 62, Go = 63, Zo = 64, zt = 91, Ht = 93, Xo = 96, Gt = 123, _o = 124, Zt = 125, CA = {};
1980
1980
  CA[0] = "\\0";
1981
1981
  CA[7] = "\\a";
1982
1982
  CA[8] = "\\b";
@@ -2053,13 +2053,13 @@ function ol(A, e) {
2053
2053
  return !1;
2054
2054
  }
2055
2055
  function ee(A) {
2056
- return A === Ko || A === Mo;
2056
+ return A === Ko || A === Lo;
2057
2057
  }
2058
2058
  function YA(A) {
2059
2059
  return 32 <= A && A <= 126 || 161 <= A && A <= 55295 && A !== 8232 && A !== 8233 || 57344 <= A && A <= 65533 && A !== Je || 65536 <= A && A <= 1114111;
2060
2060
  }
2061
2061
  function ze(A) {
2062
- return YA(A) && A !== Je && A !== Lo && A !== DA;
2062
+ return YA(A) && A !== Je && A !== Mo && A !== DA;
2063
2063
  }
2064
2064
  function He(A, e, t) {
2065
2065
  var i = ze(A), a = i && !ee(A);
@@ -2085,27 +2085,27 @@ function Xt(A) {
2085
2085
  var e = /^\n* /;
2086
2086
  return e.test(A);
2087
2087
  }
2088
- var _t = 1, pe = 2, $t = 3, Aa = 4, xA = 5;
2088
+ var _t = 1, pe = 2, $t = 3, Aa = 4, NA = 5;
2089
2089
  function gl(A, e, t, i, a, o, l, n) {
2090
- var I, r = 0, B = null, C = !1, v = !1, c = i !== -1, Q = -1, k = ll(jA(A, 0)) && nl(jA(A, A.length - 1));
2090
+ var I, r = 0, B = null, C = !1, y = !1, c = i !== -1, Q = -1, T = ll(jA(A, 0)) && nl(jA(A, A.length - 1));
2091
2091
  if (e || l)
2092
2092
  for (I = 0; I < A.length; r >= 65536 ? I += 2 : I++) {
2093
2093
  if (r = jA(A, I), !YA(r))
2094
- return xA;
2095
- k = k && He(r, B, n), B = r;
2094
+ return NA;
2095
+ T = T && He(r, B, n), B = r;
2096
2096
  }
2097
2097
  else {
2098
2098
  for (I = 0; I < A.length; r >= 65536 ? I += 2 : I++) {
2099
2099
  if (r = jA(A, I), r === DA)
2100
- C = !0, c && (v = v || // Foldable line = too long, and not more-indented.
2100
+ C = !0, c && (y = y || // Foldable line = too long, and not more-indented.
2101
2101
  I - Q - 1 > i && A[Q + 1] !== " ", Q = I);
2102
2102
  else if (!YA(r))
2103
- return xA;
2104
- k = k && He(r, B, n), B = r;
2103
+ return NA;
2104
+ T = T && He(r, B, n), B = r;
2105
2105
  }
2106
- v = v || c && I - Q - 1 > i && A[Q + 1] !== " ";
2106
+ y = y || c && I - Q - 1 > i && A[Q + 1] !== " ";
2107
2107
  }
2108
- return !C && !v ? k && !l && !a(A) ? _t : o === qA ? xA : pe : t > 9 && Xt(A) ? xA : l ? o === qA ? xA : pe : v ? Aa : $t;
2108
+ return !C && !y ? T && !l && !a(A) ? _t : o === qA ? NA : pe : t > 9 && Xt(A) ? NA : l ? o === qA ? NA : pe : y ? Aa : $t;
2109
2109
  }
2110
2110
  function rl(A, e, t, i, a) {
2111
2111
  A.dump = function() {
@@ -2135,7 +2135,7 @@ function rl(A, e, t, i, a) {
2135
2135
  return "|" + Ge(e, A.indent) + Ze(Pe(e, o));
2136
2136
  case Aa:
2137
2137
  return ">" + Ge(e, A.indent) + Ze(Pe(Cl(e, l), o));
2138
- case xA:
2138
+ case NA:
2139
2139
  return '"' + Il(e) + '"';
2140
2140
  default:
2141
2141
  throw new IA("impossible error: invalid scalar style");
@@ -2201,7 +2201,7 @@ function sl(A, e, t) {
2201
2201
  A.tag = a, A.dump = "{" + i + "}";
2202
2202
  }
2203
2203
  function El(A, e, t, i) {
2204
- var a = "", o = A.tag, l = Object.keys(t), n, I, r, B, C, v;
2204
+ var a = "", o = A.tag, l = Object.keys(t), n, I, r, B, C, y;
2205
2205
  if (A.sortKeys === !0)
2206
2206
  l.sort();
2207
2207
  else if (typeof A.sortKeys == "function")
@@ -2209,7 +2209,7 @@ function El(A, e, t, i) {
2209
2209
  else if (A.sortKeys)
2210
2210
  throw new IA("sortKeys must be a boolean or a function");
2211
2211
  for (n = 0, I = l.length; n < I; n += 1)
2212
- v = "", (!i || a !== "") && (v += de(A, e)), r = l[n], B = t[r], A.replacer && (B = A.replacer.call(t, r, B)), hA(A, e + 1, r, !0, !0, !0) && (C = A.tag !== null && A.tag !== "?" || A.dump && A.dump.length > 1024, C && (A.dump && DA === A.dump.charCodeAt(0) ? v += "?" : v += "? "), v += A.dump, C && (v += de(A, e)), hA(A, e + 1, B, !0, C) && (A.dump && DA === A.dump.charCodeAt(0) ? v += ":" : v += ": ", v += A.dump, a += v));
2212
+ y = "", (!i || a !== "") && (y += de(A, e)), r = l[n], B = t[r], A.replacer && (B = A.replacer.call(t, r, B)), hA(A, e + 1, r, !0, !0, !0) && (C = A.tag !== null && A.tag !== "?" || A.dump && A.dump.length > 1024, C && (A.dump && DA === A.dump.charCodeAt(0) ? y += "?" : y += "? "), y += A.dump, C && (y += de(A, e)), hA(A, e + 1, B, !0, C) && (A.dump && DA === A.dump.charCodeAt(0) ? y += ":" : y += ": ", y += A.dump, a += y));
2213
2213
  A.tag = o, A.dump = a || "{}";
2214
2214
  }
2215
2215
  function $e(A, e, t) {
@@ -2233,14 +2233,14 @@ function hA(A, e, t, i, a, o, l) {
2233
2233
  A.tag = null, A.dump = t, $e(A, t, !1) || $e(A, t, !0);
2234
2234
  var n = Yt.call(A.dump), I = i, r;
2235
2235
  i && (i = A.flowLevel < 0 || A.flowLevel > e);
2236
- var B = n === "[object Object]" || n === "[object Array]", C, v;
2237
- if (B && (C = A.duplicates.indexOf(t), v = C !== -1), (A.tag !== null && A.tag !== "?" || v || A.indent !== 2 && e > 0) && (a = !1), v && A.usedDuplicates[C])
2236
+ var B = n === "[object Object]" || n === "[object Array]", C, y;
2237
+ if (B && (C = A.duplicates.indexOf(t), y = C !== -1), (A.tag !== null && A.tag !== "?" || y || A.indent !== 2 && e > 0) && (a = !1), y && A.usedDuplicates[C])
2238
2238
  A.dump = "*ref_" + C;
2239
2239
  else {
2240
- if (B && v && !A.usedDuplicates[C] && (A.usedDuplicates[C] = !0), n === "[object Object]")
2241
- i && Object.keys(A.dump).length !== 0 ? (El(A, e, A.dump, a), v && (A.dump = "&ref_" + C + A.dump)) : (sl(A, e, A.dump), v && (A.dump = "&ref_" + C + " " + A.dump));
2240
+ if (B && y && !A.usedDuplicates[C] && (A.usedDuplicates[C] = !0), n === "[object Object]")
2241
+ i && Object.keys(A.dump).length !== 0 ? (El(A, e, A.dump, a), y && (A.dump = "&ref_" + C + A.dump)) : (sl(A, e, A.dump), y && (A.dump = "&ref_" + C + " " + A.dump));
2242
2242
  else if (n === "[object Array]")
2243
- i && A.dump.length !== 0 ? (A.noArrayIndent && !l && e > 0 ? _e(A, e - 1, A.dump, a) : _e(A, e, A.dump, a), v && (A.dump = "&ref_" + C + A.dump)) : (Ql(A, e, A.dump), v && (A.dump = "&ref_" + C + " " + A.dump));
2243
+ i && A.dump.length !== 0 ? (A.noArrayIndent && !l && e > 0 ? _e(A, e - 1, A.dump, a) : _e(A, e, A.dump, a), y && (A.dump = "&ref_" + C + A.dump)) : (Ql(A, e, A.dump), y && (A.dump = "&ref_" + C + " " + A.dump));
2244
2244
  else if (n === "[object String]")
2245
2245
  A.tag !== "?" && rl(A, A.dump, e, o, I);
2246
2246
  else {
@@ -2318,7 +2318,7 @@ var pl = rA, fl = ut, ml = ft, hl = bt, vl = kt, yl = ke, bl = qt.load, kl = qt.
2318
2318
  safeLoadAll: Vl,
2319
2319
  safeDump: Tl
2320
2320
  };
2321
- const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2321
+ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ AA({
2322
2322
  __name: "YamlCodeBlock",
2323
2323
  props: {
2324
2324
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2328,7 +2328,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2328
2328
  }
2329
2329
  },
2330
2330
  setup(A) {
2331
- const e = A, t = U(() => {
2331
+ const e = A, t = S(() => {
2332
2332
  const i = Object.fromEntries(Object.entries(e.yamlRecord).filter(([, a]) => a !== null && a !== "" && (Array.isArray(a) ? a.length !== 0 : !0)));
2333
2333
  return Object.keys(i).length === 0 && i.constructor === Object ? "" : Rl.dump(i).trim();
2334
2334
  });
@@ -2345,13 +2345,13 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2345
2345
  ]);
2346
2346
  };
2347
2347
  }
2348
- }), xl = {
2348
+ }), Nl = {
2349
2349
  key: 0,
2350
2350
  class: "config-card-display-form"
2351
- }, Nl = ["data-testid"], Ml = {
2351
+ }, xl = ["data-testid"], Ll = {
2352
2352
  key: 0,
2353
2353
  class: "config-card-prop-section-title"
2354
- }, Ll = /* @__PURE__ */ $({
2354
+ }, Ml = /* @__PURE__ */ AA({
2355
2355
  __name: "ConfigCardDisplay",
2356
2356
  props: {
2357
2357
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2390,29 +2390,29 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2390
2390
  }
2391
2391
  },
2392
2392
  setup(A) {
2393
- const e = A, t = he(), { i18n: { t: i } } = oA.useI18n(), a = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), o = U(() => {
2393
+ const e = A, t = he(), { i18n: { t: i } } = oA.useI18n(), a = (l) => !!(l.tooltip || t[`${l.key}-label-tooltip`]), o = S(() => {
2394
2394
  if (!e.record)
2395
2395
  return e.record;
2396
2396
  const l = JSON.parse(JSON.stringify(e.record));
2397
2397
  return delete l.created_at, delete l.updated_at, l;
2398
2398
  });
2399
2399
  return (l, n) => (u(), J(fA, null, [
2400
- A.format === "structured" ? (u(), J("div", xl, [
2400
+ A.format === "structured" ? (u(), J("div", Nl, [
2401
2401
  (u(!0), J(fA, null, dA(A.propListTypes, (I) => (u(), J("div", {
2402
2402
  key: `config-card-details-${I}-props`,
2403
2403
  class: kA(`config-card-details-${I}-props`),
2404
2404
  "data-testid": `config-card-details-${I}-props`
2405
2405
  }, [
2406
- I !== "basic" ? (u(), J("div", Ml, O(I === "advanced" ? g(i)("baseConfigCard.sections.advanced") : g(i)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2406
+ I !== "basic" ? (u(), J("div", Ll, O(I === "advanced" ? g(i)("baseConfigCard.sections.advanced") : g(i)("baseConfigCard.sections.plugin")), 1)) : z("", !0),
2407
2407
  (u(!0), J(fA, null, dA(A.propertyCollections[I], (r) => (u(), Y(Qt, {
2408
2408
  key: r.key,
2409
2409
  item: r
2410
- }, LA({
2410
+ }, MA({
2411
2411
  label: m(() => [
2412
- AA(l.$slots, `${r.key}-label`, { row: r }, void 0, !0)
2412
+ eA(l.$slots, `${r.key}-label`, { row: r }, void 0, !0)
2413
2413
  ]),
2414
2414
  [r.key]: m(({ rowValue: B }) => [
2415
- AA(l.$slots, r.key, {
2415
+ eA(l.$slots, r.key, {
2416
2416
  row: r,
2417
2417
  rowValue: B
2418
2418
  }, void 0, !0)
@@ -2422,12 +2422,12 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2422
2422
  a(r) ? {
2423
2423
  name: "label-tooltip",
2424
2424
  fn: m(() => [
2425
- AA(l.$slots, `${r.key}-label-tooltip`, { row: r }, void 0, !0)
2425
+ eA(l.$slots, `${r.key}-label-tooltip`, { row: r }, void 0, !0)
2426
2426
  ]),
2427
2427
  key: "0"
2428
2428
  } : void 0
2429
2429
  ]), 1032, ["item"]))), 128))
2430
- ], 10, Nl))), 128))
2430
+ ], 10, xl))), 128))
2431
2431
  ])) : z("", !0),
2432
2432
  A.format === "json" && e.record ? (u(), Y(st, {
2433
2433
  key: 1,
@@ -2442,7 +2442,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2442
2442
  }, null, 8, ["yaml-record"])) : z("", !0)
2443
2443
  ], 64));
2444
2444
  }
2445
- }), Kl = /* @__PURE__ */ pA(Ll, [["__scopeId", "data-v-147a2f70"]]), SA = "24px", ge = (A, e) => {
2445
+ }), Kl = /* @__PURE__ */ pA(Ml, [["__scopeId", "data-v-147a2f70"]]), SA = "24px", ge = (A, e) => {
2446
2446
  const t = A.__vccOpts || A;
2447
2447
  for (const [i, a] of e)
2448
2448
  t[i] = a;
@@ -2450,10 +2450,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2450
2450
  }, jl = (A) => (ie("data-v-20c17c32"), A = A(), oe(), A), Ol = ["aria-hidden"], Dl = {
2451
2451
  key: 0,
2452
2452
  "data-testid": "kui-icon-svg-title"
2453
- }, ql = /* @__PURE__ */ jl(() => /* @__PURE__ */ F("path", {
2453
+ }, ql = /* @__PURE__ */ jl(() => /* @__PURE__ */ x("path", {
2454
2454
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2455
2455
  fill: "currentColor"
2456
- }, null, -1)), Yl = /* @__PURE__ */ $({
2456
+ }, null, -1)), Yl = /* @__PURE__ */ AA({
2457
2457
  __name: "AddIcon",
2458
2458
  props: {
2459
2459
  /** The accessibility text provided to screen readers */
@@ -2505,7 +2505,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2505
2505
  }
2506
2506
  },
2507
2507
  setup(A) {
2508
- const e = A, t = U(() => {
2508
+ const e = A, t = S(() => {
2509
2509
  if (typeof e.size == "number" && e.size > 0)
2510
2510
  return `${e.size}px`;
2511
2511
  if (typeof e.size == "string") {
@@ -2514,7 +2514,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2514
2514
  return `${o}px`;
2515
2515
  }
2516
2516
  return SA;
2517
- }), i = U(() => ({
2517
+ }), i = S(() => ({
2518
2518
  boxSizing: "border-box",
2519
2519
  color: e.color,
2520
2520
  display: e.display,
@@ -2549,10 +2549,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2549
2549
  }), Wl = /* @__PURE__ */ ge(Yl, [["__scopeId", "data-v-20c17c32"]]), Pl = (A) => (ie("data-v-b939f1df"), A = A(), oe(), A), zl = ["aria-hidden"], Hl = {
2550
2550
  key: 0,
2551
2551
  "data-testid": "kui-icon-svg-title"
2552
- }, Gl = /* @__PURE__ */ Pl(() => /* @__PURE__ */ F("path", {
2552
+ }, Gl = /* @__PURE__ */ Pl(() => /* @__PURE__ */ x("path", {
2553
2553
  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",
2554
2554
  fill: "currentColor"
2555
- }, null, -1)), Zl = /* @__PURE__ */ $({
2555
+ }, null, -1)), Zl = /* @__PURE__ */ AA({
2556
2556
  __name: "BookIcon",
2557
2557
  props: {
2558
2558
  /** The accessibility text provided to screen readers */
@@ -2604,7 +2604,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2604
2604
  }
2605
2605
  },
2606
2606
  setup(A) {
2607
- const e = A, t = U(() => {
2607
+ const e = A, t = S(() => {
2608
2608
  if (typeof e.size == "number" && e.size > 0)
2609
2609
  return `${e.size}px`;
2610
2610
  if (typeof e.size == "string") {
@@ -2613,7 +2613,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2613
2613
  return `${o}px`;
2614
2614
  }
2615
2615
  return SA;
2616
- }), i = U(() => ({
2616
+ }), i = S(() => ({
2617
2617
  boxSizing: "border-box",
2618
2618
  color: e.color,
2619
2619
  display: e.display,
@@ -2648,10 +2648,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2648
2648
  }), Xl = /* @__PURE__ */ ge(Zl, [["__scopeId", "data-v-b939f1df"]]), _l = (A) => (ie("data-v-f1d0332e"), A = A(), oe(), A), $l = ["aria-hidden"], An = {
2649
2649
  key: 0,
2650
2650
  "data-testid": "kui-icon-svg-title"
2651
- }, en = /* @__PURE__ */ _l(() => /* @__PURE__ */ F("path", {
2651
+ }, en = /* @__PURE__ */ _l(() => /* @__PURE__ */ x("path", {
2652
2652
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2653
2653
  fill: "currentColor"
2654
- }, null, -1)), tn = /* @__PURE__ */ $({
2654
+ }, null, -1)), tn = /* @__PURE__ */ AA({
2655
2655
  __name: "ChevronDownIcon",
2656
2656
  props: {
2657
2657
  /** The accessibility text provided to screen readers */
@@ -2703,7 +2703,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2703
2703
  }
2704
2704
  },
2705
2705
  setup(A) {
2706
- const e = A, t = U(() => {
2706
+ const e = A, t = S(() => {
2707
2707
  if (typeof e.size == "number" && e.size > 0)
2708
2708
  return `${e.size}px`;
2709
2709
  if (typeof e.size == "string") {
@@ -2712,7 +2712,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2712
2712
  return `${o}px`;
2713
2713
  }
2714
2714
  return SA;
2715
- }), i = U(() => ({
2715
+ }), i = S(() => ({
2716
2716
  boxSizing: "border-box",
2717
2717
  color: e.color,
2718
2718
  display: e.display,
@@ -2747,10 +2747,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2747
2747
  }), an = /* @__PURE__ */ ge(tn, [["__scopeId", "data-v-f1d0332e"]]), on = (A) => (ie("data-v-288b6455"), A = A(), oe(), A), ln = ["aria-hidden"], nn = {
2748
2748
  key: 0,
2749
2749
  "data-testid": "kui-icon-svg-title"
2750
- }, gn = /* @__PURE__ */ on(() => /* @__PURE__ */ F("path", {
2750
+ }, gn = /* @__PURE__ */ on(() => /* @__PURE__ */ x("path", {
2751
2751
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2752
2752
  fill: "currentColor"
2753
- }, null, -1)), rn = /* @__PURE__ */ $({
2753
+ }, null, -1)), rn = /* @__PURE__ */ AA({
2754
2754
  __name: "CloseIcon",
2755
2755
  props: {
2756
2756
  /** The accessibility text provided to screen readers */
@@ -2802,7 +2802,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2802
2802
  }
2803
2803
  },
2804
2804
  setup(A) {
2805
- const e = A, t = U(() => {
2805
+ const e = A, t = S(() => {
2806
2806
  if (typeof e.size == "number" && e.size > 0)
2807
2807
  return `${e.size}px`;
2808
2808
  if (typeof e.size == "string") {
@@ -2811,7 +2811,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2811
2811
  return `${o}px`;
2812
2812
  }
2813
2813
  return SA;
2814
- }), i = U(() => ({
2814
+ }), i = S(() => ({
2815
2815
  boxSizing: "border-box",
2816
2816
  color: e.color,
2817
2817
  display: e.display,
@@ -2846,7 +2846,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2846
2846
  }), Cn = /* @__PURE__ */ ge(rn, [["__scopeId", "data-v-288b6455"]]), In = {
2847
2847
  class: "config-card-title",
2848
2848
  "data-testid": "config-card-title"
2849
- }, Qn = { class: "config-card-actions" }, sn = ["href"], En = { class: "config-card-details-section" }, Bn = /* @__PURE__ */ $({
2849
+ }, Qn = { class: "config-card-actions" }, sn = ["href"], En = { class: "config-card-details-section" }, Bn = /* @__PURE__ */ AA({
2850
2850
  __name: "EntityBaseConfigCard",
2851
2851
  props: {
2852
2852
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2939,9 +2939,9 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2939
2939
  label: "YAML",
2940
2940
  value: "yaml"
2941
2941
  }
2942
- ], B = j("structured"), C = (f) => {
2943
- B.value = f == null ? void 0 : f.value;
2944
- }, v = {
2942
+ ], B = j("structured"), C = (d) => {
2943
+ B.value = d == null ? void 0 : d.value;
2944
+ }, y = {
2945
2945
  id: {
2946
2946
  type: _.ID,
2947
2947
  label: o("baseConfigCard.commonFields.id_label"),
@@ -2975,21 +2975,21 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2975
2975
  // the last property displayed
2976
2976
  section: EA.Basic
2977
2977
  }
2978
- }, c = j(!1), Q = j(!1), k = j(""), w = j({}), q = U(() => {
2979
- var f, T, N;
2980
- if (!w.value)
2978
+ }, c = j(!1), Q = j(!1), T = j(""), k = j({}), D = S(() => {
2979
+ var d, R, L;
2980
+ if (!k.value)
2981
2981
  return [];
2982
- const S = [], W = Object.keys(w.value).length;
2983
- for (const R in w.value) {
2984
- const M = (T = (f = a.configSchema) == null ? void 0 : f[R]) == null ? void 0 : T.order, H = (N = v[R]) == null ? void 0 : N.order;
2982
+ const w = [], W = Object.keys(k.value).length;
2983
+ for (const F in k.value) {
2984
+ const N = (R = (d = a.configSchema) == null ? void 0 : d[F]) == null ? void 0 : R.order, H = (L = y[F]) == null ? void 0 : L.order;
2985
2985
  let G = W;
2986
- (H || H === 0) && (G = H === -1 ? W + 1 : H), M && (G = M === -1 ? W + 1 : M), S.push([R, G]);
2986
+ (H || H === 0) && (G = H === -1 ? W + 1 : H), N && (G = N === -1 ? W + 1 : N), w.push([F, G]);
2987
2987
  }
2988
- return S.sort(function(R, M) {
2989
- return R[1] - M[1];
2990
- }), S.map((R) => {
2991
- var M, H;
2992
- const G = R[0], QA = (M = w.value) == null ? void 0 : M[G], lA = ((H = a.configSchema) == null ? void 0 : H[G]) || {}, nA = v[G];
2988
+ return w.sort(function(F, N) {
2989
+ return F[1] - N[1];
2990
+ }), w.map((F) => {
2991
+ var N, H;
2992
+ const G = F[0], QA = (N = k.value) == null ? void 0 : N[G], lA = ((H = a.configSchema) == null ? void 0 : H[G]) || {}, nA = y[G];
2993
2993
  return {
2994
2994
  key: G,
2995
2995
  value: QA,
@@ -2999,22 +2999,22 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
2999
2999
  tooltip: lA.tooltip ?? ((nA == null ? void 0 : nA.tooltip) || void 0),
3000
3000
  section: lA.section ?? ((nA == null ? void 0 : nA.section) || EA.Advanced)
3001
3001
  };
3002
- }).filter((R) => !R.hidden && R.key !== a.pluginConfigKey);
3003
- }), x = U(() => {
3004
- var f, T;
3005
- if (!w.value || !a.pluginConfigKey)
3002
+ }).filter((F) => !F.hidden && F.key !== a.pluginConfigKey);
3003
+ }), U = S(() => {
3004
+ var d, R;
3005
+ if (!k.value || !a.pluginConfigKey)
3006
3006
  return [];
3007
- const N = w.value[a.pluginConfigKey] || {}, S = Object.keys(N).length, W = [];
3008
- for (const R in N) {
3009
- const M = (T = (f = a.pluginConfigSchema) == null ? void 0 : f[R]) == null ? void 0 : T.order, H = N[R];
3010
- let G = H != null && H !== "" ? S - 1 : S;
3011
- M && (G = M === -1 ? S + 1 : M), W.push([R, G]);
3007
+ const L = k.value[a.pluginConfigKey] || {}, w = Object.keys(L).length, W = [];
3008
+ for (const F in L) {
3009
+ const N = (R = (d = a.pluginConfigSchema) == null ? void 0 : d[F]) == null ? void 0 : R.order, H = L[F];
3010
+ let G = H != null && H !== "" ? w - 1 : w;
3011
+ N && (G = N === -1 ? w + 1 : N), W.push([F, G]);
3012
3012
  }
3013
- return W.sort(function(R, M) {
3014
- return R[1] - M[1];
3015
- }), W.map((R) => {
3016
- var M;
3017
- const H = R[0], G = N[H], QA = ((M = a.pluginConfigSchema) == null ? void 0 : M[H]) || {};
3013
+ return W.sort(function(F, N) {
3014
+ return F[1] - N[1];
3015
+ }), W.map((F) => {
3016
+ var N;
3017
+ const H = F[0], G = L[H], QA = ((N = a.pluginConfigSchema) == null ? void 0 : N[H]) || {};
3018
3018
  return {
3019
3019
  key: H,
3020
3020
  value: G,
@@ -3024,54 +3024,54 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3024
3024
  tooltip: QA.tooltip ?? void 0,
3025
3025
  section: EA.Plugin
3026
3026
  };
3027
- }).filter((R) => !R.hidden);
3028
- }), eA = U(() => {
3029
- var f, T, N, S;
3027
+ }).filter((F) => !F.hidden);
3028
+ }), $ = S(() => {
3029
+ var d, R, L, w;
3030
3030
  return {
3031
- basic: (f = q.value) == null ? void 0 : f.filter((W) => W.section === EA.Basic),
3032
- advanced: (T = q.value) == null ? void 0 : T.filter((W) => W.section === EA.Advanced),
3033
- plugin: (S = x.value) == null ? void 0 : S.concat((N = q.value) == null ? void 0 : N.filter((W) => W.section === EA.Plugin))
3031
+ basic: (d = D.value) == null ? void 0 : d.filter((W) => W.section === EA.Basic),
3032
+ advanced: (R = D.value) == null ? void 0 : R.filter((W) => W.section === EA.Advanced),
3033
+ plugin: (w = U.value) == null ? void 0 : w.concat((L = D.value) == null ? void 0 : L.filter((W) => W.section === EA.Plugin))
3034
3034
  };
3035
- }), y = U(() => {
3036
- const f = [];
3037
- return eA.value.basic.length && f.push("basic"), eA.value.advanced.length && f.push("advanced"), eA.value.plugin.length && f.push("plugin"), f;
3038
- }), h = U(() => {
3039
- var f, T;
3040
- let N = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3041
- return a.config.app === "konnect" ? N = N.replace(/{controlPlaneId}/gi, ((f = a.config) == null ? void 0 : f.controlPlaneId) || "") : a.config.app === "kongManager" && (N = N.replace(/\/{workspace}/gi, (T = a.config) != null && T.workspace ? `/${a.config.workspace}` : "")), N = N.replace(/{id}/gi, a.config.entityId), N;
3035
+ }), v = S(() => {
3036
+ const d = [];
3037
+ return $.value.basic.length && d.push("basic"), $.value.advanced.length && d.push("advanced"), $.value.plugin.length && d.push("plugin"), d;
3038
+ }), h = S(() => {
3039
+ var d, R;
3040
+ let L = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3041
+ return a.config.app === "konnect" ? L = L.replace(/{controlPlaneId}/gi, ((d = a.config) == null ? void 0 : d.controlPlaneId) || "") : a.config.app === "kongManager" && (L = L.replace(/\/{workspace}/gi, (R = a.config) != null && R.workspace ? `/${a.config.workspace}` : "")), L = L.replace(/{id}/gi, a.config.entityId), L;
3042
3042
  });
3043
- return TA(c, (f) => {
3044
- i("loading", f);
3043
+ return TA(c, (d) => {
3044
+ i("loading", d);
3045
3045
  }, { immediate: !0 }), me(async () => {
3046
3046
  Q.value = !1, c.value = !0;
3047
3047
  try {
3048
- const { data: f } = await I.get(h.value);
3048
+ const { data: d } = await I.get(h.value);
3049
3049
  if (a.dataKey)
3050
- if (typeof f[a.dataKey] < "u")
3051
- w.value = { ...f[a.dataKey] };
3050
+ if (typeof d[a.dataKey] < "u")
3051
+ k.value = { ...d[a.dataKey] };
3052
3052
  else
3053
3053
  throw new Error(o("errors.dataKeyUndefined", { dataKey: a.dataKey }));
3054
3054
  else
3055
- w.value = { ...f };
3056
- Object.keys(a.configSchema).filter((T) => a.configSchema[T].forceShow).forEach((T) => {
3057
- w.value && typeof w.value[T] > "u" && (w.value[T] = null);
3058
- }), i("fetch:success", f);
3059
- } catch (f) {
3060
- const T = l(f);
3061
- k.value = T.startsWith("code") ? o("baseConfigCard.errors.load") : T, Q.value = !0, i("fetch:error", f);
3055
+ k.value = { ...d };
3056
+ Object.keys(a.configSchema).filter((R) => a.configSchema[R].forceShow).forEach((R) => {
3057
+ k.value && typeof k.value[R] > "u" && (k.value[R] = null);
3058
+ }), i("fetch:success", d);
3059
+ } catch (d) {
3060
+ const R = l(d);
3061
+ T.value = R.startsWith("code") ? o("baseConfigCard.errors.load") : R, Q.value = !0, i("fetch:error", d);
3062
3062
  } finally {
3063
3063
  c.value = !1;
3064
3064
  }
3065
- }), (f, T) => {
3066
- const N = K("KLabel"), S = K("KSelect"), W = K("KButton"), R = K("KSkeleton"), M = K("KEmptyState"), H = K("KCard");
3065
+ }), (d, R) => {
3066
+ const L = K("KLabel"), w = K("KSelect"), W = K("KButton"), F = K("KSkeleton"), N = K("KEmptyState"), H = K("KCard");
3067
3067
  return u(), Y(H, {
3068
3068
  class: "kong-ui-entity-base-config-card",
3069
3069
  "title-tag": A.titleTag
3070
- }, LA({
3070
+ }, MA({
3071
3071
  actions: m(() => [
3072
- F("div", Qn, [
3073
- AA(f.$slots, "actions", {}, void 0, !0),
3074
- p(N, {
3072
+ x("div", Qn, [
3073
+ eA(d.$slots, "actions", {}, void 0, !0),
3074
+ f(L, {
3075
3075
  class: "config-format-select-label",
3076
3076
  "data-testid": "config-format-select-label"
3077
3077
  }, {
@@ -3080,7 +3080,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3080
3080
  ]),
3081
3081
  _: 1
3082
3082
  }),
3083
- p(S, {
3083
+ f(w, {
3084
3084
  "data-testid": "select-config-format",
3085
3085
  items: r,
3086
3086
  onChange: C
@@ -3092,12 +3092,12 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3092
3092
  "data-testid": "book-icon"
3093
3093
  }, {
3094
3094
  default: m(() => [
3095
- F("a", {
3095
+ x("a", {
3096
3096
  href: A.configCardDoc,
3097
3097
  rel: "noopener",
3098
3098
  target: "_blank"
3099
3099
  }, [
3100
- p(g(Xl), { size: g(_a) }, null, 8, ["size"])
3100
+ f(g(Xl), { size: g(_a) }, null, 8, ["size"])
3101
3101
  ], 8, sn)
3102
3102
  ]),
3103
3103
  _: 1
@@ -3105,34 +3105,34 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3105
3105
  ])
3106
3106
  ]),
3107
3107
  default: m(() => [
3108
- c.value ? (u(), Y(R, {
3108
+ c.value ? (u(), Y(F, {
3109
3109
  key: 0,
3110
3110
  "data-testid": "config-card-loader",
3111
3111
  "table-columns": 2,
3112
3112
  type: "table"
3113
- })) : Q.value ? (u(), Y(M, {
3113
+ })) : Q.value ? (u(), Y(N, {
3114
3114
  key: 1,
3115
3115
  "data-testid": "config-card-fetch-error",
3116
3116
  "icon-variant": "error"
3117
3117
  }, {
3118
3118
  default: m(() => [
3119
- F("h3", null, O(k.value), 1)
3119
+ x("h3", null, O(T.value), 1)
3120
3120
  ]),
3121
3121
  _: 1
3122
3122
  })) : z("", !0),
3123
- F("div", En, [
3124
- p(Kl, {
3123
+ x("div", En, [
3124
+ f(Kl, {
3125
3125
  config: A.config,
3126
3126
  "fetcher-url": h.value,
3127
3127
  format: B.value,
3128
- "prop-list-types": y.value,
3129
- "property-collections": eA.value,
3130
- record: w.value
3131
- }, LA({ _: 2 }, [
3132
- dA(Object.keys(f.$slots), (G) => ({
3128
+ "prop-list-types": v.value,
3129
+ "property-collections": $.value,
3130
+ record: k.value
3131
+ }, MA({ _: 2 }, [
3132
+ dA(Object.keys(d.$slots), (G) => ({
3133
3133
  name: G,
3134
3134
  fn: m(({ row: QA, rowValue: lA }) => [
3135
- AA(f.$slots, G, {
3135
+ eA(d.$slots, G, {
3136
3136
  row: QA,
3137
3137
  rowValue: lA
3138
3138
  }, void 0, !0)
@@ -3146,8 +3146,8 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3146
3146
  A.hideTitle ? void 0 : {
3147
3147
  name: "title",
3148
3148
  fn: m(() => [
3149
- F("span", In, [
3150
- AA(f.$slots, "title", {}, () => [
3149
+ x("span", In, [
3150
+ eA(d.$slots, "title", {}, () => [
3151
3151
  Z(O(g(o)("baseConfigCard.title")), 1)
3152
3152
  ], !0)
3153
3153
  ])
@@ -3160,7 +3160,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3160
3160
  }), un = /* @__PURE__ */ pA(Bn, [["__scopeId", "data-v-f40a683b"]]), cn = ["novalidate"], dn = {
3161
3161
  class: "form-actions",
3162
3162
  "data-testid": "form-actions"
3163
- }, pn = /* @__PURE__ */ $({
3163
+ }, pn = /* @__PURE__ */ AA({
3164
3164
  __name: "EntityBaseForm",
3165
3165
  props: {
3166
3166
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3222,19 +3222,19 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3222
3222
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3223
3223
  setup(A, { emit: e }) {
3224
3224
  var t;
3225
- const i = e, a = A, o = ve(), { i18n: { t: l } } = oA.useI18n(), { getMessageFromError: n } = oA.useErrors(), { axiosInstance: I } = oA.useAxios((t = a.config) == null ? void 0 : t.axiosRequestConfig), r = j(!1), B = j(!1), C = j(""), v = U(() => a.canSubmit === !1 || a.isReadonly), c = j(!1), Q = U(() => {
3226
- var y, h;
3227
- let f = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3228
- return a.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((y = a.config) == null ? void 0 : y.controlPlaneId) || "") : a.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (h = a.config) != null && h.workspace ? `/${a.config.workspace}` : "")), a.editId ? (f = f.replace(/{id}/gi, a.editId), f) : (f = f.replace(/\/{id}/gi, ""), f);
3229
- }), k = () => {
3225
+ const i = e, a = A, o = ve(), { i18n: { t: l } } = oA.useI18n(), { getMessageFromError: n } = oA.useErrors(), { axiosInstance: I } = oA.useAxios((t = a.config) == null ? void 0 : t.axiosRequestConfig), r = j(!1), B = j(!1), C = j(""), y = S(() => a.canSubmit === !1 || a.isReadonly), c = j(!1), Q = S(() => {
3226
+ var v, h;
3227
+ let d = `${a.config.apiBaseUrl}${a.fetchUrl}`;
3228
+ return a.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((v = a.config) == null ? void 0 : v.controlPlaneId) || "") : a.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (h = a.config) != null && h.workspace ? `/${a.config.workspace}` : "")), a.editId ? (d = d.replace(/{id}/gi, a.editId), d) : (d = d.replace(/\/{id}/gi, ""), d);
3229
+ }), T = () => {
3230
3230
  c.value = !c.value;
3231
- }, w = () => {
3232
- a.config.cancelRoute ? o.push(a.config.cancelRoute) : q();
3233
- }, q = () => {
3231
+ }, k = () => {
3232
+ a.config.cancelRoute ? o.push(a.config.cancelRoute) : D();
3233
+ }, D = () => {
3234
3234
  i("cancel");
3235
- }, x = () => {
3236
- v.value || i("submit");
3237
- }, eA = j([
3235
+ }, U = () => {
3236
+ y.value || i("submit");
3237
+ }, $ = j([
3238
3238
  {
3239
3239
  title: l("baseForm.configuration.yaml"),
3240
3240
  hash: "#yaml"
@@ -3244,65 +3244,65 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3244
3244
  hash: "#json"
3245
3245
  }
3246
3246
  ]);
3247
- return TA(() => r.value, (y) => {
3248
- i("loading", y);
3247
+ return TA(() => r.value, (v) => {
3248
+ i("loading", v);
3249
3249
  }, { immediate: !0 }), me(async () => {
3250
3250
  if (a.editId)
3251
3251
  try {
3252
3252
  B.value = !1, r.value = !0;
3253
- const { data: y } = await I.get(Q.value);
3254
- i("fetch:success", y);
3255
- } catch (y) {
3256
- const h = n(y);
3257
- C.value = h.startsWith("code") ? l("baseForm.errors.edit") : h, B.value = !0, i("fetch:error", y);
3253
+ const { data: v } = await I.get(Q.value);
3254
+ i("fetch:success", v);
3255
+ } catch (v) {
3256
+ const h = n(v);
3257
+ C.value = h.startsWith("code") ? l("baseForm.errors.edit") : h, B.value = !0, i("fetch:error", v);
3258
3258
  } finally {
3259
3259
  r.value = !1;
3260
3260
  }
3261
- }), (y, h) => {
3262
- const f = K("KSkeleton"), T = K("KEmptyState"), N = K("KAlert"), S = K("KButton"), W = K("KTabs"), R = K("KSlideout"), M = K("KCard");
3263
- return u(), Y(M, { class: "kong-ui-entity-base-form" }, {
3261
+ }), (v, h) => {
3262
+ const d = K("KSkeleton"), R = K("KEmptyState"), L = K("KAlert"), w = K("KButton"), W = K("KTabs"), F = K("KSlideout"), N = K("KCard");
3263
+ return u(), Y(N, { class: "kong-ui-entity-base-form" }, {
3264
3264
  default: m(() => [
3265
- r.value ? (u(), Y(f, {
3265
+ r.value ? (u(), Y(d, {
3266
3266
  key: 0,
3267
3267
  type: "form"
3268
- })) : B.value ? (u(), Y(T, {
3268
+ })) : B.value ? (u(), Y(R, {
3269
3269
  key: 1,
3270
3270
  "action-button-text": g(l)("baseForm.actions.back"),
3271
3271
  "data-testid": "form-fetch-error",
3272
3272
  "icon-variant": "error",
3273
- onClickAction: w
3273
+ onClickAction: k
3274
3274
  }, {
3275
3275
  default: m(() => [
3276
- F("h3", null, O(C.value), 1)
3276
+ x("h3", null, O(C.value), 1)
3277
3277
  ]),
3278
3278
  _: 1
3279
3279
  }, 8, ["action-button-text"])) : (u(), J("form", {
3280
3280
  key: 2,
3281
3281
  "data-testid": "form-content",
3282
3282
  novalidate: a.noValidate,
3283
- onReset: Be(q, ["prevent"]),
3284
- onSubmit: Be(x, ["prevent"])
3283
+ onReset: Be(D, ["prevent"]),
3284
+ onSubmit: Be(U, ["prevent"])
3285
3285
  }, [
3286
- AA(y.$slots, "default", {}, void 0, !0),
3287
- A.errorMessage ? (u(), Y(N, {
3286
+ eA(v.$slots, "default", {}, void 0, !0),
3287
+ A.errorMessage ? (u(), Y(L, {
3288
3288
  key: 0,
3289
3289
  appearance: "danger",
3290
3290
  "data-testid": "form-error",
3291
3291
  message: A.errorMessage
3292
3292
  }, null, 8, ["message"])) : z("", !0),
3293
- F("div", dn, [
3294
- AA(y.$slots, "form-actions", {}, () => [
3295
- p(S, {
3293
+ x("div", dn, [
3294
+ eA(v.$slots, "form-actions", {}, () => [
3295
+ f(w, {
3296
3296
  appearance: "tertiary",
3297
3297
  "data-testid": "form-view-configuration",
3298
- onClick: h[0] || (h[0] = (H) => k())
3298
+ onClick: h[0] || (h[0] = (H) => T())
3299
3299
  }, {
3300
3300
  default: m(() => [
3301
3301
  Z(O(g(l)("baseForm.actions.viewConfiguration")), 1)
3302
3302
  ]),
3303
3303
  _: 1
3304
3304
  }),
3305
- p(S, {
3305
+ f(w, {
3306
3306
  appearance: "secondary",
3307
3307
  "data-testid": "form-cancel",
3308
3308
  disabled: A.isReadonly,
@@ -3313,10 +3313,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3313
3313
  ]),
3314
3314
  _: 1
3315
3315
  }, 8, ["disabled"]),
3316
- p(S, {
3316
+ f(w, {
3317
3317
  appearance: "primary",
3318
3318
  "data-testid": "form-submit",
3319
- disabled: v.value,
3319
+ disabled: y.value,
3320
3320
  type: "submit"
3321
3321
  }, {
3322
3322
  default: m(() => [
@@ -3327,23 +3327,23 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3327
3327
  ], !0)
3328
3328
  ])
3329
3329
  ], 40, cn)),
3330
- p(R, {
3330
+ f(F, {
3331
3331
  "close-on-blur": !1,
3332
3332
  "data-testid": "form-view-configuration-slideout",
3333
3333
  "has-overlay": !1,
3334
3334
  "offset-top": 60,
3335
3335
  title: g(l)("baseForm.configuration.title"),
3336
3336
  visible: c.value,
3337
- onClose: h[1] || (h[1] = (H) => k())
3337
+ onClose: h[1] || (h[1] = (H) => T())
3338
3338
  }, {
3339
3339
  default: m(() => [
3340
- F("div", null, O(g(l)("baseForm.configuration.message")), 1),
3341
- p(W, {
3340
+ x("div", null, O(g(l)("baseForm.configuration.message")), 1),
3341
+ f(W, {
3342
3342
  "data-testid": "form-view-configuration-slideout-tabs",
3343
- tabs: eA.value
3343
+ tabs: $.value
3344
3344
  }, {
3345
3345
  json: m(() => [
3346
- p(st, {
3346
+ f(st, {
3347
3347
  config: A.config,
3348
3348
  "fetcher-url": Q.value,
3349
3349
  "json-record": a.formFields,
@@ -3351,7 +3351,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3351
3351
  }, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
3352
3352
  ]),
3353
3353
  yaml: m(() => [
3354
- p(ea, {
3354
+ f(ea, {
3355
3355
  "yaml-record": a.formFields
3356
3356
  }, null, 8, ["yaml-record"])
3357
3357
  ]),
@@ -3365,10 +3365,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3365
3365
  });
3366
3366
  };
3367
3367
  }
3368
- }), fn = /* @__PURE__ */ pA(pn, [["__scopeId", "data-v-3def74fe"]]), mn = {
3369
- key: 0,
3370
- "data-testid": "first-col"
3371
- }, hn = /* @__PURE__ */ $({
3368
+ }), fn = /* @__PURE__ */ pA(pn, [["__scopeId", "data-v-3def74fe"]]), mn = ["data-truncate"], hn = /* @__PURE__ */ AA({
3372
3369
  __name: "EntityBaseTableCell",
3373
3370
  props: {
3374
3371
  keyName: {
@@ -3378,71 +3375,83 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3378
3375
  rowEl: {
3379
3376
  type: [Object, null],
3380
3377
  required: !0
3378
+ },
3379
+ tooltip: {
3380
+ type: Boolean,
3381
+ default: !1
3381
3382
  }
3382
3383
  },
3383
3384
  setup(A) {
3384
- const e = A, t = U(() => {
3385
+ const e = A, t = S(() => {
3385
3386
  var k;
3386
3387
  return ((k = e.rowEl) == null ? void 0 : k.querySelector(`[data-testid="${e.keyName}"]`)) || null;
3387
- }), i = U(() => {
3388
+ }), i = S(() => {
3388
3389
  var k;
3389
- return ((k = t.value) == null ? void 0 : k.querySelector('[data-testid="first-col"]')) || null;
3390
- }), a = U(() => {
3391
- var k, w;
3392
- const q = (k = e.rowEl) == null ? void 0 : k.querySelectorAll("td");
3393
- return q ? ((w = q[0]) == null ? void 0 : w.getAttribute("data-testid")) === e.keyName : !1;
3394
- });
3395
- let o;
3396
- const l = () => {
3397
- o && (o.disconnect(), o = void 0);
3398
- }, n = () => {
3399
- var k, w, q;
3400
- r.value = ((k = i.value) == null ? void 0 : k.getBoundingClientRect().width) || 0, B.value = ((w = t.value) == null ? void 0 : w.clientWidth) || 0, C.value = ((q = I.value) == null ? void 0 : q.innerText) || "";
3401
- }, I = j({}), r = j(0), B = j(0), C = j(""), v = U(() => [i.value, t.value]), c = TA(
3402
- v,
3390
+ return ((k = t.value) == null ? void 0 : k.querySelector('[data-truncate="true"]')) || null;
3391
+ }), a = S(() => {
3392
+ var k, D;
3393
+ const U = (k = e.rowEl) == null ? void 0 : k.querySelectorAll("td");
3394
+ return U ? ((D = U[0]) == null ? void 0 : D.getAttribute("data-testid")) === e.keyName : !1;
3395
+ }), o = S(() => a.value || e.tooltip);
3396
+ let l;
3397
+ const n = () => {
3398
+ l && (l.disconnect(), l = void 0);
3399
+ }, I = () => {
3400
+ var k, D, U;
3401
+ let $ = ((k = t.value) == null ? void 0 : k.clientWidth) || 0;
3402
+ if (t.value && "getComputedStyle" in window) {
3403
+ const v = window.getComputedStyle(t.value);
3404
+ $ -= (parseFloat(v.paddingLeft) || 0) + (parseFloat(v.paddingRight) || 0);
3405
+ }
3406
+ B.value = ((D = i.value) == null ? void 0 : D.getBoundingClientRect().width) || 0, C.value = $, y.value = ((U = r.value) == null ? void 0 : U.innerText) || "";
3407
+ }, r = j({}), B = j(0), C = j(0), y = j(""), c = S(() => [i.value, t.value]), Q = TA(
3408
+ c,
3403
3409
  (k) => {
3404
- if (a.value && (l(), "ResizeObserver" in window && window)) {
3405
- o = new ResizeObserver((w) => {
3410
+ if (o.value && (n(), "ResizeObserver" in window && window)) {
3411
+ l = new ResizeObserver((D) => {
3406
3412
  window.requestAnimationFrame(() => {
3407
- !Array.isArray(w) || !w.length || n();
3413
+ !Array.isArray(D) || !D.length || I();
3408
3414
  });
3409
3415
  });
3410
- for (const w of k)
3411
- w && o.observe(w);
3416
+ for (const D of k)
3417
+ D && l.observe(D);
3412
3418
  }
3413
3419
  },
3414
3420
  { immediate: !0, flush: "post", deep: !0 }
3415
- ), Q = U(() => a.value ? r.value > B.value : !1);
3421
+ ), T = S(() => o.value ? B.value > C.value : !1);
3416
3422
  return la(() => {
3417
- n();
3423
+ I();
3418
3424
  }), na(() => {
3419
- c();
3420
- }), (k, w) => {
3421
- const q = K("KTooltip");
3425
+ Q();
3426
+ }), (k, D) => {
3427
+ const U = K("KTooltip");
3422
3428
  return u(), J("span", {
3423
3429
  ref_key: "contentRef",
3424
- ref: I,
3430
+ ref: r,
3425
3431
  class: "content-wrapper"
3426
3432
  }, [
3427
- a.value ? (u(), J("span", mn, [
3428
- p(q, {
3433
+ o.value ? (u(), J("span", {
3434
+ key: 0,
3435
+ "data-truncate": o.value || void 0
3436
+ }, [
3437
+ f(U, {
3429
3438
  "max-width": "300",
3430
3439
  placement: "bottomStart",
3431
- text: Q.value ? C.value : ""
3440
+ text: T.value ? y.value : ""
3432
3441
  }, {
3433
3442
  default: m(() => [
3434
- AA(k.$slots, "default", {}, void 0, !0)
3443
+ eA(k.$slots, "default", {}, void 0, !0)
3435
3444
  ]),
3436
3445
  _: 3
3437
3446
  }, 8, ["text"])
3438
- ])) : AA(k.$slots, "default", { key: 1 }, void 0, !0)
3447
+ ], 8, mn)) : eA(k.$slots, "default", { key: 1 }, void 0, !0)
3439
3448
  ], 512);
3440
3449
  };
3441
3450
  }
3442
- }), vn = /* @__PURE__ */ pA(hn, [["__scopeId", "data-v-c4379fd4"]]), yn = { class: "toolbar-container" }, bn = {
3451
+ }), vn = /* @__PURE__ */ pA(hn, [["__scopeId", "data-v-6019026f"]]), yn = { class: "toolbar-container" }, bn = {
3443
3452
  key: 0,
3444
3453
  class: "toolbar-button-container"
3445
- }, kn = ["data-testid"], wn = /* @__PURE__ */ $({
3454
+ }, kn = ["data-testid"], wn = /* @__PURE__ */ AA({
3446
3455
  __name: "EntityBaseTable",
3447
3456
  props: {
3448
3457
  // table header configuration
@@ -3556,8 +3565,8 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3556
3565
  },
3557
3566
  emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
3558
3567
  setup(A, { emit: e }) {
3559
- const t = A, i = e, { i18n: { t: a } } = oA.useI18n(), o = U(() => {
3560
- var h, f;
3568
+ const t = A, i = e, { i18n: { t: a } } = oA.useI18n(), o = S(() => {
3569
+ var h, d;
3561
3570
  return typeof t.errorMessage == "string" ? {
3562
3571
  hasError: !!t.errorMessage,
3563
3572
  title: t.errorMessage,
@@ -3565,16 +3574,16 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3565
3574
  } : {
3566
3575
  hasError: !!t.errorMessage,
3567
3576
  title: (h = t.errorMessage) == null ? void 0 : h.title,
3568
- message: (f = t.errorMessage) == null ? void 0 : f.message
3577
+ message: (d = t.errorMessage) == null ? void 0 : d.message
3569
3578
  };
3570
- }), l = U(() => t.cacheIdentifier || t.preferencesStorageKey), n = (h) => h.hasData || !!t.query, I = U(() => {
3579
+ }), l = S(() => t.cacheIdentifier || t.preferencesStorageKey), n = (h) => h.hasData || !!t.query, I = S(() => {
3571
3580
  const h = [];
3572
- return Object.keys(t.tableHeaders).forEach((f) => {
3573
- const T = t.tableHeaders[f];
3581
+ return Object.keys(t.tableHeaders).forEach((d) => {
3582
+ const R = t.tableHeaders[d];
3574
3583
  h.push({
3575
- label: T.label ?? f,
3576
- key: f,
3577
- sortable: T.sortable ?? !1
3584
+ label: R.label ?? d,
3585
+ key: d,
3586
+ sortable: R.sortable ?? !1
3578
3587
  });
3579
3588
  }), t.enableEntityActions && h.push({
3580
3589
  key: "actions",
@@ -3585,48 +3594,48 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3585
3594
  "data-testid": h.name,
3586
3595
  ...t.rowAttributes(h)
3587
3596
  }), B = j({}), C = (h) => {
3588
- var f;
3589
- return (f = B.value) == null ? void 0 : f.$el.querySelector(`[data-rowid="${h.id}"]`);
3590
- }, v = (h) => {
3591
- const f = {
3597
+ var d;
3598
+ return (d = B.value) == null ? void 0 : d.$el.querySelector(`[data-rowid="${h.id}"]`);
3599
+ }, y = (h) => {
3600
+ const d = {
3592
3601
  "data-testid": h.headerKey,
3593
3602
  ...t.cellAttributes(h)
3594
3603
  };
3595
- return h.colIndex === 0 && (f.style = {
3604
+ return h.colIndex === 0 && (d.style = {
3596
3605
  maxWidth: "250px",
3597
3606
  overflowX: "hidden",
3598
3607
  textOverflow: "ellipsis"
3599
- }), f;
3608
+ }), d;
3600
3609
  }, c = () => {
3601
3610
  i("empty-state-cta-clicked"), Q();
3602
3611
  }, Q = () => {
3603
3612
  i("clear-search-input");
3604
- }, k = U(() => t.disableRowClick ? void 0 : (h, f) => {
3605
- i("click:row", f);
3606
- }), w = (h) => {
3613
+ }, T = S(() => t.disableRowClick ? void 0 : (h, d) => {
3614
+ i("click:row", d);
3615
+ }), k = (h) => {
3607
3616
  i("sort", h);
3608
- }, { setTablePreferences: q, getTablePreferences: x } = ua(), eA = U(() => {
3609
- const h = x(t.preferencesStorageKey);
3617
+ }, { setTablePreferences: D, getTablePreferences: U } = ua(), $ = S(() => {
3618
+ const h = U(t.preferencesStorageKey);
3610
3619
  return {
3611
3620
  ...t.initialFetcherParams,
3612
3621
  ...h
3613
3622
  };
3614
- }), y = (h) => {
3615
- t.preferencesStorageKey && q(t.preferencesStorageKey, h);
3623
+ }), v = (h) => {
3624
+ t.preferencesStorageKey && D(t.preferencesStorageKey, h);
3616
3625
  };
3617
- return (h, f) => {
3618
- const T = K("KIcon"), N = K("KButton"), S = K("KDropdown"), W = K("KTable"), R = K("KCard");
3619
- return u(), Y(R, {
3626
+ return (h, d) => {
3627
+ const R = K("KIcon"), L = K("KButton"), w = K("KDropdown"), W = K("KTable"), F = K("KCard");
3628
+ return u(), Y(F, {
3620
3629
  class: "kong-ui-entity-base-table",
3621
3630
  title: A.title,
3622
3631
  "title-tag": A.titleTag
3623
3632
  }, {
3624
3633
  default: m(() => [
3625
- p(W, {
3634
+ f(W, {
3626
3635
  ref_key: "tableRefs",
3627
3636
  ref: B,
3628
3637
  "cache-identifier": l.value,
3629
- "cell-attrs": v,
3638
+ "cell-attrs": y,
3630
3639
  "disable-pagination-page-jump": A.disablePaginationPageJump,
3631
3640
  "disable-sorting": A.disableSorting,
3632
3641
  "empty-state-action-message": A.query ? g(a)("baseTable.emptyState.noSearchResultsCtaText") : A.emptyStateOptions.ctaText,
@@ -3642,50 +3651,50 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3642
3651
  "has-error": o.value.hasError,
3643
3652
  headers: I.value,
3644
3653
  "hide-pagination-when-optional": "",
3645
- "initial-fetcher-params": eA.value,
3654
+ "initial-fetcher-params": $.value,
3646
3655
  "is-loading": A.isLoading,
3647
3656
  "pagination-type": A.paginationType,
3648
3657
  "row-attrs": r,
3649
3658
  "search-input": A.query,
3650
3659
  onKtableEmptyStateCtaClicked: c,
3651
- "onRow:click": k.value,
3652
- onSort: f[0] || (f[0] = (M) => w(M)),
3653
- "onUpdate:tablePreferences": y
3654
- }, LA({
3655
- toolbar: m(({ state: M }) => [
3656
- vA(F("div", yn, [
3657
- AA(h.$slots, "toolbar-filter", {}, void 0, !0),
3660
+ "onRow:click": T.value,
3661
+ onSort: d[0] || (d[0] = (N) => k(N)),
3662
+ "onUpdate:tablePreferences": v
3663
+ }, MA({
3664
+ toolbar: m(({ state: N }) => [
3665
+ vA(x("div", yn, [
3666
+ eA(h.$slots, "toolbar-filter", {}, void 0, !0),
3658
3667
  h.$slots["toolbar-button"] ? (u(), J("div", bn, [
3659
- AA(h.$slots, "toolbar-button", {}, void 0, !0)
3668
+ eA(h.$slots, "toolbar-button", {}, void 0, !0)
3660
3669
  ])) : z("", !0)
3661
3670
  ], 512), [
3662
- [yA, n(M)]
3671
+ [yA, n(N)]
3663
3672
  ])
3664
3673
  ]),
3665
- actions: m(({ row: M, rowKey: H, rowValue: G }) => [
3666
- F("div", {
3674
+ actions: m(({ row: N, rowKey: H, rowValue: G }) => [
3675
+ x("div", {
3667
3676
  class: "actions-container",
3668
- "data-testid": M.name
3677
+ "data-testid": N.name
3669
3678
  }, [
3670
- p(S, {
3679
+ f(w, {
3671
3680
  "kpop-attributes": { placement: "bottomEnd" },
3672
3681
  width: A.dropdownMenuWidth
3673
3682
  }, {
3674
3683
  items: m(() => [
3675
- AA(h.$slots, "actions", {
3676
- row: M,
3684
+ eA(h.$slots, "actions", {
3685
+ row: N,
3677
3686
  rowKey: H,
3678
3687
  rowValue: G
3679
3688
  }, void 0, !0)
3680
3689
  ]),
3681
3690
  default: m(() => [
3682
- p(N, {
3691
+ f(L, {
3683
3692
  class: "actions-trigger",
3684
3693
  "data-testid": "overflow-actions-button",
3685
3694
  size: "small"
3686
3695
  }, {
3687
3696
  icon: m(() => [
3688
- p(T, {
3697
+ f(R, {
3689
3698
  color: g(Ga),
3690
3699
  icon: "more",
3691
3700
  size: "16"
@@ -3700,15 +3709,16 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3700
3709
  ]),
3701
3710
  _: 2
3702
3711
  }, [
3703
- dA(A.tableHeaders, (M, H) => ({
3712
+ dA(A.tableHeaders, (N, H) => ({
3704
3713
  name: H,
3705
3714
  fn: m(({ row: G, rowKey: QA, rowValue: lA }) => [
3706
- p(vn, {
3715
+ f(vn, {
3707
3716
  "key-name": String(H),
3708
- "row-el": C(G)
3717
+ "row-el": C(G),
3718
+ tooltip: N.tooltip
3709
3719
  }, {
3710
3720
  default: m(() => [
3711
- AA(h.$slots, H, {
3721
+ eA(h.$slots, H, {
3712
3722
  row: G,
3713
3723
  rowKey: QA,
3714
3724
  rowValue: lA
@@ -3717,13 +3727,13 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3717
3727
  ], !0)
3718
3728
  ]),
3719
3729
  _: 2
3720
- }, 1032, ["key-name", "row-el"])
3730
+ }, 1032, ["key-name", "row-el", "tooltip"])
3721
3731
  ])
3722
3732
  })),
3723
3733
  A.query ? void 0 : {
3724
3734
  name: "empty-state-action-icon",
3725
3735
  fn: m(() => [
3726
- p(g(Wl))
3736
+ f(g(Wl))
3727
3737
  ]),
3728
3738
  key: "0"
3729
3739
  }
@@ -3733,13 +3743,13 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3733
3743
  }, 8, ["title", "title-tag"]);
3734
3744
  };
3735
3745
  }
3736
- }), Sn = /* @__PURE__ */ pA(wn, [["__scopeId", "data-v-590c2d76"]]), Jn = {
3746
+ }), Sn = /* @__PURE__ */ pA(wn, [["__scopeId", "data-v-adb02213"]]), Jn = {
3737
3747
  key: 0,
3738
3748
  class: "kong-ui-entity-delete-error"
3739
3749
  }, Un = {
3740
3750
  key: 1,
3741
3751
  class: "description"
3742
- }, Vn = /* @__PURE__ */ $({
3752
+ }, Vn = /* @__PURE__ */ AA({
3743
3753
  __name: "EntityDeleteModal",
3744
3754
  props: {
3745
3755
  visible: {
@@ -3778,7 +3788,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3778
3788
  },
3779
3789
  emits: ["cancel", "proceed"],
3780
3790
  setup(A, { emit: e }) {
3781
- const { i18nT: t } = oA.useI18n(), i = A, a = e, o = U(() => i.needConfirm ? i.entityName : ""), l = () => {
3791
+ const { i18nT: t } = oA.useI18n(), i = A, a = e, o = S(() => i.needConfirm ? i.entityName : ""), l = () => {
3782
3792
  a("cancel");
3783
3793
  }, n = () => {
3784
3794
  a("proceed");
@@ -3798,18 +3808,18 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3798
3808
  }, {
3799
3809
  default: m(() => [
3800
3810
  A.error ? (u(), J("div", Jn, [
3801
- p(B, { appearance: "danger" }, {
3811
+ f(B, { appearance: "danger" }, {
3802
3812
  default: m(() => [
3803
3813
  Z(O(A.error), 1)
3804
3814
  ]),
3805
3815
  _: 1
3806
3816
  })
3807
3817
  ])) : z("", !0),
3808
- p(g(t), {
3818
+ f(g(t), {
3809
3819
  class: "message",
3810
3820
  keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
3811
3821
  tag: "p"
3812
- }, LA({
3822
+ }, MA({
3813
3823
  entityType: m(() => [
3814
3824
  Z(O(i.entityType), 1)
3815
3825
  ]),
@@ -3818,14 +3828,14 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3818
3828
  i.entityName ? {
3819
3829
  name: "entityName",
3820
3830
  fn: m(() => [
3821
- F("strong", null, O(i.entityName), 1)
3831
+ x("strong", null, O(i.entityName), 1)
3822
3832
  ]),
3823
3833
  key: "0"
3824
3834
  } : void 0
3825
3835
  ]), 1032, ["keypath"]),
3826
3836
  i.description || I.$slots.description ? (u(), J("div", Un, [
3827
- AA(I.$slots, "description", {}, () => [
3828
- F("p", null, O(i.description), 1)
3837
+ eA(I.$slots, "description", {}, () => [
3838
+ x("p", null, O(i.description), 1)
3829
3839
  ], !0)
3830
3840
  ])) : z("", !0)
3831
3841
  ]),
@@ -3847,7 +3857,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3847
3857
  width: "20",
3848
3858
  x: "0",
3849
3859
  y: "0"
3850
- }, xn = ["fill"], Nn = { mask: "url(#mask0_180_20349)" }, Mn = ["fill"], At = /* @__PURE__ */ $({
3860
+ }, Nn = ["fill"], xn = { mask: "url(#mask0_180_20349)" }, Ln = ["fill"], At = /* @__PURE__ */ AA({
3851
3861
  __name: "IconFilter",
3852
3862
  props: {
3853
3863
  color: {
@@ -3857,25 +3867,25 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3857
3867
  },
3858
3868
  setup(A) {
3859
3869
  return (e, t) => (u(), J("svg", Rn, [
3860
- F("mask", Fn, [
3861
- F("rect", {
3870
+ x("mask", Fn, [
3871
+ x("rect", {
3862
3872
  fill: A.color,
3863
3873
  height: "20",
3864
3874
  width: "20"
3865
- }, null, 8, xn)
3875
+ }, null, 8, Nn)
3866
3876
  ]),
3867
- F("g", Nn, [
3868
- F("path", {
3877
+ x("g", xn, [
3878
+ x("path", {
3869
3879
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3870
3880
  fill: A.color
3871
- }, null, 8, Mn)
3881
+ }, null, 8, Ln)
3872
3882
  ])
3873
3883
  ]));
3874
3884
  }
3875
- }), Ln = {
3885
+ }), Mn = {
3876
3886
  key: 1,
3877
3887
  class: "kong-ui-entity-filter"
3878
- }, Kn = { class: "kong-ui-entity-filter-menu" }, jn = ["data-testid"], On = ["onClick", "onKeydown"], Dn = { class: "menu-item-indicator" }, qn = { class: "menu-item-body" }, Yn = ["for"], Wn = { class: "menu-item-buttons" }, Pn = { class: "filter-clear-button-container" }, zn = /* @__PURE__ */ $({
3888
+ }, Kn = { class: "kong-ui-entity-filter-menu" }, jn = ["data-testid"], On = ["onClick", "onKeydown"], Dn = { class: "menu-item-indicator" }, qn = { class: "menu-item-body" }, Yn = ["for"], Wn = { class: "menu-item-buttons" }, Pn = { class: "filter-clear-button-container" }, zn = /* @__PURE__ */ AA({
3879
3889
  __name: "EntityFilter",
3880
3890
  props: {
3881
3891
  // filter config, either exact match or fuzzy match
@@ -3895,68 +3905,71 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3895
3905
  },
3896
3906
  emits: ["update:modelValue"],
3897
3907
  setup(A, { emit: e }) {
3898
- const { i18n: { t } } = oA.useI18n(), i = A, a = e, o = j(!1), l = j({}), n = j(/* @__PURE__ */ new Set()), I = U(() => {
3899
- const y = [];
3900
- return new URLSearchParams(i.modelValue).forEach((h, f) => {
3901
- h !== "" && y.push(f);
3902
- }), y;
3903
- }), r = U(() => {
3904
- const y = i.config.fields;
3905
- return Object.keys(y).filter((h) => y[h].searchable).map((h) => ({
3906
- label: y[h].label || h,
3908
+ const { i18n: { t } } = oA.useI18n(), i = A, a = e, o = j(!1), l = j({}), n = j(/* @__PURE__ */ new Set()), I = S(() => {
3909
+ const v = [];
3910
+ return new URLSearchParams(i.modelValue).forEach((h, d) => {
3911
+ h !== "" && v.push(d);
3912
+ }), v;
3913
+ }), r = S(() => {
3914
+ const v = i.config.fields;
3915
+ return Object.keys(v).filter((h) => {
3916
+ var d;
3917
+ return (d = v == null ? void 0 : v[h]) == null ? void 0 : d.searchable;
3918
+ }).map((h) => ({
3919
+ label: v[h].label || h,
3907
3920
  value: h,
3908
3921
  expanded: !1
3909
3922
  }));
3910
3923
  });
3911
- TA(() => i.modelValue, (y) => {
3912
- l.value = {}, new URLSearchParams(y).forEach((h, f) => {
3913
- l.value[f] = h;
3924
+ TA(() => i.modelValue, (v) => {
3925
+ l.value = {}, new URLSearchParams(v).forEach((h, d) => {
3926
+ l.value[d] = h;
3914
3927
  });
3915
3928
  });
3916
3929
  const B = () => {
3917
3930
  o.value = !o.value;
3918
- }, C = (y) => {
3919
- n.value.has(y) ? n.value.delete(y) : n.value.add(y);
3920
- }, v = (y) => {
3921
- a("update:modelValue", y);
3931
+ }, C = (v) => {
3932
+ n.value.has(v) ? n.value.delete(v) : n.value.add(v);
3933
+ }, y = (v) => {
3934
+ a("update:modelValue", v);
3922
3935
  }, c = () => {
3923
- v("");
3924
- }, Q = (y) => `filter-${y}`, k = (y) => {
3925
- var h, f;
3926
- return (((f = (h = i.config.schema) == null ? void 0 : h[y]) == null ? void 0 : f.values) ?? []).map((T) => ({
3927
- value: T,
3928
- label: T
3936
+ y("");
3937
+ }, Q = (v) => `filter-${v}`, T = (v) => {
3938
+ var h, d;
3939
+ return (((d = (h = i.config.schema) == null ? void 0 : h[v]) == null ? void 0 : d.values) ?? []).map((R) => ({
3940
+ value: R,
3941
+ label: R
3929
3942
  }));
3930
- }, w = (y) => {
3931
- var h, f;
3932
- return ((f = (h = i.config.schema) == null ? void 0 : h[y]) == null ? void 0 : f.type) ?? "text";
3933
- }, q = (y) => {
3943
+ }, k = (v) => {
3944
+ var h, d;
3945
+ return ((d = (h = i.config.schema) == null ? void 0 : h[v]) == null ? void 0 : d.type) ?? "text";
3946
+ }, D = (v) => {
3934
3947
  l.value = {
3935
3948
  ...l.value,
3936
- [y]: ""
3937
- }, eA();
3938
- }, x = () => {
3939
- l.value = {}, eA(!0);
3940
- }, eA = (y = !1) => {
3941
- const h = Object.keys(l.value).reduce((f, T) => (l.value[T] && (f[T] = `${l.value[T]}`), f), {});
3942
- y && (o.value = !1), a("update:modelValue", new URLSearchParams(h).toString());
3949
+ [v]: ""
3950
+ }, $();
3951
+ }, U = () => {
3952
+ l.value = {}, $(!0);
3953
+ }, $ = (v = !1) => {
3954
+ const h = Object.keys(l.value).reduce((d, R) => (l.value[R] && (d[R] = `${l.value[R]}`), d), {});
3955
+ v && (o.value = !1), a("update:modelValue", new URLSearchParams(h).toString());
3943
3956
  };
3944
- return (y, h) => {
3945
- const f = K("KInput"), T = K("KButton"), N = K("KSelect");
3946
- return A.config.isExactMatch ? (u(), Y(f, {
3957
+ return (v, h) => {
3958
+ const d = K("KInput"), R = K("KButton"), L = K("KSelect");
3959
+ return A.config.isExactMatch ? (u(), Y(d, {
3947
3960
  key: 0,
3948
3961
  autocomplete: "off",
3949
3962
  class: "kong-ui-entity-filter-input",
3950
3963
  "data-testid": "search-input",
3951
3964
  "model-value": A.modelValue,
3952
3965
  placeholder: A.config.placeholder,
3953
- "onUpdate:modelValue": v
3966
+ "onUpdate:modelValue": y
3954
3967
  }, {
3955
3968
  before: m(() => [
3956
- p(At)
3969
+ f(At)
3957
3970
  ]),
3958
3971
  after: m(() => [
3959
- vA(p(g(Cn), {
3972
+ vA(f(g(Cn), {
3960
3973
  class: "kong-ui-entity-filter-clear",
3961
3974
  onClick: c
3962
3975
  }, null, 512), [
@@ -3964,89 +3977,89 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
3964
3977
  ])
3965
3978
  ]),
3966
3979
  _: 1
3967
- }, 8, ["model-value", "placeholder"])) : (u(), J("div", Ln, [
3968
- p(T, {
3980
+ }, 8, ["model-value", "placeholder"])) : (u(), J("div", Mn, [
3981
+ f(R, {
3969
3982
  appearance: "tertiary",
3970
3983
  "data-testid": "filter-button",
3971
3984
  onClick: B
3972
3985
  }, {
3973
3986
  default: m(() => [
3974
- p(At),
3987
+ f(At),
3975
3988
  Z(" " + O(g(t)("filter.filterButtonText")) + " " + O(I.value.length > 0 ? `(${I.value.length})` : ""), 1)
3976
3989
  ]),
3977
3990
  _: 1
3978
3991
  }),
3979
- vA(F("div", {
3992
+ vA(x("div", {
3980
3993
  class: "kong-ui-entity-filter-backdrop",
3981
3994
  onClick: B
3982
3995
  }, null, 512), [
3983
3996
  [yA, o.value]
3984
3997
  ]),
3985
- vA(F("div", Kn, [
3986
- (u(!0), J(fA, null, dA(r.value, (S) => {
3987
- var W, R;
3998
+ vA(x("div", Kn, [
3999
+ (u(!0), J(fA, null, dA(r.value, (w) => {
4000
+ var W, F;
3988
4001
  return u(), J("div", {
3989
- key: S.value,
4002
+ key: w.value,
3990
4003
  class: "kong-ui-entity-filter-menu-item",
3991
- "data-testid": S.value
4004
+ "data-testid": w.value
3992
4005
  }, [
3993
- F("span", {
3994
- class: kA(["menu-item-title", { expanded: n.value.has(S.value) }]),
4006
+ x("span", {
4007
+ class: kA(["menu-item-title", { expanded: n.value.has(w.value) }]),
3995
4008
  role: "button",
3996
4009
  tabindex: "0",
3997
- onClick: (M) => C(S.value),
3998
- onKeydown: ia((M) => C(S.value), ["enter"])
4010
+ onClick: (N) => C(w.value),
4011
+ onKeydown: ia((N) => C(w.value), ["enter"])
3999
4012
  }, [
4000
- Z(O(S.label) + " ", 1),
4001
- vA(F("span", Dn, null, 512), [
4002
- [yA, I.value.includes(S.value)]
4013
+ Z(O(w.label) + " ", 1),
4014
+ vA(x("span", Dn, null, 512), [
4015
+ [yA, I.value.includes(w.value)]
4003
4016
  ]),
4004
- p(g(an), {
4005
- class: kA(["menu-item-expand-icon", { expanded: n.value.has(S.value) }]),
4017
+ f(g(an), {
4018
+ class: kA(["menu-item-expand-icon", { expanded: n.value.has(w.value) }]),
4006
4019
  color: g(Za)
4007
4020
  }, null, 8, ["class", "color"])
4008
4021
  ], 42, On),
4009
- vA(F("div", qn, [
4010
- F("label", {
4022
+ vA(x("div", qn, [
4023
+ x("label", {
4011
4024
  class: "menu-item-label",
4012
- for: Q(S.value)
4025
+ for: Q(w.value)
4013
4026
  }, O(g(t)("filter.fieldLabel")), 9, Yn),
4014
- ((R = (W = A.config.schema) == null ? void 0 : W[S.value]) == null ? void 0 : R.type) === "select" ? (u(), Y(N, {
4027
+ ((F = (W = A.config.schema) == null ? void 0 : W[w.value]) == null ? void 0 : F.type) === "select" ? (u(), Y(L, {
4015
4028
  key: 0,
4016
- id: Q(S.value),
4017
- modelValue: l.value[S.value],
4018
- "onUpdate:modelValue": (M) => l.value[S.value] = M,
4019
- items: k(S.value),
4029
+ id: Q(w.value),
4030
+ modelValue: l.value[w.value],
4031
+ "onUpdate:modelValue": (N) => l.value[w.value] = N,
4032
+ items: T(w.value),
4020
4033
  placeholder: g(t)("filter.selectPlaceholder")
4021
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (u(), Y(f, {
4034
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (u(), Y(d, {
4022
4035
  key: 1,
4023
- id: Q(S.value),
4024
- modelValue: l.value[S.value],
4025
- "onUpdate:modelValue": (M) => l.value[S.value] = M,
4036
+ id: Q(w.value),
4037
+ modelValue: l.value[w.value],
4038
+ "onUpdate:modelValue": (N) => l.value[w.value] = N,
4026
4039
  autocomplete: "off",
4027
4040
  placeholder: g(t)("filter.inputPlaceholder"),
4028
- type: w(S.value)
4041
+ type: k(w.value)
4029
4042
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
4030
4043
  ], 512), [
4031
- [yA, n.value.has(S.value)]
4044
+ [yA, n.value.has(w.value)]
4032
4045
  ]),
4033
- vA(F("div", Wn, [
4034
- p(T, {
4046
+ vA(x("div", Wn, [
4047
+ f(R, {
4035
4048
  appearance: "tertiary",
4036
4049
  "data-testid": "apply-filter",
4037
4050
  size: "small",
4038
- onClick: h[0] || (h[0] = (M) => eA(!0))
4051
+ onClick: h[0] || (h[0] = (N) => $(!0))
4039
4052
  }, {
4040
4053
  default: m(() => [
4041
4054
  Z(O(g(t)("filter.applyButtonText")), 1)
4042
4055
  ]),
4043
4056
  _: 1
4044
4057
  }),
4045
- p(T, {
4058
+ f(R, {
4046
4059
  appearance: "tertiary",
4047
4060
  "data-testid": "clear-filter",
4048
4061
  size: "small",
4049
- onClick: (M) => q(S.value)
4062
+ onClick: (N) => D(w.value)
4050
4063
  }, {
4051
4064
  default: m(() => [
4052
4065
  Z(O(g(t)("filter.clearButtonText")), 1)
@@ -4054,15 +4067,15 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
4054
4067
  _: 2
4055
4068
  }, 1032, ["onClick"])
4056
4069
  ], 512), [
4057
- [yA, n.value.has(S.value)]
4070
+ [yA, n.value.has(w.value)]
4058
4071
  ])
4059
4072
  ], 8, jn);
4060
4073
  }), 128)),
4061
- F("div", Pn, [
4062
- p(T, {
4074
+ x("div", Pn, [
4075
+ f(R, {
4063
4076
  appearance: "tertiary",
4064
4077
  size: "small",
4065
- onClick: x
4078
+ onClick: U
4066
4079
  }, {
4067
4080
  default: m(() => [
4068
4081
  Z(O(g(t)("filter.clearAllButtonText")), 1)
@@ -4076,7 +4089,7 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
4076
4089
  ]));
4077
4090
  };
4078
4091
  }
4079
- }), Hn = /* @__PURE__ */ pA(zn, [["__scopeId", "data-v-8cfadde3"]]), HA = /* @__PURE__ */ $({
4092
+ }), Hn = /* @__PURE__ */ pA(zn, [["__scopeId", "data-v-9a370e3a"]]), HA = /* @__PURE__ */ AA({
4080
4093
  __name: "PermissionsWrapper",
4081
4094
  props: {
4082
4095
  /**
@@ -4098,10 +4111,10 @@ const Fl = { class: "yaml-config" }, ea = /* @__PURE__ */ $({
4098
4111
  }
4099
4112
  },
4100
4113
  setup(A) {
4101
- const e = A, t = j(void 0), i = U(() => t.value === !0 || t.value !== void 0 && e.forceShow === !0);
4114
+ const e = A, t = j(void 0), i = S(() => t.value === !0 || t.value !== void 0 && e.forceShow === !0);
4102
4115
  return TA(() => e.authFunction, async () => {
4103
4116
  t.value = await e.authFunction();
4104
- }, { immediate: !0 }), (a, o) => i.value ? AA(a.$slots, "default", {
4117
+ }, { immediate: !0 }), (a, o) => i.value ? eA(a.$slots, "default", {
4105
4118
  key: 0,
4106
4119
  isAllowed: t.value
4107
4120
  }) : z("", !0);
@@ -4142,7 +4155,7 @@ const Ag = ["aria-labelledby"], eg = { class: "form-section-wrapper" }, tg = {
4142
4155
  }, ag = {
4143
4156
  key: 2,
4144
4157
  class: "form-section-footer"
4145
- }, ig = { class: "form-section-content" }, og = /* @__PURE__ */ $({
4158
+ }, ig = { class: "form-section-content" }, og = /* @__PURE__ */ AA({
4146
4159
  __name: "EntityFormSection",
4147
4160
  props: {
4148
4161
  title: {
@@ -4177,7 +4190,7 @@ const Ag = ["aria-labelledby"], eg = { class: "form-section-wrapper" }, tg = {
4177
4190
  class: kA(["kong-ui-entity-form-section", { "has-divider": A.hasDivider }]),
4178
4191
  role: "group"
4179
4192
  }, [
4180
- F("div", eg, [
4193
+ x("div", eg, [
4181
4194
  A.hideInfoHeader ? z("", !0) : (u(), J("div", {
4182
4195
  key: 0,
4183
4196
  class: kA(["form-section-info", { sticky: A.stickyInfoHeader }])
@@ -4193,21 +4206,21 @@ const Ag = ["aria-labelledby"], eg = { class: "form-section-wrapper" }, tg = {
4193
4206
  _: 1
4194
4207
  }, 8, ["id"])) : z("", !0),
4195
4208
  A.description || g(e).description ? (u(), J("div", tg, [
4196
- AA(i.$slots, "description", {}, () => [
4197
- F("p", null, O(A.description), 1)
4209
+ eA(i.$slots, "description", {}, () => [
4210
+ x("p", null, O(A.description), 1)
4198
4211
  ], !0)
4199
4212
  ])) : z("", !0),
4200
4213
  g(e).footer ? (u(), J("div", ag, [
4201
- AA(i.$slots, "footer", {}, void 0, !0)
4214
+ eA(i.$slots, "footer", {}, void 0, !0)
4202
4215
  ])) : z("", !0)
4203
4216
  ], 2)),
4204
- F("div", ig, [
4205
- AA(i.$slots, "default", {}, void 0, !0)
4217
+ x("div", ig, [
4218
+ eA(i.$slots, "default", {}, void 0, !0)
4206
4219
  ])
4207
4220
  ])
4208
4221
  ], 10, Ag));
4209
4222
  }
4210
- }), tt = /* @__PURE__ */ pA(og, [["__scopeId", "data-v-76e52dbd"]]), { useAxios: ta, useDeleteUrlBuilder: lg, useErrors: ng, useExternalLinkCreator: Xg, useFetchUrlBuilder: _g, useFetcher: gg, useDebouncedFilter: $g, useStringHelpers: Ar, useHelpers: er, useGatewayFeatureSupported: rg, useTruncationDetector: tr, useValidators: ar } = oA, Cg = {
4223
+ }), tt = /* @__PURE__ */ pA(og, [["__scopeId", "data-v-b1f74200"]]), { useAxios: ta, useDeleteUrlBuilder: lg, useErrors: ng, useExternalLinkCreator: Xg, useFetchUrlBuilder: _g, useFetcher: gg, useDebouncedFilter: $g, useStringHelpers: Ar, useHelpers: er, useGatewayFeatureSupported: rg, useTruncationDetector: tr, useValidators: ar } = oA, Cg = {
4211
4224
  create: "New Vault",
4212
4225
  copy_id: "Copy ID",
4213
4226
  copy_json: "Copy JSON",
@@ -4507,7 +4520,7 @@ const Ve = {
4507
4520
  edit: `${Ee}/vaults/{id}`
4508
4521
  }
4509
4522
  }
4510
- }, pg = { class: "kong-ui-entities-vaults-list" }, fg = { class: "table-content-overflow-wrapper" }, mg = { class: "table-content-overflow-wrapper" }, hg = { key: 1 }, vg = /* @__PURE__ */ $({
4523
+ }, pg = { class: "kong-ui-entities-vaults-list" }, fg = { class: "table-content-overflow-wrapper" }, mg = { class: "table-content-overflow-wrapper" }, hg = { key: 1 }, vg = /* @__PURE__ */ AA({
4511
4524
  __name: "VaultList",
4512
4525
  props: {
4513
4526
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4554,95 +4567,95 @@ const Ve = {
4554
4567
  emits: ["error", "copy:success", "copy:error", "delete:success"],
4555
4568
  setup(A, { emit: e }) {
4556
4569
  var WA;
4557
- const t = e, i = A, { i18n: { t: a } } = Ve.useI18n(), o = ve(), { axiosInstance: l } = ta((WA = i.config) == null ? void 0 : WA.axiosRequestConfig), n = U(() => i.config.app !== "kongManager" || !!i.config.disableSorting), I = {
4570
+ const t = e, i = A, { i18n: { t: a } } = Ve.useI18n(), o = ve(), { axiosInstance: l } = ta((WA = i.config) == null ? void 0 : WA.axiosRequestConfig), n = S(() => i.config.app !== "kongManager" || !!i.config.disableSorting), I = {
4558
4571
  prefix: { label: a("vaults.list.table_headers.prefix"), searchable: !0, sortable: !0 },
4559
4572
  // it's "Vault Type" on display, but we still use "name" to fit API schema
4560
4573
  name: { label: a("vaults.list.table_headers.name"), searchable: !0, sortable: !0 },
4561
4574
  description: { label: a("vaults.list.table_headers.description"), sortable: !1 },
4562
4575
  tags: { label: a("vaults.list.table_headers.tags"), sortable: !1 }
4563
- }, r = I, B = U(() => {
4564
- var d, s;
4565
- let D = `${i.config.apiBaseUrl}${te.list[i.config.app]}`;
4566
- return i.config.app === "konnect" ? D = D.replace(/{controlPlaneId}/gi, ((d = i.config) == null ? void 0 : d.controlPlaneId) || "") : i.config.app === "kongManager" && (D = D.replace(/\/{workspace}/gi, (s = i.config) != null && s.workspace ? `/${i.config.workspace}` : "")), D;
4567
- }), C = j(""), v = U(() => {
4576
+ }, r = I, B = S(() => {
4577
+ var p, s;
4578
+ let q = `${i.config.apiBaseUrl}${te.list[i.config.app]}`;
4579
+ return i.config.app === "konnect" ? q = q.replace(/{controlPlaneId}/gi, ((p = i.config) == null ? void 0 : p.controlPlaneId) || "") : i.config.app === "kongManager" && (q = q.replace(/\/{workspace}/gi, (s = i.config) != null && s.workspace ? `/${i.config.workspace}` : "")), q;
4580
+ }), C = j(""), y = S(() => {
4568
4581
  if (i.config.app === "konnect" || i.config.isExactMatch)
4569
4582
  return {
4570
4583
  isExactMatch: !0,
4571
4584
  placeholder: a("search.placeholder.konnect")
4572
4585
  };
4573
- const { prefix: d, name: s } = I;
4586
+ const { prefix: p, name: s } = I;
4574
4587
  return {
4575
4588
  isExactMatch: !1,
4576
- fields: { name: s, prefix: d },
4589
+ fields: { name: s, prefix: p },
4577
4590
  schema: i.config.filterSchema
4578
4591
  };
4579
- }), c = j(1), { fetcher: Q, fetcherState: k } = gg(i.config, B.value), w = () => {
4592
+ }), c = j(1), { fetcher: Q, fetcherState: T } = gg(i.config, B.value), k = () => {
4580
4593
  C.value = "";
4581
- }, q = () => {
4594
+ }, D = () => {
4582
4595
  c.value++;
4583
- }, x = j(null), eA = (D, d) => {
4584
- const s = D.id;
4585
- if (!d(s)) {
4596
+ }, U = j(null), $ = (q, p) => {
4597
+ const s = q.id;
4598
+ if (!p(s)) {
4586
4599
  t("copy:error", {
4587
- entity: D,
4600
+ entity: q,
4588
4601
  field: "id",
4589
4602
  message: a("errors.copy")
4590
4603
  });
4591
4604
  return;
4592
4605
  }
4593
4606
  t("copy:success", {
4594
- entity: D,
4607
+ entity: q,
4595
4608
  field: "id",
4596
4609
  message: a("copy.success", { val: s })
4597
4610
  });
4598
- }, y = (D, d) => {
4599
- const s = JSON.stringify(D);
4600
- if (!d(s)) {
4611
+ }, v = (q, p) => {
4612
+ const s = JSON.stringify(q);
4613
+ if (!p(s)) {
4601
4614
  t("copy:error", {
4602
- entity: D,
4615
+ entity: q,
4603
4616
  message: a("errors.copy")
4604
4617
  });
4605
4618
  return;
4606
4619
  }
4607
4620
  t("copy:success", {
4608
- entity: D,
4621
+ entity: q,
4609
4622
  message: a("copy.success_brief")
4610
4623
  });
4611
- }, h = async (D) => {
4624
+ }, h = async (q) => {
4612
4625
  var s;
4613
- await ((s = i.canRetrieve) == null ? void 0 : s.call(i, D)) && o.push(i.config.getViewRoute(D.id));
4614
- }, f = (D) => ({
4626
+ await ((s = i.canRetrieve) == null ? void 0 : s.call(i, q)) && o.push(i.config.getViewRoute(q.id));
4627
+ }, d = (q) => ({
4615
4628
  label: a("actions.view"),
4616
- to: i.config.getViewRoute(D)
4617
- }), T = (D) => ({
4629
+ to: i.config.getViewRoute(q)
4630
+ }), R = (q) => ({
4618
4631
  label: a("actions.edit"),
4619
- to: i.config.getEditRoute(D)
4620
- }), N = j(void 0), S = j(!1), W = j(!1), R = j(""), M = lg(i.config, B.value), H = (D) => {
4621
- N.value = D, S.value = !0;
4632
+ to: i.config.getEditRoute(q)
4633
+ }), L = j(void 0), w = j(!1), W = j(!1), F = j(""), N = lg(i.config, B.value), H = (q) => {
4634
+ L.value = q, w.value = !0;
4622
4635
  }, G = () => {
4623
- S.value = !1;
4636
+ w.value = !1;
4624
4637
  }, QA = async () => {
4625
- var D, d, s;
4626
- if ((D = N.value) != null && D.id) {
4638
+ var q, p, s;
4639
+ if ((q = L.value) != null && q.id) {
4627
4640
  W.value = !0;
4628
4641
  try {
4629
- await l.delete(M(N.value.id)), W.value = !1, S.value = !1, c.value++, t("delete:success", N.value);
4630
- } catch (L) {
4631
- R.value = ((s = (d = L.response) == null ? void 0 : d.data) == null ? void 0 : s.message) || L.message || a("errors.delete"), t("error", L);
4642
+ await l.delete(N(L.value.id)), W.value = !1, w.value = !1, c.value++, t("delete:success", L.value);
4643
+ } catch (M) {
4644
+ F.value = ((s = (p = M.response) == null ? void 0 : p.data) == null ? void 0 : s.message) || M.message || a("errors.delete"), t("error", M);
4632
4645
  } finally {
4633
4646
  W.value = !1;
4634
4647
  }
4635
4648
  }
4636
4649
  }, lA = j(!0);
4637
- TA(k, (D) => {
4638
- var d, s, L, uA;
4639
- if (Array.isArray((d = D == null ? void 0 : D.response) == null ? void 0 : d.data) && (lA.value = D.response.data.length > 0), D.status === UA.Error) {
4640
- x.value = {
4650
+ TA(T, (q) => {
4651
+ var p, s, M, uA;
4652
+ if (Array.isArray((p = q == null ? void 0 : q.response) == null ? void 0 : p.data) && (lA.value = q.response.data.length > 0), q.status === UA.Error) {
4653
+ U.value = {
4641
4654
  title: a("errors.general")
4642
- }, (uA = (L = (s = D.error) == null ? void 0 : s.response) == null ? void 0 : L.data) != null && uA.message && (x.value.message = D.error.response.data.message), t("error", D.error);
4655
+ }, (uA = (M = (s = q.error) == null ? void 0 : s.response) == null ? void 0 : M.data) != null && uA.message && (U.value.message = q.error.response.data.message), t("error", q.error);
4643
4656
  return;
4644
4657
  }
4645
- x.value = null;
4658
+ U.value = null;
4646
4659
  });
4647
4660
  const nA = j({
4648
4661
  ctaPath: i.config.createRoute,
@@ -4652,16 +4665,16 @@ const Ve = {
4652
4665
  });
4653
4666
  return me(async () => {
4654
4667
  await i.canCreate() && (nA.value.title = a("vaults.list.empty_state.title"), nA.value.ctaText = a("actions.create"));
4655
- }), (D, d) => {
4656
- const s = K("KButton"), L = K("KBadge"), uA = K("KTruncate"), cA = K("KDropdownItem"), sA = K("KClipboardProvider");
4668
+ }), (q, p) => {
4669
+ const s = K("KButton"), M = K("KBadge"), uA = K("KTruncate"), cA = K("KDropdownItem"), sA = K("KClipboardProvider");
4657
4670
  return u(), J("div", pg, [
4658
- p(g(Sn), {
4671
+ f(g(Sn), {
4659
4672
  "cache-identifier": A.cacheIdentifier,
4660
4673
  "disable-pagination-page-jump": "",
4661
4674
  "disable-sorting": n.value,
4662
4675
  "empty-state-options": nA.value,
4663
4676
  "enable-entity-actions": "",
4664
- "error-message": x.value,
4677
+ "error-message": U.value,
4665
4678
  fetcher: g(Q),
4666
4679
  "fetcher-cache-key": c.value,
4667
4680
  "pagination-type": "offset",
@@ -4669,15 +4682,15 @@ const Ve = {
4669
4682
  query: C.value,
4670
4683
  "table-headers": g(r),
4671
4684
  "use-action-outside": A.useActionOutside,
4672
- onClearSearchInput: w,
4673
- "onClick:row": d[2] || (d[2] = (P) => h(P)),
4674
- onSort: q
4685
+ onClearSearchInput: k,
4686
+ "onClick:row": p[2] || (p[2] = (P) => h(P)),
4687
+ onSort: D
4675
4688
  }, {
4676
4689
  "toolbar-filter": m(() => [
4677
- p(g(Hn), {
4690
+ f(g(Hn), {
4678
4691
  modelValue: C.value,
4679
- "onUpdate:modelValue": d[0] || (d[0] = (P) => C.value = P),
4680
- config: v.value
4692
+ "onUpdate:modelValue": p[0] || (p[0] = (P) => C.value = P),
4693
+ config: y.value
4681
4694
  }, null, 8, ["modelValue", "config"])
4682
4695
  ]),
4683
4696
  "toolbar-button": m(() => [
@@ -4685,11 +4698,11 @@ const Ve = {
4685
4698
  to: A.useActionOutside ? "#kong-ui-app-page-header-action-button" : void 0
4686
4699
  }, {
4687
4700
  default: m(() => [
4688
- p(g(HA), {
4701
+ f(g(HA), {
4689
4702
  "auth-function": () => A.canCreate()
4690
4703
  }, {
4691
4704
  default: m(() => [
4692
- vA(p(s, {
4705
+ vA(f(s, {
4693
4706
  appearance: "primary",
4694
4707
  "data-testid": "toolbar-add-vault",
4695
4708
  icon: "plus",
@@ -4711,22 +4724,22 @@ const Ve = {
4711
4724
  }, 8, ["to"]))
4712
4725
  ]),
4713
4726
  prefix: m(({ rowValue: P }) => [
4714
- F("div", fg, [
4715
- F("b", null, O(P ?? "-"), 1)
4727
+ x("div", fg, [
4728
+ x("b", null, O(P ?? "-"), 1)
4716
4729
  ])
4717
4730
  ]),
4718
4731
  name: m(({ rowValue: P }) => [
4719
- F("b", null, O(P ?? "-"), 1)
4732
+ x("b", null, O(P ?? "-"), 1)
4720
4733
  ]),
4721
4734
  description: m(({ rowValue: P }) => [
4722
- F("div", mg, O(P ?? "-"), 1)
4735
+ x("div", mg, O(P ?? "-"), 1)
4723
4736
  ]),
4724
4737
  tags: m(({ rowValue: P }) => [
4725
4738
  (P == null ? void 0 : P.length) > 0 ? (u(), Y(uA, { key: 0 }, {
4726
4739
  default: m(() => [
4727
- (u(!0), J(fA, null, dA(P, (X) => (u(), Y(L, {
4740
+ (u(!0), J(fA, null, dA(P, (X) => (u(), Y(M, {
4728
4741
  key: X,
4729
- onClick: d[1] || (d[1] = Be(() => {
4742
+ onClick: p[1] || (p[1] = Be(() => {
4730
4743
  }, ["stop"]))
4731
4744
  }, {
4732
4745
  default: m(() => [
@@ -4739,11 +4752,11 @@ const Ve = {
4739
4752
  }, 1024)) : (u(), J("span", hg, "-"))
4740
4753
  ]),
4741
4754
  actions: m(({ row: P }) => [
4742
- p(sA, null, {
4755
+ f(sA, null, {
4743
4756
  default: m(({ copyToClipboard: X }) => [
4744
- p(cA, {
4757
+ f(cA, {
4745
4758
  "data-testid": "action-entity-copy-id",
4746
- onClick: (RA) => eA(P, X)
4759
+ onClick: (RA) => $(P, X)
4747
4760
  }, {
4748
4761
  default: m(() => [
4749
4762
  Z(O(g(a)("actions.copy_id")), 1)
@@ -4753,11 +4766,11 @@ const Ve = {
4753
4766
  ]),
4754
4767
  _: 2
4755
4768
  }, 1024),
4756
- p(sA, null, {
4769
+ f(sA, null, {
4757
4770
  default: m(({ copyToClipboard: X }) => [
4758
- p(cA, {
4771
+ f(cA, {
4759
4772
  "data-testid": "action-entity-copy-json",
4760
- onClick: (RA) => y(P, X)
4773
+ onClick: (RA) => v(P, X)
4761
4774
  }, {
4762
4775
  default: m(() => [
4763
4776
  Z(O(g(a)("actions.copy_json")), 1)
@@ -4767,34 +4780,34 @@ const Ve = {
4767
4780
  ]),
4768
4781
  _: 2
4769
4782
  }, 1024),
4770
- p(g(HA), {
4783
+ f(g(HA), {
4771
4784
  "auth-function": () => A.canRetrieve(P)
4772
4785
  }, {
4773
4786
  default: m(() => [
4774
- p(cA, {
4787
+ f(cA, {
4775
4788
  "data-testid": "action-entity-view",
4776
4789
  "has-divider": "",
4777
- item: f(P.id)
4790
+ item: d(P.id)
4778
4791
  }, null, 8, ["item"])
4779
4792
  ]),
4780
4793
  _: 2
4781
4794
  }, 1032, ["auth-function"]),
4782
- p(g(HA), {
4795
+ f(g(HA), {
4783
4796
  "auth-function": () => A.canEdit(P)
4784
4797
  }, {
4785
4798
  default: m(() => [
4786
- p(cA, {
4799
+ f(cA, {
4787
4800
  "data-testid": "action-entity-edit",
4788
- item: T(P.id)
4801
+ item: R(P.id)
4789
4802
  }, null, 8, ["item"])
4790
4803
  ]),
4791
4804
  _: 2
4792
4805
  }, 1032, ["auth-function"]),
4793
- p(g(HA), {
4806
+ f(g(HA), {
4794
4807
  "auth-function": () => A.canDelete(P)
4795
4808
  }, {
4796
4809
  default: m(() => [
4797
- p(cA, {
4810
+ f(cA, {
4798
4811
  danger: "",
4799
4812
  "data-testid": "action-entity-delete",
4800
4813
  "has-divider": "",
@@ -4811,14 +4824,14 @@ const Ve = {
4811
4824
  ]),
4812
4825
  _: 1
4813
4826
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
4814
- p(g(Tn), {
4827
+ f(g(Tn), {
4815
4828
  "action-pending": W.value,
4816
4829
  description: g(a)("delete.description"),
4817
- "entity-name": N.value && (N.value.prefix || N.value.id),
4830
+ "entity-name": L.value && (L.value.prefix || L.value.id),
4818
4831
  "entity-type": g(lt).Vault,
4819
- error: R.value,
4832
+ error: F.value,
4820
4833
  title: g(a)("delete.title"),
4821
- visible: S.value,
4834
+ visible: w.value,
4822
4835
  onCancel: G,
4823
4836
  onProceed: QA
4824
4837
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
@@ -4835,7 +4848,7 @@ var E = /* @__PURE__ */ ((A) => (A.AWS = "aws", A.GCP = "gcp", A.HCV = "hcv", A.
4835
4848
  const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-provider-cards-container" }, Ug = ["src"], Vg = ["src"], Tg = ["src"], Rg = ["src"], Fg = {
4836
4849
  key: "kong-vault-config-fields",
4837
4850
  class: "vault-form-config-fields-container"
4838
- }, xg = { key: 0 }, Ng = { key: 1 }, Mg = { key: 2 }, Lg = { key: 5 }, Kg = { class: "wrapper" }, jg = { class: "item-50" }, Og = { class: "item-50" }, Dg = { class: "wrapper" }, qg = { class: "item-100" }, Yg = /* @__PURE__ */ $({
4851
+ }, Ng = { key: 0 }, xg = { key: 1 }, Lg = { key: 2 }, Mg = { key: 5 }, Kg = { class: "wrapper" }, jg = { class: "item-50" }, Og = { class: "item-50" }, Dg = { class: "wrapper" }, qg = { class: "item-100" }, Yg = /* @__PURE__ */ AA({
4839
4852
  __name: "VaultForm",
4840
4853
  props: {
4841
4854
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4853,8 +4866,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4853
4866
  },
4854
4867
  emits: ["update", "error", "loading"],
4855
4868
  setup(A, { emit: e }) {
4856
- var D;
4857
- const t = A, i = e, { i18nT: a, i18n: { t: o } } = Ve.useI18n(), l = ve(), { axiosInstance: n } = ta((D = t.config) == null ? void 0 : D.axiosRequestConfig), { getMessageFromError: I } = ng(), r = zA({
4869
+ var q;
4870
+ const t = A, i = e, { i18nT: a, i18n: { t: o } } = Ve.useI18n(), l = ve(), { axiosInstance: n } = ta((q = t.config) == null ? void 0 : q.axiosRequestConfig), { getMessageFromError: I } = ng(), r = zA({
4858
4871
  fields: {
4859
4872
  prefix: "",
4860
4873
  description: "",
@@ -4866,7 +4879,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4866
4879
  prefix: "",
4867
4880
  description: "",
4868
4881
  tags: ""
4869
- }), C = j(E.KONG), v = j(null), c = U(() => [E.AWS, E.GCP, E.HCV, E.AZURE].includes(C.value)), Q = zA({
4882
+ }), C = j(E.KONG), y = j(null), c = S(() => [E.AWS, E.GCP, E.HCV, E.AZURE].includes(C.value)), Q = zA({
4870
4883
  [E.KONG]: {
4871
4884
  prefix: ""
4872
4885
  },
@@ -4902,7 +4915,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4902
4915
  client_id: "",
4903
4916
  tenant_id: ""
4904
4917
  }
4905
- }), k = zA({
4918
+ }), T = zA({
4906
4919
  [E.KONG]: {
4907
4920
  prefix: ""
4908
4921
  },
@@ -4938,7 +4951,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4938
4951
  client_id: "",
4939
4952
  tenant_id: ""
4940
4953
  }
4941
- }), w = [
4954
+ }), k = [
4942
4955
  { label: `${o("form.config.aws.fields.region.locations.us-east-1.location")} (us-east-1)`, value: "us-east-1" },
4943
4956
  { label: `${o("form.config.aws.fields.region.locations.us-east-2.location")} (us-east-2)`, value: "us-east-2" },
4944
4957
  { label: `${o("form.config.aws.fields.region.locations.us-west-1.location")} (us-west-1)`, value: "us-west-1" },
@@ -4963,30 +4976,30 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4963
4976
  { label: `${o("form.config.aws.fields.region.locations.sa-east-1.location")} (sa-east-1)`, value: "sa-east-1" },
4964
4977
  { label: `${o("form.config.aws.fields.region.locations.us-gov-east-1.location")} (us-gov-east-1)`, value: "us-gov-east-1" },
4965
4978
  { label: `${o("form.config.aws.fields.region.locations.us-gov-west-1.location")} (us-gov-west-1)`, value: "us-gov-west-1" }
4966
- ], q = [{ label: "secrets", value: "secrets" }], x = [{ label: "http", value: "http" }, { label: "https", value: "https" }], eA = [{ label: "v1", value: "v1" }, { label: "v2", value: "v2" }], y = U(() => t.vaultId ? ZA.Edit : ZA.Create), h = U(() => {
4967
- var d, s;
4968
- return (s = te.form[(d = t.config) == null ? void 0 : d.app]) == null ? void 0 : s.edit;
4969
- }), f = U(() => y.value === ZA.Edit && t.config.app === "kongManager"), T = t.config.app === "konnect" || rg({
4979
+ ], D = [{ label: "secrets", value: "secrets" }], U = [{ label: "http", value: "http" }, { label: "https", value: "https" }], $ = [{ label: "v1", value: "v1" }, { label: "v2", value: "v2" }], v = S(() => t.vaultId ? ZA.Edit : ZA.Create), h = S(() => {
4980
+ var p, s;
4981
+ return (s = te.form[(p = t.config) == null ? void 0 : p.app]) == null ? void 0 : s.edit;
4982
+ }), d = S(() => v.value === ZA.Edit && t.config.app === "kongManager"), R = t.config.app === "konnect" || rg({
4970
4983
  gatewayInfo: t.config.gatewayInfo,
4971
4984
  // vault name can only be `env` in Gateway Community Edition
4972
4985
  supportedRange: {
4973
4986
  enterprise: []
4974
4987
  }
4975
- }), N = () => {
4976
- var d;
4977
- l.push(((d = t.config) == null ? void 0 : d.cancelRoute) || { name: "vault-list" });
4978
- }, S = (d) => {
4979
- i("loading", d);
4980
- }, W = (d) => {
4981
- i("error", d);
4982
- }, R = (d) => new URL((/* @__PURE__ */ Object.assign({ "../assets/images/provider-icons/aws.svg": yg, "../assets/images/provider-icons/azure.svg": bg, "../assets/images/provider-icons/gcp.svg": kg, "../assets/images/provider-icons/hcv.svg": wg }))[`../assets/images/provider-icons/${d}.svg`], import.meta.url).href, M = (d) => {
4988
+ }), L = () => {
4989
+ var p;
4990
+ l.push(((p = t.config) == null ? void 0 : p.cancelRoute) || { name: "vault-list" });
4991
+ }, w = (p) => {
4992
+ i("loading", p);
4993
+ }, W = (p) => {
4994
+ i("error", p);
4995
+ }, F = (p) => new URL((/* @__PURE__ */ Object.assign({ "../assets/images/provider-icons/aws.svg": yg, "../assets/images/provider-icons/azure.svg": bg, "../assets/images/provider-icons/gcp.svg": kg, "../assets/images/provider-icons/hcv.svg": wg }))[`../assets/images/provider-icons/${p}.svg`], import.meta.url).href, N = (p) => {
4983
4996
  var uA, cA, sA, P, X;
4984
- r.fields.prefix = ((uA = d == null ? void 0 : d.item) == null ? void 0 : uA.prefix) || (d == null ? void 0 : d.prefix) || "", r.fields.description = ((cA = d == null ? void 0 : d.item) == null ? void 0 : cA.description) || (d == null ? void 0 : d.description) || "";
4985
- const s = ((sA = d == null ? void 0 : d.item) == null ? void 0 : sA.tags) || (d == null ? void 0 : d.tags) || [];
4997
+ r.fields.prefix = ((uA = p == null ? void 0 : p.item) == null ? void 0 : uA.prefix) || (p == null ? void 0 : p.prefix) || "", r.fields.description = ((cA = p == null ? void 0 : p.item) == null ? void 0 : cA.description) || (p == null ? void 0 : p.description) || "";
4998
+ const s = ((sA = p == null ? void 0 : p.item) == null ? void 0 : sA.tags) || (p == null ? void 0 : p.tags) || [];
4986
4999
  r.fields.tags = (s == null ? void 0 : s.join(", ")) || "", Object.assign(B, r.fields);
4987
- const L = ((P = d == null ? void 0 : d.item) == null ? void 0 : P.config) || (d == null ? void 0 : d.config) || null;
4988
- L && Object.keys(L).length ? (C.value = ((X = d == null ? void 0 : d.item) == null ? void 0 : X.name) || (d == null ? void 0 : d.name) || "", v.value = C.value, Object.assign(Q[C.value], L), Object.assign(k[C.value], L)) : r.errorMessage = "Error loading vault config";
4989
- }, H = U(() => C.value === E.HCV ? !Object.keys(Q[E.HCV]).filter((d) => [
5000
+ const M = ((P = p == null ? void 0 : p.item) == null ? void 0 : P.config) || (p == null ? void 0 : p.config) || null;
5001
+ M && Object.keys(M).length ? (C.value = ((X = p == null ? void 0 : p.item) == null ? void 0 : X.name) || (p == null ? void 0 : p.name) || "", y.value = C.value, Object.assign(Q[C.value], M), Object.assign(T[C.value], M)) : r.errorMessage = "Error loading vault config";
5002
+ }, H = S(() => C.value === E.HCV ? !Object.keys(Q[E.HCV]).filter((p) => [
4990
5003
  "namespace",
4991
5004
  "ttl",
4992
5005
  "neg_ttl",
@@ -4995,13 +5008,13 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
4995
5008
  "approle_auth_path",
4996
5009
  "approle_secret_id",
4997
5010
  "approle_secret_id_file"
4998
- ].includes(d) || Q[E.HCV].auth_method !== aA.K8S && (d === "kube_role" || d === "kube_api_token_file") || Q[E.HCV].auth_method !== aA.TOKEN && d === "token" || Q[E.HCV].auth_method !== aA.APP_ROLE && (d === "approle_role_id" || d === "approle_response_wrapping") || Q[E.HCV].auth_method === aA.APP_ROLE && d === "approle_response_wrapping" && typeof Q[C.value][d] == "boolean" ? !1 : !Q[C.value][d]).length : C.value === E.AZURE ? !Object.keys(Q[E.AZURE]).filter((d) => ["client_id", "tenant_id", "ttl", "neg_ttl", "resurrect_ttl"].includes(d) ? !1 : !Q[C.value][d]).length : !Object.keys(Q[C.value]).filter((d) => ["ttl", "neg_ttl", "resurrect_ttl"].includes(d) ? !1 : !Q[C.value][d]).length), G = U(() => !!r.fields.prefix && H.value), QA = U(() => JSON.stringify(r.fields) !== JSON.stringify(B) || C.value !== v.value || JSON.stringify(Q[C.value]) !== JSON.stringify(k[C.value])), lA = U(() => {
4999
- var s, L;
5000
- let d = `${t.config.apiBaseUrl}${te.form[t.config.app][y.value]}`;
5001
- return t.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((s = t.config) == null ? void 0 : s.controlPlaneId) || "") : t.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (L = t.config) != null && L.workspace ? `/${t.config.workspace}` : "")), d = d.replace(/{id}/gi, t.vaultId), d;
5002
- }), nA = U(() => {
5011
+ ].includes(p) || Q[E.HCV].auth_method !== aA.K8S && (p === "kube_role" || p === "kube_api_token_file") || Q[E.HCV].auth_method !== aA.TOKEN && p === "token" || Q[E.HCV].auth_method !== aA.APP_ROLE && (p === "approle_role_id" || p === "approle_response_wrapping") || Q[E.HCV].auth_method === aA.APP_ROLE && p === "approle_response_wrapping" && typeof Q[C.value][p] == "boolean" ? !1 : !Q[C.value][p]).length : C.value === E.AZURE ? !Object.keys(Q[E.AZURE]).filter((p) => ["client_id", "tenant_id", "ttl", "neg_ttl", "resurrect_ttl"].includes(p) ? !1 : !Q[C.value][p]).length : !Object.keys(Q[C.value]).filter((p) => ["ttl", "neg_ttl", "resurrect_ttl"].includes(p) ? !1 : !Q[C.value][p]).length), G = S(() => !!r.fields.prefix && H.value), QA = S(() => JSON.stringify(r.fields) !== JSON.stringify(B) || C.value !== y.value || JSON.stringify(Q[C.value]) !== JSON.stringify(T[C.value])), lA = S(() => {
5012
+ var s, M;
5013
+ let p = `${t.config.apiBaseUrl}${te.form[t.config.app][v.value]}`;
5014
+ return t.config.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, ((s = t.config) == null ? void 0 : s.controlPlaneId) || "") : t.config.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, (M = t.config) != null && M.workspace ? `/${t.config.workspace}` : "")), p = p.replace(/{id}/gi, t.vaultId), p;
5015
+ }), nA = S(() => {
5003
5016
  var sA, P;
5004
- const d = {
5017
+ const p = {
5005
5018
  protocol: Q[E.HCV].protocol,
5006
5019
  host: Q[E.HCV].host,
5007
5020
  port: parseInt(Q[E.HCV].port.toString()),
@@ -5029,8 +5042,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5029
5042
  client_id: Q[C.value].client_id || null,
5030
5043
  tenant_id: Q[C.value].tenant_id || null
5031
5044
  };
5032
- let L = Q[C.value];
5033
- C.value === E.HCV ? L = d : C.value === E.AZURE && (L = s);
5045
+ let M = Q[C.value];
5046
+ C.value === E.HCV ? M = p : C.value === E.AZURE && (M = s);
5034
5047
  let uA = {};
5035
5048
  if (C.value !== E.KONG) {
5036
5049
  const X = Q[C.value], RA = X.ttl, PA = X.neg_ttl, b = X.resurrect_ttl;
@@ -5046,26 +5059,26 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5046
5059
  tags: (P = (sA = r.fields.tags.split(",")) == null ? void 0 : sA.map((X) => String(X || "").trim())) == null ? void 0 : P.filter((X) => X !== ""),
5047
5060
  name: C.value,
5048
5061
  config: {
5049
- ...L,
5062
+ ...M,
5050
5063
  ...uA
5051
5064
  }
5052
5065
  };
5053
5066
  }), WA = async () => {
5054
- var d;
5067
+ var p;
5055
5068
  try {
5056
5069
  r.isReadonly = !0;
5057
5070
  let s;
5058
- y.value === "create" ? s = await n.post(lA.value, nA.value) : y.value === "edit" && (s = ((d = t.config) == null ? void 0 : d.app) === "konnect" ? await n.put(lA.value, nA.value) : await n.patch(lA.value, nA.value)), M(s == null ? void 0 : s.data), i("update", s == null ? void 0 : s.data);
5071
+ v.value === "create" ? s = await n.post(lA.value, nA.value) : v.value === "edit" && (s = ((p = t.config) == null ? void 0 : p.app) === "konnect" ? await n.put(lA.value, nA.value) : await n.patch(lA.value, nA.value)), N(s == null ? void 0 : s.data), i("update", s == null ? void 0 : s.data);
5059
5072
  } catch (s) {
5060
5073
  r.errorMessage = I(s), i("error", s);
5061
5074
  } finally {
5062
5075
  r.isReadonly = !1;
5063
5076
  }
5064
5077
  };
5065
- return (d, s) => {
5066
- const L = K("KInput"), uA = K("KTextArea"), cA = K("KIcon"), sA = K("KRadio"), P = K("KTooltip"), X = K("KSelect"), RA = K("KCheckbox"), PA = K("KCollapse");
5078
+ return (p, s) => {
5079
+ const M = K("KInput"), uA = K("KTextArea"), cA = K("KIcon"), sA = K("KRadio"), P = K("KTooltip"), X = K("KSelect"), RA = K("KCheckbox"), PA = K("KCollapse");
5067
5080
  return u(), J("div", Sg, [
5068
- p(g(fn), {
5081
+ f(g(fn), {
5069
5082
  "can-submit": G.value && QA.value,
5070
5083
  config: A.config,
5071
5084
  "edit-id": A.vaultId,
@@ -5073,19 +5086,19 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5073
5086
  "fetch-url": h.value,
5074
5087
  "form-fields": nA.value,
5075
5088
  "is-readonly": r.isReadonly,
5076
- onCancel: N,
5089
+ onCancel: L,
5077
5090
  "onFetch:error": W,
5078
- "onFetch:success": M,
5079
- onLoading: S,
5091
+ "onFetch:success": N,
5092
+ onLoading: w,
5080
5093
  onSubmit: WA
5081
5094
  }, {
5082
5095
  default: m(() => [
5083
- p(g(tt), {
5096
+ f(g(tt), {
5084
5097
  description: g(o)("form.sections.general.description"),
5085
5098
  title: g(o)("form.sections.general.title")
5086
5099
  }, {
5087
5100
  default: m(() => [
5088
- p(L, {
5101
+ f(M, {
5089
5102
  modelValue: r.fields.prefix,
5090
5103
  "onUpdate:modelValue": s[0] || (s[0] = (b) => r.fields.prefix = b),
5091
5104
  modelModifiers: { trim: !0 },
@@ -5099,7 +5112,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5099
5112
  required: "",
5100
5113
  type: "text"
5101
5114
  }, null, 8, ["modelValue", "help", "is-readonly", "label", "label-attributes", "placeholder"]),
5102
- p(uA, {
5115
+ f(uA, {
5103
5116
  modelValue: r.fields.description,
5104
5117
  "onUpdate:modelValue": s[1] || (s[1] = (b) => r.fields.description = b),
5105
5118
  modelModifiers: { trim: !0 },
@@ -5110,7 +5123,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5110
5123
  placeholder: g(o)("form.fields.description.placeholder"),
5111
5124
  readonly: r.isReadonly
5112
5125
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
5113
- p(L, {
5126
+ f(M, {
5114
5127
  modelValue: r.fields.tags,
5115
5128
  "onUpdate:modelValue": s[2] || (s[2] = (b) => r.fields.tags = b),
5116
5129
  modelModifiers: { trim: !0 },
@@ -5125,49 +5138,49 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5125
5138
  ]),
5126
5139
  _: 1
5127
5140
  }, 8, ["description", "title"]),
5128
- p(g(tt), {
5141
+ f(g(tt), {
5129
5142
  description: g(o)("form.sections.config.description"),
5130
5143
  title: g(o)("form.sections.config.title")
5131
5144
  }, {
5132
5145
  default: m(() => [
5133
- F("div", Jg, [
5134
- p(sA, {
5146
+ x("div", Jg, [
5147
+ f(sA, {
5135
5148
  modelValue: C.value,
5136
5149
  "onUpdate:modelValue": s[3] || (s[3] = (b) => C.value = b),
5137
5150
  card: "",
5138
5151
  "data-testid": "vault-form-provider-kong",
5139
- disabled: f.value,
5152
+ disabled: d.value,
5140
5153
  label: g(o)("form.config.kong.label"),
5141
5154
  "selected-value": g(E).KONG
5142
5155
  }, {
5143
5156
  default: m(() => [
5144
- p(cA, {
5157
+ f(cA, {
5145
5158
  icon: "kong",
5146
5159
  size: "46"
5147
5160
  })
5148
5161
  ]),
5149
5162
  _: 1
5150
5163
  }, 8, ["modelValue", "disabled", "label", "selected-value"]),
5151
- p(P, {
5152
- disabled: g(T),
5164
+ f(P, {
5165
+ disabled: g(R),
5153
5166
  placement: "top",
5154
5167
  text: g(o)("form.unavailable")
5155
5168
  }, {
5156
5169
  default: m(() => [
5157
- p(sA, {
5170
+ f(sA, {
5158
5171
  modelValue: C.value,
5159
5172
  "onUpdate:modelValue": s[4] || (s[4] = (b) => C.value = b),
5160
5173
  card: "",
5161
5174
  "data-testid": "vault-form-provider-aws",
5162
- disabled: f.value || !g(T),
5175
+ disabled: d.value || !g(R),
5163
5176
  label: g(o)("form.config.aws.label"),
5164
5177
  "selected-value": g(E).AWS
5165
5178
  }, {
5166
5179
  default: m(() => [
5167
- F("img", {
5180
+ x("img", {
5168
5181
  alt: "Amazon Web Services",
5169
5182
  height: "46",
5170
- src: R(g(E).AWS)
5183
+ src: F(g(E).AWS)
5171
5184
  }, null, 8, Ug)
5172
5185
  ]),
5173
5186
  _: 1
@@ -5175,26 +5188,26 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5175
5188
  ]),
5176
5189
  _: 1
5177
5190
  }, 8, ["disabled", "text"]),
5178
- p(P, {
5179
- disabled: g(T),
5191
+ f(P, {
5192
+ disabled: g(R),
5180
5193
  placement: "top",
5181
5194
  text: g(o)("form.unavailable")
5182
5195
  }, {
5183
5196
  default: m(() => [
5184
- p(sA, {
5197
+ f(sA, {
5185
5198
  modelValue: C.value,
5186
5199
  "onUpdate:modelValue": s[5] || (s[5] = (b) => C.value = b),
5187
5200
  card: "",
5188
5201
  "data-testid": "vault-form-provider-gcp",
5189
- disabled: f.value || !g(T),
5202
+ disabled: d.value || !g(R),
5190
5203
  label: g(o)("form.config.gcp.label"),
5191
5204
  "selected-value": g(E).GCP
5192
5205
  }, {
5193
5206
  default: m(() => [
5194
- F("img", {
5207
+ x("img", {
5195
5208
  alt: "Google Cloud",
5196
5209
  height: "46",
5197
- src: R(g(E).GCP)
5210
+ src: F(g(E).GCP)
5198
5211
  }, null, 8, Vg)
5199
5212
  ]),
5200
5213
  _: 1
@@ -5202,26 +5215,26 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5202
5215
  ]),
5203
5216
  _: 1
5204
5217
  }, 8, ["disabled", "text"]),
5205
- p(P, {
5206
- disabled: g(T),
5218
+ f(P, {
5219
+ disabled: g(R),
5207
5220
  placement: "top",
5208
5221
  text: g(o)("form.unavailable")
5209
5222
  }, {
5210
5223
  default: m(() => [
5211
- p(sA, {
5224
+ f(sA, {
5212
5225
  modelValue: C.value,
5213
5226
  "onUpdate:modelValue": s[6] || (s[6] = (b) => C.value = b),
5214
5227
  card: "",
5215
5228
  "data-testid": "vault-form-provider-hcv",
5216
- disabled: f.value || !g(T),
5229
+ disabled: d.value || !g(R),
5217
5230
  label: g(o)("form.config.hcv.label"),
5218
5231
  "selected-value": g(E).HCV
5219
5232
  }, {
5220
5233
  default: m(() => [
5221
- F("img", {
5234
+ x("img", {
5222
5235
  alt: "HashiCorp Vault",
5223
5236
  height: "46",
5224
- src: R(g(E).HCV)
5237
+ src: F(g(E).HCV)
5225
5238
  }, null, 8, Tg)
5226
5239
  ]),
5227
5240
  _: 1
@@ -5231,25 +5244,25 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5231
5244
  }, 8, ["disabled", "text"]),
5232
5245
  A.config.azureVaultProviderAvailable ? (u(), Y(P, {
5233
5246
  key: 0,
5234
- disabled: g(T),
5247
+ disabled: g(R),
5235
5248
  placement: "top",
5236
5249
  text: g(o)("form.unavailable")
5237
5250
  }, {
5238
5251
  default: m(() => [
5239
- p(sA, {
5252
+ f(sA, {
5240
5253
  modelValue: C.value,
5241
5254
  "onUpdate:modelValue": s[7] || (s[7] = (b) => C.value = b),
5242
5255
  card: "",
5243
5256
  "data-testid": "vault-form-provider-azure",
5244
- disabled: f.value || !g(T),
5257
+ disabled: d.value || !g(R),
5245
5258
  label: g(o)("form.config.azure.label"),
5246
5259
  "selected-value": g(E).AZURE
5247
5260
  }, {
5248
5261
  default: m(() => [
5249
- F("img", {
5262
+ x("img", {
5250
5263
  alt: "Azure",
5251
5264
  height: "46",
5252
- src: R(g(E).AZURE)
5265
+ src: F(g(E).AZURE)
5253
5266
  }, null, 8, Rg)
5254
5267
  ]),
5255
5268
  _: 1
@@ -5258,10 +5271,10 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5258
5271
  _: 1
5259
5272
  }, 8, ["disabled", "text"])) : z("", !0)
5260
5273
  ]),
5261
- p(Ia, { name: "appear" }, {
5274
+ f(Ia, { name: "appear" }, {
5262
5275
  default: m(() => [
5263
5276
  C.value === g(E).KONG ? (u(), J("div", Fg, [
5264
- p(L, {
5277
+ f(M, {
5265
5278
  modelValue: Q[g(E).KONG].prefix,
5266
5279
  "onUpdate:modelValue": s[8] || (s[8] = (b) => Q[g(E).KONG].prefix = b),
5267
5280
  modelModifiers: { trim: !0 },
@@ -5279,11 +5292,11 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5279
5292
  key: `${g(E).AWS}-vault-config-fields`,
5280
5293
  class: "vault-form-config-fields-container"
5281
5294
  }, [
5282
- p(X, {
5295
+ f(X, {
5283
5296
  modelValue: Q[g(E).AWS].region,
5284
5297
  "onUpdate:modelValue": s[9] || (s[9] = (b) => Q[g(E).AWS].region = b),
5285
5298
  "data-testid": "vault-form-config-aws-region",
5286
- items: w,
5299
+ items: k,
5287
5300
  label: g(o)("form.config.aws.fields.region.label"),
5288
5301
  "label-attributes": { info: g(o)("form.config.aws.fields.region.tooltip") },
5289
5302
  placeholder: g(o)("form.config.aws.fields.region.placeholder"),
@@ -5296,7 +5309,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5296
5309
  key: `${g(E).GCP}-vault-config-fields`,
5297
5310
  class: "vault-form-config-fields-container"
5298
5311
  }, [
5299
- p(L, {
5312
+ f(M, {
5300
5313
  modelValue: Q[g(E).GCP].project_id,
5301
5314
  "onUpdate:modelValue": s[10] || (s[10] = (b) => Q[g(E).GCP].project_id = b),
5302
5315
  modelModifiers: { trim: !0 },
@@ -5309,12 +5322,12 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5309
5322
  type: "text"
5310
5323
  }, {
5311
5324
  "label-tooltip": m(() => [
5312
- p(g(a), {
5325
+ f(g(a), {
5313
5326
  keypath: "form.config.gcp.fields.project_id.tooltip.text",
5314
5327
  scope: "global"
5315
5328
  }, {
5316
5329
  "italic-text": m(() => [
5317
- F("em", null, O(g(o)("form.config.gcp.fields.project_id.tooltip.italicText")), 1)
5330
+ x("em", null, O(g(o)("form.config.gcp.fields.project_id.tooltip.italicText")), 1)
5318
5331
  ]),
5319
5332
  _: 1
5320
5333
  })
@@ -5326,17 +5339,17 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5326
5339
  key: `${g(E).HCV}-vault-config-fields`,
5327
5340
  class: "vault-form-config-fields-container"
5328
5341
  }, [
5329
- p(X, {
5342
+ f(X, {
5330
5343
  modelValue: Q[g(E).HCV].protocol,
5331
5344
  "onUpdate:modelValue": s[11] || (s[11] = (b) => Q[g(E).HCV].protocol = b),
5332
5345
  "data-testid": "vault-form-config-hcv-protocol",
5333
- items: x,
5346
+ items: U,
5334
5347
  label: g(o)("form.config.hcv.fields.protocol.label"),
5335
5348
  readonly: r.isReadonly,
5336
5349
  required: "",
5337
5350
  width: "100%"
5338
5351
  }, null, 8, ["modelValue", "label", "readonly"]),
5339
- p(L, {
5352
+ f(M, {
5340
5353
  modelValue: Q[g(E).HCV].host,
5341
5354
  "onUpdate:modelValue": s[12] || (s[12] = (b) => Q[g(E).HCV].host = b),
5342
5355
  modelModifiers: { trim: !0 },
@@ -5347,7 +5360,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5347
5360
  required: "",
5348
5361
  type: "text"
5349
5362
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5350
- p(L, {
5363
+ f(M, {
5351
5364
  modelValue: Q[g(E).HCV].port,
5352
5365
  "onUpdate:modelValue": s[13] || (s[13] = (b) => Q[g(E).HCV].port = b),
5353
5366
  autocomplete: "off",
@@ -5358,7 +5371,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5358
5371
  required: "",
5359
5372
  type: "number"
5360
5373
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5361
- p(L, {
5374
+ f(M, {
5362
5375
  modelValue: Q[g(E).HCV].mount,
5363
5376
  "onUpdate:modelValue": s[14] || (s[14] = (b) => Q[g(E).HCV].mount = b),
5364
5377
  modelModifiers: { trim: !0 },
@@ -5369,17 +5382,17 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5369
5382
  required: "",
5370
5383
  type: "text"
5371
5384
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5372
- p(X, {
5385
+ f(X, {
5373
5386
  modelValue: Q[g(E).HCV].kv,
5374
5387
  "onUpdate:modelValue": s[15] || (s[15] = (b) => Q[g(E).HCV].kv = b),
5375
5388
  "data-testid": "vault-form-config-hcv-kv",
5376
- items: eA,
5389
+ items: $,
5377
5390
  label: g(o)("form.config.hcv.fields.kv.label"),
5378
5391
  readonly: r.isReadonly,
5379
5392
  required: "",
5380
5393
  width: "100%"
5381
5394
  }, null, 8, ["modelValue", "label", "readonly"]),
5382
- p(L, {
5395
+ f(M, {
5383
5396
  modelValue: Q[g(E).HCV].namespace,
5384
5397
  "onUpdate:modelValue": s[16] || (s[16] = (b) => Q[g(E).HCV].namespace = b),
5385
5398
  modelModifiers: { trim: !0 },
@@ -5389,7 +5402,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5389
5402
  label: g(o)("form.config.hcv.fields.namespace.label"),
5390
5403
  type: "text"
5391
5404
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5392
- p(X, {
5405
+ f(X, {
5393
5406
  modelValue: Q[g(E).HCV].auth_method,
5394
5407
  "onUpdate:modelValue": s[17] || (s[17] = (b) => Q[g(E).HCV].auth_method = b),
5395
5408
  "data-testid": "vault-form-config-hcv-auth_method",
@@ -5403,8 +5416,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5403
5416
  required: "",
5404
5417
  width: "100%"
5405
5418
  }, null, 8, ["modelValue", "items", "label", "readonly"]),
5406
- Q[g(E).HCV].auth_method === g(aA).TOKEN ? (u(), J("div", xg, [
5407
- p(L, {
5419
+ Q[g(E).HCV].auth_method === g(aA).TOKEN ? (u(), J("div", Ng, [
5420
+ f(M, {
5408
5421
  modelValue: Q[g(E).HCV].token,
5409
5422
  "onUpdate:modelValue": s[18] || (s[18] = (b) => Q[g(E).HCV].token = b),
5410
5423
  modelModifiers: { trim: !0 },
@@ -5415,8 +5428,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5415
5428
  required: "",
5416
5429
  type: "text"
5417
5430
  }, null, 8, ["modelValue", "is-readonly", "label"])
5418
- ])) : Q[g(E).HCV].auth_method === g(aA).K8S ? (u(), J("div", Ng, [
5419
- p(L, {
5431
+ ])) : Q[g(E).HCV].auth_method === g(aA).K8S ? (u(), J("div", xg, [
5432
+ f(M, {
5420
5433
  modelValue: Q[g(E).HCV].kube_role,
5421
5434
  "onUpdate:modelValue": s[19] || (s[19] = (b) => Q[g(E).HCV].kube_role = b),
5422
5435
  modelModifiers: { trim: !0 },
@@ -5427,7 +5440,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5427
5440
  required: "",
5428
5441
  type: "text"
5429
5442
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5430
- p(L, {
5443
+ f(M, {
5431
5444
  modelValue: Q[g(E).HCV].kube_auth_path,
5432
5445
  "onUpdate:modelValue": s[20] || (s[20] = (b) => Q[g(E).HCV].kube_auth_path = b),
5433
5446
  modelModifiers: { trim: !0 },
@@ -5437,7 +5450,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5437
5450
  label: g(o)("form.config.hcv.fields.kube_auth_path.label"),
5438
5451
  type: "text"
5439
5452
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5440
- p(L, {
5453
+ f(M, {
5441
5454
  modelValue: Q[g(E).HCV].kube_api_token_file,
5442
5455
  "onUpdate:modelValue": s[21] || (s[21] = (b) => Q[g(E).HCV].kube_api_token_file = b),
5443
5456
  modelModifiers: { trim: !0 },
@@ -5448,8 +5461,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5448
5461
  required: "",
5449
5462
  type: "text"
5450
5463
  }, null, 8, ["modelValue", "is-readonly", "label"])
5451
- ])) : Q[g(E).HCV].auth_method === g(aA).APP_ROLE ? (u(), J("div", Mg, [
5452
- p(L, {
5464
+ ])) : Q[g(E).HCV].auth_method === g(aA).APP_ROLE ? (u(), J("div", Lg, [
5465
+ f(M, {
5453
5466
  modelValue: Q[g(E).HCV].approle_auth_path,
5454
5467
  "onUpdate:modelValue": s[22] || (s[22] = (b) => Q[g(E).HCV].approle_auth_path = b),
5455
5468
  modelModifiers: { trim: !0 },
@@ -5459,7 +5472,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5459
5472
  label: g(o)("form.config.hcv.fields.approle_auth_path.label"),
5460
5473
  type: "text"
5461
5474
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5462
- p(L, {
5475
+ f(M, {
5463
5476
  modelValue: Q[g(E).HCV].approle_role_id,
5464
5477
  "onUpdate:modelValue": s[23] || (s[23] = (b) => Q[g(E).HCV].approle_role_id = b),
5465
5478
  modelModifiers: { trim: !0 },
@@ -5470,7 +5483,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5470
5483
  required: "",
5471
5484
  type: "text"
5472
5485
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5473
- p(L, {
5486
+ f(M, {
5474
5487
  modelValue: Q[g(E).HCV].approle_secret_id,
5475
5488
  "onUpdate:modelValue": s[24] || (s[24] = (b) => Q[g(E).HCV].approle_secret_id = b),
5476
5489
  modelModifiers: { trim: !0 },
@@ -5480,7 +5493,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5480
5493
  label: g(o)("form.config.hcv.fields.approle_secret_id.label"),
5481
5494
  type: "text"
5482
5495
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5483
- p(L, {
5496
+ f(M, {
5484
5497
  modelValue: Q[g(E).HCV].approle_secret_id_file,
5485
5498
  "onUpdate:modelValue": s[25] || (s[25] = (b) => Q[g(E).HCV].approle_secret_id_file = b),
5486
5499
  modelModifiers: { trim: !0 },
@@ -5490,7 +5503,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5490
5503
  label: g(o)("form.config.hcv.fields.approle_secret_id_file.label"),
5491
5504
  type: "text"
5492
5505
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5493
- p(RA, {
5506
+ f(RA, {
5494
5507
  modelValue: Q[g(E).HCV].approle_response_wrapping,
5495
5508
  "onUpdate:modelValue": s[26] || (s[26] = (b) => Q[g(E).HCV].approle_response_wrapping = b),
5496
5509
  "data-testid": "vault-form-config-hcv-approle_response_wrapping",
@@ -5502,7 +5515,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5502
5515
  key: `${g(E).HCV}-vault-config-fields`,
5503
5516
  class: "vault-form-config-fields-container"
5504
5517
  }, [
5505
- p(L, {
5518
+ f(M, {
5506
5519
  modelValue: Q[g(E).AZURE].location,
5507
5520
  "onUpdate:modelValue": s[27] || (s[27] = (b) => Q[g(E).AZURE].location = b),
5508
5521
  modelModifiers: { trim: !0 },
@@ -5513,7 +5526,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5513
5526
  required: "",
5514
5527
  type: "text"
5515
5528
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5516
- p(L, {
5529
+ f(M, {
5517
5530
  modelValue: Q[g(E).AZURE].vault_uri,
5518
5531
  "onUpdate:modelValue": s[28] || (s[28] = (b) => Q[g(E).AZURE].vault_uri = b),
5519
5532
  modelModifiers: { trim: !0 },
@@ -5524,7 +5537,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5524
5537
  required: "",
5525
5538
  type: "text"
5526
5539
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5527
- p(L, {
5540
+ f(M, {
5528
5541
  modelValue: Q[g(E).AZURE].credentials_prefix,
5529
5542
  "onUpdate:modelValue": s[29] || (s[29] = (b) => Q[g(E).AZURE].credentials_prefix = b),
5530
5543
  modelModifiers: { trim: !0 },
@@ -5535,18 +5548,18 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5535
5548
  required: "",
5536
5549
  type: "text"
5537
5550
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5538
- p(X, {
5551
+ f(X, {
5539
5552
  modelValue: Q[g(E).AZURE].type,
5540
5553
  "onUpdate:modelValue": s[30] || (s[30] = (b) => Q[g(E).AZURE].type = b),
5541
5554
  "data-testid": "vault-form-config-azure-type",
5542
- items: q,
5555
+ items: D,
5543
5556
  label: g(o)("form.config.azure.fields.type.label"),
5544
5557
  placeholder: g(o)("form.config.azure.fields.type.placeholder"),
5545
5558
  readonly: r.isReadonly,
5546
5559
  required: "",
5547
5560
  width: "100%"
5548
5561
  }, null, 8, ["modelValue", "label", "placeholder", "readonly"]),
5549
- p(L, {
5562
+ f(M, {
5550
5563
  modelValue: Q[g(E).AZURE].client_id,
5551
5564
  "onUpdate:modelValue": s[31] || (s[31] = (b) => Q[g(E).AZURE].client_id = b),
5552
5565
  modelModifiers: { trim: !0 },
@@ -5556,7 +5569,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5556
5569
  label: g(o)("form.config.azure.fields.client_id.label"),
5557
5570
  type: "text"
5558
5571
  }, null, 8, ["modelValue", "is-readonly", "label"]),
5559
- p(L, {
5572
+ f(M, {
5560
5573
  modelValue: Q[g(E).AZURE].tenant_id,
5561
5574
  "onUpdate:modelValue": s[32] || (s[32] = (b) => Q[g(E).AZURE].tenant_id = b),
5562
5575
  modelModifiers: { trim: !0 },
@@ -5567,7 +5580,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5567
5580
  type: "text"
5568
5581
  }, null, 8, ["modelValue", "is-readonly", "label"])
5569
5582
  ])) : z("", !0),
5570
- A.config.ttl ? (u(), J("div", Lg, [
5583
+ A.config.ttl ? (u(), J("div", Mg, [
5571
5584
  c.value ? (u(), Y(PA, {
5572
5585
  key: 0,
5573
5586
  class: "advanced-fields-collapse",
@@ -5576,9 +5589,9 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5576
5589
  "trigger-label": g(o)("form.config.advancedFields.title")
5577
5590
  }, {
5578
5591
  default: m(() => [
5579
- F("div", Kg, [
5580
- F("div", jg, [
5581
- p(L, {
5592
+ x("div", Kg, [
5593
+ x("div", jg, [
5594
+ f(M, {
5582
5595
  modelValue: Q[C.value].ttl,
5583
5596
  "onUpdate:modelValue": s[33] || (s[33] = (b) => Q[C.value].ttl = b),
5584
5597
  "data-testid": "vault-ttl-input",
@@ -5587,8 +5600,8 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5587
5600
  type: "number"
5588
5601
  }, null, 8, ["modelValue", "label", "label-attributes"])
5589
5602
  ]),
5590
- F("div", Og, [
5591
- p(L, {
5603
+ x("div", Og, [
5604
+ f(M, {
5592
5605
  modelValue: Q[C.value].neg_ttl,
5593
5606
  "onUpdate:modelValue": s[34] || (s[34] = (b) => Q[C.value].neg_ttl = b),
5594
5607
  "data-testid": "vault-neg-ttl-input",
@@ -5598,9 +5611,9 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5598
5611
  }, null, 8, ["modelValue", "label", "label-attributes"])
5599
5612
  ])
5600
5613
  ]),
5601
- F("div", Dg, [
5602
- F("div", qg, [
5603
- p(L, {
5614
+ x("div", Dg, [
5615
+ x("div", qg, [
5616
+ f(M, {
5604
5617
  modelValue: Q[C.value].resurrect_ttl,
5605
5618
  "onUpdate:modelValue": s[35] || (s[35] = (b) => Q[C.value].resurrect_ttl = b),
5606
5619
  "data-testid": "vault-resurrect-ttl-input",
@@ -5626,7 +5639,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5626
5639
  ]);
5627
5640
  };
5628
5641
  }
5629
- }), or = /* @__PURE__ */ aa(Yg, [["__scopeId", "data-v-a879e495"]]), Wg = { class: "kong-ui-vault-entity-config-card" }, lr = /* @__PURE__ */ $({
5642
+ }), or = /* @__PURE__ */ aa(Yg, [["__scopeId", "data-v-a879e495"]]), Wg = { class: "kong-ui-vault-entity-config-card" }, lr = /* @__PURE__ */ AA({
5630
5643
  __name: "VaultConfigCard",
5631
5644
  props: {
5632
5645
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5653,7 +5666,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5653
5666
  },
5654
5667
  emits: ["loading", "fetch:error", "fetch:success"],
5655
5668
  setup(A) {
5656
- const e = A, t = U(() => {
5669
+ const e = A, t = S(() => {
5657
5670
  var o, l;
5658
5671
  return (l = te.form[(o = e.config) == null ? void 0 : o.app]) == null ? void 0 : l.edit;
5659
5672
  }), { i18n: { t: i } } = Ve.useI18n(), a = j({
@@ -5680,7 +5693,7 @@ const Sg = { class: "kong-ui-entities-vault-form" }, Jg = { class: "vault-form-p
5680
5693
  }
5681
5694
  });
5682
5695
  return (o, l) => (u(), J("div", Wg, [
5683
- p(g(un), {
5696
+ f(g(un), {
5684
5697
  config: A.config,
5685
5698
  "config-card-doc": A.configCardDoc,
5686
5699
  "config-schema": a.value,