@kong-ui-public/entities-gateway-services 3.3.2 → 3.3.3

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 ee, computed as x, openBlock as v, createBlock as P, resolveDynamicComponent as _e, normalizeStyle as Pe, withCtx as b, createElementBlock as I, toDisplayString as $, createCommentVNode as H, pushScopeId as De, popScopeId as ze, createElementVNode as E, ref as q, resolveComponent as R, Teleport as ui, createVNode as k, unref as f, createTextVNode as J, watch as Ce, renderSlot as ie, onBeforeMount as It, createSlots as Ke, renderList as ye, withModifiers as Le, withDirectives as xe, vShow as Ae, Fragment as he, normalizeClass as Te, withKeys as fr, useSlots as Tt, useCssVars as di, inject as gr, onMounted as pi, onUnmounted as mr, normalizeProps as yr, guardReactiveProps as vr, mergeProps as hr, reactive as qt } from "vue";
1
+ import { defineComponent as ee, computed as x, openBlock as v, createBlock as P, resolveDynamicComponent as _e, normalizeStyle as Pe, withCtx as b, createElementBlock as I, toDisplayString as $, createCommentVNode as H, pushScopeId as De, popScopeId as ze, createElementVNode as E, ref as q, resolveComponent as R, Teleport as ui, createVNode as k, unref as f, createTextVNode as G, watch as Ce, renderSlot as ie, onBeforeMount as It, createSlots as Ke, renderList as ye, withModifiers as Le, withDirectives as xe, vShow as Ae, Fragment as he, normalizeClass as Te, withKeys as fr, useSlots as Tt, useCssVars as di, inject as gr, onMounted as pi, onUnmounted as mr, normalizeProps as yr, guardReactiveProps as vr, mergeProps as hr, reactive as qt } from "vue";
2
2
  import { useRouter as $t } from "vue-router";
3
3
  import { createI18n as fi, i18nTComponent as gi } from "@kong-ui-public/i18n";
4
4
  import Lt from "axios";
@@ -8,7 +8,7 @@ const Ut = "24px", wr = (e, t) => {
8
8
  for (const [a, r] of t)
9
9
  i[a] = r;
10
10
  return i;
11
- }, _r = (e) => (De("data-v-1d2a8d30"), e = e(), ze(), e), kr = ["aria-hidden"], Cr = {
11
+ }, _r = (e) => (De("data-v-f89f0eca"), e = e(), ze(), e), kr = ["aria-hidden"], Cr = {
12
12
  key: 0,
13
13
  "data-testid": "kui-icon-svg-title"
14
14
  }, Sr = /* @__PURE__ */ _r(() => /* @__PURE__ */ E("path", {
@@ -107,7 +107,7 @@ const Ut = "24px", wr = (e, t) => {
107
107
  _: 1
108
108
  }, 8, ["aria-hidden", "style"]));
109
109
  }
110
- }), Ar = /* @__PURE__ */ wr(xr, [["__scopeId", "data-v-1d2a8d30"]]), Ir = {
110
+ }), Ar = /* @__PURE__ */ wr(xr, [["__scopeId", "data-v-f89f0eca"]]), Ir = {
111
111
  create: "New Gateway Service",
112
112
  serverless_create: "Add a Service",
113
113
  copy_id: "Copy ID",
@@ -500,10 +500,10 @@ const Br = {
500
500
  fetch: "Could not fetch available items",
501
501
  invalid: "Please select a valid value"
502
502
  }
503
- }, Gr = {
503
+ }, Jr = {
504
504
  unexpected: "An unexpected error has occurred",
505
505
  dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
506
- }, Jr = {
506
+ }, Gr = {
507
507
  utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
508
508
  }, Wr = {
509
509
  enable: {
@@ -524,8 +524,8 @@ const Br = {
524
524
  baseConfigCard: Dr,
525
525
  filter: zr,
526
526
  debouncedFilter: Hr,
527
- errors: Gr,
528
- validationErrors: Jr,
527
+ errors: Jr,
528
+ validationErrors: Gr,
529
529
  toggleModal: Wr
530
530
  };
531
531
  function gt() {
@@ -928,7 +928,7 @@ const ne = {
928
928
  onClick: a[0] || (a[0] = (n) => i.$emit("navigation-click", e.item))
929
929
  }, {
930
930
  default: b(() => [
931
- J($(e.item.value || f(t)("baseConfigCard.commonFields.link")), 1)
931
+ G($(e.item.value || f(t)("baseConfigCard.commonFields.link")), 1)
932
932
  ]),
933
933
  _: 1
934
934
  })
@@ -951,7 +951,7 @@ const ne = {
951
951
  appearance: e.status ? "success" : "neutral"
952
952
  }, {
953
953
  default: b(() => [
954
- J($(e.status ? f(t)("baseConfigCard.statusBadge.enabledLabel") : f(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
954
+ G($(e.status ? f(t)("baseConfigCard.statusBadge.enabledLabel") : f(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
955
955
  ]),
956
956
  _: 1
957
957
  }, 8, ["appearance"]);
@@ -1107,7 +1107,7 @@ const ne = {
1107
1107
  ie(A.$slots, "label", { item: e.item }, () => [
1108
1108
  k(C, { "tooltip-attributes": { maxWidth: "500px" } }, Ke({
1109
1109
  default: b(() => [
1110
- J($(e.item.label) + " ", 1)
1110
+ G($(e.item.label) + " ", 1)
1111
1111
  ]),
1112
1112
  _: 2
1113
1113
  }, [
@@ -1118,7 +1118,7 @@ const ne = {
1118
1118
  "data-testid": `${e.item.key}-label-tooltip`
1119
1119
  }, [
1120
1120
  ie(A.$slots, "label-tooltip", {}, () => [
1121
- J($(e.item.tooltip), 1)
1121
+ G($(e.item.tooltip), 1)
1122
1122
  ], !0)
1123
1123
  ], 8, Ca)
1124
1124
  ]),
@@ -1149,7 +1149,7 @@ const ne = {
1149
1149
  "truncation-tooltip": ""
1150
1150
  }, {
1151
1151
  default: b(() => [
1152
- J($(s), 1)
1152
+ G($(s), 1)
1153
1153
  ]),
1154
1154
  _: 2
1155
1155
  }, 1032, ["data-testid", "tooltip"]))), 128))
@@ -1176,7 +1176,7 @@ const ne = {
1176
1176
  "data-testid": `${e.item.key}-badge-method-${S}`
1177
1177
  }, {
1178
1178
  default: b(() => [
1179
- J($(s), 1)
1179
+ G($(s), 1)
1180
1180
  ]),
1181
1181
  _: 2
1182
1182
  }, 1032, ["appearance", "data-testid"]))), 128))
