@kong-ui-public/entities-redis-configurations 1.6.6-pr.2688.a65d4b47b.0 → 1.6.6-pr.2696.7be587d6a.0

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,38 +1,38 @@
1
- import { computed as B, reactive as mn, ref as x, watch as Ee, defineComponent as Q, resolveComponent as $, createElementBlock as J, openBlock as k, createVNode as g, withCtx as S, renderSlot as gi, unref as r, mergeModels as Et, useModel as Ct, createElementVNode as z, createTextVNode as le, toDisplayString as U, Fragment as fe, renderList as tt, createBlock as F, createCommentVNode as X, getCurrentInstance as bi, onMounted as yi, onUnmounted as vi, isReadonly as hi, toRefs as wi, onBeforeMount as _n, isRef as Ti, createSlots as gn, withModifiers as Si, Teleport as Ei, inject as bn, useId as Ci, nextTick as Dt, mergeProps as Ii } from "vue";
1
+ import { computed as z, reactive as mn, ref as x, watch as Ee, defineComponent as Q, resolveComponent as $, createElementBlock as J, openBlock as I, createVNode as g, withCtx as S, renderSlot as gi, unref as r, mergeModels as Et, useModel as Ct, createElementVNode as K, createTextVNode as le, toDisplayString as U, Fragment as fe, renderList as tt, createBlock as F, createCommentVNode as X, getCurrentInstance as bi, onMounted as yi, onUnmounted as vi, isReadonly as hi, toRefs as wi, onBeforeMount as _n, isRef as Ti, createSlots as gn, withModifiers as Si, Teleport as Ei, inject as bn, useId as Ci, nextTick as Dt, mergeProps as ki } from "vue";
2
2
  import "@kong-ui-public/entities-shared/dist/style.css";
3
3
  import "@kong-ui-public/entities-vaults/dist/style.css";
4
- import { useAxios as It, useErrors as yn, EntityBaseFormType as dt, EntityBaseForm as ki, SupportedEntityType as vn, EntityFormSection as ue, EntityFilter as hn, useDeleteUrlBuilder as Oi, useFetcher as Ri, FetcherStatus as xi, EntityBaseTable as Ai, PermissionsWrapper as Ke, TableTags as Pi, EntityDeleteModal as $i, EntityTypes as Vi, ConfigurationSchemaSection as V, ConfigurationSchemaType as M, EntityBaseConfigCard as Mi, useDebouncedFilter as Di } from "@kong-ui-public/entities-shared";
5
- import { VaultSecretPickerProvider as De, VaultSecretPicker as wn } from "@kong-ui-public/entities-vaults";
4
+ import { useAxios as kt, useErrors as yn, EntityBaseFormType as dt, EntityBaseForm as Ii, SupportedEntityType as vn, EntityFormSection as ue, EntityFilter as hn, useDeleteUrlBuilder as Oi, useFetcher as Ri, FetcherStatus as xi, EntityBaseTable as Ai, PermissionsWrapper as Ke, TableTags as Pi, EntityDeleteModal as $i, EntityTypes as Vi, ConfigurationSchemaSection as V, ConfigurationSchemaType as M, EntityBaseConfigCard as Mi, useDebouncedFilter as Di } from "@kong-ui-public/entities-shared";
5
+ import { VaultSecretPickerProvider as xe, VaultSecretPicker as wn } from "@kong-ui-public/entities-vaults";
6
6
  import { useRouter as Tn } from "vue-router";
7
7
  import { TrashIcon as ji, AddCircleIcon as Sn, AddIcon as yt, RefreshIcon as Li, ClipboardIcon as Ui, DeployIcon as Ni } from "@kong/icons";
8
8
  import { createI18n as Bi, i18nTComponent as Fi } from "@kong-ui-public/i18n";
9
9
  import { PluginIcon as En } from "@kong-ui-public/entities-plugins-icon";
10
10
  import { FORMS_CONFIG as Cn } from "@kong-ui-public/forms";
11
- var T = /* @__PURE__ */ ((e) => (e[e.HOST_PORT_CE = 0] = "HOST_PORT_CE", e[e.HOST_PORT_EE = 1] = "HOST_PORT_EE", e[e.SENTINEL = 2] = "SENTINEL", e[e.CLUSTER = 3] = "CLUSTER", e))(T || {}), Z = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(Z || {}), q = /* @__PURE__ */ ((e) => (e.AWS = "aws", e.GCP = "gcp", e.AZURE = "azure", e))(q || {}), In = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, se = In || zi || Function("return this")(), ee = se.Symbol, kn = Object.prototype, Ki = kn.hasOwnProperty, Hi = kn.toString, Me = ee ? ee.toStringTag : void 0;
11
+ var T = /* @__PURE__ */ ((e) => (e[e.HOST_PORT_CE = 0] = "HOST_PORT_CE", e[e.HOST_PORT_EE = 1] = "HOST_PORT_EE", e[e.SENTINEL = 2] = "SENTINEL", e[e.CLUSTER = 3] = "CLUSTER", e))(T || {}), Z = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(Z || {}), q = /* @__PURE__ */ ((e) => (e.AWS = "aws", e.GCP = "gcp", e.AZURE = "azure", e))(q || {}), kn = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, se = kn || zi || Function("return this")(), ee = se.Symbol, In = Object.prototype, Ki = In.hasOwnProperty, Hi = In.toString, De = ee ? ee.toStringTag : void 0;
12
12
  function Wi(e) {
13
- var t = Ki.call(e, Me), n = e[Me];
13
+ var t = Ki.call(e, De), n = e[De];
14
14
  try {
15
- e[Me] = void 0;
15
+ e[De] = void 0;
16
16
  var o = !0;
17
17
  } catch {
18
18
  }
19
19
  var i = Hi.call(e);
20
- return o && (t ? e[Me] = n : delete e[Me]), i;
20
+ return o && (t ? e[De] = n : delete e[De]), i;
21
21
  }
22
22
  var qi = Object.prototype, Gi = qi.toString;
23
23
  function Ji(e) {
24
24
  return Gi.call(e);
25
25
  }
26
26
  var Zi = "[object Null]", Qi = "[object Undefined]", jt = ee ? ee.toStringTag : void 0;
