@kong-ui-public/entities-redis-configurations 1.6.6-pr.2696.bdcc0c1fc.0 → 1.6.6

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 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";
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";
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 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";
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";
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 || {}), 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;
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;
12
12
  function Wi(e) {
13
- var t = Ki.call(e, De), n = e[De];
13
+ var t = Ki.call(e, Me), n = e[Me];
14
14
  try {
15
- e[De] = void 0;
15
+ e[Me] = void 0;
16
16
  var o = !0;
17
17
  } catch {
18
18
  }
19
19
  var i = Hi.call(e);
20
- return o && (t ? e[De] = n : delete e[De]), i;
20
+ return o && (t ? e[Me] = n : delete e[Me]), 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 ke(e) {
27
+ function Ie(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 It(e) {
35
- return typeof e == "symbol" || me(e) && ke(e) == Yi;
34
+ function kt(e) {
35
+ return typeof e == "symbol" || me(e) && Ie(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 (It(e))
48
+ if (kt(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 = ke(e);
64
+ var t = Ie(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 Ie(e) {
75
+ function ke(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(Ie(e));
95
+ return t.test(ke(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, kr = /^(?:0|[1-9]\d*)$/;
156
- function Ir(e, t) {
155
+ var Cr = 9007199254740991, Ir = /^(?:0|[1-9]\d*)$/;
156
+ function kr(e, t) {
157
157
  var n = typeof e;
158
- return t = t ?? Cr, !!t && (n == "number" || n != "symbol" && kr.test(e)) && e > -1 && e % 1 == 0 && e < t;
158
+ return t = t ?? Cr, !!t && (n == "number" || n != "symbol" && Ir.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 p = t[a], l = void 0;
181
- l === void 0 && (l = e[p]), i ? An(n, p, l) : Pn(n, p, l);
180
+ var f = t[a], l = void 0;
181
+ l === void 0 && (l = e[f]), i ? An(n, f, l) : Pn(n, f, 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 p = Array(t + 1); ++i < t; )
192
- p[i] = o[i];
193
- return p[t] = n(c), gr(e, this, p);
191
+ for (var f = Array(t + 1); ++i < t; )
192
+ f[i] = o[i];
193
+ return f[t] = n(c), gr(e, this, f);
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) && ke(e) == Mr;
215
+ return me(e) && Ie(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[ke(e)];
229
+ return me(e) && $n(e.length) && !!L[Ie(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 && kn.process, Ve = 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 && In.process, $e = 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 = Ve && Ve.isTypedArray, Nn = Ht ? Rt(Ht) : fo, mo = Object.prototype, _o = mo.hasOwnProperty;
242
+ }(), Ht = $e && $e.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, p = c ? Vr(e.length, String) : [], l = p.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, f = c ? Vr(e.length, String) : [], l = f.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
- Ir(u, l))) && p.push(u);
251
- return p;
250
+ kr(u, l))) && f.push(u);
251
+ return f;
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 ko = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Io = /^\w*$/;
289
+ var Io = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ko = /^\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 || It(e) ? !0 : Io.test(e) || !ko.test(e) || t != null && e in Object(t);
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);
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" || It(e))
451
+ if (typeof e == "string" || kt(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 p = e[a];
475
- n(p) ? Pt(i, p) : i[i.length] = p;
474
+ var f = e[a];
475
+ n(f) ? Pt(i, f) : i[i.length] = f;
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) || ke(e) != ca)
488
+ if (!me(e) || Ie(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 ka(e, t) {
541
+ function Ia(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 ka(e, t) {
548
548
  function qn() {
549
549
  return [];
550
550
  }
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) {
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) {
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 = Ie(ht), $a = Ie(Ue), Va = Ie(wt), Ma = Ie(Tt), Da = Ie(vt), ae = ke;
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;
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 = ke(e), n = t == Aa ? e.constructor : void 0, o = n ? Ie(n) : "";
572
+ var t = Ie(e), n = t == Aa ? e.constructor : void 0, o = n ? ke(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 = Ve && Ve.isMap, pl = on ? Rt(on) : fl, ml = "[object Set]";
653
+ var on = $e && $e.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 = 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;
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;
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 p = _e(e);
667
- if (p)
666
+ var f = _e(e);
667
+ if (f)
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, _) {
688
- c.set(_, Ge(b, t, n, _, e, a));
687
+ }) : pl(e) && e.forEach(function(b, m) {
688
+ c.set(m, Ge(b, t, n, m, e, a));
689
689
  });
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));
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));
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, p = e.length, l = t.length;
721
- if (p != l && !(c && l > p))
720
+ var c = n & Hl, f = e.length, l = t.length;
721
+ if (f != l && !(c && l > f))
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, 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];
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];
729
729
  if (o)
730
- var s = c ? o(E, _, w, t, e, a) : o(_, E, w, e, t, a);
731
- if (s !== void 0) {
732
- if (s)
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)
733
733
  continue;
734
- m = !1;
734
+ p = !1;
735
735
  break;
736
736
  }
737
737
  if (b) {
738
- if (!zl(t, function(A, k) {
739
- if (!Kl(b, k) && (_ === A || i(_, A, n, o, a)))
740
- return b.push(k);
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);
741
741
  })) {
742
- m = !1;
742
+ p = !1;
743
743
  break;
744
744
  }
745
- } else if (!(_ === E || i(_, E, n, o, a))) {
746
- m = !1;
745
+ } else if (!(m === E || i(m, E, n, o, a))) {
746
+ p = !1;
747
747
  break;
748
748
  }
749
749
  }
750
- return a.delete(e), a.delete(t), m;
750
+ return a.delete(e), a.delete(t), p;
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 p = ql;
783
+ var f = ql;
784
784
  case is:
785
785
  var l = o & Jl;
786
- if (p || (p = Gl), e.size != t.size && !l)
786
+ if (f || (f = 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(p(e), p(t), o, i, a, c);
792
+ var y = ei(f(e), f(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, p = Zt(e), l = p.length, u = Zt(t), y = u.length;
802
+ var c = n & ds, f = Zt(e), l = f.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 m = p[w];
807
- if (!(c ? m in t : cs.call(t, m)))
806
+ var p = f[w];
807
+ if (!(c ? p in t : cs.call(t, p)))
808
808
  return !1;
809
809
  }
810
- var b = a.get(e), _ = a.get(t);
811
- if (b && _)
812
- return b == t && _ == e;
810
+ var b = a.get(e), m = a.get(t);
811
+ if (b && m)
812
+ return b == t && m == e;
813
813
  var E = !0;
814
814
  a.set(e, t), a.set(t, e);
815
- for (var s = c; ++w < l; ) {
816
- m = p[w];
817
- var A = e[m], k = t[m];
815
+ for (var d = c; ++w < l; ) {
816
+ p = f[w];
817
+ var A = e[p], I = t[p];
818
818
  if (o)
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)) {
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)) {
821
821
  E = !1;
822
822
  break;
823
823
  }
824
- s || (s = m == "constructor");
824
+ d || (d = p == "constructor");
825
825
  }
826
- if (E && !s) {
826
+ if (E && !d) {
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), p = _e(t), l = c ? dn : ae(e), u = p ? dn : ae(t);
834
+ var c = _e(e), f = _e(t), l = c ? dn : ae(e), u = f ? dn : ae(t);
835
835
  l = l == sn ? He : l, u = u == sn ? He : u;
836
- var y = l == He, w = u == He, m = l == u;
837
- if (m && Ze(e)) {
836
+ var y = l == He, w = u == He, p = l == u;
837
+ if (p && Ze(e)) {
838
838
  if (!Ze(t))
839
839
  return !1;
840
840
  c = !0, y = !1;
841
841
  }
842
- if (m && !y)
842
+ if (p && !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__"), _ = 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);
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);
849
849
  }
850
850
  }
851
- return m ? (a || (a = new pe()), fs(e, t, n, o, i, a)) : !1;
851
+ return p ? (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 ks = new Uint8Array(16);
892
- function Is() {
891
+ const Is = new Uint8Array(16);
892
+ function ks() {
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(ks);
898
+ return pt(Is);
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)) ?? Is();
906
+ const o = e.random ?? ((i = e.rng) == null ? void 0 : i.call(e)) ?? ks();
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
- }, $e = T.HOST_PORT_EE, ri = {
917
+ }, Pe = T.HOST_PORT_EE, ri = {
918
918
  port: 6379,
919
919
  host: "127.0.0.1",
920
920
  database: 0,
@@ -939,11 +939,11 @@ const ni = {
939
939
  cloud_authentication: {
940
940
  aws_is_serverless: !0
941
941
  }
942
- }, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
942
+ }, Gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
943
943
  __proto__: null,
944
944
  DEFAULT_CLUSTER_NODE: ni,
945
945
  DEFAULT_FIELDS: ri,
946
- DEFAULT_REDIS_TYPE: $e,
946
+ DEFAULT_REDIS_TYPE: Pe,
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;
@@ -1016,7 +1016,7 @@ const ni = {
1016
1016
  default:
1017
1017
  return null;
1018
1018
  }
1019
- }, Zd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1019
+ }, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1020
1020
  __proto__: null,
1021
1021
  genDefaultClusterNode: ai,
1022
1022
  genDefaultSentinelNode: oi,
@@ -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}", Me = {
1029
+ }, Symbol.toStringTag, { value: "Module" })), We = "/v2/control-planes/{controlPlaneId}/core-entities", qe = "/{workspace}", Ve = {
1030
1030
  list: {
1031
1031
  konnect: `${We}/partials`,
1032
1032
  kongManager: `${qe}/partials`
@@ -1046,15 +1046,7 @@ const ni = {
1046
1046
  kongManager: `${qe}/partials/{id}/links`
1047
1047
  }
1048
1048
  }, xs = (e) => {
1049
- if (e == null || e === "")
1050
- return !1;
1051
- if (typeof e == "string") {
1052
- const t = parseInt(e, 10);
1053
- return Number.isNaN(t) ? !0 : t >= 0 && t <= 65535;
1054
- }
1055
- return typeof e == "number" ? e >= 0 && e <= 65535 : !1;
1056
- }, As = (e) => {
1057
- 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({
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({
1058
1050
  fields: {
1059
1051
  name: "",
1060
1052
  tags: "",
@@ -1063,45 +1055,45 @@ const ni = {
1063
1055
  },
1064
1056
  readonly: !1,
1065
1057
  errorMessage: ""
1066
- }), u = x(), y = x(o), w = z(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
1067
- Ee(y, (d) => {
1068
- l.fields.type = Xe(d);
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);
1069
1061
  });
1070
- const m = z(() => {
1062
+ const p = B(() => {
1071
1063
  var O, P, W, Y;
1072
- if (i && ys(u.value, _.value) || !((O = l.fields.name) != null && O.length))
1064
+ if (i && ys(u.value, m.value) || !((O = l.fields.name) != null && O.length))
1073
1065
  return !1;
1074
- const { config: d } = l.fields;
1066
+ const { config: s } = l.fields;
1075
1067
  switch (y.value) {
1076
1068
  case T.HOST_PORT_CE:
1077
1069
  case T.HOST_PORT_EE:
1078
- return !!d.host && d.host.length > 0 && xs(d.port) && (((P = d.cloud_authentication) == null ? void 0 : P.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
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);
1079
1071
  case T.CLUSTER:
1080
- 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);
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);
1081
1073
  case T.SENTINEL:
1082
- 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;
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;
1083
1075
  default:
1084
1076
  throw new Error("Invalid redis type");
1085
1077
  }
1086
1078
  }), b = () => {
1087
1079
  if (!e.cloudAuthAvailable)
1088
1080
  return;
1089
- const d = Vt(l.fields.config.cloud_authentication);
1090
- return d != null && d.auth_provider ? {
1091
- auth_provider: d.auth_provider,
1092
- aws_cache_name: h.str(d.aws_cache_name, null),
1093
- aws_region: h.str(d.aws_region, null),
1094
- aws_is_serverless: d.aws_is_serverless,
1095
- aws_access_key_id: h.str(d.aws_access_key_id, null),
1096
- aws_secret_access_key: h.str(d.aws_secret_access_key, null),
1097
- aws_assume_role_arn: h.str(d.aws_assume_role_arn, null),
1098
- aws_role_session_name: h.str(d.aws_role_session_name, null),
1099
- gcp_service_account_json: h.str(d.gcp_service_account_json, null),
1100
- azure_client_id: h.str(d.azure_client_id, null),
1101
- azure_client_secret: h.str(d.azure_client_secret, null),
1102
- azure_tenant_id: h.str(d.azure_tenant_id, null)
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)
1103
1095
  } : null;
1104
- }, _ = z(() => {
1096
+ }, m = B(() => {
1105
1097
  switch (y.value) {
1106
1098
  case T.HOST_PORT_CE:
1107
1099
  return {
@@ -1135,7 +1127,7 @@ const ni = {
1135
1127
  keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
1136
1128
  keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
1137
1129
  password: h.str(l.fields.config.password, null),
1138
- port: Number.isNaN(Number(l.fields.config.port)) ? l.fields.config.port : h.int(l.fields.config.port),
1130
+ port: h.int(l.fields.config.port),
1139
1131
  read_timeout: h.int(l.fields.config.read_timeout),
1140
1132
  send_timeout: h.int(l.fields.config.send_timeout),
1141
1133
  server_name: h.str(l.fields.config.server_name, null),
@@ -1216,44 +1208,44 @@ const ni = {
1216
1208
  default:
1217
1209
  throw new Error("Invalid redis type");
1218
1210
  }
1219
- }), E = z(() => {
1220
- let d = `${n.apiBaseUrl}${Me.form[n.app][p.value]}`;
1221
- 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;
1222
- }), s = z(() => {
1223
- var d;
1224
- return (d = Me.form[n == null ? void 0 : n.app]) == null ? void 0 : d.edit;
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;
1225
1217
  });
1226
1218
  return {
1227
1219
  form: l,
1228
- canSubmit: m,
1229
- payload: _,
1220
+ canSubmit: p,
1221
+ payload: m,
1230
1222
  isEdit: i,
1231
1223
  redisType: y,
1232
1224
  redisTypeIsEnterprise: w,
1233
- formType: p,
1234
- fetchUrl: s,
1225
+ formType: f,
1226
+ fetchUrl: d,
1235
1227
  submit: async () => {
1236
1228
  try {
1237
1229
  l.readonly = !0, l.errorMessage = "";
1238
- let d = _.value;
1239
- return n.app === "konnect" && (d = {
1240
- ...d,
1241
- config: h.removeNullValues(d.config)
1242
- }), 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);
1243
- } catch (d) {
1244
- throw l.errorMessage = c(d), l.readonly = !1, d;
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;
1245
1237
  }
1246
1238
  },
1247
- setInitialFormValues: (d) => {
1239
+ setInitialFormValues: (s) => {
1248
1240
  l.fields.config = Object.assign(
1249
1241
  {},
1250
1242
  l.fields.config,
1251
- h.removeNullValues(d.config)
1243
+ h.removeNullValues(s.config)
1252
1244
  // remove null values if data, so they can be replaced with default values
1253
- ), 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));
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));
1254
1246
  }
1255
1247
  };
1256
- }, Ps = { class: "array-card-container" }, $s = /* @__PURE__ */ Q({
1248
+ }, As = { class: "array-card-container" }, Ps = /* @__PURE__ */ Q({
1257
1249
  __name: "FieldArrayCardContainer",
1258
1250
  props: {
1259
1251
  model: {
@@ -1277,7 +1269,7 @@ const ni = {
1277
1269
  setup(e) {
1278
1270
  return (t, n) => {
1279
1271
  const o = $("KCard"), i = $("KButton");
1280
- return I(), J("div", Ps, [
1272
+ return k(), J("div", As, [
1281
1273
  g(o, { class: "card" }, {
1282
1274
  default: S(() => [
1283
1275
  gi(t.$slots, "default", {}, void 0, !0)
@@ -1303,7 +1295,7 @@ const ni = {
1303
1295
  for (const [o, i] of t)
1304
1296
  n[o] = i;
1305
1297
  return n;
1306
- }, li = /* @__PURE__ */ te($s, [["__scopeId", "data-v-a0b2e4fb"]]), Vs = {
1298
+ }, li = /* @__PURE__ */ te(Ps, [["__scopeId", "data-v-a0b2e4fb"]]), $s = {
1307
1299
  create: "New Redis Configuration",
1308
1300
  copy_id: "Copy ID",
1309
1301
  copy_json: "Copy JSON",
@@ -1314,21 +1306,21 @@ const ni = {
1314
1306
  loading: "Loading...",
1315
1307
  view_plugin: "View Plugin",
1316
1308
  close: "Close"
1317
- }, Ms = {
1309
+ }, Vs = {
1318
1310
  placeholder: "Filter by name",
1319
1311
  placeholder_for_exact_match: "Filter by exact ID",
1320
1312
  no_results: "No results found"
1321
- }, Ds = {
1313
+ }, Ms = {
1322
1314
  placeholder: "Select a Redis configuration",
1323
1315
  empty_state: "No Redis configurations available",
1324
1316
  create_new: "Create new Redis configuration"
1325
- }, js = {
1317
+ }, Ds = {
1326
1318
  copy: "Failed to copy to clipboard",
1327
1319
  general: "Redis configuration could not be retrieved",
1328
1320
  delete: "The redis configuration could not be deleted at this time."
1329
- }, Ls = {
1321
+ }, js = {
1330
1322
  success: "Copied {val} to clipboard"
1331
- }, Us = {
1323
+ }, Ls = {
1332
1324
  redis_partial_modal_title: "Create Redis Configuration",
1333
1325
  partial_created_success_message: "Redis configuration created successfully",
1334
1326
  sections: {
@@ -1569,19 +1561,19 @@ const ni = {
1569
1561
  plugin_count: "{count} plugin(s)",
1570
1562
  confirm: "Confirm"
1571
1563
  }
1572
- }, Ns = {
1564
+ }, Us = {
1573
1565
  title: "Associated plugins ({count})",
1574
1566
  headers: {
1575
1567
  plugin: "Plugin",
1576
1568
  instance_name: "Name"
1577
1569
  }
1578
- }, Bs = {
1570
+ }, Ns = {
1579
1571
  title: "Redis Configurations",
1580
1572
  empty_state: {
1581
1573
  title: "Configure a Redis Configuration",
1582
1574
  description: "Set up shared Redis configurations for your gateway plugins to store and retrieve data — like counters or other data — needed during request processing."
1583
1575
  }
1584
- }, Fs = {
1576
+ }, Bs = {
1585
1577
  action: "New configuration",
1586
1578
  table_headers: {
1587
1579
  name: "Name",
@@ -1600,24 +1592,24 @@ const ni = {
1600
1592
  description: "Edits to your configuration will be cascaded automatically to all associated plugins."
1601
1593
  }
1602
1594
  }
1603
- }, zs = {
1604
- actions: Vs,
1605
- search: Ms,
1606
- selector: Ds,
1595
+ }, Fs = {
1596
+ actions: $s,
1597
+ search: Vs,
1598
+ selector: Ms,
1607
1599
  delete: {
1608
1600
  title: "Delete Redis configuration",
1609
1601
  description: "You’re about to delete this item. Are you sure you want to proceed?",
1610
1602
  warning: "To delete this configuration, first remove it from all associated plugins."
1611
1603
  },
1612
- errors: js,
1613
- copy: Ls,
1614
- form: Us,
1615
- linked_plugins_modal: Ns,
1616
- redis: Bs,
1617
- list: Fs
1604
+ errors: Ds,
1605
+ copy: js,
1606
+ form: Ls,
1607
+ linked_plugins_modal: Us,
1608
+ redis: Ns,
1609
+ list: Bs
1618
1610
  };
1619
1611
  function ot() {
1620
- const e = Bi("en-us", zs);
1612
+ const e = Bi("en-us", Fs);
1621
1613
  return {
1622
1614
  i18n: e,
1623
1615
  i18nT: Fi(e)
@@ -1626,7 +1618,7 @@ function ot() {
1626
1618
  }
1627
1619
  const ye = {
1628
1620
  useI18n: ot
1629
- }, Ks = { class: "cluster-node-items" }, Hs = /* @__PURE__ */ Q({
1621
+ }, zs = { class: "cluster-node-items" }, Ks = /* @__PURE__ */ Q({
1630
1622
  __name: "ClusterNodes",
1631
1623
  props: /* @__PURE__ */ Et({
1632
1624
  readonly: { type: Boolean }
@@ -1642,9 +1634,9 @@ const ye = {
1642
1634
  t.value.splice(a, 1);
1643
1635
  };
1644
1636
  return (a, c) => {
1645
- const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1646
- return I(), J("div", null, [
1647
- g(p, {
1637
+ const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1638
+ return k(), J("div", null, [
1639
+ g(f, {
1648
1640
  class: "required",
1649
1641
  info: r(n)("form.fields.cluster_nodes.tooltip"),
1650
1642
  "tooltip-attributes": { maxWidth: "400" }
@@ -1654,18 +1646,18 @@ const ye = {
1654
1646
  ]),
1655
1647
  _: 1
1656
1648
  }, 8, ["info"]),
1657
- K("div", null, [
1658
- (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1649
+ z("div", null, [
1650
+ (k(!0), J(fe, null, tt(t.value, (y, w) => (k(), F(li, {
1659
1651
  key: `${w}`,
1660
1652
  "data-testid": "redis-cluster-nodes",
1661
1653
  disabled: e.readonly,
1662
- onRemoveItem: (m) => i(w)
1654
+ onRemoveItem: (p) => i(w)
1663
1655
  }, {
1664
1656
  default: S(() => [
1665
- K("div", Ks, [
1657
+ z("div", zs, [
1666
1658
  g(l, {
1667
1659
  modelValue: y.ip,
1668
- "onUpdate:modelValue": (m) => y.ip = m,
1660
+ "onUpdate:modelValue": (p) => y.ip = p,
1669
1661
  modelModifiers: { trim: !0 },
1670
1662
  label: r(n)("form.fields.cluster_node_ip.label"),
1671
1663
  "label-attributes": {
@@ -1678,7 +1670,7 @@ const ye = {
1678
1670
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1679
1671
  g(l, {
1680
1672
  modelValue: y.port,
1681
- "onUpdate:modelValue": (m) => y.port = m,
1673
+ "onUpdate:modelValue": (p) => y.port = p,
1682
1674
  label: r(n)("form.fields.cluster_node_port.label"),
1683
1675
  "label-attributes": {
1684
1676
  info: r(n)("form.fields.cluster_node_port.tooltip"),
@@ -1700,7 +1692,7 @@ const ye = {
1700
1692
  }, {
1701
1693
  default: S(() => [
1702
1694
  g(r(Sn)),
1703
- K("span", null, U(r(n)("form.fields.cluster_nodes.add_button")), 1)
1695
+ z("span", null, U(r(n)("form.fields.cluster_nodes.add_button")), 1)
1704
1696
  ]),
1705
1697
  _: 1
1706
1698
  }, 8, ["disabled"])
@@ -1708,7 +1700,7 @@ const ye = {
1708
1700
  ]);
1709
1701
  };
1710
1702
  }
1711
- }), Ws = /* @__PURE__ */ te(Hs, [["__scopeId", "data-v-776a626d"]]), si = () => {
1703
+ }), Hs = /* @__PURE__ */ te(Ks, [["__scopeId", "data-v-776a626d"]]), si = () => {
1712
1704
  const e = x(), t = x();
1713
1705
  return {
1714
1706
  vaultSecretPickerSetup: e,
@@ -1720,7 +1712,7 @@ const ye = {
1720
1712
  (a = t.value) == null || a.call(t, i), e.value = !1;
1721
1713
  }
1722
1714
  };
1723
- }, qs = { class: "sentinel-node-items" }, Gs = /* @__PURE__ */ Q({
1715
+ }, Ws = { class: "sentinel-node-items" }, qs = /* @__PURE__ */ Q({
1724
1716
  __name: "SentinelNodes",
1725
1717
  props: /* @__PURE__ */ Et({
1726
1718
  readonly: { type: Boolean }
@@ -1736,9 +1728,9 @@ const ye = {
1736
1728
  t.value.splice(a, 1);
1737
1729
  };
1738
1730
  return (a, c) => {
1739
- const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1740
- return I(), J("div", null, [
1741
- g(p, {
1731
+ const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1732
+ return k(), J("div", null, [
1733
+ g(f, {
1742
1734
  class: "required",
1743
1735
  info: r(n)("form.fields.sentinel_nodes.tooltip"),
1744
1736
  "tooltip-attributes": { maxWidth: "400" }
@@ -1748,18 +1740,18 @@ const ye = {
1748
1740
  ]),
1749
1741
  _: 1
1750
1742
  }, 8, ["info"]),
1751
- K("div", null, [
1752
- (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1743
+ z("div", null, [
1744
+ (k(!0), J(fe, null, tt(t.value, (y, w) => (k(), F(li, {
1753
1745
  key: y.id,
1754
1746
  "data-testid": "redis-sentinel-nodes",
1755
1747
  disabled: e.readonly,
1756
- onRemoveItem: (m) => i(w)
1748
+ onRemoveItem: (p) => i(w)
1757
1749
  }, {
1758
1750
  default: S(() => [
1759
- K("div", qs, [
1751
+ z("div", Ws, [
1760
1752
  g(l, {
1761
1753
  modelValue: y.host,
1762
- "onUpdate:modelValue": (m) => y.host = m,
1754
+ "onUpdate:modelValue": (p) => y.host = p,
1763
1755
  modelModifiers: { trim: !0 },
1764
1756
  label: r(n)("form.fields.sentinel_node_host.label"),
1765
1757
  "label-attributes": {
@@ -1772,7 +1764,7 @@ const ye = {
1772
1764
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1773
1765
  g(l, {
1774
1766
  modelValue: y.port,
1775
- "onUpdate:modelValue": (m) => y.port = m,
1767
+ "onUpdate:modelValue": (p) => y.port = p,
1776
1768
  label: r(n)("form.fields.sentinel_node_port.label"),
1777
1769
  "label-attributes": {
1778
1770
  info: r(n)("form.fields.sentinel_node_port.tooltip"),
@@ -1794,7 +1786,7 @@ const ye = {
1794
1786
  }, {
1795
1787
  default: S(() => [
1796
1788
  g(r(Sn)),
1797
- K("span", null, U(r(n)("form.fields.sentinel_nodes.add_button")), 1)
1789
+ z("span", null, U(r(n)("form.fields.sentinel_nodes.add_button")), 1)
1798
1790
  ]),
1799
1791
  _: 1
1800
1792
  }, 8, ["disabled"])
@@ -1802,7 +1794,7 @@ const ye = {
1802
1794
  ]);
1803
1795
  };
1804
1796
  }
1805
- }), Js = /* @__PURE__ */ te(Gs, [["__scopeId", "data-v-cd1c07e2"]]), Zs = /* @__PURE__ */ Q({
1797
+ }), Gs = /* @__PURE__ */ te(qs, [["__scopeId", "data-v-cd1c07e2"]]), Js = /* @__PURE__ */ Q({
1806
1798
  __name: "CloudAuthFields",
1807
1799
  props: /* @__PURE__ */ Et({
1808
1800
  config: {},
@@ -1904,47 +1896,47 @@ const ye = {
1904
1896
  referenceable: !0,
1905
1897
  encrypted: !0
1906
1898
  }
1907
- ], p = z(() => c.filter((l) => {
1899
+ ], f = B(() => c.filter((l) => {
1908
1900
  var u;
1909
1901
  return l.group === ((u = t.value) == null ? void 0 : u.auth_provider);
1910
1902
  }));
1911
1903
  return (l, u) => {
1912
1904
  const y = $("KInput"), w = $("KCheckbox");
1913
- return I(), J(fe, null, [
1914
- (I(!0), J(fe, null, tt(p.value, (m) => (I(), J(fe, {
1915
- key: m.key
1905
+ return k(), J(fe, null, [
1906
+ (k(!0), J(fe, null, tt(f.value, (p) => (k(), J(fe, {
1907
+ key: p.key
1916
1908
  }, [
1917
- m.type !== "boolean" ? (I(), J(fe, { key: 0 }, [
1909
+ p.type !== "boolean" ? (k(), J(fe, { key: 0 }, [
1918
1910
  g(y, {
1919
- modelValue: t.value[m.key],
1920
- "onUpdate:modelValue": (b) => t.value[m.key] = b,
1921
- "data-testid": `redis-${m.key}-input`,
1922
- label: m.label,
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,
1923
1915
  "label-attributes": {
1924
- info: m.tooltip,
1916
+ info: p.tooltip,
1925
1917
  tooltipAttributes: { maxWidth: "400" }
1926
1918
  },
1927
1919
  readonly: e.readonly,
1928
- required: m.required ?? !1,
1929
- "show-password-mask-toggle": m.encrypted,
1930
- type: m.encrypted ? "password" : "text"
1920
+ required: p.required ?? !1,
1921
+ "show-password-mask-toggle": p.encrypted,
1922
+ type: p.encrypted ? "password" : "text"
1931
1923
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "label", "label-attributes", "readonly", "required", "show-password-mask-toggle", "type"]),
1932
- m.referenceable ? (I(), F(r(xe), {
1924
+ p.referenceable ? (k(), F(r(De), {
1933
1925
  key: 0,
1934
1926
  class: "secret-picker-provider",
1935
1927
  disabled: e.readonly,
1936
- update: (b) => t.value[m.key] = b,
1937
- value: t.value[m.key] ?? "",
1938
- onOpen: u[0] || (u[0] = (b, _) => r(i)(b, _))
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))
1939
1931
  }, null, 8, ["disabled", "update", "value"])) : X("", !0)
1940
- ], 64)) : (I(), F(w, {
1932
+ ], 64)) : (k(), F(w, {
1941
1933
  key: 1,
1942
- modelValue: t.value[m.key],
1943
- "onUpdate:modelValue": (b) => t.value[m.key] = b,
1944
- "data-testid": `redis-${m.key}-checkbox`,
1945
- label: m.label,
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,
1946
1938
  "label-attributes": {
1947
- info: m.tooltip,
1939
+ info: p.tooltip,
1948
1940
  tooltipAttributes: { maxWidth: "400" }
1949
1941
  },
1950
1942
  readonly: e.readonly
@@ -1959,9 +1951,9 @@ const ye = {
1959
1951
  ], 64);
1960
1952
  };
1961
1953
  }
1962
- }), Qs = /* @__PURE__ */ te(Zs, [["__scopeId", "data-v-150a04c2"]]);
1954
+ }), Zs = /* @__PURE__ */ te(Js, [["__scopeId", "data-v-150a04c2"]]);
1963
1955
  var mt = /* @__PURE__ */ new WeakMap(), fn = 0;
1964
- function Ys(e) {
1956
+ function Qs(e) {
1965
1957
  if (!e.length)
1966
1958
  return "";
1967
1959
  for (var t = "arg", n = 0; n < e.length; ++n) {
@@ -1970,14 +1962,14 @@ function Ys(e) {
1970
1962
  }
1971
1963
  return t;
1972
1964
  }
1973
- function Xs(e) {
1965
+ function Ys(e) {
1974
1966
  if (typeof e == "function")
1975
1967
  try {
1976
1968
  e = e();
1977
1969
  } catch {
1978
1970
  e = "";
1979
1971
  }
1980
- return Array.isArray(e) ? e = Ys(e) : e = String(e || ""), e;
1972
+ return Array.isArray(e) ? e = Qs(e) : e = String(e || ""), e;
1981
1973
  }
1982
1974
  var Mt = (
1983
1975
  /** @class */
@@ -1986,17 +1978,17 @@ var Mt = (
1986
1978
  t === void 0 && (t = 0), this.items = /* @__PURE__ */ new Map(), this.ttl = t;
1987
1979
  }
1988
1980
  return e.prototype.serializeKey = function(t) {
1989
- return Xs(t);
1981
+ return Ys(t);
1990
1982
  }, e.prototype.get = function(t) {
1991
1983
  var n = this.serializeKey(t);
1992
1984
  return this.items.get(n);
1993
1985
  }, e.prototype.set = function(t, n, o) {
1994
- var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), p = {
1986
+ var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), f = {
1995
1987
  data: n,
1996
1988
  createdAt: c,
1997
1989
  expiresAt: a ? c + a : 1 / 0
1998
1990
  };
1999
- this.dispatchExpire(a, p, i), this.items.set(i, p);
1991
+ this.dispatchExpire(a, f, i), this.items.set(i, f);
2000
1992
  }, e.prototype.dispatchExpire = function(t, n, o) {
2001
1993
  var i = this;
2002
1994
  t && setTimeout(function() {
@@ -2008,21 +2000,21 @@ var Mt = (
2008
2000
  }, e;
2009
2001
  }()
2010
2002
  );
2011
- function ed() {
2003
+ function Xs() {
2012
2004
  return typeof navigator.onLine < "u" ? navigator.onLine : !0;
2013
2005
  }
2014
- function td() {
2006
+ function ed() {
2015
2007
  return typeof document < "u" && typeof document.visibilityState < "u" ? document.visibilityState !== "hidden" : !0;
2016
2008
  }
2017
- var nd = function(e) {
2009
+ var td = function(e) {
2018
2010
  return fetch(e).then(function(t) {
2019
2011
  return t.json();
2020
2012
  });
2021
2013
  };
2022
2014
  const _t = {
2023
- isOnline: ed,
2024
- isDocumentVisible: td,
2025
- fetcher: nd
2015
+ isOnline: Xs,
2016
+ isDocumentVisible: ed,
2017
+ fetcher: td
2026
2018
  };
2027
2019
  var ce = function() {
2028
2020
  return ce = Object.assign || function(e) {
@@ -2032,14 +2024,14 @@ var ce = function() {
2032
2024
  }
2033
2025
  return e;
2034
2026
  }, ce.apply(this, arguments);
2035
- }, Ae = function(e, t, n, o) {
2027
+ }, xe = function(e, t, n, o) {
2036
2028
  function i(a) {
2037
2029
  return a instanceof n ? a : new n(function(c) {
2038
2030
  c(a);
2039
2031
  });
2040
2032
  }
2041
2033
  return new (n || (n = Promise))(function(a, c) {
2042
- function p(y) {
2034
+ function f(y) {
2043
2035
  try {
2044
2036
  u(o.next(y));
2045
2037
  } catch (w) {
@@ -2054,19 +2046,19 @@ var ce = function() {
2054
2046
  }
2055
2047
  }
2056
2048
  function u(y) {
2057
- y.done ? a(y.value) : i(y.value).then(p, l);
2049
+ y.done ? a(y.value) : i(y.value).then(f, l);
2058
2050
  }
2059
2051
  u((o = o.apply(e, t || [])).next());
2060
2052
  });
2061
- }, Pe = function(e, t) {
2053
+ }, Ae = function(e, t) {
2062
2054
  var n = { label: 0, sent: function() {
2063
2055
  if (a[0] & 1) throw a[1];
2064
2056
  return a[1];
2065
2057
  }, trys: [], ops: [] }, o, i, a, c;
2066
- return c = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
2058
+ return c = { next: f(0), throw: f(1), return: f(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
2067
2059
  return this;
2068
2060
  }), c;
2069
- function p(u) {
2061
+ function f(u) {
2070
2062
  return function(y) {
2071
2063
  return l([u, y]);
2072
2064
  };
@@ -2117,14 +2109,14 @@ var ce = function() {
2117
2109
  if (u[0] & 5) throw u[1];
2118
2110
  return { value: u[0] ? u[1] : void 0, done: !0 };
2119
2111
  }
2120
- }, id = function(e, t) {
2112
+ }, nd = function(e, t) {
2121
2113
  var n = typeof Symbol == "function" && e[Symbol.iterator];
2122
2114
  if (!n) return e;
2123
2115
  var o = n.call(e), i, a = [], c;
2124
2116
  try {
2125
2117
  for (; (t === void 0 || t-- > 0) && !(i = o.next()).done; ) a.push(i.value);
2126
- } catch (p) {
2127
- c = { error: p };
2118
+ } catch (f) {
2119
+ c = { error: f };
2128
2120
  } finally {
2129
2121
  try {
2130
2122
  i && !i.done && (n = o.return) && n.call(o);
@@ -2133,7 +2125,7 @@ var ce = function() {
2133
2125
  }
2134
2126
  }
2135
2127
  return a;
2136
- }, rd = function(e, t, n) {
2128
+ }, id = function(e, t, n) {
2137
2129
  if (n || arguments.length === 2) for (var o = 0, i = t.length, a; o < i; o++)
2138
2130
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
2139
2131
  return e.concat(a || Array.prototype.slice.call(t));
@@ -2152,7 +2144,7 @@ var ce = function() {
2152
2144
  isOnline: _t.isOnline,
2153
2145
  isDocumentVisible: _t.isDocumentVisible
2154
2146
  };
2155
- function od(e, t, n) {
2147
+ function rd(e, t, n) {
2156
2148
  var o = et.get(e);
2157
2149
  if (o)
2158
2150
  o.data.push(t);
@@ -2161,7 +2153,7 @@ function od(e, t, n) {
2161
2153
  et.set(e, [t], n > 0 ? n + i : n);
2162
2154
  }
2163
2155
  }
2164
- function ad(e, t, n) {
2156
+ function od(e, t, n) {
2165
2157
  if (n.isDocumentVisible() && !(n.errorRetryCount !== void 0 && t > n.errorRetryCount)) {
2166
2158
  var o = Math.min(t || 0, n.errorRetryCount), i = o * n.errorRetryInterval;
2167
2159
  setTimeout(function() {
@@ -2170,19 +2162,19 @@ function ad(e, t, n) {
2170
2162
  }
2171
2163
  }
2172
2164
  var pn = function(e, t, n, o) {
2173
- return n === void 0 && (n = di), o === void 0 && (o = ui.ttl), Ae(void 0, void 0, void 0, function() {
2174
- var i, a, c, p, l, u, y;
2175
- return Pe(this, function(w) {
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) {
2176
2168
  switch (w.label) {
2177
2169
  case 0:
2178
- if (!sd(t)) return [3, 5];
2170
+ if (!ld(t)) return [3, 5];
2179
2171
  w.label = 1;
2180
2172
  case 1:
2181
2173
  return w.trys.push([1, 3, , 4]), [4, t];
2182
2174
  case 2:
2183
2175
  return i = w.sent(), [3, 4];
2184
2176
  case 3:
2185
- return p = w.sent(), a = p, [3, 4];
2177
+ return f = w.sent(), a = f, [3, 4];
2186
2178
  case 4:
2187
2179
  return [3, 6];
2188
2180
  case 5:
@@ -2191,29 +2183,29 @@ var pn = function(e, t, n, o) {
2191
2183
  if (c = !1, l = { data: i, error: a, isValidating: c }, typeof i < "u")
2192
2184
  try {
2193
2185
  n.set(e, l, o);
2194
- } catch (m) {
2195
- console.error("swrv(mutate): failed to set cache", m);
2186
+ } catch (p) {
2187
+ console.error("swrv(mutate): failed to set cache", p);
2196
2188
  }
2197
- return u = et.get(e), u && u.data.length && (y = u.data.filter(function(m) {
2198
- return m.key === e;
2199
- }), y.forEach(function(m, b) {
2200
- typeof l.data < "u" && (m.data = l.data), m.error = l.error, m.isValidating = l.isValidating, m.isLoading = l.isValidating;
2201
- var _ = b === y.length - 1;
2202
- _ || delete y[b];
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];
2203
2195
  }), y = y.filter(Boolean)), [2, l];
2204
2196
  }
2205
2197
  });
2206
2198
  });
2207
2199
  };
2208
- function ld() {
2200
+ function ad() {
2209
2201
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
2210
2202
  t[n] = arguments[n];
2211
- var o, i, a = ce({}, ui), c = !1, p = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2203
+ var o, i, a = ce({}, ui), c = !1, f = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2212
2204
  if (!u)
2213
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;
2214
2206
  var y = (u == null ? void 0 : u.$isServer) || !1;
2215
2207
  t.length >= 1 && (o = t[0]), t.length >= 2 && (i = t[1]), t.length > 2 && (a = ce(ce({}, a), t[2]));
2216
- var w = y ? a.serverTTL : a.ttl, m = typeof o == "function" ? o : x(o);
2208
+ var w = y ? a.serverTTL : a.ttl, p = typeof o == "function" ? o : x(o);
2217
2209
  typeof i > "u" && (i = a.fetcher);
2218
2210
  var b = null;
2219
2211
  b || (b = mn({
@@ -2223,25 +2215,25 @@ function ld() {
2223
2215
  isLoading: !0,
2224
2216
  key: null
2225
2217
  }));
2226
- var _ = function(k, d) {
2227
- return Ae(e, void 0, void 0, function() {
2218
+ var m = function(I, s) {
2219
+ return xe(e, void 0, void 0, function() {
2228
2220
  var O, P, W, Y, ne, de, ie, he = this;
2229
- return Pe(this, function(re) {
2221
+ return Ae(this, function(re) {
2230
2222
  switch (re.label) {
2231
2223
  case 0:
2232
- 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, [
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, [
2233
2225
  2
2234
2226
  /*return*/
2235
- ]) : W && (de = !!(Date.now() - W.createdAt >= a.dedupingInterval || d != null && d.forceRevalidate), !de) ? (b.isValidating = !1, b.isLoading = !1, [
2227
+ ]) : W && (de = !!(Date.now() - W.createdAt >= a.dedupingInterval || s != null && s.forceRevalidate), !de) ? (b.isValidating = !1, b.isLoading = !1, [
2236
2228
  2
2237
2229
  /*return*/
2238
2230
  ]) : (ie = function() {
2239
- return Ae(he, void 0, void 0, function() {
2231
+ return xe(he, void 0, void 0, function() {
2240
2232
  var oe, we, Te, Re;
2241
- return Pe(this, function(ve) {
2233
+ return Ae(this, function(ve) {
2242
2234
  switch (ve.label) {
2243
2235
  case 0:
2244
- return oe = gt.get(P), oe ? [3, 2] : (we = Array.isArray(P) ? P : [P], Te = ne.apply(void 0, rd([], id(we), !1)), gt.set(P, Te, a.dedupingInterval), [4, pn(P, Te, a.cache, w)]);
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)]);
2245
2237
  case 1:
2246
2238
  return ve.sent(), [3, 4];
2247
2239
  case 2:
@@ -2249,7 +2241,7 @@ function ld() {
2249
2241
  case 3:
2250
2242
  ve.sent(), ve.label = 4;
2251
2243
  case 4:
2252
- return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (Re = !c && a.shouldRetryOnError && (d ? d.shouldRetryOnError : !0), Re && ad(_, d ? d.errorRetryCount : 1, a)), [
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)), [
2253
2245
  2
2254
2246
  /*return*/
2255
2247
  ];
@@ -2257,8 +2249,8 @@ function ld() {
2257
2249
  });
2258
2250
  });
2259
2251
  }, Y && a.revalidateDebounce ? (setTimeout(function() {
2260
- return Ae(he, void 0, void 0, function() {
2261
- return Pe(this, function(oe) {
2252
+ return xe(he, void 0, void 0, function() {
2253
+ return Ae(this, function(oe) {
2262
2254
  switch (oe.label) {
2263
2255
  case 0:
2264
2256
  return c ? [3, 2] : [4, ie()];
@@ -2289,25 +2281,25 @@ function ld() {
2289
2281
  });
2290
2282
  });
2291
2283
  }, E = function() {
2292
- return Ae(e, void 0, void 0, function() {
2293
- return Pe(this, function(k) {
2294
- return [2, _(null, { shouldRetryOnError: !1 })];
2284
+ return xe(e, void 0, void 0, function() {
2285
+ return Ae(this, function(I) {
2286
+ return [2, m(null, { shouldRetryOnError: !1 })];
2295
2287
  });
2296
2288
  });
2297
- }, s = null;
2289
+ }, d = null;
2298
2290
  yi(function() {
2299
- var k = function() {
2300
- return Ae(e, void 0, void 0, function() {
2301
- return Pe(this, function(d) {
2302
- switch (d.label) {
2291
+ var I = function() {
2292
+ return xe(e, void 0, void 0, function() {
2293
+ return Ae(this, function(s) {
2294
+ switch (s.label) {
2303
2295
  case 0:
2304
- return !b.error && a.isOnline() ? [4, _()] : [3, 2];
2296
+ return !b.error && a.isOnline() ? [4, m()] : [3, 2];
2305
2297
  case 1:
2306
- return d.sent(), [3, 3];
2298
+ return s.sent(), [3, 3];
2307
2299
  case 2:
2308
- s && clearTimeout(s), d.label = 3;
2300
+ d && clearTimeout(d), s.label = 3;
2309
2301
  case 3:
2310
- return a.refreshInterval && !c && (s = setTimeout(k, a.refreshInterval)), [
2302
+ return a.refreshInterval && !c && (d = setTimeout(I, a.refreshInterval)), [
2311
2303
  2
2312
2304
  /*return*/
2313
2305
  ];
@@ -2315,49 +2307,49 @@ function ld() {
2315
2307
  });
2316
2308
  });
2317
2309
  };
2318
- a.refreshInterval && (s = setTimeout(k, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", E, !1), window.addEventListener("focus", E, !1));
2310
+ a.refreshInterval && (d = setTimeout(I, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", E, !1), window.addEventListener("focus", E, !1));
2319
2311
  }), vi(function() {
2320
- c = !0, s && clearTimeout(s), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", E, !1), window.removeEventListener("focus", E, !1));
2321
- var k = et.get(m.value);
2322
- k && (k.data = k.data.filter(function(d) {
2323
- return d !== b;
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;
2324
2316
  }));
2325
2317
  });
2326
2318
  try {
2327
- Ee(m, function(k) {
2328
- hi(m) || (m.value = k), b.key = k, b.isValidating = !!k, od(m.value, b, w), !y && !p && m.value && _(), p = !1;
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;
2329
2321
  }, {
2330
2322
  immediate: !0
2331
2323
  });
2332
2324
  } catch {
2333
2325
  }
2334
- var A = ce(ce({}, wi(b)), { mutate: function(k, d) {
2335
- return _(k, ce(ce({}, d), { forceRevalidate: !0 }));
2326
+ var A = ce(ce({}, wi(b)), { mutate: function(I, s) {
2327
+ return m(I, ce(ce({}, s), { forceRevalidate: !0 }));
2336
2328
  } });
2337
2329
  return A;
2338
2330
  }
2339
- function sd(e) {
2331
+ function ld(e) {
2340
2332
  return e !== null && typeof e == "object" && typeof e.then == "function";
2341
2333
  }
2342
2334
  function ci(e) {
2343
2335
  return `redis-partial-links-${e}`;
2344
2336
  }
2345
2337
  const Fe = (e) => {
2346
- const { axiosInstance: t } = kt(e.axiosRequestConfig);
2338
+ const { axiosInstance: t } = It(e.axiosRequestConfig);
2347
2339
  return {
2348
2340
  fetcher: async (n) => {
2349
2341
  const { partialId: o, size: i, offset: a, query: c } = n;
2350
- let p = `${e.apiBaseUrl}${Me.links[e.app]}`;
2351
- 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}`);
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}`);
2352
2344
  const { data: l } = await t.get(
2353
- p,
2345
+ f,
2354
2346
  { params: { size: i, offset: a } }
2355
2347
  );
2356
2348
  return l;
2357
2349
  }
2358
2350
  };
2359
2351
  }, fi = (e) => {
2360
- const { partialId: t, config: n } = e, { fetcher: o } = Fe(n), i = x([]), { data: a } = ld(
2352
+ const { partialId: t, config: n } = e, { fetcher: o } = Fe(n), i = x([]), { data: a } = ad(
2361
2353
  ci(t),
2362
2354
  () => o({ partialId: t }),
2363
2355
  {
@@ -2368,7 +2360,7 @@ const Fe = (e) => {
2368
2360
  var c;
2369
2361
  i.value = ((c = a.value) == null ? void 0 : c.data) ?? [];
2370
2362
  }), i;
2371
- }, dd = { class: "kong-ui-entities-redis-configurations-form" }, ud = /* @__PURE__ */ Q({
2363
+ }, sd = { class: "kong-ui-entities-redis-configurations-form" }, dd = /* @__PURE__ */ Q({
2372
2364
  __name: "RedisConfigurationForm",
2373
2365
  props: {
2374
2366
  config: {
@@ -2408,38 +2400,38 @@ const Fe = (e) => {
2408
2400
  setup(e, { emit: t }) {
2409
2401
  const n = e, o = t, { i18n: { t: i }, i18nT: a } = ye.useI18n(), {
2410
2402
  vaultSecretPickerSetup: c,
2411
- setUpVaultSecretPicker: p,
2403
+ setUpVaultSecretPicker: f,
2412
2404
  handleVaultSecretPickerAutofill: l
2413
- } = si(), u = Tn(), y = x("json"), w = z(() => [
2405
+ } = si(), u = Tn(), y = x("json"), w = B(() => [
2414
2406
  {
2415
2407
  label: i("form.options.type.host_port"),
2416
2408
  group: i("form.options.type.enterprise"),
2417
2409
  value: T.HOST_PORT_EE,
2418
2410
  selected: O.value === T.HOST_PORT_EE,
2419
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2411
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2420
2412
  },
2421
2413
  {
2422
2414
  label: i("form.options.type.cluster"),
2423
2415
  group: i("form.options.type.enterprise"),
2424
2416
  value: T.CLUSTER,
2425
2417
  selected: O.value === T.CLUSTER,
2426
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2418
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2427
2419
  },
2428
2420
  {
2429
2421
  label: i("form.options.type.sentinel"),
2430
2422
  group: i("form.options.type.enterprise"),
2431
2423
  value: T.SENTINEL,
2432
2424
  selected: O.value === T.SENTINEL,
2433
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2425
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2434
2426
  },
2435
2427
  {
2436
2428
  label: i("form.options.type.host_port"),
2437
2429
  group: i("form.options.type.open_source"),
2438
2430
  value: T.HOST_PORT_CE,
2439
2431
  selected: O.value === T.HOST_PORT_CE,
2440
- disabled: d && P.value || !d && n.disabledPartialType === Z.REDIS_CE
2432
+ disabled: s && P.value || !s && n.disabledPartialType === Z.REDIS_CE
2441
2433
  }
2442
- ]), m = z(() => [
2434
+ ]), p = B(() => [
2443
2435
  {
2444
2436
  label: i("form.options.auth_provider.aws"),
2445
2437
  value: q.AWS
@@ -2456,80 +2448,80 @@ const Fe = (e) => {
2456
2448
  { label: i("form.options.sentinel_role.master"), value: "master" },
2457
2449
  { label: i("form.options.sentinel_role.slave"), value: "slave" },
2458
2450
  { label: i("form.options.sentinel_role.any"), value: "any" }
2459
- ], _ = (H) => {
2460
- const v = H.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
2461
- return `${H.label}${v}`;
2462
- }, E = () => n.disabledPartialType && Xe($e) === n.disabledPartialType ? n.disabledPartialType === Z.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : $e, {
2463
- form: s,
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,
2464
2456
  canSubmit: A,
2465
- payload: k,
2466
- isEdit: d,
2457
+ payload: I,
2458
+ isEdit: s,
2467
2459
  redisType: O,
2468
2460
  redisTypeIsEnterprise: P,
2469
2461
  fetchUrl: W,
2470
2462
  submit: Y,
2471
2463
  setInitialFormValues: ne
2472
- } = As({
2464
+ } = xs({
2473
2465
  partialId: n.partialId,
2474
2466
  defaultRedisType: E(),
2475
2467
  config: n.config,
2476
2468
  cloudAuthAvailable: n.config.cloudAuthAvailable
2477
- }), { fetcher: de } = Fe(n.config), ie = x(!1), he = x(!1), re = x(0), oe = z(() => y.value === "terraform" ? {
2478
- [k.value.type.replaceAll("-", "_")]: Es(k.value, ["type"])
2479
- } : k.value), we = async () => {
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 () => {
2480
2472
  try {
2481
- if (d && !he.value) {
2473
+ if (s && !he.value) {
2482
2474
  const { count: v } = await de({ partialId: n.partialId });
2483
2475
  if (re.value = v, v > 0) {
2484
2476
  ie.value = !0;
2485
2477
  return;
2486
2478
  }
2487
2479
  }
2488
- const { data: H } = await Y();
2489
- o("update", H);
2490
- } catch (H) {
2491
- o("error", H);
2480
+ const { data: K } = await Y();
2481
+ o("update", K);
2482
+ } catch (K) {
2483
+ o("error", K);
2492
2484
  }
2493
2485
  }, Te = () => {
2494
2486
  ie.value = !1, he.value = !0, we();
2495
2487
  }, Re = () => {
2496
2488
  n.config.cancelRoute && u.push(n.config.cancelRoute), o("cancel");
2497
- }, ve = (H) => {
2498
- o("loading", H);
2499
- }, at = (H) => {
2500
- o("error", H);
2501
- }, ze = (H) => {
2502
- ne(H);
2489
+ }, ve = (K) => {
2490
+ o("loading", K);
2491
+ }, at = (K) => {
2492
+ o("error", K);
2493
+ }, ze = (K) => {
2494
+ ne(K);
2503
2495
  };
2504
2496
  return _n(async () => {
2505
- if (d) {
2506
- const { count: H } = await de({ partialId: n.partialId });
2507
- re.value = H;
2497
+ if (s) {
2498
+ const { count: K } = await de({ partialId: n.partialId });
2499
+ re.value = K;
2508
2500
  }
2509
- }), (H, v) => {
2501
+ }), (K, v) => {
2510
2502
  const lt = $("KAlert"), Se = $("KSelect"), N = $("KInput"), C = $("KCheckbox"), R = $("KModal");
2511
- return I(), J(fe, null, [
2512
- K("div", dd, [
2513
- g(r(Ii), {
2503
+ return k(), J(fe, null, [
2504
+ z("div", sd, [
2505
+ g(r(ki), {
2514
2506
  "action-teleport-target": e.actionTeleportTarget,
2515
2507
  "can-submit": r(A),
2516
2508
  config: e.config,
2517
2509
  "edit-id": e.partialId,
2518
2510
  "entity-type": r(vn).Partial,
2519
- "error-message": r(s).errorMessage,
2511
+ "error-message": r(d).errorMessage,
2520
2512
  "fetch-url": r(W),
2521
2513
  "form-fields": oe.value,
2522
- "is-readonly": r(s).readonly,
2514
+ "is-readonly": r(d).readonly,
2523
2515
  "slidout-top-offset": e.slidoutTopOffset,
2524
2516
  onCancel: Re,
2525
- onCodeBlockTabChange: v[32] || (v[32] = (f) => y.value = f),
2517
+ onCodeBlockTabChange: v[31] || (v[31] = (_) => y.value = _),
2526
2518
  "onFetch:error": at,
2527
2519
  "onFetch:success": ze,
2528
2520
  onLoading: ve,
2529
2521
  onSubmit: we
2530
2522
  }, {
2531
2523
  default: S(() => [
2532
- re.value > 0 && r(d) ? (I(), F(lt, {
2524
+ re.value > 0 && r(s) ? (k(), F(lt, {
2533
2525
  key: 0,
2534
2526
  appearance: "warning",
2535
2527
  class: "warning-alert",
@@ -2541,7 +2533,7 @@ const Fe = (e) => {
2541
2533
  tag: "div"
2542
2534
  }, {
2543
2535
  pluginCount: S(() => [
2544
- K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2536
+ z("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2545
2537
  ]),
2546
2538
  _: 1
2547
2539
  })
@@ -2556,17 +2548,17 @@ const Fe = (e) => {
2556
2548
  default: S(() => [
2557
2549
  g(Se, {
2558
2550
  modelValue: r(O),
2559
- "onUpdate:modelValue": v[0] || (v[0] = (f) => Ti(O) ? O.value = f : null),
2551
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => Ti(O) ? O.value = _ : null),
2560
2552
  "data-testid": "redis-type-select",
2561
- disabled: r(d) && r(O) === r(T).HOST_PORT_CE,
2553
+ disabled: r(s) && r(O) === r(T).HOST_PORT_CE,
2562
2554
  items: w.value,
2563
2555
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
2564
2556
  label: r(i)("form.fields.type.label"),
2565
- readonly: r(s).readonly,
2557
+ readonly: r(d).readonly,
2566
2558
  required: ""
2567
2559
  }, {
2568
- "selected-item-template": S(({ item: f }) => [
2569
- le(U(_(f)), 1)
2560
+ "selected-item-template": S(({ item: _ }) => [
2561
+ le(U(m(_)), 1)
2570
2562
  ]),
2571
2563
  _: 1
2572
2564
  }, 8, ["modelValue", "disabled", "items", "label", "readonly"])
@@ -2580,19 +2572,19 @@ const Fe = (e) => {
2580
2572
  }, {
2581
2573
  default: S(() => [
2582
2574
  g(N, {
2583
- modelValue: r(s).fields.name,
2584
- "onUpdate:modelValue": v[1] || (v[1] = (f) => r(s).fields.name = f),
2575
+ modelValue: r(d).fields.name,
2576
+ "onUpdate:modelValue": v[1] || (v[1] = (_) => r(d).fields.name = _),
2585
2577
  modelModifiers: { trim: !0 },
2586
2578
  "data-testid": "redis-name-input",
2587
- disabled: r(d),
2579
+ disabled: r(s),
2588
2580
  label: r(i)("form.fields.name.label"),
2589
2581
  placeholder: r(i)("form.fields.name.placeholder"),
2590
- readonly: r(s).readonly,
2582
+ readonly: r(d).readonly,
2591
2583
  required: ""
2592
2584
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
2593
2585
  g(N, {
2594
- modelValue: r(s).fields.tags,
2595
- "onUpdate:modelValue": v[2] || (v[2] = (f) => r(s).fields.tags = f),
2586
+ modelValue: r(d).fields.tags,
2587
+ "onUpdate:modelValue": v[2] || (v[2] = (_) => r(d).fields.tags = _),
2596
2588
  modelModifiers: { trim: !0 },
2597
2589
  "data-testid": "redis-tags-input",
2598
2590
  help: r(i)("form.fields.tags.help"),
@@ -2602,12 +2594,12 @@ const Fe = (e) => {
2602
2594
  tooltipAttributes: { maxWidth: "400" }
2603
2595
  },
2604
2596
  placeholder: r(i)("form.fields.tags.placeholder"),
2605
- readonly: r(s).readonly
2597
+ readonly: r(d).readonly
2606
2598
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
2607
2599
  ]),
2608
2600
  _: 1
2609
2601
  }, 8, ["description", "title"]),
2610
- e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (I(), F(r(ue), {
2602
+ e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (k(), F(r(ue), {
2611
2603
  key: 1,
2612
2604
  "data-testid": "redis-cloud-auth-section",
2613
2605
  description: r(i)("form.sections.cloud_auth.description"),
@@ -2615,26 +2607,26 @@ const Fe = (e) => {
2615
2607
  }, {
2616
2608
  default: S(() => [
2617
2609
  g(Se, {
2618
- modelValue: r(s).fields.config.cloud_authentication.auth_provider,
2619
- "onUpdate:modelValue": v[3] || (v[3] = (f) => r(s).fields.config.cloud_authentication.auth_provider = f),
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 = _),
2620
2612
  clearable: "",
2621
2613
  "data-testid": "redis-auth-provider-select",
2622
- items: m.value,
2614
+ items: p.value,
2623
2615
  "kpop-attributes": { "data-testid": "redis-auth-provider-select-popover" },
2624
2616
  label: r(i)("form.fields.cloud_authentication.auth_provider.label"),
2625
2617
  "label-attributes": { info: r(i)("form.fields.cloud_authentication.auth_provider.tooltip") },
2626
- readonly: r(s).readonly
2618
+ readonly: r(d).readonly
2627
2619
  }, null, 8, ["modelValue", "items", "label", "label-attributes", "readonly"]),
2628
- g(Qs, {
2629
- modelValue: r(s).fields.config.cloud_authentication,
2630
- "onUpdate:modelValue": v[4] || (v[4] = (f) => r(s).fields.config.cloud_authentication = f),
2620
+ g(Zs, {
2621
+ modelValue: r(d).fields.config.cloud_authentication,
2622
+ "onUpdate:modelValue": v[4] || (v[4] = (_) => r(d).fields.config.cloud_authentication = _),
2631
2623
  config: n.config,
2632
- readonly: r(s).readonly
2624
+ readonly: r(d).readonly
2633
2625
  }, null, 8, ["modelValue", "config", "readonly"])
2634
2626
  ]),
2635
2627
  _: 1
2636
2628
  }, 8, ["description", "title"])) : X("", !0),
2637
- r(O) === r(T).SENTINEL ? (I(), F(r(ue), {
2629
+ r(O) === r(T).SENTINEL ? (k(), F(r(ue), {
2638
2630
  key: 2,
2639
2631
  "data-testid": "redis-sentinel-configuration-section",
2640
2632
  description: r(i)("form.sections.sentinel_configuration.description"),
@@ -2642,20 +2634,20 @@ const Fe = (e) => {
2642
2634
  }, {
2643
2635
  default: S(() => [
2644
2636
  g(N, {
2645
- modelValue: r(s).fields.config.sentinel_master,
2646
- "onUpdate:modelValue": v[5] || (v[5] = (f) => r(s).fields.config.sentinel_master = f),
2637
+ modelValue: r(d).fields.config.sentinel_master,
2638
+ "onUpdate:modelValue": v[5] || (v[5] = (_) => r(d).fields.config.sentinel_master = _),
2647
2639
  "data-testid": "redis-sentinel-master-input",
2648
2640
  label: r(i)("form.fields.sentinel_master.label"),
2649
2641
  "label-attributes": {
2650
2642
  info: r(i)("form.fields.sentinel_master.tooltip"),
2651
2643
  tooltipAttributes: { maxWidth: "400" }
2652
2644
  },
2653
- readonly: r(s).readonly,
2645
+ readonly: r(d).readonly,
2654
2646
  required: ""
2655
2647
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2656
2648
  g(Se, {
2657
- modelValue: r(s).fields.config.sentinel_role,
2658
- "onUpdate:modelValue": v[6] || (v[6] = (f) => r(s).fields.config.sentinel_role = f),
2649
+ modelValue: r(d).fields.config.sentinel_role,
2650
+ "onUpdate:modelValue": v[6] || (v[6] = (_) => r(d).fields.config.sentinel_role = _),
2659
2651
  "data-testid": "redis-sentinel-role-select",
2660
2652
  items: b,
2661
2653
  "kpop-attributes": { "data-testid": "redis-sentinel-role-select-popover" },
@@ -2664,77 +2656,77 @@ const Fe = (e) => {
2664
2656
  info: r(i)("form.fields.sentinel_role.tooltip"),
2665
2657
  tooltipAttributes: { maxWidth: "400" }
2666
2658
  },
2667
- readonly: r(s).readonly,
2659
+ readonly: r(d).readonly,
2668
2660
  required: ""
2669
2661
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2670
- g(Js, {
2671
- modelValue: r(s).fields.config.sentinel_nodes,
2672
- "onUpdate:modelValue": v[7] || (v[7] = (f) => r(s).fields.config.sentinel_nodes = f),
2673
- readonly: r(s).readonly
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
2674
2666
  }, null, 8, ["modelValue", "readonly"]),
2675
2667
  g(N, {
2676
- modelValue: r(s).fields.config.sentinel_username,
2677
- "onUpdate:modelValue": v[8] || (v[8] = (f) => r(s).fields.config.sentinel_username = f),
2668
+ modelValue: r(d).fields.config.sentinel_username,
2669
+ "onUpdate:modelValue": v[8] || (v[8] = (_) => r(d).fields.config.sentinel_username = _),
2678
2670
  modelModifiers: { trim: !0 },
2679
2671
  label: r(i)("form.fields.sentinel_username.label"),
2680
2672
  "label-attributes": {
2681
2673
  info: r(i)("form.fields.sentinel_username.tooltip"),
2682
2674
  tooltipAttributes: { maxWidth: "400" }
2683
2675
  },
2684
- readonly: r(s).readonly
2676
+ readonly: r(d).readonly
2685
2677
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2686
- g(r(xe), {
2678
+ g(r(De), {
2687
2679
  class: "secret-picker-provider",
2688
- disabled: r(s).readonly,
2689
- update: (f) => r(s).fields.config.sentinel_username = f,
2690
- value: r(s).fields.config.sentinel_username,
2691
- onOpen: v[9] || (v[9] = (f, B) => r(p)(f, B))
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))
2692
2684
  }, null, 8, ["disabled", "update", "value"]),
2693
2685
  g(N, {
2694
- modelValue: r(s).fields.config.sentinel_password,
2695
- "onUpdate:modelValue": v[10] || (v[10] = (f) => r(s).fields.config.sentinel_password = f),
2686
+ modelValue: r(d).fields.config.sentinel_password,
2687
+ "onUpdate:modelValue": v[10] || (v[10] = (_) => r(d).fields.config.sentinel_password = _),
2696
2688
  modelModifiers: { trim: !0 },
2697
2689
  label: r(i)("form.fields.sentinel_password.label"),
2698
2690
  "label-attributes": {
2699
2691
  info: r(i)("form.fields.sentinel_password.tooltip"),
2700
2692
  tooltipAttributes: { maxWidth: "400" }
2701
2693
  },
2702
- readonly: r(s).readonly,
2694
+ readonly: r(d).readonly,
2703
2695
  "show-password-mask-toggle": "",
2704
2696
  type: "password"
2705
2697
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2706
- g(r(xe), {
2698
+ g(r(De), {
2707
2699
  class: "secret-picker-provider",
2708
- disabled: r(s).readonly,
2709
- update: (f) => r(s).fields.config.sentinel_password = f,
2710
- value: r(s).fields.config.sentinel_password,
2711
- onOpen: v[11] || (v[11] = (f, B) => r(p)(f, B))
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))
2712
2704
  }, null, 8, ["disabled", "update", "value"])
2713
2705
  ]),
2714
2706
  _: 1
2715
2707
  }, 8, ["description", "title"])) : X("", !0),
2716
- r(O) === r(T).CLUSTER ? (I(), F(r(ue), {
2708
+ r(O) === r(T).CLUSTER ? (k(), F(r(ue), {
2717
2709
  key: 3,
2718
2710
  "data-testid": "redis-cluster-configuration-section",
2719
2711
  description: r(i)("form.sections.cluster.description"),
2720
2712
  title: r(i)("form.sections.cluster.title")
2721
2713
  }, {
2722
2714
  default: S(() => [
2723
- g(Ws, {
2724
- modelValue: r(s).fields.config.cluster_nodes,
2725
- "onUpdate:modelValue": v[12] || (v[12] = (f) => r(s).fields.config.cluster_nodes = f),
2726
- readonly: r(s).readonly
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
2727
2719
  }, null, 8, ["modelValue", "readonly"]),
2728
2720
  g(N, {
2729
- modelValue: r(s).fields.config.cluster_max_redirections,
2730
- "onUpdate:modelValue": v[13] || (v[13] = (f) => r(s).fields.config.cluster_max_redirections = f),
2721
+ modelValue: r(d).fields.config.cluster_max_redirections,
2722
+ "onUpdate:modelValue": v[13] || (v[13] = (_) => r(d).fields.config.cluster_max_redirections = _),
2731
2723
  "data-testid": "redis-cluster-max-redirections-input",
2732
2724
  label: r(i)("form.fields.cluster_max_redirections.label"),
2733
2725
  "label-attributes": {
2734
2726
  info: r(i)("form.fields.cluster_max_redirections.tooltip"),
2735
2727
  tooltipAttributes: { maxWidth: "400" }
2736
2728
  },
2737
- readonly: r(s).readonly,
2729
+ readonly: r(d).readonly,
2738
2730
  type: "number"
2739
2731
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2740
2732
  ]),
@@ -2746,10 +2738,10 @@ const Fe = (e) => {
2746
2738
  title: r(i)("form.sections.connection.title")
2747
2739
  }, {
2748
2740
  default: S(() => [
2749
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2741
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2750
2742
  key: 0,
2751
- modelValue: r(s).fields.config.host,
2752
- "onUpdate:modelValue": v[14] || (v[14] = (f) => r(s).fields.config.host = f),
2743
+ modelValue: r(d).fields.config.host,
2744
+ "onUpdate:modelValue": v[14] || (v[14] = (_) => r(d).fields.config.host = _),
2753
2745
  modelModifiers: { trim: !0 },
2754
2746
  "data-testid": "redis-host-input",
2755
2747
  label: r(i)("form.fields.host.label"),
@@ -2757,12 +2749,12 @@ const Fe = (e) => {
2757
2749
  info: r(i)("form.fields.host.tooltip"),
2758
2750
  tooltipAttributes: { maxWidth: "400" }
2759
2751
  },
2760
- readonly: r(s).readonly
2752
+ readonly: r(d).readonly
2761
2753
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2762
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2754
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2763
2755
  key: 1,
2764
- modelValue: r(s).fields.config.port,
2765
- "onUpdate:modelValue": v[15] || (v[15] = (f) => r(s).fields.config.port = f),
2756
+ modelValue: r(d).fields.config.port,
2757
+ "onUpdate:modelValue": v[15] || (v[15] = (_) => r(d).fields.config.port = _),
2766
2758
  modelModifiers: { trim: !0 },
2767
2759
  "data-testid": "redis-port-input",
2768
2760
  label: r(i)("form.fields.port.label"),
@@ -2770,32 +2762,25 @@ const Fe = (e) => {
2770
2762
  info: r(i)("form.fields.port.tooltip"),
2771
2763
  tooltipAttributes: { maxWidth: "400" }
2772
2764
  },
2773
- readonly: r(s).readonly
2765
+ readonly: r(d).readonly,
2766
+ type: "number"
2774
2767
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2775
- r(O) === r(T).HOST_PORT_EE && e.config.isPortReferenceable ? (I(), F(r(xe), {
2768
+ r(O) === r(T).HOST_PORT_EE ? (k(), F(C, {
2776
2769
  key: 2,
2777
- class: "secret-picker-provider",
2778
- disabled: r(s).readonly,
2779
- update: (f) => r(s).fields.config.port = f,
2780
- value: String(r(s).fields.config.port ?? ""),
2781
- onOpen: v[16] || (v[16] = (f, B) => r(p)(f, B))
2782
- }, null, 8, ["disabled", "update", "value"])) : X("", !0),
2783
- r(O) === r(T).HOST_PORT_EE ? (I(), F(C, {
2784
- key: 3,
2785
- modelValue: r(s).fields.config.connection_is_proxied,
2786
- "onUpdate:modelValue": v[17] || (v[17] = (f) => r(s).fields.config.connection_is_proxied = f),
2770
+ modelValue: r(d).fields.config.connection_is_proxied,
2771
+ "onUpdate:modelValue": v[16] || (v[16] = (_) => r(d).fields.config.connection_is_proxied = _),
2787
2772
  "data-testid": "redis-connection-is-proxied-checkbox",
2788
- disabled: r(s).readonly,
2773
+ disabled: r(d).readonly,
2789
2774
  label: r(i)("form.fields.connection_is_proxied.label"),
2790
2775
  "label-attributes": {
2791
2776
  info: r(i)("form.fields.connection_is_proxied.tooltip"),
2792
2777
  tooltipAttributes: { maxWidth: "400" }
2793
2778
  }
2794
2779
  }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2795
- r(O) === r(T).HOST_PORT_CE ? (I(), F(N, {
2796
- key: 4,
2797
- modelValue: r(s).fields.config.timeout,
2798
- "onUpdate:modelValue": v[18] || (v[18] = (f) => r(s).fields.config.timeout = f),
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 = _),
2799
2784
  modelModifiers: { trim: !0 },
2800
2785
  "data-testid": "redis-timeout-input",
2801
2786
  label: r(i)("form.fields.timeout.label"),
@@ -2803,12 +2788,12 @@ const Fe = (e) => {
2803
2788
  info: r(i)("form.fields.timeout.tooltip"),
2804
2789
  tooltipAttributes: { maxWidth: "400" }
2805
2790
  },
2806
- readonly: r(s).readonly,
2791
+ readonly: r(d).readonly,
2807
2792
  type: "number"
2808
2793
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2809
2794
  g(N, {
2810
- modelValue: r(s).fields.config.database,
2811
- "onUpdate:modelValue": v[19] || (v[19] = (f) => r(s).fields.config.database = f),
2795
+ modelValue: r(d).fields.config.database,
2796
+ "onUpdate:modelValue": v[18] || (v[18] = (_) => r(d).fields.config.database = _),
2812
2797
  modelModifiers: { trim: !0 },
2813
2798
  "data-testid": "redis-database-input",
2814
2799
  label: r(i)("form.fields.database.label"),
@@ -2816,12 +2801,12 @@ const Fe = (e) => {
2816
2801
  info: r(i)("form.fields.database.tooltip"),
2817
2802
  tooltipAttributes: { maxWidth: "400" }
2818
2803
  },
2819
- readonly: r(s).readonly,
2804
+ readonly: r(d).readonly,
2820
2805
  type: "number"
2821
2806
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2822
2807
  g(N, {
2823
- modelValue: r(s).fields.config.username,
2824
- "onUpdate:modelValue": v[20] || (v[20] = (f) => r(s).fields.config.username = f),
2808
+ modelValue: r(d).fields.config.username,
2809
+ "onUpdate:modelValue": v[19] || (v[19] = (_) => r(d).fields.config.username = _),
2825
2810
  modelModifiers: { trim: !0 },
2826
2811
  "data-testid": "redis-username-input",
2827
2812
  label: r(i)("form.fields.username.label"),
@@ -2829,18 +2814,18 @@ const Fe = (e) => {
2829
2814
  info: r(i)("form.fields.username.tooltip"),
2830
2815
  tooltipAttributes: { maxWidth: "400" }
2831
2816
  },
2832
- readonly: r(s).readonly
2817
+ readonly: r(d).readonly
2833
2818
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2834
- g(r(xe), {
2819
+ g(r(De), {
2835
2820
  class: "secret-picker-provider",
2836
- disabled: r(s).readonly,
2837
- update: (f) => r(s).fields.config.username = f,
2838
- value: r(s).fields.config.username,
2839
- onOpen: v[21] || (v[21] = (f, B) => r(p)(f, B))
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))
2840
2825
  }, null, 8, ["disabled", "update", "value"]),
2841
2826
  g(N, {
2842
- modelValue: r(s).fields.config.password,
2843
- "onUpdate:modelValue": v[22] || (v[22] = (f) => r(s).fields.config.password = f),
2827
+ modelValue: r(d).fields.config.password,
2828
+ "onUpdate:modelValue": v[21] || (v[21] = (_) => r(d).fields.config.password = _),
2844
2829
  modelModifiers: { trim: !0 },
2845
2830
  "data-testid": "redis-password-input",
2846
2831
  label: r(i)("form.fields.password.label"),
@@ -2848,16 +2833,16 @@ const Fe = (e) => {
2848
2833
  info: r(i)("form.fields.password.tooltip"),
2849
2834
  tooltipAttributes: { maxWidth: "400" }
2850
2835
  },
2851
- readonly: r(s).readonly,
2836
+ readonly: r(d).readonly,
2852
2837
  "show-password-mask-toggle": "",
2853
2838
  type: "password"
2854
2839
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2855
- g(r(xe), {
2840
+ g(r(De), {
2856
2841
  class: "secret-picker-provider",
2857
- disabled: r(s).readonly,
2858
- update: (f) => r(s).fields.config.password = f,
2859
- value: r(s).fields.config.password,
2860
- onOpen: v[23] || (v[23] = (f, B) => r(p)(f, B))
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))
2861
2846
  }, null, 8, ["disabled", "update", "value"])
2862
2847
  ]),
2863
2848
  _: 1
@@ -2869,11 +2854,11 @@ const Fe = (e) => {
2869
2854
  }, {
2870
2855
  default: S(() => [
2871
2856
  g(C, {
2872
- modelValue: r(s).fields.config.ssl,
2873
- "onUpdate:modelValue": v[24] || (v[24] = (f) => r(s).fields.config.ssl = f),
2857
+ modelValue: r(d).fields.config.ssl,
2858
+ "onUpdate:modelValue": v[23] || (v[23] = (_) => r(d).fields.config.ssl = _),
2874
2859
  "data-testid": "redis-ssl-checkbox",
2875
2860
  description: r(i)("form.fields.ssl.description"),
2876
- disabled: r(s).readonly,
2861
+ disabled: r(d).readonly,
2877
2862
  label: r(i)("form.fields.ssl.label"),
2878
2863
  "label-attributes": {
2879
2864
  info: r(i)("form.fields.ssl.tooltip"),
@@ -2881,11 +2866,11 @@ const Fe = (e) => {
2881
2866
  }
2882
2867
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2883
2868
  g(C, {
2884
- modelValue: r(s).fields.config.ssl_verify,
2885
- "onUpdate:modelValue": v[25] || (v[25] = (f) => r(s).fields.config.ssl_verify = f),
2869
+ modelValue: r(d).fields.config.ssl_verify,
2870
+ "onUpdate:modelValue": v[24] || (v[24] = (_) => r(d).fields.config.ssl_verify = _),
2886
2871
  "data-testid": "redis-ssl-verify-checkbox",
2887
2872
  description: r(i)("form.fields.ssl_verify.description"),
2888
- disabled: r(s).readonly,
2873
+ disabled: r(d).readonly,
2889
2874
  label: r(i)("form.fields.ssl_verify.label"),
2890
2875
  "label-attributes": {
2891
2876
  info: r(i)("form.fields.ssl_verify.tooltip"),
@@ -2893,20 +2878,20 @@ const Fe = (e) => {
2893
2878
  }
2894
2879
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2895
2880
  g(N, {
2896
- modelValue: r(s).fields.config.server_name,
2897
- "onUpdate:modelValue": v[26] || (v[26] = (f) => r(s).fields.config.server_name = f),
2881
+ modelValue: r(d).fields.config.server_name,
2882
+ "onUpdate:modelValue": v[25] || (v[25] = (_) => r(d).fields.config.server_name = _),
2898
2883
  modelModifiers: { trim: !0 },
2899
2884
  label: r(i)("form.fields.server_name.label"),
2900
2885
  "label-attributes": {
2901
2886
  info: r(i)("form.fields.server_name.tooltip"),
2902
2887
  tooltipAttributes: { maxWidth: "400" }
2903
2888
  },
2904
- readonly: r(s).readonly
2889
+ readonly: r(d).readonly
2905
2890
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2906
2891
  ]),
2907
2892
  _: 1
2908
2893
  }, 8, ["description", "title"]),
2909
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2894
+ r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2910
2895
  key: 4,
2911
2896
  "data-testid": "redis-keepalive-section",
2912
2897
  description: r(i)("form.sections.keepalive.description"),
@@ -2914,33 +2899,33 @@ const Fe = (e) => {
2914
2899
  }, {
2915
2900
  default: S(() => [
2916
2901
  g(N, {
2917
- modelValue: r(s).fields.config.keepalive_backlog,
2918
- "onUpdate:modelValue": v[27] || (v[27] = (f) => r(s).fields.config.keepalive_backlog = f),
2902
+ modelValue: r(d).fields.config.keepalive_backlog,
2903
+ "onUpdate:modelValue": v[26] || (v[26] = (_) => r(d).fields.config.keepalive_backlog = _),
2919
2904
  "data-testid": "redis-keepalive-backlog-input",
2920
2905
  label: r(i)("form.fields.keepalive_backlog.label"),
2921
2906
  "label-attributes": {
2922
2907
  info: r(i)("form.fields.keepalive_backlog.tooltip"),
2923
2908
  tooltipAttributes: { maxWidth: "400" }
2924
2909
  },
2925
- readonly: r(s).readonly,
2910
+ readonly: r(d).readonly,
2926
2911
  type: "number"
2927
2912
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2928
2913
  g(N, {
2929
- modelValue: r(s).fields.config.keepalive_pool_size,
2930
- "onUpdate:modelValue": v[28] || (v[28] = (f) => r(s).fields.config.keepalive_pool_size = f),
2914
+ modelValue: r(d).fields.config.keepalive_pool_size,
2915
+ "onUpdate:modelValue": v[27] || (v[27] = (_) => r(d).fields.config.keepalive_pool_size = _),
2931
2916
  "data-testid": "redis-keepalive-pool-size-input",
2932
2917
  label: r(i)("form.fields.keepalive_pool_size.label"),
2933
2918
  "label-attributes": {
2934
2919
  info: r(i)("form.fields.keepalive_pool_size.tooltip"),
2935
2920
  tooltipAttributes: { maxWidth: "400" }
2936
2921
  },
2937
- readonly: r(s).readonly,
2922
+ readonly: r(d).readonly,
2938
2923
  type: "number"
2939
2924
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2940
2925
  ]),
2941
2926
  _: 1
2942
2927
  }, 8, ["description", "title"])) : X("", !0),
2943
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2928
+ r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2944
2929
  key: 5,
2945
2930
  "data-testid": "redis-read-write-configuration-section",
2946
2931
  description: r(i)("form.sections.read_write_configuration.description"),
@@ -2948,39 +2933,39 @@ const Fe = (e) => {
2948
2933
  }, {
2949
2934
  default: S(() => [
2950
2935
  g(N, {
2951
- modelValue: r(s).fields.config.read_timeout,
2952
- "onUpdate:modelValue": v[29] || (v[29] = (f) => r(s).fields.config.read_timeout = f),
2936
+ modelValue: r(d).fields.config.read_timeout,
2937
+ "onUpdate:modelValue": v[28] || (v[28] = (_) => r(d).fields.config.read_timeout = _),
2953
2938
  "data-testid": "redis-read-timeout-input",
2954
2939
  label: r(i)("form.fields.read_timeout.label"),
2955
2940
  "label-attributes": {
2956
2941
  info: r(i)("form.fields.read_timeout.tooltip"),
2957
2942
  tooltipAttributes: { maxWidth: "400" }
2958
2943
  },
2959
- readonly: r(s).readonly,
2944
+ readonly: r(d).readonly,
2960
2945
  type: "number"
2961
2946
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2962
2947
  g(N, {
2963
- modelValue: r(s).fields.config.send_timeout,
2964
- "onUpdate:modelValue": v[30] || (v[30] = (f) => r(s).fields.config.send_timeout = f),
2948
+ modelValue: r(d).fields.config.send_timeout,
2949
+ "onUpdate:modelValue": v[29] || (v[29] = (_) => r(d).fields.config.send_timeout = _),
2965
2950
  "data-testid": "redis-send-timeout-input",
2966
2951
  label: r(i)("form.fields.send_timeout.label"),
2967
2952
  "label-attributes": {
2968
2953
  info: r(i)("form.fields.send_timeout.tooltip"),
2969
2954
  tooltipAttributes: { maxWidth: "400" }
2970
2955
  },
2971
- readonly: r(s).readonly,
2956
+ readonly: r(d).readonly,
2972
2957
  type: "number"
2973
2958
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2974
2959
  g(N, {
2975
- modelValue: r(s).fields.config.connect_timeout,
2976
- "onUpdate:modelValue": v[31] || (v[31] = (f) => r(s).fields.config.connect_timeout = f),
2960
+ modelValue: r(d).fields.config.connect_timeout,
2961
+ "onUpdate:modelValue": v[30] || (v[30] = (_) => r(d).fields.config.connect_timeout = _),
2977
2962
  "data-testid": "redis-connect-timeout-input",
2978
2963
  label: r(i)("form.fields.connect_timeout.label"),
2979
2964
  "label-attributes": {
2980
2965
  info: r(i)("form.fields.connect_timeout.tooltip"),
2981
2966
  tooltipAttributes: { maxWidth: "400" }
2982
2967
  },
2983
- readonly: r(s).readonly,
2968
+ readonly: r(d).readonly,
2984
2969
  type: "number"
2985
2970
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2986
2971
  ]),
@@ -2993,7 +2978,7 @@ const Fe = (e) => {
2993
2978
  g(r(wn), {
2994
2979
  config: n.config,
2995
2980
  setup: r(c),
2996
- onCancel: v[33] || (v[33] = () => c.value = !1),
2981
+ onCancel: v[32] || (v[32] = () => c.value = !1),
2997
2982
  onProceed: r(l)
2998
2983
  }, null, 8, ["config", "setup", "onProceed"]),
2999
2984
  g(R, {
@@ -3003,7 +2988,7 @@ const Fe = (e) => {
3003
2988
  "max-width": "640",
3004
2989
  title: r(i)("form.edit_warning_modal.title"),
3005
2990
  visible: ie.value,
3006
- onCancel: v[34] || (v[34] = (f) => ie.value = !1),
2991
+ onCancel: v[33] || (v[33] = (_) => ie.value = !1),
3007
2992
  onProceed: Te
3008
2993
  }, {
3009
2994
  default: S(() => [
@@ -3012,7 +2997,7 @@ const Fe = (e) => {
3012
2997
  tag: "div"
3013
2998
  }, {
3014
2999
  pluginCount: S(() => [
3015
- K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3000
+ z("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3016
3001
  ]),
3017
3002
  _: 1
3018
3003
  })
@@ -3022,10 +3007,10 @@ const Fe = (e) => {
3022
3007
  ], 64);
3023
3008
  };
3024
3009
  }
3025
- }), cd = /* @__PURE__ */ te(ud, [["__scopeId", "data-v-8eb0e48b"]]), fd = {
3010
+ }), ud = /* @__PURE__ */ te(dd, [["__scopeId", "data-v-cdc92d39"]]), cd = {
3026
3011
  class: "linked-plugins",
3027
3012
  "data-testid": "linked-plugins-inline"
3028
- }, bt = 7, pd = /* @__PURE__ */ Q({
3013
+ }, bt = 7, fd = /* @__PURE__ */ Q({
3029
3014
  __name: "LinkedPluginsInline",
3030
3015
  props: {
3031
3016
  config: {
@@ -3045,13 +3030,13 @@ const Fe = (e) => {
3045
3030
  });
3046
3031
  return (o, i) => {
3047
3032
  const a = $("KBadge");
3048
- return I(), J("div", fd, [
3049
- (I(!0), J(fe, null, tt(r(n).slice(0, bt), (c) => (I(), F(r(En), {
3033
+ return k(), J("div", cd, [
3034
+ (k(!0), J(fe, null, tt(r(n).slice(0, bt), (c) => (k(), F(r(En), {
3050
3035
  key: c.id,
3051
3036
  name: c.name,
3052
3037
  size: 24
3053
3038
  }, null, 8, ["name"]))), 128)),
3054
- r(n).length - bt > 0 ? (I(), F(a, {
3039
+ r(n).length - bt > 0 ? (k(), F(a, {
3055
3040
  key: 0,
3056
3041
  appearance: "info"
3057
3042
  }, {
@@ -3063,21 +3048,21 @@ const Fe = (e) => {
3063
3048
  ]);
3064
3049
  };
3065
3050
  }
3066
- }), md = /* @__PURE__ */ te(pd, [["__scopeId", "data-v-c39556bc"]]), _d = { class: "plugin-item" }, gd = /* @__PURE__ */ Q({
3051
+ }), pd = /* @__PURE__ */ te(fd, [["__scopeId", "data-v-c39556bc"]]), md = { class: "plugin-item" }, _d = /* @__PURE__ */ Q({
3067
3052
  __name: "PluginItem",
3068
3053
  props: {
3069
3054
  pluginName: {}
3070
3055
  },
3071
3056
  setup(e) {
3072
- return (t, n) => (I(), J("div", _d, [
3057
+ return (t, n) => (k(), J("div", md, [
3073
3058
  g(r(En), {
3074
3059
  name: e.pluginName,
3075
3060
  size: 24
3076
3061
  }, null, 8, ["name"]),
3077
- K("span", null, U(e.pluginName), 1)
3062
+ z("span", null, U(e.pluginName), 1)
3078
3063
  ]));
3079
3064
  }
3080
- }), bd = /* @__PURE__ */ te(gd, [["__scopeId", "data-v-de964dc4"]]), yd = { class: "toolbar-container" }, vd = /* @__PURE__ */ Q({
3065
+ }), gd = /* @__PURE__ */ te(_d, [["__scopeId", "data-v-de964dc4"]]), bd = { class: "toolbar-container" }, yd = /* @__PURE__ */ Q({
3081
3066
  __name: "LinkedPluginList",
3082
3067
  props: {
3083
3068
  config: {
@@ -3107,44 +3092,44 @@ const Fe = (e) => {
3107
3092
  { key: "name", label: i("linked_plugins_modal.headers.plugin") },
3108
3093
  { key: "instance_name", label: i("linked_plugins_modal.headers.instance_name") },
3109
3094
  { key: "actions", hideLabel: !0 }
3110
- ], { fetcher: c } = Fe(n.config), p = x(0), l = async (m) => {
3111
- const { data: b, count: _ } = await c({
3095
+ ], { fetcher: c } = Fe(n.config), f = x(0), l = async (p) => {
3096
+ const { data: b, count: m } = await c({
3112
3097
  partialId: n.partialId,
3113
- size: m.pageSize,
3114
- offset: m.offset,
3115
- query: m.query
3098
+ size: p.pageSize,
3099
+ offset: p.offset,
3100
+ query: p.query
3116
3101
  });
3117
- p.value = _;
3102
+ f.value = m;
3118
3103
  const E = {
3119
- total: _,
3104
+ total: m,
3120
3105
  data: b
3121
3106
  };
3122
3107
  return o("load", E), E;
3123
- }, u = x(""), y = z(() => n.config.app === "konnect" || n.isExactMatch ? {
3108
+ }, u = x(""), y = B(() => n.config.app === "konnect" || n.isExactMatch ? {
3124
3109
  isExactMatch: !0
3125
3110
  } : {
3126
3111
  isExactMatch: !1,
3127
3112
  fields: { name: { searchable: !0 } },
3128
3113
  schema: { name: { type: "text" } }
3129
- }), w = (m) => {
3130
- o("view-plugin", { id: m.id, plugin: m.name });
3114
+ }), w = (p) => {
3115
+ o("view-plugin", { id: p.id, plugin: p.name });
3131
3116
  };
3132
- return (m, b) => {
3133
- const _ = $("KDropdownItem"), E = $("KTableData");
3134
- return I(), F(E, {
3117
+ return (p, b) => {
3118
+ const m = $("KDropdownItem"), E = $("KTableData");
3119
+ return k(), F(E, {
3135
3120
  "cache-identifier": r(ci)(e.partialId),
3136
3121
  fetcher: l,
3137
3122
  headers: a,
3138
3123
  "hide-pagination-when-optional": "",
3139
- "pagination-attributes": { totalCount: p.value, disablePageJump: !0 },
3124
+ "pagination-attributes": { totalCount: f.value, disablePageJump: !0 },
3140
3125
  "search-input": u.value
3141
3126
  }, gn({
3142
- name: S(({ rowValue: s }) => [
3143
- g(bd, { "plugin-name": s }, null, 8, ["plugin-name"])
3127
+ name: S(({ rowValue: d }) => [
3128
+ g(gd, { "plugin-name": d }, null, 8, ["plugin-name"])
3144
3129
  ]),
3145
- "action-items": S(({ row: s }) => [
3146
- g(_, {
3147
- onClick: (A) => w(s)
3130
+ "action-items": S(({ row: d }) => [
3131
+ g(m, {
3132
+ onClick: (A) => w(d)
3148
3133
  }, {
3149
3134
  default: S(() => [
3150
3135
  le(U(r(i)("actions.view_plugin")), 1)
@@ -3157,10 +3142,10 @@ const Fe = (e) => {
3157
3142
  e.filterBarEnabled ? {
3158
3143
  name: "toolbar",
3159
3144
  fn: S(() => [
3160
- K("div", yd, [
3145
+ z("div", bd, [
3161
3146
  g(r(hn), {
3162
3147
  modelValue: u.value,
3163
- "onUpdate:modelValue": b[0] || (b[0] = (s) => u.value = s),
3148
+ "onUpdate:modelValue": b[0] || (b[0] = (d) => u.value = d),
3164
3149
  config: y.value
3165
3150
  }, null, 8, ["modelValue", "config"])
3166
3151
  ])
@@ -3170,10 +3155,10 @@ const Fe = (e) => {
3170
3155
  ]), 1032, ["cache-identifier", "pagination-attributes", "search-input"]);
3171
3156
  };
3172
3157
  }
3173
- }), hd = /* @__PURE__ */ te(vd, [["__scopeId", "data-v-50856d03"]]), wd = {
3158
+ }), vd = /* @__PURE__ */ te(yd, [["__scopeId", "data-v-50856d03"]]), hd = {
3174
3159
  class: "linked-plugins-modal",
3175
3160
  "data-testid": "linked-plugins-modal"
3176
- }, Td = /* @__PURE__ */ Q({
3161
+ }, wd = /* @__PURE__ */ Q({
3177
3162
  __name: "LinkedPluginListModal",
3178
3163
  props: {
3179
3164
  config: {
@@ -3193,24 +3178,24 @@ const Fe = (e) => {
3193
3178
  },
3194
3179
  emits: ["cancel", "proceed", "view-plugin"],
3195
3180
  setup(e, { emit: t }) {
3196
- const n = t, { i18n: { t: o } } = ye.useI18n(), i = x(0), a = z(() => o("linked_plugins_modal.title", { count: i.value })), c = () => {
3181
+ const n = t, { i18n: { t: o } } = ye.useI18n(), i = x(0), a = B(() => o("linked_plugins_modal.title", { count: i.value })), c = () => {
3197
3182
  n("cancel");
3198
- }, p = () => {
3183
+ }, f = () => {
3199
3184
  n("proceed");
3200
3185
  };
3201
3186
  return (l, u) => {
3202
3187
  const y = $("KModal");
3203
- return I(), J("div", wd, [
3188
+ return k(), J("div", hd, [
3204
3189
  g(y, {
3205
3190
  "action-button-text": r(o)("actions.done"),
3206
3191
  "hide-cancel-button": "",
3207
3192
  title: a.value,
3208
3193
  visible: e.visible,
3209
3194
  onCancel: c,
3210
- onProceed: p
3195
+ onProceed: f
3211
3196
  }, {
3212
3197
  default: S(() => [
3213
- g(hd, {
3198
+ g(vd, {
3214
3199
  config: e.config,
3215
3200
  "partial-id": e.redisConfigurationId,
3216
3201
  onLoad: u[0] || (u[0] = ({ total: w }) => i.value = w),
@@ -3222,7 +3207,7 @@ const Fe = (e) => {
3222
3207
  ]);
3223
3208
  };
3224
3209
  }
3225
- }), Sd = /* @__PURE__ */ te(Td, [["__scopeId", "data-v-6148b8bd"]]), Ed = /* @__PURE__ */ Q({
3210
+ }), Td = /* @__PURE__ */ te(wd, [["__scopeId", "data-v-6148b8bd"]]), Sd = /* @__PURE__ */ Q({
3226
3211
  __name: "DeleteWarningModal",
3227
3212
  props: {
3228
3213
  visible: {
@@ -3236,8 +3221,8 @@ const Fe = (e) => {
3236
3221
  o("close");
3237
3222
  };
3238
3223
  return (a, c) => {
3239
- const p = $("KModal");
3240
- return I(), F(p, {
3224
+ const f = $("KModal");
3225
+ return k(), F(f, {
3241
3226
  "action-button-text": r(n)("actions.close"),
3242
3227
  "data-testid": "remove-links-modal",
3243
3228
  "hide-cancel-button": "",
@@ -3254,7 +3239,7 @@ const Fe = (e) => {
3254
3239
  }, 8, ["action-button-text", "title", "visible"]);
3255
3240
  };
3256
3241
  }
3257
- }), Cd = { class: "kong-ui-entities-partials-list" }, kd = 1e3, Id = /* @__PURE__ */ Q({
3242
+ }), Ed = { class: "kong-ui-entities-partials-list" }, Cd = 1e3, Id = /* @__PURE__ */ Q({
3258
3243
  __name: "RedisConfigurationList",
3259
3244
  props: {
3260
3245
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3301,21 +3286,21 @@ const Fe = (e) => {
3301
3286
  emits: ["click:learn-more", "click:plugin", "copy:error", "copy:success", "delete:success", "error"],
3302
3287
  setup(e, { emit: t }) {
3303
3288
  var N;
3304
- const n = t, o = e, i = z(() => {
3305
- var R, f;
3306
- let C = `${o.config.apiBaseUrl}${Me.list[o.config.app]}`;
3307
- 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;
3308
- }), 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);
3309
- async function k(C) {
3310
- const R = await s({ ...C, pageSize: kd });
3311
- return R.data = R.data.filter((f) => f.type === Z.REDIS_CE || f.type === Z.REDIS_EE), R;
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;
3312
3297
  }
3313
- const { i18n: { t: d } } = ye.useI18n(), { axiosInstance: O } = kt((N = o.config) == null ? void 0 : N.axiosRequestConfig), P = Tn(), W = x(""), Y = z(() => {
3298
+ const { i18n: { t: s } } = ye.useI18n(), { axiosInstance: O } = It((N = o.config) == null ? void 0 : N.axiosRequestConfig), P = Tn(), W = x(""), Y = B(() => {
3314
3299
  const C = o.config.app === "konnect" || o.config.isExactMatch;
3315
3300
  if (C)
3316
3301
  return {
3317
3302
  isExactMatch: !0,
3318
- placeholder: d("search.placeholder_for_exact_match")
3303
+ placeholder: s("search.placeholder_for_exact_match")
3319
3304
  };
3320
3305
  const { name: R } = ie;
3321
3306
  return {
@@ -3328,100 +3313,100 @@ const Fe = (e) => {
3328
3313
  }), { fetcher: ne } = Fe(o.config), de = x({
3329
3314
  ctaPath: o.config.createRoute,
3330
3315
  ctaText: void 0,
3331
- message: `${d("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3332
- title: d("redis.title")
3316
+ message: `${s("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3317
+ title: s("redis.title")
3333
3318
  }), ie = {
3334
- name: { label: d("list.table_headers.name"), searchable: !0, hidable: !1, sortable: !0 },
3335
- type: { label: d("list.table_headers.type") },
3336
- tags: { label: d("list.table_headers.tags") },
3337
- plugins: { label: d("list.table_headers.plugins") }
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") }
3338
3323
  }, he = (C) => ({
3339
- label: d("actions.view"),
3324
+ label: s("actions.view"),
3340
3325
  to: o.config.getViewRoute(C)
3341
3326
  }), re = (C) => ({
3342
- label: d("actions.edit"),
3327
+ label: s("actions.edit"),
3343
3328
  to: o.config.getEditRoute(C)
3344
3329
  }), oe = async (C) => {
3345
3330
  const { count: R } = await ne({ partialId: C.id });
3346
- R > 0 ? m.value = !0 : (l.value = C, u.value = !0);
3331
+ R > 0 ? p.value = !0 : (l.value = C, u.value = !0);
3347
3332
  }, we = () => {
3348
3333
  W.value = "";
3349
3334
  }, Te = async (C) => {
3350
- var f;
3351
- await ((f = o.canRetrieve) == null ? void 0 : f.call(o, C)) && P.push(o.config.getViewRoute(C.id));
3335
+ var _;
3336
+ await ((_ = o.canRetrieve) == null ? void 0 : _.call(o, C)) && P.push(o.config.getViewRoute(C.id));
3352
3337
  }, Re = () => {
3353
3338
  u.value = !1;
3354
3339
  }, ve = (C) => {
3355
3340
  c.value = C, a.value = !0;
3356
3341
  }, at = async () => {
3357
- var C, R, f;
3342
+ var C, R, _;
3358
3343
  if ((C = l.value) != null && C.id) {
3359
3344
  y.value = !0;
3360
3345
  try {
3361
3346
  await O.delete(b(l.value.id)), y.value = !1, u.value = !1, ze(), n("delete:success", l.value);
3362
- } catch (B) {
3363
- w.value = ((f = (R = B.response) == null ? void 0 : R.data) == null ? void 0 : f.message) || B.message || d("errors.delete"), n("error", B);
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);
3364
3349
  } finally {
3365
3350
  y.value = !1;
3366
3351
  }
3367
3352
  }
3368
3353
  }, ze = () => {
3369
- _.value++;
3370
- }, H = (C) => {
3354
+ m.value++;
3355
+ }, K = (C) => {
3371
3356
  switch (Be(C)) {
3372
3357
  case T.HOST_PORT_CE:
3373
- return `${d("form.options.type.host_port")}${d("form.options.type.suffix_open_source")}`;
3358
+ return `${s("form.options.type.host_port")}${s("form.options.type.suffix_open_source")}`;
3374
3359
  case T.HOST_PORT_EE:
3375
- return `${d("form.options.type.host_port")}${d("form.options.type.suffix_enterprise")}`;
3360
+ return `${s("form.options.type.host_port")}${s("form.options.type.suffix_enterprise")}`;
3376
3361
  case T.SENTINEL:
3377
- return `${d("form.options.type.sentinel")}${d("form.options.type.suffix_enterprise")}`;
3362
+ return `${s("form.options.type.sentinel")}${s("form.options.type.suffix_enterprise")}`;
3378
3363
  case T.CLUSTER:
3379
- return `${d("form.options.type.cluster")}${d("form.options.type.suffix_enterprise")}`;
3364
+ return `${s("form.options.type.cluster")}${s("form.options.type.suffix_enterprise")}`;
3380
3365
  }
3381
3366
  }, v = () => {
3382
3367
  P.push(o.config.createRoute);
3383
3368
  }, lt = async (C, R) => {
3384
- const f = C.id;
3385
- if (!await R(f)) {
3369
+ const _ = C.id;
3370
+ if (!await R(_)) {
3386
3371
  n("copy:error", {
3387
3372
  entity: C,
3388
3373
  field: "id",
3389
- message: d("errors.copy")
3374
+ message: s("errors.copy")
3390
3375
  });
3391
3376
  return;
3392
3377
  }
3393
3378
  n("copy:success", {
3394
3379
  entity: C,
3395
3380
  field: "id",
3396
- message: d("copy.success", { val: f })
3381
+ message: s("copy.success", { val: _ })
3397
3382
  });
3398
3383
  };
3399
3384
  Ee(A, (C) => {
3400
- var R, f, B;
3385
+ var R, _, H;
3401
3386
  if (C.status === xi.Error) {
3402
- p.value = {
3403
- title: d("errors.general")
3404
- }, (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);
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);
3405
3390
  return;
3406
3391
  }
3407
- p.value = null;
3392
+ f.value = null;
3408
3393
  });
3409
3394
  const Se = x(!1);
3410
3395
  return Ee(o.canCreate, async (C) => {
3411
- Se.value = await C, Se.value ? de.value.ctaText = d("actions.create") : de.value.ctaText = void 0;
3396
+ Se.value = await C, Se.value ? de.value.ctaText = s("actions.create") : de.value.ctaText = void 0;
3412
3397
  }, {
3413
3398
  immediate: !0
3414
3399
  }), (C, R) => {
3415
- const f = $("KButton"), B = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3416
- return I(), J("div", Cd, [
3400
+ const _ = $("KButton"), H = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3401
+ return k(), J("div", Ed, [
3417
3402
  g(r(Ai), {
3418
3403
  "cache-identifier": e.cacheIdentifier,
3419
3404
  "disable-sorting": E.value,
3420
3405
  "empty-state-options": de.value,
3421
3406
  "enable-entity-actions": "",
3422
- "error-message": p.value,
3423
- fetcher: k,
3424
- "fetcher-cache-key": _.value,
3407
+ "error-message": f.value,
3408
+ fetcher: I,
3409
+ "fetcher-cache-key": m.value,
3425
3410
  "pagination-type": "offset",
3426
3411
  "preferences-storage-key": "kong-ui-entities-redis-configuration-list",
3427
3412
  query: W.value,
@@ -3438,13 +3423,13 @@ const Fe = (e) => {
3438
3423
  }, null, 8, ["modelValue", "config"])
3439
3424
  ]),
3440
3425
  "toolbar-button": S(() => [
3441
- (I(), F(Ei, {
3426
+ (k(), F(Ei, {
3442
3427
  disabled: !e.useActionOutside,
3443
3428
  to: "#kong-ui-app-page-header-action-button"
3444
3429
  }, [
3445
3430
  g(r(Ke), { "auth-function": e.canCreate }, {
3446
3431
  default: S(() => [
3447
- g(f, {
3432
+ g(_, {
3448
3433
  appearance: "primary",
3449
3434
  "data-testid": "toolbar-add-redis-configuration",
3450
3435
  size: "large",
@@ -3452,7 +3437,7 @@ const Fe = (e) => {
3452
3437
  }, {
3453
3438
  default: S(() => [
3454
3439
  g(r(yt)),
3455
- le(" " + U(r(d)("actions.create")), 1)
3440
+ le(" " + U(r(s)("actions.create")), 1)
3456
3441
  ]),
3457
3442
  _: 1
3458
3443
  }, 8, ["to"])
@@ -3462,16 +3447,16 @@ const Fe = (e) => {
3462
3447
  ], 8, ["disabled"]))
3463
3448
  ]),
3464
3449
  name: S(({ rowValue: j }) => [
3465
- K("b", null, U(j ?? "-"), 1)
3450
+ z("b", null, U(j ?? "-"), 1)
3466
3451
  ]),
3467
3452
  type: S(({ row: j }) => [
3468
- le(U(H(j)), 1)
3453
+ le(U(K(j)), 1)
3469
3454
  ]),
3470
3455
  tags: S(({ rowValue: j }) => [
3471
3456
  g(r(Pi), { tags: j }, null, 8, ["tags"])
3472
3457
  ]),
3473
3458
  plugins: S(({ row: j }) => [
3474
- g(md, {
3459
+ g(pd, {
3475
3460
  config: e.config,
3476
3461
  "partial-id": j.id,
3477
3462
  onClick: Si((st) => ve(j.id), ["stop"])
@@ -3480,12 +3465,12 @@ const Fe = (e) => {
3480
3465
  actions: S(({ row: j }) => [
3481
3466
  g(mi, null, {
3482
3467
  default: S(({ copyToClipboard: st }) => [
3483
- g(B, {
3468
+ g(H, {
3484
3469
  "data-testid": "action-entity-copy-id",
3485
- onClick: (Ld) => lt(j, st)
3470
+ onClick: (jd) => lt(j, st)
3486
3471
  }, {
3487
3472
  default: S(() => [
3488
- le(U(r(d)("actions.copy_id")), 1)
3473
+ le(U(r(s)("actions.copy_id")), 1)
3489
3474
  ]),
3490
3475
  _: 1
3491
3476
  }, 8, ["onClick"])
@@ -3496,7 +3481,7 @@ const Fe = (e) => {
3496
3481
  "auth-function": () => e.canRetrieve(j)
3497
3482
  }, {
3498
3483
  default: S(() => [
3499
- g(B, {
3484
+ g(H, {
3500
3485
  "data-testid": "action-entity-view",
3501
3486
  "has-divider": "",
3502
3487
  item: he(j.id)
@@ -3508,7 +3493,7 @@ const Fe = (e) => {
3508
3493
  "auth-function": () => e.canEdit(j)
3509
3494
  }, {
3510
3495
  default: S(() => [
3511
- g(B, {
3496
+ g(H, {
3512
3497
  "data-testid": "action-entity-edit",
3513
3498
  item: re(j.id)
3514
3499
  }, null, 8, ["item"])
@@ -3519,14 +3504,14 @@ const Fe = (e) => {
3519
3504
  "auth-function": () => e.canDelete(j)
3520
3505
  }, {
3521
3506
  default: S(() => [
3522
- g(B, {
3507
+ g(H, {
3523
3508
  danger: "",
3524
3509
  "data-testid": "action-entity-delete",
3525
3510
  "has-divider": "",
3526
3511
  onClick: (st) => oe(j)
3527
3512
  }, {
3528
3513
  default: S(() => [
3529
- le(U(r(d)("actions.delete")), 1)
3514
+ le(U(r(s)("actions.delete")), 1)
3530
3515
  ]),
3531
3516
  _: 1
3532
3517
  }, 8, ["onClick"])
@@ -3536,24 +3521,24 @@ const Fe = (e) => {
3536
3521
  ]),
3537
3522
  "empty-state": S(() => [
3538
3523
  g(_i, {
3539
- "action-button-text": r(d)("list.action"),
3524
+ "action-button-text": r(s)("list.action"),
3540
3525
  "action-button-visible": Se.value,
3541
3526
  "data-testid": "redis-entity-empty-state",
3542
3527
  features: [
3543
3528
  {
3544
3529
  key: "feature-1",
3545
- title: r(d)("list.empty_state.feature_1.title"),
3546
- description: r(d)("list.empty_state.feature_1.description")
3530
+ title: r(s)("list.empty_state.feature_1.title"),
3531
+ description: r(s)("list.empty_state.feature_1.description")
3547
3532
  },
3548
3533
  {
3549
3534
  key: "feature-2",
3550
- title: r(d)("list.empty_state.feature_2.title"),
3551
- description: r(d)("list.empty_state.feature_2.description")
3535
+ title: r(s)("list.empty_state.feature_2.title"),
3536
+ description: r(s)("list.empty_state.feature_2.description")
3552
3537
  }
3553
3538
  ],
3554
3539
  "icon-background": "",
3555
- message: r(d)("list.empty_state.description"),
3556
- title: r(d)("redis.title"),
3540
+ message: r(s)("list.empty_state.description"),
3541
+ title: r(s)("redis.title"),
3557
3542
  onClickAction: v
3558
3543
  }, {
3559
3544
  icon: S(() => [
@@ -3573,23 +3558,23 @@ const Fe = (e) => {
3573
3558
  ]),
3574
3559
  _: 1
3575
3560
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher-cache-key", "query"]),
3576
- g(Ed, {
3577
- visible: m.value,
3578
- onClose: R[2] || (R[2] = (j) => m.value = !1)
3561
+ g(Sd, {
3562
+ visible: p.value,
3563
+ onClose: R[2] || (R[2] = (j) => p.value = !1)
3579
3564
  }, null, 8, ["visible"]),
3580
3565
  g(r($i), {
3581
3566
  "action-pending": y.value,
3582
- description: r(d)("delete.description"),
3567
+ description: r(s)("delete.description"),
3583
3568
  "entity-name": l.value && (l.value.name || l.value.id),
3584
3569
  "entity-type": r(Vi).RedisConfiguration,
3585
3570
  error: w.value,
3586
3571
  "need-confirmation": !0,
3587
- title: r(d)("delete.title"),
3572
+ title: r(s)("delete.title"),
3588
3573
  visible: u.value,
3589
3574
  onCancel: Re,
3590
3575
  onProceed: at
3591
3576
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
3592
- g(Sd, {
3577
+ g(Td, {
3593
3578
  config: e.config,
3594
3579
  "redis-configuration-id": c.value,
3595
3580
  visible: a.value,
@@ -3600,7 +3585,7 @@ const Fe = (e) => {
3600
3585
  ]);
3601
3586
  };
3602
3587
  }
3603
- }), Qd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), Od = { class: "kong-ui-consumer-group-entity-config-card" }, Yd = /* @__PURE__ */ Q({
3588
+ }), Zd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), kd = { class: "kong-ui-consumer-group-entity-config-card" }, Qd = /* @__PURE__ */ Q({
3604
3589
  __name: "RedisConfigurationConfigCard",
3605
3590
  props: {
3606
3591
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3627,10 +3612,10 @@ const Fe = (e) => {
3627
3612
  },
3628
3613
  emits: ["loading", "fetch:error", "fetch:success"],
3629
3614
  setup(e, { emit: t }) {
3630
- const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = z(() => Me.form[n.config.app].edit), c = x($e), p = (_) => {
3631
- c.value = Be(_), o("fetch:success", _);
3632
- }, l = z(() => {
3633
- const _ = c.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
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");
3634
3619
  let E = "";
3635
3620
  switch (c.value) {
3636
3621
  case T.HOST_PORT_CE:
@@ -3646,35 +3631,35 @@ const Fe = (e) => {
3646
3631
  E = i("form.options.type.sentinel");
3647
3632
  break;
3648
3633
  }
3649
- return `${E}${_}`;
3650
- }), u = (_) => ({
3651
- id: _.id,
3652
- name: _.name,
3653
- tags: _.tags,
3654
- created_at: _.created_at,
3655
- updated_at: _.updated_at,
3656
- type: _.type,
3657
- ..._.config,
3658
- ...n.config.cloudAuthAvailable ? { cloud_authentication: Vt(_.config.cloud_authentication) } : null
3659
- }), y = (_, E) => {
3660
- if (!_ || Object.keys(_).length === 0)
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)
3661
3646
  return {};
3662
- const { id: s, name: A, created_at: k, updated_at: d, type: O, tags: P, ...W } = _;
3647
+ const { id: d, name: A, created_at: I, updated_at: s, type: O, tags: P, ...W } = m;
3663
3648
  return E === "terraform" ? {
3664
3649
  [O.replaceAll("-", "_")]: {
3665
- id: s,
3650
+ id: d,
3666
3651
  name: A,
3667
3652
  tags: P,
3668
- created_at: k,
3669
- updated_at: d,
3653
+ created_at: I,
3654
+ updated_at: s,
3670
3655
  config: W
3671
3656
  }
3672
3657
  } : {
3673
- id: s,
3658
+ id: d,
3674
3659
  name: A,
3675
3660
  tags: P,
3676
- created_at: k,
3677
- updated_at: d,
3661
+ created_at: I,
3662
+ updated_at: s,
3678
3663
  type: O,
3679
3664
  config: W
3680
3665
  };
@@ -3834,23 +3819,23 @@ const Fe = (e) => {
3834
3819
  section: V.Basic,
3835
3820
  label: i("form.sections.cloud_auth.title")
3836
3821
  }
3837
- }, m = (_) => {
3838
- const E = {}, s = Object.keys(w);
3839
- for (const A of s)
3840
- _.includes(A) ? E[A] = {
3822
+ }, p = (m) => {
3823
+ const E = {}, d = Object.keys(w);
3824
+ for (const A of d)
3825
+ m.includes(A) ? E[A] = {
3841
3826
  ...w[A],
3842
- order: _.indexOf(A) + 1
3827
+ order: m.indexOf(A) + 1
3843
3828
  } : E[A] = {
3844
3829
  ...w[A],
3845
3830
  hidden: !0
3846
3831
  };
3847
3832
  return E;
3848
- }, b = z(() => {
3849
- const _ = ["id", "name", "tags", "type", "updated_at", "created_at"];
3833
+ }, b = B(() => {
3834
+ const m = ["id", "name", "tags", "type", "updated_at", "created_at"];
3850
3835
  switch (c.value) {
3851
3836
  case T.HOST_PORT_CE:
3852
- return m([
3853
- ..._,
3837
+ return p([
3838
+ ...m,
3854
3839
  "host",
3855
3840
  "port",
3856
3841
  "timeout",
@@ -3863,8 +3848,8 @@ const Fe = (e) => {
3863
3848
  "cloud_authentication"
3864
3849
  ]);
3865
3850
  case T.HOST_PORT_EE:
3866
- return m([
3867
- ..._,
3851
+ return p([
3852
+ ...m,
3868
3853
  "host",
3869
3854
  "port",
3870
3855
  "connection_is_proxied",
@@ -3882,8 +3867,8 @@ const Fe = (e) => {
3882
3867
  "cloud_authentication"
3883
3868
  ]);
3884
3869
  case T.CLUSTER:
3885
- return m([
3886
- ..._,
3870
+ return p([
3871
+ ...m,
3887
3872
  "cluster_nodes",
3888
3873
  "cluster_max_redirections",
3889
3874
  "database",
@@ -3900,8 +3885,8 @@ const Fe = (e) => {
3900
3885
  "cloud_authentication"
3901
3886
  ]);
3902
3887
  case T.SENTINEL:
3903
- return m([
3904
- ..._,
3888
+ return p([
3889
+ ...m,
3905
3890
  "sentinel_master",
3906
3891
  "sentinel_role",
3907
3892
  "sentinel_nodes",
@@ -3923,7 +3908,7 @@ const Fe = (e) => {
3923
3908
  throw new Error("Invalid Redis type");
3924
3909
  }
3925
3910
  });
3926
- return (_, E) => (I(), J("div", Od, [
3911
+ return (m, E) => (k(), J("div", kd, [
3927
3912
  g(r(Mi), {
3928
3913
  "code-block-record-formatter": y,
3929
3914
  config: e.config,
@@ -3933,18 +3918,18 @@ const Fe = (e) => {
3933
3918
  "fetch-url": a.value,
3934
3919
  "hide-title": e.hideTitle,
3935
3920
  "record-resolver": u,
3936
- "onFetch:error": E[0] || (E[0] = (s) => _.$emit("fetch:error", s)),
3937
- "onFetch:success": p,
3938
- onLoading: E[1] || (E[1] = (s) => _.$emit("loading", s))
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))
3939
3924
  }, {
3940
3925
  type: S(() => [
3941
- K("div", null, U(l.value), 1)
3926
+ z("div", null, U(l.value), 1)
3942
3927
  ]),
3943
3928
  _: 1
3944
3929
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
3945
3930
  ]));
3946
3931
  }
3947
- }), Rd = "12px";
3932
+ }), Od = "12px";
3948
3933
  function pi(e) {
3949
3934
  const {
3950
3935
  redisType: t = "redis-ce"
@@ -3954,14 +3939,14 @@ function pi(e) {
3954
3939
  const {
3955
3940
  debouncedQueryChange: a,
3956
3941
  loading: c,
3957
- error: p,
3942
+ error: f,
3958
3943
  loadItems: l,
3959
3944
  results: u
3960
- } = Di(o, Me.list[o.app], n, {
3945
+ } = Di(o, Ve.list[o.app], n, {
3961
3946
  fetchedItemsKey: "data",
3962
3947
  searchKeys: ["id", "name"]
3963
- }), y = (m) => {
3964
- switch (m) {
3948
+ }), y = (p) => {
3949
+ switch (p) {
3965
3950
  case T.CLUSTER:
3966
3951
  return i("form.options.type.cluster");
3967
3952
  case T.HOST_PORT_CE:
@@ -3971,18 +3956,18 @@ function pi(e) {
3971
3956
  case T.HOST_PORT_EE:
3972
3957
  return `${i("form.options.type.host_port")} (${i("form.options.type.enterprise")})`;
3973
3958
  }
3974
- }, 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));
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));
3975
3960
  return _n(() => {
3976
3961
  l();
3977
3962
  }), {
3978
3963
  items: w,
3979
3964
  loading: c,
3980
3965
  onQueryChange: a,
3981
- error: p,
3966
+ error: f,
3982
3967
  loadItems: l
3983
3968
  };
3984
3969
  }
3985
- const xd = ["id"], Ad = /* @__PURE__ */ Q({
3970
+ const Rd = ["id"], xd = /* @__PURE__ */ Q({
3986
3971
  __name: "RedisConfigurationFormModal",
3987
3972
  props: {
3988
3973
  visible: { type: Boolean },
@@ -3990,10 +3975,10 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
3990
3975
  },
3991
3976
  emits: ["toast", "modal-close", "created"],
3992
3977
  setup(e, { emit: t }) {
3993
- const n = t, { i18n: { t: o } } = ot(), i = bn(Cn), a = z(() => ({
3978
+ const n = t, { i18n: { t: o } } = ot(), i = bn(Cn), a = B(() => ({
3994
3979
  ...i,
3995
3980
  cancelRoute: void 0
3996
- })), { getMessageFromError: c } = yn(), p = Ci(), l = z(() => {
3981
+ })), { getMessageFromError: c } = yn(), f = Ci(), l = B(() => {
3997
3982
  switch (e.partialType) {
3998
3983
  case Z.REDIS_CE:
3999
3984
  return Z.REDIS_EE;
@@ -4002,16 +3987,16 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4002
3987
  default:
4003
3988
  return;
4004
3989
  }
4005
- }), u = x(!1), y = x(), w = (_) => {
3990
+ }), u = x(!1), y = x(), w = (m) => {
4006
3991
  n("toast", {
4007
- message: c(_),
3992
+ message: c(m),
4008
3993
  appearance: "danger"
4009
3994
  });
4010
- }, m = (_) => {
3995
+ }, p = (m) => {
4011
3996
  n("toast", {
4012
3997
  message: o("form.partial_created_success_message"),
4013
3998
  appearance: "success"
4014
- }), b(), n("created", _);
3999
+ }), b(), n("created", m);
4015
4000
  }, b = () => {
4016
4001
  y.value = void 0, n("modal-close"), Dt(() => {
4017
4002
  u.value = !1;
@@ -4019,14 +4004,14 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4019
4004
  };
4020
4005
  return Ee(
4021
4006
  () => e.visible,
4022
- (_) => {
4023
- _ && (u.value = !0, Dt(() => {
4024
- y.value = `#redis-modal-footer-${p}`;
4007
+ (m) => {
4008
+ m && (u.value = !0, Dt(() => {
4009
+ y.value = `#redis-modal-footer-${f}`;
4025
4010
  }));
4026
4011
  }
4027
- ), (_, E) => {
4028
- const s = $("KModal");
4029
- return I(), F(s, {
4012
+ ), (m, E) => {
4013
+ const d = $("KModal");
4014
+ return k(), F(d, {
4030
4015
  class: "plugin-redis-partial-form",
4031
4016
  "data-testid": "redis-partial-form-modal",
4032
4017
  "full-screen": "",
@@ -4035,33 +4020,33 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4035
4020
  onCancel: b
4036
4021
  }, {
4037
4022
  footer: S(() => [
4038
- K("div", {
4039
- id: `redis-modal-footer-${r(p)}`,
4023
+ z("div", {
4024
+ id: `redis-modal-footer-${r(f)}`,
4040
4025
  class: "redis-modal-footer"
4041
- }, null, 8, xd)
4026
+ }, null, 8, Rd)
4042
4027
  ]),
4043
4028
  default: S(() => [
4044
- g(cd, {
4029
+ g(ud, {
4045
4030
  "action-teleport-target": y.value,
4046
4031
  config: a.value,
4047
4032
  "disabled-partial-type": l.value,
4048
4033
  "slidout-top-offset": 0,
4049
4034
  onCancel: b,
4050
4035
  onError: w,
4051
- onUpdate: m
4036
+ onUpdate: p
4052
4037
  }, null, 8, ["action-teleport-target", "config", "disabled-partial-type"])
4053
4038
  ]),
4054
4039
  _: 1
4055
4040
  }, 8, ["title", "visible"]);
4056
4041
  };
4057
4042
  }
4058
- }), Pd = /* @__PURE__ */ te(Ad, [["__scopeId", "data-v-280b73f4"]]), $d = { class: "selected-redis-config" }, Vd = ["data-testid"], Md = {
4043
+ }), Ad = /* @__PURE__ */ te(xd, [["__scopeId", "data-v-280b73f4"]]), Pd = { class: "selected-redis-config" }, $d = ["data-testid"], Vd = {
4059
4044
  class: "select-item-name",
4060
4045
  "data-testid": "selected-redis-config"
4061
- }, Dd = {
4046
+ }, Md = {
4062
4047
  class: "empty-redis-config",
4063
4048
  "data-testid": "empty-redis-config"
4064
- }, jd = /* @__PURE__ */ Q({
4049
+ }, Dd = /* @__PURE__ */ Q({
4065
4050
  inheritAttrs: !1,
4066
4051
  __name: "RedisConfigurationSelector",
4067
4052
  props: {
@@ -4078,30 +4063,30 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4078
4063
  items: i,
4079
4064
  loading: a,
4080
4065
  onQueryChange: c,
4081
- error: p,
4066
+ error: f,
4082
4067
  loadItems: l
4083
4068
  } = pi({
4084
4069
  redisType: e.redisType
4085
- }), u = x(!1), y = (_) => {
4086
- const E = _ == null ? void 0 : _.value;
4087
- n("update:modelValue", E), n("change", _);
4070
+ }), u = x(!1), y = (m) => {
4071
+ const E = m == null ? void 0 : m.value;
4072
+ n("update:modelValue", E), n("change", m);
4088
4073
  }, w = () => {
4089
4074
  u.value = !0;
4090
- }, m = () => {
4075
+ }, p = () => {
4091
4076
  u.value = !1, n("modal-close");
4092
- }, b = (_) => {
4077
+ }, b = (m) => {
4093
4078
  u.value = !1, l(), y({
4094
- name: _.name,
4095
- value: _.id,
4096
- label: _.name
4079
+ name: m.name,
4080
+ value: m.id,
4081
+ label: m.name
4097
4082
  });
4098
4083
  };
4099
- return Ee(p, (_) => {
4100
- n("error-change", _ ? new Error(String(_)) : null);
4101
- }), (_, E) => {
4102
- const s = $("KBadge"), A = $("KSelect");
4103
- return I(), J(fe, null, [
4104
- g(A, ki({
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({
4105
4090
  class: "redis-config-select-trigger",
4106
4091
  "enable-filtering": "",
4107
4092
  "filter-function": () => !0,
@@ -4109,77 +4094,77 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4109
4094
  loading: r(a),
4110
4095
  "model-value": e.modelValue,
4111
4096
  placeholder: e.placeholder || r(o)("selector.placeholder")
4112
- }, _.$attrs, {
4097
+ }, m.$attrs, {
4113
4098
  onChange: y,
4114
4099
  onQueryChange: r(c)
4115
4100
  }), gn({
4116
- "selected-item-template": S(({ item: k }) => [
4117
- K("div", $d, U(k.name), 1)
4101
+ "selected-item-template": S(({ item: I }) => [
4102
+ z("div", Pd, U(I.name), 1)
4118
4103
  ]),
4119
- "item-template": S(({ item: k }) => [
4120
- K("div", {
4104
+ "item-template": S(({ item: I }) => [
4105
+ z("div", {
4121
4106
  class: "plugin-form-redis-configuration-dropdown-item",
4122
- "data-testid": `redis-configuration-dropdown-item-${k.name}`
4107
+ "data-testid": `redis-configuration-dropdown-item-${I.name}`
4123
4108
  }, [
4124
- K("span", Md, U(k.name), 1),
4125
- g(s, {
4109
+ z("span", Vd, U(I.name), 1),
4110
+ g(d, {
4126
4111
  appearance: "info",
4127
4112
  class: "select-item-label"
4128
4113
  }, {
4129
4114
  default: S(() => [
4130
- le(U(k.tag), 1)
4115
+ le(U(I.tag), 1)
4131
4116
  ]),
4132
4117
  _: 2
4133
4118
  }, 1024)
4134
- ], 8, Vd)
4119
+ ], 8, $d)
4135
4120
  ]),
4136
4121
  empty: S(() => [
4137
- K("div", Dd, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4122
+ z("div", Md, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4138
4123
  ]),
4139
4124
  _: 2
4140
4125
  }, [
4141
4126
  e.showCreateButton ? {
4142
4127
  name: "dropdown-footer-text",
4143
4128
  fn: S(() => [
4144
- K("div", {
4129
+ z("div", {
4145
4130
  class: "new-redis-config-area",
4146
4131
  "data-testid": "new-redis-config-area",
4147
4132
  onClick: w
4148
4133
  }, [
4149
- g(r(yt), { size: r(Rd) }, null, 8, ["size"]),
4150
- K("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4134
+ g(r(yt), { size: r(Od) }, null, 8, ["size"]),
4135
+ z("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4151
4136
  ])
4152
4137
  ]),
4153
4138
  key: "0"
4154
4139
  } : void 0
4155
4140
  ]), 1040, ["items", "loading", "model-value", "placeholder", "onQueryChange"]),
4156
- g(Pd, {
4141
+ g(Ad, {
4157
4142
  "partial-type": e.redisType,
4158
4143
  visible: u.value,
4159
4144
  onCreated: b,
4160
- onModalClose: m,
4161
- onToast: E[0] || (E[0] = (k) => n("toast", k))
4145
+ onModalClose: p,
4146
+ onToast: E[0] || (E[0] = (I) => n("toast", I))
4162
4147
  }, null, 8, ["partial-type", "visible"])
4163
4148
  ], 64);
4164
4149
  };
4165
4150
  }
4166
- }), Xd = /* @__PURE__ */ te(jd, [["__scopeId", "data-v-3c6e44d3"]]), eu = {
4151
+ }), Yd = /* @__PURE__ */ te(Dd, [["__scopeId", "data-v-3c6e44d3"]]), Xd = {
4167
4152
  useLinkedPlugins: fi,
4168
4153
  useLinkedPluginsFetcher: Fe,
4169
4154
  useRedisConfigurationSelector: pi
4170
4155
  };
4171
4156
  export {
4172
4157
  q as AuthProvider,
4173
- Ed as DeleteWarningModal,
4174
- hd as LinkedPlugins,
4158
+ Sd as DeleteWarningModal,
4159
+ vd as LinkedPlugins,
4175
4160
  Z as PartialType,
4176
- Yd as RedisConfigurationConfigCard,
4177
- cd as RedisConfigurationForm,
4178
- Pd as RedisConfigurationFormModal,
4179
- Qd as RedisConfigurationList,
4180
- Xd as RedisConfigurationSelector,
4161
+ Qd as RedisConfigurationConfigCard,
4162
+ ud as RedisConfigurationForm,
4163
+ Ad as RedisConfigurationFormModal,
4164
+ Zd as RedisConfigurationList,
4165
+ Yd as RedisConfigurationSelector,
4181
4166
  T as RedisType,
4182
- eu as composables,
4183
- Jd as constants,
4184
- Zd as helpers
4167
+ Xd as composables,
4168
+ Gd as constants,
4169
+ Jd as helpers
4185
4170
  };