@@ -1265,7 +1265,7 @@ const ne = {
1265
1265
  appearance: t.requestMethod
1266
1266
  }, {
1267
1267
  default: b(() => [
1268
- J($(t.requestMethod), 1)
1268
+ G($(t.requestMethod), 1)
1269
1269
  ]),
1270
1270
  _: 1
1271
1271
  }, 8, ["appearance"]),
@@ -1379,7 +1379,7 @@ function Ha(e, t) {
1379
1379
  `;
1380
1380
  return c.replace(/\n$/, "");
1381
1381
  }
1382
- var Ga = Ha, Ja = [
1382
+ var Ja = Ha, Ga = [
1383
1383
  "kind",
1384
1384
  "multi",
1385
1385
  "resolve",
@@ -1405,7 +1405,7 @@ function Za(e) {
1405
1405
  }
1406
1406
  function Ya(e, t) {
1407
1407
  if (t = t || {}, Object.keys(t).forEach(function(i) {
1408
- if (Ja.indexOf(i) === -1)
1408
+ if (Ga.indexOf(i) === -1)
1409
1409
  throw new de('Unknown option "' + i + '" is met in definition of "' + e + '" YAML type.');
1410
1410
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
1411
1411
  return !0;
@@ -1877,8 +1877,8 @@ var Pi = new se("tag:yaml.org,2002:set", {
1877
1877
  Ri,
1878
1878
  Pi
1879
1879
  ]
1880
- }), $e = Object.prototype.hasOwnProperty, ct = 1, Di = 2, zi = 3, ut = 4, wt = 1, Vo = 2, Gt = 3, qo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lo = /[\x85\u2028\u2029]/, Uo = /[,\[\]\{\}]/, Hi = /^(?:!|!!|![a-z\-]+!)$/i, Gi = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1881
- function Jt(e) {
1880
+ }), $e = Object.prototype.hasOwnProperty, ct = 1, Di = 2, zi = 3, ut = 4, wt = 1, Vo = 2, Jt = 3, qo = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lo = /[\x85\u2028\u2029]/, Uo = /[,\[\]\{\}]/, Hi = /^(?:!|!!|![a-z\-]+!)$/i, Ji = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1881
+ function Gt(e) {
1882
1882
  return Object.prototype.toString.call(e);
1883
1883
  }
1884
1884
  function be(e) {
@@ -1913,9 +1913,9 @@ function Po(e) {
1913
1913
  (e - 65536 & 1023) + 56320
1914
1914
  );
1915
1915
  }
1916
- var Ji = new Array(256), Wi = new Array(256);
1916
+ var Gi = new Array(256), Wi = new Array(256);
1917
1917
  for (var Ve = 0; Ve < 256; Ve++)
1918
- Ji[Ve] = Wt(Ve) ? 1 : 0, Wi[Ve] = Wt(Ve);
1918
+ Gi[Ve] = Wt(Ve) ? 1 : 0, Wi[Ve] = Wt(Ve);
1919
1919
  function Do(e, t) {
1920
1920
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || Ot, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1921
1921
  }
@@ -1928,7 +1928,7 @@ function Zi(e, t) {
1928
1928
  line: e.line,
1929
1929
  column: e.position - e.lineStart
1930
1930
  };
1931
- return i.snippet = Ga(i), new de(t, i);
1931
+ return i.snippet = Ja(i), new de(t, i);
1932
1932
  }
1933
1933
  function F(e, t) {
1934
1934
  throw Zi(e, t);
@@ -1943,7 +1943,7 @@ var Zt = {
1943
1943
  },
1944
1944
  TAG: function(e, t, i) {
1945
1945
  var a, r;
1946
- i.length !== 2 && F(e, "TAG directive accepts exactly two arguments"), a = i[0], r = i[1], Hi.test(a) || F(e, "ill-formed tag handle (first argument) of the TAG directive"), $e.call(e.tagMap, a) && F(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Gi.test(r) || F(e, "ill-formed tag prefix (second argument) of the TAG directive");
1946
+ i.length !== 2 && F(e, "TAG directive accepts exactly two arguments"), a = i[0], r = i[1], Hi.test(a) || F(e, "ill-formed tag handle (first argument) of the TAG directive"), $e.call(e.tagMap, a) && F(e, 'there is a previously declared suffix for "' + a + '" tag handle'), Ji.test(r) || F(e, "ill-formed tag prefix (second argument) of the TAG directive");
1947
1947
  try {
1948
1948
  r = decodeURIComponent(r);
1949
1949
  } catch {
@@ -1972,8 +1972,8 @@ function Be(e, t, i, a, r, n, o, c, l) {
1972
1972
  var u, m;
1973
1973
  if (Array.isArray(r))
1974
1974
  for (r = Array.prototype.slice.call(r), u = 0, m = r.length; u < m; u += 1)
1975
- Array.isArray(r[u]) && F(e, "nested arrays are not supported inside keys"), typeof r == "object" && Jt(r[u]) === "[object Object]" && (r[u] = "[object Object]");
1976
- if (typeof r == "object" && Jt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), a === "tag:yaml.org,2002:merge")
1975
+ Array.isArray(r[u]) && F(e, "nested arrays are not supported inside keys"), typeof r == "object" && Gt(r[u]) === "[object Object]" && (r[u] = "[object Object]");
1976
+ if (typeof r == "object" && Gt(r) === "[object Object]" && (r = "[object Object]"), r = String(r), t === null && (t = {}), a === "tag:yaml.org,2002:merge")
1977
1977
  if (Array.isArray(n))
1978
1978
  for (u = 0, m = n.length; u < m; u += 1)
1979
1979
  Yt(e, t, n[u], i);
@@ -2057,7 +2057,7 @@ function Ho(e, t) {
2057
2057
  be(i) ? (Ie(e, a, r, !0), Et(e, re(e, !1, t)), a = r = e.position) : e.position === e.lineStart && mt(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
2058
2058
  F(e, "unexpected end of the stream within a single quoted scalar");
2059
2059
  }
2060
- function Go(e, t) {
2060
+ function Jo(e, t) {
2061
2061
  var i, a, r, n, o, c;
2062
2062
  if (c = e.input.charCodeAt(e.position), c !== 34)
2063
2063
  return !1;
@@ -2067,7 +2067,7 @@ function Go(e, t) {
2067
2067
  if (c === 92) {
2068
2068
  if (Ie(e, i, e.position, !0), c = e.input.charCodeAt(++e.position), be(c))
2069
2069
  re(e, !1, t);
2070
- else if (c < 256 && Ji[c])
2070
+ else if (c < 256 && Gi[c])
2071
2071
  e.result += Wi[c], e.position++;
2072
2072
  else if ((o = Ko(c)) > 0) {
2073
2073
  for (r = o, n = 0; r > 0; r--)
@@ -2081,7 +2081,7 @@ function Go(e, t) {
2081
2081
  }
2082
2082
  F(e, "unexpected end of the stream within a double quoted scalar");
2083
2083
  }
2084
- function Jo(e, t) {
2084
+ function Go(e, t) {
2085
2085
  var i = !0, a, r, n, o = e.tag, c, l = e.anchor, u, m, p, _, h, A = /* @__PURE__ */ Object.create(null), O, C, K, N;
2086
2086
  if (N = e.input.charCodeAt(e.position), N === 91)
2087
2087
  m = 93, h = !1, c = [];
@@ -2106,7 +2106,7 @@ function Wo(e, t) {
2106
2106
  return !1;
2107
2107
  for (e.kind = "scalar", e.result = ""; p !== 0; )
2108
2108
  if (p = e.input.charCodeAt(++e.position), p === 43 || p === 45)
2109
- wt === r ? r = p === 43 ? Gt : Vo : F(e, "repeat of a chomping mode identifier");
2109
+ wt === r ? r = p === 43 ? Jt : Vo : F(e, "repeat of a chomping mode identifier");
2110
2110
  else if ((m = Ro(p)) >= 0)
2111
2111
  m === 0 ? F(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? F(e, "repeat of an indentation width identifier") : (c = t + m - 1, o = !0);
2112
2112
  else
@@ -2128,7 +2128,7 @@ function Wo(e, t) {
2128
2128
  continue;
2129
2129
  }
2130
2130
  if (e.lineIndent < c) {
2131
- r === Gt ? e.result += oe.repeat(`
2131
+ r === Jt ? e.result += oe.repeat(`
2132
2132
  `, n ? 1 + l : l) : r === wt && n && (e.result += `
2133
2133
  `);
2134
2134
  break;
@@ -2204,7 +2204,7 @@ function Yo(e) {
2204
2204
  o === 33 && (a ? F(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), Hi.test(r) || F(e, "named tag handle cannot contain such characters"), a = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
2205
2205
  n = e.input.slice(t, e.position), Uo.test(n) && F(e, "tag suffix cannot contain flow indicator characters");
2206
2206
  }
2207
- n && !Gi.test(n) && F(e, "tag name cannot contain such characters: " + n);
2207
+ n && !Ji.test(n) && F(e, "tag name cannot contain such characters: " + n);
2208
2208
  try {
2209
2209
  n = decodeURIComponent(n);
2210
2210
  } catch {
@@ -2233,7 +2233,7 @@ function Re(e, t, i, a, r) {
2233
2233
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, n = o = c = ut === i || zi === i, a && re(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
2234
2234
  for (; Yo(e) || Qo(e); )
2235
2235
  re(e, !0, -1) ? (u = !0, c = n, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : c = !1;
2236
- if (c && (c = u || r), (l === 1 || ut === i) && (ct === i || Di === i ? O = t : O = t + 1, C = e.position - e.lineStart, l === 1 ? c && (Qt(e, C) || Zo(e, C, O)) || Jo(e, O) ? m = !0 : (o && Wo(e, O) || Ho(e, O) || Go(e, O) ? m = !0 : Xo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && F(e, "alias node should not have any properties")) : zo(e, O, ct === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = c && Qt(e, C))), e.tag === null)
2236
+ if (c && (c = u || r), (l === 1 || ut === i) && (ct === i || Di === i ? O = t : O = t + 1, C = e.position - e.lineStart, l === 1 ? c && (Qt(e, C) || Zo(e, C, O)) || Go(e, O) ? m = !0 : (o && Wo(e, O) || Ho(e, O) || Jo(e, O) ? m = !0 : Xo(e) ? (m = !0, (e.tag !== null || e.anchor !== null) && F(e, "alias node should not have any properties")) : zo(e, O, ct === i) && (m = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (m = c && Qt(e, C))), e.tag === null)
2237
2237
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2238
2238
  else if (e.tag === "?") {
2239
2239
  for (e.result !== null && e.kind !== "scalar" && F(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), p = 0, _ = e.implicitTypes.length; p < _; p += 1)
@@ -2626,7 +2626,7 @@ function Vt(e, t) {
2626
2626
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2627
2627
  };
2628
2628
  }
2629
- var Rn = se, Pn = xi, Dn = $i, zn = Ei, Hn = Fi, Gn = Ot, Jn = Qi.load, Wn = Qi.loadAll, Zn = Kn.dump, Yn = de, Qn = {
2629
+ var Rn = se, Pn = xi, Dn = $i, zn = Ei, Hn = Fi, Jn = Ot, Gn = Qi.load, Wn = Qi.loadAll, Zn = Kn.dump, Yn = de, Qn = {
2630
2630
  binary: Bi,
2631
2631
  float: Mi,
2632
2632
  map: Ti,
@@ -2646,8 +2646,8 @@ var Rn = se, Pn = xi, Dn = $i, zn = Ei, Hn = Fi, Gn = Ot, Jn = Qi.load, Wn = Qi.
2646
2646
  FAILSAFE_SCHEMA: Dn,
2647
2647
  JSON_SCHEMA: zn,
2648
2648
  CORE_SCHEMA: Hn,
2649
- DEFAULT_SCHEMA: Gn,
2650
- load: Jn,
2649
+ DEFAULT_SCHEMA: Jn,
2650
+ load: Gn,
2651
2651
  loadAll: Wn,
2652
2652
  dump: Zn,
2653
2653
  YAMLException: Yn,
@@ -2785,7 +2785,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2785
2785
  for (const [a, r] of t)
2786
2786
  i[a] = r;
2787
2787
  return i;
2788
- }, cl = (e) => (De("data-v-1d2a8d30"), e = e(), ze(), e), ul = ["aria-hidden"], dl = {
2788
+ }, cl = (e) => (De("data-v-f89f0eca"), e = e(), ze(), e), ul = ["aria-hidden"], dl = {
2789
2789
  key: 0,
2790
2790
  "data-testid": "kui-icon-svg-title"
2791
2791
  }, pl = /* @__PURE__ */ cl(() => /* @__PURE__ */ E("path", {
@@ -2884,7 +2884,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2884
2884
  _: 1
2885
2885
  }, 8, ["aria-hidden", "style"]));
2886
2886
  }
2887
- }), gl = /* @__PURE__ */ rt(fl, [["__scopeId", "data-v-1d2a8d30"]]), ml = (e) => (De("data-v-929b4762"), e = e(), ze(), e), yl = ["aria-hidden"], vl = {
2887
+ }), gl = /* @__PURE__ */ rt(fl, [["__scopeId", "data-v-f89f0eca"]]), ml = (e) => (De("data-v-04be5bd5"), e = e(), ze(), e), yl = ["aria-hidden"], vl = {
2888
2888
  key: 0,
2889
2889
  "data-testid": "kui-icon-svg-title"
2890
2890
  }, hl = /* @__PURE__ */ ml(() => /* @__PURE__ */ E("path", {
@@ -2983,7 +2983,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
2983
2983
  _: 1
2984
2984
  }, 8, ["aria-hidden", "style"]));
2985
2985
  }
2986
- }), wl = /* @__PURE__ */ rt(bl, [["__scopeId", "data-v-929b4762"]]), _l = (e) => (De("data-v-219f8484"), e = e(), ze(), e), kl = ["aria-hidden"], Cl = {
2986
+ }), wl = /* @__PURE__ */ rt(bl, [["__scopeId", "data-v-04be5bd5"]]), _l = (e) => (De("data-v-5cdeb7d0"), e = e(), ze(), e), kl = ["aria-hidden"], Cl = {
2987
2987
  key: 0,
2988
2988
  "data-testid": "kui-icon-svg-title"
2989
2989
  }, Sl = /* @__PURE__ */ _l(() => /* @__PURE__ */ E("path", {
@@ -3082,7 +3082,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3082
3082
  _: 1
3083
3083
  }, 8, ["aria-hidden", "style"]));
3084
3084
  }