27
- function Ie(e) {
27
+ function ke(e) {
28
28
  return e == null ? e === void 0 ? Qi : Zi : jt && jt in Object(e) ? Wi(e) : Ji(e);
29
29
  }
30
30
  function me(e) {
31
31
  return e != null && typeof e == "object";
32
32
  }
33
33
  var Yi = "[object Symbol]";
34
- function kt(e) {
35
- return typeof e == "symbol" || me(e) && Ie(e) == Yi;
34
+ function It(e) {
35
+ return typeof e == "symbol" || me(e) && ke(e) == Yi;
36
36
  }
37
37
  function On(e, t) {
38
38
  for (var n = -1, o = e == null ? 0 : e.length, i = Array(o); ++n < o; )
@@ -45,7 +45,7 @@ function Rn(e) {
45
45
  return e;
46
46
  if (_e(e))
47
47
  return On(e, Rn) + "";
48
- if (kt(e))
48
+ if (It(e))
49
49
  return Ut ? Ut.call(e) : "";
50
50
  var t = e + "";
51
51
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
@@ -61,7 +61,7 @@ var er = "[object AsyncFunction]", tr = "[object Function]", nr = "[object Gener
61
61
  function xn(e) {
62
62
  if (!nt(e))
63
63
  return !1;
64
- var t = Ie(e);
64
+ var t = ke(e);
65
65
  return t == tr || t == nr || t == er || t == ir;
66
66
  }
67
67
  var ut = se["__core-js_shared__"], Nt = function() {
@@ -72,7 +72,7 @@ function rr(e) {
72
72
  return !!Nt && Nt in e;
73
73
  }
74
74
  var or = Function.prototype, ar = or.toString;
75
- function ke(e) {
75
+ function Ie(e) {
76
76
  if (e != null) {
77
77
  try {
78
78
  return ar.call(e);
@@ -92,7 +92,7 @@ function mr(e) {
92
92
  if (!nt(e) || rr(e))
93
93
  return !1;
94
94
  var t = xn(e) ? pr : sr;
95
- return t.test(ke(e));
95
+ return t.test(Ie(e));
96
96
  }
97
97
  function _r(e, t) {
98
98
  return e == null ? void 0 : e[t];
@@ -152,10 +152,10 @@ function Er(e, t) {
152
152
  ;
153
153
  return e;
154
154
  }
155
- var Cr = 9007199254740991, Ir = /^(?:0|[1-9]\d*)$/;
156
- function kr(e, t) {
155
+ var Cr = 9007199254740991, kr = /^(?:0|[1-9]\d*)$/;
156
+ function Ir(e, t) {
157
157
  var n = typeof e;
158
- return t = t ?? Cr, !!t && (n == "number" || n != "symbol" && Ir.test(e)) && e > -1 && e % 1 == 0 && e < t;
158
+ return t = t ?? Cr, !!t && (n == "number" || n != "symbol" && kr.test(e)) && e > -1 && e % 1 == 0 && e < t;
159
159
  }
160
160
  function An(e, t, n) {
161
161
  t == "__proto__" && Je ? Je(e, t, {
@@ -177,8 +177,8 @@ function xr(e, t, n, o) {
177
177
  var i = !n;
178
178
  n || (n = {});
179
179
  for (var a = -1, c = t.length; ++a < c; ) {
180
- var f = t[a], l = void 0;
181
- l === void 0 && (l = e[f]), i ? An(n, f, l) : Pn(n, f, l);
180
+ var p = t[a], l = void 0;
181
+ l === void 0 && (l = e[p]), i ? An(n, p, l) : Pn(n, p, l);
182
182
  }
183
183
  return n;
184
184
  }
@@ -188,9 +188,9 @@ function Ar(e, t, n) {
188
188
  for (var o = arguments, i = -1, a = Bt(o.length - t, 0), c = Array(a); ++i < a; )
189
189
  c[i] = o[t + i];
190
190
  i = -1;
191
- for (var f = Array(t + 1); ++i < t; )
192
- f[i] = o[i];
193
- return f[t] = n(c), gr(e, this, f);
191
+ for (var p = Array(t + 1); ++i < t; )
192
+ p[i] = o[i];
193
+ return p[t] = n(c), gr(e, this, p);
194
194
  };
195
195
  }
196
196
  var Pr = 9007199254740991;
@@ -212,7 +212,7 @@ function Vr(e, t) {
212
212
  }
213
213
  var Mr = "[object Arguments]";
214
214
  function Ft(e) {
215
- return me(e) && Ie(e) == Mr;
215
+ return me(e) && ke(e) == Mr;
216
216
  }
217
217
  var Dn = Object.prototype, Dr = Dn.hasOwnProperty, jr = Dn.propertyIsEnumerable, jn = Ft(/* @__PURE__ */ function() {
218
218
  return arguments;
@@ -226,29 +226,29 @@ var Ln = typeof exports == "object" && exports && !exports.nodeType && exports,
226
226
  L[no] = L[io] = L[ro] = L[oo] = L[ao] = L[lo] = L[so] = L[uo] = L[co] = !0;
227
227
  L[Br] = L[Fr] = L[eo] = L[zr] = L[to] = L[Kr] = L[Hr] = L[Wr] = L[qr] = L[Gr] = L[Jr] = L[Zr] = L[Qr] = L[Yr] = L[Xr] = !1;
228
228
  function fo(e) {
229
- return me(e) && $n(e.length) && !!L[Ie(e)];
229
+ return me(e) && $n(e.length) && !!L[ke(e)];
230
230
  }
231
231
  function Rt(e) {
232
232
  return function(t) {
233
233
  return e(t);
234
234
  };
235
235
  }
236
- var Un = typeof exports == "object" && exports && !exports.nodeType && exports, je = Un && typeof module == "object" && module && !module.nodeType && module, po = je && je.exports === Un, ct = po && In.process, $e = function() {
236
+ var Un = typeof exports == "object" && exports && !exports.nodeType && exports, je = Un && typeof module == "object" && module && !module.nodeType && module, po = je && je.exports === Un, ct = po && kn.process, Ve = function() {
237
237
  try {
238
238
  var e = je && je.require && je.require("util").types;
239
239
  return e || ct && ct.binding && ct.binding("util");
240
240
  } catch {
241
241
  }
242
- }(), Ht = $e && $e.isTypedArray, Nn = Ht ? Rt(Ht) : fo, mo = Object.prototype, _o = mo.hasOwnProperty;
242
+ }(), Ht = Ve && Ve.isTypedArray, Nn = Ht ? Rt(Ht) : fo, mo = Object.prototype, _o = mo.hasOwnProperty;
243
243
  function Bn(e, t) {
244
- var n = _e(e), o = !n && jn(e), i = !n && !o && Ze(e), a = !n && !o && !i && Nn(e), c = n || o || i || a, f = c ? Vr(e.length, String) : [], l = f.length;
244
+ var n = _e(e), o = !n && jn(e), i = !n && !o && Ze(e), a = !n && !o && !i && Nn(e), c = n || o || i || a, p = c ? Vr(e.length, String) : [], l = p.length;
245
245
  for (var u in e)
246
246
  (t || _o.call(e, u)) && !(c && // Safari 9 has enumerable `arguments.length` in strict mode.
247
247
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
248
248
  i && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
249
249
  a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
250
- kr(u, l))) && f.push(u);
251
- return f;
250
+ Ir(u, l))) && p.push(u);
251
+ return p;
252
252
  }
253
253
  function Fn(e, t) {
254
254
  return function(n) {
@@ -286,12 +286,12 @@ function Eo(e) {
286
286
  function Co(e) {
287
287
  return Vn(e) ? Bn(e, !0) : Eo(e);
288
288
  }
289
- var Io = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ko = /^\w*$/;
289
+ var ko = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Io = /^\w*$/;
290
290
  function Oo(e, t) {
291
291
  if (_e(e))
292
292
  return !1;
293
293
  var n = typeof e;
294
- return n == "number" || n == "symbol" || n == "boolean" || e == null || kt(e) ? !0 : ko.test(e) || !Io.test(e) || t != null && e in Object(t);
294
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || It(e) ? !0 : Io.test(e) || !ko.test(e) || t != null && e in Object(t);
295
295
  }
296
296
  var Le = Oe(Object, "create");
297
297
  function Ro() {
@@ -448,7 +448,7 @@ function At(e, t) {
448
448
  return _e(e) ? e : Oo(e, t) ? [e] : ra(oa(e));
449
449
  }
450
450
  function zn(e) {
451
- if (typeof e == "string" || kt(e))
451
+ if (typeof e == "string" || It(e))
452
452
  return e;
453
453
  var t = e + "";
454
454
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
@@ -471,8 +471,8 @@ function la(e) {
471
471
  function sa(e, t, n, o, i) {
472
472
  var a = -1, c = e.length;
473
473
  for (n || (n = la), i || (i = []); ++a < c; ) {
474
- var f = e[a];
475
- n(f) ? Pt(i, f) : i[i.length] = f;
474
+ var p = e[a];
475
+ n(p) ? Pt(i, p) : i[i.length] = p;
476
476
  }
477
477
  return i;
478
478
  }
@@ -485,7 +485,7 @@ function ua(e) {
485
485
  }
486
486
  var Kn = Fn(Object.getPrototypeOf, Object), ca = "[object Object]", fa = Function.prototype, pa = Object.prototype, Hn = fa.toString, ma = pa.hasOwnProperty, _a = Hn.call(Object);
487
487
  function ga(e) {
488
- if (!me(e) || Ie(e) != ca)
488
+ if (!me(e) || ke(e) != ca)
489
489
  return !1;
490
490
  var t = Kn(e);
491
491
  if (t === null)
@@ -538,7 +538,7 @@ Gt && Gt.allocUnsafe;
538
538
  function Ca(e, t) {
539
539
  return e.slice();
540
540
  }
541
- function Ia(e, t) {
541
+ function ka(e, t) {
542
542
  for (var n = -1, o = e == null ? 0 : e.length, i = 0, a = []; ++n < o; ) {
543
543
  var c = e[n];
544
544
  t(c, n, e) && (a[i++] = c);
@@ -548,8 +548,8 @@ function Ia(e, t) {
548
548
  function qn() {
549
549
  return [];
550
550
  }
551
- var ka = Object.prototype, Oa = ka.propertyIsEnumerable, Jt = Object.getOwnPropertySymbols, Gn = Jt ? function(e) {
552
- return e == null ? [] : (e = Object(e), Ia(Jt(e), function(t) {
551
+ var Ia = Object.prototype, Oa = Ia.propertyIsEnumerable, Jt = Object.getOwnPropertySymbols, Gn = Jt ? function(e) {
552
+ return e == null ? [] : (e = Object(e), ka(Jt(e), function(t) {
553
553
  return Oa.call(e, t);
554
554
  }));
555
555
  } : qn, Ra = Object.getOwnPropertySymbols, xa = Ra ? function(e) {
@@ -567,9 +567,9 @@ function Zt(e) {
567
567
  function Zn(e) {
568
568
  return Jn(e, Co, xa);
569
569
  }
570
- var ht = Oe(se, "DataView"), wt = Oe(se, "Promise"), Tt = Oe(se, "Set"), Qt = "[object Map]", Aa = "[object Object]", Yt = "[object Promise]", Xt = "[object Set]", en = "[object WeakMap]", tn = "[object DataView]", Pa = ke(ht), $a = ke(Ue), Va = ke(wt), Ma = ke(Tt), Da = ke(vt), ae = Ie;
570
+ var ht = Oe(se, "DataView"), wt = Oe(se, "Promise"), Tt = Oe(se, "Set"), Qt = "[object Map]", Aa = "[object Object]", Yt = "[object Promise]", Xt = "[object Set]", en = "[object WeakMap]", tn = "[object DataView]", Pa = Ie(ht), $a = Ie(Ue), Va = Ie(wt), Ma = Ie(Tt), Da = Ie(vt), ae = ke;
571
571
  (ht && ae(new ht(new ArrayBuffer(1))) != tn || Ue && ae(new Ue()) != Qt || wt && ae(wt.resolve()) != Yt || Tt && ae(new Tt()) != Xt || vt && ae(new vt()) != en) && (ae = function(e) {
572
- var t = Ie(e), n = t == Aa ? e.constructor : void 0, o = n ? ke(n) : "";
572
+ var t = ke(e), n = t == Aa ? e.constructor : void 0, o = n ? Ie(n) : "";
573
573
  if (o)
574
574
  switch (o) {
575
575
  case Pa:
@@ -650,12 +650,12 @@ var cl = "[object Map]";
650
650
  function fl(e) {
651
651
  return me(e) && ae(e) == cl;
652
652
  }
653
- var on = $e && $e.isMap, pl = on ? Rt(on) : fl, ml = "[object Set]";
653
+ var on = Ve && Ve.isMap, pl = on ? Rt(on) : fl, ml = "[object Set]";
654
654
  function _l(e) {
655
655
  return me(e) && ae(e) == ml;
656
656
  }
657
- var an = $e && $e.isSet, gl = an ? Rt(an) : _l, Qn = "[object Arguments]", bl = "[object Array]", yl = "[object Boolean]", vl = "[object Date]", hl = "[object Error]", Yn = "[object Function]", wl = "[object GeneratorFunction]", Tl = "[object Map]", Sl = "[object Number]", Xn = "[object Object]", El = "[object RegExp]", Cl = "[object Set]", Il = "[object String]", kl = "[object Symbol]", Ol = "[object WeakMap]", Rl = "[object ArrayBuffer]", xl = "[object DataView]", Al = "[object Float32Array]", Pl = "[object Float64Array]", $l = "[object Int8Array]", Vl = "[object Int16Array]", Ml = "[object Int32Array]", Dl = "[object Uint8Array]", jl = "[object Uint8ClampedArray]", Ll = "[object Uint16Array]", Ul = "[object Uint32Array]", D = {};
658
- D[Qn] = D[bl] = D[Rl] = D[xl] = D[yl] = D[vl] = D[Al] = D[Pl] = D[$l] = D[Vl] = D[Ml] = D[Tl] = D[Sl] = D[Xn] = D[El] = D[Cl] = D[Il] = D[kl] = D[Dl] = D[jl] = D[Ll] = D[Ul] = !0;
657
+ var an = Ve && Ve.isSet, gl = an ? Rt(an) : _l, Qn = "[object Arguments]", bl = "[object Array]", yl = "[object Boolean]", vl = "[object Date]", hl = "[object Error]", Yn = "[object Function]", wl = "[object GeneratorFunction]", Tl = "[object Map]", Sl = "[object Number]", Xn = "[object Object]", El = "[object RegExp]", Cl = "[object Set]", kl = "[object String]", Il = "[object Symbol]", Ol = "[object WeakMap]", Rl = "[object ArrayBuffer]", xl = "[object DataView]", Al = "[object Float32Array]", Pl = "[object Float64Array]", $l = "[object Int8Array]", Vl = "[object Int16Array]", Ml = "[object Int32Array]", Dl = "[object Uint8Array]", jl = "[object Uint8ClampedArray]", Ll = "[object Uint16Array]", Ul = "[object Uint32Array]", D = {};
658
+ D[Qn] = D[bl] = D[Rl] = D[xl] = D[yl] = D[vl] = D[Al] = D[Pl] = D[$l] = D[Vl] = D[Ml] = D[Tl] = D[Sl] = D[Xn] = D[El] = D[Cl] = D[kl] = D[Il] = D[Dl] = D[jl] = D[Ll] = D[Ul] = !0;
659
659
  D[hl] = D[Yn] = D[Ol] = !1;
660
660
  function Ge(e, t, n, o, i, a) {
661
661
  var c;
@@ -663,8 +663,8 @@ function Ge(e, t, n, o, i, a) {
663
663
  return c;
664
664
  if (!nt(e))
665
665
  return e;
666
- var f = _e(e);
667
- if (f)
666
+ var p = _e(e);
667
+ if (p)
668
668
  c = Ua(e);
669
669
  else {
670
670
  var l = ae(e), u = l == Yn || l == wl;
@@ -684,12 +684,12 @@ function Ge(e, t, n, o, i, a) {
684
684
  return y;
685
685
  a.set(e, c), gl(e) ? e.forEach(function(b) {
686
686
  c.add(Ge(b, t, n, b, e, a));
687
- }) : pl(e) && e.forEach(function(b, m) {
688
- c.set(m, Ge(b, t, n, m, e, a));
687
+ }) : pl(e) && e.forEach(function(b, _) {
688
+ c.set(_, Ge(b, t, n, _, e, a));
689
689
  });
690
- var w = Zn, p = f ? void 0 : w(e);
691
- return Er(p || e, function(b, m) {
692
- p && (m = b, b = e[m]), Pn(c, m, Ge(b, t, n, m, e, a));
690
+ var w = Zn, m = p ? void 0 : w(e);
691
+ return Er(m || e, function(b, _) {
692
+ m && (_ = b, b = e[_]), Pn(c, _, Ge(b, t, n, _, e, a));
693
693
  }), c;
694
694
  }
695
695
  var Nl = "__lodash_hash_undefined__";
@@ -717,37 +717,37 @@ function Kl(e, t) {
717
717
  }
718
718
  var Hl = 1, Wl = 2;
719
719
  function ei(e, t, n, o, i, a) {
720
- var c = n & Hl, f = e.length, l = t.length;
721
- if (f != l && !(c && l > f))
720
+ var c = n & Hl, p = e.length, l = t.length;
721
+ if (p != l && !(c && l > p))
722
722
  return !1;
723
723
  var u = a.get(e), y = a.get(t);
724
724
  if (u && y)
725
725
  return u == t && y == e;
726
- var w = -1, p = !0, b = n & Wl ? new Ye() : void 0;
727
- for (a.set(e, t), a.set(t, e); ++w < f; ) {
728
- var m = e[w], E = t[w];
726
+ var w = -1, m = !0, b = n & Wl ? new Ye() : void 0;
727
+ for (a.set(e, t), a.set(t, e); ++w < p; ) {
728
+ var _ = e[w], E = t[w];
729
729
  if (o)
730
- var d = c ? o(E, m, w, t, e, a) : o(m, E, w, e, t, a);
731
- if (d !== void 0) {
732
- if (d)
730
+ var s = c ? o(E, _, w, t, e, a) : o(_, E, w, e, t, a);
731
+ if (s !== void 0) {
732
+ if (s)
733
733
  continue;
734
- p = !1;
734
+ m = !1;
735
735
  break;
736
736
  }
737
737
  if (b) {
738
- if (!zl(t, function(A, I) {
739
- if (!Kl(b, I) && (m === A || i(m, A, n, o, a)))
740
- return b.push(I);
738
+ if (!zl(t, function(A, k) {
739
+ if (!Kl(b, k) && (_ === A || i(_, A, n, o, a)))
740
+ return b.push(k);
741
741
  })) {
742
- p = !1;
742
+ m = !1;
743
743
  break;
744
744
  }
745
- } else if (!(m === E || i(m, E, n, o, a))) {
746
- p = !1;
745
+ } else if (!(_ === E || i(_, E, n, o, a))) {
746
+ m = !1;
747
747
  break;
748
748
  }
749
749
  }
750
- return a.delete(e), a.delete(t), p;
750
+ return a.delete(e), a.delete(t), m;
751
751
  }
752
752
  function ql(e) {
753
753
  var t = -1, n = Array(e.size);
@@ -780,16 +780,16 @@ function ss(e, t, n, o, i, a, c) {
780
780
  case rs:
781
781
  return e == t + "";
782
782
  case es:
783
- var f = ql;
783
+ var p = ql;
784
784
  case is:
785
785
  var l = o & Jl;
786
- if (f || (f = Gl), e.size != t.size && !l)
786
+ if (p || (p = Gl), e.size != t.size && !l)
787
787
  return !1;
788
788
  var u = c.get(e);
789
789
  if (u)
790
790
  return u == t;
791
791
  o |= Zl, c.set(e, t);
792
- var y = ei(f(e), f(t), o, i, a, c);
792
+ var y = ei(p(e), p(t), o, i, a, c);
793
793
  return c.delete(e), y;
794
794
  case os:
795
795
  if (ft)
@@ -799,31 +799,31 @@ function ss(e, t, n, o, i, a, c) {
799
799
  }
800
800
  var ds = 1, us = Object.prototype, cs = us.hasOwnProperty;
801
801
  function fs(e, t, n, o, i, a) {
802
- var c = n & ds, f = Zt(e), l = f.length, u = Zt(t), y = u.length;
802
+ var c = n & ds, p = Zt(e), l = p.length, u = Zt(t), y = u.length;
803
803
  if (l != y && !c)
804
804
  return !1;
805
805
  for (var w = l; w--; ) {
806
- var p = f[w];
807
- if (!(c ? p in t : cs.call(t, p)))
806
+ var m = p[w];
807
+ if (!(c ? m in t : cs.call(t, m)))
808
808
  return !1;
809
809
  }
810
- var b = a.get(e), m = a.get(t);
811
- if (b && m)
812
- return b == t && m == e;
810
+ var b = a.get(e), _ = a.get(t);
811
+ if (b && _)
812
+ return b == t && _ == e;
813
813
  var E = !0;
814
814
  a.set(e, t), a.set(t, e);
815
- for (var d = c; ++w < l; ) {
816
- p = f[w];
817
- var A = e[p], I = t[p];
815
+ for (var s = c; ++w < l; ) {
816
+ m = p[w];
817
+ var A = e[m], k = t[m];
818
818
  if (o)
819
- var s = c ? o(I, A, p, t, e, a) : o(A, I, p, e, t, a);
820
- if (!(s === void 0 ? A === I || i(A, I, n, o, a) : s)) {
819
+ var d = c ? o(k, A, m, t, e, a) : o(A, k, m, e, t, a);
820
+ if (!(d === void 0 ? A === k || i(A, k, n, o, a) : d)) {
821
821
  E = !1;
822
822
  break;
823
823
  }
824
- d || (d = p == "constructor");
824
+ s || (s = m == "constructor");
825
825
  }
826
- if (E && !d) {
826
+ if (E && !s) {
827
827
  var O = e.constructor, P = t.constructor;
828
828
  O != P && "constructor" in e && "constructor" in t && !(typeof O == "function" && O instanceof O && typeof P == "function" && P instanceof P) && (E = !1);
829
829
  }
@@ -831,24 +831,24 @@ function fs(e, t, n, o, i, a) {
831
831
  }
832
832
  var ps = 1, sn = "[object Arguments]", dn = "[object Array]", He = "[object Object]", ms = Object.prototype, un = ms.hasOwnProperty;
833
833
  function _s(e, t, n, o, i, a) {
834
- var c = _e(e), f = _e(t), l = c ? dn : ae(e), u = f ? dn : ae(t);
834
+ var c = _e(e), p = _e(t), l = c ? dn : ae(e), u = p ? dn : ae(t);
835
835
  l = l == sn ? He : l, u = u == sn ? He : u;
836
- var y = l == He, w = u == He, p = l == u;
837
- if (p && Ze(e)) {
836
+ var y = l == He, w = u == He, m = l == u;
837
+ if (m && Ze(e)) {
838
838
  if (!Ze(t))
839
839
  return !1;
840
840
  c = !0, y = !1;
841
841
  }
842
- if (p && !y)
842
+ if (m && !y)
843
843
  return a || (a = new pe()), c || Nn(e) ? ei(e, t, n, o, i, a) : ss(e, t, l, n, o, i, a);
844
844
  if (!(n & ps)) {
845
- var b = y && un.call(e, "__wrapped__"), m = w && un.call(t, "__wrapped__");
846
- if (b || m) {
847
- var E = b ? e.value() : e, d = m ? t.value() : t;
848
- return a || (a = new pe()), i(E, d, n, o, a);
845
+ var b = y && un.call(e, "__wrapped__"), _ = w && un.call(t, "__wrapped__");
846
+ if (b || _) {
847
+ var E = b ? e.value() : e, s = _ ? t.value() : t;
848
+ return a || (a = new pe()), i(E, s, n, o, a);
849
849
  }
850
850
  }
851
- return p ? (a || (a = new pe()), fs(e, t, n, o, i, a)) : !1;
851
+ return m ? (a || (a = new pe()), fs(e, t, n, o, i, a)) : !1;
852
852
  }
853
853
  function ti(e, t, n, o, i) {
854
854
  return e === t ? !0 : e == null || t == null || !me(e) && !me(t) ? e !== e && t !== t : _s(e, t, n, o, ti, i);
@@ -888,14 +888,14 @@ function Cs(e, t = 0) {
888
888
  return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
889
889
  }
890
890
  let pt;
891
- const Is = new Uint8Array(16);
892
- function ks() {
891
+ const ks = new Uint8Array(16);
892
+ function Is() {
893
893
  if (!pt) {
894
894
  if (typeof crypto > "u" || !crypto.getRandomValues)
895
895
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
896
896
  pt = crypto.getRandomValues.bind(crypto);
897
897
  }
898
- return pt(Is);
898
+ return pt(ks);
899
899
  }
900
900
  const Os = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), cn = { randomUUID: Os };
901
901
  function Rs(e, t, n) {
@@ -903,7 +903,7 @@ function Rs(e, t, n) {
903
903
  if (cn.randomUUID && !e)
904
904
  return cn.randomUUID();
905
905
  e = e || {};
906
- const o = e.random ?? ((i = e.rng) == null ? void 0 : i.call(e)) ?? ks();
906
+ const o = e.random ?? ((i = e.rng) == null ? void 0 : i.call(e)) ?? Is();
907
907
  if (o.length < 16)
908
908
  throw new Error("Random bytes length must be >= 16");
909
909
  return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Cs(o);
@@ -914,7 +914,7 @@ const ni = {
914
914
  }, ii = {
915
915
  host: "127.0.0.1",
916
916
  port: 6379
917
- }, Pe = T.HOST_PORT_EE, ri = {
917
+ }, $e = T.HOST_PORT_EE, ri = {
918
918
  port: 6379,
919
919
  host: "127.0.0.1",
920
920
  database: 0,
@@ -943,7 +943,7 @@ const ni = {
943
943
  __proto__: null,
944
944
  DEFAULT_CLUSTER_NODE: ni,
945
945
  DEFAULT_FIELDS: ri,
946
- DEFAULT_REDIS_TYPE: Pe,
946
+ DEFAULT_REDIS_TYPE: $e,
947
947
  DEFAULT_SENTINEL_NODE: ii
948
948
  }, Symbol.toStringTag, { value: "Module" })), Ne = (e) => ({ ...e, id: Rs() }), St = (e) => {
949
949
  const { id: t, ...n } = e;
@@ -1026,7 +1026,7 @@ const ni = {
1026
1026
  shallowCopyWithId: Ne,
1027
1027
  shallowCopyWithoutId: St,
1028
1028
  standardize: h
1029
- }, Symbol.toStringTag, { value: "Module" })), We = "/v2/control-planes/{controlPlaneId}/core-entities", qe = "/{workspace}", Ve = {
1029
+ }, Symbol.toStringTag, { value: "Module" })), We = "/v2/control-planes/{controlPlaneId}/core-entities", qe = "/{workspace}", Me = {
1030
1030
  list: {
1031
1031
  konnect: `${We}/partials`,
1032
1032
  kongManager: `${qe}/partials`
@@ -1046,7 +1046,7 @@ const ni = {
1046
1046
  kongManager: `${qe}/partials/{id}/links`
1047
1047
  }
1048
1048
  }, xs = (e) => {
1049
- const { partialId: t, config: n, defaultRedisType: o = Pe } = e, i = !!t, { axiosInstance: a } = It(n.axiosRequestConfig), { getMessageFromError: c } = yn(), f = B(() => t ? dt.Edit : dt.Create), l = mn({
1049
+ const { partialId: t, config: n, defaultRedisType: o = $e } = e, i = !!t, { axiosInstance: a } = kt(n.axiosRequestConfig), { getMessageFromError: c } = yn(), p = z(() => t ? dt.Edit : dt.Create), l = mn({
1050
1050
  fields: {
1051
1051
  name: "",
1052
1052
  tags: "",
@@ -1055,45 +1055,45 @@ const ni = {
1055
1055
  },
1056
1056
  readonly: !1,
1057
1057
  errorMessage: ""
1058
- }), u = x(), y = x(o), w = B(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
1059
- Ee(y, (s) => {
1060
- l.fields.type = Xe(s);
1058
+ }), u = x(), y = x(o), w = z(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
1059
+ Ee(y, (d) => {
1060
+ l.fields.type = Xe(d);
1061
1061
  });
1062
- const p = B(() => {
1062
+ const m = z(() => {
1063
1063
  var O, P, W, Y;
1064
- if (i && ys(u.value, m.value) || !((O = l.fields.name) != null && O.length))
1064
+ if (i && ys(u.value, _.value) || !((O = l.fields.name) != null && O.length))
1065
1065
  return !1;
1066
- const { config: s } = l.fields;
1066
+ const { config: d } = l.fields;
1067
1067
  switch (y.value) {
1068
1068
  case T.HOST_PORT_CE:
1069
1069
  case T.HOST_PORT_EE:
1070
- return !!s.host && s.host.length > 0 && !!s.port && s.port > 0 && (((P = s.cloud_authentication) == null ? void 0 : P.auth_provider) !== "aws" || !!s.cloud_authentication.aws_cache_name);
1070
+ return !!d.host && d.host.length > 0 && String(d.port ?? "").length > 0 && (((P = d.cloud_authentication) == null ? void 0 : P.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
1071
1071
  case T.CLUSTER:
1072
- return !!s.cluster_nodes.length && s.cluster_nodes.every((ne) => ne.ip.length > 0) && (((W = s.cloud_authentication) == null ? void 0 : W.auth_provider) !== "aws" || !!s.cloud_authentication.aws_cache_name);
1072
+ return !!d.cluster_nodes.length && d.cluster_nodes.every((ne) => ne.ip.length > 0) && (((W = d.cloud_authentication) == null ? void 0 : W.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
1073
1073
  case T.SENTINEL:
1074
- return !!s.sentinel_nodes.length && s.sentinel_nodes.every((ne) => ne.host.length > 0) && !!((Y = s.sentinel_master) != null && Y.length) && s.sentinel_role && !!s.sentinel_role.length;
1074
+ return !!d.sentinel_nodes.length && d.sentinel_nodes.every((ne) => ne.host.length > 0) && !!((Y = d.sentinel_master) != null && Y.length) && d.sentinel_role && !!d.sentinel_role.length;
1075
1075
  default:
1076
1076
  throw new Error("Invalid redis type");
1077
1077
  }
1078
1078
  }), b = () => {
1079
1079
  if (!e.cloudAuthAvailable)
1080
1080
  return;
1081
- const s = Vt(l.fields.config.cloud_authentication);
1082
- return s != null && s.auth_provider ? {
1083
- auth_provider: s.auth_provider,
1084
- aws_cache_name: h.str(s.aws_cache_name, null),
1085
- aws_region: h.str(s.aws_region, null),
1086
- aws_is_serverless: s.aws_is_serverless,
1087
- aws_access_key_id: h.str(s.aws_access_key_id, null),
1088
- aws_secret_access_key: h.str(s.aws_secret_access_key, null),
1089
- aws_assume_role_arn: h.str(s.aws_assume_role_arn, null),
1090
- aws_role_session_name: h.str(s.aws_role_session_name, null),
1091
- gcp_service_account_json: h.str(s.gcp_service_account_json, null),
1092
- azure_client_id: h.str(s.azure_client_id, null),
1093
- azure_client_secret: h.str(s.azure_client_secret, null),
1094
- azure_tenant_id: h.str(s.azure_tenant_id, null)
1081
+ const d = Vt(l.fields.config.cloud_authentication);
1082
+ return d != null && d.auth_provider ? {
1083
+ auth_provider: d.auth_provider,
1084
+ aws_cache_name: h.str(d.aws_cache_name, null),
1085
+ aws_region: h.str(d.aws_region, null),
1086
+ aws_is_serverless: d.aws_is_serverless,
1087
+ aws_access_key_id: h.str(d.aws_access_key_id, null),
1088
+ aws_secret_access_key: h.str(d.aws_secret_access_key, null),
1089
+ aws_assume_role_arn: h.str(d.aws_assume_role_arn, null),
1090
+ aws_role_session_name: h.str(d.aws_role_session_name, null),
1091
+ gcp_service_account_json: h.str(d.gcp_service_account_json, null),
1092
+ azure_client_id: h.str(d.azure_client_id, null),
1093
+ azure_client_secret: h.str(d.azure_client_secret, null),
1094
+ azure_tenant_id: h.str(d.azure_tenant_id, null)
1095
1095
  } : null;
1096
- }, m = B(() => {
1096
+ }, _ = z(() => {
1097
1097
  switch (y.value) {
1098
1098
  case T.HOST_PORT_CE:
1099
1099
  return {
@@ -1127,7 +1127,7 @@ const ni = {
1127
1127
  keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
1128
1128
  keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
1129
1129
  password: h.str(l.fields.config.password, null),
1130
- port: h.int(l.fields.config.port),
1130
+ port: Number.isNaN(Number(l.fields.config.port)) ? l.fields.config.port : h.int(l.fields.config.port),
1131
1131
  read_timeout: h.int(l.fields.config.read_timeout),
1132
1132
  send_timeout: h.int(l.fields.config.send_timeout),
1133
1133
  server_name: h.str(l.fields.config.server_name, null),
@@ -1208,41 +1208,41 @@ const ni = {
1208
1208
  default:
1209
1209
  throw new Error("Invalid redis type");
1210
1210
  }
1211
- }), E = B(() => {
1212
- let s = `${n.apiBaseUrl}${Ve.form[n.app][f.value]}`;
1213
- return n.app === "konnect" ? s = s.replace(/{controlPlaneId}/gi, (n == null ? void 0 : n.controlPlaneId) || "") : n.app === "kongManager" && (s = s.replace(/\/{workspace}/gi, n != null && n.workspace ? `/${n.workspace}` : "")), s = s.replace(/{id}/gi, t || ""), s;
1214
- }), d = B(() => {
1215
- var s;
1216
- return (s = Ve.form[n == null ? void 0 : n.app]) == null ? void 0 : s.edit;
1211
+ }), E = z(() => {
1212
+ let d = `${n.apiBaseUrl}${Me.form[n.app][p.value]}`;
1213
+ return n.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, (n == null ? void 0 : n.controlPlaneId) || "") : n.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, n != null && n.workspace ? `/${n.workspace}` : "")), d = d.replace(/{id}/gi, t || ""), d;
1214
+ }), s = z(() => {
1215
+ var d;
1216
+ return (d = Me.form[n == null ? void 0 : n.app]) == null ? void 0 : d.edit;
1217
1217
  });
1218
1218
  return {
1219
1219
  form: l,
1220
- canSubmit: p,
1221
- payload: m,
1220
+ canSubmit: m,
1221
+ payload: _,
1222
1222
  isEdit: i,
1223
1223
  redisType: y,
1224
1224
  redisTypeIsEnterprise: w,
1225
- formType: f,
1226
- fetchUrl: d,
1225
+ formType: p,
1226
+ fetchUrl: s,
1227
1227
  submit: async () => {
1228
1228
  try {
1229
1229
  l.readonly = !0, l.errorMessage = "";
1230
- let s = m.value;
1231
- return n.app === "konnect" && (s = {
1232
- ...s,
1233
- config: h.removeNullValues(s.config)
1234
- }), f.value === dt.Create ? await a.post(E.value, s) : n.app === "konnect" ? await a.put(E.value, s) : await a.patch(E.value, s);
1235
- } catch (s) {
1236
- throw l.errorMessage = c(s), l.readonly = !1, s;
1230
+ let d = _.value;
1231
+ return n.app === "konnect" && (d = {
1232
+ ...d,
1233
+ config: h.removeNullValues(d.config)
1234
+ }), p.value === dt.Create ? await a.post(E.value, d) : n.app === "konnect" ? await a.put(E.value, d) : await a.patch(E.value, d);
1235
+ } catch (d) {
1236
+ throw l.errorMessage = c(d), l.readonly = !1, d;
1237
1237
  }
1238
1238
  },
1239
- setInitialFormValues: (s) => {
1239
+ setInitialFormValues: (d) => {
1240
1240
  l.fields.config = Object.assign(
1241
1241
  {},
1242
1242
  l.fields.config,
1243
- h.removeNullValues(s.config)
1243
+ h.removeNullValues(d.config)
1244
1244
  // remove null values if data, so they can be replaced with default values
1245
- ), l.fields.config.sentinel_nodes = h.addIdToSentinelNodes(s.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = h.addIdToClusterNodes(s.config.cluster_nodes ?? []), l.fields.name = s.name, l.fields.type = s.type, l.fields.tags = h.arrayToString(s.tags), y.value = Be(s), u.value = JSON.parse(JSON.stringify(m.value));
1245
+ ), l.fields.config.sentinel_nodes = h.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = h.addIdToClusterNodes(d.config.cluster_nodes ?? []), l.fields.name = d.name, l.fields.type = d.type, l.fields.tags = h.arrayToString(d.tags), y.value = Be(d), u.value = JSON.parse(JSON.stringify(_.value));
1246
1246
  }
1247
1247
  };
1248
1248
  }, As = { class: "array-card-container" }, Ps = /* @__PURE__ */ Q({
@@ -1269,7 +1269,7 @@ const ni = {
1269
1269
  setup(e) {
1270
1270
  return (t, n) => {
1271
1271
  const o = $("KCard"), i = $("KButton");
1272
- return k(), J("div", As, [
1272
+ return I(), J("div", As, [
1273
1273
  g(o, { class: "card" }, {
1274
1274
  default: S(() => [
1275
1275
  gi(t.$slots, "default", {}, void 0, !0)
@@ -1634,9 +1634,9 @@ const ye = {
1634
1634
  t.value.splice(a, 1);
1635
1635
  };
1636
1636
  return (a, c) => {
1637
- const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1638
- return k(), J("div", null, [
1639
- g(f, {
1637
+ const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1638
+ return I(), J("div", null, [
1639
+ g(p, {
1640
1640
  class: "required",
1641
1641
  info: r(n)("form.fields.cluster_nodes.tooltip"),
1642
1642
  "tooltip-attributes": { maxWidth: "400" }
@@ -1646,18 +1646,18 @@ const ye = {
1646
1646
  ]),
1647
1647
  _: 1
1648
1648
  }, 8, ["info"]),
1649
- z("div", null, [
1650
- (k(!0), J(fe, null, tt(t.value, (y, w) => (k(), F(li, {
1649
+ K("div", null, [
1650
+ (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1651
1651
  key: `${w}`,
1652
1652
  "data-testid": "redis-cluster-nodes",
1653
1653
  disabled: e.readonly,
1654
- onRemoveItem: (p) => i(w)
1654
+ onRemoveItem: (m) => i(w)
1655
1655
  }, {
1656
1656
  default: S(() => [
1657
- z("div", zs, [
1657
+ K("div", zs, [
1658
1658
  g(l, {
1659
1659
  modelValue: y.ip,
1660
- "onUpdate:modelValue": (p) => y.ip = p,
1660
+ "onUpdate:modelValue": (m) => y.ip = m,
1661
1661
  modelModifiers: { trim: !0 },
1662
1662
  label: r(n)("form.fields.cluster_node_ip.label"),
1663
1663
  "label-attributes": {
@@ -1670,7 +1670,7 @@ const ye = {
1670
1670
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1671
1671
  g(l, {
1672
1672
  modelValue: y.port,
1673
- "onUpdate:modelValue": (p) => y.port = p,
1673
+ "onUpdate:modelValue": (m) => y.port = m,
1674
1674
  label: r(n)("form.fields.cluster_node_port.label"),
1675
1675
  "label-attributes": {
1676
1676
  info: r(n)("form.fields.cluster_node_port.tooltip"),
@@ -1692,7 +1692,7 @@ const ye = {
1692
1692
  }, {
1693
1693
  default: S(() => [
1694
1694
  g(r(Sn)),
1695
- z("span", null, U(r(n)("form.fields.cluster_nodes.add_button")), 1)
1695
+ K("span", null, U(r(n)("form.fields.cluster_nodes.add_button")), 1)
1696
1696
  ]),
1697
1697
  _: 1
1698
1698
  }, 8, ["disabled"])
@@ -1728,9 +1728,9 @@ const ye = {
1728
1728
  t.value.splice(a, 1);
1729
1729
  };
1730
1730
  return (a, c) => {
1731
- const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1732
- return k(), J("div", null, [
1733
- g(f, {
1731
+ const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1732
+ return I(), J("div", null, [
1733
+ g(p, {
1734
1734
  class: "required",
1735
1735
  info: r(n)("form.fields.sentinel_nodes.tooltip"),
1736
1736
  "tooltip-attributes": { maxWidth: "400" }
@@ -1740,18 +1740,18 @@ const ye = {
1740
1740
  ]),
1741
1741
  _: 1
1742
1742
  }, 8, ["info"]),
1743
- z("div", null, [
1744
- (k(!0), J(fe, null, tt(t.value, (y, w) => (k(), F(li, {
1743
+ K("div", null, [
1744
+ (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1745
1745
  key: y.id,
1746
1746
  "data-testid": "redis-sentinel-nodes",
1747
1747
  disabled: e.readonly,
1748
- onRemoveItem: (p) => i(w)
1748
+ onRemoveItem: (m) => i(w)
1749
1749
  }, {
1750
1750
  default: S(() => [
1751
- z("div", Ws, [
1751
+ K("div", Ws, [
1752
1752
  g(l, {
1753
1753
  modelValue: y.host,
1754
- "onUpdate:modelValue": (p) => y.host = p,
1754
+ "onUpdate:modelValue": (m) => y.host = m,
1755
1755
  modelModifiers: { trim: !0 },
1756
1756
  label: r(n)("form.fields.sentinel_node_host.label"),
1757
1757
  "label-attributes": {
@@ -1764,7 +1764,7 @@ const ye = {
1764
1764
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1765
1765
  g(l, {
1766
1766
  modelValue: y.port,
1767
- "onUpdate:modelValue": (p) => y.port = p,
1767
+ "onUpdate:modelValue": (m) => y.port = m,
1768
1768
  label: r(n)("form.fields.sentinel_node_port.label"),
1769
1769
  "label-attributes": {
1770
1770
  info: r(n)("form.fields.sentinel_node_port.tooltip"),
@@ -1786,7 +1786,7 @@ const ye = {
1786
1786
  }, {
1787
1787
  default: S(() => [
1788
1788
  g(r(Sn)),
1789
- z("span", null, U(r(n)("form.fields.sentinel_nodes.add_button")), 1)
1789
+ K("span", null, U(r(n)("form.fields.sentinel_nodes.add_button")), 1)
1790
1790
  ]),
1791
1791
  _: 1
1792
1792
  }, 8, ["disabled"])
@@ -1896,47 +1896,47 @@ const ye = {
1896
1896
  referenceable: !0,
1897
1897
  encrypted: !0
1898
1898
  }
1899
- ], f = B(() => c.filter((l) => {
1899
+ ], p = z(() => c.filter((l) => {
1900
1900
  var u;
1901
1901
  return l.group === ((u = t.value) == null ? void 0 : u.auth_provider);
1902
1902
  }));
1903
1903
  return (l, u) => {
1904
1904
  const y = $("KInput"), w = $("KCheckbox");
1905
- return k(), J(fe, null, [
1906
- (k(!0), J(fe, null, tt(f.value, (p) => (k(), J(fe, {
1907
- key: p.key
1905
+ return I(), J(fe, null, [
1906
+ (I(!0), J(fe, null, tt(p.value, (m) => (I(), J(fe, {
1907
+ key: m.key
1908
1908
  }, [
1909
- p.type !== "boolean" ? (k(), J(fe, { key: 0 }, [
1909
+ m.type !== "boolean" ? (I(), J(fe, { key: 0 }, [
1910
1910
  g(y, {
1911
- modelValue: t.value[p.key],
1912
- "onUpdate:modelValue": (b) => t.value[p.key] = b,
1913
- "data-testid": `redis-${p.key}-input`,
1914
- label: p.label,
1911
+ modelValue: t.value[m.key],
1912
+ "onUpdate:modelValue": (b) => t.value[m.key] = b,
1913
+ "data-testid": `redis-${m.key}-input`,
1914
+ label: m.label,
1915
1915
  "label-attributes": {
1916
- info: p.tooltip,
1916
+ info: m.tooltip,
1917
1917
  tooltipAttributes: { maxWidth: "400" }
1918
1918
  },
1919
1919
  readonly: e.readonly,
1920
- required: p.required ?? !1,
1921
- "show-password-mask-toggle": p.encrypted,
1922
- type: p.encrypted ? "password" : "text"
1920
+ required: m.required ?? !1,
1921
+ "show-password-mask-toggle": m.encrypted,
1922
+ type: m.encrypted ? "password" : "text"
1923
1923
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "label", "label-attributes", "readonly", "required", "show-password-mask-toggle", "type"]),
1924
- p.referenceable ? (k(), F(r(De), {
1924
+ m.referenceable ? (I(), F(r(xe), {
1925
1925
  key: 0,
1926
1926
  class: "secret-picker-provider",
1927
1927
  disabled: e.readonly,
1928
- update: (b) => t.value[p.key] = b,
1929
- value: t.value[p.key] ?? "",
1930
- onOpen: u[0] || (u[0] = (b, m) => r(i)(b, m))
1928
+ update: (b) => t.value[m.key] = b,
1929
+ value: t.value[m.key] ?? "",
1930
+ onOpen: u[0] || (u[0] = (b, _) => r(i)(b, _))
1931
1931
  }, null, 8, ["disabled", "update", "value"])) : X("", !0)
1932
- ], 64)) : (k(), F(w, {
1932
+ ], 64)) : (I(), F(w, {
1933
1933
  key: 1,
1934
- modelValue: t.value[p.key],
1935
- "onUpdate:modelValue": (b) => t.value[p.key] = b,
1936
- "data-testid": `redis-${p.key}-checkbox`,
1937
- label: p.label,
1934
+ modelValue: t.value[m.key],
1935
+ "onUpdate:modelValue": (b) => t.value[m.key] = b,
1936
+ "data-testid": `redis-${m.key}-checkbox`,
1937
+ label: m.label,
1938
1938
  "label-attributes": {
1939
- info: p.tooltip,
1939
+ info: m.tooltip,
1940
1940
  tooltipAttributes: { maxWidth: "400" }
1941
1941
  },
1942
1942
  readonly: e.readonly
@@ -1983,12 +1983,12 @@ var Mt = (
1983
1983
  var n = this.serializeKey(t);
1984
1984
  return this.items.get(n);
1985
1985
  }, e.prototype.set = function(t, n, o) {
1986
- var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), f = {
1986
+ var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), p = {
1987
1987
  data: n,
1988
1988
  createdAt: c,
1989
1989
  expiresAt: a ? c + a : 1 / 0
1990
1990
  };
1991
- this.dispatchExpire(a, f, i), this.items.set(i, f);
1991
+ this.dispatchExpire(a, p, i), this.items.set(i, p);
1992
1992
  }, e.prototype.dispatchExpire = function(t, n, o) {
1993
1993
  var i = this;
1994
1994
  t && setTimeout(function() {
@@ -2024,14 +2024,14 @@ var ce = function() {
2024
2024
  }
2025
2025
  return e;
2026
2026
  }, ce.apply(this, arguments);
2027
- }, xe = function(e, t, n, o) {
2027
+ }, Ae = function(e, t, n, o) {
2028
2028
  function i(a) {
2029
2029
  return a instanceof n ? a : new n(function(c) {
2030
2030
  c(a);
2031
2031
  });
2032
2032
  }
2033
2033
  return new (n || (n = Promise))(function(a, c) {
2034
- function f(y) {
2034
+ function p(y) {
2035
2035
  try {
2036
2036
  u(o.next(y));
2037
2037
  } catch (w) {
@@ -2046,19 +2046,19 @@ var ce = function() {
2046
2046
  }
2047
2047
  }
2048
2048
  function u(y) {
2049
- y.done ? a(y.value) : i(y.value).then(f, l);
2049
+ y.done ? a(y.value) : i(y.value).then(p, l);
2050
2050
  }
2051
2051
  u((o = o.apply(e, t || [])).next());
2052
2052
  });
2053
- }, Ae = function(e, t) {
2053
+ }, Pe = function(e, t) {
2054
2054
  var n = { label: 0, sent: function() {
2055
2055
  if (a[0] & 1) throw a[1];
2056
2056
  return a[1];
2057
2057
  }, trys: [], ops: [] }, o, i, a, c;
2058
- return c = { next: f(0), throw: f(1), return: f(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
2058
+ return c = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
2059
2059
  return this;
2060
2060
  }), c;
2061
- function f(u) {
2061
+ function p(u) {
2062
2062
  return function(y) {
2063
2063
  return l([u, y]);
2064
2064
  };
@@ -2115,8 +2115,8 @@ var ce = function() {
2115
2115
  var o = n.call(e), i, a = [], c;
2116
2116
  try {
2117
2117
  for (; (t === void 0 || t-- > 0) && !(i = o.next()).done; ) a.push(i.value);
2118
- } catch (f) {
2119
- c = { error: f };
2118
+ } catch (p) {
2119
+ c = { error: p };
2120
2120
  } finally {
2121
2121
  try {
2122
2122
  i && !i.done && (n = o.return) && n.call(o);
@@ -2162,9 +2162,9 @@ function od(e, t, n) {
2162
2162
  }
2163
2163
  }
2164
2164
  var pn = function(e, t, n, o) {
2165
- return n === void 0 && (n = di), o === void 0 && (o = ui.ttl), xe(void 0, void 0, void 0, function() {
2166
- var i, a, c, f, l, u, y;
2167
- return Ae(this, function(w) {
2165
+ return n === void 0 && (n = di), o === void 0 && (o = ui.ttl), Ae(void 0, void 0, void 0, function() {
2166
+ var i, a, c, p, l, u, y;
2167
+ return Pe(this, function(w) {
2168
2168
  switch (w.label) {
2169
2169
  case 0:
2170
2170
  if (!ld(t)) return [3, 5];
@@ -2174,7 +2174,7 @@ var pn = function(e, t, n, o) {
2174
2174
  case 2:
2175
2175
  return i = w.sent(), [3, 4];
2176
2176
  case 3:
2177
- return f = w.sent(), a = f, [3, 4];
2177
+ return p = w.sent(), a = p, [3, 4];
2178
2178
  case 4:
2179
2179
  return [3, 6];
2180
2180
  case 5:
@@ -2183,15 +2183,15 @@ var pn = function(e, t, n, o) {
2183
2183
  if (c = !1, l = { data: i, error: a, isValidating: c }, typeof i < "u")
2184
2184
  try {
2185
2185
  n.set(e, l, o);
2186
- } catch (p) {
2187
- console.error("swrv(mutate): failed to set cache", p);
2186
+ } catch (m) {
2187
+ console.error("swrv(mutate): failed to set cache", m);
2188
2188
  }
2189
- return u = et.get(e), u && u.data.length && (y = u.data.filter(function(p) {
2190
- return p.key === e;
2191
- }), y.forEach(function(p, b) {
2192
- typeof l.data < "u" && (p.data = l.data), p.error = l.error, p.isValidating = l.isValidating, p.isLoading = l.isValidating;
2193
- var m = b === y.length - 1;
2194
- m || delete y[b];
2189
+ return u = et.get(e), u && u.data.length && (y = u.data.filter(function(m) {
2190
+ return m.key === e;
2191
+ }), y.forEach(function(m, b) {
2192
+ typeof l.data < "u" && (m.data = l.data), m.error = l.error, m.isValidating = l.isValidating, m.isLoading = l.isValidating;
2193
+ var _ = b === y.length - 1;
2194
+ _ || delete y[b];
2195
2195
  }), y = y.filter(Boolean)), [2, l];
2196
2196
  }
2197
2197
  });
@@ -2200,12 +2200,12 @@ var pn = function(e, t, n, o) {
2200
2200
  function ad() {
2201
2201
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
2202
2202
  t[n] = arguments[n];
2203
- var o, i, a = ce({}, ui), c = !1, f = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2203
+ var o, i, a = ce({}, ui), c = !1, p = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2204
2204
  if (!u)
2205
2205
  return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."), null;
2206
2206
  var y = (u == null ? void 0 : u.$isServer) || !1;
2207
2207
  t.length >= 1 && (o = t[0]), t.length >= 2 && (i = t[1]), t.length > 2 && (a = ce(ce({}, a), t[2]));
2208
- var w = y ? a.serverTTL : a.ttl, p = typeof o == "function" ? o : x(o);
2208
+ var w = y ? a.serverTTL : a.ttl, m = typeof o == "function" ? o : x(o);
2209
2209
  typeof i > "u" && (i = a.fetcher);
2210
2210
  var b = null;
2211
2211
  b || (b = mn({
@@ -2215,22 +2215,22 @@ function ad() {
2215
2215
  isLoading: !0,
2216
2216
  key: null
2217
2217
  }));
2218
- var m = function(I, s) {
2219
- return xe(e, void 0, void 0, function() {
2218
+ var _ = function(k, d) {
2219
+ return Ae(e, void 0, void 0, function() {
2220
2220
  var O, P, W, Y, ne, de, ie, he = this;
2221
- return Ae(this, function(re) {
2221
+ return Pe(this, function(re) {
2222
2222
  switch (re.label) {
2223
2223
  case 0:
2224
- return O = b.data === void 0, P = p.value, P ? (W = a.cache.get(P), Y = W && W.data, b.isValidating = !0, b.isLoading = !Y, Y && (b.data = Y.data, b.error = Y.error), ne = I || i, !ne || !a.isDocumentVisible() && !O || (s == null ? void 0 : s.forceRevalidate) !== void 0 && !(s != null && s.forceRevalidate) ? (b.isValidating = !1, b.isLoading = !1, [
2224
+ return O = b.data === void 0, P = m.value, P ? (W = a.cache.get(P), Y = W && W.data, b.isValidating = !0, b.isLoading = !Y, Y && (b.data = Y.data, b.error = Y.error), ne = k || i, !ne || !a.isDocumentVisible() && !O || (d == null ? void 0 : d.forceRevalidate) !== void 0 && !(d != null && d.forceRevalidate) ? (b.isValidating = !1, b.isLoading = !1, [
2225
2225
  2
2226
2226
  /*return*/
2227
- ]) : W && (de = !!(Date.now() - W.createdAt >= a.dedupingInterval || s != null && s.forceRevalidate), !de) ? (b.isValidating = !1, b.isLoading = !1, [
2227
+ ]) : W && (de = !!(Date.now() - W.createdAt >= a.dedupingInterval || d != null && d.forceRevalidate), !de) ? (b.isValidating = !1, b.isLoading = !1, [
2228
2228
  2
2229
2229
  /*return*/
2230
2230
  ]) : (ie = function() {
2231
- return xe(he, void 0, void 0, function() {
2231
+ return Ae(he, void 0, void 0, function() {
2232
2232
  var oe, we, Te, Re;
2233
- return Ae(this, function(ve) {
2233
+ return Pe(this, function(ve) {
2234
2234
  switch (ve.label) {
2235
2235
  case 0:
2236
2236
  return oe = gt.get(P), oe ? [3, 2] : (we = Array.isArray(P) ? P : [P], Te = ne.apply(void 0, id([], nd(we), !1)), gt.set(P, Te, a.dedupingInterval), [4, pn(P, Te, a.cache, w)]);
@@ -2241,7 +2241,7 @@ function ad() {
2241
2241
  case 3:
2242
2242
  ve.sent(), ve.label = 4;
2243
2243
  case 4:
2244
- return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (Re = !c && a.shouldRetryOnError && (s ? s.shouldRetryOnError : !0), Re && od(m, s ? s.errorRetryCount : 1, a)), [
2244
+ return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (Re = !c && a.shouldRetryOnError && (d ? d.shouldRetryOnError : !0), Re && od(_, d ? d.errorRetryCount : 1, a)), [
2245
2245
  2
2246
2246
  /*return*/
2247
2247
  ];
@@ -2249,8 +2249,8 @@ function ad() {
2249
2249
  });
2250
2250
  });
2251
2251
  }, Y && a.revalidateDebounce ? (setTimeout(function() {
2252
- return xe(he, void 0, void 0, function() {
2253
- return Ae(this, function(oe) {
2252
+ return Ae(he, void 0, void 0, function() {
2253
+ return Pe(this, function(oe) {
2254
2254
  switch (oe.label) {
2255
2255
  case 0:
2256
2256
  return c ? [3, 2] : [4, ie()];
@@ -2281,25 +2281,25 @@ function ad() {
2281
2281
  });
2282
2282
  });
2283
2283
  }, E = function() {
2284
- return xe(e, void 0, void 0, function() {
2285
- return Ae(this, function(I) {
2286
- return [2, m(null, { shouldRetryOnError: !1 })];
2284
+ return Ae(e, void 0, void 0, function() {
2285
+ return Pe(this, function(k) {
2286
+ return [2, _(null, { shouldRetryOnError: !1 })];
2287
2287
  });
2288
2288
  });
2289
- }, d = null;
2289
+ }, s = null;
2290
2290
  yi(function() {
2291
- var I = function() {
2292
- return xe(e, void 0, void 0, function() {
2293
- return Ae(this, function(s) {
2294
- switch (s.label) {
2291
+ var k = function() {
2292
+ return Ae(e, void 0, void 0, function() {
2293
+ return Pe(this, function(d) {
2294
+ switch (d.label) {
2295
2295
  case 0:
2296
- return !b.error && a.isOnline() ? [4, m()] : [3, 2];
2296
+ return !b.error && a.isOnline() ? [4, _()] : [3, 2];
2297
2297
  case 1:
2298
- return s.sent(), [3, 3];
2298
+ return d.sent(), [3, 3];
2299
2299
  case 2:
2300
- d && clearTimeout(d), s.label = 3;
2300
+ s && clearTimeout(s), d.label = 3;
2301
2301
  case 3:
2302
- return a.refreshInterval && !c && (d = setTimeout(I, a.refreshInterval)), [
2302
+ return a.refreshInterval && !c && (s = setTimeout(k, a.refreshInterval)), [
2303
2303
  2
2304
2304
  /*return*/
2305
2305
  ];
@@ -2307,24 +2307,24 @@ function ad() {
2307
2307
  });
2308
2308
  });
2309
2309
  };
2310
- a.refreshInterval && (d = setTimeout(I, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", E, !1), window.addEventListener("focus", E, !1));
2310
+ a.refreshInterval && (s = setTimeout(k, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", E, !1), window.addEventListener("focus", E, !1));
2311
2311
  }), vi(function() {
2312
- c = !0, d && clearTimeout(d), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", E, !1), window.removeEventListener("focus", E, !1));
2313
- var I = et.get(p.value);
2314
- I && (I.data = I.data.filter(function(s) {
2315
- return s !== b;
2312
+ c = !0, s && clearTimeout(s), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", E, !1), window.removeEventListener("focus", E, !1));
2313
+ var k = et.get(m.value);
2314
+ k && (k.data = k.data.filter(function(d) {
2315
+ return d !== b;
2316
2316
  }));
2317
2317
  });
2318
2318
  try {
2319
- Ee(p, function(I) {
2320
- hi(p) || (p.value = I), b.key = I, b.isValidating = !!I, rd(p.value, b, w), !y && !f && p.value && m(), f = !1;
2319
+ Ee(m, function(k) {
2320
+ hi(m) || (m.value = k), b.key = k, b.isValidating = !!k, rd(m.value, b, w), !y && !p && m.value && _(), p = !1;
2321
2321
  }, {
2322
2322
  immediate: !0
2323
2323
  });
2324
2324
  } catch {
2325
2325
  }
2326
- var A = ce(ce({}, wi(b)), { mutate: function(I, s) {
2327
- return m(I, ce(ce({}, s), { forceRevalidate: !0 }));
2326
+ var A = ce(ce({}, wi(b)), { mutate: function(k, d) {
2327
+ return _(k, ce(ce({}, d), { forceRevalidate: !0 }));
2328
2328
  } });
2329
2329
  return A;
2330
2330
  }
@@ -2335,14 +2335,14 @@ function ci(e) {
2335
2335
  return `redis-partial-links-${e}`;
2336
2336
  }
2337
2337
  const Fe = (e) => {
2338
- const { axiosInstance: t } = It(e.axiosRequestConfig);
2338
+ const { axiosInstance: t } = kt(e.axiosRequestConfig);
2339
2339
  return {
2340
2340
  fetcher: async (n) => {
2341
2341
  const { partialId: o, size: i, offset: a, query: c } = n;
2342
- let f = `${e.apiBaseUrl}${Ve.links[e.app]}`;
2343
- e.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "")), f = f.replace(/{id}/gi, o || ""), c && (f = `${f}?${c}`);
2342
+ let p = `${e.apiBaseUrl}${Me.links[e.app]}`;
2343
+ e.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "")), p = p.replace(/{id}/gi, o || ""), c && (p = `${p}?${c}`);
2344
2344
  const { data: l } = await t.get(
2345
- f,
2345
+ p,
2346
2346
  { params: { size: i, offset: a } }
2347
2347
  );
2348
2348
  return l;
@@ -2400,38 +2400,38 @@ const Fe = (e) => {
2400
2400
  setup(e, { emit: t }) {
2401
2401
  const n = e, o = t, { i18n: { t: i }, i18nT: a } = ye.useI18n(), {
2402
2402
  vaultSecretPickerSetup: c,
2403
- setUpVaultSecretPicker: f,
2403
+ setUpVaultSecretPicker: p,
2404
2404
  handleVaultSecretPickerAutofill: l
2405
- } = si(), u = Tn(), y = x("json"), w = B(() => [
2405
+ } = si(), u = Tn(), y = x("json"), w = z(() => [
2406
2406
  {
2407
2407
  label: i("form.options.type.host_port"),
2408
2408
  group: i("form.options.type.enterprise"),
2409
2409
  value: T.HOST_PORT_EE,
2410
2410
  selected: O.value === T.HOST_PORT_EE,
2411
- disabled: !s && n.disabledPartialType === Z.REDIS_EE
2411
+ disabled: !d && n.disabledPartialType === Z.REDIS_EE
2412
2412
  },
2413
2413
  {
2414
2414
  label: i("form.options.type.cluster"),
2415
2415
  group: i("form.options.type.enterprise"),
2416
2416
  value: T.CLUSTER,
2417
2417
  selected: O.value === T.CLUSTER,
2418
- disabled: !s && n.disabledPartialType === Z.REDIS_EE
2418
+ disabled: !d && n.disabledPartialType === Z.REDIS_EE
2419
2419
  },
2420
2420
  {
2421
2421
  label: i("form.options.type.sentinel"),
2422
2422
  group: i("form.options.type.enterprise"),
2423
2423
  value: T.SENTINEL,
2424
2424
  selected: O.value === T.SENTINEL,
2425
- disabled: !s && n.disabledPartialType === Z.REDIS_EE
2425
+ disabled: !d && n.disabledPartialType === Z.REDIS_EE
2426
2426
  },
2427
2427
  {
2428
2428
  label: i("form.options.type.host_port"),
2429
2429
  group: i("form.options.type.open_source"),
2430
2430
  value: T.HOST_PORT_CE,
2431
2431
  selected: O.value === T.HOST_PORT_CE,
2432
- disabled: s && P.value || !s && n.disabledPartialType === Z.REDIS_CE
2432
+ disabled: d && P.value || !d && n.disabledPartialType === Z.REDIS_CE
2433
2433
  }
2434
- ]), p = B(() => [
2434
+ ]), m = z(() => [
2435
2435
  {
2436
2436
  label: i("form.options.auth_provider.aws"),
2437
2437
  value: q.AWS
@@ -2448,14 +2448,14 @@ const Fe = (e) => {
2448
2448
  { label: i("form.options.sentinel_role.master"), value: "master" },
2449
2449
  { label: i("form.options.sentinel_role.slave"), value: "slave" },
2450
2450
  { label: i("form.options.sentinel_role.any"), value: "any" }
2451
- ], m = (K) => {
2452
- const v = K.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
2453
- return `${K.label}${v}`;
2454
- }, E = () => n.disabledPartialType && Xe(Pe) === n.disabledPartialType ? n.disabledPartialType === Z.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : Pe, {
2455
- form: d,
2451
+ ], _ = (H) => {
2452
+ const v = H.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
2453
+ return `${H.label}${v}`;
2454
+ }, E = () => n.disabledPartialType && Xe($e) === n.disabledPartialType ? n.disabledPartialType === Z.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : $e, {
2455
+ form: s,
2456
2456
  canSubmit: A,
2457
- payload: I,
2458
- isEdit: s,
2457
+ payload: k,
2458
+ isEdit: d,
2459
2459
  redisType: O,
2460
2460
  redisTypeIsEnterprise: P,
2461
2461
  fetchUrl: W,
@@ -2466,62 +2466,62 @@ const Fe = (e) => {
2466
2466
  defaultRedisType: E(),
2467
2467
  config: n.config,
2468
2468
  cloudAuthAvailable: n.config.cloudAuthAvailable
2469
- }), { fetcher: de } = Fe(n.config), ie = x(!1), he = x(!1), re = x(0), oe = B(() => y.value === "terraform" ? {
2470
- [I.value.type.replaceAll("-", "_")]: Es(I.value, ["type"])
2471
- } : I.value), we = async () => {
2469
+ }), { fetcher: de } = Fe(n.config), ie = x(!1), he = x(!1), re = x(0), oe = z(() => y.value === "terraform" ? {
2470
+ [k.value.type.replaceAll("-", "_")]: Es(k.value, ["type"])
2471
+ } : k.value), we = async () => {
2472
2472
  try {
2473
- if (s && !he.value) {
2473
+ if (d && !he.value) {
2474
2474
  const { count: v } = await de({ partialId: n.partialId });
2475
2475
  if (re.value = v, v > 0) {
2476
2476
  ie.value = !0;
2477
2477
  return;
2478
2478
  }
2479
2479
  }
2480
- const { data: K } = await Y();
2481
- o("update", K);
2482
- } catch (K) {
2483
- o("error", K);
2480
+ const { data: H } = await Y();
2481
+ o("update", H);
2482
+ } catch (H) {
2483
+ o("error", H);
2484
2484
  }
2485
2485
  }, Te = () => {
2486
2486
  ie.value = !1, he.value = !0, we();
2487
2487
  }, Re = () => {
2488
2488
  n.config.cancelRoute && u.push(n.config.cancelRoute), o("cancel");
2489
- }, ve = (K) => {
2490
- o("loading", K);
2491
- }, at = (K) => {
2492
- o("error", K);
2493
- }, ze = (K) => {
2494
- ne(K);
2489
+ }, ve = (H) => {
2490
+ o("loading", H);
2491
+ }, at = (H) => {
2492
+ o("error", H);
2493
+ }, ze = (H) => {
2494
+ ne(H);
2495
2495
  };
2496
2496
  return _n(async () => {
2497
- if (s) {
2498
- const { count: K } = await de({ partialId: n.partialId });
2499
- re.value = K;
2497
+ if (d) {
2498
+ const { count: H } = await de({ partialId: n.partialId });
2499
+ re.value = H;
2500
2500
  }
2501
- }), (K, v) => {
2501
+ }), (H, v) => {
2502
2502
  const lt = $("KAlert"), Se = $("KSelect"), N = $("KInput"), C = $("KCheckbox"), R = $("KModal");
2503
- return k(), J(fe, null, [
2504
- z("div", sd, [
2505
- g(r(ki), {
2503
+ return I(), J(fe, null, [
2504
+ K("div", sd, [
2505
+ g(r(Ii), {
2506
2506
  "action-teleport-target": e.actionTeleportTarget,
2507
2507
  "can-submit": r(A),
2508
2508
  config: e.config,
2509
2509
  "edit-id": e.partialId,
2510
2510
  "entity-type": r(vn).Partial,
2511
- "error-message": r(d).errorMessage,
2511
+ "error-message": r(s).errorMessage,
2512
2512
  "fetch-url": r(W),
2513
2513
  "form-fields": oe.value,
2514
- "is-readonly": r(d).readonly,
2514
+ "is-readonly": r(s).readonly,
2515
2515
  "slidout-top-offset": e.slidoutTopOffset,
2516
2516
  onCancel: Re,
2517
- onCodeBlockTabChange: v[31] || (v[31] = (_) => y.value = _),
2517
+ onCodeBlockTabChange: v[32] || (v[32] = (f) => y.value = f),
2518
2518
  "onFetch:error": at,
2519
2519
  "onFetch:success": ze,
2520
2520
  onLoading: ve,
2521
2521
  onSubmit: we
2522
2522
  }, {
2523
2523
  default: S(() => [
2524
- re.value > 0 && r(s) ? (k(), F(lt, {
2524
+ re.value > 0 && r(d) ? (I(), F(lt, {
2525
2525
  key: 0,
2526
2526
  appearance: "warning",
2527
2527
  class: "warning-alert",
@@ -2533,7 +2533,7 @@ const Fe = (e) => {
2533
2533
  tag: "div"
2534
2534
  }, {
2535
2535
  pluginCount: S(() => [
2536
- z("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2536
+ K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2537
2537
  ]),
2538
2538
  _: 1
2539
2539
  })
@@ -2548,17 +2548,17 @@ const Fe = (e) => {
2548
2548
  default: S(() => [
2549
2549
  g(Se, {
2550
2550
  modelValue: r(O),
2551
- "onUpdate:modelValue": v[0] || (v[0] = (_) => Ti(O) ? O.value = _ : null),
2551
+ "onUpdate:modelValue": v[0] || (v[0] = (f) => Ti(O) ? O.value = f : null),
2552
2552
  "data-testid": "redis-type-select",
2553
- disabled: r(s) && r(O) === r(T).HOST_PORT_CE,
2553
+ disabled: r(d) && r(O) === r(T).HOST_PORT_CE,
2554
2554
  items: w.value,
2555
2555
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
2556
2556
  label: r(i)("form.fields.type.label"),
2557
- readonly: r(d).readonly,
2557
+ readonly: r(s).readonly,
2558
2558
  required: ""
2559
2559
  }, {
2560
- "selected-item-template": S(({ item: _ }) => [
2561
- le(U(m(_)), 1)
2560
+ "selected-item-template": S(({ item: f }) => [
2561
+ le(U(_(f)), 1)
2562
2562
  ]),
2563
2563
  _: 1
2564
2564
  }, 8, ["modelValue", "disabled", "items", "label", "readonly"])
@@ -2572,19 +2572,19 @@ const Fe = (e) => {
2572
2572
  }, {
2573
2573
  default: S(() => [
2574
2574
  g(N, {
2575
- modelValue: r(d).fields.name,
2576
- "onUpdate:modelValue": v[1] || (v[1] = (_) => r(d).fields.name = _),
2575
+ modelValue: r(s).fields.name,
2576
+ "onUpdate:modelValue": v[1] || (v[1] = (f) => r(s).fields.name = f),
2577
2577
  modelModifiers: { trim: !0 },
2578
2578
  "data-testid": "redis-name-input",
2579
- disabled: r(s),
2579
+ disabled: r(d),
2580
2580
  label: r(i)("form.fields.name.label"),
2581
2581
  placeholder: r(i)("form.fields.name.placeholder"),
2582
- readonly: r(d).readonly,
2582
+ readonly: r(s).readonly,
2583
2583
  required: ""
2584
2584
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
2585
2585
  g(N, {
2586
- modelValue: r(d).fields.tags,
2587
- "onUpdate:modelValue": v[2] || (v[2] = (_) => r(d).fields.tags = _),
2586
+ modelValue: r(s).fields.tags,
2587
+ "onUpdate:modelValue": v[2] || (v[2] = (f) => r(s).fields.tags = f),
2588
2588
  modelModifiers: { trim: !0 },
2589
2589
  "data-testid": "redis-tags-input",
2590
2590
  help: r(i)("form.fields.tags.help"),
@@ -2594,12 +2594,12 @@ const Fe = (e) => {
2594
2594
  tooltipAttributes: { maxWidth: "400" }
2595
2595
  },
2596
2596
  placeholder: r(i)("form.fields.tags.placeholder"),
2597
- readonly: r(d).readonly
2597
+ readonly: r(s).readonly
2598
2598
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
2599
2599
  ]),
2600
2600
  _: 1
2601
2601
  }, 8, ["description", "title"]),
2602
- e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (k(), F(r(ue), {
2602
+ e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (I(), F(r(ue), {
2603
2603
  key: 1,
2604
2604
  "data-testid": "redis-cloud-auth-section",
2605
2605
  description: r(i)("form.sections.cloud_auth.description"),
@@ -2607,26 +2607,26 @@ const Fe = (e) => {
2607
2607
  }, {
2608
2608
  default: S(() => [
2609
2609
  g(Se, {
2610
- modelValue: r(d).fields.config.cloud_authentication.auth_provider,
2611
- "onUpdate:modelValue": v[3] || (v[3] = (_) => r(d).fields.config.cloud_authentication.auth_provider = _),
2610
+ modelValue: r(s).fields.config.cloud_authentication.auth_provider,
2611
+ "onUpdate:modelValue": v[3] || (v[3] = (f) => r(s).fields.config.cloud_authentication.auth_provider = f),
2612
2612
  clearable: "",
2613
2613
  "data-testid": "redis-auth-provider-select",
2614
- items: p.value,
2614
+ items: m.value,
2615
2615
  "kpop-attributes": { "data-testid": "redis-auth-provider-select-popover" },
2616
2616
  label: r(i)("form.fields.cloud_authentication.auth_provider.label"),
2617
2617
  "label-attributes": { info: r(i)("form.fields.cloud_authentication.auth_provider.tooltip") },
2618
- readonly: r(d).readonly
2618
+ readonly: r(s).readonly
2619
2619
  }, null, 8, ["modelValue", "items", "label", "label-attributes", "readonly"]),
2620
2620
  g(Zs, {
2621
- modelValue: r(d).fields.config.cloud_authentication,
2622
- "onUpdate:modelValue": v[4] || (v[4] = (_) => r(d).fields.config.cloud_authentication = _),
2621
+ modelValue: r(s).fields.config.cloud_authentication,
2622
+ "onUpdate:modelValue": v[4] || (v[4] = (f) => r(s).fields.config.cloud_authentication = f),
2623
2623
  config: n.config,
2624
- readonly: r(d).readonly
2624
+ readonly: r(s).readonly
2625
2625
  }, null, 8, ["modelValue", "config", "readonly"])
2626
2626
  ]),
2627
2627
  _: 1
2628
2628
  }, 8, ["description", "title"])) : X("", !0),
2629
- r(O) === r(T).SENTINEL ? (k(), F(r(ue), {
2629
+ r(O) === r(T).SENTINEL ? (I(), F(r(ue), {
2630
2630
  key: 2,
2631
2631
  "data-testid": "redis-sentinel-configuration-section",
2632
2632
  description: r(i)("form.sections.sentinel_configuration.description"),
@@ -2634,20 +2634,20 @@ const Fe = (e) => {
2634
2634
  }, {
2635
2635
  default: S(() => [
2636
2636
  g(N, {
2637
- modelValue: r(d).fields.config.sentinel_master,
2638
- "onUpdate:modelValue": v[5] || (v[5] = (_) => r(d).fields.config.sentinel_master = _),
2637
+ modelValue: r(s).fields.config.sentinel_master,
2638
+ "onUpdate:modelValue": v[5] || (v[5] = (f) => r(s).fields.config.sentinel_master = f),
2639
2639
  "data-testid": "redis-sentinel-master-input",
2640
2640
  label: r(i)("form.fields.sentinel_master.label"),
2641
2641
  "label-attributes": {
2642
2642
  info: r(i)("form.fields.sentinel_master.tooltip"),
2643
2643
  tooltipAttributes: { maxWidth: "400" }
2644
2644
  },
2645
- readonly: r(d).readonly,
2645
+ readonly: r(s).readonly,
2646
2646
  required: ""
2647
2647
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2648
2648
  g(Se, {
2649
- modelValue: r(d).fields.config.sentinel_role,
2650
- "onUpdate:modelValue": v[6] || (v[6] = (_) => r(d).fields.config.sentinel_role = _),
2649
+ modelValue: r(s).fields.config.sentinel_role,
2650
+ "onUpdate:modelValue": v[6] || (v[6] = (f) => r(s).fields.config.sentinel_role = f),
2651
2651
  "data-testid": "redis-sentinel-role-select",
2652
2652
  items: b,
2653
2653
  "kpop-attributes": { "data-testid": "redis-sentinel-role-select-popover" },
@@ -2656,56 +2656,56 @@ const Fe = (e) => {
2656
2656
  info: r(i)("form.fields.sentinel_role.tooltip"),
2657
2657
  tooltipAttributes: { maxWidth: "400" }
2658
2658
  },
2659
- readonly: r(d).readonly,
2659
+ readonly: r(s).readonly,
2660
2660
  required: ""
2661
2661
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2662
2662
  g(Gs, {
2663
- modelValue: r(d).fields.config.sentinel_nodes,
2664
- "onUpdate:modelValue": v[7] || (v[7] = (_) => r(d).fields.config.sentinel_nodes = _),
2665
- readonly: r(d).readonly
2663
+ modelValue: r(s).fields.config.sentinel_nodes,
2664
+ "onUpdate:modelValue": v[7] || (v[7] = (f) => r(s).fields.config.sentinel_nodes = f),
2665
+ readonly: r(s).readonly
2666
2666
  }, null, 8, ["modelValue", "readonly"]),
2667
2667
  g(N, {
2668
- modelValue: r(d).fields.config.sentinel_username,
2669
- "onUpdate:modelValue": v[8] || (v[8] = (_) => r(d).fields.config.sentinel_username = _),
2668
+ modelValue: r(s).fields.config.sentinel_username,
2669
+ "onUpdate:modelValue": v[8] || (v[8] = (f) => r(s).fields.config.sentinel_username = f),
2670
2670
  modelModifiers: { trim: !0 },
2671
2671
  label: r(i)("form.fields.sentinel_username.label"),
2672
2672
  "label-attributes": {
2673
2673
  info: r(i)("form.fields.sentinel_username.tooltip"),
2674
2674
  tooltipAttributes: { maxWidth: "400" }
2675
2675
  },
2676
- readonly: r(d).readonly
2676
+ readonly: r(s).readonly
2677
2677
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2678
- g(r(De), {
2678
+ g(r(xe), {
2679
2679
  class: "secret-picker-provider",
2680
- disabled: r(d).readonly,
2681
- update: (_) => r(d).fields.config.sentinel_username = _,
2682
- value: r(d).fields.config.sentinel_username,
2683
- onOpen: v[9] || (v[9] = (_, H) => r(f)(_, H))
2680
+ disabled: r(s).readonly,
2681
+ update: (f) => r(s).fields.config.sentinel_username = f,
2682
+ value: r(s).fields.config.sentinel_username,
2683
+ onOpen: v[9] || (v[9] = (f, B) => r(p)(f, B))
2684
2684
  }, null, 8, ["disabled", "update", "value"]),
2685
2685
  g(N, {
2686
- modelValue: r(d).fields.config.sentinel_password,
2687
- "onUpdate:modelValue": v[10] || (v[10] = (_) => r(d).fields.config.sentinel_password = _),
2686
+ modelValue: r(s).fields.config.sentinel_password,
2687
+ "onUpdate:modelValue": v[10] || (v[10] = (f) => r(s).fields.config.sentinel_password = f),
2688
2688
  modelModifiers: { trim: !0 },
2689
2689
  label: r(i)("form.fields.sentinel_password.label"),
2690
2690
  "label-attributes": {
2691
2691
  info: r(i)("form.fields.sentinel_password.tooltip"),
2692
2692
  tooltipAttributes: { maxWidth: "400" }
2693
2693
  },
2694
- readonly: r(d).readonly,
2694
+ readonly: r(s).readonly,
2695
2695
  "show-password-mask-toggle": "",
2696
2696
  type: "password"
2697
2697
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2698
- g(r(De), {
2698
+ g(r(xe), {
2699
2699
  class: "secret-picker-provider",
2700
- disabled: r(d).readonly,
2701
- update: (_) => r(d).fields.config.sentinel_password = _,
2702
- value: r(d).fields.config.sentinel_password,
2703
- onOpen: v[11] || (v[11] = (_, H) => r(f)(_, H))
2700
+ disabled: r(s).readonly,
2701
+ update: (f) => r(s).fields.config.sentinel_password = f,
2702
+ value: r(s).fields.config.sentinel_password,
2703
+ onOpen: v[11] || (v[11] = (f, B) => r(p)(f, B))
2704
2704
  }, null, 8, ["disabled", "update", "value"])
2705
2705
  ]),
2706
2706
  _: 1
2707
2707
  }, 8, ["description", "title"])) : X("", !0),
2708
- r(O) === r(T).CLUSTER ? (k(), F(r(ue), {
2708
+ r(O) === r(T).CLUSTER ? (I(), F(r(ue), {
2709
2709
  key: 3,
2710
2710
  "data-testid": "redis-cluster-configuration-section",
2711
2711
  description: r(i)("form.sections.cluster.description"),
@@ -2713,20 +2713,20 @@ const Fe = (e) => {
2713
2713
  }, {
2714
2714
  default: S(() => [
2715
2715
  g(Hs, {
2716
- modelValue: r(d).fields.config.cluster_nodes,
2717
- "onUpdate:modelValue": v[12] || (v[12] = (_) => r(d).fields.config.cluster_nodes = _),
2718
- readonly: r(d).readonly
2716
+ modelValue: r(s).fields.config.cluster_nodes,
2717
+ "onUpdate:modelValue": v[12] || (v[12] = (f) => r(s).fields.config.cluster_nodes = f),
2718
+ readonly: r(s).readonly
2719
2719
  }, null, 8, ["modelValue", "readonly"]),
2720
2720
  g(N, {
2721
- modelValue: r(d).fields.config.cluster_max_redirections,
2722
- "onUpdate:modelValue": v[13] || (v[13] = (_) => r(d).fields.config.cluster_max_redirections = _),
2721
+ modelValue: r(s).fields.config.cluster_max_redirections,
2722
+ "onUpdate:modelValue": v[13] || (v[13] = (f) => r(s).fields.config.cluster_max_redirections = f),
2723
2723
  "data-testid": "redis-cluster-max-redirections-input",
2724
2724
  label: r(i)("form.fields.cluster_max_redirections.label"),
2725
2725
  "label-attributes": {
2726
2726
  info: r(i)("form.fields.cluster_max_redirections.tooltip"),
2727
2727
  tooltipAttributes: { maxWidth: "400" }
2728
2728
  },
2729
- readonly: r(d).readonly,
2729
+ readonly: r(s).readonly,
2730
2730
  type: "number"
2731
2731
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2732
2732
  ]),
@@ -2738,10 +2738,10 @@ const Fe = (e) => {
2738
2738
  title: r(i)("form.sections.connection.title")
2739
2739
  }, {
2740
2740
  default: S(() => [
2741
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2741
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2742
2742
  key: 0,
2743
- modelValue: r(d).fields.config.host,
2744
- "onUpdate:modelValue": v[14] || (v[14] = (_) => r(d).fields.config.host = _),
2743
+ modelValue: r(s).fields.config.host,
2744
+ "onUpdate:modelValue": v[14] || (v[14] = (f) => r(s).fields.config.host = f),
2745
2745
  modelModifiers: { trim: !0 },
2746
2746
  "data-testid": "redis-host-input",
2747
2747
  label: r(i)("form.fields.host.label"),
@@ -2749,12 +2749,12 @@ const Fe = (e) => {
2749
2749
  info: r(i)("form.fields.host.tooltip"),
2750
2750
  tooltipAttributes: { maxWidth: "400" }
2751
2751
  },
2752
- readonly: r(d).readonly
2752
+ readonly: r(s).readonly
2753
2753
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2754
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2754
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2755
2755
  key: 1,
2756
- modelValue: r(d).fields.config.port,
2757
- "onUpdate:modelValue": v[15] || (v[15] = (_) => r(d).fields.config.port = _),
2756
+ modelValue: r(s).fields.config.port,
2757
+ "onUpdate:modelValue": v[15] || (v[15] = (f) => r(s).fields.config.port = f),
2758
2758
  modelModifiers: { trim: !0 },
2759
2759
  "data-testid": "redis-port-input",
2760
2760
  label: r(i)("form.fields.port.label"),
@@ -2762,25 +2762,32 @@ const Fe = (e) => {
2762
2762
  info: r(i)("form.fields.port.tooltip"),
2763
2763
  tooltipAttributes: { maxWidth: "400" }
2764
2764
  },
2765
- readonly: r(d).readonly,
2766
- type: "number"
2765
+ readonly: r(s).readonly
2767
2766
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2768
- r(O) === r(T).HOST_PORT_EE ? (k(), F(C, {
2767
+ r(O) === r(T).HOST_PORT_EE && e.config.isPortReferenceable ? (I(), F(r(xe), {
2769
2768
  key: 2,
2770
- modelValue: r(d).fields.config.connection_is_proxied,
2771
- "onUpdate:modelValue": v[16] || (v[16] = (_) => r(d).fields.config.connection_is_proxied = _),
2769
+ class: "secret-picker-provider",
2770
+ disabled: r(s).readonly,
2771
+ update: (f) => r(s).fields.config.port = f,
2772
+ value: String(r(s).fields.config.port ?? ""),
2773
+ onOpen: v[16] || (v[16] = (f, B) => r(p)(f, B))
2774
+ }, null, 8, ["disabled", "update", "value"])) : X("", !0),
2775
+ r(O) === r(T).HOST_PORT_EE ? (I(), F(C, {
2776
+ key: 3,
2777
+ modelValue: r(s).fields.config.connection_is_proxied,
2778
+ "onUpdate:modelValue": v[17] || (v[17] = (f) => r(s).fields.config.connection_is_proxied = f),
2772
2779
  "data-testid": "redis-connection-is-proxied-checkbox",
2773
- disabled: r(d).readonly,
2780
+ disabled: r(s).readonly,
2774
2781
  label: r(i)("form.fields.connection_is_proxied.label"),
2775
2782
  "label-attributes": {
2776
2783
  info: r(i)("form.fields.connection_is_proxied.tooltip"),
2777
2784
  tooltipAttributes: { maxWidth: "400" }
2778
2785
  }
2779
2786
  }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2780
- r(O) === r(T).HOST_PORT_CE ? (k(), F(N, {
2781
- key: 3,
2782
- modelValue: r(d).fields.config.timeout,
2783
- "onUpdate:modelValue": v[17] || (v[17] = (_) => r(d).fields.config.timeout = _),
2787
+ r(O) === r(T).HOST_PORT_CE ? (I(), F(N, {
2788
+ key: 4,
2789
+ modelValue: r(s).fields.config.timeout,
2790
+ "onUpdate:modelValue": v[18] || (v[18] = (f) => r(s).fields.config.timeout = f),
2784
2791
  modelModifiers: { trim: !0 },
2785
2792
  "data-testid": "redis-timeout-input",
2786
2793
  label: r(i)("form.fields.timeout.label"),
@@ -2788,12 +2795,12 @@ const Fe = (e) => {
2788
2795
  info: r(i)("form.fields.timeout.tooltip"),
2789
2796
  tooltipAttributes: { maxWidth: "400" }
2790
2797
  },
2791
- readonly: r(d).readonly,
2798
+ readonly: r(s).readonly,
2792
2799
  type: "number"
2793
2800
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2794
2801
  g(N, {
2795
- modelValue: r(d).fields.config.database,
2796
- "onUpdate:modelValue": v[18] || (v[18] = (_) => r(d).fields.config.database = _),
2802
+ modelValue: r(s).fields.config.database,
2803
+ "onUpdate:modelValue": v[19] || (v[19] = (f) => r(s).fields.config.database = f),
2797
2804
  modelModifiers: { trim: !0 },
2798
2805
  "data-testid": "redis-database-input",
2799
2806
  label: r(i)("form.fields.database.label"),
@@ -2801,12 +2808,12 @@ const Fe = (e) => {
2801
2808
  info: r(i)("form.fields.database.tooltip"),
2802
2809
  tooltipAttributes: { maxWidth: "400" }
2803
2810
  },
2804
- readonly: r(d).readonly,
2811
+ readonly: r(s).readonly,
2805
2812
  type: "number"
2806
2813
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2807
2814
  g(N, {
2808
- modelValue: r(d).fields.config.username,
2809
- "onUpdate:modelValue": v[19] || (v[19] = (_) => r(d).fields.config.username = _),
2815
+ modelValue: r(s).fields.config.username,
2816
+ "onUpdate:modelValue": v[20] || (v[20] = (f) => r(s).fields.config.username = f),
2810
2817
  modelModifiers: { trim: !0 },
2811
2818
  "data-testid": "redis-username-input",
2812
2819
  label: r(i)("form.fields.username.label"),
@@ -2814,18 +2821,18 @@ const Fe = (e) => {
2814
2821
  info: r(i)("form.fields.username.tooltip"),
2815
2822
  tooltipAttributes: { maxWidth: "400" }
2816
2823
  },
2817
- readonly: r(d).readonly
2824
+ readonly: r(s).readonly
2818
2825
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2819
- g(r(De), {
2826
+ g(r(xe), {
2820
2827
  class: "secret-picker-provider",
2821
- disabled: r(d).readonly,
2822
- update: (_) => r(d).fields.config.username = _,
2823
- value: r(d).fields.config.username,
2824
- onOpen: v[20] || (v[20] = (_, H) => r(f)(_, H))
2828
+ disabled: r(s).readonly,
2829
+ update: (f) => r(s).fields.config.username = f,
2830
+ value: r(s).fields.config.username,
2831
+ onOpen: v[21] || (v[21] = (f, B) => r(p)(f, B))
2825
2832
  }, null, 8, ["disabled", "update", "value"]),
2826
2833
  g(N, {
2827
- modelValue: r(d).fields.config.password,
2828
- "onUpdate:modelValue": v[21] || (v[21] = (_) => r(d).fields.config.password = _),
2834
+ modelValue: r(s).fields.config.password,
2835
+ "onUpdate:modelValue": v[22] || (v[22] = (f) => r(s).fields.config.password = f),
2829
2836
  modelModifiers: { trim: !0 },
2830
2837
  "data-testid": "redis-password-input",
2831
2838
  label: r(i)("form.fields.password.label"),
@@ -2833,16 +2840,16 @@ const Fe = (e) => {
2833
2840
  info: r(i)("form.fields.password.tooltip"),
2834
2841
  tooltipAttributes: { maxWidth: "400" }
2835
2842
  },
2836
- readonly: r(d).readonly,
2843
+ readonly: r(s).readonly,
2837
2844
  "show-password-mask-toggle": "",
2838
2845
  type: "password"
2839
2846
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2840
- g(r(De), {
2847
+ g(r(xe), {
2841
2848
  class: "secret-picker-provider",
2842
- disabled: r(d).readonly,
2843
- update: (_) => r(d).fields.config.password = _,
2844
- value: r(d).fields.config.password,
2845
- onOpen: v[22] || (v[22] = (_, H) => r(f)(_, H))
2849
+ disabled: r(s).readonly,
2850
+ update: (f) => r(s).fields.config.password = f,
2851
+ value: r(s).fields.config.password,
2852
+ onOpen: v[23] || (v[23] = (f, B) => r(p)(f, B))
2846
2853
  }, null, 8, ["disabled", "update", "value"])
2847
2854
  ]),
2848
2855
  _: 1
@@ -2854,11 +2861,11 @@ const Fe = (e) => {
2854
2861
  }, {
2855
2862
  default: S(() => [
2856
2863
  g(C, {
2857
- modelValue: r(d).fields.config.ssl,
2858
- "onUpdate:modelValue": v[23] || (v[23] = (_) => r(d).fields.config.ssl = _),
2864
+ modelValue: r(s).fields.config.ssl,
2865
+ "onUpdate:modelValue": v[24] || (v[24] = (f) => r(s).fields.config.ssl = f),
2859
2866
  "data-testid": "redis-ssl-checkbox",
2860
2867
  description: r(i)("form.fields.ssl.description"),
2861
- disabled: r(d).readonly,
2868
+ disabled: r(s).readonly,
2862
2869
  label: r(i)("form.fields.ssl.label"),
2863
2870
  "label-attributes": {
2864
2871
  info: r(i)("form.fields.ssl.tooltip"),
@@ -2866,11 +2873,11 @@ const Fe = (e) => {
2866
2873
  }
2867
2874
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2868
2875
  g(C, {
2869
- modelValue: r(d).fields.config.ssl_verify,
2870
- "onUpdate:modelValue": v[24] || (v[24] = (_) => r(d).fields.config.ssl_verify = _),
2876
+ modelValue: r(s).fields.config.ssl_verify,
2877
+ "onUpdate:modelValue": v[25] || (v[25] = (f) => r(s).fields.config.ssl_verify = f),
2871
2878
  "data-testid": "redis-ssl-verify-checkbox",
2872
2879
  description: r(i)("form.fields.ssl_verify.description"),
2873
- disabled: r(d).readonly,
2880
+ disabled: r(s).readonly,
2874
2881
  label: r(i)("form.fields.ssl_verify.label"),
2875
2882
  "label-attributes": {
2876
2883
  info: r(i)("form.fields.ssl_verify.tooltip"),
@@ -2878,20 +2885,20 @@ const Fe = (e) => {
2878
2885
  }
2879
2886
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2880
2887
  g(N, {
2881
- modelValue: r(d).fields.config.server_name,
2882
- "onUpdate:modelValue": v[25] || (v[25] = (_) => r(d).fields.config.server_name = _),
2888
+ modelValue: r(s).fields.config.server_name,
2889
+ "onUpdate:modelValue": v[26] || (v[26] = (f) => r(s).fields.config.server_name = f),
2883
2890
  modelModifiers: { trim: !0 },
2884
2891
  label: r(i)("form.fields.server_name.label"),
2885
2892
  "label-attributes": {
2886
2893
  info: r(i)("form.fields.server_name.tooltip"),
2887
2894
  tooltipAttributes: { maxWidth: "400" }
2888
2895
  },
2889
- readonly: r(d).readonly
2896
+ readonly: r(s).readonly
2890
2897
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2891
2898
  ]),
2892
2899
  _: 1
2893
2900
  }, 8, ["description", "title"]),
2894
- r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2901
+ r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2895
2902
  key: 4,
2896
2903
  "data-testid": "redis-keepalive-section",
2897
2904
  description: r(i)("form.sections.keepalive.description"),
@@ -2899,33 +2906,33 @@ const Fe = (e) => {
2899
2906
  }, {
2900
2907
  default: S(() => [
2901
2908
  g(N, {
2902
- modelValue: r(d).fields.config.keepalive_backlog,
2903
- "onUpdate:modelValue": v[26] || (v[26] = (_) => r(d).fields.config.keepalive_backlog = _),
2909
+ modelValue: r(s).fields.config.keepalive_backlog,
2910
+ "onUpdate:modelValue": v[27] || (v[27] = (f) => r(s).fields.config.keepalive_backlog = f),
2904
2911
  "data-testid": "redis-keepalive-backlog-input",
2905
2912
  label: r(i)("form.fields.keepalive_backlog.label"),
2906
2913
  "label-attributes": {
2907
2914
  info: r(i)("form.fields.keepalive_backlog.tooltip"),
2908
2915
  tooltipAttributes: { maxWidth: "400" }
2909
2916
  },
2910
- readonly: r(d).readonly,
2917
+ readonly: r(s).readonly,
2911
2918
  type: "number"
2912
2919
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2913
2920
  g(N, {
2914
- modelValue: r(d).fields.config.keepalive_pool_size,
2915
- "onUpdate:modelValue": v[27] || (v[27] = (_) => r(d).fields.config.keepalive_pool_size = _),
2921
+ modelValue: r(s).fields.config.keepalive_pool_size,
2922
+ "onUpdate:modelValue": v[28] || (v[28] = (f) => r(s).fields.config.keepalive_pool_size = f),
2916
2923
  "data-testid": "redis-keepalive-pool-size-input",
2917
2924
  label: r(i)("form.fields.keepalive_pool_size.label"),
2918
2925
  "label-attributes": {
2919
2926
  info: r(i)("form.fields.keepalive_pool_size.tooltip"),
2920
2927
  tooltipAttributes: { maxWidth: "400" }
2921
2928
  },
2922
- readonly: r(d).readonly,
2929
+ readonly: r(s).readonly,
2923
2930
  type: "number"
2924
2931
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2925
2932
  ]),
2926
2933
  _: 1
2927
2934
  }, 8, ["description", "title"])) : X("", !0),
2928
- r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2935
+ r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2929
2936
  key: 5,
2930
2937
  "data-testid": "redis-read-write-configuration-section",
2931
2938
  description: r(i)("form.sections.read_write_configuration.description"),
@@ -2933,39 +2940,39 @@ const Fe = (e) => {
2933
2940
  }, {
2934
2941
  default: S(() => [
2935
2942
  g(N, {
2936
- modelValue: r(d).fields.config.read_timeout,
2937
- "onUpdate:modelValue": v[28] || (v[28] = (_) => r(d).fields.config.read_timeout = _),
2943
+ modelValue: r(s).fields.config.read_timeout,
2944
+ "onUpdate:modelValue": v[29] || (v[29] = (f) => r(s).fields.config.read_timeout = f),
2938
2945
  "data-testid": "redis-read-timeout-input",
2939
2946
  label: r(i)("form.fields.read_timeout.label"),
2940
2947
  "label-attributes": {
2941
2948
  info: r(i)("form.fields.read_timeout.tooltip"),
2942
2949
  tooltipAttributes: { maxWidth: "400" }
2943
2950
  },
2944
- readonly: r(d).readonly,
2951
+ readonly: r(s).readonly,
2945
2952
  type: "number"
2946
2953
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2947
2954
  g(N, {
2948
- modelValue: r(d).fields.config.send_timeout,
2949
- "onUpdate:modelValue": v[29] || (v[29] = (_) => r(d).fields.config.send_timeout = _),
2955
+ modelValue: r(s).fields.config.send_timeout,
2956
+ "onUpdate:modelValue": v[30] || (v[30] = (f) => r(s).fields.config.send_timeout = f),
2950
2957
  "data-testid": "redis-send-timeout-input",
2951
2958
  label: r(i)("form.fields.send_timeout.label"),
2952
2959
  "label-attributes": {
2953
2960
  info: r(i)("form.fields.send_timeout.tooltip"),
2954
2961
  tooltipAttributes: { maxWidth: "400" }
2955
2962
  },
2956
- readonly: r(d).readonly,
2963
+ readonly: r(s).readonly,
2957
2964
  type: "number"
2958
2965
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2959
2966
  g(N, {
2960
- modelValue: r(d).fields.config.connect_timeout,
2961
- "onUpdate:modelValue": v[30] || (v[30] = (_) => r(d).fields.config.connect_timeout = _),
2967
+ modelValue: r(s).fields.config.connect_timeout,
2968
+ "onUpdate:modelValue": v[31] || (v[31] = (f) => r(s).fields.config.connect_timeout = f),
2962
2969
  "data-testid": "redis-connect-timeout-input",
2963
2970
  label: r(i)("form.fields.connect_timeout.label"),
2964
2971
  "label-attributes": {
2965
2972
  info: r(i)("form.fields.connect_timeout.tooltip"),
2966
2973
  tooltipAttributes: { maxWidth: "400" }
2967
2974
  },
2968
- readonly: r(d).readonly,
2975
+ readonly: r(s).readonly,
2969
2976
  type: "number"
2970
2977
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2971
2978
  ]),
@@ -2978,7 +2985,7 @@ const Fe = (e) => {
2978
2985
  g(r(wn), {
2979
2986
  config: n.config,
2980
2987
  setup: r(c),
2981
- onCancel: v[32] || (v[32] = () => c.value = !1),
2988
+ onCancel: v[33] || (v[33] = () => c.value = !1),
2982
2989
  onProceed: r(l)
2983
2990
  }, null, 8, ["config", "setup", "onProceed"]),
2984
2991
  g(R, {
@@ -2988,7 +2995,7 @@ const Fe = (e) => {
2988
2995
  "max-width": "640",
2989
2996
  title: r(i)("form.edit_warning_modal.title"),
2990
2997
  visible: ie.value,
2991
- onCancel: v[33] || (v[33] = (_) => ie.value = !1),
2998
+ onCancel: v[34] || (v[34] = (f) => ie.value = !1),
2992
2999
  onProceed: Te
2993
3000
  }, {
2994
3001
  default: S(() => [
@@ -2997,7 +3004,7 @@ const Fe = (e) => {
2997
3004
  tag: "div"
2998
3005
  }, {
2999
3006
  pluginCount: S(() => [
3000
- z("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3007
+ K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3001
3008
  ]),
3002
3009
  _: 1
3003
3010
  })
@@ -3007,7 +3014,7 @@ const Fe = (e) => {
3007
3014
  ], 64);
3008
3015
  };
3009
3016
  }
3010
- }), ud = /* @__PURE__ */ te(dd, [["__scopeId", "data-v-cdc92d39"]]), cd = {
3017
+ }), ud = /* @__PURE__ */ te(dd, [["__scopeId", "data-v-8eb0e48b"]]), cd = {
3011
3018
  class: "linked-plugins",
3012
3019
  "data-testid": "linked-plugins-inline"
3013
3020
  }, bt = 7, fd = /* @__PURE__ */ Q({
@@ -3030,13 +3037,13 @@ const Fe = (e) => {
3030
3037
  });
3031
3038
  return (o, i) => {
3032
3039
  const a = $("KBadge");
3033
- return k(), J("div", cd, [
3034
- (k(!0), J(fe, null, tt(r(n).slice(0, bt), (c) => (k(), F(r(En), {
3040
+ return I(), J("div", cd, [
3041
+ (I(!0), J(fe, null, tt(r(n).slice(0, bt), (c) => (I(), F(r(En), {
3035
3042
  key: c.id,
3036
3043
  name: c.name,
3037
3044
  size: 24
3038
3045
  }, null, 8, ["name"]))), 128)),
3039
- r(n).length - bt > 0 ? (k(), F(a, {
3046
+ r(n).length - bt > 0 ? (I(), F(a, {
3040
3047
  key: 0,
3041
3048
  appearance: "info"
3042
3049
  }, {
@@ -3054,12 +3061,12 @@ const Fe = (e) => {
3054
3061
  pluginName: {}
3055
3062
  },
3056
3063
  setup(e) {
3057
- return (t, n) => (k(), J("div", md, [
3064
+ return (t, n) => (I(), J("div", md, [
3058
3065
  g(r(En), {
3059
3066
  name: e.pluginName,
3060
3067
  size: 24
3061
3068
  }, null, 8, ["name"]),
3062
- z("span", null, U(e.pluginName), 1)
3069
+ K("span", null, U(e.pluginName), 1)
3063
3070
  ]));
3064
3071
  }
3065
3072
  }), gd = /* @__PURE__ */ te(_d, [["__scopeId", "data-v-de964dc4"]]), bd = { class: "toolbar-container" }, yd = /* @__PURE__ */ Q({
@@ -3092,44 +3099,44 @@ const Fe = (e) => {
3092
3099
  { key: "name", label: i("linked_plugins_modal.headers.plugin") },
3093
3100
  { key: "instance_name", label: i("linked_plugins_modal.headers.instance_name") },
3094
3101
  { key: "actions", hideLabel: !0 }
3095
- ], { fetcher: c } = Fe(n.config), f = x(0), l = async (p) => {
3096
- const { data: b, count: m } = await c({
3102
+ ], { fetcher: c } = Fe(n.config), p = x(0), l = async (m) => {
3103
+ const { data: b, count: _ } = await c({
3097
3104
  partialId: n.partialId,
3098
- size: p.pageSize,
3099
- offset: p.offset,
3100
- query: p.query
3105
+ size: m.pageSize,
3106
+ offset: m.offset,
3107
+ query: m.query
3101
3108
  });
3102
- f.value = m;
3109
+ p.value = _;
3103
3110
  const E = {
3104
- total: m,
3111
+ total: _,
3105
3112
  data: b
3106
3113
  };
3107
3114
  return o("load", E), E;
3108
- }, u = x(""), y = B(() => n.config.app === "konnect" || n.isExactMatch ? {
3115
+ }, u = x(""), y = z(() => n.config.app === "konnect" || n.isExactMatch ? {
3109
3116
  isExactMatch: !0
3110
3117
  } : {
3111
3118
  isExactMatch: !1,
3112
3119
  fields: { name: { searchable: !0 } },
3113
3120
  schema: { name: { type: "text" } }
3114
- }), w = (p) => {
3115
- o("view-plugin", { id: p.id, plugin: p.name });
3121
+ }), w = (m) => {
3122
+ o("view-plugin", { id: m.id, plugin: m.name });
3116
3123
  };
3117
- return (p, b) => {
3118
- const m = $("KDropdownItem"), E = $("KTableData");
3119
- return k(), F(E, {
3124
+ return (m, b) => {
3125
+ const _ = $("KDropdownItem"), E = $("KTableData");
3126
+ return I(), F(E, {
3120
3127
  "cache-identifier": r(ci)(e.partialId),
3121
3128
  fetcher: l,
3122
3129
  headers: a,
3123
3130
  "hide-pagination-when-optional": "",
3124
- "pagination-attributes": { totalCount: f.value, disablePageJump: !0 },
3131
+ "pagination-attributes": { totalCount: p.value, disablePageJump: !0 },
3125
3132
  "search-input": u.value
3126
3133
  }, gn({
3127
- name: S(({ rowValue: d }) => [
3128
- g(gd, { "plugin-name": d }, null, 8, ["plugin-name"])
3134
+ name: S(({ rowValue: s }) => [
3135
+ g(gd, { "plugin-name": s }, null, 8, ["plugin-name"])
3129
3136
  ]),
3130
- "action-items": S(({ row: d }) => [
3131
- g(m, {
3132
- onClick: (A) => w(d)
3137
+ "action-items": S(({ row: s }) => [
3138
+ g(_, {
3139
+ onClick: (A) => w(s)
3133
3140
  }, {
3134
3141
  default: S(() => [
3135
3142
  le(U(r(i)("actions.view_plugin")), 1)
@@ -3142,10 +3149,10 @@ const Fe = (e) => {
3142
3149
  e.filterBarEnabled ? {
3143
3150
  name: "toolbar",
3144
3151
  fn: S(() => [
3145
- z("div", bd, [
3152
+ K("div", bd, [
3146
3153
  g(r(hn), {
3147
3154
  modelValue: u.value,
3148
- "onUpdate:modelValue": b[0] || (b[0] = (d) => u.value = d),
3155
+ "onUpdate:modelValue": b[0] || (b[0] = (s) => u.value = s),
3149
3156
  config: y.value
3150
3157
  }, null, 8, ["modelValue", "config"])
3151
3158
  ])
@@ -3178,21 +3185,21 @@ const Fe = (e) => {
3178
3185
  },
3179
3186
  emits: ["cancel", "proceed", "view-plugin"],
3180
3187
  setup(e, { emit: t }) {
3181
- const n = t, { i18n: { t: o } } = ye.useI18n(), i = x(0), a = B(() => o("linked_plugins_modal.title", { count: i.value })), c = () => {
3188
+ const n = t, { i18n: { t: o } } = ye.useI18n(), i = x(0), a = z(() => o("linked_plugins_modal.title", { count: i.value })), c = () => {
3182
3189
  n("cancel");
3183
- }, f = () => {
3190
+ }, p = () => {
3184
3191
  n("proceed");
3185
3192
  };
3186
3193
  return (l, u) => {
3187
3194
  const y = $("KModal");
3188
- return k(), J("div", hd, [
3195
+ return I(), J("div", hd, [
3189
3196
  g(y, {
3190
3197
  "action-button-text": r(o)("actions.done"),
3191
3198
  "hide-cancel-button": "",
3192
3199
  title: a.value,
3193
3200
  visible: e.visible,
3194
3201
  onCancel: c,
3195
- onProceed: f
3202
+ onProceed: p
3196
3203
  }, {
3197
3204
  default: S(() => [
3198
3205
  g(vd, {
@@ -3221,8 +3228,8 @@ const Fe = (e) => {
3221
3228
  o("close");
3222
3229
  };
3223
3230
  return (a, c) => {
3224
- const f = $("KModal");
3225
- return k(), F(f, {
3231
+ const p = $("KModal");
3232
+ return I(), F(p, {
3226
3233
  "action-button-text": r(n)("actions.close"),
3227
3234
  "data-testid": "remove-links-modal",
3228
3235
  "hide-cancel-button": "",
@@ -3239,7 +3246,7 @@ const Fe = (e) => {
3239
3246
  }, 8, ["action-button-text", "title", "visible"]);
3240
3247
  };
3241
3248
  }
3242
- }), Ed = { class: "kong-ui-entities-partials-list" }, Cd = 1e3, Id = /* @__PURE__ */ Q({
3249
+ }), Ed = { class: "kong-ui-entities-partials-list" }, Cd = 1e3, kd = /* @__PURE__ */ Q({
3243
3250
  __name: "RedisConfigurationList",
3244
3251
  props: {
3245
3252
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3286,21 +3293,21 @@ const Fe = (e) => {
3286
3293
  emits: ["click:learn-more", "click:plugin", "copy:error", "copy:success", "delete:success", "error"],
3287
3294
  setup(e, { emit: t }) {
3288
3295
  var N;
3289
- const n = t, o = e, i = B(() => {
3290
- var R, _;
3291
- let C = `${o.config.apiBaseUrl}${Ve.list[o.config.app]}`;
3292
- return o.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((R = o.config) == null ? void 0 : R.controlPlaneId) || "") : o.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (_ = o.config) != null && _.workspace ? `/${o.config.workspace}` : "")), C;
3293
- }), a = x(!1), c = x(""), f = x(null), l = x(void 0), u = x(!1), y = x(!1), w = x(""), p = x(!1), b = Oi(o.config, i.value), m = x(1), E = B(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: d, fetcherState: A } = Ri(o.config, i);
3294
- async function I(C) {
3295
- const R = await d({ ...C, pageSize: Cd });
3296
- return R.data = R.data.filter((_) => _.type === Z.REDIS_CE || _.type === Z.REDIS_EE), R;
3296
+ const n = t, o = e, i = z(() => {
3297
+ var R, f;
3298
+ let C = `${o.config.apiBaseUrl}${Me.list[o.config.app]}`;
3299
+ return o.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((R = o.config) == null ? void 0 : R.controlPlaneId) || "") : o.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (f = o.config) != null && f.workspace ? `/${o.config.workspace}` : "")), C;
3300
+ }), a = x(!1), c = x(""), p = x(null), l = x(void 0), u = x(!1), y = x(!1), w = x(""), m = x(!1), b = Oi(o.config, i.value), _ = x(1), E = z(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: s, fetcherState: A } = Ri(o.config, i);
3301
+ async function k(C) {
3302
+ const R = await s({ ...C, pageSize: Cd });
3303
+ return R.data = R.data.filter((f) => f.type === Z.REDIS_CE || f.type === Z.REDIS_EE), R;
3297
3304
  }
3298
- const { i18n: { t: s } } = ye.useI18n(), { axiosInstance: O } = It((N = o.config) == null ? void 0 : N.axiosRequestConfig), P = Tn(), W = x(""), Y = B(() => {
3305
+ const { i18n: { t: d } } = ye.useI18n(), { axiosInstance: O } = kt((N = o.config) == null ? void 0 : N.axiosRequestConfig), P = Tn(), W = x(""), Y = z(() => {
3299
3306
  const C = o.config.app === "konnect" || o.config.isExactMatch;
3300
3307
  if (C)
3301
3308
  return {
3302
3309
  isExactMatch: !0,
3303
- placeholder: s("search.placeholder_for_exact_match")
3310
+ placeholder: d("search.placeholder_for_exact_match")
3304
3311
  };
3305
3312
  const { name: R } = ie;
3306
3313
  return {
@@ -3313,100 +3320,100 @@ const Fe = (e) => {
3313
3320
  }), { fetcher: ne } = Fe(o.config), de = x({
3314
3321
  ctaPath: o.config.createRoute,
3315
3322
  ctaText: void 0,
3316
- message: `${s("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3317
- title: s("redis.title")
3323
+ message: `${d("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3324
+ title: d("redis.title")
3318
3325
  }), ie = {
3319
- name: { label: s("list.table_headers.name"), searchable: !0, hidable: !1, sortable: !0 },
3320
- type: { label: s("list.table_headers.type") },
3321
- tags: { label: s("list.table_headers.tags") },
3322
- plugins: { label: s("list.table_headers.plugins") }
3326
+ name: { label: d("list.table_headers.name"), searchable: !0, hidable: !1, sortable: !0 },
3327
+ type: { label: d("list.table_headers.type") },
3328
+ tags: { label: d("list.table_headers.tags") },
3329
+ plugins: { label: d("list.table_headers.plugins") }
3323
3330
  }, he = (C) => ({
3324
- label: s("actions.view"),
3331
+ label: d("actions.view"),
3325
3332
  to: o.config.getViewRoute(C)
3326
3333
  }), re = (C) => ({
3327
- label: s("actions.edit"),
3334
+ label: d("actions.edit"),
3328
3335
  to: o.config.getEditRoute(C)
3329
3336
  }), oe = async (C) => {
3330
3337
  const { count: R } = await ne({ partialId: C.id });
3331
- R > 0 ? p.value = !0 : (l.value = C, u.value = !0);
3338
+ R > 0 ? m.value = !0 : (l.value = C, u.value = !0);
3332
3339
  }, we = () => {
3333
3340
  W.value = "";
3334
3341
  }, Te = async (C) => {
3335
- var _;
3336
- await ((_ = o.canRetrieve) == null ? void 0 : _.call(o, C)) && P.push(o.config.getViewRoute(C.id));
3342
+ var f;
3343
+ await ((f = o.canRetrieve) == null ? void 0 : f.call(o, C)) && P.push(o.config.getViewRoute(C.id));
3337
3344
  }, Re = () => {
3338
3345
  u.value = !1;
3339
3346
  }, ve = (C) => {
3340
3347
  c.value = C, a.value = !0;
3341
3348
  }, at = async () => {
3342
- var C, R, _;
3349
+ var C, R, f;
3343
3350
  if ((C = l.value) != null && C.id) {
3344
3351
  y.value = !0;
3345
3352
  try {
3346
3353
  await O.delete(b(l.value.id)), y.value = !1, u.value = !1, ze(), n("delete:success", l.value);
3347
- } catch (H) {
3348
- w.value = ((_ = (R = H.response) == null ? void 0 : R.data) == null ? void 0 : _.message) || H.message || s("errors.delete"), n("error", H);
3354
+ } catch (B) {
3355
+ w.value = ((f = (R = B.response) == null ? void 0 : R.data) == null ? void 0 : f.message) || B.message || d("errors.delete"), n("error", B);
3349
3356
  } finally {
3350
3357
  y.value = !1;
3351
3358
  }
3352
3359
  }
3353
3360
  }, ze = () => {
3354
- m.value++;
3355
- }, K = (C) => {
3361
+ _.value++;
3362
+ }, H = (C) => {
3356
3363
  switch (Be(C)) {
3357
3364
  case T.HOST_PORT_CE:
3358
- return `${s("form.options.type.host_port")}${s("form.options.type.suffix_open_source")}`;
3365
+ return `${d("form.options.type.host_port")}${d("form.options.type.suffix_open_source")}`;
3359
3366
  case T.HOST_PORT_EE:
3360
- return `${s("form.options.type.host_port")}${s("form.options.type.suffix_enterprise")}`;
3367
+ return `${d("form.options.type.host_port")}${d("form.options.type.suffix_enterprise")}`;
3361
3368
  case T.SENTINEL:
3362
- return `${s("form.options.type.sentinel")}${s("form.options.type.suffix_enterprise")}`;
3369
+ return `${d("form.options.type.sentinel")}${d("form.options.type.suffix_enterprise")}`;
3363
3370
  case T.CLUSTER:
3364
- return `${s("form.options.type.cluster")}${s("form.options.type.suffix_enterprise")}`;
3371
+ return `${d("form.options.type.cluster")}${d("form.options.type.suffix_enterprise")}`;
3365
3372
  }
3366
3373
  }, v = () => {
3367
3374
  P.push(o.config.createRoute);
3368
3375
  }, lt = async (C, R) => {
3369
- const _ = C.id;
3370
- if (!await R(_)) {
3376
+ const f = C.id;
3377
+ if (!await R(f)) {
3371
3378
  n("copy:error", {
3372
3379
  entity: C,
3373
3380
  field: "id",
3374
- message: s("errors.copy")
3381
+ message: d("errors.copy")
3375
3382
  });
3376
3383
  return;
3377
3384
  }
3378
3385
  n("copy:success", {
3379
3386
  entity: C,
3380
3387
  field: "id",
3381
- message: s("copy.success", { val: _ })
3388
+ message: d("copy.success", { val: f })
3382
3389
  });
3383
3390
  };
3384
3391
  Ee(A, (C) => {
3385
- var R, _, H;
3392
+ var R, f, B;
3386
3393
  if (C.status === xi.Error) {
3387
- f.value = {
3388
- title: s("errors.general")
3389
- }, (H = (_ = (R = C.error) == null ? void 0 : R.response) == null ? void 0 : _.data) != null && H.message && (f.value.message = C.error.response.data.message), n("error", C.error);
3394
+ p.value = {
3395
+ title: d("errors.general")
3396
+ }, (B = (f = (R = C.error) == null ? void 0 : R.response) == null ? void 0 : f.data) != null && B.message && (p.value.message = C.error.response.data.message), n("error", C.error);
3390
3397
  return;
3391
3398
  }
3392
- f.value = null;
3399
+ p.value = null;
3393
3400
  });
3394
3401
  const Se = x(!1);
3395
3402
  return Ee(o.canCreate, async (C) => {
3396
- Se.value = await C, Se.value ? de.value.ctaText = s("actions.create") : de.value.ctaText = void 0;
3403
+ Se.value = await C, Se.value ? de.value.ctaText = d("actions.create") : de.value.ctaText = void 0;
3397
3404
  }, {
3398
3405
  immediate: !0
3399
3406
  }), (C, R) => {
3400
- const _ = $("KButton"), H = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3401
- return k(), J("div", Ed, [
3407
+ const f = $("KButton"), B = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3408
+ return I(), J("div", Ed, [
3402
3409
  g(r(Ai), {
3403
3410
  "cache-identifier": e.cacheIdentifier,
3404
3411
  "disable-sorting": E.value,
3405
3412
  "empty-state-options": de.value,
3406
3413
  "enable-entity-actions": "",
3407
- "error-message": f.value,
3408
- fetcher: I,
3409
- "fetcher-cache-key": m.value,
3414
+ "error-message": p.value,
3415
+ fetcher: k,
3416
+ "fetcher-cache-key": _.value,
3410
3417
  "pagination-type": "offset",
3411
3418
  "preferences-storage-key": "kong-ui-entities-redis-configuration-list",
3412
3419
  query: W.value,
@@ -3423,13 +3430,13 @@ const Fe = (e) => {
3423
3430
  }, null, 8, ["modelValue", "config"])
3424
3431
  ]),
3425
3432
  "toolbar-button": S(() => [
3426
- (k(), F(Ei, {
3433
+ (I(), F(Ei, {
3427
3434
  disabled: !e.useActionOutside,
3428
3435
  to: "#kong-ui-app-page-header-action-button"
3429
3436
  }, [
3430
3437
  g(r(Ke), { "auth-function": e.canCreate }, {
3431
3438
  default: S(() => [
3432
- g(_, {
3439
+ g(f, {
3433
3440
  appearance: "primary",
3434
3441
  "data-testid": "toolbar-add-redis-configuration",
3435
3442
  size: "large",
@@ -3437,7 +3444,7 @@ const Fe = (e) => {
3437
3444
  }, {
3438
3445
  default: S(() => [
3439
3446
  g(r(yt)),
3440
- le(" " + U(r(s)("actions.create")), 1)
3447
+ le(" " + U(r(d)("actions.create")), 1)
3441
3448
  ]),
3442
3449
  _: 1
3443
3450
  }, 8, ["to"])
@@ -3447,10 +3454,10 @@ const Fe = (e) => {
3447
3454
  ], 8, ["disabled"]))
3448
3455
  ]),
3449
3456
  name: S(({ rowValue: j }) => [
3450
- z("b", null, U(j ?? "-"), 1)
3457
+ K("b", null, U(j ?? "-"), 1)
3451
3458
  ]),
3452
3459
  type: S(({ row: j }) => [
3453
- le(U(K(j)), 1)
3460
+ le(U(H(j)), 1)
3454
3461
  ]),
3455
3462
  tags: S(({ rowValue: j }) => [
3456
3463
  g(r(Pi), { tags: j }, null, 8, ["tags"])
@@ -3465,12 +3472,12 @@ const Fe = (e) => {
3465
3472
  actions: S(({ row: j }) => [
3466
3473
  g(mi, null, {
3467
3474
  default: S(({ copyToClipboard: st }) => [
3468
- g(H, {
3475
+ g(B, {
3469
3476
  "data-testid": "action-entity-copy-id",
3470
3477
  onClick: (jd) => lt(j, st)
3471
3478
  }, {
3472
3479
  default: S(() => [
3473
- le(U(r(s)("actions.copy_id")), 1)
3480
+ le(U(r(d)("actions.copy_id")), 1)
3474
3481
  ]),
3475
3482
  _: 1
3476
3483
  }, 8, ["onClick"])
@@ -3481,7 +3488,7 @@ const Fe = (e) => {
3481
3488
  "auth-function": () => e.canRetrieve(j)
3482
3489
  }, {
3483
3490
  default: S(() => [
3484
- g(H, {
3491
+ g(B, {
3485
3492
  "data-testid": "action-entity-view",
3486
3493
  "has-divider": "",
3487
3494
  item: he(j.id)
@@ -3493,7 +3500,7 @@ const Fe = (e) => {
3493
3500
  "auth-function": () => e.canEdit(j)
3494
3501
  }, {
3495
3502
  default: S(() => [
3496
- g(H, {
3503
+ g(B, {
3497
3504
  "data-testid": "action-entity-edit",
3498
3505
  item: re(j.id)
3499
3506
  }, null, 8, ["item"])
@@ -3504,14 +3511,14 @@ const Fe = (e) => {
3504
3511
  "auth-function": () => e.canDelete(j)
3505
3512
  }, {
3506
3513
  default: S(() => [
3507
- g(H, {
3514
+ g(B, {
3508
3515
  danger: "",
3509
3516
  "data-testid": "action-entity-delete",
3510
3517
  "has-divider": "",
3511
3518
  onClick: (st) => oe(j)
3512
3519
  }, {
3513
3520
  default: S(() => [
3514
- le(U(r(s)("actions.delete")), 1)
3521
+ le(U(r(d)("actions.delete")), 1)
3515
3522
  ]),
3516
3523
  _: 1
3517
3524
  }, 8, ["onClick"])
@@ -3521,24 +3528,24 @@ const Fe = (e) => {
3521
3528
  ]),
3522
3529
  "empty-state": S(() => [
3523
3530
  g(_i, {
3524
- "action-button-text": r(s)("list.action"),
3531
+ "action-button-text": r(d)("list.action"),
3525
3532
  "action-button-visible": Se.value,
3526
3533
  "data-testid": "redis-entity-empty-state",
3527
3534
  features: [
3528
3535
  {
3529
3536
  key: "feature-1",
3530
- title: r(s)("list.empty_state.feature_1.title"),
3531
- description: r(s)("list.empty_state.feature_1.description")
3537
+ title: r(d)("list.empty_state.feature_1.title"),
3538
+ description: r(d)("list.empty_state.feature_1.description")
3532
3539
  },
3533
3540
  {
3534
3541
  key: "feature-2",
3535
- title: r(s)("list.empty_state.feature_2.title"),
3536
- description: r(s)("list.empty_state.feature_2.description")
3542
+ title: r(d)("list.empty_state.feature_2.title"),
3543
+ description: r(d)("list.empty_state.feature_2.description")
3537
3544
  }
3538
3545
  ],
3539
3546
  "icon-background": "",
3540
- message: r(s)("list.empty_state.description"),
3541
- title: r(s)("redis.title"),
3547
+ message: r(d)("list.empty_state.description"),
3548
+ title: r(d)("redis.title"),
3542
3549
  onClickAction: v
3543
3550
  }, {
3544
3551
  icon: S(() => [
@@ -3559,17 +3566,17 @@ const Fe = (e) => {
3559
3566
  _: 1
3560
3567
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher-cache-key", "query"]),
3561
3568
  g(Sd, {
3562
- visible: p.value,
3563
- onClose: R[2] || (R[2] = (j) => p.value = !1)
3569
+ visible: m.value,
3570
+ onClose: R[2] || (R[2] = (j) => m.value = !1)
3564
3571
  }, null, 8, ["visible"]),
3565
3572
  g(r($i), {
3566
3573
  "action-pending": y.value,
3567
- description: r(s)("delete.description"),
3574
+ description: r(d)("delete.description"),
3568
3575
  "entity-name": l.value && (l.value.name || l.value.id),
3569
3576
  "entity-type": r(Vi).RedisConfiguration,
3570
3577
  error: w.value,
3571
3578
  "need-confirmation": !0,
3572
- title: r(s)("delete.title"),
3579
+ title: r(d)("delete.title"),
3573
3580
  visible: u.value,
3574
3581
  onCancel: Re,
3575
3582
  onProceed: at
@@ -3585,7 +3592,7 @@ const Fe = (e) => {
3585
3592
  ]);
3586
3593
  };
3587
3594
  }
3588
- }), Zd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), kd = { class: "kong-ui-consumer-group-entity-config-card" }, Qd = /* @__PURE__ */ Q({
3595
+ }), Zd = /* @__PURE__ */ te(kd, [["__scopeId", "data-v-4e5be541"]]), Id = { class: "kong-ui-consumer-group-entity-config-card" }, Qd = /* @__PURE__ */ Q({
3589
3596
  __name: "RedisConfigurationConfigCard",
3590
3597
  props: {
3591
3598
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3612,10 +3619,10 @@ const Fe = (e) => {
3612
3619
  },
3613
3620
  emits: ["loading", "fetch:error", "fetch:success"],
3614
3621
  setup(e, { emit: t }) {
3615
- const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = B(() => Ve.form[n.config.app].edit), c = x(Pe), f = (m) => {
3616
- c.value = Be(m), o("fetch:success", m);
3617
- }, l = B(() => {
3618
- const m = c.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
3622
+ const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = z(() => Me.form[n.config.app].edit), c = x($e), p = (_) => {
3623
+ c.value = Be(_), o("fetch:success", _);
3624
+ }, l = z(() => {
3625
+ const _ = c.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
3619
3626
  let E = "";
3620
3627
  switch (c.value) {
3621
3628
  case T.HOST_PORT_CE:
@@ -3631,35 +3638,35 @@ const Fe = (e) => {
3631
3638
  E = i("form.options.type.sentinel");
3632
3639
  break;
3633
3640
  }
3634
- return `${E}${m}`;
3635
- }), u = (m) => ({
3636
- id: m.id,
3637
- name: m.name,
3638
- tags: m.tags,
3639
- created_at: m.created_at,
3640
- updated_at: m.updated_at,
3641
- type: m.type,
3642
- ...m.config,
3643
- ...n.config.cloudAuthAvailable ? { cloud_authentication: Vt(m.config.cloud_authentication) } : null
3644
- }), y = (m, E) => {
3645
- if (!m || Object.keys(m).length === 0)
3641
+ return `${E}${_}`;
3642
+ }), u = (_) => ({
3643
+ id: _.id,
3644
+ name: _.name,
3645
+ tags: _.tags,
3646
+ created_at: _.created_at,
3647
+ updated_at: _.updated_at,
3648
+ type: _.type,
3649
+ ..._.config,
3650
+ ...n.config.cloudAuthAvailable ? { cloud_authentication: Vt(_.config.cloud_authentication) } : null
3651
+ }), y = (_, E) => {
3652
+ if (!_ || Object.keys(_).length === 0)
3646
3653
  return {};
3647
- const { id: d, name: A, created_at: I, updated_at: s, type: O, tags: P, ...W } = m;
3654
+ const { id: s, name: A, created_at: k, updated_at: d, type: O, tags: P, ...W } = _;
3648
3655
  return E === "terraform" ? {
3649
3656
  [O.replaceAll("-", "_")]: {
3650
- id: d,
3657
+ id: s,
3651
3658
  name: A,
3652
3659
  tags: P,
3653
- created_at: I,
3654
- updated_at: s,
3660
+ created_at: k,
3661
+ updated_at: d,
3655
3662
  config: W
3656
3663
  }
3657
3664
  } : {
3658
- id: d,
3665
+ id: s,
3659
3666
  name: A,
3660
3667
  tags: P,
3661
- created_at: I,
3662
- updated_at: s,
3668
+ created_at: k,
3669
+ updated_at: d,
3663
3670
  type: O,
3664
3671
  config: W
3665
3672
  };
@@ -3819,23 +3826,23 @@ const Fe = (e) => {
3819
3826
  section: V.Basic,
3820
3827
  label: i("form.sections.cloud_auth.title")
3821
3828
  }
3822
- }, p = (m) => {
3823
- const E = {}, d = Object.keys(w);
3824
- for (const A of d)
3825
- m.includes(A) ? E[A] = {
3829
+ }, m = (_) => {
3830
+ const E = {}, s = Object.keys(w);
3831
+ for (const A of s)
3832
+ _.includes(A) ? E[A] = {
3826
3833
  ...w[A],
3827
- order: m.indexOf(A) + 1
3834
+ order: _.indexOf(A) + 1
3828
3835
  } : E[A] = {
3829
3836
  ...w[A],
3830
3837
  hidden: !0
3831
3838
  };
3832
3839
  return E;
3833
- }, b = B(() => {
3834
- const m = ["id", "name", "tags", "type", "updated_at", "created_at"];
3840
+ }, b = z(() => {
3841
+ const _ = ["id", "name", "tags", "type", "updated_at", "created_at"];
3835
3842
  switch (c.value) {
3836
3843
  case T.HOST_PORT_CE:
3837
- return p([
3838
- ...m,
3844
+ return m([
3845
+ ..._,
3839
3846
  "host",
3840
3847
  "port",
3841
3848
  "timeout",
@@ -3848,8 +3855,8 @@ const Fe = (e) => {
3848
3855
  "cloud_authentication"
3849
3856
  ]);
3850
3857
  case T.HOST_PORT_EE:
3851
- return p([
3852
- ...m,
3858
+ return m([
3859
+ ..._,
3853
3860
  "host",
3854
3861
  "port",
3855
3862
  "connection_is_proxied",
@@ -3867,8 +3874,8 @@ const Fe = (e) => {
3867
3874
  "cloud_authentication"
3868
3875
  ]);
3869
3876
  case T.CLUSTER:
3870
- return p([
3871
- ...m,
3877
+ return m([
3878
+ ..._,
3872
3879
  "cluster_nodes",
3873
3880
  "cluster_max_redirections",
3874
3881
  "database",
@@ -3885,8 +3892,8 @@ const Fe = (e) => {
3885
3892
  "cloud_authentication"
3886
3893
  ]);
3887
3894
  case T.SENTINEL:
3888
- return p([
3889
- ...m,
3895
+ return m([
3896
+ ..._,
3890
3897
  "sentinel_master",
3891
3898
  "sentinel_role",
3892
3899
  "sentinel_nodes",
@@ -3908,7 +3915,7 @@ const Fe = (e) => {
3908
3915
  throw new Error("Invalid Redis type");
3909
3916
  }
3910
3917
  });
3911
- return (m, E) => (k(), J("div", kd, [
3918
+ return (_, E) => (I(), J("div", Id, [
3912
3919
  g(r(Mi), {
3913
3920
  "code-block-record-formatter": y,
3914
3921
  config: e.config,
@@ -3918,12 +3925,12 @@ const Fe = (e) => {
3918
3925
  "fetch-url": a.value,
3919
3926
  "hide-title": e.hideTitle,
3920
3927
  "record-resolver": u,
3921
- "onFetch:error": E[0] || (E[0] = (d) => m.$emit("fetch:error", d)),
3922
- "onFetch:success": f,
3923
- onLoading: E[1] || (E[1] = (d) => m.$emit("loading", d))
3928
+ "onFetch:error": E[0] || (E[0] = (s) => _.$emit("fetch:error", s)),
3929
+ "onFetch:success": p,
3930
+ onLoading: E[1] || (E[1] = (s) => _.$emit("loading", s))
3924
3931
  }, {
3925
3932
  type: S(() => [
3926
- z("div", null, U(l.value), 1)
3933
+ K("div", null, U(l.value), 1)
3927
3934
  ]),
3928
3935
  _: 1
3929
3936
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -3939,14 +3946,14 @@ function pi(e) {
3939
3946
  const {
3940
3947
  debouncedQueryChange: a,
3941
3948
  loading: c,
3942
- error: f,
3949
+ error: p,
3943
3950
  loadItems: l,
3944
3951
  results: u
3945
- } = Di(o, Ve.list[o.app], n, {
3952
+ } = Di(o, Me.list[o.app], n, {
3946
3953
  fetchedItemsKey: "data",
3947
3954
  searchKeys: ["id", "name"]
3948
- }), y = (p) => {
3949
- switch (p) {
3955
+ }), y = (m) => {
3956
+ switch (m) {
3950
3957
  case T.CLUSTER:
3951
3958
  return i("form.options.type.cluster");
3952
3959
  case T.HOST_PORT_CE:
@@ -3956,14 +3963,14 @@ function pi(e) {
3956
3963
  case T.HOST_PORT_EE:
3957
3964
  return `${i("form.options.type.host_port")} (${i("form.options.type.enterprise")})`;
3958
3965
  }
3959
- }, w = B(() => (u.value || []).filter((b) => b.type === "redis-ce" || b.type === "redis-ee").map((b) => ({ label: b.id, name: b.name, value: b.id, type: b.type, tag: y(Be(b)) })).filter((b) => b.type === t));
3966
+ }, w = z(() => (u.value || []).filter((b) => b.type === "redis-ce" || b.type === "redis-ee").map((b) => ({ label: b.id, name: b.name, value: b.id, type: b.type, tag: y(Be(b)) })).filter((b) => b.type === t));
3960
3967
  return _n(() => {
3961
3968
  l();
3962
3969
  }), {
3963
3970
  items: w,
3964
3971
  loading: c,
3965
3972
  onQueryChange: a,
3966
- error: f,
3973
+ error: p,
3967
3974
  loadItems: l
3968
3975
  };
3969
3976
  }
@@ -3975,10 +3982,10 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
3975
3982
  },
3976
3983
  emits: ["toast", "modal-close", "created"],
3977
3984
  setup(e, { emit: t }) {
3978
- const n = t, { i18n: { t: o } } = ot(), i = bn(Cn), a = B(() => ({
3985
+ const n = t, { i18n: { t: o } } = ot(), i = bn(Cn), a = z(() => ({
3979
3986
  ...i,
3980
3987
  cancelRoute: void 0
3981
- })), { getMessageFromError: c } = yn(), f = Ci(), l = B(() => {
3988
+ })), { getMessageFromError: c } = yn(), p = Ci(), l = z(() => {
3982
3989
  switch (e.partialType) {
3983
3990
  case Z.REDIS_CE:
3984
3991
  return Z.REDIS_EE;
@@ -3987,16 +3994,16 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
3987
3994
  default:
3988
3995
  return;
3989
3996
  }
3990
- }), u = x(!1), y = x(), w = (m) => {
3997
+ }), u = x(!1), y = x(), w = (_) => {
3991
3998
  n("toast", {
3992
- message: c(m),
3999
+ message: c(_),
3993
4000
  appearance: "danger"
3994
4001
  });
3995
- }, p = (m) => {
4002
+ }, m = (_) => {
3996
4003
  n("toast", {
3997
4004
  message: o("form.partial_created_success_message"),
3998
4005
  appearance: "success"
3999
- }), b(), n("created", m);
4006
+ }), b(), n("created", _);
4000
4007
  }, b = () => {
4001
4008
  y.value = void 0, n("modal-close"), Dt(() => {
4002
4009
  u.value = !1;
@@ -4004,14 +4011,14 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4004
4011
  };
4005
4012
  return Ee(
4006
4013
  () => e.visible,
4007
- (m) => {
4008
- m && (u.value = !0, Dt(() => {
4009
- y.value = `#redis-modal-footer-${f}`;
4014
+ (_) => {
4015
+ _ && (u.value = !0, Dt(() => {
4016
+ y.value = `#redis-modal-footer-${p}`;
4010
4017
  }));
4011
4018
  }
4012
- ), (m, E) => {
4013
- const d = $("KModal");
4014
- return k(), F(d, {
4019
+ ), (_, E) => {
4020
+ const s = $("KModal");
4021
+ return I(), F(s, {
4015
4022
  class: "plugin-redis-partial-form",
4016
4023
  "data-testid": "redis-partial-form-modal",
4017
4024
  "full-screen": "",
@@ -4020,8 +4027,8 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4020
4027
  onCancel: b
4021
4028
  }, {
4022
4029
  footer: S(() => [
4023
- z("div", {
4024
- id: `redis-modal-footer-${r(f)}`,
4030
+ K("div", {
4031
+ id: `redis-modal-footer-${r(p)}`,
4025
4032
  class: "redis-modal-footer"
4026
4033
  }, null, 8, Rd)
4027
4034
  ]),
@@ -4033,7 +4040,7 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4033
4040
  "slidout-top-offset": 0,
4034
4041
  onCancel: b,
4035
4042
  onError: w,
4036
- onUpdate: p
4043
+ onUpdate: m
4037
4044
  }, null, 8, ["action-teleport-target", "config", "disabled-partial-type"])
4038
4045
  ]),
4039
4046
  _: 1
@@ -4063,30 +4070,30 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4063
4070
  items: i,
4064
4071
  loading: a,
4065
4072
  onQueryChange: c,
4066
- error: f,
4073
+ error: p,
4067
4074
  loadItems: l
4068
4075
  } = pi({
4069
4076
  redisType: e.redisType
4070
- }), u = x(!1), y = (m) => {
4071
- const E = m == null ? void 0 : m.value;
4072
- n("update:modelValue", E), n("change", m);
4077
+ }), u = x(!1), y = (_) => {
4078
+ const E = _ == null ? void 0 : _.value;
4079
+ n("update:modelValue", E), n("change", _);
4073
4080
  }, w = () => {
4074
4081
  u.value = !0;
4075
- }, p = () => {
4082
+ }, m = () => {
4076
4083
  u.value = !1, n("modal-close");
4077
- }, b = (m) => {
4084
+ }, b = (_) => {
4078
4085
  u.value = !1, l(), y({
4079
- name: m.name,
4080
- value: m.id,
4081
- label: m.name
4086
+ name: _.name,
4087
+ value: _.id,
4088
+ label: _.name
4082
4089
  });
4083
4090
  };
4084
- return Ee(f, (m) => {
4085
- n("error-change", m ? new Error(String(m)) : null);
4086
- }), (m, E) => {
4087
- const d = $("KBadge"), A = $("KSelect");
4088
- return k(), J(fe, null, [
4089
- g(A, Ii({
4091
+ return Ee(p, (_) => {
4092
+ n("error-change", _ ? new Error(String(_)) : null);
4093
+ }), (_, E) => {
4094
+ const s = $("KBadge"), A = $("KSelect");
4095
+ return I(), J(fe, null, [
4096
+ g(A, ki({
4090
4097
  class: "redis-config-select-trigger",
4091
4098
  "enable-filtering": "",
4092
4099
  "filter-function": () => !0,
@@ -4094,45 +4101,45 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4094
4101
  loading: r(a),
4095
4102
  "model-value": e.modelValue,
4096
4103
  placeholder: e.placeholder || r(o)("selector.placeholder")
4097
- }, m.$attrs, {
4104
+ }, _.$attrs, {
4098
4105
  onChange: y,
4099
4106
  onQueryChange: r(c)
4100
4107
  }), gn({
4101
- "selected-item-template": S(({ item: I }) => [
4102
- z("div", Pd, U(I.name), 1)
4108
+ "selected-item-template": S(({ item: k }) => [
4109
+ K("div", Pd, U(k.name), 1)
4103
4110
  ]),
4104
- "item-template": S(({ item: I }) => [
4105
- z("div", {
4111
+ "item-template": S(({ item: k }) => [
4112
+ K("div", {
4106
4113
  class: "plugin-form-redis-configuration-dropdown-item",
4107
- "data-testid": `redis-configuration-dropdown-item-${I.name}`
4114
+ "data-testid": `redis-configuration-dropdown-item-${k.name}`
4108
4115
  }, [
4109
- z("span", Vd, U(I.name), 1),
4110
- g(d, {
4116
+ K("span", Vd, U(k.name), 1),
4117
+ g(s, {
4111
4118
  appearance: "info",
4112
4119
  class: "select-item-label"
4113
4120
  }, {
4114
4121
  default: S(() => [
4115
- le(U(I.tag), 1)
4122
+ le(U(k.tag), 1)
4116
4123
  ]),
4117
4124
  _: 2
4118
4125
  }, 1024)
4119
4126
  ], 8, $d)
4120
4127
  ]),
4121
4128
  empty: S(() => [
4122
- z("div", Md, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4129
+ K("div", Md, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4123
4130
  ]),
4124
4131
  _: 2
4125
4132
  }, [
4126
4133
  e.showCreateButton ? {
4127
4134
  name: "dropdown-footer-text",
4128
4135
  fn: S(() => [
4129
- z("div", {
4136
+ K("div", {
4130
4137
  class: "new-redis-config-area",
4131
4138
  "data-testid": "new-redis-config-area",
4132
4139
  onClick: w
4133
4140
  }, [
4134
4141
  g(r(yt), { size: r(Od) }, null, 8, ["size"]),
4135
- z("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4142
+ K("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4136
4143
  ])
4137
4144
  ]),
4138
4145
  key: "0"
@@ -4142,8 +4149,8 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4142
4149
  "partial-type": e.redisType,
4143
4150
  visible: u.value,
4144
4151
  onCreated: b,
4145
- onModalClose: p,
4146
- onToast: E[0] || (E[0] = (I) => n("toast", I))
4152
+ onModalClose: m,
4153
+ onToast: E[0] || (E[0] = (k) => n("toast", k))
4147
4154
  }, null, 8, ["partial-type", "visible"])
4148
4155
  ], 64);
4149
4156
  };