@kong-ui-public/entities-redis-configurations 1.6.6-pr.2696.7be587d6a.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,
@@ -943,7 +943,7 @@ const ni = {
943
943
  __proto__: null,
944
944
  DEFAULT_CLUSTER_NODE: ni,
945
945
  DEFAULT_FIELDS: ri,
946
- DEFAULT_REDIS_TYPE: $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;
@@ -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,7 +1046,7 @@ const ni = {
1046
1046
  kongManager: `${qe}/partials/{id}/links`
1047
1047
  }
1048
1048
  }, xs = (e) => {
1049
- const { partialId: t, config: n, defaultRedisType: o = $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({
1050
1050
  fields: {
1051
1051
  name: "",
1052
1052
  tags: "",
@@ -1055,45 +1055,45 @@ const ni = {
1055
1055
  },
1056
1056
  readonly: !1,
1057
1057
  errorMessage: ""
1058
- }), u = x(), y = x(o), w = z(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
1059
- Ee(y, (d) => {
1060
- l.fields.type = Xe(d);
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);
1061
1061
  });
1062
- const m = z(() => {
1062
+ const p = B(() => {
1063
1063
  var O, P, W, Y;
1064
- 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))
1065
1065
  return !1;
1066
- const { config: d } = l.fields;
1066
+ const { config: s } = l.fields;
1067
1067
  switch (y.value) {
1068
1068
  case T.HOST_PORT_CE:
1069
1069
  case T.HOST_PORT_EE:
1070
- return !!d.host && d.host.length > 0 && String(d.port ?? "").length > 0 && (((P = d.cloud_authentication) == null ? void 0 : P.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
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);
1071
1071
  case T.CLUSTER:
1072
- return !!d.cluster_nodes.length && d.cluster_nodes.every((ne) => ne.ip.length > 0) && (((W = d.cloud_authentication) == null ? void 0 : W.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
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);
1073
1073
  case T.SENTINEL:
1074
- return !!d.sentinel_nodes.length && d.sentinel_nodes.every((ne) => ne.host.length > 0) && !!((Y = d.sentinel_master) != null && Y.length) && d.sentinel_role && !!d.sentinel_role.length;
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;
1075
1075
  default:
1076
1076
  throw new Error("Invalid redis type");
1077
1077
  }
1078
1078
  }), b = () => {
1079
1079
  if (!e.cloudAuthAvailable)
1080
1080
  return;
1081
- const d = Vt(l.fields.config.cloud_authentication);
1082
- return d != null && d.auth_provider ? {
1083
- auth_provider: d.auth_provider,
1084
- aws_cache_name: h.str(d.aws_cache_name, null),
1085
- aws_region: h.str(d.aws_region, null),
1086
- aws_is_serverless: d.aws_is_serverless,
1087
- aws_access_key_id: h.str(d.aws_access_key_id, null),
1088
- aws_secret_access_key: h.str(d.aws_secret_access_key, null),
1089
- aws_assume_role_arn: h.str(d.aws_assume_role_arn, null),
1090
- aws_role_session_name: h.str(d.aws_role_session_name, null),
1091
- gcp_service_account_json: h.str(d.gcp_service_account_json, null),
1092
- azure_client_id: h.str(d.azure_client_id, null),
1093
- azure_client_secret: h.str(d.azure_client_secret, null),
1094
- azure_tenant_id: h.str(d.azure_tenant_id, null)
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)
1095
1095
  } : null;
1096
- }, _ = z(() => {
1096
+ }, m = B(() => {
1097
1097
  switch (y.value) {
1098
1098
  case T.HOST_PORT_CE:
1099
1099
  return {
@@ -1127,7 +1127,7 @@ const ni = {
1127
1127
  keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
1128
1128
  keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
1129
1129
  password: h.str(l.fields.config.password, null),
1130
- port: 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),
1131
1131
  read_timeout: h.int(l.fields.config.read_timeout),
1132
1132
  send_timeout: h.int(l.fields.config.send_timeout),
1133
1133
  server_name: h.str(l.fields.config.server_name, null),
@@ -1208,41 +1208,41 @@ const ni = {
1208
1208
  default:
1209
1209
  throw new Error("Invalid redis type");
1210
1210
  }
1211
- }), E = z(() => {
1212
- let d = `${n.apiBaseUrl}${Me.form[n.app][p.value]}`;
1213
- return n.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, (n == null ? void 0 : n.controlPlaneId) || "") : n.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, n != null && n.workspace ? `/${n.workspace}` : "")), d = d.replace(/{id}/gi, t || ""), d;
1214
- }), s = z(() => {
1215
- var d;
1216
- return (d = Me.form[n == null ? void 0 : n.app]) == null ? void 0 : d.edit;
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;
1217
1217
  });
1218
1218
  return {
1219
1219
  form: l,
1220
- canSubmit: m,
1221
- payload: _,
1220
+ canSubmit: p,
1221
+ payload: m,
1222
1222
  isEdit: i,
1223
1223
  redisType: y,
1224
1224
  redisTypeIsEnterprise: w,
1225
- formType: p,
1226
- fetchUrl: s,
1225
+ formType: f,
1226
+ fetchUrl: d,
1227
1227
  submit: async () => {
1228
1228
  try {
1229
1229
  l.readonly = !0, l.errorMessage = "";
1230
- let d = _.value;
1231
- return n.app === "konnect" && (d = {
1232
- ...d,
1233
- config: h.removeNullValues(d.config)
1234
- }), p.value === dt.Create ? await a.post(E.value, d) : n.app === "konnect" ? await a.put(E.value, d) : await a.patch(E.value, d);
1235
- } catch (d) {
1236
- throw l.errorMessage = c(d), l.readonly = !1, d;
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;
1237
1237
  }
1238
1238
  },
1239
- setInitialFormValues: (d) => {
1239
+ setInitialFormValues: (s) => {
1240
1240
  l.fields.config = Object.assign(
1241
1241
  {},
1242
1242
  l.fields.config,
1243
- h.removeNullValues(d.config)
1243
+ h.removeNullValues(s.config)
1244
1244
  // remove null values if data, so they can be replaced with default values
1245
- ), l.fields.config.sentinel_nodes = h.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = h.addIdToClusterNodes(d.config.cluster_nodes ?? []), l.fields.name = d.name, l.fields.type = d.type, l.fields.tags = h.arrayToString(d.tags), y.value = Be(d), u.value = JSON.parse(JSON.stringify(_.value));
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));
1246
1246
  }
1247
1247
  };
1248
1248
  }, As = { class: "array-card-container" }, Ps = /* @__PURE__ */ Q({
@@ -1269,7 +1269,7 @@ const ni = {
1269
1269
  setup(e) {
1270
1270
  return (t, n) => {
1271
1271
  const o = $("KCard"), i = $("KButton");
1272
- return I(), J("div", As, [
1272
+ return k(), J("div", As, [
1273
1273
  g(o, { class: "card" }, {
1274
1274
  default: S(() => [
1275
1275
  gi(t.$slots, "default", {}, void 0, !0)
@@ -1634,9 +1634,9 @@ const ye = {
1634
1634
  t.value.splice(a, 1);
1635
1635
  };
1636
1636
  return (a, c) => {
1637
- const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1638
- return I(), J("div", null, [
1639
- g(p, {
1637
+ const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1638
+ return k(), J("div", null, [
1639
+ g(f, {
1640
1640
  class: "required",
1641
1641
  info: r(n)("form.fields.cluster_nodes.tooltip"),
1642
1642
  "tooltip-attributes": { maxWidth: "400" }
@@ -1646,18 +1646,18 @@ const ye = {
1646
1646
  ]),
1647
1647
  _: 1
1648
1648
  }, 8, ["info"]),
1649
- K("div", null, [
1650
- (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, {
1651
1651
  key: `${w}`,
1652
1652
  "data-testid": "redis-cluster-nodes",
1653
1653
  disabled: e.readonly,
1654
- onRemoveItem: (m) => i(w)
1654
+ onRemoveItem: (p) => i(w)
1655
1655
  }, {
1656
1656
  default: S(() => [
1657
- K("div", zs, [
1657
+ z("div", zs, [
1658
1658
  g(l, {
1659
1659
  modelValue: y.ip,
1660
- "onUpdate:modelValue": (m) => y.ip = m,
1660
+ "onUpdate:modelValue": (p) => y.ip = p,
1661
1661
  modelModifiers: { trim: !0 },
1662
1662
  label: r(n)("form.fields.cluster_node_ip.label"),
1663
1663
  "label-attributes": {
@@ -1670,7 +1670,7 @@ const ye = {
1670
1670
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1671
1671
  g(l, {
1672
1672
  modelValue: y.port,
1673
- "onUpdate:modelValue": (m) => y.port = m,
1673
+ "onUpdate:modelValue": (p) => y.port = p,
1674
1674
  label: r(n)("form.fields.cluster_node_port.label"),
1675
1675
  "label-attributes": {
1676
1676
  info: r(n)("form.fields.cluster_node_port.tooltip"),
@@ -1692,7 +1692,7 @@ const ye = {
1692
1692
  }, {
1693
1693
  default: S(() => [
1694
1694
  g(r(Sn)),
1695
- 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)
1696
1696
  ]),
1697
1697
  _: 1
1698
1698
  }, 8, ["disabled"])
@@ -1728,9 +1728,9 @@ const ye = {
1728
1728
  t.value.splice(a, 1);
1729
1729
  };
1730
1730
  return (a, c) => {
1731
- const p = $("KLabel"), l = $("KInput"), u = $("KButton");
1732
- return I(), J("div", null, [
1733
- g(p, {
1731
+ const f = $("KLabel"), l = $("KInput"), u = $("KButton");
1732
+ return k(), J("div", null, [
1733
+ g(f, {
1734
1734
  class: "required",
1735
1735
  info: r(n)("form.fields.sentinel_nodes.tooltip"),
1736
1736
  "tooltip-attributes": { maxWidth: "400" }
@@ -1740,18 +1740,18 @@ const ye = {
1740
1740
  ]),
1741
1741
  _: 1
1742
1742
  }, 8, ["info"]),
1743
- K("div", null, [
1744
- (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, {
1745
1745
  key: y.id,
1746
1746
  "data-testid": "redis-sentinel-nodes",
1747
1747
  disabled: e.readonly,
1748
- onRemoveItem: (m) => i(w)
1748
+ onRemoveItem: (p) => i(w)
1749
1749
  }, {
1750
1750
  default: S(() => [
1751
- K("div", Ws, [
1751
+ z("div", Ws, [
1752
1752
  g(l, {
1753
1753
  modelValue: y.host,
1754
- "onUpdate:modelValue": (m) => y.host = m,
1754
+ "onUpdate:modelValue": (p) => y.host = p,
1755
1755
  modelModifiers: { trim: !0 },
1756
1756
  label: r(n)("form.fields.sentinel_node_host.label"),
1757
1757
  "label-attributes": {
@@ -1764,7 +1764,7 @@ const ye = {
1764
1764
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1765
1765
  g(l, {
1766
1766
  modelValue: y.port,
1767
- "onUpdate:modelValue": (m) => y.port = m,
1767
+ "onUpdate:modelValue": (p) => y.port = p,
1768
1768
  label: r(n)("form.fields.sentinel_node_port.label"),
1769
1769
  "label-attributes": {
1770
1770
  info: r(n)("form.fields.sentinel_node_port.tooltip"),
@@ -1786,7 +1786,7 @@ const ye = {
1786
1786
  }, {
1787
1787
  default: S(() => [
1788
1788
  g(r(Sn)),
1789
- 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)
1790
1790
  ]),
1791
1791
  _: 1
1792
1792
  }, 8, ["disabled"])
@@ -1896,47 +1896,47 @@ const ye = {
1896
1896
  referenceable: !0,
1897
1897
  encrypted: !0
1898
1898
  }
1899
- ], p = z(() => c.filter((l) => {
1899
+ ], f = B(() => c.filter((l) => {
1900
1900
  var u;
1901
1901
  return l.group === ((u = t.value) == null ? void 0 : u.auth_provider);
1902
1902
  }));
1903
1903
  return (l, u) => {
1904
1904
  const y = $("KInput"), w = $("KCheckbox");
1905
- return I(), J(fe, null, [
1906
- (I(!0), J(fe, null, tt(p.value, (m) => (I(), J(fe, {
1907
- 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
1908
1908
  }, [
1909
- m.type !== "boolean" ? (I(), J(fe, { key: 0 }, [
1909
+ p.type !== "boolean" ? (k(), J(fe, { key: 0 }, [
1910
1910
  g(y, {
1911
- modelValue: t.value[m.key],
1912
- "onUpdate:modelValue": (b) => t.value[m.key] = b,
1913
- "data-testid": `redis-${m.key}-input`,
1914
- label: m.label,
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,
1915
1915
  "label-attributes": {
1916
- info: m.tooltip,
1916
+ info: p.tooltip,
1917
1917
  tooltipAttributes: { maxWidth: "400" }
1918
1918
  },
1919
1919
  readonly: e.readonly,
1920
- required: m.required ?? !1,
1921
- "show-password-mask-toggle": m.encrypted,
1922
- type: m.encrypted ? "password" : "text"
1920
+ required: p.required ?? !1,
1921
+ "show-password-mask-toggle": p.encrypted,
1922
+ type: p.encrypted ? "password" : "text"
1923
1923
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "label", "label-attributes", "readonly", "required", "show-password-mask-toggle", "type"]),
1924
- m.referenceable ? (I(), F(r(xe), {
1924
+ p.referenceable ? (k(), F(r(De), {
1925
1925
  key: 0,
1926
1926
  class: "secret-picker-provider",
1927
1927
  disabled: e.readonly,
1928
- update: (b) => t.value[m.key] = b,
1929
- value: t.value[m.key] ?? "",
1930
- 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))
1931
1931
  }, null, 8, ["disabled", "update", "value"])) : X("", !0)
1932
- ], 64)) : (I(), F(w, {
1932
+ ], 64)) : (k(), F(w, {
1933
1933
  key: 1,
1934
- modelValue: t.value[m.key],
1935
- "onUpdate:modelValue": (b) => t.value[m.key] = b,
1936
- "data-testid": `redis-${m.key}-checkbox`,
1937
- label: m.label,
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,
1938
1938
  "label-attributes": {
1939
- info: m.tooltip,
1939
+ info: p.tooltip,
1940
1940
  tooltipAttributes: { maxWidth: "400" }
1941
1941
  },
1942
1942
  readonly: e.readonly
@@ -1983,12 +1983,12 @@ var Mt = (
1983
1983
  var n = this.serializeKey(t);
1984
1984
  return this.items.get(n);
1985
1985
  }, e.prototype.set = function(t, n, o) {
1986
- var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), p = {
1986
+ var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), f = {
1987
1987
  data: n,
1988
1988
  createdAt: c,
1989
1989
  expiresAt: a ? c + a : 1 / 0
1990
1990
  };
1991
- this.dispatchExpire(a, p, i), this.items.set(i, p);
1991
+ this.dispatchExpire(a, f, i), this.items.set(i, f);
1992
1992
  }, e.prototype.dispatchExpire = function(t, n, o) {
1993
1993
  var i = this;
1994
1994
  t && setTimeout(function() {
@@ -2024,14 +2024,14 @@ var ce = function() {
2024
2024
  }
2025
2025
  return e;
2026
2026
  }, ce.apply(this, arguments);
2027
- }, Ae = function(e, t, n, o) {
2027
+ }, xe = function(e, t, n, o) {
2028
2028
  function i(a) {
2029
2029
  return a instanceof n ? a : new n(function(c) {
2030
2030
  c(a);
2031
2031
  });
2032
2032
  }
2033
2033
  return new (n || (n = Promise))(function(a, c) {
2034
- function p(y) {
2034
+ function f(y) {
2035
2035
  try {
2036
2036
  u(o.next(y));
2037
2037
  } catch (w) {
@@ -2046,19 +2046,19 @@ var ce = function() {
2046
2046
  }
2047
2047
  }
2048
2048
  function u(y) {
2049
- y.done ? a(y.value) : i(y.value).then(p, l);
2049
+ y.done ? a(y.value) : i(y.value).then(f, l);
2050
2050
  }
2051
2051
  u((o = o.apply(e, t || [])).next());
2052
2052
  });
2053
- }, Pe = function(e, t) {
2053
+ }, Ae = function(e, t) {
2054
2054
  var n = { label: 0, sent: function() {
2055
2055
  if (a[0] & 1) throw a[1];
2056
2056
  return a[1];
2057
2057
  }, trys: [], ops: [] }, o, i, a, c;
2058
- return c = { next: 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() {
2059
2059
  return this;
2060
2060
  }), c;
2061
- function p(u) {
2061
+ function f(u) {
2062
2062
  return function(y) {
2063
2063
  return l([u, y]);
2064
2064
  };
@@ -2115,8 +2115,8 @@ var ce = function() {
2115
2115
  var o = n.call(e), i, a = [], c;
2116
2116
  try {
2117
2117
  for (; (t === void 0 || t-- > 0) && !(i = o.next()).done; ) a.push(i.value);
2118
- } catch (p) {
2119
- c = { error: p };
2118
+ } catch (f) {
2119
+ c = { error: f };
2120
2120
  } finally {
2121
2121
  try {
2122
2122
  i && !i.done && (n = o.return) && n.call(o);
@@ -2162,9 +2162,9 @@ function od(e, t, n) {
2162
2162
  }
2163
2163
  }
2164
2164
  var pn = function(e, t, n, o) {
2165
- return n === void 0 && (n = di), o === void 0 && (o = ui.ttl), Ae(void 0, void 0, void 0, function() {
2166
- var i, a, c, p, l, u, y;
2167
- 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) {
2168
2168
  switch (w.label) {
2169
2169
  case 0:
2170
2170
  if (!ld(t)) return [3, 5];
@@ -2174,7 +2174,7 @@ var pn = function(e, t, n, o) {
2174
2174
  case 2:
2175
2175
  return i = w.sent(), [3, 4];
2176
2176
  case 3:
2177
- return p = w.sent(), a = p, [3, 4];
2177
+ return f = w.sent(), a = f, [3, 4];
2178
2178
  case 4:
2179
2179
  return [3, 6];
2180
2180
  case 5:
@@ -2183,15 +2183,15 @@ var pn = function(e, t, n, o) {
2183
2183
  if (c = !1, l = { data: i, error: a, isValidating: c }, typeof i < "u")
2184
2184
  try {
2185
2185
  n.set(e, l, o);
2186
- } catch (m) {
2187
- console.error("swrv(mutate): failed to set cache", m);
2186
+ } catch (p) {
2187
+ console.error("swrv(mutate): failed to set cache", p);
2188
2188
  }
2189
- return u = et.get(e), u && u.data.length && (y = u.data.filter(function(m) {
2190
- return m.key === e;
2191
- }), y.forEach(function(m, b) {
2192
- typeof l.data < "u" && (m.data = l.data), m.error = l.error, m.isValidating = l.isValidating, m.isLoading = l.isValidating;
2193
- var _ = b === y.length - 1;
2194
- _ || delete y[b];
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];
2195
2195
  }), y = y.filter(Boolean)), [2, l];
2196
2196
  }
2197
2197
  });
@@ -2200,12 +2200,12 @@ var pn = function(e, t, n, o) {
2200
2200
  function ad() {
2201
2201
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
2202
2202
  t[n] = arguments[n];
2203
- var o, i, a = ce({}, ui), c = !1, 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;
2204
2204
  if (!u)
2205
2205
  return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."), null;
2206
2206
  var y = (u == null ? void 0 : u.$isServer) || !1;
2207
2207
  t.length >= 1 && (o = t[0]), t.length >= 2 && (i = t[1]), t.length > 2 && (a = ce(ce({}, a), t[2]));
2208
- var w = y ? a.serverTTL : a.ttl, m = typeof o == "function" ? o : x(o);
2208
+ var w = y ? a.serverTTL : a.ttl, p = typeof o == "function" ? o : x(o);
2209
2209
  typeof i > "u" && (i = a.fetcher);
2210
2210
  var b = null;
2211
2211
  b || (b = mn({
@@ -2215,22 +2215,22 @@ function ad() {
2215
2215
  isLoading: !0,
2216
2216
  key: null
2217
2217
  }));
2218
- var _ = function(k, d) {
2219
- return Ae(e, void 0, void 0, function() {
2218
+ var m = function(I, s) {
2219
+ return xe(e, void 0, void 0, function() {
2220
2220
  var O, P, W, Y, ne, de, ie, he = this;
2221
- return Pe(this, function(re) {
2221
+ return Ae(this, function(re) {
2222
2222
  switch (re.label) {
2223
2223
  case 0:
2224
- return O = b.data === void 0, P = m.value, P ? (W = a.cache.get(P), Y = W && W.data, b.isValidating = !0, b.isLoading = !Y, Y && (b.data = Y.data, b.error = Y.error), ne = k || i, !ne || !a.isDocumentVisible() && !O || (d == null ? void 0 : d.forceRevalidate) !== void 0 && !(d != null && d.forceRevalidate) ? (b.isValidating = !1, b.isLoading = !1, [
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, [
2225
2225
  2
2226
2226
  /*return*/
2227
- ]) : 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, [
2228
2228
  2
2229
2229
  /*return*/
2230
2230
  ]) : (ie = function() {
2231
- return Ae(he, void 0, void 0, function() {
2231
+ return xe(he, void 0, void 0, function() {
2232
2232
  var oe, we, Te, Re;
2233
- return Pe(this, function(ve) {
2233
+ return Ae(this, function(ve) {
2234
2234
  switch (ve.label) {
2235
2235
  case 0:
2236
2236
  return oe = gt.get(P), oe ? [3, 2] : (we = Array.isArray(P) ? P : [P], Te = ne.apply(void 0, id([], nd(we), !1)), gt.set(P, Te, a.dedupingInterval), [4, pn(P, Te, a.cache, w)]);
@@ -2241,7 +2241,7 @@ function ad() {
2241
2241
  case 3:
2242
2242
  ve.sent(), ve.label = 4;
2243
2243
  case 4:
2244
- return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (Re = !c && a.shouldRetryOnError && (d ? d.shouldRetryOnError : !0), Re && od(_, 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)), [
2245
2245
  2
2246
2246
  /*return*/
2247
2247
  ];
@@ -2249,8 +2249,8 @@ function ad() {
2249
2249
  });
2250
2250
  });
2251
2251
  }, Y && a.revalidateDebounce ? (setTimeout(function() {
2252
- return Ae(he, void 0, void 0, function() {
2253
- return Pe(this, function(oe) {
2252
+ return xe(he, void 0, void 0, function() {
2253
+ return Ae(this, function(oe) {
2254
2254
  switch (oe.label) {
2255
2255
  case 0:
2256
2256
  return c ? [3, 2] : [4, ie()];
@@ -2281,25 +2281,25 @@ function ad() {
2281
2281
  });
2282
2282
  });
2283
2283
  }, E = function() {
2284
- return Ae(e, void 0, void 0, function() {
2285
- return Pe(this, function(k) {
2286
- 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 })];
2287
2287
  });
2288
2288
  });
2289
- }, s = null;
2289
+ }, d = null;
2290
2290
  yi(function() {
2291
- var k = function() {
2292
- return Ae(e, void 0, void 0, function() {
2293
- return Pe(this, function(d) {
2294
- 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) {
2295
2295
  case 0:
2296
- return !b.error && a.isOnline() ? [4, _()] : [3, 2];
2296
+ return !b.error && a.isOnline() ? [4, m()] : [3, 2];
2297
2297
  case 1:
2298
- return d.sent(), [3, 3];
2298
+ return s.sent(), [3, 3];
2299
2299
  case 2:
2300
- s && clearTimeout(s), d.label = 3;
2300
+ d && clearTimeout(d), s.label = 3;
2301
2301
  case 3:
2302
- return a.refreshInterval && !c && (s = setTimeout(k, a.refreshInterval)), [
2302
+ return a.refreshInterval && !c && (d = setTimeout(I, a.refreshInterval)), [
2303
2303
  2
2304
2304
  /*return*/
2305
2305
  ];
@@ -2307,24 +2307,24 @@ function ad() {
2307
2307
  });
2308
2308
  });
2309
2309
  };
2310
- a.refreshInterval && (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));
2311
2311
  }), vi(function() {
2312
- c = !0, s && clearTimeout(s), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", E, !1), window.removeEventListener("focus", E, !1));
2313
- var k = et.get(m.value);
2314
- k && (k.data = k.data.filter(function(d) {
2315
- return d !== b;
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;
2316
2316
  }));
2317
2317
  });
2318
2318
  try {
2319
- Ee(m, function(k) {
2320
- hi(m) || (m.value = k), b.key = k, b.isValidating = !!k, rd(m.value, b, w), !y && !p && m.value && _(), p = !1;
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;
2321
2321
  }, {
2322
2322
  immediate: !0
2323
2323
  });
2324
2324
  } catch {
2325
2325
  }
2326
- var A = ce(ce({}, wi(b)), { mutate: function(k, d) {
2327
- 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 }));
2328
2328
  } });
2329
2329
  return A;
2330
2330
  }
@@ -2335,14 +2335,14 @@ function ci(e) {
2335
2335
  return `redis-partial-links-${e}`;
2336
2336
  }
2337
2337
  const Fe = (e) => {
2338
- const { axiosInstance: t } = kt(e.axiosRequestConfig);
2338
+ const { axiosInstance: t } = It(e.axiosRequestConfig);
2339
2339
  return {
2340
2340
  fetcher: async (n) => {
2341
2341
  const { partialId: o, size: i, offset: a, query: c } = n;
2342
- let p = `${e.apiBaseUrl}${Me.links[e.app]}`;
2343
- e.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "")), p = p.replace(/{id}/gi, o || ""), c && (p = `${p}?${c}`);
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}`);
2344
2344
  const { data: l } = await t.get(
2345
- p,
2345
+ f,
2346
2346
  { params: { size: i, offset: a } }
2347
2347
  );
2348
2348
  return l;
@@ -2400,38 +2400,38 @@ const Fe = (e) => {
2400
2400
  setup(e, { emit: t }) {
2401
2401
  const n = e, o = t, { i18n: { t: i }, i18nT: a } = ye.useI18n(), {
2402
2402
  vaultSecretPickerSetup: c,
2403
- setUpVaultSecretPicker: p,
2403
+ setUpVaultSecretPicker: f,
2404
2404
  handleVaultSecretPickerAutofill: l
2405
- } = si(), u = Tn(), y = x("json"), w = z(() => [
2405
+ } = si(), u = Tn(), y = x("json"), w = B(() => [
2406
2406
  {
2407
2407
  label: i("form.options.type.host_port"),
2408
2408
  group: i("form.options.type.enterprise"),
2409
2409
  value: T.HOST_PORT_EE,
2410
2410
  selected: O.value === T.HOST_PORT_EE,
2411
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2411
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2412
2412
  },
2413
2413
  {
2414
2414
  label: i("form.options.type.cluster"),
2415
2415
  group: i("form.options.type.enterprise"),
2416
2416
  value: T.CLUSTER,
2417
2417
  selected: O.value === T.CLUSTER,
2418
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2418
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2419
2419
  },
2420
2420
  {
2421
2421
  label: i("form.options.type.sentinel"),
2422
2422
  group: i("form.options.type.enterprise"),
2423
2423
  value: T.SENTINEL,
2424
2424
  selected: O.value === T.SENTINEL,
2425
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2425
+ disabled: !s && n.disabledPartialType === Z.REDIS_EE
2426
2426
  },
2427
2427
  {
2428
2428
  label: i("form.options.type.host_port"),
2429
2429
  group: i("form.options.type.open_source"),
2430
2430
  value: T.HOST_PORT_CE,
2431
2431
  selected: O.value === T.HOST_PORT_CE,
2432
- disabled: d && P.value || !d && n.disabledPartialType === Z.REDIS_CE
2432
+ disabled: s && P.value || !s && n.disabledPartialType === Z.REDIS_CE
2433
2433
  }
2434
- ]), m = z(() => [
2434
+ ]), p = B(() => [
2435
2435
  {
2436
2436
  label: i("form.options.auth_provider.aws"),
2437
2437
  value: q.AWS
@@ -2448,14 +2448,14 @@ const Fe = (e) => {
2448
2448
  { label: i("form.options.sentinel_role.master"), value: "master" },
2449
2449
  { label: i("form.options.sentinel_role.slave"), value: "slave" },
2450
2450
  { label: i("form.options.sentinel_role.any"), value: "any" }
2451
- ], _ = (H) => {
2452
- const v = H.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
2453
- return `${H.label}${v}`;
2454
- }, E = () => n.disabledPartialType && Xe($e) === n.disabledPartialType ? n.disabledPartialType === Z.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : $e, {
2455
- form: s,
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,
2456
2456
  canSubmit: A,
2457
- payload: k,
2458
- isEdit: d,
2457
+ payload: I,
2458
+ isEdit: s,
2459
2459
  redisType: O,
2460
2460
  redisTypeIsEnterprise: P,
2461
2461
  fetchUrl: W,
@@ -2466,62 +2466,62 @@ const Fe = (e) => {
2466
2466
  defaultRedisType: E(),
2467
2467
  config: n.config,
2468
2468
  cloudAuthAvailable: n.config.cloudAuthAvailable
2469
- }), { fetcher: de } = Fe(n.config), ie = x(!1), he = x(!1), re = x(0), oe = z(() => y.value === "terraform" ? {
2470
- [k.value.type.replaceAll("-", "_")]: Es(k.value, ["type"])
2471
- } : 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 () => {
2472
2472
  try {
2473
- if (d && !he.value) {
2473
+ if (s && !he.value) {
2474
2474
  const { count: v } = await de({ partialId: n.partialId });
2475
2475
  if (re.value = v, v > 0) {
2476
2476
  ie.value = !0;
2477
2477
  return;
2478
2478
  }
2479
2479
  }
2480
- const { data: H } = await Y();
2481
- o("update", H);
2482
- } catch (H) {
2483
- o("error", H);
2480
+ const { data: K } = await Y();
2481
+ o("update", K);
2482
+ } catch (K) {
2483
+ o("error", K);
2484
2484
  }
2485
2485
  }, Te = () => {
2486
2486
  ie.value = !1, he.value = !0, we();
2487
2487
  }, Re = () => {
2488
2488
  n.config.cancelRoute && u.push(n.config.cancelRoute), o("cancel");
2489
- }, ve = (H) => {
2490
- o("loading", H);
2491
- }, at = (H) => {
2492
- o("error", H);
2493
- }, ze = (H) => {
2494
- ne(H);
2489
+ }, ve = (K) => {
2490
+ o("loading", K);
2491
+ }, at = (K) => {
2492
+ o("error", K);
2493
+ }, ze = (K) => {
2494
+ ne(K);
2495
2495
  };
2496
2496
  return _n(async () => {
2497
- if (d) {
2498
- const { count: H } = await de({ partialId: n.partialId });
2499
- re.value = H;
2497
+ if (s) {
2498
+ const { count: K } = await de({ partialId: n.partialId });
2499
+ re.value = K;
2500
2500
  }
2501
- }), (H, v) => {
2501
+ }), (K, v) => {
2502
2502
  const lt = $("KAlert"), Se = $("KSelect"), N = $("KInput"), C = $("KCheckbox"), R = $("KModal");
2503
- return I(), J(fe, null, [
2504
- K("div", sd, [
2505
- g(r(Ii), {
2503
+ return k(), J(fe, null, [
2504
+ z("div", sd, [
2505
+ g(r(ki), {
2506
2506
  "action-teleport-target": e.actionTeleportTarget,
2507
2507
  "can-submit": r(A),
2508
2508
  config: e.config,
2509
2509
  "edit-id": e.partialId,
2510
2510
  "entity-type": r(vn).Partial,
2511
- "error-message": r(s).errorMessage,
2511
+ "error-message": r(d).errorMessage,
2512
2512
  "fetch-url": r(W),
2513
2513
  "form-fields": oe.value,
2514
- "is-readonly": r(s).readonly,
2514
+ "is-readonly": r(d).readonly,
2515
2515
  "slidout-top-offset": e.slidoutTopOffset,
2516
2516
  onCancel: Re,
2517
- onCodeBlockTabChange: v[32] || (v[32] = (f) => y.value = f),
2517
+ onCodeBlockTabChange: v[31] || (v[31] = (_) => y.value = _),
2518
2518
  "onFetch:error": at,
2519
2519
  "onFetch:success": ze,
2520
2520
  onLoading: ve,
2521
2521
  onSubmit: we
2522
2522
  }, {
2523
2523
  default: S(() => [
2524
- re.value > 0 && r(d) ? (I(), F(lt, {
2524
+ re.value > 0 && r(s) ? (k(), F(lt, {
2525
2525
  key: 0,
2526
2526
  appearance: "warning",
2527
2527
  class: "warning-alert",
@@ -2533,7 +2533,7 @@ const Fe = (e) => {
2533
2533
  tag: "div"
2534
2534
  }, {
2535
2535
  pluginCount: S(() => [
2536
- 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)
2537
2537
  ]),
2538
2538
  _: 1
2539
2539
  })
@@ -2548,17 +2548,17 @@ const Fe = (e) => {
2548
2548
  default: S(() => [
2549
2549
  g(Se, {
2550
2550
  modelValue: r(O),
2551
- "onUpdate:modelValue": v[0] || (v[0] = (f) => Ti(O) ? O.value = f : null),
2551
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => Ti(O) ? O.value = _ : null),
2552
2552
  "data-testid": "redis-type-select",
2553
- disabled: r(d) && r(O) === r(T).HOST_PORT_CE,
2553
+ disabled: r(s) && r(O) === r(T).HOST_PORT_CE,
2554
2554
  items: w.value,
2555
2555
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
2556
2556
  label: r(i)("form.fields.type.label"),
2557
- readonly: r(s).readonly,
2557
+ readonly: r(d).readonly,
2558
2558
  required: ""
2559
2559
  }, {
2560
- "selected-item-template": S(({ item: f }) => [
2561
- le(U(_(f)), 1)
2560
+ "selected-item-template": S(({ item: _ }) => [
2561
+ le(U(m(_)), 1)
2562
2562
  ]),
2563
2563
  _: 1
2564
2564
  }, 8, ["modelValue", "disabled", "items", "label", "readonly"])
@@ -2572,19 +2572,19 @@ const Fe = (e) => {
2572
2572
  }, {
2573
2573
  default: S(() => [
2574
2574
  g(N, {
2575
- modelValue: r(s).fields.name,
2576
- "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 = _),
2577
2577
  modelModifiers: { trim: !0 },
2578
2578
  "data-testid": "redis-name-input",
2579
- disabled: r(d),
2579
+ disabled: r(s),
2580
2580
  label: r(i)("form.fields.name.label"),
2581
2581
  placeholder: r(i)("form.fields.name.placeholder"),
2582
- readonly: r(s).readonly,
2582
+ readonly: r(d).readonly,
2583
2583
  required: ""
2584
2584
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
2585
2585
  g(N, {
2586
- modelValue: r(s).fields.tags,
2587
- "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 = _),
2588
2588
  modelModifiers: { trim: !0 },
2589
2589
  "data-testid": "redis-tags-input",
2590
2590
  help: r(i)("form.fields.tags.help"),
@@ -2594,12 +2594,12 @@ const Fe = (e) => {
2594
2594
  tooltipAttributes: { maxWidth: "400" }
2595
2595
  },
2596
2596
  placeholder: r(i)("form.fields.tags.placeholder"),
2597
- readonly: r(s).readonly
2597
+ readonly: r(d).readonly
2598
2598
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
2599
2599
  ]),
2600
2600
  _: 1
2601
2601
  }, 8, ["description", "title"]),
2602
- e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (I(), F(r(ue), {
2602
+ e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (k(), F(r(ue), {
2603
2603
  key: 1,
2604
2604
  "data-testid": "redis-cloud-auth-section",
2605
2605
  description: r(i)("form.sections.cloud_auth.description"),
@@ -2607,26 +2607,26 @@ const Fe = (e) => {
2607
2607
  }, {
2608
2608
  default: S(() => [
2609
2609
  g(Se, {
2610
- modelValue: r(s).fields.config.cloud_authentication.auth_provider,
2611
- "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 = _),
2612
2612
  clearable: "",
2613
2613
  "data-testid": "redis-auth-provider-select",
2614
- items: m.value,
2614
+ items: p.value,
2615
2615
  "kpop-attributes": { "data-testid": "redis-auth-provider-select-popover" },
2616
2616
  label: r(i)("form.fields.cloud_authentication.auth_provider.label"),
2617
2617
  "label-attributes": { info: r(i)("form.fields.cloud_authentication.auth_provider.tooltip") },
2618
- readonly: r(s).readonly
2618
+ readonly: r(d).readonly
2619
2619
  }, null, 8, ["modelValue", "items", "label", "label-attributes", "readonly"]),
2620
2620
  g(Zs, {
2621
- modelValue: r(s).fields.config.cloud_authentication,
2622
- "onUpdate:modelValue": v[4] || (v[4] = (f) => r(s).fields.config.cloud_authentication = f),
2621
+ modelValue: r(d).fields.config.cloud_authentication,
2622
+ "onUpdate:modelValue": v[4] || (v[4] = (_) => r(d).fields.config.cloud_authentication = _),
2623
2623
  config: n.config,
2624
- readonly: r(s).readonly
2624
+ readonly: r(d).readonly
2625
2625
  }, null, 8, ["modelValue", "config", "readonly"])
2626
2626
  ]),
2627
2627
  _: 1
2628
2628
  }, 8, ["description", "title"])) : X("", !0),
2629
- r(O) === r(T).SENTINEL ? (I(), F(r(ue), {
2629
+ r(O) === r(T).SENTINEL ? (k(), F(r(ue), {
2630
2630
  key: 2,
2631
2631
  "data-testid": "redis-sentinel-configuration-section",
2632
2632
  description: r(i)("form.sections.sentinel_configuration.description"),
@@ -2634,20 +2634,20 @@ const Fe = (e) => {
2634
2634
  }, {
2635
2635
  default: S(() => [
2636
2636
  g(N, {
2637
- modelValue: r(s).fields.config.sentinel_master,
2638
- "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 = _),
2639
2639
  "data-testid": "redis-sentinel-master-input",
2640
2640
  label: r(i)("form.fields.sentinel_master.label"),
2641
2641
  "label-attributes": {
2642
2642
  info: r(i)("form.fields.sentinel_master.tooltip"),
2643
2643
  tooltipAttributes: { maxWidth: "400" }
2644
2644
  },
2645
- readonly: r(s).readonly,
2645
+ readonly: r(d).readonly,
2646
2646
  required: ""
2647
2647
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2648
2648
  g(Se, {
2649
- modelValue: r(s).fields.config.sentinel_role,
2650
- "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 = _),
2651
2651
  "data-testid": "redis-sentinel-role-select",
2652
2652
  items: b,
2653
2653
  "kpop-attributes": { "data-testid": "redis-sentinel-role-select-popover" },
@@ -2656,56 +2656,56 @@ const Fe = (e) => {
2656
2656
  info: r(i)("form.fields.sentinel_role.tooltip"),
2657
2657
  tooltipAttributes: { maxWidth: "400" }
2658
2658
  },
2659
- readonly: r(s).readonly,
2659
+ readonly: r(d).readonly,
2660
2660
  required: ""
2661
2661
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2662
2662
  g(Gs, {
2663
- modelValue: r(s).fields.config.sentinel_nodes,
2664
- "onUpdate:modelValue": v[7] || (v[7] = (f) => r(s).fields.config.sentinel_nodes = f),
2665
- readonly: r(s).readonly
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
2666
2666
  }, null, 8, ["modelValue", "readonly"]),
2667
2667
  g(N, {
2668
- modelValue: r(s).fields.config.sentinel_username,
2669
- "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 = _),
2670
2670
  modelModifiers: { trim: !0 },
2671
2671
  label: r(i)("form.fields.sentinel_username.label"),
2672
2672
  "label-attributes": {
2673
2673
  info: r(i)("form.fields.sentinel_username.tooltip"),
2674
2674
  tooltipAttributes: { maxWidth: "400" }
2675
2675
  },
2676
- readonly: r(s).readonly
2676
+ readonly: r(d).readonly
2677
2677
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2678
- g(r(xe), {
2678
+ g(r(De), {
2679
2679
  class: "secret-picker-provider",
2680
- disabled: r(s).readonly,
2681
- update: (f) => r(s).fields.config.sentinel_username = f,
2682
- value: r(s).fields.config.sentinel_username,
2683
- onOpen: v[9] || (v[9] = (f, B) => r(p)(f, B))
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))
2684
2684
  }, null, 8, ["disabled", "update", "value"]),
2685
2685
  g(N, {
2686
- modelValue: r(s).fields.config.sentinel_password,
2687
- "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 = _),
2688
2688
  modelModifiers: { trim: !0 },
2689
2689
  label: r(i)("form.fields.sentinel_password.label"),
2690
2690
  "label-attributes": {
2691
2691
  info: r(i)("form.fields.sentinel_password.tooltip"),
2692
2692
  tooltipAttributes: { maxWidth: "400" }
2693
2693
  },
2694
- readonly: r(s).readonly,
2694
+ readonly: r(d).readonly,
2695
2695
  "show-password-mask-toggle": "",
2696
2696
  type: "password"
2697
2697
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2698
- g(r(xe), {
2698
+ g(r(De), {
2699
2699
  class: "secret-picker-provider",
2700
- disabled: r(s).readonly,
2701
- update: (f) => r(s).fields.config.sentinel_password = f,
2702
- value: r(s).fields.config.sentinel_password,
2703
- onOpen: v[11] || (v[11] = (f, B) => r(p)(f, B))
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))
2704
2704
  }, null, 8, ["disabled", "update", "value"])
2705
2705
  ]),
2706
2706
  _: 1
2707
2707
  }, 8, ["description", "title"])) : X("", !0),
2708
- r(O) === r(T).CLUSTER ? (I(), F(r(ue), {
2708
+ r(O) === r(T).CLUSTER ? (k(), F(r(ue), {
2709
2709
  key: 3,
2710
2710
  "data-testid": "redis-cluster-configuration-section",
2711
2711
  description: r(i)("form.sections.cluster.description"),
@@ -2713,20 +2713,20 @@ const Fe = (e) => {
2713
2713
  }, {
2714
2714
  default: S(() => [
2715
2715
  g(Hs, {
2716
- modelValue: r(s).fields.config.cluster_nodes,
2717
- "onUpdate:modelValue": v[12] || (v[12] = (f) => r(s).fields.config.cluster_nodes = f),
2718
- readonly: r(s).readonly
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
2719
2719
  }, null, 8, ["modelValue", "readonly"]),
2720
2720
  g(N, {
2721
- modelValue: r(s).fields.config.cluster_max_redirections,
2722
- "onUpdate:modelValue": v[13] || (v[13] = (f) => r(s).fields.config.cluster_max_redirections = f),
2721
+ modelValue: r(d).fields.config.cluster_max_redirections,
2722
+ "onUpdate:modelValue": v[13] || (v[13] = (_) => r(d).fields.config.cluster_max_redirections = _),
2723
2723
  "data-testid": "redis-cluster-max-redirections-input",
2724
2724
  label: r(i)("form.fields.cluster_max_redirections.label"),
2725
2725
  "label-attributes": {
2726
2726
  info: r(i)("form.fields.cluster_max_redirections.tooltip"),
2727
2727
  tooltipAttributes: { maxWidth: "400" }
2728
2728
  },
2729
- readonly: r(s).readonly,
2729
+ readonly: r(d).readonly,
2730
2730
  type: "number"
2731
2731
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2732
2732
  ]),
@@ -2738,10 +2738,10 @@ const Fe = (e) => {
2738
2738
  title: r(i)("form.sections.connection.title")
2739
2739
  }, {
2740
2740
  default: S(() => [
2741
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2741
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2742
2742
  key: 0,
2743
- modelValue: r(s).fields.config.host,
2744
- "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 = _),
2745
2745
  modelModifiers: { trim: !0 },
2746
2746
  "data-testid": "redis-host-input",
2747
2747
  label: r(i)("form.fields.host.label"),
@@ -2749,12 +2749,12 @@ const Fe = (e) => {
2749
2749
  info: r(i)("form.fields.host.tooltip"),
2750
2750
  tooltipAttributes: { maxWidth: "400" }
2751
2751
  },
2752
- readonly: r(s).readonly
2752
+ readonly: r(d).readonly
2753
2753
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2754
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2754
+ r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (k(), F(N, {
2755
2755
  key: 1,
2756
- modelValue: r(s).fields.config.port,
2757
- "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 = _),
2758
2758
  modelModifiers: { trim: !0 },
2759
2759
  "data-testid": "redis-port-input",
2760
2760
  label: r(i)("form.fields.port.label"),
@@ -2762,32 +2762,25 @@ const Fe = (e) => {
2762
2762
  info: r(i)("form.fields.port.tooltip"),
2763
2763
  tooltipAttributes: { maxWidth: "400" }
2764
2764
  },
2765
- readonly: r(s).readonly
2765
+ readonly: r(d).readonly,
2766
+ type: "number"
2766
2767
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2767
- 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, {
2768
2769
  key: 2,
2769
- class: "secret-picker-provider",
2770
- disabled: r(s).readonly,
2771
- update: (f) => r(s).fields.config.port = f,
2772
- value: String(r(s).fields.config.port ?? ""),
2773
- onOpen: v[16] || (v[16] = (f, B) => r(p)(f, B))
2774
- }, null, 8, ["disabled", "update", "value"])) : X("", !0),
2775
- r(O) === r(T).HOST_PORT_EE ? (I(), F(C, {
2776
- key: 3,
2777
- modelValue: r(s).fields.config.connection_is_proxied,
2778
- "onUpdate:modelValue": v[17] || (v[17] = (f) => r(s).fields.config.connection_is_proxied = f),
2770
+ modelValue: r(d).fields.config.connection_is_proxied,
2771
+ "onUpdate:modelValue": v[16] || (v[16] = (_) => r(d).fields.config.connection_is_proxied = _),
2779
2772
  "data-testid": "redis-connection-is-proxied-checkbox",
2780
- disabled: r(s).readonly,
2773
+ disabled: r(d).readonly,
2781
2774
  label: r(i)("form.fields.connection_is_proxied.label"),
2782
2775
  "label-attributes": {
2783
2776
  info: r(i)("form.fields.connection_is_proxied.tooltip"),
2784
2777
  tooltipAttributes: { maxWidth: "400" }
2785
2778
  }
2786
2779
  }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2787
- r(O) === r(T).HOST_PORT_CE ? (I(), F(N, {
2788
- key: 4,
2789
- modelValue: r(s).fields.config.timeout,
2790
- "onUpdate:modelValue": v[18] || (v[18] = (f) => r(s).fields.config.timeout = f),
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 = _),
2791
2784
  modelModifiers: { trim: !0 },
2792
2785
  "data-testid": "redis-timeout-input",
2793
2786
  label: r(i)("form.fields.timeout.label"),
@@ -2795,12 +2788,12 @@ const Fe = (e) => {
2795
2788
  info: r(i)("form.fields.timeout.tooltip"),
2796
2789
  tooltipAttributes: { maxWidth: "400" }
2797
2790
  },
2798
- readonly: r(s).readonly,
2791
+ readonly: r(d).readonly,
2799
2792
  type: "number"
2800
2793
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2801
2794
  g(N, {
2802
- modelValue: r(s).fields.config.database,
2803
- "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 = _),
2804
2797
  modelModifiers: { trim: !0 },
2805
2798
  "data-testid": "redis-database-input",
2806
2799
  label: r(i)("form.fields.database.label"),
@@ -2808,12 +2801,12 @@ const Fe = (e) => {
2808
2801
  info: r(i)("form.fields.database.tooltip"),
2809
2802
  tooltipAttributes: { maxWidth: "400" }
2810
2803
  },
2811
- readonly: r(s).readonly,
2804
+ readonly: r(d).readonly,
2812
2805
  type: "number"
2813
2806
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2814
2807
  g(N, {
2815
- modelValue: r(s).fields.config.username,
2816
- "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 = _),
2817
2810
  modelModifiers: { trim: !0 },
2818
2811
  "data-testid": "redis-username-input",
2819
2812
  label: r(i)("form.fields.username.label"),
@@ -2821,18 +2814,18 @@ const Fe = (e) => {
2821
2814
  info: r(i)("form.fields.username.tooltip"),
2822
2815
  tooltipAttributes: { maxWidth: "400" }
2823
2816
  },
2824
- readonly: r(s).readonly
2817
+ readonly: r(d).readonly
2825
2818
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2826
- g(r(xe), {
2819
+ g(r(De), {
2827
2820
  class: "secret-picker-provider",
2828
- disabled: r(s).readonly,
2829
- update: (f) => r(s).fields.config.username = f,
2830
- value: r(s).fields.config.username,
2831
- onOpen: v[21] || (v[21] = (f, B) => r(p)(f, B))
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))
2832
2825
  }, null, 8, ["disabled", "update", "value"]),
2833
2826
  g(N, {
2834
- modelValue: r(s).fields.config.password,
2835
- "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 = _),
2836
2829
  modelModifiers: { trim: !0 },
2837
2830
  "data-testid": "redis-password-input",
2838
2831
  label: r(i)("form.fields.password.label"),
@@ -2840,16 +2833,16 @@ const Fe = (e) => {
2840
2833
  info: r(i)("form.fields.password.tooltip"),
2841
2834
  tooltipAttributes: { maxWidth: "400" }
2842
2835
  },
2843
- readonly: r(s).readonly,
2836
+ readonly: r(d).readonly,
2844
2837
  "show-password-mask-toggle": "",
2845
2838
  type: "password"
2846
2839
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2847
- g(r(xe), {
2840
+ g(r(De), {
2848
2841
  class: "secret-picker-provider",
2849
- disabled: r(s).readonly,
2850
- update: (f) => r(s).fields.config.password = f,
2851
- value: r(s).fields.config.password,
2852
- onOpen: v[23] || (v[23] = (f, B) => r(p)(f, B))
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))
2853
2846
  }, null, 8, ["disabled", "update", "value"])
2854
2847
  ]),
2855
2848
  _: 1
@@ -2861,11 +2854,11 @@ const Fe = (e) => {
2861
2854
  }, {
2862
2855
  default: S(() => [
2863
2856
  g(C, {
2864
- modelValue: r(s).fields.config.ssl,
2865
- "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 = _),
2866
2859
  "data-testid": "redis-ssl-checkbox",
2867
2860
  description: r(i)("form.fields.ssl.description"),
2868
- disabled: r(s).readonly,
2861
+ disabled: r(d).readonly,
2869
2862
  label: r(i)("form.fields.ssl.label"),
2870
2863
  "label-attributes": {
2871
2864
  info: r(i)("form.fields.ssl.tooltip"),
@@ -2873,11 +2866,11 @@ const Fe = (e) => {
2873
2866
  }
2874
2867
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2875
2868
  g(C, {
2876
- modelValue: r(s).fields.config.ssl_verify,
2877
- "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 = _),
2878
2871
  "data-testid": "redis-ssl-verify-checkbox",
2879
2872
  description: r(i)("form.fields.ssl_verify.description"),
2880
- disabled: r(s).readonly,
2873
+ disabled: r(d).readonly,
2881
2874
  label: r(i)("form.fields.ssl_verify.label"),
2882
2875
  "label-attributes": {
2883
2876
  info: r(i)("form.fields.ssl_verify.tooltip"),
@@ -2885,20 +2878,20 @@ const Fe = (e) => {
2885
2878
  }
2886
2879
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2887
2880
  g(N, {
2888
- modelValue: r(s).fields.config.server_name,
2889
- "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 = _),
2890
2883
  modelModifiers: { trim: !0 },
2891
2884
  label: r(i)("form.fields.server_name.label"),
2892
2885
  "label-attributes": {
2893
2886
  info: r(i)("form.fields.server_name.tooltip"),
2894
2887
  tooltipAttributes: { maxWidth: "400" }
2895
2888
  },
2896
- readonly: r(s).readonly
2889
+ readonly: r(d).readonly
2897
2890
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2898
2891
  ]),
2899
2892
  _: 1
2900
2893
  }, 8, ["description", "title"]),
2901
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2894
+ r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2902
2895
  key: 4,
2903
2896
  "data-testid": "redis-keepalive-section",
2904
2897
  description: r(i)("form.sections.keepalive.description"),
@@ -2906,33 +2899,33 @@ const Fe = (e) => {
2906
2899
  }, {
2907
2900
  default: S(() => [
2908
2901
  g(N, {
2909
- modelValue: r(s).fields.config.keepalive_backlog,
2910
- "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 = _),
2911
2904
  "data-testid": "redis-keepalive-backlog-input",
2912
2905
  label: r(i)("form.fields.keepalive_backlog.label"),
2913
2906
  "label-attributes": {
2914
2907
  info: r(i)("form.fields.keepalive_backlog.tooltip"),
2915
2908
  tooltipAttributes: { maxWidth: "400" }
2916
2909
  },
2917
- readonly: r(s).readonly,
2910
+ readonly: r(d).readonly,
2918
2911
  type: "number"
2919
2912
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2920
2913
  g(N, {
2921
- modelValue: r(s).fields.config.keepalive_pool_size,
2922
- "onUpdate:modelValue": v[28] || (v[28] = (f) => r(s).fields.config.keepalive_pool_size = f),
2914
+ modelValue: r(d).fields.config.keepalive_pool_size,
2915
+ "onUpdate:modelValue": v[27] || (v[27] = (_) => r(d).fields.config.keepalive_pool_size = _),
2923
2916
  "data-testid": "redis-keepalive-pool-size-input",
2924
2917
  label: r(i)("form.fields.keepalive_pool_size.label"),
2925
2918
  "label-attributes": {
2926
2919
  info: r(i)("form.fields.keepalive_pool_size.tooltip"),
2927
2920
  tooltipAttributes: { maxWidth: "400" }
2928
2921
  },
2929
- readonly: r(s).readonly,
2922
+ readonly: r(d).readonly,
2930
2923
  type: "number"
2931
2924
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2932
2925
  ]),
2933
2926
  _: 1
2934
2927
  }, 8, ["description", "title"])) : X("", !0),
2935
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2928
+ r(O) !== r(T).HOST_PORT_CE ? (k(), F(r(ue), {
2936
2929
  key: 5,
2937
2930
  "data-testid": "redis-read-write-configuration-section",
2938
2931
  description: r(i)("form.sections.read_write_configuration.description"),
@@ -2940,39 +2933,39 @@ const Fe = (e) => {
2940
2933
  }, {
2941
2934
  default: S(() => [
2942
2935
  g(N, {
2943
- modelValue: r(s).fields.config.read_timeout,
2944
- "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 = _),
2945
2938
  "data-testid": "redis-read-timeout-input",
2946
2939
  label: r(i)("form.fields.read_timeout.label"),
2947
2940
  "label-attributes": {
2948
2941
  info: r(i)("form.fields.read_timeout.tooltip"),
2949
2942
  tooltipAttributes: { maxWidth: "400" }
2950
2943
  },
2951
- readonly: r(s).readonly,
2944
+ readonly: r(d).readonly,
2952
2945
  type: "number"
2953
2946
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2954
2947
  g(N, {
2955
- modelValue: r(s).fields.config.send_timeout,
2956
- "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 = _),
2957
2950
  "data-testid": "redis-send-timeout-input",
2958
2951
  label: r(i)("form.fields.send_timeout.label"),
2959
2952
  "label-attributes": {
2960
2953
  info: r(i)("form.fields.send_timeout.tooltip"),
2961
2954
  tooltipAttributes: { maxWidth: "400" }
2962
2955
  },
2963
- readonly: r(s).readonly,
2956
+ readonly: r(d).readonly,
2964
2957
  type: "number"
2965
2958
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2966
2959
  g(N, {
2967
- modelValue: r(s).fields.config.connect_timeout,
2968
- "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 = _),
2969
2962
  "data-testid": "redis-connect-timeout-input",
2970
2963
  label: r(i)("form.fields.connect_timeout.label"),
2971
2964
  "label-attributes": {
2972
2965
  info: r(i)("form.fields.connect_timeout.tooltip"),
2973
2966
  tooltipAttributes: { maxWidth: "400" }
2974
2967
  },
2975
- readonly: r(s).readonly,
2968
+ readonly: r(d).readonly,
2976
2969
  type: "number"
2977
2970
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2978
2971
  ]),
@@ -2985,7 +2978,7 @@ const Fe = (e) => {
2985
2978
  g(r(wn), {
2986
2979
  config: n.config,
2987
2980
  setup: r(c),
2988
- onCancel: v[33] || (v[33] = () => c.value = !1),
2981
+ onCancel: v[32] || (v[32] = () => c.value = !1),
2989
2982
  onProceed: r(l)
2990
2983
  }, null, 8, ["config", "setup", "onProceed"]),
2991
2984
  g(R, {
@@ -2995,7 +2988,7 @@ const Fe = (e) => {
2995
2988
  "max-width": "640",
2996
2989
  title: r(i)("form.edit_warning_modal.title"),
2997
2990
  visible: ie.value,
2998
- onCancel: v[34] || (v[34] = (f) => ie.value = !1),
2991
+ onCancel: v[33] || (v[33] = (_) => ie.value = !1),
2999
2992
  onProceed: Te
3000
2993
  }, {
3001
2994
  default: S(() => [
@@ -3004,7 +2997,7 @@ const Fe = (e) => {
3004
2997
  tag: "div"
3005
2998
  }, {
3006
2999
  pluginCount: S(() => [
3007
- 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)
3008
3001
  ]),
3009
3002
  _: 1
3010
3003
  })
@@ -3014,7 +3007,7 @@ const Fe = (e) => {
3014
3007
  ], 64);
3015
3008
  };
3016
3009
  }
3017
- }), ud = /* @__PURE__ */ te(dd, [["__scopeId", "data-v-8eb0e48b"]]), cd = {
3010
+ }), ud = /* @__PURE__ */ te(dd, [["__scopeId", "data-v-cdc92d39"]]), cd = {
3018
3011
  class: "linked-plugins",
3019
3012
  "data-testid": "linked-plugins-inline"
3020
3013
  }, bt = 7, fd = /* @__PURE__ */ Q({
@@ -3037,13 +3030,13 @@ const Fe = (e) => {
3037
3030
  });
3038
3031
  return (o, i) => {
3039
3032
  const a = $("KBadge");
3040
- return I(), J("div", cd, [
3041
- (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), {
3042
3035
  key: c.id,
3043
3036
  name: c.name,
3044
3037
  size: 24
3045
3038
  }, null, 8, ["name"]))), 128)),
3046
- r(n).length - bt > 0 ? (I(), F(a, {
3039
+ r(n).length - bt > 0 ? (k(), F(a, {
3047
3040
  key: 0,
3048
3041
  appearance: "info"
3049
3042
  }, {
@@ -3061,12 +3054,12 @@ const Fe = (e) => {
3061
3054
  pluginName: {}
3062
3055
  },
3063
3056
  setup(e) {
3064
- return (t, n) => (I(), J("div", md, [
3057
+ return (t, n) => (k(), J("div", md, [
3065
3058
  g(r(En), {
3066
3059
  name: e.pluginName,
3067
3060
  size: 24
3068
3061
  }, null, 8, ["name"]),
3069
- K("span", null, U(e.pluginName), 1)
3062
+ z("span", null, U(e.pluginName), 1)
3070
3063
  ]));
3071
3064
  }
3072
3065
  }), gd = /* @__PURE__ */ te(_d, [["__scopeId", "data-v-de964dc4"]]), bd = { class: "toolbar-container" }, yd = /* @__PURE__ */ Q({
@@ -3099,44 +3092,44 @@ const Fe = (e) => {
3099
3092
  { key: "name", label: i("linked_plugins_modal.headers.plugin") },
3100
3093
  { key: "instance_name", label: i("linked_plugins_modal.headers.instance_name") },
3101
3094
  { key: "actions", hideLabel: !0 }
3102
- ], { fetcher: c } = Fe(n.config), p = x(0), l = async (m) => {
3103
- 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({
3104
3097
  partialId: n.partialId,
3105
- size: m.pageSize,
3106
- offset: m.offset,
3107
- query: m.query
3098
+ size: p.pageSize,
3099
+ offset: p.offset,
3100
+ query: p.query
3108
3101
  });
3109
- p.value = _;
3102
+ f.value = m;
3110
3103
  const E = {
3111
- total: _,
3104
+ total: m,
3112
3105
  data: b
3113
3106
  };
3114
3107
  return o("load", E), E;
3115
- }, u = x(""), y = z(() => n.config.app === "konnect" || n.isExactMatch ? {
3108
+ }, u = x(""), y = B(() => n.config.app === "konnect" || n.isExactMatch ? {
3116
3109
  isExactMatch: !0
3117
3110
  } : {
3118
3111
  isExactMatch: !1,
3119
3112
  fields: { name: { searchable: !0 } },
3120
3113
  schema: { name: { type: "text" } }
3121
- }), w = (m) => {
3122
- o("view-plugin", { id: m.id, plugin: m.name });
3114
+ }), w = (p) => {
3115
+ o("view-plugin", { id: p.id, plugin: p.name });
3123
3116
  };
3124
- return (m, b) => {
3125
- const _ = $("KDropdownItem"), E = $("KTableData");
3126
- return I(), F(E, {
3117
+ return (p, b) => {
3118
+ const m = $("KDropdownItem"), E = $("KTableData");
3119
+ return k(), F(E, {
3127
3120
  "cache-identifier": r(ci)(e.partialId),
3128
3121
  fetcher: l,
3129
3122
  headers: a,
3130
3123
  "hide-pagination-when-optional": "",
3131
- "pagination-attributes": { totalCount: p.value, disablePageJump: !0 },
3124
+ "pagination-attributes": { totalCount: f.value, disablePageJump: !0 },
3132
3125
  "search-input": u.value
3133
3126
  }, gn({
3134
- name: S(({ rowValue: s }) => [
3135
- g(gd, { "plugin-name": s }, null, 8, ["plugin-name"])
3127
+ name: S(({ rowValue: d }) => [
3128
+ g(gd, { "plugin-name": d }, null, 8, ["plugin-name"])
3136
3129
  ]),
3137
- "action-items": S(({ row: s }) => [
3138
- g(_, {
3139
- onClick: (A) => w(s)
3130
+ "action-items": S(({ row: d }) => [
3131
+ g(m, {
3132
+ onClick: (A) => w(d)
3140
3133
  }, {
3141
3134
  default: S(() => [
3142
3135
  le(U(r(i)("actions.view_plugin")), 1)
@@ -3149,10 +3142,10 @@ const Fe = (e) => {
3149
3142
  e.filterBarEnabled ? {
3150
3143
  name: "toolbar",
3151
3144
  fn: S(() => [
3152
- K("div", bd, [
3145
+ z("div", bd, [
3153
3146
  g(r(hn), {
3154
3147
  modelValue: u.value,
3155
- "onUpdate:modelValue": b[0] || (b[0] = (s) => u.value = s),
3148
+ "onUpdate:modelValue": b[0] || (b[0] = (d) => u.value = d),
3156
3149
  config: y.value
3157
3150
  }, null, 8, ["modelValue", "config"])
3158
3151
  ])
@@ -3185,21 +3178,21 @@ const Fe = (e) => {
3185
3178
  },
3186
3179
  emits: ["cancel", "proceed", "view-plugin"],
3187
3180
  setup(e, { emit: t }) {
3188
- 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 = () => {
3189
3182
  n("cancel");
3190
- }, p = () => {
3183
+ }, f = () => {
3191
3184
  n("proceed");
3192
3185
  };
3193
3186
  return (l, u) => {
3194
3187
  const y = $("KModal");
3195
- return I(), J("div", hd, [
3188
+ return k(), J("div", hd, [
3196
3189
  g(y, {
3197
3190
  "action-button-text": r(o)("actions.done"),
3198
3191
  "hide-cancel-button": "",
3199
3192
  title: a.value,
3200
3193
  visible: e.visible,
3201
3194
  onCancel: c,
3202
- onProceed: p
3195
+ onProceed: f
3203
3196
  }, {
3204
3197
  default: S(() => [
3205
3198
  g(vd, {
@@ -3228,8 +3221,8 @@ const Fe = (e) => {
3228
3221
  o("close");
3229
3222
  };
3230
3223
  return (a, c) => {
3231
- const p = $("KModal");
3232
- return I(), F(p, {
3224
+ const f = $("KModal");
3225
+ return k(), F(f, {
3233
3226
  "action-button-text": r(n)("actions.close"),
3234
3227
  "data-testid": "remove-links-modal",
3235
3228
  "hide-cancel-button": "",
@@ -3246,7 +3239,7 @@ const Fe = (e) => {
3246
3239
  }, 8, ["action-button-text", "title", "visible"]);
3247
3240
  };
3248
3241
  }
3249
- }), Ed = { class: "kong-ui-entities-partials-list" }, Cd = 1e3, kd = /* @__PURE__ */ Q({
3242
+ }), Ed = { class: "kong-ui-entities-partials-list" }, Cd = 1e3, Id = /* @__PURE__ */ Q({
3250
3243
  __name: "RedisConfigurationList",
3251
3244
  props: {
3252
3245
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3293,21 +3286,21 @@ const Fe = (e) => {
3293
3286
  emits: ["click:learn-more", "click:plugin", "copy:error", "copy:success", "delete:success", "error"],
3294
3287
  setup(e, { emit: t }) {
3295
3288
  var N;
3296
- const n = t, o = e, i = z(() => {
3297
- var R, f;
3298
- let C = `${o.config.apiBaseUrl}${Me.list[o.config.app]}`;
3299
- return o.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((R = o.config) == null ? void 0 : R.controlPlaneId) || "") : o.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (f = o.config) != null && f.workspace ? `/${o.config.workspace}` : "")), C;
3300
- }), a = x(!1), c = x(""), p = x(null), l = x(void 0), u = x(!1), y = x(!1), w = x(""), m = x(!1), b = Oi(o.config, i.value), _ = x(1), E = z(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: s, fetcherState: A } = Ri(o.config, i);
3301
- async function k(C) {
3302
- const R = await s({ ...C, pageSize: Cd });
3303
- return R.data = R.data.filter((f) => f.type === Z.REDIS_CE || f.type === Z.REDIS_EE), R;
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;
3304
3297
  }
3305
- 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(() => {
3306
3299
  const C = o.config.app === "konnect" || o.config.isExactMatch;
3307
3300
  if (C)
3308
3301
  return {
3309
3302
  isExactMatch: !0,
3310
- placeholder: d("search.placeholder_for_exact_match")
3303
+ placeholder: s("search.placeholder_for_exact_match")
3311
3304
  };
3312
3305
  const { name: R } = ie;
3313
3306
  return {
@@ -3320,100 +3313,100 @@ const Fe = (e) => {
3320
3313
  }), { fetcher: ne } = Fe(o.config), de = x({
3321
3314
  ctaPath: o.config.createRoute,
3322
3315
  ctaText: void 0,
3323
- message: `${d("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3324
- title: d("redis.title")
3316
+ message: `${s("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
3317
+ title: s("redis.title")
3325
3318
  }), ie = {
3326
- name: { label: d("list.table_headers.name"), searchable: !0, hidable: !1, sortable: !0 },
3327
- type: { label: d("list.table_headers.type") },
3328
- tags: { label: d("list.table_headers.tags") },
3329
- plugins: { label: d("list.table_headers.plugins") }
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") }
3330
3323
  }, he = (C) => ({
3331
- label: d("actions.view"),
3324
+ label: s("actions.view"),
3332
3325
  to: o.config.getViewRoute(C)
3333
3326
  }), re = (C) => ({
3334
- label: d("actions.edit"),
3327
+ label: s("actions.edit"),
3335
3328
  to: o.config.getEditRoute(C)
3336
3329
  }), oe = async (C) => {
3337
3330
  const { count: R } = await ne({ partialId: C.id });
3338
- R > 0 ? m.value = !0 : (l.value = C, u.value = !0);
3331
+ R > 0 ? p.value = !0 : (l.value = C, u.value = !0);
3339
3332
  }, we = () => {
3340
3333
  W.value = "";
3341
3334
  }, Te = async (C) => {
3342
- var f;
3343
- 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));
3344
3337
  }, Re = () => {
3345
3338
  u.value = !1;
3346
3339
  }, ve = (C) => {
3347
3340
  c.value = C, a.value = !0;
3348
3341
  }, at = async () => {
3349
- var C, R, f;
3342
+ var C, R, _;
3350
3343
  if ((C = l.value) != null && C.id) {
3351
3344
  y.value = !0;
3352
3345
  try {
3353
3346
  await O.delete(b(l.value.id)), y.value = !1, u.value = !1, ze(), n("delete:success", l.value);
3354
- } catch (B) {
3355
- w.value = ((f = (R = B.response) == null ? void 0 : R.data) == null ? void 0 : f.message) || B.message || d("errors.delete"), n("error", B);
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);
3356
3349
  } finally {
3357
3350
  y.value = !1;
3358
3351
  }
3359
3352
  }
3360
3353
  }, ze = () => {
3361
- _.value++;
3362
- }, H = (C) => {
3354
+ m.value++;
3355
+ }, K = (C) => {
3363
3356
  switch (Be(C)) {
3364
3357
  case T.HOST_PORT_CE:
3365
- 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")}`;
3366
3359
  case T.HOST_PORT_EE:
3367
- 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")}`;
3368
3361
  case T.SENTINEL:
3369
- 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")}`;
3370
3363
  case T.CLUSTER:
3371
- 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")}`;
3372
3365
  }
3373
3366
  }, v = () => {
3374
3367
  P.push(o.config.createRoute);
3375
3368
  }, lt = async (C, R) => {
3376
- const f = C.id;
3377
- if (!await R(f)) {
3369
+ const _ = C.id;
3370
+ if (!await R(_)) {
3378
3371
  n("copy:error", {
3379
3372
  entity: C,
3380
3373
  field: "id",
3381
- message: d("errors.copy")
3374
+ message: s("errors.copy")
3382
3375
  });
3383
3376
  return;
3384
3377
  }
3385
3378
  n("copy:success", {
3386
3379
  entity: C,
3387
3380
  field: "id",
3388
- message: d("copy.success", { val: f })
3381
+ message: s("copy.success", { val: _ })
3389
3382
  });
3390
3383
  };
3391
3384
  Ee(A, (C) => {
3392
- var R, f, B;
3385
+ var R, _, H;
3393
3386
  if (C.status === xi.Error) {
3394
- p.value = {
3395
- title: d("errors.general")
3396
- }, (B = (f = (R = C.error) == null ? void 0 : R.response) == null ? void 0 : f.data) != null && B.message && (p.value.message = C.error.response.data.message), n("error", C.error);
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);
3397
3390
  return;
3398
3391
  }
3399
- p.value = null;
3392
+ f.value = null;
3400
3393
  });
3401
3394
  const Se = x(!1);
3402
3395
  return Ee(o.canCreate, async (C) => {
3403
- 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;
3404
3397
  }, {
3405
3398
  immediate: !0
3406
3399
  }), (C, R) => {
3407
- const f = $("KButton"), B = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3408
- return I(), J("div", Ed, [
3400
+ const _ = $("KButton"), H = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3401
+ return k(), J("div", Ed, [
3409
3402
  g(r(Ai), {
3410
3403
  "cache-identifier": e.cacheIdentifier,
3411
3404
  "disable-sorting": E.value,
3412
3405
  "empty-state-options": de.value,
3413
3406
  "enable-entity-actions": "",
3414
- "error-message": p.value,
3415
- fetcher: k,
3416
- "fetcher-cache-key": _.value,
3407
+ "error-message": f.value,
3408
+ fetcher: I,
3409
+ "fetcher-cache-key": m.value,
3417
3410
  "pagination-type": "offset",
3418
3411
  "preferences-storage-key": "kong-ui-entities-redis-configuration-list",
3419
3412
  query: W.value,
@@ -3430,13 +3423,13 @@ const Fe = (e) => {
3430
3423
  }, null, 8, ["modelValue", "config"])
3431
3424
  ]),
3432
3425
  "toolbar-button": S(() => [
3433
- (I(), F(Ei, {
3426
+ (k(), F(Ei, {
3434
3427
  disabled: !e.useActionOutside,
3435
3428
  to: "#kong-ui-app-page-header-action-button"
3436
3429
  }, [
3437
3430
  g(r(Ke), { "auth-function": e.canCreate }, {
3438
3431
  default: S(() => [
3439
- g(f, {
3432
+ g(_, {
3440
3433
  appearance: "primary",
3441
3434
  "data-testid": "toolbar-add-redis-configuration",
3442
3435
  size: "large",
@@ -3444,7 +3437,7 @@ const Fe = (e) => {
3444
3437
  }, {
3445
3438
  default: S(() => [
3446
3439
  g(r(yt)),
3447
- le(" " + U(r(d)("actions.create")), 1)
3440
+ le(" " + U(r(s)("actions.create")), 1)
3448
3441
  ]),
3449
3442
  _: 1
3450
3443
  }, 8, ["to"])
@@ -3454,10 +3447,10 @@ const Fe = (e) => {
3454
3447
  ], 8, ["disabled"]))
3455
3448
  ]),
3456
3449
  name: S(({ rowValue: j }) => [
3457
- K("b", null, U(j ?? "-"), 1)
3450
+ z("b", null, U(j ?? "-"), 1)
3458
3451
  ]),
3459
3452
  type: S(({ row: j }) => [
3460
- le(U(H(j)), 1)
3453
+ le(U(K(j)), 1)
3461
3454
  ]),
3462
3455
  tags: S(({ rowValue: j }) => [
3463
3456
  g(r(Pi), { tags: j }, null, 8, ["tags"])
@@ -3472,12 +3465,12 @@ const Fe = (e) => {
3472
3465
  actions: S(({ row: j }) => [
3473
3466
  g(mi, null, {
3474
3467
  default: S(({ copyToClipboard: st }) => [
3475
- g(B, {
3468
+ g(H, {
3476
3469
  "data-testid": "action-entity-copy-id",
3477
3470
  onClick: (jd) => lt(j, st)
3478
3471
  }, {
3479
3472
  default: S(() => [
3480
- le(U(r(d)("actions.copy_id")), 1)
3473
+ le(U(r(s)("actions.copy_id")), 1)
3481
3474
  ]),
3482
3475
  _: 1
3483
3476
  }, 8, ["onClick"])
@@ -3488,7 +3481,7 @@ const Fe = (e) => {
3488
3481
  "auth-function": () => e.canRetrieve(j)
3489
3482
  }, {
3490
3483
  default: S(() => [
3491
- g(B, {
3484
+ g(H, {
3492
3485
  "data-testid": "action-entity-view",
3493
3486
  "has-divider": "",
3494
3487
  item: he(j.id)
@@ -3500,7 +3493,7 @@ const Fe = (e) => {
3500
3493
  "auth-function": () => e.canEdit(j)
3501
3494
  }, {
3502
3495
  default: S(() => [
3503
- g(B, {
3496
+ g(H, {
3504
3497
  "data-testid": "action-entity-edit",
3505
3498
  item: re(j.id)
3506
3499
  }, null, 8, ["item"])
@@ -3511,14 +3504,14 @@ const Fe = (e) => {
3511
3504
  "auth-function": () => e.canDelete(j)
3512
3505
  }, {
3513
3506
  default: S(() => [
3514
- g(B, {
3507
+ g(H, {
3515
3508
  danger: "",
3516
3509
  "data-testid": "action-entity-delete",
3517
3510
  "has-divider": "",
3518
3511
  onClick: (st) => oe(j)
3519
3512
  }, {
3520
3513
  default: S(() => [
3521
- le(U(r(d)("actions.delete")), 1)
3514
+ le(U(r(s)("actions.delete")), 1)
3522
3515
  ]),
3523
3516
  _: 1
3524
3517
  }, 8, ["onClick"])
@@ -3528,24 +3521,24 @@ const Fe = (e) => {
3528
3521
  ]),
3529
3522
  "empty-state": S(() => [
3530
3523
  g(_i, {
3531
- "action-button-text": r(d)("list.action"),
3524
+ "action-button-text": r(s)("list.action"),
3532
3525
  "action-button-visible": Se.value,
3533
3526
  "data-testid": "redis-entity-empty-state",
3534
3527
  features: [
3535
3528
  {
3536
3529
  key: "feature-1",
3537
- title: r(d)("list.empty_state.feature_1.title"),
3538
- 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")
3539
3532
  },
3540
3533
  {
3541
3534
  key: "feature-2",
3542
- title: r(d)("list.empty_state.feature_2.title"),
3543
- 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")
3544
3537
  }
3545
3538
  ],
3546
3539
  "icon-background": "",
3547
- message: r(d)("list.empty_state.description"),
3548
- title: r(d)("redis.title"),
3540
+ message: r(s)("list.empty_state.description"),
3541
+ title: r(s)("redis.title"),
3549
3542
  onClickAction: v
3550
3543
  }, {
3551
3544
  icon: S(() => [
@@ -3566,17 +3559,17 @@ const Fe = (e) => {
3566
3559
  _: 1
3567
3560
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher-cache-key", "query"]),
3568
3561
  g(Sd, {
3569
- visible: m.value,
3570
- onClose: R[2] || (R[2] = (j) => m.value = !1)
3562
+ visible: p.value,
3563
+ onClose: R[2] || (R[2] = (j) => p.value = !1)
3571
3564
  }, null, 8, ["visible"]),
3572
3565
  g(r($i), {
3573
3566
  "action-pending": y.value,
3574
- description: r(d)("delete.description"),
3567
+ description: r(s)("delete.description"),
3575
3568
  "entity-name": l.value && (l.value.name || l.value.id),
3576
3569
  "entity-type": r(Vi).RedisConfiguration,
3577
3570
  error: w.value,
3578
3571
  "need-confirmation": !0,
3579
- title: r(d)("delete.title"),
3572
+ title: r(s)("delete.title"),
3580
3573
  visible: u.value,
3581
3574
  onCancel: Re,
3582
3575
  onProceed: at
@@ -3592,7 +3585,7 @@ const Fe = (e) => {
3592
3585
  ]);
3593
3586
  };
3594
3587
  }
3595
- }), Zd = /* @__PURE__ */ te(kd, [["__scopeId", "data-v-4e5be541"]]), Id = { class: "kong-ui-consumer-group-entity-config-card" }, Qd = /* @__PURE__ */ Q({
3588
+ }), Zd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), kd = { class: "kong-ui-consumer-group-entity-config-card" }, Qd = /* @__PURE__ */ Q({
3596
3589
  __name: "RedisConfigurationConfigCard",
3597
3590
  props: {
3598
3591
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3619,10 +3612,10 @@ const Fe = (e) => {
3619
3612
  },
3620
3613
  emits: ["loading", "fetch:error", "fetch:success"],
3621
3614
  setup(e, { emit: t }) {
3622
- const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = z(() => Me.form[n.config.app].edit), c = x($e), p = (_) => {
3623
- c.value = Be(_), o("fetch:success", _);
3624
- }, l = z(() => {
3625
- const _ = c.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
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");
3626
3619
  let E = "";
3627
3620
  switch (c.value) {
3628
3621
  case T.HOST_PORT_CE:
@@ -3638,35 +3631,35 @@ const Fe = (e) => {
3638
3631
  E = i("form.options.type.sentinel");
3639
3632
  break;
3640
3633
  }
3641
- return `${E}${_}`;
3642
- }), u = (_) => ({
3643
- id: _.id,
3644
- name: _.name,
3645
- tags: _.tags,
3646
- created_at: _.created_at,
3647
- updated_at: _.updated_at,
3648
- type: _.type,
3649
- ..._.config,
3650
- ...n.config.cloudAuthAvailable ? { cloud_authentication: Vt(_.config.cloud_authentication) } : null
3651
- }), y = (_, E) => {
3652
- if (!_ || Object.keys(_).length === 0)
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)
3653
3646
  return {};
3654
- 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;
3655
3648
  return E === "terraform" ? {
3656
3649
  [O.replaceAll("-", "_")]: {
3657
- id: s,
3650
+ id: d,
3658
3651
  name: A,
3659
3652
  tags: P,
3660
- created_at: k,
3661
- updated_at: d,
3653
+ created_at: I,
3654
+ updated_at: s,
3662
3655
  config: W
3663
3656
  }
3664
3657
  } : {
3665
- id: s,
3658
+ id: d,
3666
3659
  name: A,
3667
3660
  tags: P,
3668
- created_at: k,
3669
- updated_at: d,
3661
+ created_at: I,
3662
+ updated_at: s,
3670
3663
  type: O,
3671
3664
  config: W
3672
3665
  };
@@ -3826,23 +3819,23 @@ const Fe = (e) => {
3826
3819
  section: V.Basic,
3827
3820
  label: i("form.sections.cloud_auth.title")
3828
3821
  }
3829
- }, m = (_) => {
3830
- const E = {}, s = Object.keys(w);
3831
- for (const A of s)
3832
- _.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] = {
3833
3826
  ...w[A],
3834
- order: _.indexOf(A) + 1
3827
+ order: m.indexOf(A) + 1
3835
3828
  } : E[A] = {
3836
3829
  ...w[A],
3837
3830
  hidden: !0
3838
3831
  };
3839
3832
  return E;
3840
- }, b = z(() => {
3841
- const _ = ["id", "name", "tags", "type", "updated_at", "created_at"];
3833
+ }, b = B(() => {
3834
+ const m = ["id", "name", "tags", "type", "updated_at", "created_at"];
3842
3835
  switch (c.value) {
3843
3836
  case T.HOST_PORT_CE:
3844
- return m([
3845
- ..._,
3837
+ return p([
3838
+ ...m,
3846
3839
  "host",
3847
3840
  "port",
3848
3841
  "timeout",
@@ -3855,8 +3848,8 @@ const Fe = (e) => {
3855
3848
  "cloud_authentication"
3856
3849
  ]);
3857
3850
  case T.HOST_PORT_EE:
3858
- return m([
3859
- ..._,
3851
+ return p([
3852
+ ...m,
3860
3853
  "host",
3861
3854
  "port",
3862
3855
  "connection_is_proxied",
@@ -3874,8 +3867,8 @@ const Fe = (e) => {
3874
3867
  "cloud_authentication"
3875
3868
  ]);
3876
3869
  case T.CLUSTER:
3877
- return m([
3878
- ..._,
3870
+ return p([
3871
+ ...m,
3879
3872
  "cluster_nodes",
3880
3873
  "cluster_max_redirections",
3881
3874
  "database",
@@ -3892,8 +3885,8 @@ const Fe = (e) => {
3892
3885
  "cloud_authentication"
3893
3886
  ]);
3894
3887
  case T.SENTINEL:
3895
- return m([
3896
- ..._,
3888
+ return p([
3889
+ ...m,
3897
3890
  "sentinel_master",
3898
3891
  "sentinel_role",
3899
3892
  "sentinel_nodes",
@@ -3915,7 +3908,7 @@ const Fe = (e) => {
3915
3908
  throw new Error("Invalid Redis type");
3916
3909
  }
3917
3910
  });
3918
- return (_, E) => (I(), J("div", Id, [
3911
+ return (m, E) => (k(), J("div", kd, [
3919
3912
  g(r(Mi), {
3920
3913
  "code-block-record-formatter": y,
3921
3914
  config: e.config,
@@ -3925,12 +3918,12 @@ const Fe = (e) => {
3925
3918
  "fetch-url": a.value,
3926
3919
  "hide-title": e.hideTitle,
3927
3920
  "record-resolver": u,
3928
- "onFetch:error": E[0] || (E[0] = (s) => _.$emit("fetch:error", s)),
3929
- "onFetch:success": p,
3930
- onLoading: E[1] || (E[1] = (s) => _.$emit("loading", s))
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))
3931
3924
  }, {
3932
3925
  type: S(() => [
3933
- K("div", null, U(l.value), 1)
3926
+ z("div", null, U(l.value), 1)
3934
3927
  ]),
3935
3928
  _: 1
3936
3929
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -3946,14 +3939,14 @@ function pi(e) {
3946
3939
  const {
3947
3940
  debouncedQueryChange: a,
3948
3941
  loading: c,
3949
- error: p,
3942
+ error: f,
3950
3943
  loadItems: l,
3951
3944
  results: u
3952
- } = Di(o, Me.list[o.app], n, {
3945
+ } = Di(o, Ve.list[o.app], n, {
3953
3946
  fetchedItemsKey: "data",
3954
3947
  searchKeys: ["id", "name"]
3955
- }), y = (m) => {
3956
- switch (m) {
3948
+ }), y = (p) => {
3949
+ switch (p) {
3957
3950
  case T.CLUSTER:
3958
3951
  return i("form.options.type.cluster");
3959
3952
  case T.HOST_PORT_CE:
@@ -3963,14 +3956,14 @@ function pi(e) {
3963
3956
  case T.HOST_PORT_EE:
3964
3957
  return `${i("form.options.type.host_port")} (${i("form.options.type.enterprise")})`;
3965
3958
  }
3966
- }, w = z(() => (u.value || []).filter((b) => b.type === "redis-ce" || b.type === "redis-ee").map((b) => ({ label: b.id, name: b.name, value: b.id, type: b.type, tag: y(Be(b)) })).filter((b) => b.type === t));
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));
3967
3960
  return _n(() => {
3968
3961
  l();
3969
3962
  }), {
3970
3963
  items: w,
3971
3964
  loading: c,
3972
3965
  onQueryChange: a,
3973
- error: p,
3966
+ error: f,
3974
3967
  loadItems: l
3975
3968
  };
3976
3969
  }
@@ -3982,10 +3975,10 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
3982
3975
  },
3983
3976
  emits: ["toast", "modal-close", "created"],
3984
3977
  setup(e, { emit: t }) {
3985
- 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(() => ({
3986
3979
  ...i,
3987
3980
  cancelRoute: void 0
3988
- })), { getMessageFromError: c } = yn(), p = Ci(), l = z(() => {
3981
+ })), { getMessageFromError: c } = yn(), f = Ci(), l = B(() => {
3989
3982
  switch (e.partialType) {
3990
3983
  case Z.REDIS_CE:
3991
3984
  return Z.REDIS_EE;
@@ -3994,16 +3987,16 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
3994
3987
  default:
3995
3988
  return;
3996
3989
  }
3997
- }), u = x(!1), y = x(), w = (_) => {
3990
+ }), u = x(!1), y = x(), w = (m) => {
3998
3991
  n("toast", {
3999
- message: c(_),
3992
+ message: c(m),
4000
3993
  appearance: "danger"
4001
3994
  });
4002
- }, m = (_) => {
3995
+ }, p = (m) => {
4003
3996
  n("toast", {
4004
3997
  message: o("form.partial_created_success_message"),
4005
3998
  appearance: "success"
4006
- }), b(), n("created", _);
3999
+ }), b(), n("created", m);
4007
4000
  }, b = () => {
4008
4001
  y.value = void 0, n("modal-close"), Dt(() => {
4009
4002
  u.value = !1;
@@ -4011,14 +4004,14 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4011
4004
  };
4012
4005
  return Ee(
4013
4006
  () => e.visible,
4014
- (_) => {
4015
- _ && (u.value = !0, Dt(() => {
4016
- y.value = `#redis-modal-footer-${p}`;
4007
+ (m) => {
4008
+ m && (u.value = !0, Dt(() => {
4009
+ y.value = `#redis-modal-footer-${f}`;
4017
4010
  }));
4018
4011
  }
4019
- ), (_, E) => {
4020
- const s = $("KModal");
4021
- return I(), F(s, {
4012
+ ), (m, E) => {
4013
+ const d = $("KModal");
4014
+ return k(), F(d, {
4022
4015
  class: "plugin-redis-partial-form",
4023
4016
  "data-testid": "redis-partial-form-modal",
4024
4017
  "full-screen": "",
@@ -4027,8 +4020,8 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4027
4020
  onCancel: b
4028
4021
  }, {
4029
4022
  footer: S(() => [
4030
- K("div", {
4031
- id: `redis-modal-footer-${r(p)}`,
4023
+ z("div", {
4024
+ id: `redis-modal-footer-${r(f)}`,
4032
4025
  class: "redis-modal-footer"
4033
4026
  }, null, 8, Rd)
4034
4027
  ]),
@@ -4040,7 +4033,7 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4040
4033
  "slidout-top-offset": 0,
4041
4034
  onCancel: b,
4042
4035
  onError: w,
4043
- onUpdate: m
4036
+ onUpdate: p
4044
4037
  }, null, 8, ["action-teleport-target", "config", "disabled-partial-type"])
4045
4038
  ]),
4046
4039
  _: 1
@@ -4070,30 +4063,30 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4070
4063
  items: i,
4071
4064
  loading: a,
4072
4065
  onQueryChange: c,
4073
- error: p,
4066
+ error: f,
4074
4067
  loadItems: l
4075
4068
  } = pi({
4076
4069
  redisType: e.redisType
4077
- }), u = x(!1), y = (_) => {
4078
- const E = _ == null ? void 0 : _.value;
4079
- 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);
4080
4073
  }, w = () => {
4081
4074
  u.value = !0;
4082
- }, m = () => {
4075
+ }, p = () => {
4083
4076
  u.value = !1, n("modal-close");
4084
- }, b = (_) => {
4077
+ }, b = (m) => {
4085
4078
  u.value = !1, l(), y({
4086
- name: _.name,
4087
- value: _.id,
4088
- label: _.name
4079
+ name: m.name,
4080
+ value: m.id,
4081
+ label: m.name
4089
4082
  });
4090
4083
  };
4091
- return Ee(p, (_) => {
4092
- n("error-change", _ ? new Error(String(_)) : null);
4093
- }), (_, E) => {
4094
- const s = $("KBadge"), A = $("KSelect");
4095
- return I(), J(fe, null, [
4096
- g(A, ki({
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({
4097
4090
  class: "redis-config-select-trigger",
4098
4091
  "enable-filtering": "",
4099
4092
  "filter-function": () => !0,
@@ -4101,45 +4094,45 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4101
4094
  loading: r(a),
4102
4095
  "model-value": e.modelValue,
4103
4096
  placeholder: e.placeholder || r(o)("selector.placeholder")
4104
- }, _.$attrs, {
4097
+ }, m.$attrs, {
4105
4098
  onChange: y,
4106
4099
  onQueryChange: r(c)
4107
4100
  }), gn({
4108
- "selected-item-template": S(({ item: k }) => [
4109
- K("div", Pd, U(k.name), 1)
4101
+ "selected-item-template": S(({ item: I }) => [
4102
+ z("div", Pd, U(I.name), 1)
4110
4103
  ]),
4111
- "item-template": S(({ item: k }) => [
4112
- K("div", {
4104
+ "item-template": S(({ item: I }) => [
4105
+ z("div", {
4113
4106
  class: "plugin-form-redis-configuration-dropdown-item",
4114
- "data-testid": `redis-configuration-dropdown-item-${k.name}`
4107
+ "data-testid": `redis-configuration-dropdown-item-${I.name}`
4115
4108
  }, [
4116
- K("span", Vd, U(k.name), 1),
4117
- g(s, {
4109
+ z("span", Vd, U(I.name), 1),
4110
+ g(d, {
4118
4111
  appearance: "info",
4119
4112
  class: "select-item-label"
4120
4113
  }, {
4121
4114
  default: S(() => [
4122
- le(U(k.tag), 1)
4115
+ le(U(I.tag), 1)
4123
4116
  ]),
4124
4117
  _: 2
4125
4118
  }, 1024)
4126
4119
  ], 8, $d)
4127
4120
  ]),
4128
4121
  empty: S(() => [
4129
- K("div", Md, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4122
+ z("div", Md, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4130
4123
  ]),
4131
4124
  _: 2
4132
4125
  }, [
4133
4126
  e.showCreateButton ? {
4134
4127
  name: "dropdown-footer-text",
4135
4128
  fn: S(() => [
4136
- K("div", {
4129
+ z("div", {
4137
4130
  class: "new-redis-config-area",
4138
4131
  "data-testid": "new-redis-config-area",
4139
4132
  onClick: w
4140
4133
  }, [
4141
4134
  g(r(yt), { size: r(Od) }, null, 8, ["size"]),
4142
- K("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4135
+ z("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4143
4136
  ])
4144
4137
  ]),
4145
4138
  key: "0"
@@ -4149,8 +4142,8 @@ const Rd = ["id"], xd = /* @__PURE__ */ Q({
4149
4142
  "partial-type": e.redisType,
4150
4143
  visible: u.value,
4151
4144
  onCreated: b,
4152
- onModalClose: m,
4153
- onToast: E[0] || (E[0] = (k) => n("toast", k))
4145
+ onModalClose: p,
4146
+ onToast: E[0] || (E[0] = (I) => n("toast", I))
4154
4147
  }, null, 8, ["partial-type", "visible"])
4155
4148
  ], 64);
4156
4149
  };