3085
- }), Al = /* @__PURE__ */ rt(xl, [["__scopeId", "data-v-219f8484"]]), Il = (e) => (De("data-v-ed11facd"), e = e(), ze(), e), Tl = ["aria-hidden"], $l = {
3085
+ }), Al = /* @__PURE__ */ rt(xl, [["__scopeId", "data-v-5cdeb7d0"]]), Il = (e) => (De("data-v-8d5fae6f"), e = e(), ze(), e), Tl = ["aria-hidden"], $l = {
3086
3086
  key: 0,
3087
3087
  "data-testid": "kui-icon-svg-title"
3088
3088
  }, Nl = /* @__PURE__ */ Il(() => /* @__PURE__ */ E("path", {
@@ -3181,7 +3181,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3181
3181
  _: 1
3182
3182
  }, 8, ["aria-hidden", "style"]));
3183
3183
  }
3184
- }), Ol = /* @__PURE__ */ rt(jl, [["__scopeId", "data-v-ed11facd"]]), Ml = (e) => (De("data-v-cf4e7d0b"), e = e(), ze(), e), El = ["aria-hidden"], Fl = {
3184
+ }), Ol = /* @__PURE__ */ rt(jl, [["__scopeId", "data-v-8d5fae6f"]]), Ml = (e) => (De("data-v-032e3956"), e = e(), ze(), e), El = ["aria-hidden"], Fl = {
3185
3185
  key: 0,
3186
3186
  "data-testid": "kui-icon-svg-title"
3187
3187
  }, Vl = /* @__PURE__ */ Ml(() => /* @__PURE__ */ E("path", {
@@ -3280,7 +3280,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3280
3280
  _: 1
3281
3281
  }, 8, ["aria-hidden", "style"]));
