@kong-ui-public/entities-upstreams-targets 3.5.0 → 3.5.1

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 { ref as K, defineComponent as ie, computed as F, watch as de, onBeforeMount as Ve, resolveComponent as x, openBlock as w, createElementBlock as le, createVNode as u, unref as e, withCtx as h, createBlock as B, Teleport as oa, withDirectives as na, createTextVNode as W, toDisplayString as v, vShow as ha, createElementVNode as k, Fragment as be, renderList as Ne, reactive as Ie, renderSlot as ua, createCommentVNode as G, createSlots as Ha, normalizeClass as Sa } from "vue";
1
+ import { ref as K, defineComponent as ie, computed as F, watch as de, onBeforeMount as Ve, resolveComponent as x, openBlock as w, createElementBlock as le, createVNode as u, unref as e, withCtx as h, createBlock as B, Teleport as oa, withDirectives as na, createTextVNode as J, toDisplayString as v, vShow as ha, createElementVNode as k, Fragment as be, renderList as Ne, reactive as Ie, renderSlot as ua, createCommentVNode as G, createSlots as Ha, normalizeClass as Sa } from "vue";
2
2
  import { useAxios as qe, useFetcher as ca, useDeleteUrlBuilder as da, FetcherStatus as pa, EntityBaseTable as ma, EntityFilter as Ua, PermissionsWrapper as he, EntityDeleteModal as fa, EntityTypes as va, useErrors as ga, EntityBaseFormType as ne, EntityBaseForm as ya, SupportedEntityType as Be, useDebouncedFilter as sa, EntityFormSection as Ce, useHelpers as Ia, ConfigurationSchemaSection as oe, ConfigurationSchemaType as wa, EntityBaseConfigCard as qa } from "@kong-ui-public/entities-shared";
3
3
  import { useRouter as ba } from "vue-router";
4
4
  import { AddIcon as Ee, TrashIcon as Fa } from "@kong/icons";
@@ -361,7 +361,7 @@ const Oa = {
361
361
  upstreams: Oa,
362
362
  targets: $a
363
363
  };
