@kong-ui-public/entities-upstreams-targets 3.3.11 → 3.3.12

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 X, ref as E, computed as T, watch as ke, renderSlot as re, createCommentVNode as D, unref as u, onBeforeMount as st, resolveComponent as K, openBlock as k, createBlock as V, createSlots as Be, withCtx as f, createElementVNode as x, createVNode as y, createTextVNode as J, toDisplayString as w, renderList as Ce, resolveDynamicComponent as _e, createElementBlock as j, withModifiers as ml, withDirectives as Ae, vShow as He, Fragment as fe, normalizeClass as qe, withKeys as Gr, useSlots as Pt, useCssVars as Ll, inject as Xr, onMounted as ei, onUnmounted as ti, normalizeStyle as Ee, normalizeProps as ai, guardReactiveProps as li, mergeProps as ri, pushScopeId as Ve, popScopeId as Pe, Teleport as Rl, reactive as pt } from "vue";
1
+ import { defineComponent as X, ref as E, computed as T, watch as ke, renderSlot as re, createCommentVNode as D, unref as u, onBeforeMount as st, resolveComponent as j, openBlock as k, createBlock as V, createSlots as Be, withCtx as f, createElementVNode as x, createVNode as y, createTextVNode as J, toDisplayString as w, renderList as Ce, resolveDynamicComponent as _e, createElementBlock as B, withModifiers as ml, withDirectives as Ae, vShow as He, Fragment as ye, normalizeClass as qe, withKeys as Gr, useSlots as Pt, useCssVars as Ll, inject as Xr, onMounted as ei, onUnmounted as ti, normalizeStyle as Ee, normalizeProps as ai, guardReactiveProps as li, mergeProps as ri, pushScopeId as Ve, popScopeId as Pe, Teleport as Rl, reactive as pt } from "vue";
2
2
  import gl from "axios";
3
3
  import { createI18n as Dl, i18nTComponent as zl } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as ii } from "@kong/kongponents";
@@ -279,14 +279,14 @@ function Ci(e, a, t, l = {
279
279
  return [M[l.fetchedItemsKey] ?? M];
280
280
  })()) : F.push(
281
281
  ...l.searchKeys.filter((M) => M !== "id").map(async (M) => {
282
- const { data: B } = await r.get(`${H}?${M}=${I}`);
283
- return B[l.fetchedItemsKey];
282
+ const { data: K } = await r.get(`${H}?${M}=${I}`);
283
+ return K[l.fetchedItemsKey];
284
284
  })
285
285
  );
286
286
  const q = await Promise.all(F), A = /* @__PURE__ */ new Set();