3282
3282
  }
3283
- }), Ll = /* @__PURE__ */ rt(ql, [["__scopeId", "data-v-cf4e7d0b"]]), Ul = {
3283
+ }), Ll = /* @__PURE__ */ rt(ql, [["__scopeId", "data-v-032e3956"]]), Ul = {
3284
3284
  class: "config-card-title",
3285
3285
  "data-testid": "config-card-title"
3286
3286
  }, Bl = { class: "config-card-actions" }, Kl = ["href"], Rl = { class: "config-card-details-section" }, Pl = /* @__PURE__ */ ee({
@@ -3513,7 +3513,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3513
3513
  "data-testid": "config-format-select-label"
3514
3514
  }, {
3515
3515
  default: b(() => [
3516
- J($(e.label), 1)
3516
+ G($(e.label), 1)
3517
3517
  ]),
3518
3518
  _: 1
3519
3519
  }),
@@ -3585,7 +3585,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3585
3585
  fn: b(() => [
3586
3586
  E("span", Ul, [
3587
3587
  ie(y.$slots, "title", {}, () => [
3588
- J($(f(n)("baseConfigCard.title")), 1)
3588
+ G($(f(n)("baseConfigCard.title")), 1)
3589
3589
  ], !0)
3590
3590
  ])
3591
3591
  ]),
@@ -3597,7 +3597,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3597
3597
  }), Dl = /* @__PURE__ */ ve(Pl, [["__scopeId", "data-v-f40a683b"]]), zl = ["novalidate"], Hl = {
3598
3598
  class: "form-actions",
3599
3599
  "data-testid": "form-actions"
3600
- }, Gl = /* @__PURE__ */ ee({
3600
+ }, Jl = /* @__PURE__ */ ee({
3601
3601
  __name: "EntityBaseForm",
3602
3602
  props: {
3603
3603
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3742,7 +3742,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3742
3742
  onClick: S[0] || (S[0] = (V) => O())
3743
3743
  }, {
3744
3744
  default: b(() => [
3745
- J($(f(o)("baseForm.actions.viewConfiguration")), 1)
3745
+ G($(f(o)("baseForm.actions.viewConfiguration")), 1)
3746
3746
  ]),
3747
3747
  _: 1
3748
3748
  }),
@@ -3753,7 +3753,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3753
3753
  type: "reset"
3754
3754
  }, {
3755
3755
  default: b(() => [
3756
- J($(f(o)("baseForm.actions.cancel")), 1)
3756
+ G($(f(o)("baseForm.actions.cancel")), 1)
3757
3757
  ]),
3758
3758
  _: 1
3759
3759
  }, 8, ["disabled"]),
@@ -3764,7 +3764,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3764
3764
  type: "submit"
3765
3765
  }, {
3766
3766
  default: b(() => [
3767
- J($(f(o)("baseForm.actions.save")), 1)
3767
+ G($(f(o)("baseForm.actions.save")), 1)
3768
3768
  ]),
3769
3769
  _: 1
3770
3770
  }, 8, ["disabled"])
@@ -3809,7 +3809,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
3809
3809
  });
3810
3810
  };
3811
3811
  }
3812
- }), Jl = /* @__PURE__ */ ve(Gl, [["__scopeId", "data-v-fd05df8e"]]), Wl = ["data-truncate"], Zl = /* @__PURE__ */ ee({
3812
+ }), Gl = /* @__PURE__ */ ve(Jl, [["__scopeId", "data-v-fd05df8e"]]), Wl = ["data-truncate"], Zl = /* @__PURE__ */ ee({
3813
3813
  __name: "EntityBaseTableCell",
3814
3814
  props: {
3815
3815
  keyName: {
@@ -4173,7 +4173,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4173
4173
  rowKey: pe,
4174
4174
  rowValue: fe
4175
4175
  }, () => [
4176
- J($(fe), 1)
4176
+ G($(fe), 1)
4177
4177
  ], !0)
4178
4178
  ]),