364
- function Ma() {
364
+ function Aa() {
365
365
  const a = Ta("en-us", Pa);
366
366
  return {
367
367
  i18n: a,
@@ -751,7 +751,7 @@ const we = [
751
751
  label: "599",
752
752
  value: "599"
753
753
  }
754
- ], Oe = 10, $e = 65536, Aa = 0, Ka = 65535, ge = 0, ye = 255, ka = 0, _a = 255, Va = 0, Na = 65535, ra = 0, ia = 65535, Ba = 0, Ea = 2 ** 31, Pe = ["200", "302"], Me = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226", "300", "301", "302", "303", "304", "305", "306", "307", "308"], Ae = ["429", "404", "500", "501", "502", "503", "504", "505"], Ke = ["429", "500", "503"];
754
+ ], Oe = 10, $e = 65536, Ma = 0, Ka = 65535, ge = 0, ye = 255, ka = 0, _a = 255, Va = 0, Na = 65535, ra = 0, ia = 65535, Ba = 0, Ea = 2 ** 31, Pe = ["200", "302"], Ae = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226", "300", "301", "302", "303", "304", "305", "306", "307", "308"], Me = ["429", "404", "500", "501", "502", "503", "504", "505"], Ke = ["429", "500", "503"];
755
755
  function Fe() {
756
756
  const a = (i) => /^\d+$/.test(i), E = (i, p, d) => {
757
757
  if (a(i)) {
@@ -793,13 +793,13 @@ function Fe() {
793
793
  unhealthyInterval: "0",
794
794
  httpFailures: "5",
795
795
  tcpFailures: "5",
796
- unhealthyHttpStatuses: Ae,
796
+ unhealthyHttpStatuses: Me,
797
797
  unhealthyTimeouts: "0"
798
798
  },
799
799
  passiveHealthCheck: {
800
800
  type: "http",
801
801
  successes: "0",
802
- httpStatuses: Me,
802
+ httpStatuses: Ae,
803
803
  timeouts: "0",
804
804
  httpFailures: "5",
805
805
  unhealthyHttpStatuses: Ke,
@@ -812,9 +812,9 @@ function Fe() {
812
812
  stringToNumberArray: s,
813
813
  numberToStringArray: l,
814
814
  upstreamsResponseToFields: (i) => {
815
- var d, H, f, t, R, q, m, S, z, M, ee, Z, b, U, I, T, g, j, X, re, se, A, $, J, Y, C, O, V, o, r, n, Q, P, L, te, D, ae, pe, me, Re, De, je, Qe, Le, Je, We, Ge, ze, Xe, Ye, Ze, et, tt, at, lt, st, rt, it, ot, nt, ht, ut, ct, dt, pt, mt, ft, vt, gt, yt, bt, kt, _t, Ct, Ht, St, Ut, It, wt, qt, Ft, Tt, xt, Ot, $t, Pt, Mt, At, Kt, Vt, Nt, Bt, Et, Rt, Dt, jt, Qt, Lt, Jt, Wt, Gt, zt, Xt, Yt, Zt, ea, ta, aa, la;
815
+ var d, H, f, t, R, q, m, S, z, A, ee, Z, b, U, I, T, g, j, X, re, se, M, $, W, Y, C, O, V, o, r, n, Q, P, L, te, D, ae, pe, me, Re, De, je, Qe, Le, We, Je, Ge, ze, Xe, Ye, Ze, et, tt, at, lt, st, rt, it, ot, nt, ht, ut, ct, dt, pt, mt, ft, vt, gt, yt, bt, kt, _t, Ct, Ht, St, Ut, It, wt, qt, Ft, Tt, xt, Ot, $t, Pt, At, Mt, Kt, Vt, Nt, Bt, Et, Rt, Dt, jt, Qt, Lt, Wt, Jt, Gt, zt, Xt, Yt, Zt, ea, ta, aa, la;
816
816
  const p = c();
817
- return p.name = i.name || "", p.algorithm = i.algorithm || "round-robin", p.hostHeader = i.host_header || "", p.clientCertificate = i.client_certificate ? (d = i.client_certificate) == null ? void 0 : d.id : "", p.tags = ((H = i.tags) == null ? void 0 : H.join(", ")) || "", p.slots = i.slots !== null && i.slots !== void 0 ? i.slots.toString() : "10000", p.hashOn = i.hash_on || "none", p.hashFallback = i.hash_fallback || "none", p.hashOnHeader = i.hash_on_header || "", p.hashOnCookie = i.hash_on_cookie || "", p.hashOnCookiePath = i.hash_on_cookie_path || "/", p.hashOnQueryArgument = i.hash_on_query_arg || "", p.hashOnUriCapture = i.hash_on_uri_capture || "", p.hashFallbackHeader = i.hash_fallback_header || "", p.hashFallbackQueryArgument = i.hash_fallback_query_arg || "", p.hashFallbackUriCapture = i.hash_fallback_uri_capture || "", p.healthchecksThreshold = i.healthchecks.threshold !== null && i.healthchecks.threshold !== void 0 ? i.healthchecks.threshold.toString() : "", p.activeHealthSwitch = ((t = (f = i.healthchecks.active) == null ? void 0 : f.healthy) == null ? void 0 : t.interval) !== 0 || ((q = (R = i.healthchecks.active) == null ? void 0 : R.unhealthy) == null ? void 0 : q.interval) !== 0, p.activeHealthCheck.type = ((m = i.healthchecks.active) == null ? void 0 : m.type) || "http", p.activeHealthCheck.httpPath = ((S = i.healthchecks.active) == null ? void 0 : S.http_path) || "/", p.activeHealthCheck.timeout = ((z = i.healthchecks.active) == null ? void 0 : z.timeout) !== null && ((M = i.healthchecks.active) == null ? void 0 : M.timeout) !== void 0 ? (Z = (ee = i.healthchecks.active) == null ? void 0 : ee.timeout) == null ? void 0 : Z.toString() : "", p.activeHealthCheck.concurrency = ((b = i.healthchecks.active) == null ? void 0 : b.concurrency) !== null && ((U = i.healthchecks.active) == null ? void 0 : U.concurrency) !== void 0 ? (T = (I = i.healthchecks.active) == null ? void 0 : I.concurrency) == null ? void 0 : T.toString() : "", p.activeHealthCheck.httpsSni = ((g = i.healthchecks.active) == null ? void 0 : g.https_sni) || "", p.activeHealthCheck.verifySsl = ((j = i.healthchecks.active) == null ? void 0 : j.https_verify_certificate) || !1, p.activeHealthCheck.headers = (X = i.healthchecks.active) != null && X.headers && Object.entries((re = i.healthchecks.active) == null ? void 0 : re.headers).length > 0 ? Object.entries((se = i.healthchecks.active) == null ? void 0 : se.headers).map(([Ca, xe]) => ({ key: Ca, values: xe == null ? void 0 : xe.join(", ") })) : [{ key: "", values: "" }], p.activeHealthCheck.interval = (($ = (A = i.healthchecks.active) == null ? void 0 : A.healthy) == null ? void 0 : $.interval) !== null && ((Y = (J = i.healthchecks.active) == null ? void 0 : J.healthy) == null ? void 0 : Y.interval) !== void 0 ? (V = (O = (C = i.healthchecks.active) == null ? void 0 : C.healthy) == null ? void 0 : O.interval) == null ? void 0 : V.toString() : "0", p.activeHealthCheck.interval = ((r = (o = i.healthchecks.active) == null ? void 0 : o.healthy) == null ? void 0 : r.interval) !== null && ((Q = (n = i.healthchecks.active) == null ? void 0 : n.healthy) == null ? void 0 : Q.interval) !== void 0 ? (te = (L = (P = i.healthchecks.active) == null ? void 0 : P.healthy) == null ? void 0 : L.interval) == null ? void 0 : te.toString() : "0", p.activeHealthCheck.successes = ((ae = (D = i.healthchecks.active) == null ? void 0 : D.healthy) == null ? void 0 : ae.successes) !== null && ((me = (pe = i.healthchecks.active) == null ? void 0 : pe.healthy) == null ? void 0 : me.successes) !== void 0 ? (je = (De = (Re = i.healthchecks.active) == null ? void 0 : Re.healthy) == null ? void 0 : De.successes) == null ? void 0 : je.toString() : "0", p.activeHealthCheck.httpStatuses = (Le = (Qe = i.healthchecks.active) == null ? void 0 : Qe.healthy) != null && Le.http_statuses ? l(((We = (Je = i.healthchecks.active) == null ? void 0 : Je.healthy) == null ? void 0 : We.http_statuses) || []) : Pe, p.activeHealthCheck.unhealthyInterval = ((ze = (Ge = i.healthchecks.active) == null ? void 0 : Ge.unhealthy) == null ? void 0 : ze.interval) !== null && ((Ye = (Xe = i.healthchecks.active) == null ? void 0 : Xe.unhealthy) == null ? void 0 : Ye.interval) !== void 0 ? (tt = (et = (Ze = i.healthchecks.active) == null ? void 0 : Ze.unhealthy) == null ? void 0 : et.interval) == null ? void 0 : tt.toString() : "0", p.activeHealthCheck.httpFailures = ((lt = (at = i.healthchecks.active) == null ? void 0 : at.unhealthy) == null ? void 0 : lt.http_failures) !== null && ((rt = (st = i.healthchecks.active) == null ? void 0 : st.unhealthy) == null ? void 0 : rt.http_failures) !== void 0 ? (nt = (ot = (it = i.healthchecks.active) == null ? void 0 : it.unhealthy) == null ? void 0 : ot.http_failures) == null ? void 0 : nt.toString() : "0", p.activeHealthCheck.unhealthyTimeouts = ((ut = (ht = i.healthchecks.active) == null ? void 0 : ht.unhealthy) == null ? void 0 : ut.timeouts) !== null && ((dt = (ct = i.healthchecks.active) == null ? void 0 : ct.unhealthy) == null ? void 0 : dt.timeouts) !== void 0 ? (ft = (mt = (pt = i.healthchecks.active) == null ? void 0 : pt.unhealthy) == null ? void 0 : mt.timeouts) == null ? void 0 : ft.toString() : "0", p.activeHealthCheck.unhealthyHttpStatuses = (gt = (vt = i.healthchecks.active) == null ? void 0 : vt.unhealthy) != null && gt.http_statuses ? l(((bt = (yt = i.healthchecks.active) == null ? void 0 : yt.unhealthy) == null ? void 0 : bt.http_statuses) || []) : Ae, p.passiveHealthSwitch = ((_t = (kt = i.healthchecks.passive) == null ? void 0 : kt.healthy) == null ? void 0 : _t.successes) !== 0 || ((Ht = (Ct = i.healthchecks.passive) == null ? void 0 : Ct.unhealthy) == null ? void 0 : Ht.timeouts) !== 0 || ((Ut = (St = i.healthchecks.passive) == null ? void 0 : St.unhealthy) == null ? void 0 : Ut.tcp_failures) !== 0 || ((wt = (It = i.healthchecks.passive) == null ? void 0 : It.unhealthy) == null ? void 0 : wt.http_failures) !== 0, p.passiveHealthCheck.type = ((qt = i.healthchecks.passive) == null ? void 0 : qt.type) || "http", p.passiveHealthCheck.successes = ((Tt = (Ft = i.healthchecks.passive) == null ? void 0 : Ft.healthy) == null ? void 0 : Tt.successes) !== null && ((Ot = (xt = i.healthchecks.passive) == null ? void 0 : xt.healthy) == null ? void 0 : Ot.successes) !== void 0 ? (Mt = (Pt = ($t = i.healthchecks.passive) == null ? void 0 : $t.healthy) == null ? void 0 : Pt.successes) == null ? void 0 : Mt.toString() : "0", p.passiveHealthCheck.httpStatuses = (Kt = (At = i.healthchecks.passive) == null ? void 0 : At.healthy) != null && Kt.http_statuses ? l(((Nt = (Vt = i.healthchecks.passive) == null ? void 0 : Vt.healthy) == null ? void 0 : Nt.http_statuses) || []) : Me, p.passiveHealthCheck.timeouts = ((Et = (Bt = i.healthchecks.passive) == null ? void 0 : Bt.unhealthy) == null ? void 0 : Et.timeouts) !== null && ((Dt = (Rt = i.healthchecks.passive) == null ? void 0 : Rt.unhealthy) == null ? void 0 : Dt.timeouts) !== void 0 ? (Lt = (Qt = (jt = i.healthchecks.passive) == null ? void 0 : jt.unhealthy) == null ? void 0 : Qt.timeouts) == null ? void 0 : Lt.toString() : "0", p.passiveHealthCheck.tcpFailures = ((Wt = (Jt = i.healthchecks.passive) == null ? void 0 : Jt.unhealthy) == null ? void 0 : Wt.tcp_failures) !== null && ((zt = (Gt = i.healthchecks.passive) == null ? void 0 : Gt.unhealthy) == null ? void 0 : zt.tcp_failures) !== void 0 ? (Zt = (Yt = (Xt = i.healthchecks.passive) == null ? void 0 : Xt.unhealthy) == null ? void 0 : Yt.tcp_failures) == null ? void 0 : Zt.toString() : "", p.passiveHealthCheck.unhealthyHttpStatuses = (ta = (ea = i.healthchecks.passive) == null ? void 0 : ea.unhealthy) != null && ta.http_statuses ? l(((la = (aa = i.healthchecks.passive) == null ? void 0 : aa.unhealthy) == null ? void 0 : la.http_statuses) || []) : Ke, p;
817
+ return p.name = i.name || "", p.algorithm = i.algorithm || "round-robin", p.hostHeader = i.host_header || "", p.clientCertificate = i.client_certificate ? (d = i.client_certificate) == null ? void 0 : d.id : "", p.tags = ((H = i.tags) == null ? void 0 : H.join(", ")) || "", p.slots = i.slots !== null && i.slots !== void 0 ? i.slots.toString() : "10000", p.hashOn = i.hash_on || "none", p.hashFallback = i.hash_fallback || "none", p.hashOnHeader = i.hash_on_header || "", p.hashOnCookie = i.hash_on_cookie || "", p.hashOnCookiePath = i.hash_on_cookie_path || "/", p.hashOnQueryArgument = i.hash_on_query_arg || "", p.hashOnUriCapture = i.hash_on_uri_capture || "", p.hashFallbackHeader = i.hash_fallback_header || "", p.hashFallbackQueryArgument = i.hash_fallback_query_arg || "", p.hashFallbackUriCapture = i.hash_fallback_uri_capture || "", p.healthchecksThreshold = i.healthchecks.threshold !== null && i.healthchecks.threshold !== void 0 ? i.healthchecks.threshold.toString() : "", p.activeHealthSwitch = ((t = (f = i.healthchecks.active) == null ? void 0 : f.healthy) == null ? void 0 : t.interval) !== 0 || ((q = (R = i.healthchecks.active) == null ? void 0 : R.unhealthy) == null ? void 0 : q.interval) !== 0, p.activeHealthCheck.type = ((m = i.healthchecks.active) == null ? void 0 : m.type) || "http", p.activeHealthCheck.httpPath = ((S = i.healthchecks.active) == null ? void 0 : S.http_path) || "/", p.activeHealthCheck.timeout = ((z = i.healthchecks.active) == null ? void 0 : z.timeout) !== null && ((A = i.healthchecks.active) == null ? void 0 : A.timeout) !== void 0 ? (Z = (ee = i.healthchecks.active) == null ? void 0 : ee.timeout) == null ? void 0 : Z.toString() : "", p.activeHealthCheck.concurrency = ((b = i.healthchecks.active) == null ? void 0 : b.concurrency) !== null && ((U = i.healthchecks.active) == null ? void 0 : U.concurrency) !== void 0 ? (T = (I = i.healthchecks.active) == null ? void 0 : I.concurrency) == null ? void 0 : T.toString() : "", p.activeHealthCheck.httpsSni = ((g = i.healthchecks.active) == null ? void 0 : g.https_sni) || "", p.activeHealthCheck.verifySsl = ((j = i.healthchecks.active) == null ? void 0 : j.https_verify_certificate) || !1, p.activeHealthCheck.headers = (X = i.healthchecks.active) != null && X.headers && Object.entries((re = i.healthchecks.active) == null ? void 0 : re.headers).length > 0 ? Object.entries((se = i.healthchecks.active) == null ? void 0 : se.headers).map(([Ca, xe]) => ({ key: Ca, values: xe == null ? void 0 : xe.join(", ") })) : [{ key: "", values: "" }], p.activeHealthCheck.interval = (($ = (M = i.healthchecks.active) == null ? void 0 : M.healthy) == null ? void 0 : $.interval) !== null && ((Y = (W = i.healthchecks.active) == null ? void 0 : W.healthy) == null ? void 0 : Y.interval) !== void 0 ? (V = (O = (C = i.healthchecks.active) == null ? void 0 : C.healthy) == null ? void 0 : O.interval) == null ? void 0 : V.toString() : "0", p.activeHealthCheck.interval = ((r = (o = i.healthchecks.active) == null ? void 0 : o.healthy) == null ? void 0 : r.interval) !== null && ((Q = (n = i.healthchecks.active) == null ? void 0 : n.healthy) == null ? void 0 : Q.interval) !== void 0 ? (te = (L = (P = i.healthchecks.active) == null ? void 0 : P.healthy) == null ? void 0 : L.interval) == null ? void 0 : te.toString() : "0", p.activeHealthCheck.successes = ((ae = (D = i.healthchecks.active) == null ? void 0 : D.healthy) == null ? void 0 : ae.successes) !== null && ((me = (pe = i.healthchecks.active) == null ? void 0 : pe.healthy) == null ? void 0 : me.successes) !== void 0 ? (je = (De = (Re = i.healthchecks.active) == null ? void 0 : Re.healthy) == null ? void 0 : De.successes) == null ? void 0 : je.toString() : "0", p.activeHealthCheck.httpStatuses = (Le = (Qe = i.healthchecks.active) == null ? void 0 : Qe.healthy) != null && Le.http_statuses ? l(((Je = (We = i.healthchecks.active) == null ? void 0 : We.healthy) == null ? void 0 : Je.http_statuses) || []) : Pe, p.activeHealthCheck.unhealthyInterval = ((ze = (Ge = i.healthchecks.active) == null ? void 0 : Ge.unhealthy) == null ? void 0 : ze.interval) !== null && ((Ye = (Xe = i.healthchecks.active) == null ? void 0 : Xe.unhealthy) == null ? void 0 : Ye.interval) !== void 0 ? (tt = (et = (Ze = i.healthchecks.active) == null ? void 0 : Ze.unhealthy) == null ? void 0 : et.interval) == null ? void 0 : tt.toString() : "0", p.activeHealthCheck.httpFailures = ((lt = (at = i.healthchecks.active) == null ? void 0 : at.unhealthy) == null ? void 0 : lt.http_failures) !== null && ((rt = (st = i.healthchecks.active) == null ? void 0 : st.unhealthy) == null ? void 0 : rt.http_failures) !== void 0 ? (nt = (ot = (it = i.healthchecks.active) == null ? void 0 : it.unhealthy) == null ? void 0 : ot.http_failures) == null ? void 0 : nt.toString() : "0", p.activeHealthCheck.unhealthyTimeouts = ((ut = (ht = i.healthchecks.active) == null ? void 0 : ht.unhealthy) == null ? void 0 : ut.timeouts) !== null && ((dt = (ct = i.healthchecks.active) == null ? void 0 : ct.unhealthy) == null ? void 0 : dt.timeouts) !== void 0 ? (ft = (mt = (pt = i.healthchecks.active) == null ? void 0 : pt.unhealthy) == null ? void 0 : mt.timeouts) == null ? void 0 : ft.toString() : "0", p.activeHealthCheck.unhealthyHttpStatuses = (gt = (vt = i.healthchecks.active) == null ? void 0 : vt.unhealthy) != null && gt.http_statuses ? l(((bt = (yt = i.healthchecks.active) == null ? void 0 : yt.unhealthy) == null ? void 0 : bt.http_statuses) || []) : Me, p.passiveHealthSwitch = ((_t = (kt = i.healthchecks.passive) == null ? void 0 : kt.healthy) == null ? void 0 : _t.successes) !== 0 || ((Ht = (Ct = i.healthchecks.passive) == null ? void 0 : Ct.unhealthy) == null ? void 0 : Ht.timeouts) !== 0 || ((Ut = (St = i.healthchecks.passive) == null ? void 0 : St.unhealthy) == null ? void 0 : Ut.tcp_failures) !== 0 || ((wt = (It = i.healthchecks.passive) == null ? void 0 : It.unhealthy) == null ? void 0 : wt.http_failures) !== 0, p.passiveHealthCheck.type = ((qt = i.healthchecks.passive) == null ? void 0 : qt.type) || "http", p.passiveHealthCheck.successes = ((Tt = (Ft = i.healthchecks.passive) == null ? void 0 : Ft.healthy) == null ? void 0 : Tt.successes) !== null && ((Ot = (xt = i.healthchecks.passive) == null ? void 0 : xt.healthy) == null ? void 0 : Ot.successes) !== void 0 ? (At = (Pt = ($t = i.healthchecks.passive) == null ? void 0 : $t.healthy) == null ? void 0 : Pt.successes) == null ? void 0 : At.toString() : "0", p.passiveHealthCheck.httpStatuses = (Kt = (Mt = i.healthchecks.passive) == null ? void 0 : Mt.healthy) != null && Kt.http_statuses ? l(((Nt = (Vt = i.healthchecks.passive) == null ? void 0 : Vt.healthy) == null ? void 0 : Nt.http_statuses) || []) : Ae, p.passiveHealthCheck.timeouts = ((Et = (Bt = i.healthchecks.passive) == null ? void 0 : Bt.unhealthy) == null ? void 0 : Et.timeouts) !== null && ((Dt = (Rt = i.healthchecks.passive) == null ? void 0 : Rt.unhealthy) == null ? void 0 : Dt.timeouts) !== void 0 ? (Lt = (Qt = (jt = i.healthchecks.passive) == null ? void 0 : jt.unhealthy) == null ? void 0 : Qt.timeouts) == null ? void 0 : Lt.toString() : "0", p.passiveHealthCheck.tcpFailures = ((Jt = (Wt = i.healthchecks.passive) == null ? void 0 : Wt.unhealthy) == null ? void 0 : Jt.tcp_failures) !== null && ((zt = (Gt = i.healthchecks.passive) == null ? void 0 : Gt.unhealthy) == null ? void 0 : zt.tcp_failures) !== void 0 ? (Zt = (Yt = (Xt = i.healthchecks.passive) == null ? void 0 : Xt.unhealthy) == null ? void 0 : Yt.tcp_failures) == null ? void 0 : Zt.toString() : "", p.passiveHealthCheck.unhealthyHttpStatuses = (ta = (ea = i.healthchecks.passive) == null ? void 0 : ea.unhealthy) != null && ta.http_statuses ? l(((la = (aa = i.healthchecks.passive) == null ? void 0 : aa.unhealthy) == null ? void 0 : la.http_statuses) || []) : Ke, p;
818
818
  },
819
819
  getDefaultUpstreamFields: c,
820
820
  objectsAreEqual: (i, p) => {
@@ -828,7 +828,7 @@ function Fe() {
828
828
  };
829
829
  }
830
830
  const ue = {
831
- useI18n: Ma,
831
+ useI18n: Aa,
832
832
  useMultiselectCreation: _e,
833
833
  useHelpers: Fe
834
834
  }, fe = "/v2/control-planes/{controlPlaneId}/core-entities", ve = "/{workspace}", ke = {
@@ -925,7 +925,7 @@ const ue = {
925
925
  f.value = "";
926
926
  }, S = () => {
927
927
  N.value++;
928
- }, z = K(null), M = (C, O) => {
928
+ }, z = K(null), A = (C, O) => {
929
929
  const V = C.id;
930
930
  if (!O(V)) {
931
931
  s("copy:error", {
@@ -966,7 +966,7 @@ const ue = {
966
966
  I.value = C, T.value = !0;
967
967
  }, se = () => {
968
968
  T.value = !1;
969
- }, A = async () => {
969
+ }, M = async () => {
970
970
  var C, O, V;
971
971
  if ((C = I.value) != null && C.id) {
972
972
  g.value = !0;
@@ -989,14 +989,14 @@ const ue = {
989
989
  }
990
990
  z.value = null;
991
991
  });
992
- const J = K({
992
+ const W = K({
993
993
  ctaPath: l.config.createRoute,
994
994
  ctaText: void 0,
995
995
  message: `${c("upstreams.list.empty_state.description")}${l.config.additionMessageForEmptyState ? ` ${l.config.additionMessageForEmptyState}` : ""}`,
996
996
  title: c("upstreams.title")
997
997
  });
998
998
  return Ve(async () => {
999
- await l.canCreate() && (J.value.title = c("upstreams.list.empty_state.title"), J.value.ctaText = c("upstreams.actions.create"));
999
+ await l.canCreate() && (W.value.title = c("upstreams.list.empty_state.title"), W.value.ctaText = c("upstreams.actions.create"));
1000
1000
  }), (C, O) => {
1001
1001
  const V = x("KButton"), o = x("KBadge"), r = x("KTruncate"), n = x("KDropdownItem"), Q = x("KClipboardProvider");
1002
1002
  return w(), le("div", Ra, [
@@ -1004,7 +1004,7 @@ const ue = {
1004
1004
  "cache-identifier": a.cacheIdentifier,
1005
1005
  "disable-pagination-page-jump": "",
1006
1006
  "disable-sorting": i.value,
1007
- "empty-state-options": J.value,
1007
+ "empty-state-options": W.value,
1008
1008
  "enable-entity-actions": "",
1009
1009
  "error-message": z.value,
1010
1010
  fetcher: e(R),
@@ -1042,7 +1042,7 @@ const ue = {
1042
1042
  }, {
1043
1043
  default: h(() => [
1044
1044
  u(e(Ee)),
1045
- W(" " + v(e(c)("upstreams.list.toolbar_actions.new_upstream")), 1)
1045
+ J(" " + v(e(c)("upstreams.list.toolbar_actions.new_upstream")), 1)
1046
1046
  ]),
1047
1047
  _: 1
1048
1048
  }, 8, ["to"]), [
@@ -1064,7 +1064,7 @@ const ue = {
1064
1064
  "max-width": "auto"
1065
1065
  }, {
1066
1066
  default: h(() => [
1067
- W(v(L), 1)
1067
+ J(v(L), 1)
1068
1068
  ]),
1069
1069
  _: 2
1070
1070
  }, 1024))), 128))
@@ -1077,10 +1077,10 @@ const ue = {
1077
1077
  default: h(({ copyToClipboard: L }) => [
1078
1078
  u(n, {
1079
1079
  "data-testid": "action-entity-copy-id",
1080
- onClick: (te) => M(P, L)
1080
+ onClick: (te) => A(P, L)
1081
1081
  }, {
1082
1082
  default: h(() => [
1083
- W(v(e(c)("upstreams.actions.copy_id")), 1)
1083
+ J(v(e(c)("upstreams.actions.copy_id")), 1)
1084
1084
  ]),
1085
1085
  _: 2
1086
1086
  }, 1032, ["onClick"])
@@ -1094,7 +1094,7 @@ const ue = {
1094
1094
  onClick: (te) => ee(P, L)
1095
1095
  }, {
1096
1096
  default: h(() => [
1097
- W(v(e(c)("upstreams.actions.copy_json")), 1)
1097
+ J(v(e(c)("upstreams.actions.copy_json")), 1)
1098
1098
  ]),
1099
1099
  _: 2
1100
1100
  }, 1032, ["onClick"])
@@ -1135,7 +1135,7 @@ const ue = {
1135
1135
  onClick: (L) => re(P)
1136
1136
  }, {
1137
1137
  default: h(() => [
1138
- W(v(e(c)("upstreams.actions.delete")), 1)
1138
+ J(v(e(c)("upstreams.actions.delete")), 1)
1139
1139
  ]),
1140
1140
  _: 2
1141
1141
  }, 1032, ["onClick"])
@@ -1154,7 +1154,7 @@ const ue = {
1154
1154
  title: e(c)("upstreams.delete.title"),
1155
1155
  visible: T.value,
1156
1156
  onCancel: se,
1157
- onProceed: A
1157
+ onProceed: M
1158
1158
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"])
1159
1159
  ]);
1160
1160
  };
@@ -1181,10 +1181,10 @@ const ue = {
1181
1181
  validate: `${Se}/schemas/targets/validate`
1182
1182
  }
1183
1183
  }
1184
- }, Qa = { class: "kong-ui-entities-target-form" }, La = { class: "target-form-container" }, Ja = {
1184
+ }, Qa = { class: "kong-ui-entities-target-form" }, La = { class: "target-form-container" }, Wa = {
1185
1185
  key: 0,
1186
1186
  class: "target-form-info"
1187
- }, Wa = /* @__PURE__ */ ie({
1187
+ }, Ja = /* @__PURE__ */ ie({
1188
1188
  __name: "TargetForm",
1189
1189
  props: {
1190
1190
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1246,7 +1246,7 @@ const ue = {
1246
1246
  var U, I, T, g;
1247
1247
  let b = `${l.config.apiBaseUrl}${Ue.form[l.config.app][i.value]}`;
1248
1248
  return l.config.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, ((U = l.config) == null ? void 0 : U.controlPlaneId) || "").replace(/{upstreamId}/gi, ((I = l.config) == null ? void 0 : I.upstreamId) || "") : l.config.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, (T = l.config) != null && T.workspace ? `/${l.config.workspace}` : "").replace(/{upstreamId}/gi, ((g = l.config) == null ? void 0 : g.upstreamId) || "")), b = b.replace(/{id}/gi, l.targetId), b;
1249
- }), M = F(() => {
1249
+ }), A = F(() => {
1250
1250
  var b, U, I;
1251
1251
  return {
1252
1252
  target: d.fields.target,
@@ -1259,7 +1259,7 @@ const ue = {
1259
1259
  try {
1260
1260
  d.isReadonly = !0, d.errorMessage = "";
1261
1261
  let I;
1262
- if (await y.post(S.value, M.value), i.value === "create" ? I = await y.post(z.value, M.value) : i.value === "edit" && (I = ((b = l.config) == null ? void 0 : b.app) === "konnect" ? await y.put(z.value, M.value) : await y.patch(z.value, M.value)), I) {
1262
+ if (await y.post(S.value, A.value), i.value === "create" ? I = await y.post(z.value, A.value) : i.value === "edit" && (I = ((b = l.config) == null ? void 0 : b.app) === "konnect" ? await y.put(z.value, A.value) : await y.patch(z.value, A.value)), I) {
1263
1263
  const { data: T } = I;
1264
1264
  d.fields.target = (T == null ? void 0 : T.name) || "", d.fields.weight = (T == null ? void 0 : T.weight) ?? 100, d.fields.tags = ((U = T == null ? void 0 : T.tags) == null ? void 0 : U.join(", ")) || "", s("update", T), Object.assign(d.fields, f);
1265
1265
  }
@@ -1290,7 +1290,7 @@ const ue = {
1290
1290
  "entity-type": e(Be).Target,
1291
1291
  "error-message": d.errorMessage,
1292
1292
  "fetch-url": N.value,
1293
- "form-fields": M.value,
1293
+ "form-fields": A.value,
1294
1294
  "is-readonly": d.isReadonly,
1295
1295
  onCancel: m,
1296
1296
  "onFetch:error": U[3] || (U[3] = (g) => b.$emit("error", g)),
@@ -1299,7 +1299,7 @@ const ue = {
1299
1299
  }, {
1300
1300
  default: h(() => [
1301
1301
  k("div", La, [
1302
- b.$slots.info ? (w(), le("div", Ja, [
1302
+ b.$slots.info ? (w(), le("div", Wa, [
1303
1303
  ua(b.$slots, "info", {}, void 0, !0)
1304
1304
  ])) : G("", !0),
1305
1305
  u(I, {
@@ -1310,7 +1310,10 @@ const ue = {
1310
1310
  class: "target-form-input",
1311
1311
  "data-testid": "target-form-target",
1312
1312
  label: e(c)("targets.form.fields.target.label"),
1313
- "label-attributes": { info: e(c)("targets.form.fields.target.tooltip") },
1313
+ "label-attributes": {
1314
+ info: e(c)("targets.form.fields.target.tooltip"),
1315
+ tooltipAttributes: { maxWidth: "400" }
1316
+ },
1314
1317
  placeholder: e(c)("targets.form.fields.target.placeholder"),
1315
1318
  readonly: d.isReadonly,
1316
1319
  required: "",
@@ -1325,7 +1328,10 @@ const ue = {
1325
1328
  error: t.value,
1326
1329
  "error-message": e(c)("targets.errors.weight"),
1327
1330
  label: e(c)("targets.form.fields.weight.label"),
1328
- "label-attributes": { info: e(c)("targets.form.fields.weight.tooltip") },
1331
+ "label-attributes": {
1332
+ info: e(c)("targets.form.fields.weight.tooltip"),
1333
+ tooltipAttributes: { maxWidth: "400" }
1334
+ },
1329
1335
  max: "65535",
1330
1336
  min: "0",
1331
1337
  readonly: d.isReadonly,
@@ -1355,7 +1361,7 @@ const ue = {
1355
1361
  }, 8, ["action-button-disabled", "action-button-text", "cancel-button-text", "title", "visible"]);
1356
1362
  };
1357
1363
  }
1358
- }), Ga = /* @__PURE__ */ ce(Wa, [["__scopeId", "data-v-77947aef"]]), za = { class: "kong-ui-entities-targets-list" }, Xa = { class: "target-address" }, Ya = /* @__PURE__ */ ie({
1364
+ }), Ga = /* @__PURE__ */ ce(Ja, [["__scopeId", "data-v-6a64b86e"]]), za = { class: "kong-ui-entities-targets-list" }, Xa = { class: "target-address" }, Ya = /* @__PURE__ */ ie({
1359
1365
  __name: "TargetsList",
1360
1366
  props: {
1361
1367
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1408,7 +1414,7 @@ const ue = {
1408
1414
  }), { fetcher: H, fetcherState: f } = ca(l.config, d.value), t = () => {
1409
1415
  y.value++;
1410
1416
  }, R = K(null), q = () => {
1411
- J.value = !0;
1417
+ W.value = !0;
1412
1418
  }, m = (o, r) => {
1413
1419
  const n = o.id;
1414
1420
  if (!r(n)) {
@@ -1438,8 +1444,8 @@ const ue = {
1438
1444
  message: c("targets.copy.success_brief")
1439
1445
  });
1440
1446
  }, z = (o) => {
1441
- $.value = o, J.value = !0;
1442
- }, M = (o) => l.config.app === "konnect" ? !1 : l.config.canMarkHealthy(o), ee = (o) => l.config.app === "konnect" ? !1 : l.config.canMarkUnhealthy(o), Z = K(void 0), b = K(!1), U = K(!1), I = K(""), T = da(l.config, d.value), g = (o) => {
1447
+ $.value = o, W.value = !0;
1448
+ }, A = (o) => l.config.app === "konnect" ? !1 : l.config.canMarkHealthy(o), ee = (o) => l.config.app === "konnect" ? !1 : l.config.canMarkUnhealthy(o), Z = K(void 0), b = K(!1), U = K(!1), I = K(""), T = da(l.config, d.value), g = (o) => {
1443
1449
  Z.value = o, b.value = !0;
1444
1450
  }, j = () => {
1445
1451
  b.value = !1;
@@ -1478,7 +1484,7 @@ const ue = {
1478
1484
  Ve(async () => {
1479
1485
  await l.canCreate() && (se.value.title = c("targets.list.empty_state.title"), se.value.ctaText = c("targets.actions.create"));
1480
1486
  });
1481
- const A = F(() => ({
1487
+ const M = F(() => ({
1482
1488
  app: l.config.app,
1483
1489
  apiBaseUrl: l.config.apiBaseUrl,
1484
1490
  upstreamId: l.config.upstreamId,
@@ -1491,12 +1497,12 @@ const ue = {
1491
1497
  ...l.config.app === "kongManager" && {
1492
1498
  workspace: l.config.workspace
1493
1499
  }
1494
- })), $ = K(""), J = K(!1), Y = (o) => {
1500
+ })), $ = K(""), W = K(!1), Y = (o) => {
1495
1501
  $.value ? s("update:target", o) : s("create:target", o), C();
1496
1502
  }, C = () => {
1497
1503
  O(), y.value++;
1498
1504
  }, O = () => {
1499
- J.value = !1, $.value = "";
1505
+ W.value = !1, $.value = "";
1500
1506
  };
1501
1507
  return (o, r) => {
1502
1508
  const n = x("KButton"), Q = x("KBadge"), P = x("KTruncate"), L = x("KDropdownItem"), te = x("KClipboardProvider");
@@ -1534,7 +1540,7 @@ const ue = {
1534
1540
  }, {
1535
1541
  default: h(() => [
1536
1542
  u(e(Ee)),
1537
- W(" " + v(e(c)("targets.list.toolbar_actions.new_target")), 1)
1543
+ J(" " + v(e(c)("targets.list.toolbar_actions.new_target")), 1)
1538
1544
  ]),
1539
1545
  _: 1
1540
1546
  }, 8, ["to"]), [
@@ -1556,7 +1562,7 @@ const ue = {
1556
1562
  "max-width": "auto"
1557
1563
  }, {
1558
1564
  default: h(() => [
1559
- W(v(ae), 1)
1565
+ J(v(ae), 1)
1560
1566
  ]),
1561
1567
  _: 2
1562
1568
  }, 1024))), 128))
@@ -1572,7 +1578,7 @@ const ue = {
1572
1578
  onClick: (pe) => m(D, ae)
1573
1579
  }, {
1574
1580
  default: h(() => [
1575
- W(v(e(c)("targets.actions.copy_id")), 1)
1581
+ J(v(e(c)("targets.actions.copy_id")), 1)
1576
1582
  ]),
1577
1583
  _: 2
1578
1584
  }, 1032, ["onClick"])
@@ -1586,7 +1592,7 @@ const ue = {
1586
1592
  onClick: (pe) => S(D, ae)
1587
1593
  }, {
1588
1594
  default: h(() => [
1589
- W(v(e(c)("targets.actions.copy_json")), 1)
1595
+ J(v(e(c)("targets.actions.copy_json")), 1)
1590
1596
  ]),
1591
1597
  _: 2
1592
1598
  }, 1032, ["onClick"])
@@ -1603,7 +1609,7 @@ const ue = {
1603
1609
  onClick: (ae) => z(D.id)
1604
1610
  }, {
1605
1611
  default: h(() => [
1606
- W(v(e(c)("targets.actions.edit")), 1)
1612
+ J(v(e(c)("targets.actions.edit")), 1)
1607
1613
  ]),
1608
1614
  _: 2
1609
1615
  }, 1032, ["onClick"])
@@ -1611,7 +1617,7 @@ const ue = {
1611
1617
  _: 2
1612
1618
  }, 1032, ["auth-function"]),
1613
1619
  u(e(he), {
1614
- "auth-function": () => M(D)
1620
+ "auth-function": () => A(D)
1615
1621
  }, {
1616
1622
  default: h(() => [
1617
1623
  u(L, {
@@ -1619,7 +1625,7 @@ const ue = {
1619
1625
  onClick: (ae) => s("health-actions:healthy", D)
1620
1626
  }, {
1621
1627
  default: h(() => [
1622
- W(v(e(c)("targets.actions.mark_healthy")), 1)
1628
+ J(v(e(c)("targets.actions.mark_healthy")), 1)
1623
1629
  ]),
1624
1630
  _: 2
1625
1631
  }, 1032, ["onClick"])
@@ -1635,7 +1641,7 @@ const ue = {
1635
1641
  onClick: (ae) => s("health-actions:unhealthy", D)
1636
1642
  }, {
1637
1643
  default: h(() => [
1638
- W(v(e(c)("targets.actions.mark_unhealthy")), 1)
1644
+ J(v(e(c)("targets.actions.mark_unhealthy")), 1)
1639
1645
  ]),
1640
1646
  _: 2
1641
1647
  }, 1032, ["onClick"])
@@ -1653,7 +1659,7 @@ const ue = {
1653
1659
  onClick: (ae) => g(D)
1654
1660
  }, {
1655
1661
  default: h(() => [
1656
- W(v(e(c)("targets.actions.delete")), 1)
1662
+ J(v(e(c)("targets.actions.delete")), 1)
1657
1663
  ]),
1658
1664
  _: 2
1659
1665
  }, 1032, ["onClick"])
@@ -1675,8 +1681,8 @@ const ue = {
1675
1681
  onProceed: X
1676
1682
  }, null, 8, ["action-pending", "description", "entity-type", "error", "title", "visible"]),
1677
1683
  u(Ga, {
1678
- config: A.value,
1679
- "is-visible": J.value,
1684
+ config: M.value,
1685
+ "is-visible": W.value,
1680
1686
  "target-id": $.value,
1681
1687
  onCancel: O,
1682
1688
  onUpdate: Y
@@ -1739,45 +1745,45 @@ const ue = {
1739
1745
  loadItems: t,
1740
1746
  results: R
1741
1747
  } = sa(c.config, (se = ke.form[(re = c.config) == null ? void 0 : re.app]) == null ? void 0 : se.getCertificates), q = K(""), m = F(() => {
1742
- var A;
1743
- return !!c.name && !((A = d.value) != null && A.some(($) => $.host === c.name));
1748
+ var M;
1749
+ return !!c.name && !((M = d.value) != null && M.some(($) => $.host === c.name));
1744
1750
  }), S = F(() => {
1745
- var $, J, Y;
1746
- const A = m.value && c.name.includes(($ = q.value) == null ? void 0 : $.toLowerCase());
1751
+ var $, W, Y;
1752
+ const M = m.value && c.name.includes(($ = q.value) == null ? void 0 : $.toLowerCase());
1747
1753
  return (Y = p.value) == null ? void 0 : Y.map((C) => ({ label: C.host, value: C.id })).concat(
1748
- A ? [{ label: c.name, value: ((J = ee.value) == null ? void 0 : J.value) || c.name }] : []
1754
+ M ? [{ label: c.name, value: ((W = ee.value) == null ? void 0 : W.value) || c.name }] : []
1749
1755
  );
1750
1756
  }), z = F(() => {
1751
- var A;
1752
- return (A = R.value) == null ? void 0 : A.map(($) => ({ label: $.id, value: $.id }));
1753
- }), M = K(""), ee = K({ value: "", label: "" }), Z = F(() => {
1754
- var A, $;
1755
- return ((A = S.value.find((J) => J.value === M.value)) == null ? void 0 : A.label) || (($ = ee.value) == null ? void 0 : $.label);
1756
- }), b = (A) => {
1757
- q.value = A, y(A);
1758
- }, U = (A) => {
1759
- ee.value = A;
1757
+ var M;
1758
+ return (M = R.value) == null ? void 0 : M.map(($) => ({ label: $.id, value: $.id }));
1759
+ }), A = K(""), ee = K({ value: "", label: "" }), Z = F(() => {
1760
+ var M, $;
1761
+ return ((M = S.value.find((W) => W.value === A.value)) == null ? void 0 : M.label) || (($ = ee.value) == null ? void 0 : $.label);
1762
+ }), b = (M) => {
1763
+ q.value = M, y(M);
1764
+ }, U = (M) => {
1765
+ ee.value = M;
1760
1766
  }, I = () => {
1761
1767
  ee.value = { value: "", label: "" };
1762
- }, T = (A) => {
1763
- M.value = A, _("update:name", Z.value);
1768
+ }, T = (M) => {
1769
+ A.value = M, _("update:name", Z.value);
1764
1770
  }, g = K(!1);
1765
1771
  return Ve(async () => {
1766
- var A, $;
1772
+ var M, $;
1767
1773
  try {
1768
- g.value = !0, await i(), c.name && (M.value = (($ = (A = S.value.find((J) => J.label === c.name)) == null ? void 0 : A.value) == null ? void 0 : $.toString()) || c.name), await t();
1774
+ g.value = !0, await i(), c.name && (A.value = (($ = (M = S.value.find((W) => W.label === c.name)) == null ? void 0 : M.value) == null ? void 0 : $.toString()) || c.name), await t();
1769
1775
  } finally {
1770
1776
  g.value = !1;
1771
1777
  }
1772
- }), (A, $) => {
1773
- const J = x("KSkeleton"), Y = x("KSelect"), C = x("KInput");
1778
+ }), (M, $) => {
1779
+ const W = x("KSkeleton"), Y = x("KSelect"), C = x("KInput");
1774
1780
  return w(), B(e(Ce), {
1775
1781
  class: "kong-ui-entities-upstreams-general-info",
1776
1782
  description: e(l)("upstreams.form.general_info.help"),
1777
1783
  title: e(l)("upstreams.form.general_info.title")
1778
1784
  }, {
1779
1785
  default: h(() => [
1780
- g.value ? (w(), B(J, {
1786
+ g.value ? (w(), B(W, {
1781
1787
  key: 0,
1782
1788
  type: "form"
1783
1789
  })) : (w(), le("div", Za, [
@@ -1790,9 +1796,9 @@ const ue = {
1790
1796
  "filter-function": () => !0,
1791
1797
  items: S.value,
1792
1798
  label: e(l)("upstreams.form.fields.name.label"),
1793
- "label-attributes": { tooltipAttributes: { "max-width": "250px" } },
1799
+ "label-attributes": { tooltipAttributes: { "max-width": "400" } },
1794
1800
  loading: e(N),
1795
- "model-value": M.value,
1801
+ "model-value": A.value,
1796
1802
  placeholder: e(l)("upstreams.form.fields.name.placeholder"),
1797
1803
  readonly: a.readonly,
1798
1804
  required: "",
@@ -1833,7 +1839,10 @@ const ue = {
1833
1839
  "filter-function": () => !0,
1834
1840
  items: z.value,
1835
1841
  label: e(l)("upstreams.form.fields.client_certificate.label"),
1836
- "label-attributes": { info: e(l)("upstreams.form.fields.client_certificate.tooltip"), tooltipAttributes: { maxWidth: "250px" } },
1842
+ "label-attributes": {
1843
+ info: e(l)("upstreams.form.fields.client_certificate.tooltip"),
1844
+ tooltipAttributes: { maxWidth: "400" }
1845
+ },
1837
1846
  loading: e(f),
1838
1847
  "model-value": a.clientCertificate,
1839
1848
  placeholder: e(l)("upstreams.form.fields.client_certificate.placeholder"),
@@ -1847,7 +1856,10 @@ const ue = {
1847
1856
  "data-testid": "upstreams-form-tags",
1848
1857
  help: e(l)("upstreams.form.fields.tags.help"),
1849
1858
  label: e(l)("upstreams.form.fields.tags.label"),
1850
- "label-attributes": { info: e(l)("upstreams.form.fields.tags.tooltip"), tooltipAttributes: { maxWidth: "250px" } },
1859
+ "label-attributes": {
1860
+ info: e(l)("upstreams.form.fields.tags.tooltip"),
1861
+ tooltipAttributes: { maxWidth: "400" }
1862
+ },
1851
1863
  "model-value": a.tags,
1852
1864
  placeholder: e(l)("upstreams.form.fields.tags.placeholder"),
1853
1865
  readonly: a.readonly,
@@ -1860,7 +1872,7 @@ const ue = {
1860
1872
  }, 8, ["description", "title"]);
1861
1873
  };
1862
1874
  }
1863
- }), tl = /* @__PURE__ */ ce(el, [["__scopeId", "data-v-e33bdb7f"]]), Te = {
1875
+ }), tl = /* @__PURE__ */ ce(el, [["__scopeId", "data-v-626ed41f"]]), Te = {
1864
1876
  upstreamObject: "https://docs.konghq.com/gateway/latest/admin-api/#upstream-object",
1865
1877
  loadBalancing: "https://docs.konghq.com/gateway/latest/how-kong-works/load-balancing/#main"
1866
1878
  }, al = { class: "fields-group-title" }, ll = { class: "fields-group-text" }, sl = { class: "fields-group-title" }, rl = { class: "fields-group-text" }, il = /* @__PURE__ */ ie({
@@ -1999,13 +2011,13 @@ const ue = {
1999
2011
  }, {
2000
2012
  description: h(() => [
2001
2013
  k("p", null, [
2002
- W(v(e(l)("upstreams.form.load_balancing.help")) + " ", 1),
2014
+ J(v(e(l)("upstreams.form.load_balancing.help")) + " ", 1),
2003
2015
  u(t, {
2004
2016
  "hide-icon": "",
2005
2017
  href: e(Te).upstreamObject
2006
2018
  }, {
2007
2019
  default: h(() => [
2008
- W(v(e(l)("upstreams.form.buttons.view_documentation")), 1)
2020
+ J(v(e(l)("upstreams.form.buttons.view_documentation")), 1)
2009
2021
  ]),
2010
2022
  _: 1
2011
2023
  }, 8, ["href"])
@@ -2120,7 +2132,7 @@ const ue = {
2120
2132
  disabled: p.value,
2121
2133
  items: i.value,
2122
2134
  label: e(l)("upstreams.form.fields.hash_fallback.label"),
2123
- "label-attributes": { tooltipAttributes: { "max-width": "250px" } },
2135
+ "label-attributes": { tooltipAttributes: { "max-width": "400" } },
2124
2136
  "model-value": a.hashFallback,
2125
2137
  readonly: a.readonly,
2126
2138
  width: "100%",
@@ -2210,7 +2222,7 @@ const ue = {
2210
2222
  }, 8, ["title"]);
2211
2223
  };
2212
2224
  }
2213
- }), ol = /* @__PURE__ */ ce(il, [["__scopeId", "data-v-928fd562"]]), nl = { class: "fields-group-title" }, hl = { class: "fields-group-text" }, ul = { class: "fields-group-title" }, cl = { class: "fields-group-text" }, dl = /* @__PURE__ */ ie({
2225
+ }), ol = /* @__PURE__ */ ce(il, [["__scopeId", "data-v-d662db8e"]]), nl = { class: "fields-group-title" }, hl = { class: "fields-group-text" }, ul = { class: "fields-group-title" }, cl = { class: "fields-group-text" }, dl = /* @__PURE__ */ ie({
2214
2226
  __name: "UpstreamsFormHealthChecks",
2215
2227
  props: {
2216
2228
  activeHealthSwitch: {
@@ -2242,13 +2254,13 @@ const ue = {
2242
2254
  }, {
2243
2255
  description: h(() => [
2244
2256
  k("p", null, [
2245
- W(v(e(s)("upstreams.form.health_check.help")) + " ", 1),
2257
+ J(v(e(s)("upstreams.form.health_check.help")) + " ", 1),
2246
2258
  u(y, {
2247
2259
  "hide-icon": "",
2248
2260
  href: e(Te).loadBalancing
2249
2261
  }, {
2250
2262
  default: h(() => [
2251
- W(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2263
+ J(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2252
2264
  ]),
2253
2265
  _: 1
2254
2266
  }, 8, ["href"])
@@ -2288,7 +2300,7 @@ const ue = {
2288
2300
  "data-testid": "upstreams-form-healthchecks-threshold",
2289
2301
  label: e(s)("upstreams.form.fields.healthchecks_threshold.label"),
2290
2302
  max: e(Ka),
2291
- min: e(Aa),
2303
+ min: e(Ma),
2292
2304
  "model-value": a.healthchecksThreshold,
2293
2305
  readonly: a.readonly,
2294
2306
  type: "number",
@@ -2406,7 +2418,7 @@ const ue = {
2406
2418
  trackNewItems: d
2407
2419
  } = _e({ replaceId: !0 });
2408
2420
  de(() => c.type, (q, m) => {
2409
- m === "tcp" && q !== m && _("update:tcp-failures", "5"), (m === "https" || m === "grpcs") && q !== m && (_("update:https-sni", ""), _("update:verify-ssl", !1)), m !== "tcp" && q === "tcp" && (_("update:http-path", "/"), _("update:http-statuses", Pe), _("update:unhealthy-http-statuses", Ae));
2421
+ m === "tcp" && q !== m && _("update:tcp-failures", "5"), (m === "https" || m === "grpcs") && q !== m && (_("update:https-sni", ""), _("update:verify-ssl", !1)), m !== "tcp" && q === "tcp" && (_("update:http-path", "/"), _("update:http-statuses", Pe), _("update:unhealthy-http-statuses", Me));
2410
2422
  });
2411
2423
  const H = K([{ key: "", values: "" }]);
2412
2424
  de(() => c.headers, (q) => {
@@ -2423,20 +2435,20 @@ const ue = {
2423
2435
  q === 0 && H.value.length === 1 ? H.value[0] = { key: "", values: "" } : H.value.splice(q, 1), f();
2424
2436
  };
2425
2437
  return (q, m) => {
2426
- const S = x("KExternalLink"), z = x("KSelect"), M = x("KInput"), ee = x("KCheckbox"), Z = x("KLabel"), b = x("KButton"), U = x("KMultiselect"), I = x("KCard");
2438
+ const S = x("KExternalLink"), z = x("KSelect"), A = x("KInput"), ee = x("KCheckbox"), Z = x("KLabel"), b = x("KButton"), U = x("KMultiselect"), I = x("KCard");
2427
2439
  return w(), B(e(Ce), {
2428
2440
  class: "kong-ui-entities-upstreams-active-healthcheck",
2429
2441
  title: e(s)("upstreams.form.active_health_check.title")
2430
2442
  }, {
2431
2443
  description: h(() => [
2432
2444
  k("p", null, [
2433
- W(v(e(s)("upstreams.form.active_health_check.help")) + " ", 1),
2445
+ J(v(e(s)("upstreams.form.active_health_check.help")) + " ", 1),
2434
2446
  u(S, {
2435
2447
  "hide-icon": "",
2436
2448
  href: e(Te).upstreamObject
2437
2449
  }, {
2438
2450
  default: h(() => [
2439
- W(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2451
+ J(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2440
2452
  ]),
2441
2453
  _: 1
2442
2454
  }, 8, ["href"])
@@ -2454,7 +2466,7 @@ const ue = {
2454
2466
  width: "100%",
2455
2467
  "onUpdate:modelValue": m[0] || (m[0] = (g) => _("update:type", g))
2456
2468
  }, null, 8, ["items", "label", "model-value", "readonly"]),
2457
- i.value ? G("", !0) : (w(), B(M, {
2469
+ i.value ? G("", !0) : (w(), B(A, {
2458
2470
  key: 0,
2459
2471
  autocomplete: "off",
2460
2472
  "data-testid": "active-healthcheck-http-path",
@@ -2464,7 +2476,7 @@ const ue = {
2464
2476
  type: "text",
2465
2477
  "onUpdate:modelValue": m[1] || (m[1] = (g) => _("update:http-path", g))
2466
2478
  }, null, 8, ["label", "model-value", "readonly"])),
2467
- u(M, {
2479
+ u(A, {
2468
2480
  autocomplete: "off",
2469
2481
  "data-testid": "active-healthcheck-timeout",
2470
2482
  label: e(s)("upstreams.form.fields.timeout.label"),
@@ -2475,7 +2487,7 @@ const ue = {
2475
2487
  type: "number",
2476
2488
  "onUpdate:modelValue": m[2] || (m[2] = (g) => _("update:timeout", g))
2477
2489
  }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
2478
- u(M, {
2490
+ u(A, {
2479
2491
  autocomplete: "off",
2480
2492
  "data-testid": "active-healthcheck-concurrency",
2481
2493
  label: e(s)("upstreams.form.fields.concurrency.label"),
@@ -2487,7 +2499,7 @@ const ue = {
2487
2499
  "onUpdate:modelValue": m[3] || (m[3] = (g) => _("update:concurrency", g))
2488
2500
  }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
2489
2501
  N.value ? (w(), le(be, { key: 1 }, [
2490
- u(M, {
2502
+ u(A, {
2491
2503
  autocomplete: "off",
2492
2504
  class: "margin-bottom-6",
2493
2505
  "data-testid": "active-healthcheck-https-sni",
@@ -2511,7 +2523,7 @@ const ue = {
2511
2523
  "tooltip-attributes": { maxWidth: "250px" }
2512
2524
  }, {
2513
2525
  default: h(() => [
2514
- W(v(e(s)("upstreams.form.fields.headers.label")), 1)
2526
+ J(v(e(s)("upstreams.form.fields.headers.label")), 1)
2515
2527
  ]),
2516
2528
  _: 1
2517
2529
  }, 8, ["info"]),
@@ -2520,7 +2532,7 @@ const ue = {
2520
2532
  key: `${g.header}_${j}`,
2521
2533
  class: Sa(["headers-row", { "margin-top-6": j > 0 }])
2522
2534
  }, [
2523
- u(M, {
2535
+ u(A, {
2524
2536
  modelValue: H.value[j].key,
2525
2537
  "onUpdate:modelValue": (X) => H.value[j].key = X,
2526
2538
  autocomplete: "off",
@@ -2529,7 +2541,7 @@ const ue = {
2529
2541
  type: "text",
2530
2542
  onBlur: f
2531
2543
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "readonly"]),
2532
- u(M, {
2544
+ u(A, {
2533
2545
  modelValue: H.value[j].values,
2534
2546
  "onUpdate:modelValue": (X) => H.value[j].values = X,
2535
2547
  autocomplete: "off",
@@ -2574,7 +2586,7 @@ const ue = {
2574
2586
  default: h(() => [
2575
2587
  k("h5", vl, v(e(s)("upstreams.form.healthy.label")), 1),
2576
2588
  k("p", gl, v(e(s)("upstreams.form.healthy.help")), 1),
2577
- u(M, {
2589
+ u(A, {
2578
2590
  autocomplete: "off",
2579
2591
  class: "margin-bottom-6",
2580
2592
  "data-testid": "active-healthcheck-interval",
@@ -2587,7 +2599,7 @@ const ue = {
2587
2599
  type: "number",
2588
2600
  "onUpdate:modelValue": m[6] || (m[6] = (g) => _("update:interval", g))
2589
2601
  }, null, 8, ["help", "label", "max", "min", "model-value", "readonly"]),
2590
- u(M, {
2602
+ u(A, {
2591
2603
  autocomplete: "off",
2592
2604
  "data-testid": "active-healthcheck-successes",
2593
2605
  label: e(s)("upstreams.form.fields.successes.label"),
@@ -2619,7 +2631,7 @@ const ue = {
2619
2631
  default: h(() => [
2620
2632
  k("h5", yl, v(e(s)("upstreams.form.unhealthy.label")), 1),
2621
2633
  k("p", bl, v(e(s)("upstreams.form.unhealthy.help")), 1),
2622
- u(M, {
2634
+ u(A, {
2623
2635
  autocomplete: "off",
2624
2636
  class: "margin-bottom-6",
2625
2637
  "data-testid": "active-healthcheck-unhealthy-interval",
@@ -2632,7 +2644,7 @@ const ue = {
2632
2644
  type: "number",
2633
2645
  "onUpdate:modelValue": m[11] || (m[11] = (g) => _("update:unhealthy-interval", g))
2634
2646
  }, null, 8, ["help", "label", "max", "min", "model-value", "readonly"]),
2635
- u(M, {
2647
+ u(A, {
2636
2648
  autocomplete: "off",
2637
2649
  class: "margin-bottom-6",
2638
2650
  "data-testid": "active-healthcheck-tcp-failures",
@@ -2644,7 +2656,7 @@ const ue = {
2644
2656
  type: "number",
2645
2657
  "onUpdate:modelValue": m[12] || (m[12] = (g) => _("update:tcp-failures", g))
2646
2658
  }, null, 8, ["label", "max", "min", "model-value", "readonly"]),
2647
- i.value ? G("", !0) : (w(), B(M, {
2659
+ i.value ? G("", !0) : (w(), B(A, {
2648
2660
  key: 0,
2649
2661
  autocomplete: "off",
2650
2662
  class: "margin-bottom-6",
@@ -2671,7 +2683,7 @@ const ue = {
2671
2683
  onItemRemoved: m[15] || (m[15] = (g) => e(d)(g, !1)),
2672
2684
  "onUpdate:modelValue": m[16] || (m[16] = (g) => _("update:unhealthy-http-statuses", g))
2673
2685
  }, null, 8, ["items", "label", "model-value", "readonly"])),
2674
- u(M, {
2686
+ u(A, {
2675
2687
  autocomplete: "off",
2676
2688
  "data-testid": "active-healthcheck-unhealthy-timeouts",
2677
2689
  label: e(s)("upstreams.form.fields.timeouts.label"),
@@ -2762,7 +2774,7 @@ const ue = {
2762
2774
  trackNewItems: i
2763
2775
  } = _e({ replaceId: !0 });
2764
2776
  return de(() => l.type, (p, d) => {
2765
- d === "tcp" && p !== d && c("update:tcp-failures", "5"), d !== "tcp" && p === "tcp" && (c("update:http-statuses", Me), c("update:unhealthy-http-statuses", Ke));
2777
+ d === "tcp" && p !== d && c("update:tcp-failures", "5"), d !== "tcp" && p === "tcp" && (c("update:http-statuses", Ae), c("update:unhealthy-http-statuses", Ke));
2766
2778
  }), (p, d) => {
2767
2779
  const H = x("KExternalLink"), f = x("KSelect"), t = x("KInput"), R = x("KMultiselect"), q = x("KCard");
2768
2780
  return w(), B(e(Ce), {
@@ -2771,13 +2783,13 @@ const ue = {
2771
2783
  }, {
2772
2784
  description: h(() => [
2773
2785
  k("p", null, [
2774
- W(v(e(s)("upstreams.form.passive_health_check.help")) + " ", 1),
2786
+ J(v(e(s)("upstreams.form.passive_health_check.help")) + " ", 1),
2775
2787
  u(H, {
2776
2788
  "hide-icon": "",
2777
2789
  href: e(Te).upstreamObject
2778
2790
  }, {
2779
2791
  default: h(() => [
2780
- W(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2792
+ J(v(e(s)("upstreams.form.buttons.view_documentation")), 1)
2781
2793
  ]),
2782
2794
  _: 1
2783
2795
  }, 8, ["href"])
@@ -2921,17 +2933,17 @@ const ue = {
2921
2933
  t.fields.activeHealthCheck.interval = o ? "5" : "0", t.fields.activeHealthCheck.successes = o ? "5" : "0", t.fields.activeHealthCheck.httpFailures = o ? "5" : "0", t.fields.activeHealthCheck.unhealthyInterval = o ? "5" : "0", t.fields.activeHealthCheck.tcpFailures = o ? "5" : "0";
2922
2934
  }, S = (o) => {
2923
2935
  t.fields.passiveHealthCheck.timeouts = o ? "5" : "0", t.fields.passiveHealthCheck.successes = o ? "80" : "0", t.fields.passiveHealthCheck.tcpFailures = o ? "5" : "0", t.fields.passiveHealthCheck.httpFailures = o ? "5" : "0";
2924
- }, z = F(() => t.fields.slots ? c(t.fields.slots, Oe, $e) : !0), M = F(() => t.fields.hashOn === "header" ? !!t.fields.hashOnHeader : !0), ee = F(() => t.fields.hashOn === "cookie" || t.fields.hashFallback === "cookie" ? !!t.fields.hashOnCookie : !0), Z = F(() => t.fields.hashOn === "cookie" || t.fields.hashFallback === "cookie" ? !!t.fields.hashOnCookiePath : !0), b = F(() => t.fields.hashOn === "query_arg" ? !!t.fields.hashOnQueryArgument : !0), U = F(() => t.fields.hashOn === "uri_capture" ? !!t.fields.hashOnUriCapture : !0), I = F(() => t.fields.hashFallback === "header" ? !!t.fields.hashFallbackHeader : !0), T = F(() => t.fields.hashFallback === "query_arg" ? !!t.fields.hashFallbackQueryArgument : !0), g = F(() => t.fields.hashFallback === "uri_capture" ? !!t.fields.hashFallbackUriCapture : !0), j = F(() => !!t.fields.name && z.value && M.value && ee.value && Z.value && b.value && U.value && I.value && T.value && g.value), X = F(() => s.upstreamId ? ne.Edit : ne.Create), re = F(() => {
2936
+ }, z = F(() => t.fields.slots ? c(t.fields.slots, Oe, $e) : !0), A = F(() => t.fields.hashOn === "header" ? !!t.fields.hashOnHeader : !0), ee = F(() => t.fields.hashOn === "cookie" || t.fields.hashFallback === "cookie" ? !!t.fields.hashOnCookie : !0), Z = F(() => t.fields.hashOn === "cookie" || t.fields.hashFallback === "cookie" ? !!t.fields.hashOnCookiePath : !0), b = F(() => t.fields.hashOn === "query_arg" ? !!t.fields.hashOnQueryArgument : !0), U = F(() => t.fields.hashOn === "uri_capture" ? !!t.fields.hashOnUriCapture : !0), I = F(() => t.fields.hashFallback === "header" ? !!t.fields.hashFallbackHeader : !0), T = F(() => t.fields.hashFallback === "query_arg" ? !!t.fields.hashFallbackQueryArgument : !0), g = F(() => t.fields.hashFallback === "uri_capture" ? !!t.fields.hashFallbackUriCapture : !0), j = F(() => !!t.fields.name && z.value && A.value && ee.value && Z.value && b.value && U.value && I.value && T.value && g.value), X = F(() => s.upstreamId ? ne.Edit : ne.Create), re = F(() => {
2925
2937
  var o, r;
2926
2938
  return (r = ke.form[(o = s.config) == null ? void 0 : o.app]) == null ? void 0 : r.edit;
2927
2939
  }), se = (o) => {
2928
2940
  Object.assign(t.fields, y(o)), Object.assign(R, p(t.fields));
2929
- }, A = () => {
2941
+ }, M = () => {
2930
2942
  var o;
2931
2943
  f.push(((o = s.config) == null ? void 0 : o.cancelRoute) || { name: "upstreams-list" });
2932
2944
  }, $ = (o) => {
2933
2945
  l("loading", o);
2934
- }, J = (o) => {
2946
+ }, W = (o) => {
2935
2947
  l("error", o);
2936
2948
  }, Y = F(() => {
2937
2949
  var r, n, Q, P, L;
@@ -3009,8 +3021,8 @@ const ue = {
3009
3021
  "fetch-url": re.value,
3010
3022
  "form-fields": Y.value,
3011
3023
  "is-readonly": t.readonly,
3012
- onCancel: A,
3013
- "onFetch:error": J,
3024
+ onCancel: M,
3025
+ "onFetch:error": W,
3014
3026
  "onFetch:success": se,
3015
3027
  onLoading: $,
3016
3028
  onSubmit: O