287
287
  p.value = [], (N = q == null ? void 0 : q.forEach) == null || N.call(q, (M) => {
288
- var B;
289
- (B = M == null ? void 0 : M.forEach) == null || B.call(M, (Q) => {
288
+ var K;
289
+ (K = M == null ? void 0 : M.forEach) == null || K.call(M, (Q) => {
290
290
  A.has(Q.id) || (A.add(Q.id), p.value.push(Q));
291
291
  });
292
292
  });
@@ -302,8 +302,8 @@ function Ci(e, a, t, l = {
302
302
  var q;
303
303
  let A = !1;
304
304
  for (const M of l.searchKeys) {
305
- const B = typeof F[M] == "string" ? (q = F[M]) == null ? void 0 : q.toLowerCase() : F[M];
306
- B != null && B.includes(I.toLowerCase()) && (A = !0);
305
+ const K = typeof F[M] == "string" ? (q = F[M]) == null ? void 0 : q.toLowerCase() : F[M];
306
+ K != null && K.includes(I.toLowerCase()) && (A = !0);
307
307
  }
308
308
  return A;
309
309
  }), (!p.value || !p.value.length) && (h.value = s("debouncedFilter.errors.invalid"))) : p.value = n.value, o.value = !1;
@@ -550,10 +550,10 @@ const de = {
550
550
  class: qe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
551
551
  }, {
552
552
  default: f(() => [
553
- e.isArrayItem ? (k(), j("legend", Ni, [
553
+ e.isArrayItem ? (k(), B("legend", Ni, [
554
554
  x("b", null, w(c.value), 1)
555
555
  ])) : D("", !0),
556
- (k(!0), j(fe, null, Ce(Object.keys(i.value), (h, p) => (k(), V(Gl, {
556
+ (k(!0), B(ye, null, Ce(Object.keys(i.value), (h, p) => (k(), V(Gl, {
557
557
  key: `${r.value}-property-${p}`,
558
558
  item: {
559
559
  key: h,
@@ -582,8 +582,8 @@ const de = {
582
582
  setup(e) {
583
583
  const { i18n: { t: a } } = de.useI18n();
584
584
  return (t, l) => {
585
- const r = K("KButton");
586
- return k(), j("div", null, [
585
+ const r = j("KButton");
586
+ return k(), B("div", null, [
587
587
  y(r, {
588
588
  appearance: "tertiary",
589
589
  class: "navigation-button",
@@ -608,7 +608,7 @@ const de = {
608
608
  setup(e) {
609
609
  const { i18n: { t: a } } = de.useI18n();
610
610
  return (t, l) => {
611
- const r = K("KBadge");
611
+ const r = j("KBadge");
612
612
  return k(), V(r, {
613
613
  appearance: e.status ? "success" : "neutral"
614
614
  }, {
@@ -760,8 +760,8 @@ const de = {
760
760
  }
761
761
  }), g = E(), { isTruncated: n } = de.useTruncationDetector(g);
762
762
  return (O, H) => {
763
- const v = K("KLabel"), U = K("KBadge"), $ = K("KCopy"), R = K("KTooltip");
764
- return k(), j("div", Di, [
763
+ const v = j("KLabel"), U = j("KBadge"), $ = j("KCopy"), R = j("KTooltip");
764
+ return k(), B("div", Di, [
765
765
  x("div", {
766
766
  class: "config-card-details-label",
767
767
  "data-testid": `${e.item.key}-label`
@@ -796,14 +796,14 @@ const de = {
796
796
  re(O.$slots, e.item.key, {
797
797
  rowValue: e.item.value
798
798
  }, () => [
799
- c.value ? (k(), j("div", Zi, [
799
+ c.value ? (k(), B("div", Zi, [
800
800
  (k(), V(_e(p.value.tag), ai(li(p.value.attrs)), {
801
801
  default: f(() => [
802
- p.value.additionalComponent === "KBadge" ? (k(), j("div", {
802
+ p.value.additionalComponent === "KBadge" ? (k(), B("div", {
803
803
  key: 0,
804
804
  "data-testid": `${e.item.key}-badge-tags`
805
805
  }, [
806
- (k(!0), j(fe, null, Ce(e.item.value, (I, N) => (k(), V(U, {
806
+ (k(!0), B(ye, null, Ce(e.item.value, (I, N) => (k(), V(U, {
807
807
  key: `${e.item.key}-badge-tag-${N}`,
808
808
  class: "config-badge",
809
809
  "data-testid": `${e.item.key}-badge-tag-${N}`,
@@ -816,22 +816,22 @@ const de = {
816
816
  _: 2
817
817
  }, 1032, ["data-testid", "tooltip"]))), 128))
818
818
  ], 8, Yi)) : D("", !0),
819
- p.value.additionalComponent === "KCopy" ? (k(), j("div", {
819
+ p.value.additionalComponent === "KCopy" ? (k(), B("div", {
820
820
  key: 1,
821
821
  class: "copy-uuid-array",
822
822
  "data-testid": `${e.item.key}-copy-uuid-array`
823
823
  }, [
824
- (k(!0), j(fe, null, Ce(e.item.value, (I, N) => (k(), V($, ri({ ref_for: !0 }, p.value.childAttrs, {
824
+ (k(!0), B(ye, null, Ce(e.item.value, (I, N) => (k(), V($, ri({ ref_for: !0 }, p.value.childAttrs, {
825
825
  key: `${e.item.key}-copy-uuid-${N}`,
826
826
  "data-testid": `${e.item.key}-copy-uuid-${N}`,
827
827
  text: I
828
828
  }), null, 16, ["data-testid", "text"]))), 128))
829
- ], 8, Gi)) : p.value.additionalComponent === "KMethodBadge" ? (k(), j("div", {
829
+ ], 8, Gi)) : p.value.additionalComponent === "KMethodBadge" ? (k(), B("div", {
830
830
  key: 2,
831
831
  class: "method-badge-array",
832
832
  "data-testid": `${e.item.key}-badge-methods`
833
833
  }, [
834
- (k(!0), j(fe, null, Ce(e.item.value, (I, N) => (k(), V(U, {
834
+ (k(!0), B(ye, null, Ce(e.item.value, (I, N) => (k(), V(U, {
835
835
  key: `${e.item.key}-badge-method-${N}`,
836
836
  appearance: Object.values(u(ii)).includes(I.toLowerCase()) ? I.toLowerCase() : "custom",
837
837
  class: "config-badge",
@@ -843,11 +843,11 @@ const de = {
843
843
  _: 2
844
844
  }, 1032, ["appearance", "data-testid"]))), 128))
845
845
  ], 8, Xi)) : D("", !0),
846
- p.value.additionalComponent === "JsonCardItem" ? (k(), j("div", {
846
+ p.value.additionalComponent === "JsonCardItem" ? (k(), B("div", {
847
847
  key: 3,
848
848
  "data-testid": `${t.item.key}-json-array-content`
849
849
  }, [
850
- (k(!0), j(fe, null, Ce(e.item.value, (I, N) => (k(), V(Yl, {
850
+ (k(!0), B(ye, null, Ce(e.item.value, (I, N) => (k(), V(Yl, {
851
851
  key: `json-array-item-${N}`,
852
852
  index: N,
853
853
  "is-array-item": "",
@@ -869,7 +869,7 @@ const de = {
869
869
  ]),
870
870
  _: 1
871
871
  }, 16))
872
- ])) : (k(), j("div", {
872
+ ])) : (k(), B("div", {
873
873
  key: 0,
874
874
  "data-testid": `${e.item.key}-no-value`
875
875
  }, " – ", 8, Qi))
@@ -920,9 +920,9 @@ const de = {
920
920
  return s.length < 2 ? 0 : 41 + (a.requestMethod === "post" ? s[s.length - 1] : s[s.length - 2]).length;
921
921
  });
922
922
  return (r, s) => {
923
- const i = K("KBadge"), c = K("KCodeBlock");
924
- return k(), j("div", ls, [
925
- a.fetcherUrl ? (k(), j("div", rs, [
923
+ const i = j("KBadge"), c = j("KCodeBlock");
924
+ return k(), B("div", ls, [
925
+ a.fetcherUrl ? (k(), B("div", rs, [
926
926
  y(i, {
927
927
  appearance: a.requestMethod
928
928
  }, {
@@ -999,7 +999,7 @@ tt.prototype.constructor = tt;
999
999
  tt.prototype.toString = function(e) {
1000
1000
  return this.name + ": " + tr(this, e);
1001
1001
  };
1002
- var ye = tt;
1002
+ var ve = tt;
1003
1003
  function Ht(e, a, t, l, r) {
1004
1004
  var s = "", i = "", c = Math.floor(r / 2) - 1;
1005
1005
  return l - a > c && (s = " ... ", a = l - c + s.length), t - l > c && (i = " ...", t = l + c - i.length), {
@@ -1067,15 +1067,15 @@ function ks(e) {
1067
1067
  function Cs(e, a) {
1068
1068
  if (a = a || {}, Object.keys(a).forEach(function(t) {
1069
1069
  if (ys.indexOf(t) === -1)
1070
- throw new ye('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1070
+ throw new ve('Unknown option "' + t + '" is met in definition of "' + e + '" YAML type.');
1071
1071
  }), this.options = a, this.tag = e, this.kind = a.kind || null, this.resolve = a.resolve || function() {
1072
1072
  return !0;
1073
1073
  }, this.construct = a.construct || function(t) {
1074
1074
  return t;
1075
1075
  }, this.instanceOf = a.instanceOf || null, this.predicate = a.predicate || null, this.represent = a.represent || null, this.representName = a.representName || null, this.defaultStyle = a.defaultStyle || null, this.multi = a.multi || !1, this.styleAliases = ks(a.styleAliases || null), bs.indexOf(this.kind) === -1)
1076
- throw new ye('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1076
+ throw new ve('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
1077
1077
  }
1078
- var me = Cs;
1078
+ var fe = Cs;
1079
1079
  function wl(e, a) {
1080
1080
  var t = [];
1081
1081
  return e[a].forEach(function(l) {
@@ -1110,39 +1110,39 @@ function Ot(e) {
1110
1110
  }
1111
1111
  Ot.prototype.extend = function(e) {
1112
1112
  var a = [], t = [];
1113
- if (e instanceof me)
1113
+ if (e instanceof fe)
1114
1114
  t.push(e);
1115
1115
  else if (Array.isArray(e))
1116
1116
  t = t.concat(e);
1117
1117
  else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit)))
1118
1118
  e.implicit && (a = a.concat(e.implicit)), e.explicit && (t = t.concat(e.explicit));
1119
1119
  else
1120
- throw new ye("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1120
+ throw new ve("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
1121
1121
  a.forEach(function(r) {
1122
- if (!(r instanceof me))
1123
- throw new ye("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1122
+ if (!(r instanceof fe))
1123
+ throw new ve("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1124
1124
  if (r.loadKind && r.loadKind !== "scalar")
1125
- throw new ye("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1125
+ throw new ve("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
1126
1126
  if (r.multi)
1127
- throw new ye("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1127
+ throw new ve("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
1128
1128
  }), t.forEach(function(r) {
1129
- if (!(r instanceof me))
1130
- throw new ye("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1129
+ if (!(r instanceof fe))
1130
+ throw new ve("Specified list of YAML types (or a single Type object) contains a non-Type object.");
1131
1131
  });
1132
1132
  var l = Object.create(Ot.prototype);
1133
1133
  return l.implicit = (this.implicit || []).concat(a), l.explicit = (this.explicit || []).concat(t), l.compiledImplicit = wl(l, "implicit"), l.compiledExplicit = wl(l, "explicit"), l.compiledTypeMap = _s(l.compiledImplicit, l.compiledExplicit), l;
1134
1134
  };
1135
- var ar = Ot, lr = new me("tag:yaml.org,2002:str", {
1135
+ var ar = Ot, lr = new fe("tag:yaml.org,2002:str", {
1136
1136
  kind: "scalar",
1137
1137
  construct: function(e) {
1138
1138
  return e !== null ? e : "";
1139
1139
  }
1140
- }), rr = new me("tag:yaml.org,2002:seq", {
1140
+ }), rr = new fe("tag:yaml.org,2002:seq", {
1141
1141
  kind: "sequence",
1142
1142
  construct: function(e) {
1143
1143
  return e !== null ? e : [];
1144
1144
  }
1145
- }), ir = new me("tag:yaml.org,2002:map", {
1145
+ }), ir = new fe("tag:yaml.org,2002:map", {
1146
1146
  kind: "mapping",
1147
1147
  construct: function(e) {
1148
1148
  return e !== null ? e : {};
@@ -1165,7 +1165,7 @@ function Ss() {
1165
1165
  function xs(e) {
1166
1166
  return e === null;
1167
1167
  }
1168
- var nr = new me("tag:yaml.org,2002:null", {
1168
+ var nr = new fe("tag:yaml.org,2002:null", {
1169
1169
  kind: "scalar",
1170
1170
  resolve: ws,
1171
1171
  construct: Ss,
@@ -1200,7 +1200,7 @@ function As(e) {
1200
1200
  function Hs(e) {
1201
1201
  return Object.prototype.toString.call(e) === "[object Boolean]";
1202
1202
  }
1203
- var or = new me("tag:yaml.org,2002:bool", {
1203
+ var or = new fe("tag:yaml.org,2002:bool", {
1204
1204
  kind: "scalar",
1205
1205
  resolve: Is,
1206
1206
  construct: As,
@@ -1280,7 +1280,7 @@ function Us(e) {
1280
1280
  function $s(e) {
1281
1281
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ce.isNegativeZero(e);
1282
1282
  }
1283
- var ur = new me("tag:yaml.org,2002:int", {
1283
+ var ur = new fe("tag:yaml.org,2002:int", {
1284
1284
  kind: "scalar",
1285
1285
  resolve: Fs,
1286
1286
  construct: Us,
@@ -1357,7 +1357,7 @@ function Bs(e, a) {
1357
1357
  function Es(e) {
1358
1358
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ce.isNegativeZero(e));
1359
1359
  }
1360
- var cr = new me("tag:yaml.org,2002:float", {
1360
+ var cr = new fe("tag:yaml.org,2002:float", {
1361
1361
  kind: "scalar",
1362
1362
  resolve: Ms,
1363
1363
  construct: js,
@@ -1394,7 +1394,7 @@ function Ps(e) {
1394
1394
  function Ls(e) {
1395
1395
  return e.toISOString();
1396
1396
  }
1397
- var mr = new me("tag:yaml.org,2002:timestamp", {
1397
+ var mr = new fe("tag:yaml.org,2002:timestamp", {
1398
1398
  kind: "scalar",
1399
1399
  resolve: Vs,
1400
1400
  construct: Ps,
@@ -1404,7 +1404,7 @@ var mr = new me("tag:yaml.org,2002:timestamp", {
1404
1404
  function Rs(e) {
1405
1405
  return e === "<<" || e === null;
1406
1406
  }
1407
- var gr = new me("tag:yaml.org,2002:merge", {
1407
+ var gr = new fe("tag:yaml.org,2002:merge", {
1408
1408
  kind: "scalar",
1409
1409
  resolve: Rs
1410
1410
  }), zt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -1434,7 +1434,7 @@ function Js(e) {
1434
1434
  function Ws(e) {
1435
1435
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
1436
1436
  }
1437
- var vr = new me("tag:yaml.org,2002:binary", {
1437
+ var vr = new fe("tag:yaml.org,2002:binary", {
1438
1438
  kind: "scalar",
1439
1439
  resolve: Ds,
1440
1440
  construct: zs,
@@ -1459,7 +1459,7 @@ function Ys(e) {
1459
1459
  function Gs(e) {
1460
1460
  return e !== null ? e : [];
1461
1461
  }
1462
- var yr = new me("tag:yaml.org,2002:omap", {
1462
+ var yr = new fe("tag:yaml.org,2002:omap", {
1463
1463
  kind: "sequence",
1464
1464
  resolve: Ys,
1465
1465
  construct: Gs
@@ -1480,7 +1480,7 @@ function tn(e) {
1480
1480
  l = i[a], r = Object.keys(l), s[a] = [r[0], l[r[0]]];
1481
1481
  return s;
1482
1482
  }
1483
- var br = new me("tag:yaml.org,2002:pairs", {
1483
+ var br = new fe("tag:yaml.org,2002:pairs", {
1484
1484
  kind: "sequence",
1485
1485
  resolve: en,
1486
1486
  construct: tn
@@ -1496,7 +1496,7 @@ function ln(e) {
1496
1496
  function rn(e) {
1497
1497
  return e !== null ? e : {};
1498
1498
  }
1499
- var kr = new me("tag:yaml.org,2002:set", {
1499
+ var kr = new fe("tag:yaml.org,2002:set", {
1500
1500
  kind: "mapping",
1501
1501
  resolve: ln,
1502
1502
  construct: rn
@@ -1562,7 +1562,7 @@ function Ar(e, a) {
1562
1562
  line: e.line,
1563
1563
  column: e.position - e.lineStart
1564
1564
  };
1565
- return t.snippet = vs(t), new ye(a, t);
1565
+ return t.snippet = vs(t), new ve(a, t);
1566
1566
  }
1567
1567
  function L(e, a) {
1568
1568
  throw Ar(e, a);
@@ -1933,28 +1933,28 @@ function In(e, a) {
1933
1933
  if (t.length !== 0) {
1934
1934
  if (t.length === 1)
1935
1935
  return t[0];
1936
- throw new ye("expected a single document in the stream, but found more");
1936
+ throw new ve("expected a single document in the stream, but found more");
1937
1937
  }
1938
1938
  }
1939
1939
  var An = xn, Hn = In, Tr = {
1940
1940
  loadAll: An,
1941
1941
  load: Hn
1942
- }, qr = Object.prototype.toString, Or = Object.prototype.hasOwnProperty, Zt = 65279, Tn = 9, at = 10, qn = 13, On = 32, Fn = 33, Un = 34, Ft = 35, $n = 37, Nn = 38, Mn = 39, jn = 42, Fr = 44, Kn = 45, vt = 58, Bn = 61, En = 62, Vn = 63, Pn = 64, Ur = 91, $r = 93, Ln = 96, Nr = 123, Rn = 124, Mr = 125, ve = {};
1943
- ve[0] = "\\0";
1944
- ve[7] = "\\a";
1945
- ve[8] = "\\b";
1946
- ve[9] = "\\t";
1947
- ve[10] = "\\n";
1948
- ve[11] = "\\v";
1949
- ve[12] = "\\f";
1950
- ve[13] = "\\r";
1951
- ve[27] = "\\e";
1952
- ve[34] = '\\"';
1953
- ve[92] = "\\\\";
1954
- ve[133] = "\\N";
1955
- ve[160] = "\\_";
1956
- ve[8232] = "\\L";
1957
- ve[8233] = "\\P";
1942
+ }, qr = Object.prototype.toString, Or = Object.prototype.hasOwnProperty, Zt = 65279, Tn = 9, at = 10, qn = 13, On = 32, Fn = 33, Un = 34, Ft = 35, $n = 37, Nn = 38, Mn = 39, jn = 42, Fr = 44, Kn = 45, vt = 58, Bn = 61, En = 62, Vn = 63, Pn = 64, Ur = 91, $r = 93, Ln = 96, Nr = 123, Rn = 124, Mr = 125, ge = {};
1943
+ ge[0] = "\\0";
1944
+ ge[7] = "\\a";
1945
+ ge[8] = "\\b";
1946
+ ge[9] = "\\t";
1947
+ ge[10] = "\\n";
1948
+ ge[11] = "\\v";
1949
+ ge[12] = "\\f";
1950
+ ge[13] = "\\r";
1951
+ ge[27] = "\\e";
1952
+ ge[34] = '\\"';
1953
+ ge[92] = "\\\\";
1954
+ ge[133] = "\\N";
1955
+ ge[160] = "\\_";
1956
+ ge[8232] = "\\L";
1957
+ ge[8233] = "\\P";
1958
1958
  var Dn = [
1959
1959
  "y",
1960
1960
  "Y",
@@ -1989,7 +1989,7 @@ function Wn(e) {
1989
1989
  else if (e <= 4294967295)
1990
1990
  t = "U", l = 8;
1991
1991
  else
1992
- throw new ye("code point within a string may not be greater than 0xFFFFFFFF");
1992
+ throw new ve("code point within a string may not be greater than 0xFFFFFFFF");
1993
1993
  return "\\" + t + ce.repeat("0", l - a.length) + a;
1994
1994
  }
1995
1995
  var Qn = 1, lt = 2;
@@ -2100,7 +2100,7 @@ function to(e, a, t, l, r) {
2100
2100
  case Je:
2101
2101
  return '"' + lo(a) + '"';
2102
2102
  default:
2103
- throw new ye("impossible error: invalid scalar style");
2103
+ throw new ve("impossible error: invalid scalar style");
2104
2104
  }
2105
2105
  }();
2106
2106
  }
@@ -2140,7 +2140,7 @@ function Nl(e, a) {
2140
2140
  }
2141
2141
  function lo(e) {
2142
2142
  for (var a = "", t = 0, l, r = 0; r < e.length; t >= 65536 ? r += 2 : r++)
2143
- t = et(e, r), l = ve[t], !l && rt(t) ? (a += e[r], t >= 65536 && (a += e[r + 1])) : a += l || Wn(t);
2143
+ t = et(e, r), l = ge[t], !l && rt(t) ? (a += e[r], t >= 65536 && (a += e[r + 1])) : a += l || Wn(t);
2144
2144
  return a;
2145
2145
  }
2146
2146
  function ro(e, a, t) {
@@ -2168,7 +2168,7 @@ function so(e, a, t, l) {
2168
2168
  else if (typeof e.sortKeys == "function")
2169
2169
  i.sort(e.sortKeys);
2170
2170
  else if (e.sortKeys)
2171
- throw new ye("sortKeys must be a boolean or a function");
2171
+ throw new ve("sortKeys must be a boolean or a function");
2172
2172
  for (c = 0, o = i.length; c < o; c += 1)
2173
2173
  g = "", (!l || r !== "") && (g += Ut(e, a)), d = i[c], h = t[d], e.replacer && (h = e.replacer.call(t, d, h)), Oe(e, a + 1, d, !0, !0, !0) && (p = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, p && (e.dump && at === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, p && (g += Ut(e, a)), Oe(e, a + 1, h, !0, p) && (e.dump && at === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, r += g));
2174
2174
  e.tag = s, e.dump = r || "{}";
@@ -2183,7 +2183,7 @@ function jl(e, a, t) {
2183
2183
  else if (Or.call(c.represent, o))
2184
2184
  l = c.represent[o](a, o);
2185
2185
  else
2186
- throw new ye("!<" + c.tag + '> tag resolver accepts not "' + o + '" style');
2186
+ throw new ve("!<" + c.tag + '> tag resolver accepts not "' + o + '" style');
2187
2187
  e.dump = l;
2188
2188
  }
2189
2189
  return !0;
@@ -2206,7 +2206,7 @@ function Oe(e, a, t, l, r, s, i) {
2206
2206
  e.tag !== "?" && to(e, e.dump, a, s, o);
2207
2207
  else {
2208
2208
  if (c === "[object Undefined]" || e.skipInvalid) return !1;
2209
- throw new ye("unacceptable kind of an object to dump " + c);
2209
+ throw new ve("unacceptable kind of an object to dump " + c);
2210
2210
  }
2211
2211
  e.tag !== null && e.tag !== "?" && (d = encodeURI(
2212
2212
  e.tag[0] === "!" ? e.tag.slice(1) : e.tag
@@ -2248,7 +2248,7 @@ function Yt(e, a) {
2248
2248
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + a + " instead, which is now safe by default.");
2249
2249
  };
2250
2250
  }
2251
- var ho = me, po = ar, fo = sr, mo = dr, go = hr, vo = Jt, yo = Tr.load, bo = Tr.loadAll, ko = co.dump, Co = ye, _o = {
2251
+ var ho = fe, po = ar, fo = sr, mo = dr, go = hr, vo = Jt, yo = Tr.load, bo = Tr.loadAll, ko = co.dump, Co = ve, _o = {
2252
2252
  binary: vr,
2253
2253
  float: cr,
2254
2254
  map: ir,
@@ -2293,8 +2293,8 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2293
2293
  return Object.keys(l).length === 0 && l.constructor === Object ? "" : Io.dump(l).trim();
2294
2294
  });
2295
2295
  return (l, r) => {
2296
- const s = K("KCodeBlock");
2297
- return k(), j("div", Ao, [
2296
+ const s = j("KCodeBlock");
2297
+ return k(), B("div", Ao, [
2298
2298
  a.yamlRecord ? (k(), V(s, {
2299
2299
  key: 0,
2300
2300
  id: "yaml-codeblock",
@@ -2356,15 +2356,15 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2356
2356
  const i = JSON.parse(JSON.stringify(a.record));
2357
2357
  return delete i.created_at, delete i.updated_at, i;
2358
2358
  });
2359
- return (i, c) => (k(), j(fe, null, [
2360
- e.format === "structured" ? (k(), j("div", Ho, [
2361
- (k(!0), j(fe, null, Ce(e.propListTypes, (o) => (k(), j("div", {
2359
+ return (i, c) => (k(), B(ye, null, [
2360
+ e.format === "structured" ? (k(), B("div", Ho, [
2361
+ (k(!0), B(ye, null, Ce(e.propListTypes, (o) => (k(), B("div", {
2362
2362
  key: `config-card-details-${o}-props`,
2363
2363
  class: qe(`config-card-details-${o}-props`),
2364
2364
  "data-testid": `config-card-details-${o}-props`
2365
2365
  }, [
2366
- o !== "basic" ? (k(), j("div", qo, w(o === "advanced" ? u(l)("baseConfigCard.sections.advanced") : u(l)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2367
- (k(!0), j(fe, null, Ce(e.propertyCollections[o], (d) => (k(), V(Gl, {
2366
+ o !== "basic" ? (k(), B("div", qo, w(o === "advanced" ? u(l)("baseConfigCard.sections.advanced") : u(l)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2367
+ (k(!0), B(ye, null, Ce(e.propertyCollections[o], (d) => (k(), V(Gl, {
2368
2368
  key: d.key,
2369
2369
  item: d
2370
2370
  }, Be({
@@ -2490,7 +2490,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2490
2490
  style: Ee(l.value)
2491
2491
  }, {
2492
2492
  default: f(() => [
2493
- (k(), j("svg", {
2493
+ (k(), B("svg", {
2494
2494
  "aria-hidden": e.decorative ? "true" : void 0,
2495
2495
  "data-testid": "kui-icon-svg-add-icon",
2496
2496
  fill: "none",
@@ -2500,7 +2500,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2500
2500
  width: "100%",
2501
2501
  xmlns: "http://www.w3.org/2000/svg"
2502
2502
  }, [
2503
- e.title ? (k(), j("title", No, w(e.title), 1)) : D("", !0),
2503
+ e.title ? (k(), B("title", No, w(e.title), 1)) : D("", !0),
2504
2504
  Mo
2505
2505
  ], 8, $o))
2506
2506
  ]),
@@ -2590,7 +2590,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2590
2590
  style: Ee(l.value)
2591
2591
  }, {
2592
2592
  default: f(() => [
2593
- (k(), j("svg", {
2593
+ (k(), B("svg", {
2594
2594
  "aria-hidden": e.decorative ? "true" : void 0,
2595
2595
  "data-testid": "kui-icon-svg-book-icon",
2596
2596
  fill: "none",
@@ -2600,7 +2600,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2600
2600
  width: "100%",
2601
2601
  xmlns: "http://www.w3.org/2000/svg"
2602
2602
  }, [
2603
- e.title ? (k(), j("title", Vo, w(e.title), 1)) : D("", !0),
2603
+ e.title ? (k(), B("title", Vo, w(e.title), 1)) : D("", !0),
2604
2604
  Po
2605
2605
  ], 8, Eo))
2606
2606
  ]),
@@ -2690,7 +2690,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2690
2690
  style: Ee(l.value)
2691
2691
  }, {
2692
2692
  default: f(() => [
2693
- (k(), j("svg", {
2693
+ (k(), B("svg", {
2694
2694
  "aria-hidden": e.decorative ? "true" : void 0,
2695
2695
  "data-testid": "kui-icon-svg-chevron-down-icon",
2696
2696
  fill: "none",
@@ -2700,7 +2700,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2700
2700
  width: "100%",
2701
2701
  xmlns: "http://www.w3.org/2000/svg"
2702
2702
  }, [
2703
- e.title ? (k(), j("title", Jo, w(e.title), 1)) : D("", !0),
2703
+ e.title ? (k(), B("title", Jo, w(e.title), 1)) : D("", !0),
2704
2704
  Wo
2705
2705
  ], 8, zo))
2706
2706
  ]),
@@ -2790,7 +2790,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2790
2790
  style: Ee(l.value)
2791
2791
  }, {
2792
2792
  default: f(() => [
2793
- (k(), j("svg", {
2793
+ (k(), B("svg", {
2794
2794
  "aria-hidden": e.decorative ? "true" : void 0,
2795
2795
  "data-testid": "kui-icon-svg-close-icon",
2796
2796
  fill: "none",
@@ -2800,7 +2800,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2800
2800
  width: "100%",
2801
2801
  xmlns: "http://www.w3.org/2000/svg"
2802
2802
  }, [
2803
- e.title ? (k(), j("title", Xo, w(e.title), 1)) : D("", !0),
2803
+ e.title ? (k(), B("title", Xo, w(e.title), 1)) : D("", !0),
2804
2804
  eu
2805
2805
  ], 8, Go))
2806
2806
  ]),
@@ -2890,7 +2890,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2890
2890
  style: Ee(l.value)
2891
2891
  }, {
2892
2892
  default: f(() => [
2893
- (k(), j("svg", {
2893
+ (k(), B("svg", {
2894
2894
  "aria-hidden": e.decorative ? "true" : void 0,
2895
2895
  "data-testid": "kui-icon-svg-more-icon",
2896
2896
  fill: "none",
@@ -2900,7 +2900,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
2900
2900
  width: "100%",
2901
2901
  xmlns: "http://www.w3.org/2000/svg"
2902
2902
  }, [
2903
- e.title ? (k(), j("title", iu, w(e.title), 1)) : D("", !0),
2903
+ e.title ? (k(), B("title", iu, w(e.title), 1)) : D("", !0),
2904
2904
  su
2905
2905
  ], 8, ru))
2906
2906
  ]),
@@ -3045,15 +3045,15 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3045
3045
  return [];
3046
3046
  const q = [], A = Object.keys(v.value).length;
3047
3047
  for (const M in v.value) {
3048
- const B = (S = (m = r.configSchema) == null ? void 0 : m[M]) == null ? void 0 : S.order, Q = (F = g[M]) == null ? void 0 : F.order;
3048
+ const K = (S = (m = r.configSchema) == null ? void 0 : m[M]) == null ? void 0 : S.order, Q = (F = g[M]) == null ? void 0 : F.order;
3049
3049
  let Z = A;
3050
- (Q || Q === 0) && (Z = Q === -1 ? A + 1 : Q), B && (Z = B === -1 ? A + 1 : B), q.push([M, Z]);
3050
+ (Q || Q === 0) && (Z = Q === -1 ? A + 1 : Q), K && (Z = K === -1 ? A + 1 : K), q.push([M, Z]);
3051
3051
  }
3052
- return q.sort(function(M, B) {
3053
- return M[1] - B[1];
3052
+ return q.sort(function(M, K) {
3053
+ return M[1] - K[1];
3054
3054
  }), q.map((M) => {
3055
- var B, Q;
3056
- const Z = M[0], W = (B = v.value) == null ? void 0 : B[Z], z = ((Q = r.configSchema) == null ? void 0 : Q[Z]) || {}, ee = g[Z];
3055
+ var K, Q;
3056
+ const Z = M[0], W = (K = v.value) == null ? void 0 : K[Z], z = ((Q = r.configSchema) == null ? void 0 : Q[Z]) || {}, ee = g[Z];
3057
3057
  return {
3058
3058
  key: Z,
3059
3059
  value: W,
@@ -3070,15 +3070,15 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3070
3070
  return [];
3071
3071
  const F = v.value[r.pluginConfigKey] || {}, q = Object.keys(F).length, A = [];
3072
3072
  for (const M in F) {
3073
- const B = (S = (m = r.pluginConfigSchema) == null ? void 0 : m[M]) == null ? void 0 : S.order, Q = F[M];
3073
+ const K = (S = (m = r.pluginConfigSchema) == null ? void 0 : m[M]) == null ? void 0 : S.order, Q = F[M];
3074
3074
  let Z = Q != null && Q !== "" ? q - 1 : q;
3075
- B && (Z = B === -1 ? q + 1 : B), A.push([M, Z]);
3075
+ K && (Z = K === -1 ? q + 1 : K), A.push([M, Z]);
3076
3076
  }
3077
- return A.sort(function(M, B) {
3078
- return M[1] - B[1];
3077
+ return A.sort(function(M, K) {
3078
+ return M[1] - K[1];
3079
3079
  }), A.map((M) => {
3080
- var B;
3081
- const Q = M[0], Z = F[Q], W = ((B = r.pluginConfigSchema) == null ? void 0 : B[Q]) || {};
3080
+ var K;
3081
+ const Q = M[0], Z = F[Q], W = ((K = r.pluginConfigSchema) == null ? void 0 : K[Q]) || {};
3082
3082
  return {
3083
3083
  key: Q,
3084
3084
  value: Z,
@@ -3127,7 +3127,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3127
3127
  n.value = !1;
3128
3128
  }
3129
3129
  }), (m, S) => {
3130
- const F = K("KLabel"), q = K("KSelect"), A = K("KButton"), M = K("KSkeleton"), B = K("KEmptyState"), Q = K("KCard");
3130
+ const F = j("KLabel"), q = j("KSelect"), A = j("KButton"), M = j("KSkeleton"), K = j("KEmptyState"), Q = j("KCard");
3131
3131
  return k(), V(Q, {
3132
3132
  class: "kong-ui-entity-base-config-card",
3133
3133
  "title-tag": e.titleTag
@@ -3174,7 +3174,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3174
3174
  "data-testid": "config-card-loader",
3175
3175
  "table-columns": 2,
3176
3176
  type: "table"
3177
- })) : O.value ? (k(), V(B, {
3177
+ })) : O.value ? (k(), V(K, {
3178
3178
  key: 1,
3179
3179
  "data-testid": "config-card-fetch-error",
3180
3180
  "icon-variant": "error"
@@ -3330,7 +3330,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3330
3330
  d.value = !1;
3331
3331
  }
3332
3332
  }), (I, N) => {
3333
- const m = K("KSkeleton"), S = K("KEmptyState"), F = K("KAlert"), q = K("KButton"), A = K("KTabs"), M = K("KSlideout");
3333
+ const m = j("KSkeleton"), S = j("KEmptyState"), F = j("KAlert"), q = j("KButton"), A = j("KTabs"), M = j("KSlideout");
3334
3334
  return k(), V(_e(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3335
3335
  default: f(() => [
3336
3336
  d.value ? (k(), V(m, {
@@ -3347,7 +3347,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3347
3347
  x("h3", null, w(p.value), 1)
3348
3348
  ]),
3349
3349
  _: 1
3350
- }, 8, ["action-button-text"])) : (k(), j("form", {
3350
+ }, 8, ["action-button-text"])) : (k(), B("form", {
3351
3351
  key: 2,
3352
3352
  "data-testid": "form-content",
3353
3353
  novalidate: r.noValidate,
@@ -3366,7 +3366,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3366
3366
  y(q, {
3367
3367
  appearance: "tertiary",
3368
3368
  "data-testid": "form-view-configuration",
3369
- onClick: N[0] || (N[0] = (B) => H())
3369
+ onClick: N[0] || (N[0] = (K) => H())
3370
3370
  }, {
3371
3371
  default: f(() => [
3372
3372
  J(w(u(i)("baseForm.actions.viewConfiguration")), 1)
@@ -3405,7 +3405,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3405
3405
  "offset-top": 60,
3406
3406
  title: u(i)("baseForm.configuration.title"),
3407
3407
  visible: n.value,
3408
- onClose: N[1] || (N[1] = (B) => H())
3408
+ onClose: N[1] || (N[1] = (K) => H())
3409
3409
  }, {
3410
3410
  default: f(() => [
3411
3411
  x("div", null, w(u(i)("baseForm.configuration.message")), 1),
@@ -3495,13 +3495,13 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3495
3495
  }), ti(() => {
3496
3496
  O();
3497
3497
  }), (v, U) => {
3498
- const $ = K("KTooltip");
3499
- return k(), j("span", {
3498
+ const $ = j("KTooltip");
3499
+ return k(), B("span", {
3500
3500
  ref_key: "contentRef",
3501
3501
  ref: d,
3502
3502
  class: "content-wrapper"
3503
3503
  }, [
3504
- s.value ? (k(), j("span", {
3504
+ s.value ? (k(), B("span", {
3505
3505
  key: 0,
3506
3506
  "data-truncate": s.value || void 0
3507
3507
  }, [
@@ -3702,7 +3702,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3702
3702
  }), i.value && U(i.value, m);
3703
3703
  };
3704
3704
  return (m, S) => {
3705
- const F = K("KButton"), q = K("KDropdown"), A = K("KTable"), M = K("KCard");
3705
+ const F = j("KButton"), q = j("KDropdown"), A = j("KTable"), M = j("KCard");
3706
3706
  return k(), V(M, {
3707
3707
  class: "kong-ui-entity-base-table",
3708
3708
  title: e.title,
@@ -3739,23 +3739,23 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3739
3739
  "table-preferences": R.value,
3740
3740
  onEmptyStateActionClick: n,
3741
3741
  "onRow:click": H.value,
3742
- onSort: S[0] || (S[0] = (B) => v(B)),
3742
+ onSort: S[0] || (S[0] = (K) => v(K)),
3743
3743
  "onUpdate:tablePreferences": N
3744
3744
  }, Be({
3745
- toolbar: f(({ state: B }) => [
3745
+ toolbar: f(({ state: K }) => [
3746
3746
  Ae(x("div", Cu, [
3747
3747
  re(m.$slots, "toolbar-filter", {}, void 0, !0),
3748
- m.$slots["toolbar-button"] ? (k(), j("div", _u, [
3748
+ m.$slots["toolbar-button"] ? (k(), B("div", _u, [
3749
3749
  re(m.$slots, "toolbar-button", {}, void 0, !0)
3750
3750
  ])) : D("", !0)
3751
3751
  ], 512), [
3752
- [He, c(B)]
3752
+ [He, c(K)]
3753
3753
  ])
3754
3754
  ]),
3755
- actions: f(({ row: B, rowKey: Q, rowValue: Z }) => [
3755
+ actions: f(({ row: K, rowKey: Q, rowValue: Z }) => [
3756
3756
  x("div", {
3757
3757
  class: "actions-container",
3758
- "data-testid": B.name
3758
+ "data-testid": K.name
3759
3759
  }, [
3760
3760
  y(q, {
3761
3761
  "kpop-attributes": { placement: "bottom-end" },
@@ -3763,7 +3763,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3763
3763
  }, {
3764
3764
  items: f(() => [
3765
3765
  re(m.$slots, "actions", {
3766
- row: B,
3766
+ row: K,
3767
3767
  rowKey: Q,
3768
3768
  rowValue: Z
3769
3769
  }, void 0, !0)
@@ -3788,13 +3788,13 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3788
3788
  ]),
3789
3789
  _: 2
3790
3790
  }, [
3791
- Ce(e.tableHeaders, (B, Q) => ({
3791
+ Ce(e.tableHeaders, (K, Q) => ({
3792
3792
  name: Q,
3793
3793
  fn: f(({ row: Z, rowKey: W, rowValue: z }) => [
3794
3794
  y(ku, {
3795
3795
  "key-name": String(Q),
3796
3796
  "row-el": p(Z),
3797
- tooltip: B.tooltip
3797
+ tooltip: K.tooltip
3798
3798
  }, {
3799
3799
  default: f(() => [
3800
3800
  re(m.$slots, Q, {
@@ -3873,7 +3873,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3873
3873
  r("proceed");
3874
3874
  };
3875
3875
  return (o, d) => {
3876
- const h = K("KAlert"), p = K("KPrompt");
3876
+ const h = j("KAlert"), p = j("KPrompt");
3877
3877
  return k(), V(p, {
3878
3878
  "action-button-appearance": "danger",
3879
3879
  "action-button-disabled": e.actionPending,
@@ -3886,7 +3886,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3886
3886
  onProceed: c
3887
3887
  }, {
3888
3888
  default: f(() => [
3889
- e.error ? (k(), j("div", xu, [
3889
+ e.error ? (k(), B("div", xu, [
3890
3890
  y(h, { appearance: "danger" }, {
3891
3891
  default: f(() => [
3892
3892
  J(w(e.error), 1)
@@ -3912,7 +3912,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3912
3912
  key: "0"
3913
3913
  } : void 0
3914
3914
  ]), 1032, ["keypath"]),
3915
- l.description || o.$slots.description ? (k(), j("div", Iu, [
3915
+ l.description || o.$slots.description ? (k(), B("div", Iu, [
3916
3916
  re(o.$slots, "description", {}, () => [
3917
3917
  x("p", null, w(l.description), 1)
3918
3918
  ], !0)
@@ -3945,7 +3945,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
3945
3945
  }
3946
3946
  },
3947
3947
  setup(e) {
3948
- return (a, t) => (k(), j("svg", Hu, [
3948
+ return (a, t) => (k(), B("svg", Hu, [
3949
3949
  x("mask", Tu, [
3950
3950
  x("rect", {
3951
3951
  fill: e.color,
@@ -4034,7 +4034,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4034
4034
  I && (s.value = !1), r("update:modelValue", new URLSearchParams(N).toString());
4035
4035
  };
4036
4036
  return (I, N) => {
4037
- const m = K("KInput"), S = K("KButton"), F = K("KSelect");
4037
+ const m = j("KInput"), S = j("KButton"), F = j("KSelect");
4038
4038
  return e.config.isExactMatch ? (k(), V(m, {
4039
4039
  key: 0,
4040
4040
  autocomplete: "off",
@@ -4056,7 +4056,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4056
4056
  ])
4057
4057
  ]),
4058
4058
  _: 1
4059
- }, 8, ["model-value", "placeholder"])) : (k(), j("div", Uu, [
4059
+ }, 8, ["model-value", "placeholder"])) : (k(), B("div", Uu, [
4060
4060
  y(S, {
4061
4061
  appearance: "tertiary",
4062
4062
  "data-testid": "filter-button",
@@ -4075,9 +4075,9 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4075
4075
  [He, s.value]
4076
4076
  ]),
4077
4077
  Ae(x("div", $u, [
4078
- (k(!0), j(fe, null, Ce(d.value, (q) => {
4078
+ (k(!0), B(ye, null, Ce(d.value, (q) => {
4079
4079
  var A, M;
4080
- return k(), j("div", {
4080
+ return k(), B("div", {
4081
4081
  key: q.value,
4082
4082
  class: "kong-ui-entity-filter-menu-item",
4083
4083
  "data-testid": q.value
@@ -4086,8 +4086,8 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4086
4086
  class: qe(["menu-item-title", { expanded: c.value.has(q.value) }]),
4087
4087
  role: "button",
4088
4088
  tabindex: "0",
4089
- onClick: (B) => p(q.value),
4090
- onKeydown: Gr((B) => p(q.value), ["enter"])
4089
+ onClick: (K) => p(q.value),
4090
+ onKeydown: Gr((K) => p(q.value), ["enter"])
4091
4091
  }, [
4092
4092
  J(w(q.label) + " ", 1),
4093
4093
  Ae(x("span", ju, null, 512), [
@@ -4107,14 +4107,14 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4107
4107
  key: 0,
4108
4108
  id: O(q.value),
4109
4109
  modelValue: i.value[q.value],
4110
- "onUpdate:modelValue": (B) => i.value[q.value] = B,
4110
+ "onUpdate:modelValue": (K) => i.value[q.value] = K,
4111
4111
  items: H(q.value),
4112
4112
  placeholder: u(t)("filter.selectPlaceholder")
4113
4113
  }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (k(), V(m, {
4114
4114
  key: 1,
4115
4115
  id: O(q.value),
4116
4116
  modelValue: i.value[q.value],
4117
- "onUpdate:modelValue": (B) => i.value[q.value] = B,
4117
+ "onUpdate:modelValue": (K) => i.value[q.value] = K,
4118
4118
  autocomplete: "off",
4119
4119
  placeholder: u(t)("filter.inputPlaceholder"),
4120
4120
  type: v(q.value)
@@ -4127,7 +4127,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4127
4127
  appearance: "tertiary",
4128
4128
  "data-testid": "apply-filter",
4129
4129
  size: "small",
4130
- onClick: N[0] || (N[0] = (B) => R(!0))
4130
+ onClick: N[0] || (N[0] = (K) => R(!0))
4131
4131
  }, {
4132
4132
  default: f(() => [
4133
4133
  J(w(u(t)("filter.applyButtonText")), 1)
@@ -4138,7 +4138,7 @@ const Ao = { class: "yaml-config" }, Vr = /* @__PURE__ */ X({
4138
4138
  appearance: "tertiary",
4139
4139
  "data-testid": "clear-filter",
4140
4140
  size: "small",
4141
- onClick: (B) => U(q.value)
4141
+ onClick: (K) => U(q.value)
4142
4142
  }, {
4143
4143
  default: f(() => [
4144
4144
  J(w(u(t)("filter.clearButtonText")), 1)
@@ -4264,13 +4264,13 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4264
4264
  },
4265
4265
  setup(e) {
4266
4266
  const a = Pt(), t = Wu();
4267
- return (l, r) => (k(), j("div", {
4267
+ return (l, r) => (k(), B("div", {
4268
4268
  "aria-labelledby": e.title ? u(t) : void 0,
4269
4269
  class: qe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4270
4270
  role: "group"
4271
4271
  }, [
4272
4272
  x("div", Zu, [
4273
- e.hideInfoHeader ? D("", !0) : (k(), j("div", {
4273
+ e.hideInfoHeader ? D("", !0) : (k(), B("div", {
4274
4274
  key: 0,
4275
4275
  class: qe(["form-section-info", { sticky: e.stickyInfoHeader }])
4276
4276
  }, [
@@ -4284,12 +4284,12 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4284
4284
  ]),
4285
4285
  _: 1
4286
4286
  }, 8, ["id"])) : D("", !0),
4287
- e.description || u(a).description ? (k(), j("div", Yu, [
4287
+ e.description || u(a).description ? (k(), B("div", Yu, [
4288
4288
  re(l.$slots, "description", {}, () => [
4289
4289
  x("p", null, w(e.description), 1)
4290
4290
  ], !0)
4291
4291
  ])) : D("", !0),
4292
- u(a).footer ? (k(), j("div", Gu, [
4292
+ u(a).footer ? (k(), B("div", Gu, [
4293
4293
  re(l.$slots, "footer", {}, void 0, !0)
4294
4294
  ])) : D("", !0)
4295
4295
  ], 2)),
@@ -4387,7 +4387,7 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4387
4387
  style: Ee(l.value)
4388
4388
  }, {
4389
4389
  default: f(() => [
4390
- (k(), j("svg", {
4390
+ (k(), B("svg", {
4391
4391
  "aria-hidden": e.decorative ? "true" : void 0,
4392
4392
  "data-testid": "kui-icon-svg-add-icon",
4393
4393
  fill: "none",
@@ -4397,7 +4397,7 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4397
4397
  width: "100%",
4398
4398
  xmlns: "http://www.w3.org/2000/svg"
4399
4399
  }, [
4400
- e.title ? (k(), j("title", rc, w(e.title), 1)) : D("", !0),
4400
+ e.title ? (k(), B("title", rc, w(e.title), 1)) : D("", !0),
4401
4401
  ic
4402
4402
  ], 8, lc))
4403
4403
  ]),
@@ -4487,7 +4487,7 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4487
4487
  style: Ee(l.value)
4488
4488
  }, {
4489
4489
  default: f(() => [
4490
- (k(), j("svg", {
4490
+ (k(), B("svg", {
4491
4491
  "aria-hidden": e.decorative ? "true" : void 0,
4492
4492
  "data-testid": "kui-icon-svg-trash-icon",
4493
4493
  fill: "none",
@@ -4497,7 +4497,7 @@ const Qu = ["aria-labelledby"], Zu = { class: "form-section-wrapper" }, Yu = {
4497
4497
  width: "100%",
4498
4498
  xmlns: "http://www.w3.org/2000/svg"
4499
4499
  }, [
4500
- e.title ? (k(), j("title", uc, w(e.title), 1)) : D("", !0),
4500
+ e.title ? (k(), B("title", uc, w(e.title), 1)) : D("", !0),
4501
4501
  cc
4502
4502
  ], 8, oc))
4503
4503
  ]),
@@ -5313,9 +5313,9 @@ function St() {
5313
5313
  stringToNumberArray: t,
5314
5314
  numberToStringArray: l,
5315
5315
  upstreamsResponseToFields: (o) => {
5316
- var h, p, g, n, O, H, v, U, $, R, I, N, m, S, F, q, A, M, B, Q, Z, W, z, ee, ue, P, Y, te, C, b, _, ie, G, se, he, ae, ge, je, Le, Xt, ea, ta, aa, la, ra, ia, sa, na, oa, ua, ca, da, ha, pa, fa, ma, ga, va, ya, ba, ka, Ca, _a, wa, Sa, xa, Ia, Aa, Ha, Ta, qa, Oa, Fa, Ua, $a, Na, Ma, ja, Ka, Ba, Ea, Va, Pa, La, Ra, Da, za, Ja, Wa, Qa, Za, Ya, Ga, Xa, el, tl, al, ll, rl, il, sl, nl, ol, ul, cl, dl, hl, pl, fl;
5316
+ var h, p, g, n, O, H, v, U, $, R, I, N, m, S, F, q, A, M, K, Q, Z, W, z, ee, ue, P, Y, te, C, b, _, ie, G, se, he, ae, me, je, Le, Xt, ea, ta, aa, la, ra, ia, sa, na, oa, ua, ca, da, ha, pa, fa, ma, ga, va, ya, ba, ka, Ca, _a, wa, Sa, xa, Ia, Aa, Ha, Ta, qa, Oa, Fa, Ua, $a, Na, Ma, ja, Ka, Ba, Ea, Va, Pa, La, Ra, Da, za, Ja, Wa, Qa, Za, Ya, Ga, Xa, el, tl, al, ll, rl, il, sl, nl, ol, ul, cl, dl, hl, pl, fl;
5317
5317
  const d = r();
5318
- return d.name = o.name || "", d.algorithm = o.algorithm || "round-robin", d.hostHeader = o.host_header || "", d.clientCertificate = o.client_certificate ? (h = o.client_certificate) == null ? void 0 : h.id : "", d.tags = ((p = o.tags) == null ? void 0 : p.join(", ")) || "", d.slots = o.slots !== null && o.slots !== void 0 ? o.slots.toString() : "10000", d.hashOn = o.hash_on || "none", d.hashFallback = o.hash_fallback || "none", d.hashOnHeader = o.hash_on_header || "", d.hashOnCookie = o.hash_on_cookie || "", d.hashOnCookiePath = o.hash_on_cookie_path || "/", d.hashOnQueryArgument = o.hash_on_query_arg || "", d.hashOnUriCapture = o.hash_on_uri_capture || "", d.hashFallbackHeader = o.hash_fallback_header || "", d.hashFallbackQueryArgument = o.hash_fallback_query_arg || "", d.hashFallbackUriCapture = o.hash_fallback_uri_capture || "", d.healthchecksThreshold = o.healthchecks.threshold !== null && o.healthchecks.threshold !== void 0 ? o.healthchecks.threshold.toString() : "", d.activeHealthSwitch = ((n = (g = o.healthchecks.active) == null ? void 0 : g.healthy) == null ? void 0 : n.interval) !== 0 || ((H = (O = o.healthchecks.active) == null ? void 0 : O.unhealthy) == null ? void 0 : H.interval) !== 0, d.activeHealthCheck.type = ((v = o.healthchecks.active) == null ? void 0 : v.type) || "http", d.activeHealthCheck.httpPath = ((U = o.healthchecks.active) == null ? void 0 : U.http_path) || "/", d.activeHealthCheck.timeout = (($ = o.healthchecks.active) == null ? void 0 : $.timeout) !== null && ((R = o.healthchecks.active) == null ? void 0 : R.timeout) !== void 0 ? (N = (I = o.healthchecks.active) == null ? void 0 : I.timeout) == null ? void 0 : N.toString() : "", d.activeHealthCheck.concurrency = ((m = o.healthchecks.active) == null ? void 0 : m.concurrency) !== null && ((S = o.healthchecks.active) == null ? void 0 : S.concurrency) !== void 0 ? (q = (F = o.healthchecks.active) == null ? void 0 : F.concurrency) == null ? void 0 : q.toString() : "", d.activeHealthCheck.httpsSni = ((A = o.healthchecks.active) == null ? void 0 : A.https_sni) || "", d.activeHealthCheck.verifySsl = ((M = o.healthchecks.active) == null ? void 0 : M.https_verify_certificate) || !1, d.activeHealthCheck.headers = (B = o.healthchecks.active) != null && B.headers && Object.entries((Q = o.healthchecks.active) == null ? void 0 : Q.headers).length > 0 ? Object.entries((Z = o.healthchecks.active) == null ? void 0 : Z.headers).map(([Yr, It]) => ({ key: Yr, values: It == null ? void 0 : It.join(", ") })) : [{ key: "", values: "" }], d.activeHealthCheck.interval = ((z = (W = o.healthchecks.active) == null ? void 0 : W.healthy) == null ? void 0 : z.interval) !== null && ((ue = (ee = o.healthchecks.active) == null ? void 0 : ee.healthy) == null ? void 0 : ue.interval) !== void 0 ? (te = (Y = (P = o.healthchecks.active) == null ? void 0 : P.healthy) == null ? void 0 : Y.interval) == null ? void 0 : te.toString() : "0", d.activeHealthCheck.interval = ((b = (C = o.healthchecks.active) == null ? void 0 : C.healthy) == null ? void 0 : b.interval) !== null && ((ie = (_ = o.healthchecks.active) == null ? void 0 : _.healthy) == null ? void 0 : ie.interval) !== void 0 ? (he = (se = (G = o.healthchecks.active) == null ? void 0 : G.healthy) == null ? void 0 : se.interval) == null ? void 0 : he.toString() : "0", d.activeHealthCheck.successes = ((ge = (ae = o.healthchecks.active) == null ? void 0 : ae.healthy) == null ? void 0 : ge.successes) !== null && ((Le = (je = o.healthchecks.active) == null ? void 0 : je.healthy) == null ? void 0 : Le.successes) !== void 0 ? (ta = (ea = (Xt = o.healthchecks.active) == null ? void 0 : Xt.healthy) == null ? void 0 : ea.successes) == null ? void 0 : ta.toString() : "0", d.activeHealthCheck.httpStatuses = (la = (aa = o.healthchecks.active) == null ? void 0 : aa.healthy) != null && la.http_statuses ? l(((ia = (ra = o.healthchecks.active) == null ? void 0 : ra.healthy) == null ? void 0 : ia.http_statuses) || []) : Kt, d.activeHealthCheck.unhealthyInterval = ((na = (sa = o.healthchecks.active) == null ? void 0 : sa.unhealthy) == null ? void 0 : na.interval) !== null && ((ua = (oa = o.healthchecks.active) == null ? void 0 : oa.unhealthy) == null ? void 0 : ua.interval) !== void 0 ? (ha = (da = (ca = o.healthchecks.active) == null ? void 0 : ca.unhealthy) == null ? void 0 : da.interval) == null ? void 0 : ha.toString() : "0", d.activeHealthCheck.httpFailures = ((fa = (pa = o.healthchecks.active) == null ? void 0 : pa.unhealthy) == null ? void 0 : fa.http_failures) !== null && ((ga = (ma = o.healthchecks.active) == null ? void 0 : ma.unhealthy) == null ? void 0 : ga.http_failures) !== void 0 ? (ba = (ya = (va = o.healthchecks.active) == null ? void 0 : va.unhealthy) == null ? void 0 : ya.http_failures) == null ? void 0 : ba.toString() : "0", d.activeHealthCheck.unhealthyTimeouts = ((Ca = (ka = o.healthchecks.active) == null ? void 0 : ka.unhealthy) == null ? void 0 : Ca.timeouts) !== null && ((wa = (_a = o.healthchecks.active) == null ? void 0 : _a.unhealthy) == null ? void 0 : wa.timeouts) !== void 0 ? (Ia = (xa = (Sa = o.healthchecks.active) == null ? void 0 : Sa.unhealthy) == null ? void 0 : xa.timeouts) == null ? void 0 : Ia.toString() : "0", d.activeHealthCheck.unhealthyHttpStatuses = (Ha = (Aa = o.healthchecks.active) == null ? void 0 : Aa.unhealthy) != null && Ha.http_statuses ? l(((qa = (Ta = o.healthchecks.active) == null ? void 0 : Ta.unhealthy) == null ? void 0 : qa.http_statuses) || []) : Et, d.passiveHealthSwitch = ((Fa = (Oa = o.healthchecks.passive) == null ? void 0 : Oa.healthy) == null ? void 0 : Fa.successes) !== 0 || (($a = (Ua = o.healthchecks.passive) == null ? void 0 : Ua.unhealthy) == null ? void 0 : $a.timeouts) !== 0 || ((Ma = (Na = o.healthchecks.passive) == null ? void 0 : Na.unhealthy) == null ? void 0 : Ma.tcp_failures) !== 0 || ((Ka = (ja = o.healthchecks.passive) == null ? void 0 : ja.unhealthy) == null ? void 0 : Ka.http_failures) !== 0, d.passiveHealthCheck.type = ((Ba = o.healthchecks.passive) == null ? void 0 : Ba.type) || "http", d.passiveHealthCheck.successes = ((Va = (Ea = o.healthchecks.passive) == null ? void 0 : Ea.healthy) == null ? void 0 : Va.successes) !== null && ((La = (Pa = o.healthchecks.passive) == null ? void 0 : Pa.healthy) == null ? void 0 : La.successes) !== void 0 ? (za = (Da = (Ra = o.healthchecks.passive) == null ? void 0 : Ra.healthy) == null ? void 0 : Da.successes) == null ? void 0 : za.toString() : "0", d.passiveHealthCheck.httpStatuses = (Wa = (Ja = o.healthchecks.passive) == null ? void 0 : Ja.healthy) != null && Wa.http_statuses ? l(((Za = (Qa = o.healthchecks.passive) == null ? void 0 : Qa.healthy) == null ? void 0 : Za.http_statuses) || []) : Bt, d.passiveHealthCheck.timeouts = ((Ga = (Ya = o.healthchecks.passive) == null ? void 0 : Ya.unhealthy) == null ? void 0 : Ga.timeouts) !== null && ((el = (Xa = o.healthchecks.passive) == null ? void 0 : Xa.unhealthy) == null ? void 0 : el.timeouts) !== void 0 ? (ll = (al = (tl = o.healthchecks.passive) == null ? void 0 : tl.unhealthy) == null ? void 0 : al.timeouts) == null ? void 0 : ll.toString() : "0", d.passiveHealthCheck.tcpFailures = ((il = (rl = o.healthchecks.passive) == null ? void 0 : rl.unhealthy) == null ? void 0 : il.tcp_failures) !== null && ((nl = (sl = o.healthchecks.passive) == null ? void 0 : sl.unhealthy) == null ? void 0 : nl.tcp_failures) !== void 0 ? (cl = (ul = (ol = o.healthchecks.passive) == null ? void 0 : ol.unhealthy) == null ? void 0 : ul.tcp_failures) == null ? void 0 : cl.toString() : "", d.passiveHealthCheck.unhealthyHttpStatuses = (hl = (dl = o.healthchecks.passive) == null ? void 0 : dl.unhealthy) != null && hl.http_statuses ? l(((fl = (pl = o.healthchecks.passive) == null ? void 0 : pl.unhealthy) == null ? void 0 : fl.http_statuses) || []) : Vt, d;
5318
+ return d.name = o.name || "", d.algorithm = o.algorithm || "round-robin", d.hostHeader = o.host_header || "", d.clientCertificate = o.client_certificate ? (h = o.client_certificate) == null ? void 0 : h.id : "", d.tags = ((p = o.tags) == null ? void 0 : p.join(", ")) || "", d.slots = o.slots !== null && o.slots !== void 0 ? o.slots.toString() : "10000", d.hashOn = o.hash_on || "none", d.hashFallback = o.hash_fallback || "none", d.hashOnHeader = o.hash_on_header || "", d.hashOnCookie = o.hash_on_cookie || "", d.hashOnCookiePath = o.hash_on_cookie_path || "/", d.hashOnQueryArgument = o.hash_on_query_arg || "", d.hashOnUriCapture = o.hash_on_uri_capture || "", d.hashFallbackHeader = o.hash_fallback_header || "", d.hashFallbackQueryArgument = o.hash_fallback_query_arg || "", d.hashFallbackUriCapture = o.hash_fallback_uri_capture || "", d.healthchecksThreshold = o.healthchecks.threshold !== null && o.healthchecks.threshold !== void 0 ? o.healthchecks.threshold.toString() : "", d.activeHealthSwitch = ((n = (g = o.healthchecks.active) == null ? void 0 : g.healthy) == null ? void 0 : n.interval) !== 0 || ((H = (O = o.healthchecks.active) == null ? void 0 : O.unhealthy) == null ? void 0 : H.interval) !== 0, d.activeHealthCheck.type = ((v = o.healthchecks.active) == null ? void 0 : v.type) || "http", d.activeHealthCheck.httpPath = ((U = o.healthchecks.active) == null ? void 0 : U.http_path) || "/", d.activeHealthCheck.timeout = (($ = o.healthchecks.active) == null ? void 0 : $.timeout) !== null && ((R = o.healthchecks.active) == null ? void 0 : R.timeout) !== void 0 ? (N = (I = o.healthchecks.active) == null ? void 0 : I.timeout) == null ? void 0 : N.toString() : "", d.activeHealthCheck.concurrency = ((m = o.healthchecks.active) == null ? void 0 : m.concurrency) !== null && ((S = o.healthchecks.active) == null ? void 0 : S.concurrency) !== void 0 ? (q = (F = o.healthchecks.active) == null ? void 0 : F.concurrency) == null ? void 0 : q.toString() : "", d.activeHealthCheck.httpsSni = ((A = o.healthchecks.active) == null ? void 0 : A.https_sni) || "", d.activeHealthCheck.verifySsl = ((M = o.healthchecks.active) == null ? void 0 : M.https_verify_certificate) || !1, d.activeHealthCheck.headers = (K = o.healthchecks.active) != null && K.headers && Object.entries((Q = o.healthchecks.active) == null ? void 0 : Q.headers).length > 0 ? Object.entries((Z = o.healthchecks.active) == null ? void 0 : Z.headers).map(([Yr, It]) => ({ key: Yr, values: It == null ? void 0 : It.join(", ") })) : [{ key: "", values: "" }], d.activeHealthCheck.interval = ((z = (W = o.healthchecks.active) == null ? void 0 : W.healthy) == null ? void 0 : z.interval) !== null && ((ue = (ee = o.healthchecks.active) == null ? void 0 : ee.healthy) == null ? void 0 : ue.interval) !== void 0 ? (te = (Y = (P = o.healthchecks.active) == null ? void 0 : P.healthy) == null ? void 0 : Y.interval) == null ? void 0 : te.toString() : "0", d.activeHealthCheck.interval = ((b = (C = o.healthchecks.active) == null ? void 0 : C.healthy) == null ? void 0 : b.interval) !== null && ((ie = (_ = o.healthchecks.active) == null ? void 0 : _.healthy) == null ? void 0 : ie.interval) !== void 0 ? (he = (se = (G = o.healthchecks.active) == null ? void 0 : G.healthy) == null ? void 0 : se.interval) == null ? void 0 : he.toString() : "0", d.activeHealthCheck.successes = ((me = (ae = o.healthchecks.active) == null ? void 0 : ae.healthy) == null ? void 0 : me.successes) !== null && ((Le = (je = o.healthchecks.active) == null ? void 0 : je.healthy) == null ? void 0 : Le.successes) !== void 0 ? (ta = (ea = (Xt = o.healthchecks.active) == null ? void 0 : Xt.healthy) == null ? void 0 : ea.successes) == null ? void 0 : ta.toString() : "0", d.activeHealthCheck.httpStatuses = (la = (aa = o.healthchecks.active) == null ? void 0 : aa.healthy) != null && la.http_statuses ? l(((ia = (ra = o.healthchecks.active) == null ? void 0 : ra.healthy) == null ? void 0 : ia.http_statuses) || []) : Kt, d.activeHealthCheck.unhealthyInterval = ((na = (sa = o.healthchecks.active) == null ? void 0 : sa.unhealthy) == null ? void 0 : na.interval) !== null && ((ua = (oa = o.healthchecks.active) == null ? void 0 : oa.unhealthy) == null ? void 0 : ua.interval) !== void 0 ? (ha = (da = (ca = o.healthchecks.active) == null ? void 0 : ca.unhealthy) == null ? void 0 : da.interval) == null ? void 0 : ha.toString() : "0", d.activeHealthCheck.httpFailures = ((fa = (pa = o.healthchecks.active) == null ? void 0 : pa.unhealthy) == null ? void 0 : fa.http_failures) !== null && ((ga = (ma = o.healthchecks.active) == null ? void 0 : ma.unhealthy) == null ? void 0 : ga.http_failures) !== void 0 ? (ba = (ya = (va = o.healthchecks.active) == null ? void 0 : va.unhealthy) == null ? void 0 : ya.http_failures) == null ? void 0 : ba.toString() : "0", d.activeHealthCheck.unhealthyTimeouts = ((Ca = (ka = o.healthchecks.active) == null ? void 0 : ka.unhealthy) == null ? void 0 : Ca.timeouts) !== null && ((wa = (_a = o.healthchecks.active) == null ? void 0 : _a.unhealthy) == null ? void 0 : wa.timeouts) !== void 0 ? (Ia = (xa = (Sa = o.healthchecks.active) == null ? void 0 : Sa.unhealthy) == null ? void 0 : xa.timeouts) == null ? void 0 : Ia.toString() : "0", d.activeHealthCheck.unhealthyHttpStatuses = (Ha = (Aa = o.healthchecks.active) == null ? void 0 : Aa.unhealthy) != null && Ha.http_statuses ? l(((qa = (Ta = o.healthchecks.active) == null ? void 0 : Ta.unhealthy) == null ? void 0 : qa.http_statuses) || []) : Et, d.passiveHealthSwitch = ((Fa = (Oa = o.healthchecks.passive) == null ? void 0 : Oa.healthy) == null ? void 0 : Fa.successes) !== 0 || (($a = (Ua = o.healthchecks.passive) == null ? void 0 : Ua.unhealthy) == null ? void 0 : $a.timeouts) !== 0 || ((Ma = (Na = o.healthchecks.passive) == null ? void 0 : Na.unhealthy) == null ? void 0 : Ma.tcp_failures) !== 0 || ((Ka = (ja = o.healthchecks.passive) == null ? void 0 : ja.unhealthy) == null ? void 0 : Ka.http_failures) !== 0, d.passiveHealthCheck.type = ((Ba = o.healthchecks.passive) == null ? void 0 : Ba.type) || "http", d.passiveHealthCheck.successes = ((Va = (Ea = o.healthchecks.passive) == null ? void 0 : Ea.healthy) == null ? void 0 : Va.successes) !== null && ((La = (Pa = o.healthchecks.passive) == null ? void 0 : Pa.healthy) == null ? void 0 : La.successes) !== void 0 ? (za = (Da = (Ra = o.healthchecks.passive) == null ? void 0 : Ra.healthy) == null ? void 0 : Da.successes) == null ? void 0 : za.toString() : "0", d.passiveHealthCheck.httpStatuses = (Wa = (Ja = o.healthchecks.passive) == null ? void 0 : Ja.healthy) != null && Wa.http_statuses ? l(((Za = (Qa = o.healthchecks.passive) == null ? void 0 : Qa.healthy) == null ? void 0 : Za.http_statuses) || []) : Bt, d.passiveHealthCheck.timeouts = ((Ga = (Ya = o.healthchecks.passive) == null ? void 0 : Ya.unhealthy) == null ? void 0 : Ga.timeouts) !== null && ((el = (Xa = o.healthchecks.passive) == null ? void 0 : Xa.unhealthy) == null ? void 0 : el.timeouts) !== void 0 ? (ll = (al = (tl = o.healthchecks.passive) == null ? void 0 : tl.unhealthy) == null ? void 0 : al.timeouts) == null ? void 0 : ll.toString() : "0", d.passiveHealthCheck.tcpFailures = ((il = (rl = o.healthchecks.passive) == null ? void 0 : rl.unhealthy) == null ? void 0 : il.tcp_failures) !== null && ((nl = (sl = o.healthchecks.passive) == null ? void 0 : sl.unhealthy) == null ? void 0 : nl.tcp_failures) !== void 0 ? (cl = (ul = (ol = o.healthchecks.passive) == null ? void 0 : ol.unhealthy) == null ? void 0 : ul.tcp_failures) == null ? void 0 : cl.toString() : "", d.passiveHealthCheck.unhealthyHttpStatuses = (hl = (dl = o.healthchecks.passive) == null ? void 0 : dl.unhealthy) != null && hl.http_statuses ? l(((fl = (pl = o.healthchecks.passive) == null ? void 0 : pl.unhealthy) == null ? void 0 : fl.http_statuses) || []) : Vt, d;
5319
5319
  },
5320
5320
  getDefaultUpstreamFields: r,
5321
5321
  objectsAreEqual: (o, d) => {
@@ -5463,7 +5463,7 @@ const Fe = {
5463
5463
  }), S = (P) => ({
5464
5464
  label: r("upstreams.actions.edit"),
5465
5465
  to: l.config.getEditRoute(P)
5466
- }), F = E(void 0), q = E(!1), A = E(!1), M = E(""), B = Dr(l.config, p.value), Q = (P) => {
5466
+ }), F = E(void 0), q = E(!1), A = E(!1), M = E(""), K = Dr(l.config, p.value), Q = (P) => {
5467
5467
  F.value = P, q.value = !0;
5468
5468
  }, Z = () => {
5469
5469
  q.value = !1;
@@ -5472,7 +5472,7 @@ const Fe = {
5472
5472
  if ((P = F.value) != null && P.id) {
5473
5473
  A.value = !0;
5474
5474
  try {
5475
- await i.delete(B(F.value.id)), A.value = !1, q.value = !1, c.value++, t("delete:success", F.value);
5475
+ await i.delete(K(F.value.id)), A.value = !1, q.value = !1, c.value++, t("delete:success", F.value);
5476
5476
  } catch (C) {
5477
5477
  M.value = ((te = (Y = C.response) == null ? void 0 : Y.data) == null ? void 0 : te.message) || C.message || r("upstreams.errors.delete"), t("error", C);
5478
5478
  } finally {
@@ -5499,8 +5499,8 @@ const Fe = {
5499
5499
  return st(async () => {
5500
5500
  await l.canCreate() && (ee.value.title = r("upstreams.list.empty_state.title"), ee.value.ctaText = r("upstreams.actions.create"));
5501
5501
  }), (P, Y) => {
5502
- const te = K("KButton"), C = K("KBadge"), b = K("KTruncate"), _ = K("KDropdownItem"), ie = K("KClipboardProvider");
5503
- return k(), j("div", wc, [
5502
+ const te = j("KButton"), C = j("KBadge"), b = j("KTruncate"), _ = j("KDropdownItem"), ie = j("KClipboardProvider");
5503
+ return k(), B("div", wc, [
5504
5504
  y(u(Lr), {
5505
5505
  "cache-identifier": e.cacheIdentifier,
5506
5506
  "disable-pagination-page-jump": "",
@@ -5560,7 +5560,7 @@ const Fe = {
5560
5560
  tags: f(({ rowValue: G }) => [
5561
5561
  y(b, null, {
5562
5562
  default: f(() => [
5563
- (k(!0), j(fe, null, Ce(G, (se) => (k(), V(C, {
5563
+ (k(!0), B(ye, null, Ce(G, (se) => (k(), V(C, {
5564
5564
  key: se,
5565
5565
  "max-width": "auto"
5566
5566
  }, {
@@ -5773,7 +5773,7 @@ const Fe = {
5773
5773
  return ke(() => l.targetId, () => {
5774
5774
  Object.assign(h.fields, g);
5775
5775
  }), (m, S) => {
5776
- const F = K("KInput"), q = K("KPrompt");
5776
+ const F = j("KInput"), q = j("KPrompt");
5777
5777
  return k(), V(q, {
5778
5778
  "action-button-disabled": !O.value || h.isReadonly,
5779
5779
  "action-button-text": u(r)("targets.form.buttons.save"),
@@ -5799,7 +5799,7 @@ const Fe = {
5799
5799
  }, {
5800
5800
  default: f(() => [
5801
5801
  x("div", Ac, [
5802
- m.$slots.info ? (k(), j("div", Hc, [
5802
+ m.$slots.info ? (k(), B("div", Hc, [
5803
5803
  re(m.$slots, "info", {}, void 0, !0)
5804
5804
  ])) : D("", !0),
5805
5805
  y(F, {
@@ -5943,7 +5943,7 @@ const Fe = {
5943
5943
  N.value = C, m.value = !0;
5944
5944
  }, M = () => {
5945
5945
  m.value = !1;
5946
- }, B = async () => {
5946
+ }, K = async () => {
5947
5947
  var C, b, _;
5948
5948
  if ((C = N.value) != null && C.id) {
5949
5949
  S.value = !0;
@@ -5999,8 +5999,8 @@ const Fe = {
5999
5999
  ee.value = !1, z.value = "";
6000
6000
  };
6001
6001
  return (C, b) => {
6002
- const _ = K("KButton"), ie = K("KBadge"), G = K("KTruncate"), se = K("KDropdownItem"), he = K("KClipboardProvider");
6003
- return k(), j("div", Oc, [
6002
+ const _ = j("KButton"), ie = j("KBadge"), G = j("KTruncate"), se = j("KDropdownItem"), he = j("KClipboardProvider");
6003
+ return k(), B("div", Oc, [
6004
6004
  y(u(Lr), {
6005
6005
  "cache-identifier": e.cacheIdentifier,
6006
6006
  "disable-pagination-page-jump": "",
@@ -6051,12 +6051,12 @@ const Fe = {
6051
6051
  tags: f(({ rowValue: ae }) => [
6052
6052
  y(G, null, {
6053
6053
  default: f(() => [
6054
- (k(!0), j(fe, null, Ce(ae, (ge) => (k(), V(ie, {
6055
- key: ge,
6054
+ (k(!0), B(ye, null, Ce(ae, (me) => (k(), V(ie, {
6055
+ key: me,
6056
6056
  "max-width": "auto"
6057
6057
  }, {
6058
6058
  default: f(() => [
6059
- J(w(ge), 1)
6059
+ J(w(me), 1)
6060
6060
  ]),
6061
6061
  _: 2
6062
6062
  }, 1024))), 128))
@@ -6066,10 +6066,10 @@ const Fe = {
6066
6066
  ]),
6067
6067
  actions: f(({ row: ae }) => [
6068
6068
  y(he, null, {
6069
- default: f(({ copyToClipboard: ge }) => [
6069
+ default: f(({ copyToClipboard: me }) => [
6070
6070
  y(se, {
6071
6071
  "data-testid": "action-entity-copy-id",
6072
- onClick: (je) => v(ae, ge)
6072
+ onClick: (je) => v(ae, me)
6073
6073
  }, {
6074
6074
  default: f(() => [
6075
6075
  J(w(u(r)("targets.actions.copy_id")), 1)
@@ -6080,10 +6080,10 @@ const Fe = {
6080
6080
  _: 2
6081
6081
  }, 1024),
6082
6082
  y(he, null, {
6083
- default: f(({ copyToClipboard: ge }) => [
6083
+ default: f(({ copyToClipboard: me }) => [
6084
6084
  y(se, {
6085
6085
  "data-testid": "action-entity-copy-json",
6086
- onClick: (je) => U(ae, ge)
6086
+ onClick: (je) => U(ae, me)
6087
6087
  }, {
6088
6088
  default: f(() => [
6089
6089
  J(w(u(r)("targets.actions.copy_json")), 1)
@@ -6100,7 +6100,7 @@ const Fe = {
6100
6100
  y(se, {
6101
6101
  "data-testid": "action-entity-edit",
6102
6102
  "has-divider": "",
6103
- onClick: (ge) => $(ae.id)
6103
+ onClick: (me) => $(ae.id)
6104
6104
  }, {
6105
6105
  default: f(() => [
6106
6106
  J(w(u(r)("targets.actions.edit")), 1)
@@ -6116,7 +6116,7 @@ const Fe = {
6116
6116
  default: f(() => [
6117
6117
  y(se, {
6118
6118
  "data-testid": "action-target-mark-healthy",
6119
- onClick: (ge) => t("health-actions:healthy", ae)
6119
+ onClick: (me) => t("health-actions:healthy", ae)
6120
6120
  }, {
6121
6121
  default: f(() => [
6122
6122
  J(w(u(r)("targets.actions.mark_healthy")), 1)
@@ -6132,7 +6132,7 @@ const Fe = {
6132
6132
  default: f(() => [
6133
6133
  y(se, {
6134
6134
  "data-testid": "action-target-mark-unhealthy",
6135
- onClick: (ge) => t("health-actions:unhealthy", ae)
6135
+ onClick: (me) => t("health-actions:unhealthy", ae)
6136
6136
  }, {
6137
6137
  default: f(() => [
6138
6138
  J(w(u(r)("targets.actions.mark_unhealthy")), 1)
@@ -6150,7 +6150,7 @@ const Fe = {
6150
6150
  danger: "",
6151
6151
  "data-testid": "action-entity-delete",
6152
6152
  "has-divider": "",
6153
- onClick: (ge) => A(ae)
6153
+ onClick: (me) => A(ae)
6154
6154
  }, {
6155
6155
  default: f(() => [
6156
6156
  J(w(u(r)("targets.actions.delete")), 1)
@@ -6172,7 +6172,7 @@ const Fe = {
6172
6172
  title: u(r)("targets.delete.title"),
6173
6173
  visible: m.value,
6174
6174
  onCancel: M,
6175
- onProceed: B
6175
+ onProceed: K
6176
6176
  }, null, 8, ["action-pending", "description", "entity-type", "error", "title", "visible"]),
6177
6177
  y(qc, {
6178
6178
  config: W.value,
@@ -6223,14 +6223,14 @@ const Fe = {
6223
6223
  },
6224
6224
  emits: ["update:name", "update:host-header", "update:client-certificate", "update:tags"],
6225
6225
  setup(e, { emit: a }) {
6226
- var M, B, Q, Z;
6226
+ var M, K, Q, Z;
6227
6227
  const { i18nT: t, i18n: { t: l } } = Fe.useI18n(), r = e, s = a, {
6228
6228
  debouncedQueryChange: i,
6229
6229
  loading: c,
6230
6230
  loadItems: o,
6231
6231
  results: d,
6232
6232
  allRecords: h
6233
- } = El(r.config, (B = Xe.form[(M = r.config) == null ? void 0 : M.app]) == null ? void 0 : B.getServices, "", {
6233
+ } = El(r.config, (K = Xe.form[(M = r.config) == null ? void 0 : M.app]) == null ? void 0 : K.getServices, "", {
6234
6234
  fetchedItemsKey: "data",
6235
6235
  searchKeys: ["host"]
6236
6236
  }), {
@@ -6270,7 +6270,7 @@ const Fe = {
6270
6270
  A.value = !1;
6271
6271
  }
6272
6272
  }), (W, z) => {
6273
- const ee = K("KSkeleton"), ue = K("KSelect"), P = K("KInput");
6273
+ const ee = j("KSkeleton"), ue = j("KSelect"), P = j("KInput");
6274
6274
  return k(), V(u(ot), {
6275
6275
  class: "kong-ui-entities-upstreams-general-info",
6276
6276
  description: u(l)("upstreams.form.general_info.help"),
@@ -6280,7 +6280,7 @@ const Fe = {
6280
6280
  A.value ? (k(), V(ee, {
6281
6281
  key: 0,
6282
6282
  type: "form"
6283
- })) : (k(), j("div", $c, [
6283
+ })) : (k(), B("div", $c, [
6284
6284
  y(ue, {
6285
6285
  class: "name-select margin-bottom-6",
6286
6286
  clearable: "",
@@ -6492,7 +6492,7 @@ const Fe = {
6492
6492
  });
6493
6493
  const d = T(() => s.hashOn === "cookie" || s.hashOn === "none"), h = T(() => s.slots ? r(s.slots, Mt, jt) ? "" : l("upstreams.form.errors.in_range") : "");
6494
6494
  return (p, g) => {
6495
- const n = K("KExternalLink"), O = K("KSelect"), H = K("KInput"), v = K("KCard");
6495
+ const n = j("KExternalLink"), O = j("KSelect"), H = j("KInput"), v = j("KCard");
6496
6496
  return k(), V(u(ot), {
6497
6497
  class: "kong-ui-entities-upstreams-load-balancing",
6498
6498
  title: u(l)("upstreams.form.load_balancing.title")
@@ -6560,7 +6560,7 @@ const Fe = {
6560
6560
  type: "text",
6561
6561
  "onUpdate:modelValue": g[3] || (g[3] = (U) => i("update:hash-on-header", U))
6562
6562
  }, null, 8, ["label", "model-value", "readonly"])) : D("", !0),
6563
- e.hashOn === "cookie" ? (k(), j(fe, { key: 1 }, [
6563
+ e.hashOn === "cookie" ? (k(), B(ye, { key: 1 }, [
6564
6564
  y(H, {
6565
6565
  autocomplete: "off",
6566
6566
  class: "margin-top-6",
@@ -6654,7 +6654,7 @@ const Fe = {
6654
6654
  type: "text",
6655
6655
  "onUpdate:modelValue": g[9] || (g[9] = (U) => i("update:hash-fallback-header", U))
6656
6656
  }, null, 8, ["label", "model-value", "readonly"])) : D("", !0),
6657
- e.hashFallback === "cookie" ? (k(), j(fe, { key: 1 }, [
6657
+ e.hashFallback === "cookie" ? (k(), B(ye, { key: 1 }, [
6658
6658
  y(H, {
6659
6659
  autocomplete: "off",
6660
6660
  class: "margin-top-6",
@@ -6735,7 +6735,7 @@ const Fe = {
6735
6735
  setup(e, { emit: a }) {
6736
6736
  const { i18n: { t } } = Fe.useI18n(), l = a;
6737
6737
  return (r, s) => {
6738
- const i = K("KExternalLink"), c = K("KInputSwitch"), o = K("KCard"), d = K("KInput");
6738
+ const i = j("KExternalLink"), c = j("KInputSwitch"), o = j("KCard"), d = j("KInput");
6739
6739
  return k(), V(u(ot), {
6740
6740
  class: "kong-ui-entities-upstreams-healthchecks",
6741
6741
  title: u(t)("upstreams.form.health_check.title")
@@ -6923,7 +6923,7 @@ const Fe = {
6923
6923
  H === 0 && p.value.length === 1 ? p.value[0] = { key: "", values: "" } : p.value.splice(H, 1), g();
6924
6924
  };
6925
6925
  return (H, v) => {
6926
- const U = K("KExternalLink"), $ = K("KSelect"), R = K("KInput"), I = K("KCheckbox"), N = K("KLabel"), m = K("KButton"), S = K("KMultiselect"), F = K("KCard");
6926
+ const U = j("KExternalLink"), $ = j("KSelect"), R = j("KInput"), I = j("KCheckbox"), N = j("KLabel"), m = j("KButton"), S = j("KMultiselect"), F = j("KCard");
6927
6927
  return k(), V(u(ot), {
6928
6928
  class: "kong-ui-entities-upstreams-active-healthcheck",
6929
6929
  title: u(t)("upstreams.form.active_health_check.title")
@@ -6986,7 +6986,7 @@ const Fe = {
6986
6986
  type: "number",
6987
6987
  "onUpdate:modelValue": v[3] || (v[3] = (A) => s("update:concurrency", A))
6988
6988
  }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
6989
- c.value ? (k(), j(fe, { key: 1 }, [
6989
+ c.value ? (k(), B(ye, { key: 1 }, [
6990
6990
  y(R, {
6991
6991
  autocomplete: "off",
6992
6992
  class: "margin-bottom-6",
@@ -7005,7 +7005,7 @@ const Fe = {
7005
7005
  "onUpdate:modelValue": v[5] || (v[5] = (A) => s("update:verify-ssl", A))
7006
7006
  }, null, 8, ["disabled", "label", "model-value"])
7007
7007
  ], 64)) : D("", !0),
7008
- ((q = e.config) == null ? void 0 : q.app) === "kongManager" ? (k(), j("div", Zc, [
7008
+ ((q = e.config) == null ? void 0 : q.app) === "kongManager" ? (k(), B("div", Zc, [
7009
7009
  y(N, {
7010
7010
  info: u(t)("upstreams.form.fields.headers.tooltip_active"),
7011
7011
  "tooltip-attributes": { maxWidth: "250px" }
@@ -7016,13 +7016,13 @@ const Fe = {
7016
7016
  _: 1
7017
7017
  }, 8, ["info"]),
7018
7018
  x("div", null, [
7019
- (k(!0), j(fe, null, Ce(p.value, (A, M) => (k(), j("div", {
7019
+ (k(!0), B(ye, null, Ce(p.value, (A, M) => (k(), B("div", {
7020
7020
  key: `${A.header}_${M}`,
7021
7021
  class: qe(["headers-row", { "margin-top-6": M > 0 }])
7022
7022
  }, [
7023
7023
  y(R, {
7024
7024
  modelValue: p.value[M].key,
7025
- "onUpdate:modelValue": (B) => p.value[M].key = B,
7025
+ "onUpdate:modelValue": (K) => p.value[M].key = K,
7026
7026
  autocomplete: "off",
7027
7027
  "data-testid": `active-healthcheck-headers-header-${M + 1}`,
7028
7028
  readonly: e.readonly,
@@ -7031,7 +7031,7 @@ const Fe = {
7031
7031
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "readonly"]),
7032
7032
  y(R, {
7033
7033
  modelValue: p.value[M].values,
7034
- "onUpdate:modelValue": (B) => p.value[M].values = B,
7034
+ "onUpdate:modelValue": (K) => p.value[M].values = K,
7035
7035
  autocomplete: "off",
7036
7036
  "data-testid": `active-healthcheck-headers-value-${M + 1}`,
7037
7037
  readonly: e.readonly,
@@ -7044,7 +7044,7 @@ const Fe = {
7044
7044
  "data-testid": "btn-remove-header",
7045
7045
  disabled: p.value.length === 1,
7046
7046
  icon: "",
7047
- onClick: (B) => O(M)
7047
+ onClick: (K) => O(M)
7048
7048
  }, {
7049
7049
  default: f(() => [
7050
7050
  y(u(hc), {
@@ -7132,8 +7132,7 @@ const Fe = {
7132
7132
  type: "number",
7133
7133
  "onUpdate:modelValue": v[11] || (v[11] = (A) => s("update:unhealthy-interval", A))
7134
7134
  }, null, 8, ["help", "label", "max", "min", "model-value", "readonly"]),
7135
- o.value ? (k(), V(R, {
7136
- key: 0,
7135
+ y(R, {
7137
7136
  autocomplete: "off",
7138
7137
  class: "margin-bottom-6",
7139
7138
  "data-testid": "active-healthcheck-tcp-failures",
@@ -7144,33 +7143,34 @@ const Fe = {
7144
7143
  readonly: e.readonly,
7145
7144
  type: "number",
7146
7145
  "onUpdate:modelValue": v[12] || (v[12] = (A) => s("update:tcp-failures", A))
7147
- }, null, 8, ["label", "max", "min", "model-value", "readonly"])) : (k(), j(fe, { key: 1 }, [
7148
- y(R, {
7149
- autocomplete: "off",
7150
- class: "margin-bottom-6",
7151
- "data-testid": "active-healthcheck-http-failures",
7152
- label: u(t)("upstreams.form.fields.http_failures.label"),
7153
- max: u(Ye),
7154
- min: u(Ze),
7155
- "model-value": e.httpFailures,
7156
- readonly: e.readonly,
7157
- type: "number",
7158
- "onUpdate:modelValue": v[13] || (v[13] = (A) => s("update:http-failures", A))
7159
- }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
7160
- y(S, {
7161
- autocomplete: "off",
7162
- class: "margin-bottom-6 active-healthcheck-unhealthy-http-statuses",
7163
- "enable-item-creation": "",
7164
- items: u(kt),
7165
- label: u(t)("upstreams.form.fields.http_statuses.label"),
7166
- "model-value": e.unhealthyHttpStatuses,
7167
- readonly: e.readonly,
7168
- width: "100%",
7169
- onItemAdded: v[14] || (v[14] = (A) => u(h)(A, !0)),
7170
- onItemRemoved: v[15] || (v[15] = (A) => u(h)(A, !1)),
7171
- "onUpdate:modelValue": v[16] || (v[16] = (A) => s("update:unhealthy-http-statuses", A))
7172
- }, null, 8, ["items", "label", "model-value", "readonly"])
7173
- ], 64)),
7146
+ }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
7147
+ o.value ? D("", !0) : (k(), V(R, {
7148
+ key: 0,
7149
+ autocomplete: "off",
7150
+ class: "margin-bottom-6",
7151
+ "data-testid": "active-healthcheck-http-failures",
7152
+ label: u(t)("upstreams.form.fields.http_failures.label"),
7153
+ max: u(Ye),
7154
+ min: u(Ze),
7155
+ "model-value": e.httpFailures,
7156
+ readonly: e.readonly,
7157
+ type: "number",
7158
+ "onUpdate:modelValue": v[13] || (v[13] = (A) => s("update:http-failures", A))
7159
+ }, null, 8, ["label", "max", "min", "model-value", "readonly"])),
7160
+ o.value ? D("", !0) : (k(), V(S, {
7161
+ key: 1,
7162
+ autocomplete: "off",
7163
+ class: "margin-bottom-6 active-healthcheck-unhealthy-http-statuses",
7164
+ "enable-item-creation": "",
7165
+ items: u(kt),
7166
+ label: u(t)("upstreams.form.fields.http_statuses.label"),
7167
+ "model-value": e.unhealthyHttpStatuses,
7168
+ readonly: e.readonly,
7169
+ width: "100%",
7170
+ onItemAdded: v[14] || (v[14] = (A) => u(h)(A, !0)),
7171
+ onItemRemoved: v[15] || (v[15] = (A) => u(h)(A, !1)),
7172
+ "onUpdate:modelValue": v[16] || (v[16] = (A) => s("update:unhealthy-http-statuses", A))
7173
+ }, null, 8, ["items", "label", "model-value", "readonly"])),
7174
7174
  y(R, {
7175
7175
  autocomplete: "off",
7176
7176
  "data-testid": "active-healthcheck-unhealthy-timeouts",
@@ -7191,7 +7191,7 @@ const Fe = {
7191
7191
  }, 8, ["title"]);
7192
7192
  };
7193
7193
  }
7194
- }), ad = /* @__PURE__ */ Ue(td, [["__scopeId", "data-v-c7496328"]]), ld = { class: "fields-group-title" }, rd = { class: "fields-group-text" }, id = { class: "fields-group-title" }, sd = { class: "fields-group-text" }, nd = /* @__PURE__ */ X({
7194
+ }), ad = /* @__PURE__ */ Ue(td, [["__scopeId", "data-v-efccf560"]]), ld = { class: "fields-group-title" }, rd = { class: "fields-group-text" }, id = { class: "fields-group-title" }, sd = { class: "fields-group-text" }, nd = /* @__PURE__ */ X({
7195
7195
  __name: "UpstreamsFormPassiveHealthCheck",
7196
7196
  props: {
7197
7197
  type: {
@@ -7264,7 +7264,7 @@ const Fe = {
7264
7264
  return ke(() => l.type, (d, h) => {
7265
7265
  h === "tcp" && d !== h && r("update:tcp-failures", "5"), h !== "tcp" && d === "tcp" && (r("update:http-statuses", Bt), r("update:unhealthy-http-statuses", Vt));
7266
7266
  }), (d, h) => {
7267
- const p = K("KExternalLink"), g = K("KSelect"), n = K("KInput"), O = K("KMultiselect"), H = K("KCard");
7267
+ const p = j("KExternalLink"), g = j("KSelect"), n = j("KInput"), O = j("KMultiselect"), H = j("KCard");
7268
7268
  return k(), V(u(ot), {
7269
7269
  class: "kong-ui-entities-upstreams-passive-healthcheck",
7270
7270
  title: u(t)("upstreams.form.passive_health_check.title")
@@ -7339,8 +7339,7 @@ const Fe = {
7339
7339
  type: "number",
7340
7340
  "onUpdate:modelValue": h[5] || (h[5] = (v) => r("update:timeouts", v))
7341
7341
  }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
7342
- i.value ? (k(), V(n, {
7343
- key: 0,
7342
+ y(n, {
7344
7343
  autocomplete: "off",
7345
7344
  class: "margin-top-6",
7346
7345
  "data-testid": "passive-healthcheck-tcp-failures",
@@ -7351,33 +7350,34 @@ const Fe = {
7351
7350
  readonly: e.readonly,
7352
7351
  type: "number",
7353
7352
  "onUpdate:modelValue": h[6] || (h[6] = (v) => r("update:tcp-failures", v))
7354
- }, null, 8, ["label", "max", "min", "model-value", "readonly"])) : (k(), j(fe, { key: 1 }, [
7355
- y(n, {
7356
- autocomplete: "off",
7357
- class: "margin-top-6",
7358
- "data-testid": "passive-healthcheck-http-failures",
7359
- label: u(t)("upstreams.form.fields.http_failures.label"),
7360
- max: u(Ye),
7361
- min: u(Ze),
7362
- "model-value": e.httpFailures,
7363
- readonly: e.readonly,
7364
- type: "number",
7365
- "onUpdate:modelValue": h[7] || (h[7] = (v) => r("update:http-failures", v))
7366
- }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
7367
- y(O, {
7368
- autocomplete: "off",
7369
- class: "margin-top-6 passive-healthcheck-unhealthy-http-statuses",
7370
- "enable-item-creation": "",
7371
- items: u(kt),
7372
- label: u(t)("upstreams.form.fields.http_statuses.label"),
7373
- "model-value": e.unhealthyHttpStatuses,
7374
- readonly: e.readonly,
7375
- width: "100%",
7376
- onItemAdded: h[8] || (h[8] = (v) => u(o)(v, !0)),
7377
- onItemRemoved: h[9] || (h[9] = (v) => u(o)(v, !1)),
7378
- "onUpdate:modelValue": h[10] || (h[10] = (v) => r("update:unhealthy-http-statuses", v))
7379
- }, null, 8, ["items", "label", "model-value", "readonly"])
7380
- ], 64))
7353
+ }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
7354
+ i.value ? D("", !0) : (k(), V(n, {
7355
+ key: 0,
7356
+ autocomplete: "off",
7357
+ class: "margin-top-6",
7358
+ "data-testid": "passive-healthcheck-http-failures",
7359
+ label: u(t)("upstreams.form.fields.http_failures.label"),
7360
+ max: u(Ye),
7361
+ min: u(Ze),
7362
+ "model-value": e.httpFailures,
7363
+ readonly: e.readonly,
7364
+ type: "number",
7365
+ "onUpdate:modelValue": h[7] || (h[7] = (v) => r("update:http-failures", v))
7366
+ }, null, 8, ["label", "max", "min", "model-value", "readonly"])),
7367
+ i.value ? D("", !0) : (k(), V(O, {
7368
+ key: 1,
7369
+ autocomplete: "off",
7370
+ class: "margin-top-6 passive-healthcheck-unhealthy-http-statuses",
7371
+ "enable-item-creation": "",
7372
+ items: u(kt),
7373
+ label: u(t)("upstreams.form.fields.http_statuses.label"),
7374
+ "model-value": e.unhealthyHttpStatuses,
7375
+ readonly: e.readonly,
7376
+ width: "100%",
7377
+ onItemAdded: h[8] || (h[8] = (v) => u(o)(v, !0)),
7378
+ onItemRemoved: h[9] || (h[9] = (v) => u(o)(v, !1)),
7379
+ "onUpdate:modelValue": h[10] || (h[10] = (v) => r("update:unhealthy-http-statuses", v))
7380
+ }, null, 8, ["items", "label", "model-value", "readonly"]))
7381
7381
  ]),
7382
7382
  _: 1
7383
7383
  })
@@ -7386,7 +7386,7 @@ const Fe = {
7386
7386
  }, 8, ["title"]);
7387
7387
  };
7388
7388
  }
7389
- }), od = /* @__PURE__ */ Ue(nd, [["__scopeId", "data-v-b42fd84c"]]), ud = { class: "kong-ui-entities-upstreams-form" }, cd = /* @__PURE__ */ X({
7389
+ }), od = /* @__PURE__ */ Ue(nd, [["__scopeId", "data-v-5bd9952e"]]), ud = { class: "kong-ui-entities-upstreams-form" }, cd = /* @__PURE__ */ X({
7390
7390
  __name: "UpstreamsForm",
7391
7391
  props: {
7392
7392
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -7413,7 +7413,7 @@ const Fe = {
7413
7413
  n.fields.activeHealthCheck.interval = C ? "5" : "0", n.fields.activeHealthCheck.successes = C ? "5" : "0", n.fields.activeHealthCheck.httpFailures = C ? "5" : "0", n.fields.activeHealthCheck.unhealthyInterval = C ? "5" : "0";
7414
7414
  }, U = (C) => {
7415
7415
  n.fields.passiveHealthCheck.timeouts = C ? "5" : "0", n.fields.passiveHealthCheck.successes = C ? "80" : "0";
7416
- }, $ = T(() => n.fields.slots ? r(n.fields.slots, Mt, jt) : !0), R = T(() => n.fields.hashOn === "header" ? !!n.fields.hashOnHeader : !0), I = T(() => n.fields.hashOn === "cookie" || n.fields.hashFallback === "cookie" ? !!n.fields.hashOnCookie : !0), N = T(() => n.fields.hashOn === "cookie" || n.fields.hashFallback === "cookie" ? !!n.fields.hashOnCookiePath : !0), m = T(() => n.fields.hashOn === "query_arg" ? !!n.fields.hashOnQueryArgument : !0), S = T(() => n.fields.hashOn === "uri_capture" ? !!n.fields.hashOnUriCapture : !0), F = T(() => n.fields.hashFallback === "header" ? !!n.fields.hashFallbackHeader : !0), q = T(() => n.fields.hashFallback === "query_arg" ? !!n.fields.hashFallbackQueryArgument : !0), A = T(() => n.fields.hashFallback === "uri_capture" ? !!n.fields.hashFallbackUriCapture : !0), M = T(() => !!n.fields.name && $.value && R.value && I.value && N.value && m.value && S.value && F.value && q.value && A.value), B = T(() => t.upstreamId ? Se.Edit : Se.Create), Q = T(() => {
7416
+ }, $ = T(() => n.fields.slots ? r(n.fields.slots, Mt, jt) : !0), R = T(() => n.fields.hashOn === "header" ? !!n.fields.hashOnHeader : !0), I = T(() => n.fields.hashOn === "cookie" || n.fields.hashFallback === "cookie" ? !!n.fields.hashOnCookie : !0), N = T(() => n.fields.hashOn === "cookie" || n.fields.hashFallback === "cookie" ? !!n.fields.hashOnCookiePath : !0), m = T(() => n.fields.hashOn === "query_arg" ? !!n.fields.hashOnQueryArgument : !0), S = T(() => n.fields.hashOn === "uri_capture" ? !!n.fields.hashOnUriCapture : !0), F = T(() => n.fields.hashFallback === "header" ? !!n.fields.hashFallbackHeader : !0), q = T(() => n.fields.hashFallback === "query_arg" ? !!n.fields.hashFallbackQueryArgument : !0), A = T(() => n.fields.hashFallback === "uri_capture" ? !!n.fields.hashFallbackUriCapture : !0), M = T(() => !!n.fields.name && $.value && R.value && I.value && N.value && m.value && S.value && F.value && q.value && A.value), K = T(() => t.upstreamId ? Se.Edit : Se.Create), Q = T(() => {
7417
7417
  var C, b;
7418
7418
  return (b = Xe.form[(C = t.config) == null ? void 0 : C.app]) == null ? void 0 : b.edit;
7419
7419
  }), Z = (C) => {
@@ -7440,14 +7440,14 @@ const Fe = {
7440
7440
  healthy: {},
7441
7441
  unhealthy: {}
7442
7442
  }, n.fields.activeHealthCheck.timeout && (C.healthchecks.active.timeout = Number(n.fields.activeHealthCheck.timeout)), n.fields.activeHealthCheck.concurrency && (C.healthchecks.active.concurrency = Number(n.fields.activeHealthCheck.concurrency)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.httpPath && (C.healthchecks.active.http_path = n.fields.activeHealthCheck.httpPath), ((ie = t.config) == null ? void 0 : ie.app) === "kongManager" && (n.fields.activeHealthCheck.headers.length === 0 ? C.healthchecks.active.headers = [] : C.healthchecks.active.headers = n.fields.activeHealthCheck.headers.reduce((he, ae) => {
7443
- var ge, je;
7443
+ var me, je;
7444
7444
  return ae.key ? {
7445
7445
  ...he,
7446
- [ae.key]: (je = (ge = ae.values.split(",")) == null ? void 0 : ge.map((Le) => String(Le || "").trim())) == null ? void 0 : je.filter((Le) => Le !== "")
7446
+ [ae.key]: (je = (me = ae.values.split(",")) == null ? void 0 : me.map((Le) => String(Le || "").trim())) == null ? void 0 : je.filter((Le) => Le !== "")
7447
7447
  } : {
7448
7448
  ...he
7449
7449
  };
7450
- }, {})), (n.fields.activeHealthCheck.type === "https" || n.fields.activeHealthCheck.type === "grpcs") && n.fields.activeHealthCheck.httpsSni && (C.healthchecks.active.https_sni = n.fields.activeHealthCheck.httpsSni), (n.fields.activeHealthCheck.type === "https" || n.fields.activeHealthCheck.type === "grpcs") && (C.healthchecks.active.https_verify_certificate = n.fields.activeHealthCheck.verifySsl), n.fields.activeHealthCheck.interval && (C.healthchecks.active.healthy.interval = Number(n.fields.activeHealthCheck.interval)), n.fields.activeHealthCheck.successes && (C.healthchecks.active.healthy.successes = Number(n.fields.activeHealthCheck.successes)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.httpStatuses && (C.healthchecks.active.healthy.http_statuses = s(n.fields.activeHealthCheck.httpStatuses)), n.fields.activeHealthCheck.unhealthyInterval && (C.healthchecks.active.unhealthy.interval = Number(n.fields.activeHealthCheck.unhealthyInterval)), n.fields.activeHealthCheck.unhealthyTimeouts && (C.healthchecks.active.unhealthy.timeouts = Number(n.fields.activeHealthCheck.unhealthyTimeouts)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.unhealthyHttpStatuses && (C.healthchecks.active.unhealthy.http_statuses = s(n.fields.activeHealthCheck.unhealthyHttpStatuses)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.httpFailures && (C.healthchecks.active.unhealthy.http_failures = Number(n.fields.activeHealthCheck.httpFailures)), n.fields.activeHealthCheck.type === "tcp" && n.fields.activeHealthCheck.tcpFailures && (C.healthchecks.active.unhealthy.tcp_failures = Number(n.fields.activeHealthCheck.tcpFailures))) : ((G = t.config) == null ? void 0 : G.app) === "kongManager" && B.value === Se.Edit && (C.healthchecks.active = {
7450
+ }, {})), (n.fields.activeHealthCheck.type === "https" || n.fields.activeHealthCheck.type === "grpcs") && n.fields.activeHealthCheck.httpsSni && (C.healthchecks.active.https_sni = n.fields.activeHealthCheck.httpsSni), (n.fields.activeHealthCheck.type === "https" || n.fields.activeHealthCheck.type === "grpcs") && (C.healthchecks.active.https_verify_certificate = n.fields.activeHealthCheck.verifySsl), n.fields.activeHealthCheck.interval && (C.healthchecks.active.healthy.interval = Number(n.fields.activeHealthCheck.interval)), n.fields.activeHealthCheck.successes && (C.healthchecks.active.healthy.successes = Number(n.fields.activeHealthCheck.successes)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.httpStatuses && (C.healthchecks.active.healthy.http_statuses = s(n.fields.activeHealthCheck.httpStatuses)), n.fields.activeHealthCheck.unhealthyInterval && (C.healthchecks.active.unhealthy.interval = Number(n.fields.activeHealthCheck.unhealthyInterval)), n.fields.activeHealthCheck.unhealthyTimeouts && (C.healthchecks.active.unhealthy.timeouts = Number(n.fields.activeHealthCheck.unhealthyTimeouts)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.unhealthyHttpStatuses && (C.healthchecks.active.unhealthy.http_statuses = s(n.fields.activeHealthCheck.unhealthyHttpStatuses)), n.fields.activeHealthCheck.type !== "tcp" && n.fields.activeHealthCheck.httpFailures && (C.healthchecks.active.unhealthy.http_failures = Number(n.fields.activeHealthCheck.httpFailures)), n.fields.activeHealthCheck.tcpFailures && (C.healthchecks.active.unhealthy.tcp_failures = Number(n.fields.activeHealthCheck.tcpFailures))) : ((G = t.config) == null ? void 0 : G.app) === "kongManager" && K.value === Se.Edit && (C.healthchecks.active = {
7451
7451
  type: n.fields.activeHealthCheck.type,
7452
7452
  headers: {},
7453
7453
  healthy: {
@@ -7460,7 +7460,7 @@ const Fe = {
7460
7460
  type: n.fields.passiveHealthCheck.type,
7461
7461
  healthy: {},
7462
7462
  unhealthy: {}
7463
- }, n.fields.passiveHealthCheck.successes && (C.healthchecks.passive.healthy.successes = Number(n.fields.passiveHealthCheck.successes)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.httpStatuses && (C.healthchecks.passive.healthy.http_statuses = s(n.fields.passiveHealthCheck.httpStatuses)), n.fields.passiveHealthCheck.timeouts && (C.healthchecks.passive.unhealthy.timeouts = Number(n.fields.passiveHealthCheck.timeouts)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.unhealthyHttpStatuses && (C.healthchecks.passive.unhealthy.http_statuses = s(n.fields.passiveHealthCheck.unhealthyHttpStatuses)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.httpFailures && (C.healthchecks.passive.unhealthy.http_failures = Number(n.fields.passiveHealthCheck.httpFailures)), n.fields.passiveHealthCheck.type === "tcp" && n.fields.passiveHealthCheck.tcpFailures && (C.healthchecks.passive.unhealthy.tcp_failures = Number(n.fields.passiveHealthCheck.tcpFailures))) : ((se = t.config) == null ? void 0 : se.app) === "kongManager" && B.value === Se.Edit && (C.healthchecks.passive = {
7463
+ }, n.fields.passiveHealthCheck.successes && (C.healthchecks.passive.healthy.successes = Number(n.fields.passiveHealthCheck.successes)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.httpStatuses && (C.healthchecks.passive.healthy.http_statuses = s(n.fields.passiveHealthCheck.httpStatuses)), n.fields.passiveHealthCheck.timeouts && (C.healthchecks.passive.unhealthy.timeouts = Number(n.fields.passiveHealthCheck.timeouts)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.unhealthyHttpStatuses && (C.healthchecks.passive.unhealthy.http_statuses = s(n.fields.passiveHealthCheck.unhealthyHttpStatuses)), n.fields.passiveHealthCheck.type !== "tcp" && n.fields.passiveHealthCheck.httpFailures && (C.healthchecks.passive.unhealthy.http_failures = Number(n.fields.passiveHealthCheck.httpFailures)), n.fields.passiveHealthCheck.tcpFailures && (C.healthchecks.passive.unhealthy.tcp_failures = Number(n.fields.passiveHealthCheck.tcpFailures))) : ((se = t.config) == null ? void 0 : se.app) === "kongManager" && K.value === Se.Edit && (C.healthchecks.passive = {
7464
7464
  type: n.fields.passiveHealthCheck.type,
7465
7465
  healthy: {
7466
7466
  successes: 0
@@ -7480,14 +7480,14 @@ const Fe = {
7480
7480
  try {
7481
7481
  n.readonly = !0, await h.post(P("validate"), ue.value);
7482
7482
  let b;
7483
- B.value === Se.Create ? b = await h.post(P("create"), ue.value) : B.value === Se.Edit && (b = ((C = t.config) == null ? void 0 : C.app) === "konnect" ? await h.put(P("edit"), ue.value) : await h.patch(P("edit"), ue.value)), l("update", b == null ? void 0 : b.data);
7483
+ K.value === Se.Create ? b = await h.post(P("create"), ue.value) : K.value === Se.Edit && (b = ((C = t.config) == null ? void 0 : C.app) === "konnect" ? await h.put(P("edit"), ue.value) : await h.patch(P("edit"), ue.value)), l("update", b == null ? void 0 : b.data);
7484
7484
  } catch (b) {
7485
7485
  n.errorMessage = p(b), l("error", b);
7486
7486
  } finally {
7487
7487
  n.readonly = !1;
7488
7488
  }
7489
7489
  };
7490
- return (C, b) => (k(), j("div", ud, [
7490
+ return (C, b) => (k(), B("div", ud, [
7491
7491
  y(u(Pr), {
7492
7492
  "can-submit": M.value && H.value,
7493
7493
  config: e.config,
@@ -7615,7 +7615,7 @@ const Fe = {
7615
7615
  }, 8, ["can-submit", "config", "edit-id", "error-message", "fetch-url", "form-fields", "is-readonly"])
7616
7616
  ]));
7617
7617
  }
7618
- }), Ad = /* @__PURE__ */ Ue(cd, [["__scopeId", "data-v-48733e0e"]]), dd = /* @__PURE__ */ x("code", null, "10", -1), hd = /* @__PURE__ */ x("code", null, "65536", -1), pd = { "data-testid": "client_certificate-plain-text" }, Hd = /* @__PURE__ */ X({
7618
+ }), Ad = /* @__PURE__ */ Ue(cd, [["__scopeId", "data-v-7bc8fc19"]]), dd = /* @__PURE__ */ x("code", null, "10", -1), hd = /* @__PURE__ */ x("code", null, "65536", -1), pd = { "data-testid": "client_certificate-plain-text" }, Hd = /* @__PURE__ */ X({
7619
7619
  __name: "UpstreamsConfigCard",
7620
7620
  props: {
7621
7621
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -7716,7 +7716,7 @@ const Fe = {
7716
7716
  tooltip: t("upstreams.form.hash_tooltips.client_certificate")
7717
7717
  }
7718
7718
  });
7719
- return (c, o) => (k(), j("div", null, [
7719
+ return (c, o) => (k(), B("div", null, [
7720
7720
  y(u(fu), {
7721
7721
  config: e.config,
7722
7722
  "config-card-doc": e.configCardDoc,