4179
4179
  _: 2
@@ -4260,7 +4260,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4260
4260
  e.error ? (v(), I("div", rs, [
4261
4261
  k(m, { appearance: "danger" }, {
4262
4262
  default: b(() => [
4263
- J($(e.error), 1)
4263
+ G($(e.error), 1)
4264
4264
  ]),
4265
4265
  _: 1
4266
4266
  })
@@ -4271,7 +4271,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4271
4271
  tag: "p"
4272
4272
  }, Ke({
4273
4273
  entityType: b(() => [
4274
- J($(a.entityType), 1)
4274
+ G($(a.entityType), 1)
4275
4275
  ]),
4276
4276
  _: 2
4277
4277
  }, [
@@ -4435,7 +4435,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4435
4435
  }, {
4436
4436
  default: b(() => [
4437
4437
  k(li),
4438
- J(" " + $(f(i)("filter.filterButtonText")) + " " + $(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4438
+ G(" " + $(f(i)("filter.filterButtonText")) + " " + $(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
4439
4439
  ]),
4440
4440
  _: 1
4441
4441
  }),
@@ -4460,7 +4460,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4460
4460
  onClick: (V) => p(j.value),
4461
4461
  onKeydown: fr((V) => p(j.value), ["enter"])
4462
4462
  }, [
4463
- J($(j.label) + " ", 1),
4463
+ G($(j.label) + " ", 1),
4464
4464
  xe(E("span", ys, null, 512), [
4465
4465
  [Ae, l.value.includes(j.value)]
4466
4466
  ]),
@@ -4501,7 +4501,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4501
4501
  onClick: S[0] || (S[0] = (V) => Y(!0))
4502
4502
  }, {
4503
4503
  default: b(() => [
4504
- J($(f(i)("filter.applyButtonText")), 1)
4504
+ G($(f(i)("filter.applyButtonText")), 1)
4505
4505
  ]),
4506
4506
  _: 1
4507
4507
  }),
@@ -4512,7 +4512,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4512
4512
  onClick: (V) => K(j.value)
4513
4513
  }, {
4514
4514
  default: b(() => [
4515
- J($(f(i)("filter.clearButtonText")), 1)
4515
+ G($(f(i)("filter.clearButtonText")), 1)
4516
4516
  ]),
4517
4517
  _: 2
4518
4518
  }, 1032, ["onClick"])
@@ -4528,7 +4528,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4528
4528
  onClick: N
4529
4529
  }, {
4530
4530
  default: b(() => [
4531
- J($(f(i)("filter.clearAllButtonText")), 1)
4531
+ G($(f(i)("filter.clearAllButtonText")), 1)
4532
4532
  ]),
4533
4533
  _: 1
4534
4534
  })
@@ -4605,7 +4605,7 @@ const rl = { class: "yaml-config" }, ur = /* @__PURE__ */ ee({
4605
4605
  scope: "global"
4606
4606
  }, {
4607
4607
  entityType: b(() => [
4608
- J($(e.entityType), 1)
4608
+ G($(e.entityType), 1)
4609
4609
  ]),
4610
4610
  entityName: b(() => [
4611
4611
  E("strong", null, $(e.entityName), 1)
@@ -4730,7 +4730,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4730
4730
  class: "form-section-title"
4731
4731
  }, {
4732
4732
  default: b(() => [
4733
- J($(e.title), 1)
4733
+ G($(e.title), 1)
4734
4734
  ]),
4735
4735
  _: 1
4736
4736
  }, 8, ["id"])) : H("", !0),
@@ -4821,10 +4821,10 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4821
4821
  isExactMatch: g,
4822
4822
  placeholder: r(`search.placeholder.${a.config.app}`)
4823
4823
  };
4824
- const { name: M, enabled: D, protocol: G, host: X, port: w, path: ke } = u;
4824
+ const { name: M, enabled: D, protocol: J, host: X, port: w, path: ke } = u;
4825
4825
  return {
4826
4826
  isExactMatch: g,
4827
- fields: { name: M, enabled: D, protocol: G, host: X, port: w, path: ke },
4827
+ fields: { name: M, enabled: D, protocol: J, host: X, port: w, path: ke },
4828
4828
  schema: a.config.filterSchema
4829
4829
  };
4830
4830
  }), { fetcher: O, fetcherState: C } = qs(a.config, p.value), K = () => {
@@ -4843,8 +4843,8 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4843
4843
  name: ""
4844
4844
  };
4845
4845
  if (y.value) {
4846
- const { enabled: M, id: D, name: G } = y.value;
4847
- g.action = M ? "disable" : "enable", g.id = D, g.name = G || D;
4846
+ const { enabled: M, id: D, name: J } = y.value;
4847
+ g.action = M ? "disable" : "enable", g.id = D, g.name = J || D;
4848
4848
  }
4849
4849
  return g;
4850
4850
  }), U = (g) => {
@@ -4852,8 +4852,8 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4852
4852
  }, j = () => {
4853
4853
  S.value = !1, y.value = null;
4854
4854
  }, z = async () => {
4855
- var G, X;
4856
- if (!await ((G = a.canEdit) == null ? void 0 : G.call(a, y.value)) || !y.value)
4855
+ var J, X;
4856
+ if (!await ((J = a.canEdit) == null ? void 0 : J.call(a, y.value)) || !y.value)
4857
4857
  return;
4858
4858
  const M = `${_.value.href}/${y.value.id}`, D = !y.value.enabled;
4859
4859
  try {
@@ -4902,7 +4902,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4902
4902
  }), fe = (g) => ({
4903
4903
  label: r("actions.edit"),
4904
4904
  to: a.config.getEditRoute(g)
4905
- }), ae = q(void 0), Ne = q(!1), He = q(!1), Ge = q(""), yt = Fs(a.config, p.value), Je = (g) => {
4905
+ }), ae = q(void 0), Ne = q(!1), He = q(!1), Je = q(""), yt = Fs(a.config, p.value), Ge = (g) => {
4906
4906
  ae.value = g, Ne.value = !0;
4907
4907
  }, at = () => {
4908
4908
  Ne.value = !1, ae.value = void 0;
@@ -4912,19 +4912,19 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4912
4912
  He.value = !0;
4913
4913
  try {
4914
4914
  await o.delete(yt(ae.value.id)), i("delete:success", ae.value), at(), c.value++;
4915
- } catch (G) {
4916
- Ge.value = ((D = (M = G.response) == null ? void 0 : M.data) == null ? void 0 : D.message) || G.message || r("errors.delete"), i("error", G);
4915
+ } catch (J) {
4916
+ Je.value = ((D = (M = J.response) == null ? void 0 : M.data) == null ? void 0 : D.message) || J.message || r("errors.delete"), i("error", J);
4917
4917
  } finally {
4918
4918
  He.value = !1;
4919
4919
  }
4920
4920
  }
4921
4921
  }, Ee = q(!0);
4922
4922
  Ce(C, (g) => {
4923
- var M, D, G, X;
4923
+ var M, D, J, X;
4924
4924
  if (Array.isArray((M = g == null ? void 0 : g.response) == null ? void 0 : M.data) && (Ee.value = g.response.data.length > 0), g.status === Oe.Error) {
4925
4925
  Y.value = {
4926
4926
  title: r("errors.general")
4927
- }, (X = (G = (D = g.error) == null ? void 0 : D.response) == null ? void 0 : G.data) != null && X.message && (Y.value.message = g.error.response.data.message), i("error", g.error);
4927
+ }, (X = (J = (D = g.error) == null ? void 0 : D.response) == null ? void 0 : J.data) != null && X.message && (Y.value.message = g.error.response.data.message), i("error", g.error);
4928
4928
  return;
4929
4929
  }
4930
4930
  Y.value = null;
@@ -4933,7 +4933,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4933
4933
  return It(async () => {
4934
4934
  Fe.value = await a.canCreate();
4935
4935
  }), (g, M) => {
4936
- const D = R("KButton"), G = R("KBadge"), X = R("KInputSwitch"), w = R("KTruncate"), ke = R("KDropdownItem"), B = R("KClipboardProvider");
4936
+ const D = R("KButton"), J = R("KBadge"), X = R("KInputSwitch"), w = R("KTruncate"), ke = R("KDropdownItem"), B = R("KClipboardProvider");
4937
4937
  return v(), I("div", Ks, [
4938
4938
  k(f(is), {
4939
4939
  "cache-identifier": e.cacheIdentifier,
@@ -4977,7 +4977,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4977
4977
  }, {
4978
4978
  default: b(() => [
4979
4979
  k(f(Ar)),
4980
- J(" " + $(f(r)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4980
+ G(" " + $(f(r)("gateway_services.list.toolbar_actions.new_gateway_service")), 1)
4981
4981
  ]),
4982
4982
  _: 1
4983
4983
  }, 8, ["to"]), [
@@ -4994,14 +4994,14 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
4994
4994
  control_plane: b(({ row: Z }) => {
4995
4995
  var me;
4996
4996
  return [
4997
- (me = Z.x_meta) != null && me.cluster_id ? (v(), P(G, {
4997
+ (me = Z.x_meta) != null && me.cluster_id ? (v(), P(J, {
4998
4998
  key: 0,
4999
4999
  tooltip: Z.x_meta.cluster_id,
5000
5000
  "truncation-tooltip": "",
5001
5001
  onClick: Le((We) => L(Z.x_meta.cluster_id), ["stop"])
5002
5002
  }, {
5003
5003
  default: b(() => [
5004
- J($(Z.x_meta.cluster_id), 1)
5004
+ G($(Z.x_meta.cluster_id), 1)
5005
5005
  ]),
5006
5006
  _: 2
5007
5007
  }, 1032, ["tooltip", "onClick"])) : (v(), I("b", Rs, "-"))
@@ -5032,13 +5032,13 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5032
5032
  tags: b(({ rowValue: Z }) => [
5033
5033
  (Z == null ? void 0 : Z.length) > 0 ? (v(), P(w, { key: 0 }, {
5034
5034
  default: b(() => [
5035
- (v(!0), I(he, null, ye(Z, (me) => (v(), P(G, {
5035
+ (v(!0), I(he, null, ye(Z, (me) => (v(), P(J, {
5036
5036
  key: me,
5037
5037
  onClick: M[2] || (M[2] = Le(() => {
5038
5038
  }, ["stop"]))
5039
5039
  }, {
5040
5040
  default: b(() => [
5041
- J($(me), 1)
5041
+ G($(me), 1)
5042
5042
  ]),
5043
5043
  _: 2
5044
5044
  }, 1024))), 128))
@@ -5054,7 +5054,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5054
5054
  onClick: (We) => V(Z, me)
5055
5055
  }, {
5056
5056
  default: b(() => [
5057
- J($(f(r)("actions.copy_id")), 1)
5057
+ G($(f(r)("actions.copy_id")), 1)
5058
5058
  ]),
5059
5059
  _: 2
5060
5060
  }, 1032, ["onClick"])
@@ -5068,7 +5068,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5068
5068
  onClick: (We) => W(Z, me)
5069
5069
  }, {
5070
5070
  default: b(() => [
5071
- J($(f(r)("actions.copy_json")), 1)
5071
+ G($(f(r)("actions.copy_json")), 1)
5072
5072
  ]),
5073
5073
  _: 2
5074
5074
  }, 1032, ["onClick"])
@@ -5106,10 +5106,10 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5106
5106
  danger: "",
5107
5107
  "data-testid": "action-entity-delete",
5108
5108
  "has-divider": "",
5109
- onClick: (me) => Je(Z)
5109
+ onClick: (me) => Ge(Z)
5110
5110
  }, {
5111
5111
  default: b(() => [
5112
- J($(f(r)("actions.delete.menu_label")), 1)
5112
+ G($(f(r)("actions.delete.menu_label")), 1)
5113
5113
  ]),
5114
5114
  _: 2
5115
5115
  }, 1032, ["onClick"])
@@ -5134,7 +5134,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5134
5134
  description: f(r)("actions.delete.description"),
5135
5135
  "entity-name": ae.value && (ae.value.name || ae.value.id),
5136
5136
  "entity-type": f(mi).GatewayService,
5137
- error: Ge.value,
5137
+ error: Je.value,
5138
5138
  title: f(r)("actions.delete.title"),
5139
5139
  visible: Ne.value,
5140
5140
  onCancel: at,
@@ -5148,7 +5148,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5148
5148
  for (const [a, r] of t)
5149
5149
  i[a] = r;
5150
5150
  return i;
5151
- }, wc = /* @__PURE__ */ pr(Ds, [["__scopeId", "data-v-34afbc0d"]]), zs = { class: "kong-ui-entities-gateway-service-form" }, Hs = { key: 0 }, Gs = { class: "gateway-service-form-traffic-label" }, Js = { class: "gateway-service-form-margin-bottom" }, Ws = {
5151
+ }, wc = /* @__PURE__ */ pr(Ds, [["__scopeId", "data-v-34afbc0d"]]), zs = { class: "kong-ui-entities-gateway-service-form" }, Hs = { key: 0 }, Js = { class: "gateway-service-form-traffic-label" }, Gs = { class: "gateway-service-form-margin-bottom" }, Ws = {
5152
5152
  key: 0,
5153
5153
  class: "gateway-service-form-group-fields"
5154
5154
  }, Zs = {
@@ -5325,13 +5325,13 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5325
5325
  }, Ne = x(() => O.value && JSON.stringify(s.fields) !== JSON.stringify(S) || C.value === "url" && !!s.fields.url || C.value === "protocol" && !!s.fields.host), He = (d) => {
5326
5326
  var g, M, D;
5327
5327
  s.fields.name = (d == null ? void 0 : d.name) || "", s.fields.tags = ((g = d == null ? void 0 : d.tags) == null ? void 0 : g.join(", ")) || "", s.fields.protocol = (d == null ? void 0 : d.protocol) || "http", s.fields.path = (d == null ? void 0 : d.path) || "", s.fields.read_timeout = d != null && d.read_timeout || (d == null ? void 0 : d.read_timeout) === 0 ? d == null ? void 0 : d.read_timeout : 6e4, s.fields.retries = d != null && d.retries || (d == null ? void 0 : d.retries) === 0 ? d == null ? void 0 : d.retries : 5, s.fields.host = (d == null ? void 0 : d.host) || "", s.fields.connect_timeout = d != null && d.connect_timeout || (d == null ? void 0 : d.connect_timeout) === 0 ? d == null ? void 0 : d.connect_timeout : 6e4, s.fields.tls_verify_enabled = (d == null ? void 0 : d.tls_verify) !== "" && (d == null ? void 0 : d.tls_verify) !== null && (d == null ? void 0 : d.tls_verify) !== void 0, s.fields.tls_verify_value = d != null && d.tls_verify ? d == null ? void 0 : d.tls_verify : !1, s.fields.ca_certificates = ((M = d == null ? void 0 : d.ca_certificates) == null ? void 0 : M.join(",")) || "", s.fields.client_certificate = ((D = d == null ? void 0 : d.client_certificate) == null ? void 0 : D.id) || "", s.fields.write_timeout = d != null && d.write_timeout || (d == null ? void 0 : d.write_timeout) === 0 ? d == null ? void 0 : d.write_timeout : 6e4, s.fields.port = d != null && d.port || (d == null ? void 0 : d.port) === 0 ? d == null ? void 0 : d.port : 80, Object.assign(S, s.fields);
5328
- }, Ge = () => {
5328
+ }, Je = () => {
5329
5329
  o.push(r.config.cancelRoute);
5330
5330
  }, yt = x(() => {
5331
5331
  var g, M;
5332
5332
  let d = `${r.config.apiBaseUrl}${Qe.form[r.config.app].validate}`;
5333
5333
  return r.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (M = r.config) != null && M.workspace ? `/${r.config.workspace}` : "")), d = d.replace(/{id}/gi, r.gatewayServiceId), d;
5334
- }), Je = x(() => {
5334
+ }), Ge = x(() => {
5335
5335
  var g, M;
5336
5336
  let d = `${r.config.apiBaseUrl}${Qe.form[r.config.app][h.value]}`;
5337
5337
  return r.config.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, ((g = r.config) == null ? void 0 : g.controlPlaneId) || "") : r.config.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, (M = r.config) != null && M.workspace ? `/${r.config.workspace}` : "")), d = d.replace(/{id}/gi, r.gatewayServiceId), d;
@@ -5339,7 +5339,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5339
5339
  let g = "";
5340
5340
  d.url && (g = new URL(d.url).protocol), (["https", "wss", "tls"].includes(d.protocol) || ["https", "wss", "tls"].includes(g)) && (d.tls_verify = d.tls_verify_enabled ? d.tls_verify_value : null), delete d.tls_verify_enabled, delete d.tls_verify_value;
5341
5341
  }, je = x(() => {
5342
- var g, M, D, G;
5342
+ var g, M, D, J;
5343
5343
  const d = {
5344
5344
  name: s.fields.name || null,
5345
5345
  tags: s.fields.tags ? (D = (M = (g = s.fields.tags) == null ? void 0 : g.split(",")) == null ? void 0 : M.map((X) => String(X || "").trim())) == null ? void 0 : D.filter((X) => X !== "") : null,
@@ -5351,7 +5351,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5351
5351
  connect_timeout: s.fields.connect_timeout,
5352
5352
  tls_verify_value: s.fields.tls_verify_value,
5353
5353
  tls_verify_enabled: s.fields.tls_verify_enabled,
5354
- ca_certificates: s.fields.ca_certificates ? (G = s.fields.ca_certificates) == null ? void 0 : G.split(",").filter((X) => X !== "") : null,
5354
+ ca_certificates: s.fields.ca_certificates ? (J = s.fields.ca_certificates) == null ? void 0 : J.split(",").filter((X) => X !== "") : null,
5355
5355
  client_certificate: s.fields.client_certificate ? { id: s.fields.client_certificate } : null,
5356
5356
  write_timeout: s.fields.write_timeout,
5357
5357
  port: s.fields.port,
@@ -5362,16 +5362,16 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5362
5362
  var d, g, M, D;
5363
5363
  try {
5364
5364
  s.isReadonly = !0, V();
5365
- const G = je.value;
5366
- at(G);
5365
+ const J = je.value;
5366
+ at(J);
5367
5367
  let X;
5368
- if (await m.post(yt.value, G), h.value === "create" ? X = await m.post(Je.value, G) : h.value === "edit" && (X = ((d = r.config) == null ? void 0 : d.app) === "konnect" ? await m.put(Je.value, G) : await m.patch(Je.value, G)), X) {
5368
+ if (await m.post(yt.value, J), h.value === "create" ? X = await m.post(Ge.value, J) : h.value === "edit" && (X = ((d = r.config) == null ? void 0 : d.app) === "konnect" ? await m.put(Ge.value, J) : await m.patch(Ge.value, J)), X) {
5369
5369
  const { data: w } = X;
5370
5370
  s.fields.name = (w == null ? void 0 : w.name) || "", s.fields.port = w.port || K.getPortFromProtocol(w.protocol), s.fields.protocol = (w == null ? void 0 : w.protocol) || "http", s.fields.host = (w == null ? void 0 : w.host) || "", s.fields.path = (w == null ? void 0 : w.path) || "", s.fields.url = (w == null ? void 0 : w.url) || "", s.fields.retries = w != null && w.retries || (w == null ? void 0 : w.retries) === 0 ? w == null ? void 0 : w.retries : 5, s.fields.connect_timeout = w != null && w.connect_timeout || (w == null ? void 0 : w.connect_timeout) === 0 ? w == null ? void 0 : w.connect_timeout : 6e4, s.fields.write_timeout = w != null && w.write_timeout || (w == null ? void 0 : w.write_timeout) === 0 ? w == null ? void 0 : w.write_timeout : 6e4, s.fields.read_timeout = w != null && w.read_timeout || (w == null ? void 0 : w.read_timeout) === 0 ? w == null ? void 0 : w.read_timeout : 6e4, s.fields.client_certificate = ((g = w == null ? void 0 : w.client_certificate) == null ? void 0 : g.id) || "", s.fields.ca_certificates = (M = w == null ? void 0 : w.ca_certificates) != null && M.length ? w == null ? void 0 : w.ca_certificates.join(",") : "", s.fields.tls_verify_enabled = (w == null ? void 0 : w.tls_verify) !== "" && (w == null ? void 0 : w.tls_verify) !== null && (w == null ? void 0 : w.tls_verify) !== void 0, s.fields.tls_verify_value = s.fields.tls_verify_enabled && (w == null ? void 0 : w.tls_verify), s.fields.tags = (D = w == null ? void 0 : w.tags) != null && D.length ? w.tags.join(", ") : "", Object.assign(S, s.fields), a("update", X == null ? void 0 : X.data);
5371
5371
  }
5372
5372
  return X;
5373
- } catch (G) {
5374
- s.errorMessage = u(G), a("error", G);
5373
+ } catch (J) {
5374
+ s.errorMessage = u(J), a("error", J);
5375
5375
  } finally {
5376
5376
  s.isReadonly = !1;
5377
5377
  }
@@ -5388,9 +5388,9 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5388
5388
  saveFormData: Ee,
5389
5389
  canSubmit: Ne
5390
5390
  }), (d, g) => {
5391
- const M = R("KInput"), D = R("KLabel"), G = R("KRadio"), X = R("KSelect"), w = R("KCheckbox"), ke = R("KCollapse");
5391
+ const M = R("KInput"), D = R("KLabel"), J = R("KRadio"), X = R("KSelect"), w = R("KCheckbox"), ke = R("KCollapse");
5392
5392
  return v(), I("div", zs, [
5393
- k(f(Jl), {
5393
+ k(f(Gl), {
5394
5394
  "can-submit": Ne.value,
5395
5395
  config: e.config,
5396
5396
  "edit-id": e.gatewayServiceId,
@@ -5398,7 +5398,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5398
5398
  "fetch-url": _.value,
5399
5399
  "form-fields": je.value,
5400
5400
  "is-readonly": s.isReadonly,
5401
- onCancel: Ge,
5401
+ onCancel: Je,
5402
5402
  "onFetch:error": g[25] || (g[25] = (B) => d.$emit("error", B)),
5403
5403
  "onFetch:success": He,
5404
5404
  onLoading: g[26] || (g[26] = (B) => d.$emit("loading", B)),
@@ -5407,7 +5407,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5407
5407
  "form-actions": b(() => [
5408
5408
  ie(d.$slots, "form-actions", {
5409
5409
  canSubmit: Ne.value,
5410
- cancel: Ge,
5410
+ cancel: Je,
5411
5411
  submit: Ee
5412
5412
  }, void 0, !0)
5413
5413
  ]),
@@ -5458,16 +5458,16 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5458
5458
  }, {
5459
5459
  default: b(() => [
5460
5460
  O.value ? H("", !0) : (v(), I("div", Hs, [
5461
- E("div", Gs, [
5461
+ E("div", Js, [
5462
5462
  k(D, { required: "" }, {
5463
5463
  default: b(() => [
5464
- J($(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
5464
+ G($(f(l)("gateway_services.form.sections.keys.checkedGroupLabel")), 1)
5465
5465
  ]),
5466
5466
  _: 1
5467
5467
  })
5468
5468
  ]),
5469
- E("div", Js, [
5470
- k(G, {
5469
+ E("div", Gs, [
5470
+ k(J, {
5471
5471
  modelValue: C.value,
5472
5472
  "onUpdate:modelValue": g[2] || (g[2] = (B) => C.value = B),
5473
5473
  "data-testid": "gateway-service-url-radio",
@@ -5475,7 +5475,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5475
5475
  onChange: L
5476
5476
  }, {
5477
5477
  default: b(() => [
5478
- J($(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5478
+ G($(f(l)("gateway_services.form.sections.keys.urlLabel")), 1)
5479
5479
  ]),
5480
5480
  _: 1
5481
5481
  }, 8, ["modelValue", "selected-value"])
@@ -5496,7 +5496,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5496
5496
  required: ""
5497
5497
  }, null, 8, ["modelValue", "label", "label-attributes", "placeholder"])
5498
5498
  ])) : H("", !0),
5499
- k(G, {
5499
+ k(J, {
5500
5500
  modelValue: C.value,
5501
5501
  "onUpdate:modelValue": g[4] || (g[4] = (B) => C.value = B),
5502
5502
  "checked-group": "protocol",
@@ -5505,7 +5505,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5505
5505
  onChange: L
5506
5506
  }, {
5507
5507
  default: b(() => [
5508
- J($(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5508
+ G($(f(l)("gateway_services.form.sections.keys.checkedGroupAltLabel")), 1)
5509
5509
  ]),
5510
5510
  _: 1
5511
5511
  }, 8, ["modelValue", "selected-value"])
@@ -5719,7 +5719,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5719
5719
  _: 1
5720
5720
  }, 8, ["modelValue", "description", "label"]),
5721
5721
  s.fields.tls_verify_enabled ? (v(), I("div", nc, [
5722
- k(G, {
5722
+ k(J, {
5723
5723
  modelValue: s.fields.tls_verify_value,
5724
5724
  "onUpdate:modelValue": g[22] || (g[22] = (B) => s.fields.tls_verify_value = B),
5725
5725
  "data-testid": "gateway-service-tls-verify-true-option",
@@ -5728,7 +5728,7 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5728
5728
  }, null, 8, ["modelValue", "label"])
5729
5729
  ])) : H("", !0),
5730
5730
  s.fields.tls_verify_enabled ? (v(), I("div", lc, [
5731
- k(G, {
5731
+ k(J, {
5732
5732
  modelValue: s.fields.tls_verify_value,
5733
5733
  "onUpdate:modelValue": g[23] || (g[23] = (B) => s.fields.tls_verify_value = B),
5734
5734
  "data-testid": "gateway-service-tls-verify-false-option",
@@ -5888,10 +5888,10 @@ const $s = ["aria-labelledby"], Ns = { class: "form-section-wrapper" }, js = {
5888
5888
  })
5889
5889
  ]),
5890
5890
  tls_verify: b((m) => [
5891
- J($(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(i)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5891
+ G($(typeof f(n)("rowValue", m) == "boolean" ? o("rowValue", m) : f(i)("gateway_services.form.fields.tls_verify_option.unset.display")), 1)
5892
5892
  ]),
5893
5893
  client_certificate: b((m) => [
5894
- J($(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5894
+ G($(f(n)("rowValue", m) ? f(n)("rowValue", m).id : "–"), 1)
5895
5895
  ]),
5896
5896
  _: 1
5897
5897
  }, 8, ["config", "config-card-doc", "config-schema", "fetch-url", "hide-title"])