@kong-ui-public/entities-redis-configurations 1.7.0 → 1.7.2-pr.2665.4dd2b8e16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
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 z, reactive as mn, ref as x, watch as Ce, defineComponent as Y, resolveComponent as $, createElementBlock as J, openBlock as I, createVNode as g, withCtx as S, renderSlot as gi, unref as i, mergeModels as Et, useModel as Ct, createElementVNode as K, createTextVNode as le, toDisplayString as B, Fragment as fe, renderList as tt, createBlock as N, createCommentVNode as Z, getCurrentInstance as bi, onMounted as yi, onUnmounted as vi, isReadonly as hi, toRefs as wi, onBeforeMount as _n, isRef as Ti, createSlots as gn, withModifiers as Si, Teleport as Ei, inject as bn, useId as Ci, nextTick as Dt, mergeProps as ki } from "vue";
2
2
  import "@kong-ui-public/entities-shared/dist/style.css";
3
3
  import "@kong-ui-public/entities-vaults/dist/style.css";
4
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";
5
+ import { VaultSecretPickerProvider as he, 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 w = /* @__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))(w || {}), Q = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(Q || {}), q = /* @__PURE__ */ ((e) => (e.AWS = "aws", e.GCP = "gcp", e.AZURE = "azure", e))(q || {}), kn = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, se = kn || zi || Function("return this")(), ee = se.Symbol, In = Object.prototype, Ki = In.hasOwnProperty, Hi = In.toString, De = ee ? ee.toStringTag : void 0;
12
12
  function Wi(e) {
13
13
  var t = Ki.call(e, De), n = e[De];
14
14
  try {
@@ -16,15 +16,15 @@ function Wi(e) {
16
16
  var o = !0;
17
17
  } catch {
18
18
  }
19
- var i = Hi.call(e);
20
- return o && (t ? e[De] = n : delete e[De]), i;
19
+ var r = Hi.call(e);
20
+ return o && (t ? e[De] = n : delete e[De]), r;
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) {
@@ -32,12 +32,12 @@ function me(e) {
32
32
  }
33
33
  var Yi = "[object Symbol]";
34
34
  function It(e) {
35
- return typeof e == "symbol" || me(e) && ke(e) == Yi;
35
+ return typeof e == "symbol" || me(e) && Ie(e) == Yi;
36
36
  }
37
37
  function On(e, t) {
38
- for (var n = -1, o = e == null ? 0 : e.length, i = Array(o); ++n < o; )
39
- i[n] = t(e[n], n, e);
40
- return i;
38
+ for (var n = -1, o = e == null ? 0 : e.length, r = Array(o); ++n < o; )
39
+ r[n] = t(e[n], n, e);
40
+ return r;
41
41
  }
42
42
  var _e = Array.isArray, Lt = ee ? ee.prototype : void 0, Ut = Lt ? Lt.toString : void 0;
43
43
  function Rn(e) {
@@ -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 Oe(e) {
76
76
  if (e != null) {
77
77
  try {
78
78
  return ar.call(e);
@@ -92,16 +92,16 @@ 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(Oe(e));
96
96
  }
97
97
  function _r(e, t) {
98
98
  return e == null ? void 0 : e[t];
99
99
  }
100
- function Oe(e, t) {
100
+ function Re(e, t) {
101
101
  var n = _r(e, t);
102
102
  return mr(n) ? n : void 0;
103
103
  }
104
- var vt = Oe(se, "WeakMap");
104
+ var vt = Re(se, "WeakMap");
105
105
  function gr(e, t, n) {
106
106
  switch (n.length) {
107
107
  case 0:
@@ -119,8 +119,8 @@ var br = 800, yr = 16, vr = Date.now;
119
119
  function hr(e) {
120
120
  var t = 0, n = 0;
121
121
  return function() {
122
- var o = vr(), i = yr - (o - n);
123
- if (n = o, i > 0) {
122
+ var o = vr(), r = yr - (o - n);
123
+ if (n = o, r > 0) {
124
124
  if (++t >= br)
125
125
  return arguments[0];
126
126
  } else
@@ -135,7 +135,7 @@ function wr(e) {
135
135
  }
136
136
  var Je = function() {
137
137
  try {
138
- var e = Oe(Object, "defineProperty");
138
+ var e = Re(Object, "defineProperty");
139
139
  return e({}, "", {}), e;
140
140
  } catch {
141
141
  }
@@ -174,22 +174,22 @@ function Pn(e, t, n) {
174
174
  (!(Rr.call(e, t) && Ot(o, n)) || n === void 0 && !(t in e)) && An(e, t, n);
175
175
  }
176
176
  function xr(e, t, n, o) {
177
- var i = !n;
177
+ var r = !n;
178
178
  n || (n = {});
179
179
  for (var a = -1, c = t.length; ++a < c; ) {
180
180
  var p = t[a], l = void 0;
181
- l === void 0 && (l = e[p]), i ? An(n, p, l) : Pn(n, p, l);
181
+ l === void 0 && (l = e[p]), r ? An(n, p, l) : Pn(n, p, l);
182
182
  }
183
183
  return n;
184
184
  }
185
185
  var Bt = Math.max;
186
186
  function Ar(e, t, n) {
187
187
  return t = Bt(t === void 0 ? e.length - 1 : t, 0), function() {
188
- for (var o = arguments, i = -1, a = Bt(o.length - t, 0), c = Array(a); ++i < a; )
189
- c[i] = o[t + i];
190
- i = -1;
191
- for (var p = Array(t + 1); ++i < t; )
192
- p[i] = o[i];
188
+ for (var o = arguments, r = -1, a = Bt(o.length - t, 0), c = Array(a); ++r < a; )
189
+ c[r] = o[t + r];
190
+ r = -1;
191
+ for (var p = Array(t + 1); ++r < t; )
192
+ p[r] = o[r];
193
193
  return p[t] = n(c), gr(e, this, p);
194
194
  };
195
195
  }
@@ -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;
@@ -222,11 +222,11 @@ var Dn = Object.prototype, Dr = Dn.hasOwnProperty, jr = Dn.propertyIsEnumerable,
222
222
  function Lr() {
223
223
  return !1;
224
224
  }
225
- var Ln = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Ln && typeof module == "object" && module && !module.nodeType && module, Ur = zt && zt.exports === Ln, Kt = Ur ? se.Buffer : void 0, Nr = Kt ? Kt.isBuffer : void 0, Ze = Nr || Lr, Br = "[object Arguments]", Fr = "[object Array]", zr = "[object Boolean]", Kr = "[object Date]", Hr = "[object Error]", Wr = "[object Function]", qr = "[object Map]", Gr = "[object Number]", Jr = "[object Object]", Zr = "[object RegExp]", Qr = "[object Set]", Yr = "[object String]", Xr = "[object WeakMap]", eo = "[object ArrayBuffer]", to = "[object DataView]", no = "[object Float32Array]", io = "[object Float64Array]", ro = "[object Int8Array]", oo = "[object Int16Array]", ao = "[object Int32Array]", lo = "[object Uint8Array]", so = "[object Uint8ClampedArray]", uo = "[object Uint16Array]", co = "[object Uint32Array]", L = {};
226
- L[no] = L[io] = L[ro] = L[oo] = L[ao] = L[lo] = L[so] = L[uo] = L[co] = !0;
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;
225
+ var Ln = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Ln && typeof module == "object" && module && !module.nodeType && module, Ur = zt && zt.exports === Ln, Kt = Ur ? se.Buffer : void 0, Nr = Kt ? Kt.isBuffer : void 0, Ze = Nr || Lr, Br = "[object Arguments]", Fr = "[object Array]", zr = "[object Boolean]", Kr = "[object Date]", Hr = "[object Error]", Wr = "[object Function]", qr = "[object Map]", Gr = "[object Number]", Jr = "[object Object]", Zr = "[object RegExp]", Qr = "[object Set]", Yr = "[object String]", Xr = "[object WeakMap]", eo = "[object ArrayBuffer]", to = "[object DataView]", no = "[object Float32Array]", io = "[object Float64Array]", ro = "[object Int8Array]", oo = "[object Int16Array]", ao = "[object Int32Array]", lo = "[object Uint8Array]", so = "[object Uint8ClampedArray]", uo = "[object Uint16Array]", co = "[object Uint32Array]", U = {};
226
+ U[no] = U[io] = U[ro] = U[oo] = U[ao] = U[lo] = U[so] = U[uo] = U[co] = !0;
227
+ U[Br] = U[Fr] = U[eo] = U[zr] = U[to] = U[Kr] = U[Hr] = U[Wr] = U[qr] = U[Gr] = U[Jr] = U[Zr] = U[Qr] = U[Yr] = U[Xr] = !1;
228
228
  function fo(e) {
229
- return me(e) && $n(e.length) && !!L[ke(e)];
229
+ return me(e) && $n(e.length) && !!U[Ie(e)];
230
230
  }
231
231
  function Rt(e) {
232
232
  return function(t) {
@@ -241,11 +241,11 @@ var Un = typeof exports == "object" && exports && !exports.nodeType && exports,
241
241
  }
242
242
  }(), Ht = Ve && Ve.isTypedArray, Nn = Ht ? Rt(Ht) : fo, mo = Object.prototype, _o = mo.hasOwnProperty;
243
243
  function Bn(e, t) {
244
- var n = _e(e), o = !n && jn(e), i = !n && !o && Ze(e), a = !n && !o && !i && Nn(e), c = n || o || i || a, p = c ? Vr(e.length, String) : [], l = p.length;
244
+ var n = _e(e), o = !n && jn(e), r = !n && !o && Ze(e), a = !n && !o && !r && Nn(e), c = n || o || r || a, p = c ? Vr(e.length, String) : [], l = p.length;
245
245
  for (var u in e)
246
246
  (t || _o.call(e, u)) && !(c && // Safari 9 has enumerable `arguments.length` in strict mode.
247
247
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
248
- i && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
248
+ r && (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
250
  Ir(u, l))) && p.push(u);
251
251
  return p;
@@ -293,7 +293,7 @@ function Oo(e, t) {
293
293
  var n = typeof e;
294
294
  return n == "number" || n == "symbol" || n == "boolean" || e == null || It(e) ? !0 : Io.test(e) || !ko.test(e) || t != null && e in Object(t);
295
295
  }
296
- var Le = Oe(Object, "create");
296
+ var Le = Re(Object, "create");
297
297
  function Ro() {
298
298
  this.__data__ = Le ? Le(null) : {}, this.size = 0;
299
299
  }
@@ -320,18 +320,18 @@ function Uo(e, t) {
320
320
  var n = this.__data__;
321
321
  return this.size += this.has(e) ? 0 : 1, n[e] = Le && t === void 0 ? Lo : t, this;
322
322
  }
323
- function Ce(e) {
323
+ function ke(e) {
324
324
  var t = -1, n = e == null ? 0 : e.length;
325
325
  for (this.clear(); ++t < n; ) {
326
326
  var o = e[t];
327
327
  this.set(o[0], o[1]);
328
328
  }
329
329
  }
330
- Ce.prototype.clear = Ro;
331
- Ce.prototype.delete = xo;
332
- Ce.prototype.get = Vo;
333
- Ce.prototype.has = jo;
334
- Ce.prototype.set = Uo;
330
+ ke.prototype.clear = Ro;
331
+ ke.prototype.delete = xo;
332
+ ke.prototype.get = Vo;
333
+ ke.prototype.has = jo;
334
+ ke.prototype.set = Uo;
335
335
  function No() {
336
336
  this.__data__ = [], this.size = 0;
337
337
  }
@@ -372,12 +372,12 @@ ge.prototype.delete = zo;
372
372
  ge.prototype.get = Ko;
373
373
  ge.prototype.has = Ho;
374
374
  ge.prototype.set = Wo;
375
- var Ue = Oe(se, "Map");
375
+ var Ue = Re(se, "Map");
376
376
  function qo() {
377
377
  this.size = 0, this.__data__ = {
378
- hash: new Ce(),
378
+ hash: new ke(),
379
379
  map: new (Ue || ge)(),
380
- string: new Ce()
380
+ string: new ke()
381
381
  };
382
382
  }
383
383
  function Go(e) {
@@ -419,11 +419,11 @@ function xt(e, t) {
419
419
  if (typeof e != "function" || t != null && typeof t != "function")
420
420
  throw new TypeError(Xo);
421
421
  var n = function() {
422
- var o = arguments, i = t ? t.apply(this, o) : o[0], a = n.cache;
423
- if (a.has(i))
424
- return a.get(i);
422
+ var o = arguments, r = t ? t.apply(this, o) : o[0], a = n.cache;
423
+ if (a.has(r))
424
+ return a.get(r);
425
425
  var c = e.apply(this, o);
426
- return n.cache = a.set(i, c) || a, c;
426
+ return n.cache = a.set(r, c) || a, c;
427
427
  };
428
428
  return n.cache = new (xt.Cache || be)(), n;
429
429
  }
@@ -437,8 +437,8 @@ function ta(e) {
437
437
  }
438
438
  var na = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ia = /\\(\\)?/g, ra = ta(function(e) {
439
439
  var t = [];
440
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(na, function(n, o, i, a) {
441
- t.push(i ? a.replace(ia, "$1") : o || n);
440
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(na, function(n, o, r, a) {
441
+ t.push(r ? a.replace(ia, "$1") : o || n);
442
442
  }), t;
443
443
  });
444
444
  function oa(e) {
@@ -460,21 +460,21 @@ function aa(e, t) {
460
460
  return n && n == o ? e : void 0;
461
461
  }
462
462
  function Pt(e, t) {
463
- for (var n = -1, o = t.length, i = e.length; ++n < o; )
464
- e[i + n] = t[n];
463
+ for (var n = -1, o = t.length, r = e.length; ++n < o; )
464
+ e[r + n] = t[n];
465
465
  return e;
466
466
  }
467
467
  var Wt = ee ? ee.isConcatSpreadable : void 0;
468
468
  function la(e) {
469
469
  return _e(e) || jn(e) || !!(Wt && e && e[Wt]);
470
470
  }
471
- function sa(e, t, n, o, i) {
471
+ function sa(e, t, n, o, r) {
472
472
  var a = -1, c = e.length;
473
- for (n || (n = la), i || (i = []); ++a < c; ) {
473
+ for (n || (n = la), r || (r = []); ++a < c; ) {
474
474
  var p = e[a];
475
- n(p) ? Pt(i, p) : i[i.length] = p;
475
+ n(p) ? Pt(r, p) : r[r.length] = p;
476
476
  }
477
- return i;
477
+ return r;
478
478
  }
479
479
  function da(e) {
480
480
  var t = e == null ? 0 : e.length;
@@ -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)
@@ -494,9 +494,9 @@ function ga(e) {
494
494
  return typeof n == "function" && n instanceof n && Hn.call(n) == _a;
495
495
  }
496
496
  function ba(e, t, n) {
497
- var o = -1, i = e.length;
498
- t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
499
- for (var a = Array(i); ++o < i; )
497
+ var o = -1, r = e.length;
498
+ t < 0 && (t = -t > r ? 0 : r + t), n = n > r ? r : n, n < 0 && (n += r), r = t > n ? 0 : n - t >>> 0, t >>>= 0;
499
+ for (var a = Array(r); ++o < r; )
500
500
  a[o] = e[o + t];
501
501
  return a;
502
502
  }
@@ -539,9 +539,9 @@ function Ca(e, t) {
539
539
  return e.slice();
540
540
  }
541
541
  function ka(e, t) {
542
- for (var n = -1, o = e == null ? 0 : e.length, i = 0, a = []; ++n < o; ) {
542
+ for (var n = -1, o = e == null ? 0 : e.length, r = 0, a = []; ++n < o; ) {
543
543
  var c = e[n];
544
- t(c, n, e) && (a[i++] = c);
544
+ t(c, n, e) && (a[r++] = c);
545
545
  }
546
546
  return a;
547
547
  }
@@ -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 = Re(se, "DataView"), wt = Re(se, "Promise"), Tt = Re(se, "Set"), Qt = "[object Map]", Aa = "[object Object]", Yt = "[object Promise]", Xt = "[object Set]", en = "[object WeakMap]", tn = "[object DataView]", Pa = Oe(ht), $a = Oe(Ue), Va = Oe(wt), Ma = Oe(Tt), Da = Oe(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 ? Oe(n) : "";
573
573
  if (o)
574
574
  switch (o) {
575
575
  case Pa:
@@ -657,9 +657,9 @@ function _l(e) {
657
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
658
  D[Qn] = D[bl] = D[Rl] = D[xl] = D[yl] = D[vl] = D[Al] = D[Pl] = D[$l] = D[Vl] = D[Ml] = D[Tl] = D[Sl] = D[Xn] = D[El] = D[Cl] = D[kl] = D[Il] = D[Dl] = D[jl] = D[Ll] = D[Ul] = !0;
659
659
  D[hl] = D[Yn] = D[Ol] = !1;
660
- function Ge(e, t, n, o, i, a) {
660
+ function Ge(e, t, n, o, r, a) {
661
661
  var c;
662
- if (n && (c = i ? n(e, o, i, a) : n(e)), c !== void 0)
662
+ if (n && (c = r ? n(e, o, r, a) : n(e)), c !== void 0)
663
663
  return c;
664
664
  if (!nt(e))
665
665
  return e;
@@ -670,24 +670,24 @@ function Ge(e, t, n, o, i, a) {
670
670
  var l = ae(e), u = l == Yn || l == wl;
671
671
  if (Ze(e))
672
672
  return Ca(e);
673
- if (l == Xn || l == Qn || u && !i)
673
+ if (l == Xn || l == Qn || u && !r)
674
674
  c = {};
675
675
  else {
676
676
  if (!D[l])
677
- return i ? e : {};
677
+ return r ? e : {};
678
678
  c = ul(e, l);
679
679
  }
680
680
  }
681
681
  a || (a = new pe());
682
- var y = a.get(e);
683
- if (y)
684
- return y;
682
+ var v = a.get(e);
683
+ if (v)
684
+ return v;
685
685
  a.set(e, c), gl(e) ? e.forEach(function(b) {
686
686
  c.add(Ge(b, t, n, b, e, a));
687
687
  }) : pl(e) && e.forEach(function(b, _) {
688
688
  c.set(_, Ge(b, t, n, _, e, a));
689
689
  });
690
- var w = Zn, m = p ? void 0 : w(e);
690
+ var T = Zn, m = p ? void 0 : T(e);
691
691
  return Er(m || e, function(b, _) {
692
692
  m && (_ = b, b = e[_]), Pn(c, _, Ge(b, t, n, _, e, a));
693
693
  }), c;
@@ -716,18 +716,18 @@ function Kl(e, t) {
716
716
  return e.has(t);
717
717
  }
718
718
  var Hl = 1, Wl = 2;
719
- function ei(e, t, n, o, i, a) {
719
+ function ei(e, t, n, o, r, a) {
720
720
  var c = n & Hl, p = e.length, l = t.length;
721
721
  if (p != l && !(c && l > p))
722
722
  return !1;
723
- var u = a.get(e), y = a.get(t);
724
- if (u && y)
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];
723
+ var u = a.get(e), v = a.get(t);
724
+ if (u && v)
725
+ return u == t && v == e;
726
+ var T = -1, m = !0, b = n & Wl ? new Ye() : void 0;
727
+ for (a.set(e, t), a.set(t, e); ++T < p; ) {
728
+ var _ = e[T], E = t[T];
729
729
  if (o)
730
- var s = c ? o(E, _, w, t, e, a) : o(_, E, w, e, t, a);
730
+ var s = c ? o(E, _, T, t, e, a) : o(_, E, T, e, t, a);
731
731
  if (s !== void 0) {
732
732
  if (s)
733
733
  continue;
@@ -736,13 +736,13 @@ function ei(e, t, n, o, i, a) {
736
736
  }
737
737
  if (b) {
738
738
  if (!zl(t, function(A, k) {
739
- if (!Kl(b, k) && (_ === A || i(_, A, n, o, a)))
739
+ if (!Kl(b, k) && (_ === A || r(_, A, n, o, a)))
740
740
  return b.push(k);
741
741
  })) {
742
742
  m = !1;
743
743
  break;
744
744
  }
745
- } else if (!(_ === E || i(_, E, n, o, a))) {
745
+ } else if (!(_ === E || r(_, E, n, o, a))) {
746
746
  m = !1;
747
747
  break;
748
748
  }
@@ -751,8 +751,8 @@ function ei(e, t, n, o, i, a) {
751
751
  }
752
752
  function ql(e) {
753
753
  var t = -1, n = Array(e.size);
754
- return e.forEach(function(o, i) {
755
- n[++t] = [i, o];
754
+ return e.forEach(function(o, r) {
755
+ n[++t] = [r, o];
756
756
  }), n;
757
757
  }
758
758
  function Gl(e) {
@@ -762,7 +762,7 @@ function Gl(e) {
762
762
  }), n;
763
763
  }
764
764
  var Jl = 1, Zl = 2, Ql = "[object Boolean]", Yl = "[object Date]", Xl = "[object Error]", es = "[object Map]", ts = "[object Number]", ns = "[object RegExp]", is = "[object Set]", rs = "[object String]", os = "[object Symbol]", as = "[object ArrayBuffer]", ls = "[object DataView]", ln = ee ? ee.prototype : void 0, ft = ln ? ln.valueOf : void 0;
765
- function ss(e, t, n, o, i, a, c) {
765
+ function ss(e, t, n, o, r, a, c) {
766
766
  switch (n) {
767
767
  case ls:
768
768
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
@@ -789,8 +789,8 @@ function ss(e, t, n, o, i, a, c) {
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);
793
- return c.delete(e), y;
792
+ var v = ei(p(e), p(t), o, r, a, c);
793
+ return c.delete(e), v;
794
794
  case os:
795
795
  if (ft)
796
796
  return ft.call(e) == ft.call(t);
@@ -798,12 +798,12 @@ function ss(e, t, n, o, i, a, c) {
798
798
  return !1;
799
799
  }
800
800
  var ds = 1, us = Object.prototype, cs = us.hasOwnProperty;
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;
803
- if (l != y && !c)
801
+ function fs(e, t, n, o, r, a) {
802
+ var c = n & ds, p = Zt(e), l = p.length, u = Zt(t), v = u.length;
803
+ if (l != v && !c)
804
804
  return !1;
805
- for (var w = l; w--; ) {
806
- var m = p[w];
805
+ for (var T = l; T--; ) {
806
+ var m = p[T];
807
807
  if (!(c ? m in t : cs.call(t, m)))
808
808
  return !1;
809
809
  }
@@ -812,12 +812,12 @@ function fs(e, t, n, o, i, a) {
812
812
  return b == t && _ == 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];
815
+ for (var s = c; ++T < l; ) {
816
+ m = p[T];
817
817
  var A = e[m], k = t[m];
818
818
  if (o)
819
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)) {
820
+ if (!(d === void 0 ? A === k || r(A, k, n, o, a) : d)) {
821
821
  E = !1;
822
822
  break;
823
823
  }
@@ -830,28 +830,28 @@ function fs(e, t, n, o, i, a) {
830
830
  return a.delete(e), a.delete(t), E;
831
831
  }
832
832
  var ps = 1, sn = "[object Arguments]", dn = "[object Array]", He = "[object Object]", ms = Object.prototype, un = ms.hasOwnProperty;
833
- function _s(e, t, n, o, i, a) {
833
+ function _s(e, t, n, o, r, a) {
834
834
  var c = _e(e), p = _e(t), l = c ? dn : ae(e), u = p ? dn : ae(t);
835
835
  l = l == sn ? He : l, u = u == sn ? He : u;
836
- var y = l == He, w = u == He, m = l == u;
836
+ var v = l == He, T = u == He, m = l == u;
837
837
  if (m && Ze(e)) {
838
838
  if (!Ze(t))
839
839
  return !1;
840
- c = !0, y = !1;
840
+ c = !0, v = !1;
841
841
  }
842
- if (m && !y)
843
- return a || (a = new pe()), c || Nn(e) ? ei(e, t, n, o, i, a) : ss(e, t, l, n, o, i, a);
842
+ if (m && !v)
843
+ return a || (a = new pe()), c || Nn(e) ? ei(e, t, n, o, r, a) : ss(e, t, l, n, o, r, a);
844
844
  if (!(n & ps)) {
845
- var b = y && un.call(e, "__wrapped__"), _ = w && un.call(t, "__wrapped__");
845
+ var b = v && un.call(e, "__wrapped__"), _ = T && un.call(t, "__wrapped__");
846
846
  if (b || _) {
847
847
  var E = b ? e.value() : e, s = _ ? t.value() : t;
848
- return a || (a = new pe()), i(E, s, n, o, a);
848
+ return a || (a = new pe()), r(E, s, n, o, a);
849
849
  }
850
850
  }
851
- return m ? (a || (a = new pe()), fs(e, t, n, o, i, a)) : !1;
851
+ return m ? (a || (a = new pe()), fs(e, t, n, o, r, a)) : !1;
852
852
  }
853
- function ti(e, t, n, o, i) {
854
- return e === t ? !0 : e == null || t == null || !me(e) && !me(t) ? e !== e && t !== t : _s(e, t, n, o, ti, i);
853
+ function ti(e, t, n, o, r) {
854
+ return e === t ? !0 : e == null || t == null || !me(e) && !me(t) ? e !== e && t !== t : _s(e, t, n, o, ti, r);
855
855
  }
856
856
  function gs(e) {
857
857
  var t = e == null ? 0 : e.length;
@@ -877,8 +877,8 @@ var ws = 1, Ts = 2, Ss = 4, Es = ua(function(e, t) {
877
877
  t = On(t, function(a) {
878
878
  return a = At(a, e), o || (o = a.length > 1), a;
879
879
  }), xr(e, Zn(e), n), o && (n = Ge(n, ws | Ts | Ss, hs));
880
- for (var i = t.length; i--; )
881
- vs(n, t[i]);
880
+ for (var r = t.length; r--; )
881
+ vs(n, t[r]);
882
882
  return n;
883
883
  });
884
884
  const G = [];
@@ -899,11 +899,11 @@ function 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) {
902
- var i;
902
+ var r;
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 ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Is();
907
907
  if (o.length < 16)
908
908
  throw new Error("Random bytes length must be >= 16");
909
909
  return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Cs(o);
@@ -914,7 +914,7 @@ const ni = {
914
914
  }, ii = {
915
915
  host: "127.0.0.1",
916
916
  port: 6379
917
- }, $e = T.HOST_PORT_EE, ri = {
917
+ }, $e = w.HOST_PORT_EE, ri = {
918
918
  port: 6379,
919
919
  host: "127.0.0.1",
920
920
  database: 0,
@@ -950,8 +950,8 @@ const ni = {
950
950
  return n;
951
951
  }, oi = () => Ne(ii), ai = () => Ne(ni), Be = (e) => {
952
952
  var t, n;
953
- return e.type === Z.REDIS_CE ? T.HOST_PORT_CE : (t = e.config.sentinel_nodes) != null && t.length ? T.SENTINEL : (n = e.config.cluster_nodes) != null && n.length ? T.CLUSTER : T.HOST_PORT_EE;
954
- }, Xe = (e) => e === T.HOST_PORT_CE ? Z.REDIS_CE : Z.REDIS_EE, h = {
953
+ return e.type === Q.REDIS_CE ? w.HOST_PORT_CE : (t = e.config.sentinel_nodes) != null && t.length ? w.SENTINEL : (n = e.config.cluster_nodes) != null && n.length ? w.CLUSTER : w.HOST_PORT_EE;
954
+ }, Xe = (e) => e === w.HOST_PORT_CE ? Q.REDIS_CE : Q.REDIS_EE, h = {
955
955
  int(e, t) {
956
956
  return e == null ? t : parseInt(e.toString(), 10);
957
957
  },
@@ -1054,7 +1054,7 @@ const ni = {
1054
1054
  }
1055
1055
  return typeof e == "number" ? e >= 0 && e <= 65535 : !1;
1056
1056
  }, As = (e) => {
1057
- const { partialId: t, config: n, defaultRedisType: o = $e } = e, i = !!t, { axiosInstance: a } = kt(n.axiosRequestConfig), { getMessageFromError: c } = yn(), p = z(() => t ? dt.Edit : dt.Create), l = mn({
1057
+ const { partialId: t, config: n, defaultRedisType: o = $e } = e, r = !!t, { axiosInstance: a } = kt(n.axiosRequestConfig), { getMessageFromError: c } = yn(), p = z(() => t ? dt.Edit : dt.Create), l = mn({
1058
1058
  fields: {
1059
1059
  name: "",
1060
1060
  tags: "",
@@ -1063,23 +1063,23 @@ const ni = {
1063
1063
  },
1064
1064
  readonly: !1,
1065
1065
  errorMessage: ""
1066
- }), u = x(), y = x(o), w = z(() => y.value === T.HOST_PORT_EE || y.value === T.CLUSTER || y.value === T.SENTINEL);
1067
- Ee(y, (d) => {
1066
+ }), u = x(), v = x(o), T = z(() => v.value === w.HOST_PORT_EE || v.value === w.CLUSTER || v.value === w.SENTINEL);
1067
+ Ce(v, (d) => {
1068
1068
  l.fields.type = Xe(d);
1069
1069
  });
1070
1070
  const m = z(() => {
1071
- var O, P, W, Y;
1072
- if (i && ys(u.value, _.value) || !((O = l.fields.name) != null && O.length))
1071
+ var O, P, W, X;
1072
+ if (r && ys(u.value, _.value) || !((O = l.fields.name) != null && O.length))
1073
1073
  return !1;
1074
1074
  const { config: d } = l.fields;
1075
- switch (y.value) {
1076
- case T.HOST_PORT_CE:
1077
- case T.HOST_PORT_EE:
1075
+ switch (v.value) {
1076
+ case w.HOST_PORT_CE:
1077
+ case w.HOST_PORT_EE:
1078
1078
  return !!d.host && d.host.length > 0 && xs(d.port) && (((P = d.cloud_authentication) == null ? void 0 : P.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
1079
- case T.CLUSTER:
1079
+ case w.CLUSTER:
1080
1080
  return !!d.cluster_nodes.length && d.cluster_nodes.every((ne) => ne.ip.length > 0) && (((W = d.cloud_authentication) == null ? void 0 : W.auth_provider) !== "aws" || !!d.cloud_authentication.aws_cache_name);
1081
- case T.SENTINEL:
1082
- return !!d.sentinel_nodes.length && d.sentinel_nodes.every((ne) => ne.host.length > 0) && !!((Y = d.sentinel_master) != null && Y.length) && d.sentinel_role && !!d.sentinel_role.length;
1081
+ case w.SENTINEL:
1082
+ return !!d.sentinel_nodes.length && d.sentinel_nodes.every((ne) => ne.host.length > 0) && !!((X = d.sentinel_master) != null && X.length) && d.sentinel_role && !!d.sentinel_role.length;
1083
1083
  default:
1084
1084
  throw new Error("Invalid redis type");
1085
1085
  }
@@ -1102,8 +1102,8 @@ const ni = {
1102
1102
  azure_tenant_id: h.str(d.azure_tenant_id, null)
1103
1103
  } : null;
1104
1104
  }, _ = z(() => {
1105
- switch (y.value) {
1106
- case T.HOST_PORT_CE:
1105
+ switch (v.value) {
1106
+ case w.HOST_PORT_CE:
1107
1107
  return {
1108
1108
  name: l.fields.name,
1109
1109
  type: l.fields.type,
@@ -1121,7 +1121,7 @@ const ni = {
1121
1121
  server_name: h.str(l.fields.config.server_name, null)
1122
1122
  }
1123
1123
  };
1124
- case T.HOST_PORT_EE:
1124
+ case w.HOST_PORT_EE:
1125
1125
  return {
1126
1126
  name: l.fields.name,
1127
1127
  type: l.fields.type,
@@ -1152,7 +1152,7 @@ const ni = {
1152
1152
  sentinel_password: null
1153
1153
  }
1154
1154
  };
1155
- case T.CLUSTER:
1155
+ case w.CLUSTER:
1156
1156
  return {
1157
1157
  name: l.fields.name,
1158
1158
  type: l.fields.type,
@@ -1183,7 +1183,7 @@ const ni = {
1183
1183
  port: null
1184
1184
  }
1185
1185
  };
1186
- case T.SENTINEL:
1186
+ case w.SENTINEL:
1187
1187
  return {
1188
1188
  name: l.fields.name,
1189
1189
  type: l.fields.type,
@@ -1227,9 +1227,9 @@ const ni = {
1227
1227
  form: l,
1228
1228
  canSubmit: m,
1229
1229
  payload: _,
1230
- isEdit: i,
1231
- redisType: y,
1232
- redisTypeIsEnterprise: w,
1230
+ isEdit: r,
1231
+ redisType: v,
1232
+ redisTypeIsEnterprise: T,
1233
1233
  formType: p,
1234
1234
  fetchUrl: s,
1235
1235
  submit: async () => {
@@ -1250,10 +1250,10 @@ const ni = {
1250
1250
  l.fields.config,
1251
1251
  h.removeNullValues(d.config)
1252
1252
  // remove null values if data, so they can be replaced with default values
1253
- ), l.fields.config.sentinel_nodes = h.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = h.addIdToClusterNodes(d.config.cluster_nodes ?? []), l.fields.name = d.name, l.fields.type = d.type, l.fields.tags = h.arrayToString(d.tags), y.value = Be(d), u.value = JSON.parse(JSON.stringify(_.value));
1253
+ ), l.fields.config.sentinel_nodes = h.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = h.addIdToClusterNodes(d.config.cluster_nodes ?? []), l.fields.name = d.name, l.fields.type = d.type, l.fields.tags = h.arrayToString(d.tags), v.value = Be(d), u.value = JSON.parse(JSON.stringify(_.value));
1254
1254
  }
1255
1255
  };
1256
- }, Ps = { class: "array-card-container" }, $s = /* @__PURE__ */ Q({
1256
+ }, Ps = { class: "array-card-container" }, $s = /* @__PURE__ */ Y({
1257
1257
  __name: "FieldArrayCardContainer",
1258
1258
  props: {
1259
1259
  model: {
@@ -1276,7 +1276,7 @@ const ni = {
1276
1276
  emits: ["remove-item"],
1277
1277
  setup(e) {
1278
1278
  return (t, n) => {
1279
- const o = $("KCard"), i = $("KButton");
1279
+ const o = $("KCard"), r = $("KButton");
1280
1280
  return I(), J("div", Ps, [
1281
1281
  g(o, { class: "card" }, {
1282
1282
  default: S(() => [
@@ -1284,14 +1284,14 @@ const ni = {
1284
1284
  ]),
1285
1285
  _: 3
1286
1286
  }),
1287
- g(i, {
1287
+ g(r, {
1288
1288
  appearance: "tertiary",
1289
1289
  class: "array-card-remove-button",
1290
1290
  disabled: e.disabled,
1291
1291
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1292
1292
  }, {
1293
1293
  default: S(() => [
1294
- g(r(ji))
1294
+ g(i(ji))
1295
1295
  ]),
1296
1296
  _: 1
1297
1297
  }, 8, ["disabled"])
@@ -1300,8 +1300,8 @@ const ni = {
1300
1300
  }
1301
1301
  }), te = (e, t) => {
1302
1302
  const n = e.__vccOpts || e;
1303
- for (const [o, i] of t)
1304
- n[o] = i;
1303
+ for (const [o, r] of t)
1304
+ n[o] = r;
1305
1305
  return n;
1306
1306
  }, li = /* @__PURE__ */ te($s, [["__scopeId", "data-v-a0b2e4fb"]]), Vs = {
1307
1307
  create: "New Redis Configuration",
@@ -1626,7 +1626,7 @@ function ot() {
1626
1626
  }
1627
1627
  const ye = {
1628
1628
  useI18n: ot
1629
- }, Ks = { class: "cluster-node-items" }, Hs = /* @__PURE__ */ Q({
1629
+ }, Ks = { class: "cluster-node-items" }, Hs = /* @__PURE__ */ Y({
1630
1630
  __name: "ClusterNodes",
1631
1631
  props: /* @__PURE__ */ Et({
1632
1632
  readonly: { type: Boolean }
@@ -1638,7 +1638,7 @@ const ye = {
1638
1638
  setup(e) {
1639
1639
  const t = Ct(e, "modelValue"), { i18n: { t: n } } = ye.useI18n(), o = () => {
1640
1640
  t.value.push(ai());
1641
- }, i = (a) => {
1641
+ }, r = (a) => {
1642
1642
  t.value.splice(a, 1);
1643
1643
  };
1644
1644
  return (a, c) => {
@@ -1646,30 +1646,30 @@ const ye = {
1646
1646
  return I(), J("div", null, [
1647
1647
  g(p, {
1648
1648
  class: "required",
1649
- info: r(n)("form.fields.cluster_nodes.tooltip"),
1649
+ info: i(n)("form.fields.cluster_nodes.tooltip"),
1650
1650
  "tooltip-attributes": { maxWidth: "400" }
1651
1651
  }, {
1652
1652
  default: S(() => [
1653
- le(U(r(n)("form.fields.cluster_nodes.title")), 1)
1653
+ le(B(i(n)("form.fields.cluster_nodes.title")), 1)
1654
1654
  ]),
1655
1655
  _: 1
1656
1656
  }, 8, ["info"]),
1657
1657
  K("div", null, [
1658
- (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1659
- key: `${w}`,
1658
+ (I(!0), J(fe, null, tt(t.value, (v, T) => (I(), N(li, {
1659
+ key: `${T}`,
1660
1660
  "data-testid": "redis-cluster-nodes",
1661
1661
  disabled: e.readonly,
1662
- onRemoveItem: (m) => i(w)
1662
+ onRemoveItem: (m) => r(T)
1663
1663
  }, {
1664
1664
  default: S(() => [
1665
1665
  K("div", Ks, [
1666
1666
  g(l, {
1667
- modelValue: y.ip,
1668
- "onUpdate:modelValue": (m) => y.ip = m,
1667
+ modelValue: v.ip,
1668
+ "onUpdate:modelValue": (m) => v.ip = m,
1669
1669
  modelModifiers: { trim: !0 },
1670
- label: r(n)("form.fields.cluster_node_ip.label"),
1670
+ label: i(n)("form.fields.cluster_node_ip.label"),
1671
1671
  "label-attributes": {
1672
- info: r(n)("form.fields.cluster_node_ip.tooltip"),
1672
+ info: i(n)("form.fields.cluster_node_ip.tooltip"),
1673
1673
  tooltipAttributes: { maxWidth: "400" }
1674
1674
  },
1675
1675
  name: "ip",
@@ -1677,11 +1677,11 @@ const ye = {
1677
1677
  required: ""
1678
1678
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1679
1679
  g(l, {
1680
- modelValue: y.port,
1681
- "onUpdate:modelValue": (m) => y.port = m,
1682
- label: r(n)("form.fields.cluster_node_port.label"),
1680
+ modelValue: v.port,
1681
+ "onUpdate:modelValue": (m) => v.port = m,
1682
+ label: i(n)("form.fields.cluster_node_port.label"),
1683
1683
  "label-attributes": {
1684
- info: r(n)("form.fields.cluster_node_port.tooltip"),
1684
+ info: i(n)("form.fields.cluster_node_port.tooltip"),
1685
1685
  tooltipAttributes: { maxWidth: "400" }
1686
1686
  },
1687
1687
  name: "port",
@@ -1699,8 +1699,8 @@ const ye = {
1699
1699
  onClick: o
1700
1700
  }, {
1701
1701
  default: S(() => [
1702
- g(r(Sn)),
1703
- K("span", null, U(r(n)("form.fields.cluster_nodes.add_button")), 1)
1702
+ g(i(Sn)),
1703
+ K("span", null, B(i(n)("form.fields.cluster_nodes.add_button")), 1)
1704
1704
  ]),
1705
1705
  _: 1
1706
1706
  }, 8, ["disabled"])
@@ -1712,15 +1712,15 @@ const ye = {
1712
1712
  const e = x(), t = x();
1713
1713
  return {
1714
1714
  vaultSecretPickerSetup: e,
1715
- setUpVaultSecretPicker: (i, a) => {
1716
- e.value = i ?? "", t.value = a;
1715
+ setUpVaultSecretPicker: (r, a) => {
1716
+ e.value = r ?? "", t.value = a;
1717
1717
  },
1718
- handleVaultSecretPickerAutofill: (i) => {
1718
+ handleVaultSecretPickerAutofill: (r) => {
1719
1719
  var a;
1720
- (a = t.value) == null || a.call(t, i), e.value = !1;
1720
+ (a = t.value) == null || a.call(t, r), e.value = !1;
1721
1721
  }
1722
1722
  };
1723
- }, qs = { class: "sentinel-node-items" }, Gs = /* @__PURE__ */ Q({
1723
+ }, qs = { class: "sentinel-node-items" }, Gs = /* @__PURE__ */ Y({
1724
1724
  __name: "SentinelNodes",
1725
1725
  props: /* @__PURE__ */ Et({
1726
1726
  readonly: { type: Boolean }
@@ -1732,7 +1732,7 @@ const ye = {
1732
1732
  setup(e) {
1733
1733
  const t = Ct(e, "modelValue"), { i18n: { t: n } } = ye.useI18n(), o = () => {
1734
1734
  t.value.push(oi());
1735
- }, i = (a) => {
1735
+ }, r = (a) => {
1736
1736
  t.value.splice(a, 1);
1737
1737
  };
1738
1738
  return (a, c) => {
@@ -1740,30 +1740,30 @@ const ye = {
1740
1740
  return I(), J("div", null, [
1741
1741
  g(p, {
1742
1742
  class: "required",
1743
- info: r(n)("form.fields.sentinel_nodes.tooltip"),
1743
+ info: i(n)("form.fields.sentinel_nodes.tooltip"),
1744
1744
  "tooltip-attributes": { maxWidth: "400" }
1745
1745
  }, {
1746
1746
  default: S(() => [
1747
- le(U(r(n)("form.fields.sentinel_nodes.title")), 1)
1747
+ le(B(i(n)("form.fields.sentinel_nodes.title")), 1)
1748
1748
  ]),
1749
1749
  _: 1
1750
1750
  }, 8, ["info"]),
1751
1751
  K("div", null, [
1752
- (I(!0), J(fe, null, tt(t.value, (y, w) => (I(), F(li, {
1753
- key: y.id,
1752
+ (I(!0), J(fe, null, tt(t.value, (v, T) => (I(), N(li, {
1753
+ key: v.id,
1754
1754
  "data-testid": "redis-sentinel-nodes",
1755
1755
  disabled: e.readonly,
1756
- onRemoveItem: (m) => i(w)
1756
+ onRemoveItem: (m) => r(T)
1757
1757
  }, {
1758
1758
  default: S(() => [
1759
1759
  K("div", qs, [
1760
1760
  g(l, {
1761
- modelValue: y.host,
1762
- "onUpdate:modelValue": (m) => y.host = m,
1761
+ modelValue: v.host,
1762
+ "onUpdate:modelValue": (m) => v.host = m,
1763
1763
  modelModifiers: { trim: !0 },
1764
- label: r(n)("form.fields.sentinel_node_host.label"),
1764
+ label: i(n)("form.fields.sentinel_node_host.label"),
1765
1765
  "label-attributes": {
1766
- info: r(n)("form.fields.sentinel_node_host.tooltip"),
1766
+ info: i(n)("form.fields.sentinel_node_host.tooltip"),
1767
1767
  tooltipAttributes: { maxWidth: "400" }
1768
1768
  },
1769
1769
  name: "host",
@@ -1771,11 +1771,11 @@ const ye = {
1771
1771
  required: ""
1772
1772
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1773
1773
  g(l, {
1774
- modelValue: y.port,
1775
- "onUpdate:modelValue": (m) => y.port = m,
1776
- label: r(n)("form.fields.sentinel_node_port.label"),
1774
+ modelValue: v.port,
1775
+ "onUpdate:modelValue": (m) => v.port = m,
1776
+ label: i(n)("form.fields.sentinel_node_port.label"),
1777
1777
  "label-attributes": {
1778
- info: r(n)("form.fields.sentinel_node_port.tooltip"),
1778
+ info: i(n)("form.fields.sentinel_node_port.tooltip"),
1779
1779
  tooltipAttributes: { maxWidth: "400" }
1780
1780
  },
1781
1781
  name: "port",
@@ -1793,8 +1793,8 @@ const ye = {
1793
1793
  onClick: o
1794
1794
  }, {
1795
1795
  default: S(() => [
1796
- g(r(Sn)),
1797
- K("span", null, U(r(n)("form.fields.sentinel_nodes.add_button")), 1)
1796
+ g(i(Sn)),
1797
+ K("span", null, B(i(n)("form.fields.sentinel_nodes.add_button")), 1)
1798
1798
  ]),
1799
1799
  _: 1
1800
1800
  }, 8, ["disabled"])
@@ -1802,7 +1802,7 @@ const ye = {
1802
1802
  ]);
1803
1803
  };
1804
1804
  }
1805
- }), Js = /* @__PURE__ */ te(Gs, [["__scopeId", "data-v-cd1c07e2"]]), Zs = /* @__PURE__ */ Q({
1805
+ }), Js = /* @__PURE__ */ te(Gs, [["__scopeId", "data-v-cd1c07e2"]]), Zs = /* @__PURE__ */ Y({
1806
1806
  __name: "CloudAuthFields",
1807
1807
  props: /* @__PURE__ */ Et({
1808
1808
  config: {},
@@ -1815,7 +1815,7 @@ const ye = {
1815
1815
  setup(e) {
1816
1816
  const t = Ct(e, "modelValue"), { i18n: { t: n } } = ye.useI18n(), {
1817
1817
  vaultSecretPickerSetup: o,
1818
- setUpVaultSecretPicker: i,
1818
+ setUpVaultSecretPicker: r,
1819
1819
  handleVaultSecretPickerAutofill: a
1820
1820
  } = si(), c = [
1821
1821
  {
@@ -1909,13 +1909,13 @@ const ye = {
1909
1909
  return l.group === ((u = t.value) == null ? void 0 : u.auth_provider);
1910
1910
  }));
1911
1911
  return (l, u) => {
1912
- const y = $("KInput"), w = $("KCheckbox");
1912
+ const v = $("KInput"), T = $("KCheckbox");
1913
1913
  return I(), J(fe, null, [
1914
1914
  (I(!0), J(fe, null, tt(p.value, (m) => (I(), J(fe, {
1915
1915
  key: m.key
1916
1916
  }, [
1917
1917
  m.type !== "boolean" ? (I(), J(fe, { key: 0 }, [
1918
- g(y, {
1918
+ g(v, {
1919
1919
  modelValue: t.value[m.key],
1920
1920
  "onUpdate:modelValue": (b) => t.value[m.key] = b,
1921
1921
  "data-testid": `redis-${m.key}-input`,
@@ -1929,15 +1929,15 @@ const ye = {
1929
1929
  "show-password-mask-toggle": m.encrypted,
1930
1930
  type: m.encrypted ? "password" : "text"
1931
1931
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "label", "label-attributes", "readonly", "required", "show-password-mask-toggle", "type"]),
1932
- m.referenceable ? (I(), F(r(xe), {
1932
+ m.referenceable ? (I(), N(i(he), {
1933
1933
  key: 0,
1934
1934
  class: "secret-picker-provider",
1935
1935
  disabled: e.readonly,
1936
1936
  update: (b) => t.value[m.key] = b,
1937
1937
  value: t.value[m.key] ?? "",
1938
- onOpen: u[0] || (u[0] = (b, _) => r(i)(b, _))
1939
- }, null, 8, ["disabled", "update", "value"])) : X("", !0)
1940
- ], 64)) : (I(), F(w, {
1938
+ onOpen: u[0] || (u[0] = (b, _) => i(r)(b, _))
1939
+ }, null, 8, ["disabled", "update", "value"])) : Z("", !0)
1940
+ ], 64)) : (I(), N(T, {
1941
1941
  key: 1,
1942
1942
  modelValue: t.value[m.key],
1943
1943
  "onUpdate:modelValue": (b) => t.value[m.key] = b,
@@ -1950,11 +1950,11 @@ const ye = {
1950
1950
  readonly: e.readonly
1951
1951
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-testid", "label", "label-attributes", "readonly"]))
1952
1952
  ], 64))), 128)),
1953
- g(r(wn), {
1953
+ g(i(wn), {
1954
1954
  config: e.config,
1955
- setup: r(o),
1955
+ setup: i(o),
1956
1956
  onCancel: u[1] || (u[1] = () => o.value = !1),
1957
- onProceed: r(a)
1957
+ onProceed: i(a)
1958
1958
  }, null, 8, ["config", "setup", "onProceed"])
1959
1959
  ], 64);
1960
1960
  };
@@ -1991,17 +1991,17 @@ var Mt = (
1991
1991
  var n = this.serializeKey(t);
1992
1992
  return this.items.get(n);
1993
1993
  }, e.prototype.set = function(t, n, o) {
1994
- var i = this.serializeKey(t), a = o || this.ttl, c = Date.now(), p = {
1994
+ var r = this.serializeKey(t), a = o || this.ttl, c = Date.now(), p = {
1995
1995
  data: n,
1996
1996
  createdAt: c,
1997
1997
  expiresAt: a ? c + a : 1 / 0
1998
1998
  };
1999
- this.dispatchExpire(a, p, i), this.items.set(i, p);
1999
+ this.dispatchExpire(a, p, r), this.items.set(r, p);
2000
2000
  }, e.prototype.dispatchExpire = function(t, n, o) {
2001
- var i = this;
2001
+ var r = this;
2002
2002
  t && setTimeout(function() {
2003
2003
  var a = Date.now(), c = a >= n.expiresAt;
2004
- c && i.delete(o);
2004
+ c && r.delete(o);
2005
2005
  }, t);
2006
2006
  }, e.prototype.delete = function(t) {
2007
2007
  this.items.delete(t);
@@ -2028,33 +2028,33 @@ var ce = function() {
2028
2028
  return ce = Object.assign || function(e) {
2029
2029
  for (var t, n = 1, o = arguments.length; n < o; n++) {
2030
2030
  t = arguments[n];
2031
- for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
2031
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
2032
2032
  }
2033
2033
  return e;
2034
2034
  }, ce.apply(this, arguments);
2035
2035
  }, Ae = function(e, t, n, o) {
2036
- function i(a) {
2036
+ function r(a) {
2037
2037
  return a instanceof n ? a : new n(function(c) {
2038
2038
  c(a);
2039
2039
  });
2040
2040
  }
2041
2041
  return new (n || (n = Promise))(function(a, c) {
2042
- function p(y) {
2042
+ function p(v) {
2043
2043
  try {
2044
- u(o.next(y));
2045
- } catch (w) {
2046
- c(w);
2044
+ u(o.next(v));
2045
+ } catch (T) {
2046
+ c(T);
2047
2047
  }
2048
2048
  }
2049
- function l(y) {
2049
+ function l(v) {
2050
2050
  try {
2051
- u(o.throw(y));
2052
- } catch (w) {
2053
- c(w);
2051
+ u(o.throw(v));
2052
+ } catch (T) {
2053
+ c(T);
2054
2054
  }
2055
2055
  }
2056
- function u(y) {
2057
- y.done ? a(y.value) : i(y.value).then(p, l);
2056
+ function u(v) {
2057
+ v.done ? a(v.value) : r(v.value).then(p, l);
2058
2058
  }
2059
2059
  u((o = o.apply(e, t || [])).next());
2060
2060
  });
@@ -2062,20 +2062,20 @@ var ce = function() {
2062
2062
  var n = { label: 0, sent: function() {
2063
2063
  if (a[0] & 1) throw a[1];
2064
2064
  return a[1];
2065
- }, trys: [], ops: [] }, o, i, a, c;
2065
+ }, trys: [], ops: [] }, o, r, a, c;
2066
2066
  return c = { next: p(0), throw: p(1), return: p(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
2067
2067
  return this;
2068
2068
  }), c;
2069
2069
  function p(u) {
2070
- return function(y) {
2071
- return l([u, y]);
2070
+ return function(v) {
2071
+ return l([u, v]);
2072
2072
  };
2073
2073
  }
2074
2074
  function l(u) {
2075
2075
  if (o) throw new TypeError("Generator is already executing.");
2076
2076
  for (; n; ) try {
2077
- if (o = 1, i && (a = u[0] & 2 ? i.return : u[0] ? i.throw || ((a = i.return) && a.call(i), 0) : i.next) && !(a = a.call(i, u[1])).done) return a;
2078
- switch (i = 0, a && (u = [u[0] & 2, a.value]), u[0]) {
2077
+ if (o = 1, r && (a = u[0] & 2 ? r.return : u[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, u[1])).done) return a;
2078
+ switch (r = 0, a && (u = [u[0] & 2, a.value]), u[0]) {
2079
2079
  case 0:
2080
2080
  case 1:
2081
2081
  a = u;
@@ -2083,7 +2083,7 @@ var ce = function() {
2083
2083
  case 4:
2084
2084
  return n.label++, { value: u[1], done: !1 };
2085
2085
  case 5:
2086
- n.label++, i = u[1], u = [0];
2086
+ n.label++, r = u[1], u = [0];
2087
2087
  continue;
2088
2088
  case 7:
2089
2089
  u = n.ops.pop(), n.trys.pop();
@@ -2109,8 +2109,8 @@ var ce = function() {
2109
2109
  continue;
2110
2110
  }
2111
2111
  u = t.call(e, n);
2112
- } catch (y) {
2113
- u = [6, y], i = 0;
2112
+ } catch (v) {
2113
+ u = [6, v], r = 0;
2114
2114
  } finally {
2115
2115
  o = a = 0;
2116
2116
  }
@@ -2120,21 +2120,21 @@ var ce = function() {
2120
2120
  }, id = function(e, t) {
2121
2121
  var n = typeof Symbol == "function" && e[Symbol.iterator];
2122
2122
  if (!n) return e;
2123
- var o = n.call(e), i, a = [], c;
2123
+ var o = n.call(e), r, a = [], c;
2124
2124
  try {
2125
- for (; (t === void 0 || t-- > 0) && !(i = o.next()).done; ) a.push(i.value);
2125
+ for (; (t === void 0 || t-- > 0) && !(r = o.next()).done; ) a.push(r.value);
2126
2126
  } catch (p) {
2127
2127
  c = { error: p };
2128
2128
  } finally {
2129
2129
  try {
2130
- i && !i.done && (n = o.return) && n.call(o);
2130
+ r && !r.done && (n = o.return) && n.call(o);
2131
2131
  } finally {
2132
2132
  if (c) throw c.error;
2133
2133
  }
2134
2134
  }
2135
2135
  return a;
2136
2136
  }, rd = function(e, t, n) {
2137
- if (n || arguments.length === 2) for (var o = 0, i = t.length, a; o < i; o++)
2137
+ if (n || arguments.length === 2) for (var o = 0, r = t.length, a; o < r; o++)
2138
2138
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
2139
2139
  return e.concat(a || Array.prototype.slice.call(t));
2140
2140
  }, di = new Mt(), et = new Mt(), gt = new Mt(), ui = {
@@ -2157,50 +2157,50 @@ function od(e, t, n) {
2157
2157
  if (o)
2158
2158
  o.data.push(t);
2159
2159
  else {
2160
- var i = 5e3;
2161
- et.set(e, [t], n > 0 ? n + i : n);
2160
+ var r = 5e3;
2161
+ et.set(e, [t], n > 0 ? n + r : n);
2162
2162
  }
2163
2163
  }
2164
2164
  function ad(e, t, n) {
2165
2165
  if (n.isDocumentVisible() && !(n.errorRetryCount !== void 0 && t > n.errorRetryCount)) {
2166
- var o = Math.min(t || 0, n.errorRetryCount), i = o * n.errorRetryInterval;
2166
+ var o = Math.min(t || 0, n.errorRetryCount), r = o * n.errorRetryInterval;
2167
2167
  setTimeout(function() {
2168
2168
  e(null, { errorRetryCount: o + 1, shouldRetryOnError: !0 });
2169
- }, i);
2169
+ }, r);
2170
2170
  }
2171
2171
  }
2172
2172
  var pn = function(e, t, n, o) {
2173
2173
  return n === void 0 && (n = di), o === void 0 && (o = ui.ttl), Ae(void 0, void 0, void 0, function() {
2174
- var i, a, c, p, l, u, y;
2175
- return Pe(this, function(w) {
2176
- switch (w.label) {
2174
+ var r, a, c, p, l, u, v;
2175
+ return Pe(this, function(T) {
2176
+ switch (T.label) {
2177
2177
  case 0:
2178
2178
  if (!sd(t)) return [3, 5];
2179
- w.label = 1;
2179
+ T.label = 1;
2180
2180
  case 1:
2181
- return w.trys.push([1, 3, , 4]), [4, t];
2181
+ return T.trys.push([1, 3, , 4]), [4, t];
2182
2182
  case 2:
2183
- return i = w.sent(), [3, 4];
2183
+ return r = T.sent(), [3, 4];
2184
2184
  case 3:
2185
- return p = w.sent(), a = p, [3, 4];
2185
+ return p = T.sent(), a = p, [3, 4];
2186
2186
  case 4:
2187
2187
  return [3, 6];
2188
2188
  case 5:
2189
- i = t, w.label = 6;
2189
+ r = t, T.label = 6;
2190
2190
  case 6:
2191
- if (c = !1, l = { data: i, error: a, isValidating: c }, typeof i < "u")
2191
+ if (c = !1, l = { data: r, error: a, isValidating: c }, typeof r < "u")
2192
2192
  try {
2193
2193
  n.set(e, l, o);
2194
2194
  } catch (m) {
2195
2195
  console.error("swrv(mutate): failed to set cache", m);
2196
2196
  }
2197
- return u = et.get(e), u && u.data.length && (y = u.data.filter(function(m) {
2197
+ return u = et.get(e), u && u.data.length && (v = u.data.filter(function(m) {
2198
2198
  return m.key === e;
2199
- }), y.forEach(function(m, b) {
2199
+ }), v.forEach(function(m, b) {
2200
2200
  typeof l.data < "u" && (m.data = l.data), m.error = l.error, m.isValidating = l.isValidating, m.isLoading = l.isValidating;
2201
- var _ = b === y.length - 1;
2202
- _ || delete y[b];
2203
- }), y = y.filter(Boolean)), [2, l];
2201
+ var _ = b === v.length - 1;
2202
+ _ || delete v[b];
2203
+ }), v = v.filter(Boolean)), [2, l];
2204
2204
  }
2205
2205
  });
2206
2206
  });
@@ -2208,13 +2208,13 @@ var pn = function(e, t, n, o) {
2208
2208
  function ld() {
2209
2209
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
2210
2210
  t[n] = arguments[n];
2211
- var o, i, a = ce({}, ui), c = !1, p = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2211
+ var o, r, a = ce({}, ui), c = !1, p = !1, l = bi(), u = (l == null ? void 0 : l.proxy) || l;
2212
2212
  if (!u)
2213
2213
  return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."), null;
2214
- var y = (u == null ? void 0 : u.$isServer) || !1;
2215
- t.length >= 1 && (o = t[0]), t.length >= 2 && (i = t[1]), t.length > 2 && (a = ce(ce({}, a), t[2]));
2216
- var w = y ? a.serverTTL : a.ttl, m = typeof o == "function" ? o : x(o);
2217
- typeof i > "u" && (i = a.fetcher);
2214
+ var v = (u == null ? void 0 : u.$isServer) || !1;
2215
+ t.length >= 1 && (o = t[0]), t.length >= 2 && (r = t[1]), t.length > 2 && (a = ce(ce({}, a), t[2]));
2216
+ var T = v ? a.serverTTL : a.ttl, m = typeof o == "function" ? o : x(o);
2217
+ typeof r > "u" && (r = a.fetcher);
2218
2218
  var b = null;
2219
2219
  b || (b = mn({
2220
2220
  data: void 0,
@@ -2225,39 +2225,39 @@ function ld() {
2225
2225
  }));
2226
2226
  var _ = function(k, d) {
2227
2227
  return Ae(e, void 0, void 0, function() {
2228
- var O, P, W, Y, ne, de, ie, he = this;
2228
+ var O, P, W, X, ne, de, ie, we = this;
2229
2229
  return Pe(this, function(re) {
2230
2230
  switch (re.label) {
2231
2231
  case 0:
2232
- return O = b.data === void 0, P = m.value, P ? (W = a.cache.get(P), Y = W && W.data, b.isValidating = !0, b.isLoading = !Y, Y && (b.data = Y.data, b.error = Y.error), ne = k || i, !ne || !a.isDocumentVisible() && !O || (d == null ? void 0 : d.forceRevalidate) !== void 0 && !(d != null && d.forceRevalidate) ? (b.isValidating = !1, b.isLoading = !1, [
2232
+ return O = b.data === void 0, P = m.value, P ? (W = a.cache.get(P), X = W && W.data, b.isValidating = !0, b.isLoading = !X, X && (b.data = X.data, b.error = X.error), ne = k || r, !ne || !a.isDocumentVisible() && !O || (d == null ? void 0 : d.forceRevalidate) !== void 0 && !(d != null && d.forceRevalidate) ? (b.isValidating = !1, b.isLoading = !1, [
2233
2233
  2
2234
2234
  /*return*/
2235
2235
  ]) : W && (de = !!(Date.now() - W.createdAt >= a.dedupingInterval || d != null && d.forceRevalidate), !de) ? (b.isValidating = !1, b.isLoading = !1, [
2236
2236
  2
2237
2237
  /*return*/
2238
2238
  ]) : (ie = function() {
2239
- return Ae(he, void 0, void 0, function() {
2240
- var oe, we, Te, Re;
2239
+ return Ae(we, void 0, void 0, function() {
2240
+ var oe, Te, Se, xe;
2241
2241
  return Pe(this, function(ve) {
2242
2242
  switch (ve.label) {
2243
2243
  case 0:
2244
- return oe = gt.get(P), oe ? [3, 2] : (we = Array.isArray(P) ? P : [P], Te = ne.apply(void 0, rd([], id(we), !1)), gt.set(P, Te, a.dedupingInterval), [4, pn(P, Te, a.cache, w)]);
2244
+ return oe = gt.get(P), oe ? [3, 2] : (Te = Array.isArray(P) ? P : [P], Se = ne.apply(void 0, rd([], id(Te), !1)), gt.set(P, Se, a.dedupingInterval), [4, pn(P, Se, a.cache, T)]);
2245
2245
  case 1:
2246
2246
  return ve.sent(), [3, 4];
2247
2247
  case 2:
2248
- return [4, pn(P, oe.data, a.cache, w)];
2248
+ return [4, pn(P, oe.data, a.cache, T)];
2249
2249
  case 3:
2250
2250
  ve.sent(), ve.label = 4;
2251
2251
  case 4:
2252
- return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (Re = !c && a.shouldRetryOnError && (d ? d.shouldRetryOnError : !0), Re && ad(_, d ? d.errorRetryCount : 1, a)), [
2252
+ return b.isValidating = !1, b.isLoading = !1, gt.delete(P), b.error !== void 0 && (xe = !c && a.shouldRetryOnError && (d ? d.shouldRetryOnError : !0), xe && ad(_, d ? d.errorRetryCount : 1, a)), [
2253
2253
  2
2254
2254
  /*return*/
2255
2255
  ];
2256
2256
  }
2257
2257
  });
2258
2258
  });
2259
- }, Y && a.revalidateDebounce ? (setTimeout(function() {
2260
- return Ae(he, void 0, void 0, function() {
2259
+ }, X && a.revalidateDebounce ? (setTimeout(function() {
2260
+ return Ae(we, void 0, void 0, function() {
2261
2261
  return Pe(this, function(oe) {
2262
2262
  switch (oe.label) {
2263
2263
  case 0:
@@ -2324,8 +2324,8 @@ function ld() {
2324
2324
  }));
2325
2325
  });
2326
2326
  try {
2327
- Ee(m, function(k) {
2328
- hi(m) || (m.value = k), b.key = k, b.isValidating = !!k, od(m.value, b, w), !y && !p && m.value && _(), p = !1;
2327
+ Ce(m, function(k) {
2328
+ hi(m) || (m.value = k), b.key = k, b.isValidating = !!k, od(m.value, b, T), !v && !p && m.value && _(), p = !1;
2329
2329
  }, {
2330
2330
  immediate: !0
2331
2331
  });
@@ -2346,29 +2346,29 @@ const Fe = (e) => {
2346
2346
  const { axiosInstance: t } = kt(e.axiosRequestConfig);
2347
2347
  return {
2348
2348
  fetcher: async (n) => {
2349
- const { partialId: o, size: i, offset: a, query: c } = n;
2349
+ const { partialId: o, size: r, offset: a, query: c } = n;
2350
2350
  let p = `${e.apiBaseUrl}${Me.links[e.app]}`;
2351
2351
  e.app === "konnect" ? p = p.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (p = p.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "")), p = p.replace(/{id}/gi, o || ""), c && (p = `${p}?${c}`);
2352
2352
  const { data: l } = await t.get(
2353
2353
  p,
2354
- { params: { size: i, offset: a } }
2354
+ { params: { size: r, offset: a } }
2355
2355
  );
2356
2356
  return l;
2357
2357
  }
2358
2358
  };
2359
2359
  }, fi = (e) => {
2360
- const { partialId: t, config: n } = e, { fetcher: o } = Fe(n), i = x([]), { data: a } = ld(
2360
+ const { partialId: t, config: n } = e, { fetcher: o } = Fe(n), r = x([]), { data: a } = ld(
2361
2361
  ci(t),
2362
2362
  () => o({ partialId: t }),
2363
2363
  {
2364
2364
  revalidateOnFocus: !1
2365
2365
  }
2366
2366
  );
2367
- return Ee(a, () => {
2367
+ return Ce(a, () => {
2368
2368
  var c;
2369
- i.value = ((c = a.value) == null ? void 0 : c.data) ?? [];
2370
- }), i;
2371
- }, dd = { class: "kong-ui-entities-redis-configurations-form" }, ud = /* @__PURE__ */ Q({
2369
+ r.value = ((c = a.value) == null ? void 0 : c.data) ?? [];
2370
+ }), r;
2371
+ }, dd = { class: "kong-ui-entities-redis-configurations-form" }, ud = /* @__PURE__ */ Y({
2372
2372
  __name: "RedisConfigurationForm",
2373
2373
  props: {
2374
2374
  config: {
@@ -2406,60 +2406,60 @@ const Fe = (e) => {
2406
2406
  },
2407
2407
  emits: ["update", "error", "loading", "cancel"],
2408
2408
  setup(e, { emit: t }) {
2409
- const n = e, o = t, { i18n: { t: i }, i18nT: a } = ye.useI18n(), {
2409
+ const n = e, o = t, { i18n: { t: r }, i18nT: a } = ye.useI18n(), {
2410
2410
  vaultSecretPickerSetup: c,
2411
2411
  setUpVaultSecretPicker: p,
2412
2412
  handleVaultSecretPickerAutofill: l
2413
- } = si(), u = Tn(), y = x("json"), w = z(() => [
2413
+ } = si(), u = Tn(), v = x("json"), T = z(() => [
2414
2414
  {
2415
- label: i("form.options.type.host_port"),
2416
- group: i("form.options.type.enterprise"),
2417
- value: T.HOST_PORT_EE,
2418
- selected: O.value === T.HOST_PORT_EE,
2419
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2415
+ label: r("form.options.type.host_port"),
2416
+ group: r("form.options.type.enterprise"),
2417
+ value: w.HOST_PORT_EE,
2418
+ selected: O.value === w.HOST_PORT_EE,
2419
+ disabled: !d && n.disabledPartialType === Q.REDIS_EE
2420
2420
  },
2421
2421
  {
2422
- label: i("form.options.type.cluster"),
2423
- group: i("form.options.type.enterprise"),
2424
- value: T.CLUSTER,
2425
- selected: O.value === T.CLUSTER,
2426
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2422
+ label: r("form.options.type.cluster"),
2423
+ group: r("form.options.type.enterprise"),
2424
+ value: w.CLUSTER,
2425
+ selected: O.value === w.CLUSTER,
2426
+ disabled: !d && n.disabledPartialType === Q.REDIS_EE
2427
2427
  },
2428
2428
  {
2429
- label: i("form.options.type.sentinel"),
2430
- group: i("form.options.type.enterprise"),
2431
- value: T.SENTINEL,
2432
- selected: O.value === T.SENTINEL,
2433
- disabled: !d && n.disabledPartialType === Z.REDIS_EE
2429
+ label: r("form.options.type.sentinel"),
2430
+ group: r("form.options.type.enterprise"),
2431
+ value: w.SENTINEL,
2432
+ selected: O.value === w.SENTINEL,
2433
+ disabled: !d && n.disabledPartialType === Q.REDIS_EE
2434
2434
  },
2435
2435
  {
2436
- label: i("form.options.type.host_port"),
2437
- group: i("form.options.type.open_source"),
2438
- value: T.HOST_PORT_CE,
2439
- selected: O.value === T.HOST_PORT_CE,
2440
- disabled: d && P.value || !d && n.disabledPartialType === Z.REDIS_CE
2436
+ label: r("form.options.type.host_port"),
2437
+ group: r("form.options.type.open_source"),
2438
+ value: w.HOST_PORT_CE,
2439
+ selected: O.value === w.HOST_PORT_CE,
2440
+ disabled: d && P.value || !d && n.disabledPartialType === Q.REDIS_CE
2441
2441
  }
2442
2442
  ]), m = z(() => [
2443
2443
  {
2444
- label: i("form.options.auth_provider.aws"),
2444
+ label: r("form.options.auth_provider.aws"),
2445
2445
  value: q.AWS
2446
2446
  },
2447
2447
  {
2448
- label: i("form.options.auth_provider.gcp"),
2448
+ label: r("form.options.auth_provider.gcp"),
2449
2449
  value: q.GCP
2450
2450
  },
2451
2451
  {
2452
- label: i("form.options.auth_provider.azure"),
2452
+ label: r("form.options.auth_provider.azure"),
2453
2453
  value: q.AZURE
2454
2454
  }
2455
2455
  ]), b = [
2456
- { label: i("form.options.sentinel_role.master"), value: "master" },
2457
- { label: i("form.options.sentinel_role.slave"), value: "slave" },
2458
- { label: i("form.options.sentinel_role.any"), value: "any" }
2456
+ { label: r("form.options.sentinel_role.master"), value: "master" },
2457
+ { label: r("form.options.sentinel_role.slave"), value: "slave" },
2458
+ { label: r("form.options.sentinel_role.any"), value: "any" }
2459
2459
  ], _ = (H) => {
2460
- const v = H.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
2461
- return `${H.label}${v}`;
2462
- }, E = () => n.disabledPartialType && Xe($e) === n.disabledPartialType ? n.disabledPartialType === Z.REDIS_CE ? T.HOST_PORT_EE : T.HOST_PORT_CE : $e, {
2460
+ const y = H.value === w.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
2461
+ return `${H.label}${y}`;
2462
+ }, E = () => n.disabledPartialType && Xe($e) === n.disabledPartialType ? n.disabledPartialType === Q.REDIS_CE ? w.HOST_PORT_EE : w.HOST_PORT_CE : $e, {
2463
2463
  form: s,
2464
2464
  canSubmit: A,
2465
2465
  payload: k,
@@ -2467,32 +2467,32 @@ const Fe = (e) => {
2467
2467
  redisType: O,
2468
2468
  redisTypeIsEnterprise: P,
2469
2469
  fetchUrl: W,
2470
- submit: Y,
2470
+ submit: X,
2471
2471
  setInitialFormValues: ne
2472
2472
  } = As({
2473
2473
  partialId: n.partialId,
2474
2474
  defaultRedisType: E(),
2475
2475
  config: n.config,
2476
2476
  cloudAuthAvailable: n.config.cloudAuthAvailable
2477
- }), { fetcher: de } = Fe(n.config), ie = x(!1), he = x(!1), re = x(0), oe = z(() => y.value === "terraform" ? {
2477
+ }), { fetcher: de } = Fe(n.config), ie = x(!1), we = x(!1), re = x(0), oe = z(() => v.value === "terraform" ? {
2478
2478
  [k.value.type.replaceAll("-", "_")]: Es(k.value, ["type"])
2479
- } : k.value), we = async () => {
2479
+ } : k.value), Te = async () => {
2480
2480
  try {
2481
- if (d && !he.value) {
2482
- const { count: v } = await de({ partialId: n.partialId });
2483
- if (re.value = v, v > 0) {
2481
+ if (d && !we.value) {
2482
+ const { count: y } = await de({ partialId: n.partialId });
2483
+ if (re.value = y, y > 0) {
2484
2484
  ie.value = !0;
2485
2485
  return;
2486
2486
  }
2487
2487
  }
2488
- const { data: H } = await Y();
2488
+ const { data: H } = await X();
2489
2489
  o("update", H);
2490
2490
  } catch (H) {
2491
2491
  o("error", H);
2492
2492
  }
2493
- }, Te = () => {
2494
- ie.value = !1, he.value = !0, we();
2495
- }, Re = () => {
2493
+ }, Se = () => {
2494
+ ie.value = !1, we.value = !0, Te();
2495
+ }, xe = () => {
2496
2496
  n.config.cancelRoute && u.push(n.config.cancelRoute), o("cancel");
2497
2497
  }, ve = (H) => {
2498
2498
  o("loading", H);
@@ -2506,514 +2506,533 @@ const Fe = (e) => {
2506
2506
  const { count: H } = await de({ partialId: n.partialId });
2507
2507
  re.value = H;
2508
2508
  }
2509
- }), (H, v) => {
2510
- const lt = $("KAlert"), Se = $("KSelect"), N = $("KInput"), C = $("KCheckbox"), R = $("KModal");
2509
+ }), (H, y) => {
2510
+ const lt = $("KAlert"), Ee = $("KSelect"), F = $("KInput"), C = $("KCheckbox"), R = $("KModal");
2511
2511
  return I(), J(fe, null, [
2512
2512
  K("div", dd, [
2513
- g(r(Ii), {
2513
+ g(i(Ii), {
2514
2514
  "action-teleport-target": e.actionTeleportTarget,
2515
- "can-submit": r(A),
2515
+ "can-submit": i(A),
2516
2516
  config: e.config,
2517
2517
  "edit-id": e.partialId,
2518
- "entity-type": r(vn).Partial,
2519
- "error-message": r(s).errorMessage,
2520
- "fetch-url": r(W),
2518
+ "entity-type": i(vn).Partial,
2519
+ "error-message": i(s).errorMessage,
2520
+ "fetch-url": i(W),
2521
2521
  "form-fields": oe.value,
2522
- "is-readonly": r(s).readonly,
2522
+ "is-readonly": i(s).readonly,
2523
2523
  "slidout-top-offset": e.slidoutTopOffset,
2524
- onCancel: Re,
2525
- onCodeBlockTabChange: v[32] || (v[32] = (f) => y.value = f),
2524
+ onCancel: xe,
2525
+ onCodeBlockTabChange: y[34] || (y[34] = (f) => v.value = f),
2526
2526
  "onFetch:error": at,
2527
2527
  "onFetch:success": ze,
2528
2528
  onLoading: ve,
2529
- onSubmit: we
2529
+ onSubmit: Te
2530
2530
  }, {
2531
2531
  default: S(() => [
2532
- re.value > 0 && r(d) ? (I(), F(lt, {
2532
+ re.value > 0 && i(d) ? (I(), N(lt, {
2533
2533
  key: 0,
2534
2534
  appearance: "warning",
2535
2535
  class: "warning-alert",
2536
2536
  "data-testid": "redis-update-warning-alert"
2537
2537
  }, {
2538
2538
  default: S(() => [
2539
- g(r(a), {
2539
+ g(i(a), {
2540
2540
  keypath: "form.edit_warning_modal.description",
2541
2541
  tag: "div"
2542
2542
  }, {
2543
2543
  pluginCount: S(() => [
2544
- K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2544
+ K("b", null, B(i(r)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
2545
2545
  ]),
2546
2546
  _: 1
2547
2547
  })
2548
2548
  ]),
2549
2549
  _: 1
2550
- })) : X("", !0),
2551
- g(r(ue), {
2550
+ })) : Z("", !0),
2551
+ g(i(ue), {
2552
2552
  "data-testid": "redis-type-section",
2553
- description: r(i)("form.sections.type.description"),
2554
- title: r(i)("form.sections.type.title")
2553
+ description: i(r)("form.sections.type.description"),
2554
+ title: i(r)("form.sections.type.title")
2555
2555
  }, {
2556
2556
  default: S(() => [
2557
- g(Se, {
2558
- modelValue: r(O),
2559
- "onUpdate:modelValue": v[0] || (v[0] = (f) => Ti(O) ? O.value = f : null),
2557
+ g(Ee, {
2558
+ modelValue: i(O),
2559
+ "onUpdate:modelValue": y[0] || (y[0] = (f) => Ti(O) ? O.value = f : null),
2560
2560
  "data-testid": "redis-type-select",
2561
- disabled: r(d) && r(O) === r(T).HOST_PORT_CE,
2562
- items: w.value,
2561
+ disabled: i(d) && i(O) === i(w).HOST_PORT_CE,
2562
+ items: T.value,
2563
2563
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
2564
- label: r(i)("form.fields.type.label"),
2565
- readonly: r(s).readonly,
2564
+ label: i(r)("form.fields.type.label"),
2565
+ readonly: i(s).readonly,
2566
2566
  required: ""
2567
2567
  }, {
2568
2568
  "selected-item-template": S(({ item: f }) => [
2569
- le(U(_(f)), 1)
2569
+ le(B(_(f)), 1)
2570
2570
  ]),
2571
2571
  _: 1
2572
2572
  }, 8, ["modelValue", "disabled", "items", "label", "readonly"])
2573
2573
  ]),
2574
2574
  _: 1
2575
2575
  }, 8, ["description", "title"]),
2576
- g(r(ue), {
2576
+ g(i(ue), {
2577
2577
  "data-testid": "redis-general-section",
2578
- description: r(i)("form.sections.general.description"),
2579
- title: r(i)("form.sections.general.title")
2578
+ description: i(r)("form.sections.general.description"),
2579
+ title: i(r)("form.sections.general.title")
2580
2580
  }, {
2581
2581
  default: S(() => [
2582
- g(N, {
2583
- modelValue: r(s).fields.name,
2584
- "onUpdate:modelValue": v[1] || (v[1] = (f) => r(s).fields.name = f),
2582
+ g(F, {
2583
+ modelValue: i(s).fields.name,
2584
+ "onUpdate:modelValue": y[1] || (y[1] = (f) => i(s).fields.name = f),
2585
2585
  modelModifiers: { trim: !0 },
2586
2586
  "data-testid": "redis-name-input",
2587
- disabled: r(d),
2588
- label: r(i)("form.fields.name.label"),
2589
- placeholder: r(i)("form.fields.name.placeholder"),
2590
- readonly: r(s).readonly,
2587
+ disabled: i(d),
2588
+ label: i(r)("form.fields.name.label"),
2589
+ placeholder: i(r)("form.fields.name.placeholder"),
2590
+ readonly: i(s).readonly,
2591
2591
  required: ""
2592
2592
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
2593
- g(N, {
2594
- modelValue: r(s).fields.tags,
2595
- "onUpdate:modelValue": v[2] || (v[2] = (f) => r(s).fields.tags = f),
2593
+ g(F, {
2594
+ modelValue: i(s).fields.tags,
2595
+ "onUpdate:modelValue": y[2] || (y[2] = (f) => i(s).fields.tags = f),
2596
2596
  modelModifiers: { trim: !0 },
2597
2597
  "data-testid": "redis-tags-input",
2598
- help: r(i)("form.fields.tags.help"),
2599
- label: r(i)("form.fields.tags.label"),
2598
+ help: i(r)("form.fields.tags.help"),
2599
+ label: i(r)("form.fields.tags.label"),
2600
2600
  "label-attributes": {
2601
- info: r(i)("form.fields.tags.tooltip"),
2601
+ info: i(r)("form.fields.tags.tooltip"),
2602
2602
  tooltipAttributes: { maxWidth: "400" }
2603
2603
  },
2604
- placeholder: r(i)("form.fields.tags.placeholder"),
2605
- readonly: r(s).readonly
2604
+ placeholder: i(r)("form.fields.tags.placeholder"),
2605
+ readonly: i(s).readonly
2606
2606
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
2607
2607
  ]),
2608
2608
  _: 1
2609
2609
  }, 8, ["description", "title"]),
2610
- e.config.cloudAuthAvailable && r(O) !== r(T).SENTINEL ? (I(), F(r(ue), {
2610
+ e.config.cloudAuthAvailable && i(O) !== i(w).SENTINEL ? (I(), N(i(ue), {
2611
2611
  key: 1,
2612
2612
  "data-testid": "redis-cloud-auth-section",
2613
- description: r(i)("form.sections.cloud_auth.description"),
2614
- title: r(i)("form.sections.cloud_auth.title")
2613
+ description: i(r)("form.sections.cloud_auth.description"),
2614
+ title: i(r)("form.sections.cloud_auth.title")
2615
2615
  }, {
2616
2616
  default: S(() => [
2617
- g(Se, {
2618
- modelValue: r(s).fields.config.cloud_authentication.auth_provider,
2619
- "onUpdate:modelValue": v[3] || (v[3] = (f) => r(s).fields.config.cloud_authentication.auth_provider = f),
2617
+ g(Ee, {
2618
+ modelValue: i(s).fields.config.cloud_authentication.auth_provider,
2619
+ "onUpdate:modelValue": y[3] || (y[3] = (f) => i(s).fields.config.cloud_authentication.auth_provider = f),
2620
2620
  clearable: "",
2621
2621
  "data-testid": "redis-auth-provider-select",
2622
2622
  items: m.value,
2623
2623
  "kpop-attributes": { "data-testid": "redis-auth-provider-select-popover" },
2624
- label: r(i)("form.fields.cloud_authentication.auth_provider.label"),
2625
- "label-attributes": { info: r(i)("form.fields.cloud_authentication.auth_provider.tooltip") },
2626
- readonly: r(s).readonly
2624
+ label: i(r)("form.fields.cloud_authentication.auth_provider.label"),
2625
+ "label-attributes": { info: i(r)("form.fields.cloud_authentication.auth_provider.tooltip") },
2626
+ readonly: i(s).readonly
2627
2627
  }, null, 8, ["modelValue", "items", "label", "label-attributes", "readonly"]),
2628
2628
  g(Qs, {
2629
- modelValue: r(s).fields.config.cloud_authentication,
2630
- "onUpdate:modelValue": v[4] || (v[4] = (f) => r(s).fields.config.cloud_authentication = f),
2629
+ modelValue: i(s).fields.config.cloud_authentication,
2630
+ "onUpdate:modelValue": y[4] || (y[4] = (f) => i(s).fields.config.cloud_authentication = f),
2631
2631
  config: n.config,
2632
- readonly: r(s).readonly
2632
+ readonly: i(s).readonly
2633
2633
  }, null, 8, ["modelValue", "config", "readonly"])
2634
2634
  ]),
2635
2635
  _: 1
2636
- }, 8, ["description", "title"])) : X("", !0),
2637
- r(O) === r(T).SENTINEL ? (I(), F(r(ue), {
2636
+ }, 8, ["description", "title"])) : Z("", !0),
2637
+ i(O) === i(w).SENTINEL ? (I(), N(i(ue), {
2638
2638
  key: 2,
2639
2639
  "data-testid": "redis-sentinel-configuration-section",
2640
- description: r(i)("form.sections.sentinel_configuration.description"),
2641
- title: r(i)("form.sections.sentinel_configuration.title")
2640
+ description: i(r)("form.sections.sentinel_configuration.description"),
2641
+ title: i(r)("form.sections.sentinel_configuration.title")
2642
2642
  }, {
2643
2643
  default: S(() => [
2644
- g(N, {
2645
- modelValue: r(s).fields.config.sentinel_master,
2646
- "onUpdate:modelValue": v[5] || (v[5] = (f) => r(s).fields.config.sentinel_master = f),
2644
+ g(F, {
2645
+ modelValue: i(s).fields.config.sentinel_master,
2646
+ "onUpdate:modelValue": y[5] || (y[5] = (f) => i(s).fields.config.sentinel_master = f),
2647
2647
  "data-testid": "redis-sentinel-master-input",
2648
- label: r(i)("form.fields.sentinel_master.label"),
2648
+ label: i(r)("form.fields.sentinel_master.label"),
2649
2649
  "label-attributes": {
2650
- info: r(i)("form.fields.sentinel_master.tooltip"),
2650
+ info: i(r)("form.fields.sentinel_master.tooltip"),
2651
2651
  tooltipAttributes: { maxWidth: "400" }
2652
2652
  },
2653
- readonly: r(s).readonly,
2653
+ readonly: i(s).readonly,
2654
2654
  required: ""
2655
2655
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2656
- g(Se, {
2657
- modelValue: r(s).fields.config.sentinel_role,
2658
- "onUpdate:modelValue": v[6] || (v[6] = (f) => r(s).fields.config.sentinel_role = f),
2656
+ g(Ee, {
2657
+ modelValue: i(s).fields.config.sentinel_role,
2658
+ "onUpdate:modelValue": y[6] || (y[6] = (f) => i(s).fields.config.sentinel_role = f),
2659
2659
  "data-testid": "redis-sentinel-role-select",
2660
2660
  items: b,
2661
2661
  "kpop-attributes": { "data-testid": "redis-sentinel-role-select-popover" },
2662
- label: r(i)("form.fields.sentinel_role.label"),
2662
+ label: i(r)("form.fields.sentinel_role.label"),
2663
2663
  "label-attributes": {
2664
- info: r(i)("form.fields.sentinel_role.tooltip"),
2664
+ info: i(r)("form.fields.sentinel_role.tooltip"),
2665
2665
  tooltipAttributes: { maxWidth: "400" }
2666
2666
  },
2667
- readonly: r(s).readonly,
2667
+ readonly: i(s).readonly,
2668
2668
  required: ""
2669
2669
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2670
2670
  g(Js, {
2671
- modelValue: r(s).fields.config.sentinel_nodes,
2672
- "onUpdate:modelValue": v[7] || (v[7] = (f) => r(s).fields.config.sentinel_nodes = f),
2673
- readonly: r(s).readonly
2671
+ modelValue: i(s).fields.config.sentinel_nodes,
2672
+ "onUpdate:modelValue": y[7] || (y[7] = (f) => i(s).fields.config.sentinel_nodes = f),
2673
+ readonly: i(s).readonly
2674
2674
  }, null, 8, ["modelValue", "readonly"]),
2675
- g(N, {
2676
- modelValue: r(s).fields.config.sentinel_username,
2677
- "onUpdate:modelValue": v[8] || (v[8] = (f) => r(s).fields.config.sentinel_username = f),
2675
+ g(F, {
2676
+ modelValue: i(s).fields.config.sentinel_username,
2677
+ "onUpdate:modelValue": y[8] || (y[8] = (f) => i(s).fields.config.sentinel_username = f),
2678
2678
  modelModifiers: { trim: !0 },
2679
- label: r(i)("form.fields.sentinel_username.label"),
2679
+ label: i(r)("form.fields.sentinel_username.label"),
2680
2680
  "label-attributes": {
2681
- info: r(i)("form.fields.sentinel_username.tooltip"),
2681
+ info: i(r)("form.fields.sentinel_username.tooltip"),
2682
2682
  tooltipAttributes: { maxWidth: "400" }
2683
2683
  },
2684
- readonly: r(s).readonly
2684
+ readonly: i(s).readonly
2685
2685
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2686
- g(r(xe), {
2686
+ g(i(he), {
2687
2687
  class: "secret-picker-provider",
2688
- disabled: r(s).readonly,
2689
- update: (f) => r(s).fields.config.sentinel_username = f,
2690
- value: r(s).fields.config.sentinel_username,
2691
- onOpen: v[9] || (v[9] = (f, B) => r(p)(f, B))
2688
+ disabled: i(s).readonly,
2689
+ update: (f) => i(s).fields.config.sentinel_username = f,
2690
+ value: i(s).fields.config.sentinel_username,
2691
+ onOpen: y[9] || (y[9] = (f, j) => i(p)(f, j))
2692
2692
  }, null, 8, ["disabled", "update", "value"]),
2693
- g(N, {
2694
- modelValue: r(s).fields.config.sentinel_password,
2695
- "onUpdate:modelValue": v[10] || (v[10] = (f) => r(s).fields.config.sentinel_password = f),
2693
+ g(F, {
2694
+ modelValue: i(s).fields.config.sentinel_password,
2695
+ "onUpdate:modelValue": y[10] || (y[10] = (f) => i(s).fields.config.sentinel_password = f),
2696
2696
  modelModifiers: { trim: !0 },
2697
- label: r(i)("form.fields.sentinel_password.label"),
2697
+ label: i(r)("form.fields.sentinel_password.label"),
2698
2698
  "label-attributes": {
2699
- info: r(i)("form.fields.sentinel_password.tooltip"),
2699
+ info: i(r)("form.fields.sentinel_password.tooltip"),
2700
2700
  tooltipAttributes: { maxWidth: "400" }
2701
2701
  },
2702
- readonly: r(s).readonly,
2702
+ readonly: i(s).readonly,
2703
2703
  "show-password-mask-toggle": "",
2704
2704
  type: "password"
2705
2705
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2706
- g(r(xe), {
2706
+ g(i(he), {
2707
2707
  class: "secret-picker-provider",
2708
- disabled: r(s).readonly,
2709
- update: (f) => r(s).fields.config.sentinel_password = f,
2710
- value: r(s).fields.config.sentinel_password,
2711
- onOpen: v[11] || (v[11] = (f, B) => r(p)(f, B))
2708
+ disabled: i(s).readonly,
2709
+ update: (f) => i(s).fields.config.sentinel_password = f,
2710
+ value: i(s).fields.config.sentinel_password,
2711
+ onOpen: y[11] || (y[11] = (f, j) => i(p)(f, j))
2712
2712
  }, null, 8, ["disabled", "update", "value"])
2713
2713
  ]),
2714
2714
  _: 1
2715
- }, 8, ["description", "title"])) : X("", !0),
2716
- r(O) === r(T).CLUSTER ? (I(), F(r(ue), {
2715
+ }, 8, ["description", "title"])) : Z("", !0),
2716
+ i(O) === i(w).CLUSTER ? (I(), N(i(ue), {
2717
2717
  key: 3,
2718
2718
  "data-testid": "redis-cluster-configuration-section",
2719
- description: r(i)("form.sections.cluster.description"),
2720
- title: r(i)("form.sections.cluster.title")
2719
+ description: i(r)("form.sections.cluster.description"),
2720
+ title: i(r)("form.sections.cluster.title")
2721
2721
  }, {
2722
2722
  default: S(() => [
2723
2723
  g(Ws, {
2724
- modelValue: r(s).fields.config.cluster_nodes,
2725
- "onUpdate:modelValue": v[12] || (v[12] = (f) => r(s).fields.config.cluster_nodes = f),
2726
- readonly: r(s).readonly
2724
+ modelValue: i(s).fields.config.cluster_nodes,
2725
+ "onUpdate:modelValue": y[12] || (y[12] = (f) => i(s).fields.config.cluster_nodes = f),
2726
+ readonly: i(s).readonly
2727
2727
  }, null, 8, ["modelValue", "readonly"]),
2728
- g(N, {
2729
- modelValue: r(s).fields.config.cluster_max_redirections,
2730
- "onUpdate:modelValue": v[13] || (v[13] = (f) => r(s).fields.config.cluster_max_redirections = f),
2728
+ g(F, {
2729
+ modelValue: i(s).fields.config.cluster_max_redirections,
2730
+ "onUpdate:modelValue": y[13] || (y[13] = (f) => i(s).fields.config.cluster_max_redirections = f),
2731
2731
  "data-testid": "redis-cluster-max-redirections-input",
2732
- label: r(i)("form.fields.cluster_max_redirections.label"),
2732
+ label: i(r)("form.fields.cluster_max_redirections.label"),
2733
2733
  "label-attributes": {
2734
- info: r(i)("form.fields.cluster_max_redirections.tooltip"),
2734
+ info: i(r)("form.fields.cluster_max_redirections.tooltip"),
2735
2735
  tooltipAttributes: { maxWidth: "400" }
2736
2736
  },
2737
- readonly: r(s).readonly,
2737
+ readonly: i(s).readonly,
2738
2738
  type: "number"
2739
2739
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2740
2740
  ]),
2741
2741
  _: 1
2742
- }, 8, ["description", "title"])) : X("", !0),
2743
- g(r(ue), {
2742
+ }, 8, ["description", "title"])) : Z("", !0),
2743
+ g(i(ue), {
2744
2744
  "data-testid": "redis-connection-configuration-section",
2745
- description: r(i)("form.sections.connection.description"),
2746
- title: r(i)("form.sections.connection.title")
2745
+ description: i(r)("form.sections.connection.description"),
2746
+ title: i(r)("form.sections.connection.title")
2747
2747
  }, {
2748
2748
  default: S(() => [
2749
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2749
+ i(O) === i(w).HOST_PORT_CE || i(O) === i(w).HOST_PORT_EE ? (I(), N(F, {
2750
2750
  key: 0,
2751
- modelValue: r(s).fields.config.host,
2752
- "onUpdate:modelValue": v[14] || (v[14] = (f) => r(s).fields.config.host = f),
2751
+ modelValue: i(s).fields.config.host,
2752
+ "onUpdate:modelValue": y[14] || (y[14] = (f) => i(s).fields.config.host = f),
2753
2753
  modelModifiers: { trim: !0 },
2754
2754
  "data-testid": "redis-host-input",
2755
- label: r(i)("form.fields.host.label"),
2755
+ label: i(r)("form.fields.host.label"),
2756
2756
  "label-attributes": {
2757
- info: r(i)("form.fields.host.tooltip"),
2757
+ info: i(r)("form.fields.host.tooltip"),
2758
2758
  tooltipAttributes: { maxWidth: "400" }
2759
2759
  },
2760
- readonly: r(s).readonly
2761
- }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2762
- r(O) === r(T).HOST_PORT_CE || r(O) === r(T).HOST_PORT_EE ? (I(), F(N, {
2760
+ readonly: i(s).readonly
2761
+ }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : Z("", !0),
2762
+ i(O) === i(w).HOST_PORT_EE && e.config.isHostReferenceable ? (I(), N(i(he), {
2763
2763
  key: 1,
2764
- modelValue: r(s).fields.config.port,
2765
- "onUpdate:modelValue": v[15] || (v[15] = (f) => r(s).fields.config.port = f),
2764
+ class: "secret-picker-provider",
2765
+ "data-testid": "secret-picker-provider-for-host",
2766
+ disabled: i(s).readonly,
2767
+ update: (f) => i(s).fields.config.host = f,
2768
+ value: i(s).fields.config.host ?? "",
2769
+ onOpen: y[15] || (y[15] = (f, j) => i(p)(f, j))
2770
+ }, null, 8, ["disabled", "update", "value"])) : Z("", !0),
2771
+ i(O) === i(w).HOST_PORT_CE || i(O) === i(w).HOST_PORT_EE ? (I(), N(F, {
2772
+ key: 2,
2773
+ modelValue: i(s).fields.config.port,
2774
+ "onUpdate:modelValue": y[16] || (y[16] = (f) => i(s).fields.config.port = f),
2766
2775
  modelModifiers: { trim: !0 },
2767
2776
  "data-testid": "redis-port-input",
2768
- label: r(i)("form.fields.port.label"),
2777
+ label: i(r)("form.fields.port.label"),
2769
2778
  "label-attributes": {
2770
- info: r(i)("form.fields.port.tooltip"),
2779
+ info: i(r)("form.fields.port.tooltip"),
2771
2780
  tooltipAttributes: { maxWidth: "400" }
2772
2781
  },
2773
- readonly: r(s).readonly
2774
- }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2775
- r(O) === r(T).HOST_PORT_EE && e.config.isPortReferenceable ? (I(), F(r(xe), {
2776
- key: 2,
2782
+ readonly: i(s).readonly
2783
+ }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : Z("", !0),
2784
+ i(O) === i(w).HOST_PORT_EE && e.config.isPortReferenceable ? (I(), N(i(he), {
2785
+ key: 3,
2777
2786
  class: "secret-picker-provider",
2778
2787
  "data-testid": "secret-picker-provider-for-port",
2779
- disabled: r(s).readonly,
2780
- update: (f) => r(s).fields.config.port = f,
2781
- value: String(r(s).fields.config.port ?? ""),
2782
- onOpen: v[16] || (v[16] = (f, B) => r(p)(f, B))
2783
- }, null, 8, ["disabled", "update", "value"])) : X("", !0),
2784
- r(O) === r(T).HOST_PORT_EE ? (I(), F(C, {
2785
- key: 3,
2786
- modelValue: r(s).fields.config.connection_is_proxied,
2787
- "onUpdate:modelValue": v[17] || (v[17] = (f) => r(s).fields.config.connection_is_proxied = f),
2788
+ disabled: i(s).readonly,
2789
+ update: (f) => i(s).fields.config.port = f,
2790
+ value: String(i(s).fields.config.port ?? ""),
2791
+ onOpen: y[17] || (y[17] = (f, j) => i(p)(f, j))
2792
+ }, null, 8, ["disabled", "update", "value"])) : Z("", !0),
2793
+ i(O) === i(w).HOST_PORT_EE ? (I(), N(C, {
2794
+ key: 4,
2795
+ modelValue: i(s).fields.config.connection_is_proxied,
2796
+ "onUpdate:modelValue": y[18] || (y[18] = (f) => i(s).fields.config.connection_is_proxied = f),
2788
2797
  "data-testid": "redis-connection-is-proxied-checkbox",
2789
- disabled: r(s).readonly,
2790
- label: r(i)("form.fields.connection_is_proxied.label"),
2798
+ disabled: i(s).readonly,
2799
+ label: i(r)("form.fields.connection_is_proxied.label"),
2791
2800
  "label-attributes": {
2792
- info: r(i)("form.fields.connection_is_proxied.tooltip"),
2801
+ info: i(r)("form.fields.connection_is_proxied.tooltip"),
2793
2802
  tooltipAttributes: { maxWidth: "400" }
2794
2803
  }
2795
- }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2796
- r(O) === r(T).HOST_PORT_CE ? (I(), F(N, {
2797
- key: 4,
2798
- modelValue: r(s).fields.config.timeout,
2799
- "onUpdate:modelValue": v[18] || (v[18] = (f) => r(s).fields.config.timeout = f),
2804
+ }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : Z("", !0),
2805
+ i(O) === i(w).HOST_PORT_CE ? (I(), N(F, {
2806
+ key: 5,
2807
+ modelValue: i(s).fields.config.timeout,
2808
+ "onUpdate:modelValue": y[19] || (y[19] = (f) => i(s).fields.config.timeout = f),
2800
2809
  modelModifiers: { trim: !0 },
2801
2810
  "data-testid": "redis-timeout-input",
2802
- label: r(i)("form.fields.timeout.label"),
2811
+ label: i(r)("form.fields.timeout.label"),
2803
2812
  "label-attributes": {
2804
- info: r(i)("form.fields.timeout.tooltip"),
2813
+ info: i(r)("form.fields.timeout.tooltip"),
2805
2814
  tooltipAttributes: { maxWidth: "400" }
2806
2815
  },
2807
- readonly: r(s).readonly,
2816
+ readonly: i(s).readonly,
2808
2817
  type: "number"
2809
- }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2810
- g(N, {
2811
- modelValue: r(s).fields.config.database,
2812
- "onUpdate:modelValue": v[19] || (v[19] = (f) => r(s).fields.config.database = f),
2818
+ }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : Z("", !0),
2819
+ g(F, {
2820
+ modelValue: i(s).fields.config.database,
2821
+ "onUpdate:modelValue": y[20] || (y[20] = (f) => i(s).fields.config.database = f),
2813
2822
  modelModifiers: { trim: !0 },
2814
2823
  "data-testid": "redis-database-input",
2815
- label: r(i)("form.fields.database.label"),
2824
+ label: i(r)("form.fields.database.label"),
2816
2825
  "label-attributes": {
2817
- info: r(i)("form.fields.database.tooltip"),
2826
+ info: i(r)("form.fields.database.tooltip"),
2818
2827
  tooltipAttributes: { maxWidth: "400" }
2819
2828
  },
2820
- readonly: r(s).readonly,
2829
+ readonly: i(s).readonly,
2821
2830
  type: "number"
2822
2831
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2823
- g(N, {
2824
- modelValue: r(s).fields.config.username,
2825
- "onUpdate:modelValue": v[20] || (v[20] = (f) => r(s).fields.config.username = f),
2832
+ g(F, {
2833
+ modelValue: i(s).fields.config.username,
2834
+ "onUpdate:modelValue": y[21] || (y[21] = (f) => i(s).fields.config.username = f),
2826
2835
  modelModifiers: { trim: !0 },
2827
2836
  "data-testid": "redis-username-input",
2828
- label: r(i)("form.fields.username.label"),
2837
+ label: i(r)("form.fields.username.label"),
2829
2838
  "label-attributes": {
2830
- info: r(i)("form.fields.username.tooltip"),
2839
+ info: i(r)("form.fields.username.tooltip"),
2831
2840
  tooltipAttributes: { maxWidth: "400" }
2832
2841
  },
2833
- readonly: r(s).readonly
2842
+ readonly: i(s).readonly
2834
2843
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2835
- g(r(xe), {
2844
+ g(i(he), {
2836
2845
  class: "secret-picker-provider",
2837
- disabled: r(s).readonly,
2838
- update: (f) => r(s).fields.config.username = f,
2839
- value: r(s).fields.config.username,
2840
- onOpen: v[21] || (v[21] = (f, B) => r(p)(f, B))
2846
+ disabled: i(s).readonly,
2847
+ update: (f) => i(s).fields.config.username = f,
2848
+ value: i(s).fields.config.username,
2849
+ onOpen: y[22] || (y[22] = (f, j) => i(p)(f, j))
2841
2850
  }, null, 8, ["disabled", "update", "value"]),
2842
- g(N, {
2843
- modelValue: r(s).fields.config.password,
2844
- "onUpdate:modelValue": v[22] || (v[22] = (f) => r(s).fields.config.password = f),
2851
+ g(F, {
2852
+ modelValue: i(s).fields.config.password,
2853
+ "onUpdate:modelValue": y[23] || (y[23] = (f) => i(s).fields.config.password = f),
2845
2854
  modelModifiers: { trim: !0 },
2846
2855
  "data-testid": "redis-password-input",
2847
- label: r(i)("form.fields.password.label"),
2856
+ label: i(r)("form.fields.password.label"),
2848
2857
  "label-attributes": {
2849
- info: r(i)("form.fields.password.tooltip"),
2858
+ info: i(r)("form.fields.password.tooltip"),
2850
2859
  tooltipAttributes: { maxWidth: "400" }
2851
2860
  },
2852
- readonly: r(s).readonly,
2861
+ readonly: i(s).readonly,
2853
2862
  "show-password-mask-toggle": "",
2854
2863
  type: "password"
2855
2864
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2856
- g(r(xe), {
2865
+ g(i(he), {
2857
2866
  class: "secret-picker-provider",
2858
- disabled: r(s).readonly,
2859
- update: (f) => r(s).fields.config.password = f,
2860
- value: r(s).fields.config.password,
2861
- onOpen: v[23] || (v[23] = (f, B) => r(p)(f, B))
2867
+ disabled: i(s).readonly,
2868
+ update: (f) => i(s).fields.config.password = f,
2869
+ value: i(s).fields.config.password,
2870
+ onOpen: y[24] || (y[24] = (f, j) => i(p)(f, j))
2862
2871
  }, null, 8, ["disabled", "update", "value"])
2863
2872
  ]),
2864
2873
  _: 1
2865
2874
  }, 8, ["description", "title"]),
2866
- g(r(ue), {
2875
+ g(i(ue), {
2867
2876
  "data-testid": "redis-tls-configuration-section",
2868
- description: r(i)("form.sections.tls.description"),
2869
- title: r(i)("form.sections.tls.title")
2877
+ description: i(r)("form.sections.tls.description"),
2878
+ title: i(r)("form.sections.tls.title")
2870
2879
  }, {
2871
2880
  default: S(() => [
2872
2881
  g(C, {
2873
- modelValue: r(s).fields.config.ssl,
2874
- "onUpdate:modelValue": v[24] || (v[24] = (f) => r(s).fields.config.ssl = f),
2882
+ modelValue: i(s).fields.config.ssl,
2883
+ "onUpdate:modelValue": y[25] || (y[25] = (f) => i(s).fields.config.ssl = f),
2875
2884
  "data-testid": "redis-ssl-checkbox",
2876
- description: r(i)("form.fields.ssl.description"),
2877
- disabled: r(s).readonly,
2878
- label: r(i)("form.fields.ssl.label"),
2885
+ description: i(r)("form.fields.ssl.description"),
2886
+ disabled: i(s).readonly,
2887
+ label: i(r)("form.fields.ssl.label"),
2879
2888
  "label-attributes": {
2880
- info: r(i)("form.fields.ssl.tooltip"),
2889
+ info: i(r)("form.fields.ssl.tooltip"),
2881
2890
  tooltipAttributes: { maxWidth: "400" }
2882
2891
  }
2883
2892
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2884
2893
  g(C, {
2885
- modelValue: r(s).fields.config.ssl_verify,
2886
- "onUpdate:modelValue": v[25] || (v[25] = (f) => r(s).fields.config.ssl_verify = f),
2894
+ modelValue: i(s).fields.config.ssl_verify,
2895
+ "onUpdate:modelValue": y[26] || (y[26] = (f) => i(s).fields.config.ssl_verify = f),
2887
2896
  "data-testid": "redis-ssl-verify-checkbox",
2888
- description: r(i)("form.fields.ssl_verify.description"),
2889
- disabled: r(s).readonly,
2890
- label: r(i)("form.fields.ssl_verify.label"),
2897
+ description: i(r)("form.fields.ssl_verify.description"),
2898
+ disabled: i(s).readonly,
2899
+ label: i(r)("form.fields.ssl_verify.label"),
2891
2900
  "label-attributes": {
2892
- info: r(i)("form.fields.ssl_verify.tooltip"),
2901
+ info: i(r)("form.fields.ssl_verify.tooltip"),
2893
2902
  tooltipAttributes: { maxWidth: "400" }
2894
2903
  }
2895
2904
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2896
- g(N, {
2897
- modelValue: r(s).fields.config.server_name,
2898
- "onUpdate:modelValue": v[26] || (v[26] = (f) => r(s).fields.config.server_name = f),
2905
+ g(F, {
2906
+ modelValue: i(s).fields.config.server_name,
2907
+ "onUpdate:modelValue": y[27] || (y[27] = (f) => i(s).fields.config.server_name = f),
2899
2908
  modelModifiers: { trim: !0 },
2900
- label: r(i)("form.fields.server_name.label"),
2909
+ "data-testid": "redis-server_name-input",
2910
+ label: i(r)("form.fields.server_name.label"),
2901
2911
  "label-attributes": {
2902
- info: r(i)("form.fields.server_name.tooltip"),
2912
+ info: i(r)("form.fields.server_name.tooltip"),
2903
2913
  tooltipAttributes: { maxWidth: "400" }
2904
2914
  },
2905
- readonly: r(s).readonly
2906
- }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2915
+ readonly: i(s).readonly
2916
+ }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2917
+ i(O) === i(w).HOST_PORT_EE && e.config.isServerNameReferenceable ? (I(), N(i(he), {
2918
+ key: 0,
2919
+ class: "secret-picker-provider",
2920
+ "data-testid": "secret-picker-provider-for-server_name",
2921
+ disabled: i(s).readonly,
2922
+ update: (f) => i(s).fields.config.server_name = f,
2923
+ value: i(s).fields.config.server_name ?? "",
2924
+ onOpen: y[28] || (y[28] = (f, j) => i(p)(f, j))
2925
+ }, null, 8, ["disabled", "update", "value"])) : Z("", !0)
2907
2926
  ]),
2908
2927
  _: 1
2909
2928
  }, 8, ["description", "title"]),
2910
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2929
+ i(O) !== i(w).HOST_PORT_CE ? (I(), N(i(ue), {
2911
2930
  key: 4,
2912
2931
  "data-testid": "redis-keepalive-section",
2913
- description: r(i)("form.sections.keepalive.description"),
2914
- title: r(i)("form.sections.keepalive.title")
2932
+ description: i(r)("form.sections.keepalive.description"),
2933
+ title: i(r)("form.sections.keepalive.title")
2915
2934
  }, {
2916
2935
  default: S(() => [
2917
- g(N, {
2918
- modelValue: r(s).fields.config.keepalive_backlog,
2919
- "onUpdate:modelValue": v[27] || (v[27] = (f) => r(s).fields.config.keepalive_backlog = f),
2936
+ g(F, {
2937
+ modelValue: i(s).fields.config.keepalive_backlog,
2938
+ "onUpdate:modelValue": y[29] || (y[29] = (f) => i(s).fields.config.keepalive_backlog = f),
2920
2939
  "data-testid": "redis-keepalive-backlog-input",
2921
- label: r(i)("form.fields.keepalive_backlog.label"),
2940
+ label: i(r)("form.fields.keepalive_backlog.label"),
2922
2941
  "label-attributes": {
2923
- info: r(i)("form.fields.keepalive_backlog.tooltip"),
2942
+ info: i(r)("form.fields.keepalive_backlog.tooltip"),
2924
2943
  tooltipAttributes: { maxWidth: "400" }
2925
2944
  },
2926
- readonly: r(s).readonly,
2945
+ readonly: i(s).readonly,
2927
2946
  type: "number"
2928
2947
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2929
- g(N, {
2930
- modelValue: r(s).fields.config.keepalive_pool_size,
2931
- "onUpdate:modelValue": v[28] || (v[28] = (f) => r(s).fields.config.keepalive_pool_size = f),
2948
+ g(F, {
2949
+ modelValue: i(s).fields.config.keepalive_pool_size,
2950
+ "onUpdate:modelValue": y[30] || (y[30] = (f) => i(s).fields.config.keepalive_pool_size = f),
2932
2951
  "data-testid": "redis-keepalive-pool-size-input",
2933
- label: r(i)("form.fields.keepalive_pool_size.label"),
2952
+ label: i(r)("form.fields.keepalive_pool_size.label"),
2934
2953
  "label-attributes": {
2935
- info: r(i)("form.fields.keepalive_pool_size.tooltip"),
2954
+ info: i(r)("form.fields.keepalive_pool_size.tooltip"),
2936
2955
  tooltipAttributes: { maxWidth: "400" }
2937
2956
  },
2938
- readonly: r(s).readonly,
2957
+ readonly: i(s).readonly,
2939
2958
  type: "number"
2940
2959
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2941
2960
  ]),
2942
2961
  _: 1
2943
- }, 8, ["description", "title"])) : X("", !0),
2944
- r(O) !== r(T).HOST_PORT_CE ? (I(), F(r(ue), {
2962
+ }, 8, ["description", "title"])) : Z("", !0),
2963
+ i(O) !== i(w).HOST_PORT_CE ? (I(), N(i(ue), {
2945
2964
  key: 5,
2946
2965
  "data-testid": "redis-read-write-configuration-section",
2947
- description: r(i)("form.sections.read_write_configuration.description"),
2948
- title: r(i)("form.sections.read_write_configuration.title")
2966
+ description: i(r)("form.sections.read_write_configuration.description"),
2967
+ title: i(r)("form.sections.read_write_configuration.title")
2949
2968
  }, {
2950
2969
  default: S(() => [
2951
- g(N, {
2952
- modelValue: r(s).fields.config.read_timeout,
2953
- "onUpdate:modelValue": v[29] || (v[29] = (f) => r(s).fields.config.read_timeout = f),
2970
+ g(F, {
2971
+ modelValue: i(s).fields.config.read_timeout,
2972
+ "onUpdate:modelValue": y[31] || (y[31] = (f) => i(s).fields.config.read_timeout = f),
2954
2973
  "data-testid": "redis-read-timeout-input",
2955
- label: r(i)("form.fields.read_timeout.label"),
2974
+ label: i(r)("form.fields.read_timeout.label"),
2956
2975
  "label-attributes": {
2957
- info: r(i)("form.fields.read_timeout.tooltip"),
2976
+ info: i(r)("form.fields.read_timeout.tooltip"),
2958
2977
  tooltipAttributes: { maxWidth: "400" }
2959
2978
  },
2960
- readonly: r(s).readonly,
2979
+ readonly: i(s).readonly,
2961
2980
  type: "number"
2962
2981
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2963
- g(N, {
2964
- modelValue: r(s).fields.config.send_timeout,
2965
- "onUpdate:modelValue": v[30] || (v[30] = (f) => r(s).fields.config.send_timeout = f),
2982
+ g(F, {
2983
+ modelValue: i(s).fields.config.send_timeout,
2984
+ "onUpdate:modelValue": y[32] || (y[32] = (f) => i(s).fields.config.send_timeout = f),
2966
2985
  "data-testid": "redis-send-timeout-input",
2967
- label: r(i)("form.fields.send_timeout.label"),
2986
+ label: i(r)("form.fields.send_timeout.label"),
2968
2987
  "label-attributes": {
2969
- info: r(i)("form.fields.send_timeout.tooltip"),
2988
+ info: i(r)("form.fields.send_timeout.tooltip"),
2970
2989
  tooltipAttributes: { maxWidth: "400" }
2971
2990
  },
2972
- readonly: r(s).readonly,
2991
+ readonly: i(s).readonly,
2973
2992
  type: "number"
2974
2993
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2975
- g(N, {
2976
- modelValue: r(s).fields.config.connect_timeout,
2977
- "onUpdate:modelValue": v[31] || (v[31] = (f) => r(s).fields.config.connect_timeout = f),
2994
+ g(F, {
2995
+ modelValue: i(s).fields.config.connect_timeout,
2996
+ "onUpdate:modelValue": y[33] || (y[33] = (f) => i(s).fields.config.connect_timeout = f),
2978
2997
  "data-testid": "redis-connect-timeout-input",
2979
- label: r(i)("form.fields.connect_timeout.label"),
2998
+ label: i(r)("form.fields.connect_timeout.label"),
2980
2999
  "label-attributes": {
2981
- info: r(i)("form.fields.connect_timeout.tooltip"),
3000
+ info: i(r)("form.fields.connect_timeout.tooltip"),
2982
3001
  tooltipAttributes: { maxWidth: "400" }
2983
3002
  },
2984
- readonly: r(s).readonly,
3003
+ readonly: i(s).readonly,
2985
3004
  type: "number"
2986
3005
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2987
3006
  ]),
2988
3007
  _: 1
2989
- }, 8, ["description", "title"])) : X("", !0)
3008
+ }, 8, ["description", "title"])) : Z("", !0)
2990
3009
  ]),
2991
3010
  _: 1
2992
3011
  }, 8, ["action-teleport-target", "can-submit", "config", "edit-id", "entity-type", "error-message", "fetch-url", "form-fields", "is-readonly", "slidout-top-offset"])
2993
3012
  ]),
2994
- g(r(wn), {
3013
+ g(i(wn), {
2995
3014
  config: n.config,
2996
- setup: r(c),
2997
- onCancel: v[33] || (v[33] = () => c.value = !1),
2998
- onProceed: r(l)
3015
+ setup: i(c),
3016
+ onCancel: y[35] || (y[35] = () => c.value = !1),
3017
+ onProceed: i(l)
2999
3018
  }, null, 8, ["config", "setup", "onProceed"]),
3000
3019
  g(R, {
3001
- "action-button-text": r(i)("form.edit_warning_modal.confirm"),
3020
+ "action-button-text": i(r)("form.edit_warning_modal.confirm"),
3002
3021
  "data-testid": "redis-update-warning-modal",
3003
3022
  "hide-cancel-button": "",
3004
3023
  "max-width": "640",
3005
- title: r(i)("form.edit_warning_modal.title"),
3024
+ title: i(r)("form.edit_warning_modal.title"),
3006
3025
  visible: ie.value,
3007
- onCancel: v[34] || (v[34] = (f) => ie.value = !1),
3008
- onProceed: Te
3026
+ onCancel: y[36] || (y[36] = (f) => ie.value = !1),
3027
+ onProceed: Se
3009
3028
  }, {
3010
3029
  default: S(() => [
3011
- g(r(a), {
3030
+ g(i(a), {
3012
3031
  keypath: "form.edit_warning_modal.description",
3013
3032
  tag: "div"
3014
3033
  }, {
3015
3034
  pluginCount: S(() => [
3016
- K("b", null, U(r(i)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3035
+ K("b", null, B(i(r)("form.edit_warning_modal.plugin_count", { count: re.value })), 1)
3017
3036
  ]),
3018
3037
  _: 1
3019
3038
  })
@@ -3023,10 +3042,10 @@ const Fe = (e) => {
3023
3042
  ], 64);
3024
3043
  };
3025
3044
  }
3026
- }), cd = /* @__PURE__ */ te(ud, [["__scopeId", "data-v-2cb19e90"]]), fd = {
3045
+ }), cd = /* @__PURE__ */ te(ud, [["__scopeId", "data-v-9ed99e62"]]), fd = {
3027
3046
  class: "linked-plugins",
3028
3047
  "data-testid": "linked-plugins-inline"
3029
- }, bt = 7, pd = /* @__PURE__ */ Q({
3048
+ }, bt = 7, pd = /* @__PURE__ */ Y({
3030
3049
  __name: "LinkedPluginsInline",
3031
3050
  props: {
3032
3051
  config: {
@@ -3044,41 +3063,41 @@ const Fe = (e) => {
3044
3063
  config: t.config,
3045
3064
  partialId: t.partialId
3046
3065
  });
3047
- return (o, i) => {
3066
+ return (o, r) => {
3048
3067
  const a = $("KBadge");
3049
3068
  return I(), J("div", fd, [
3050
- (I(!0), J(fe, null, tt(r(n).slice(0, bt), (c) => (I(), F(r(En), {
3069
+ (I(!0), J(fe, null, tt(i(n).slice(0, bt), (c) => (I(), N(i(En), {
3051
3070
  key: c.id,
3052
3071
  name: c.name,
3053
3072
  size: 24
3054
3073
  }, null, 8, ["name"]))), 128)),
3055
- r(n).length - bt > 0 ? (I(), F(a, {
3074
+ i(n).length - bt > 0 ? (I(), N(a, {
3056
3075
  key: 0,
3057
3076
  appearance: "info"
3058
3077
  }, {
3059
3078
  default: S(() => [
3060
- le(" +" + U(r(n).length - bt), 1)
3079
+ le(" +" + B(i(n).length - bt), 1)
3061
3080
  ]),
3062
3081
  _: 1
3063
- })) : X("", !0)
3082
+ })) : Z("", !0)
3064
3083
  ]);
3065
3084
  };
3066
3085
  }
3067
- }), md = /* @__PURE__ */ te(pd, [["__scopeId", "data-v-c39556bc"]]), _d = { class: "plugin-item" }, gd = /* @__PURE__ */ Q({
3086
+ }), md = /* @__PURE__ */ te(pd, [["__scopeId", "data-v-c39556bc"]]), _d = { class: "plugin-item" }, gd = /* @__PURE__ */ Y({
3068
3087
  __name: "PluginItem",
3069
3088
  props: {
3070
3089
  pluginName: {}
3071
3090
  },
3072
3091
  setup(e) {
3073
3092
  return (t, n) => (I(), J("div", _d, [
3074
- g(r(En), {
3093
+ g(i(En), {
3075
3094
  name: e.pluginName,
3076
3095
  size: 24
3077
3096
  }, null, 8, ["name"]),
3078
- K("span", null, U(e.pluginName), 1)
3097
+ K("span", null, B(e.pluginName), 1)
3079
3098
  ]));
3080
3099
  }
3081
- }), bd = /* @__PURE__ */ te(gd, [["__scopeId", "data-v-de964dc4"]]), yd = { class: "toolbar-container" }, vd = /* @__PURE__ */ Q({
3100
+ }), bd = /* @__PURE__ */ te(gd, [["__scopeId", "data-v-de964dc4"]]), yd = { class: "toolbar-container" }, vd = /* @__PURE__ */ Y({
3082
3101
  __name: "LinkedPluginList",
3083
3102
  props: {
3084
3103
  config: {
@@ -3104,9 +3123,9 @@ const Fe = (e) => {
3104
3123
  },
3105
3124
  emits: ["view-plugin", "load"],
3106
3125
  setup(e, { emit: t }) {
3107
- const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = [
3108
- { key: "name", label: i("linked_plugins_modal.headers.plugin") },
3109
- { key: "instance_name", label: i("linked_plugins_modal.headers.instance_name") },
3126
+ const n = e, o = t, { i18n: { t: r } } = ye.useI18n(), a = [
3127
+ { key: "name", label: r("linked_plugins_modal.headers.plugin") },
3128
+ { key: "instance_name", label: r("linked_plugins_modal.headers.instance_name") },
3110
3129
  { key: "actions", hideLabel: !0 }
3111
3130
  ], { fetcher: c } = Fe(n.config), p = x(0), l = async (m) => {
3112
3131
  const { data: b, count: _ } = await c({
@@ -3121,19 +3140,19 @@ const Fe = (e) => {
3121
3140
  data: b
3122
3141
  };
3123
3142
  return o("load", E), E;
3124
- }, u = x(""), y = z(() => n.config.app === "konnect" || n.isExactMatch ? {
3143
+ }, u = x(""), v = z(() => n.config.app === "konnect" || n.isExactMatch ? {
3125
3144
  isExactMatch: !0
3126
3145
  } : {
3127
3146
  isExactMatch: !1,
3128
3147
  fields: { name: { searchable: !0 } },
3129
3148
  schema: { name: { type: "text" } }
3130
- }), w = (m) => {
3149
+ }), T = (m) => {
3131
3150
  o("view-plugin", { id: m.id, plugin: m.name });
3132
3151
  };
3133
3152
  return (m, b) => {
3134
3153
  const _ = $("KDropdownItem"), E = $("KTableData");
3135
- return I(), F(E, {
3136
- "cache-identifier": r(ci)(e.partialId),
3154
+ return I(), N(E, {
3155
+ "cache-identifier": i(ci)(e.partialId),
3137
3156
  fetcher: l,
3138
3157
  headers: a,
3139
3158
  "hide-pagination-when-optional": "",
@@ -3145,10 +3164,10 @@ const Fe = (e) => {
3145
3164
  ]),
3146
3165
  "action-items": S(({ row: s }) => [
3147
3166
  g(_, {
3148
- onClick: (A) => w(s)
3167
+ onClick: (A) => T(s)
3149
3168
  }, {
3150
3169
  default: S(() => [
3151
- le(U(r(i)("actions.view_plugin")), 1)
3170
+ le(B(i(r)("actions.view_plugin")), 1)
3152
3171
  ]),
3153
3172
  _: 1
3154
3173
  }, 8, ["onClick"])
@@ -3159,10 +3178,10 @@ const Fe = (e) => {
3159
3178
  name: "toolbar",
3160
3179
  fn: S(() => [
3161
3180
  K("div", yd, [
3162
- g(r(hn), {
3181
+ g(i(hn), {
3163
3182
  modelValue: u.value,
3164
3183
  "onUpdate:modelValue": b[0] || (b[0] = (s) => u.value = s),
3165
- config: y.value
3184
+ config: v.value
3166
3185
  }, null, 8, ["modelValue", "config"])
3167
3186
  ])
3168
3187
  ]),
@@ -3174,7 +3193,7 @@ const Fe = (e) => {
3174
3193
  }), hd = /* @__PURE__ */ te(vd, [["__scopeId", "data-v-50856d03"]]), wd = {
3175
3194
  class: "linked-plugins-modal",
3176
3195
  "data-testid": "linked-plugins-modal"
3177
- }, Td = /* @__PURE__ */ Q({
3196
+ }, Td = /* @__PURE__ */ Y({
3178
3197
  __name: "LinkedPluginListModal",
3179
3198
  props: {
3180
3199
  config: {
@@ -3194,16 +3213,16 @@ const Fe = (e) => {
3194
3213
  },
3195
3214
  emits: ["cancel", "proceed", "view-plugin"],
3196
3215
  setup(e, { emit: t }) {
3197
- const n = t, { i18n: { t: o } } = ye.useI18n(), i = x(0), a = z(() => o("linked_plugins_modal.title", { count: i.value })), c = () => {
3216
+ const n = t, { i18n: { t: o } } = ye.useI18n(), r = x(0), a = z(() => o("linked_plugins_modal.title", { count: r.value })), c = () => {
3198
3217
  n("cancel");
3199
3218
  }, p = () => {
3200
3219
  n("proceed");
3201
3220
  };
3202
3221
  return (l, u) => {
3203
- const y = $("KModal");
3222
+ const v = $("KModal");
3204
3223
  return I(), J("div", wd, [
3205
- g(y, {
3206
- "action-button-text": r(o)("actions.done"),
3224
+ g(v, {
3225
+ "action-button-text": i(o)("actions.done"),
3207
3226
  "hide-cancel-button": "",
3208
3227
  title: a.value,
3209
3228
  visible: e.visible,
@@ -3214,8 +3233,8 @@ const Fe = (e) => {
3214
3233
  g(hd, {
3215
3234
  config: e.config,
3216
3235
  "partial-id": e.redisConfigurationId,
3217
- onLoad: u[0] || (u[0] = ({ total: w }) => i.value = w),
3218
- onViewPlugin: u[1] || (u[1] = (w) => n("view-plugin", w))
3236
+ onLoad: u[0] || (u[0] = ({ total: T }) => r.value = T),
3237
+ onViewPlugin: u[1] || (u[1] = (T) => n("view-plugin", T))
3219
3238
  }, null, 8, ["config", "partial-id"])
3220
3239
  ]),
3221
3240
  _: 1
@@ -3223,7 +3242,7 @@ const Fe = (e) => {
3223
3242
  ]);
3224
3243
  };
3225
3244
  }
3226
- }), Sd = /* @__PURE__ */ te(Td, [["__scopeId", "data-v-6148b8bd"]]), Ed = /* @__PURE__ */ Q({
3245
+ }), Sd = /* @__PURE__ */ te(Td, [["__scopeId", "data-v-6148b8bd"]]), Ed = /* @__PURE__ */ Y({
3227
3246
  __name: "DeleteWarningModal",
3228
3247
  props: {
3229
3248
  visible: {
@@ -3233,29 +3252,29 @@ const Fe = (e) => {
3233
3252
  },
3234
3253
  emits: ["close"],
3235
3254
  setup(e, { emit: t }) {
3236
- const { i18n: { t: n } } = ye.useI18n(), o = t, i = () => {
3255
+ const { i18n: { t: n } } = ye.useI18n(), o = t, r = () => {
3237
3256
  o("close");
3238
3257
  };
3239
3258
  return (a, c) => {
3240
3259
  const p = $("KModal");
3241
- return I(), F(p, {
3242
- "action-button-text": r(n)("actions.close"),
3260
+ return I(), N(p, {
3261
+ "action-button-text": i(n)("actions.close"),
3243
3262
  "data-testid": "remove-links-modal",
3244
3263
  "hide-cancel-button": "",
3245
3264
  "max-width": "640",
3246
- title: r(n)("delete.title"),
3265
+ title: i(n)("delete.title"),
3247
3266
  visible: e.visible,
3248
- onCancel: i,
3249
- onProceed: i
3267
+ onCancel: r,
3268
+ onProceed: r
3250
3269
  }, {
3251
3270
  default: S(() => [
3252
- le(U(r(n)("delete.warning")), 1)
3271
+ le(B(i(n)("delete.warning")), 1)
3253
3272
  ]),
3254
3273
  _: 1
3255
3274
  }, 8, ["action-button-text", "title", "visible"]);
3256
3275
  };
3257
3276
  }
3258
- }), Cd = { class: "kong-ui-entities-partials-list" }, kd = 1e3, Id = /* @__PURE__ */ Q({
3277
+ }), Cd = { class: "kong-ui-entities-partials-list" }, kd = 1e3, Id = /* @__PURE__ */ Y({
3259
3278
  __name: "RedisConfigurationList",
3260
3279
  props: {
3261
3280
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3301,17 +3320,17 @@ const Fe = (e) => {
3301
3320
  },
3302
3321
  emits: ["click:learn-more", "click:plugin", "copy:error", "copy:success", "delete:success", "error"],
3303
3322
  setup(e, { emit: t }) {
3304
- var N;
3305
- const n = t, o = e, i = z(() => {
3323
+ var F;
3324
+ const n = t, o = e, r = z(() => {
3306
3325
  var R, f;
3307
3326
  let C = `${o.config.apiBaseUrl}${Me.list[o.config.app]}`;
3308
3327
  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;
3309
- }), 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);
3328
+ }), a = x(!1), c = x(""), p = x(null), l = x(void 0), u = x(!1), v = x(!1), T = x(""), m = x(!1), b = Oi(o.config, r.value), _ = x(1), E = z(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: s, fetcherState: A } = Ri(o.config, r);
3310
3329
  async function k(C) {
3311
3330
  const R = await s({ ...C, pageSize: kd });
3312
- return R.data = R.data.filter((f) => f.type === Z.REDIS_CE || f.type === Z.REDIS_EE), R;
3331
+ return R.data = R.data.filter((f) => f.type === Q.REDIS_CE || f.type === Q.REDIS_EE), R;
3313
3332
  }
3314
- const { i18n: { t: d } } = ye.useI18n(), { axiosInstance: O } = kt((N = o.config) == null ? void 0 : N.axiosRequestConfig), P = Tn(), W = x(""), Y = z(() => {
3333
+ const { i18n: { t: d } } = ye.useI18n(), { axiosInstance: O } = kt((F = o.config) == null ? void 0 : F.axiosRequestConfig), P = Tn(), W = x(""), X = z(() => {
3315
3334
  const C = o.config.app === "konnect" || o.config.isExactMatch;
3316
3335
  if (C)
3317
3336
  return {
@@ -3336,7 +3355,7 @@ const Fe = (e) => {
3336
3355
  type: { label: d("list.table_headers.type") },
3337
3356
  tags: { label: d("list.table_headers.tags") },
3338
3357
  plugins: { label: d("list.table_headers.plugins") }
3339
- }, he = (C) => ({
3358
+ }, we = (C) => ({
3340
3359
  label: d("actions.view"),
3341
3360
  to: o.config.getViewRoute(C)
3342
3361
  }), re = (C) => ({
@@ -3345,41 +3364,41 @@ const Fe = (e) => {
3345
3364
  }), oe = async (C) => {
3346
3365
  const { count: R } = await ne({ partialId: C.id });
3347
3366
  R > 0 ? m.value = !0 : (l.value = C, u.value = !0);
3348
- }, we = () => {
3367
+ }, Te = () => {
3349
3368
  W.value = "";
3350
- }, Te = async (C) => {
3369
+ }, Se = async (C) => {
3351
3370
  var f;
3352
3371
  await ((f = o.canRetrieve) == null ? void 0 : f.call(o, C)) && P.push(o.config.getViewRoute(C.id));
3353
- }, Re = () => {
3372
+ }, xe = () => {
3354
3373
  u.value = !1;
3355
3374
  }, ve = (C) => {
3356
3375
  c.value = C, a.value = !0;
3357
3376
  }, at = async () => {
3358
3377
  var C, R, f;
3359
3378
  if ((C = l.value) != null && C.id) {
3360
- y.value = !0;
3379
+ v.value = !0;
3361
3380
  try {
3362
- await O.delete(b(l.value.id)), y.value = !1, u.value = !1, ze(), n("delete:success", l.value);
3363
- } catch (B) {
3364
- w.value = ((f = (R = B.response) == null ? void 0 : R.data) == null ? void 0 : f.message) || B.message || d("errors.delete"), n("error", B);
3381
+ await O.delete(b(l.value.id)), v.value = !1, u.value = !1, ze(), n("delete:success", l.value);
3382
+ } catch (j) {
3383
+ T.value = ((f = (R = j.response) == null ? void 0 : R.data) == null ? void 0 : f.message) || j.message || d("errors.delete"), n("error", j);
3365
3384
  } finally {
3366
- y.value = !1;
3385
+ v.value = !1;
3367
3386
  }
3368
3387
  }
3369
3388
  }, ze = () => {
3370
3389
  _.value++;
3371
3390
  }, H = (C) => {
3372
3391
  switch (Be(C)) {
3373
- case T.HOST_PORT_CE:
3392
+ case w.HOST_PORT_CE:
3374
3393
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_open_source")}`;
3375
- case T.HOST_PORT_EE:
3394
+ case w.HOST_PORT_EE:
3376
3395
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_enterprise")}`;
3377
- case T.SENTINEL:
3396
+ case w.SENTINEL:
3378
3397
  return `${d("form.options.type.sentinel")}${d("form.options.type.suffix_enterprise")}`;
3379
- case T.CLUSTER:
3398
+ case w.CLUSTER:
3380
3399
  return `${d("form.options.type.cluster")}${d("form.options.type.suffix_enterprise")}`;
3381
3400
  }
3382
- }, v = () => {
3401
+ }, y = () => {
3383
3402
  P.push(o.config.createRoute);
3384
3403
  }, lt = async (C, R) => {
3385
3404
  const f = C.id;
@@ -3397,25 +3416,25 @@ const Fe = (e) => {
3397
3416
  message: d("copy.success", { val: f })
3398
3417
  });
3399
3418
  };
3400
- Ee(A, (C) => {
3401
- var R, f, B;
3419
+ Ce(A, (C) => {
3420
+ var R, f, j;
3402
3421
  if (C.status === xi.Error) {
3403
3422
  p.value = {
3404
3423
  title: d("errors.general")
3405
- }, (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);
3424
+ }, (j = (f = (R = C.error) == null ? void 0 : R.response) == null ? void 0 : f.data) != null && j.message && (p.value.message = C.error.response.data.message), n("error", C.error);
3406
3425
  return;
3407
3426
  }
3408
3427
  p.value = null;
3409
3428
  });
3410
- const Se = x(!1);
3411
- return Ee(o.canCreate, async (C) => {
3412
- Se.value = await C, Se.value ? de.value.ctaText = d("actions.create") : de.value.ctaText = void 0;
3429
+ const Ee = x(!1);
3430
+ return Ce(o.canCreate, async (C) => {
3431
+ Ee.value = await C, Ee.value ? de.value.ctaText = d("actions.create") : de.value.ctaText = void 0;
3413
3432
  }, {
3414
3433
  immediate: !0
3415
3434
  }), (C, R) => {
3416
- const f = $("KButton"), B = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3435
+ const f = $("KButton"), j = $("KDropdownItem"), mi = $("KClipboardProvider"), _i = $("KEmptyState");
3417
3436
  return I(), J("div", Cd, [
3418
- g(r(Ai), {
3437
+ g(i(Ai), {
3419
3438
  "cache-identifier": e.cacheIdentifier,
3420
3439
  "disable-sorting": E.value,
3421
3440
  "empty-state-options": de.value,
@@ -3427,23 +3446,23 @@ const Fe = (e) => {
3427
3446
  "preferences-storage-key": "kong-ui-entities-redis-configuration-list",
3428
3447
  query: W.value,
3429
3448
  "table-headers": ie,
3430
- onClearSearchInput: we,
3431
- "onClick:row": R[1] || (R[1] = (j) => Te(j)),
3449
+ onClearSearchInput: Te,
3450
+ "onClick:row": R[1] || (R[1] = (L) => Se(L)),
3432
3451
  onSort: ze
3433
3452
  }, {
3434
3453
  "toolbar-filter": S(() => [
3435
- g(r(hn), {
3454
+ g(i(hn), {
3436
3455
  modelValue: W.value,
3437
- "onUpdate:modelValue": R[0] || (R[0] = (j) => W.value = j),
3438
- config: Y.value
3456
+ "onUpdate:modelValue": R[0] || (R[0] = (L) => W.value = L),
3457
+ config: X.value
3439
3458
  }, null, 8, ["modelValue", "config"])
3440
3459
  ]),
3441
3460
  "toolbar-button": S(() => [
3442
- (I(), F(Ei, {
3461
+ (I(), N(Ei, {
3443
3462
  disabled: !e.useActionOutside,
3444
3463
  to: "#kong-ui-app-page-header-action-button"
3445
3464
  }, [
3446
- g(r(Ke), { "auth-function": e.canCreate }, {
3465
+ g(i(Ke), { "auth-function": e.canCreate }, {
3447
3466
  default: S(() => [
3448
3467
  g(f, {
3449
3468
  appearance: "primary",
@@ -3452,8 +3471,8 @@ const Fe = (e) => {
3452
3471
  to: e.config.createRoute
3453
3472
  }, {
3454
3473
  default: S(() => [
3455
- g(r(yt)),
3456
- le(" " + U(r(d)("actions.create")), 1)
3474
+ g(i(yt)),
3475
+ le(" " + B(i(d)("actions.create")), 1)
3457
3476
  ]),
3458
3477
  _: 1
3459
3478
  }, 8, ["to"])
@@ -3462,72 +3481,72 @@ const Fe = (e) => {
3462
3481
  }, 8, ["auth-function"])
3463
3482
  ], 8, ["disabled"]))
3464
3483
  ]),
3465
- name: S(({ rowValue: j }) => [
3466
- K("b", null, U(j ?? "-"), 1)
3484
+ name: S(({ rowValue: L }) => [
3485
+ K("b", null, B(L ?? "-"), 1)
3467
3486
  ]),
3468
- type: S(({ row: j }) => [
3469
- le(U(H(j)), 1)
3487
+ type: S(({ row: L }) => [
3488
+ le(B(H(L)), 1)
3470
3489
  ]),
3471
- tags: S(({ rowValue: j }) => [
3472
- g(r(Pi), { tags: j }, null, 8, ["tags"])
3490
+ tags: S(({ rowValue: L }) => [
3491
+ g(i(Pi), { tags: L }, null, 8, ["tags"])
3473
3492
  ]),
3474
- plugins: S(({ row: j }) => [
3493
+ plugins: S(({ row: L }) => [
3475
3494
  g(md, {
3476
3495
  config: e.config,
3477
- "partial-id": j.id,
3478
- onClick: Si((st) => ve(j.id), ["stop"])
3496
+ "partial-id": L.id,
3497
+ onClick: Si((st) => ve(L.id), ["stop"])
3479
3498
  }, null, 8, ["config", "partial-id", "onClick"])
3480
3499
  ]),
3481
- actions: S(({ row: j }) => [
3500
+ actions: S(({ row: L }) => [
3482
3501
  g(mi, null, {
3483
3502
  default: S(({ copyToClipboard: st }) => [
3484
- g(B, {
3503
+ g(j, {
3485
3504
  "data-testid": "action-entity-copy-id",
3486
- onClick: (Ld) => lt(j, st)
3505
+ onClick: (Ld) => lt(L, st)
3487
3506
  }, {
3488
3507
  default: S(() => [
3489
- le(U(r(d)("actions.copy_id")), 1)
3508
+ le(B(i(d)("actions.copy_id")), 1)
3490
3509
  ]),
3491
3510
  _: 1
3492
3511
  }, 8, ["onClick"])
3493
3512
  ]),
3494
3513
  _: 2
3495
3514
  }, 1024),
3496
- g(r(Ke), {
3497
- "auth-function": () => e.canRetrieve(j)
3515
+ g(i(Ke), {
3516
+ "auth-function": () => e.canRetrieve(L)
3498
3517
  }, {
3499
3518
  default: S(() => [
3500
- g(B, {
3519
+ g(j, {
3501
3520
  "data-testid": "action-entity-view",
3502
3521
  "has-divider": "",
3503
- item: he(j.id)
3522
+ item: we(L.id)
3504
3523
  }, null, 8, ["item"])
3505
3524
  ]),
3506
3525
  _: 2
3507
3526
  }, 1032, ["auth-function"]),
3508
- g(r(Ke), {
3509
- "auth-function": () => e.canEdit(j)
3527
+ g(i(Ke), {
3528
+ "auth-function": () => e.canEdit(L)
3510
3529
  }, {
3511
3530
  default: S(() => [
3512
- g(B, {
3531
+ g(j, {
3513
3532
  "data-testid": "action-entity-edit",
3514
- item: re(j.id)
3533
+ item: re(L.id)
3515
3534
  }, null, 8, ["item"])
3516
3535
  ]),
3517
3536
  _: 2
3518
3537
  }, 1032, ["auth-function"]),
3519
- g(r(Ke), {
3520
- "auth-function": () => e.canDelete(j)
3538
+ g(i(Ke), {
3539
+ "auth-function": () => e.canDelete(L)
3521
3540
  }, {
3522
3541
  default: S(() => [
3523
- g(B, {
3542
+ g(j, {
3524
3543
  danger: "",
3525
3544
  "data-testid": "action-entity-delete",
3526
3545
  "has-divider": "",
3527
- onClick: (st) => oe(j)
3546
+ onClick: (st) => oe(L)
3528
3547
  }, {
3529
3548
  default: S(() => [
3530
- le(U(r(d)("actions.delete")), 1)
3549
+ le(B(i(d)("actions.delete")), 1)
3531
3550
  ]),
3532
3551
  _: 1
3533
3552
  }, 8, ["onClick"])
@@ -3537,37 +3556,37 @@ const Fe = (e) => {
3537
3556
  ]),
3538
3557
  "empty-state": S(() => [
3539
3558
  g(_i, {
3540
- "action-button-text": r(d)("list.action"),
3541
- "action-button-visible": Se.value,
3559
+ "action-button-text": i(d)("list.action"),
3560
+ "action-button-visible": Ee.value,
3542
3561
  "data-testid": "redis-entity-empty-state",
3543
3562
  features: [
3544
3563
  {
3545
3564
  key: "feature-1",
3546
- title: r(d)("list.empty_state.feature_1.title"),
3547
- description: r(d)("list.empty_state.feature_1.description")
3565
+ title: i(d)("list.empty_state.feature_1.title"),
3566
+ description: i(d)("list.empty_state.feature_1.description")
3548
3567
  },
3549
3568
  {
3550
3569
  key: "feature-2",
3551
- title: r(d)("list.empty_state.feature_2.title"),
3552
- description: r(d)("list.empty_state.feature_2.description")
3570
+ title: i(d)("list.empty_state.feature_2.title"),
3571
+ description: i(d)("list.empty_state.feature_2.description")
3553
3572
  }
3554
3573
  ],
3555
3574
  "icon-background": "",
3556
- message: r(d)("list.empty_state.description"),
3557
- title: r(d)("redis.title"),
3558
- onClickAction: v
3575
+ message: i(d)("list.empty_state.description"),
3576
+ title: i(d)("redis.title"),
3577
+ onClickAction: y
3559
3578
  }, {
3560
3579
  icon: S(() => [
3561
- g(r(Ni), { decorative: "" })
3580
+ g(i(Ni), { decorative: "" })
3562
3581
  ]),
3563
3582
  "feature-icon-feature-1": S(() => [
3564
- g(r(Ui))
3583
+ g(i(Ui))
3565
3584
  ]),
3566
3585
  "feature-icon-feature-2": S(() => [
3567
- g(r(Li))
3586
+ g(i(Li))
3568
3587
  ]),
3569
3588
  "action-button-icon": S(() => [
3570
- g(r(yt), { decorative: "" })
3589
+ g(i(yt), { decorative: "" })
3571
3590
  ]),
3572
3591
  _: 1
3573
3592
  }, 8, ["action-button-text", "action-button-visible", "features", "message", "title"])
@@ -3576,32 +3595,32 @@ const Fe = (e) => {
3576
3595
  }, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher-cache-key", "query"]),
3577
3596
  g(Ed, {
3578
3597
  visible: m.value,
3579
- onClose: R[2] || (R[2] = (j) => m.value = !1)
3598
+ onClose: R[2] || (R[2] = (L) => m.value = !1)
3580
3599
  }, null, 8, ["visible"]),
3581
- g(r($i), {
3582
- "action-pending": y.value,
3583
- description: r(d)("delete.description"),
3600
+ g(i($i), {
3601
+ "action-pending": v.value,
3602
+ description: i(d)("delete.description"),
3584
3603
  "entity-name": l.value && (l.value.name || l.value.id),
3585
- "entity-type": r(Vi).RedisConfiguration,
3586
- error: w.value,
3604
+ "entity-type": i(Vi).RedisConfiguration,
3605
+ error: T.value,
3587
3606
  "need-confirmation": !0,
3588
- title: r(d)("delete.title"),
3607
+ title: i(d)("delete.title"),
3589
3608
  visible: u.value,
3590
- onCancel: Re,
3609
+ onCancel: xe,
3591
3610
  onProceed: at
3592
3611
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
3593
3612
  g(Sd, {
3594
3613
  config: e.config,
3595
3614
  "redis-configuration-id": c.value,
3596
3615
  visible: a.value,
3597
- onCancel: R[3] || (R[3] = (j) => a.value = !1),
3598
- onProceed: R[4] || (R[4] = (j) => a.value = !1),
3599
- onViewPlugin: R[5] || (R[5] = (j) => n("click:plugin", j))
3616
+ onCancel: R[3] || (R[3] = (L) => a.value = !1),
3617
+ onProceed: R[4] || (R[4] = (L) => a.value = !1),
3618
+ onViewPlugin: R[5] || (R[5] = (L) => n("click:plugin", L))
3600
3619
  }, null, 8, ["config", "redis-configuration-id", "visible"])
3601
3620
  ]);
3602
3621
  };
3603
3622
  }
3604
- }), Qd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), Od = { class: "kong-ui-consumer-group-entity-config-card" }, Yd = /* @__PURE__ */ Q({
3623
+ }), Qd = /* @__PURE__ */ te(Id, [["__scopeId", "data-v-4e5be541"]]), Od = { class: "kong-ui-consumer-group-entity-config-card" }, Yd = /* @__PURE__ */ Y({
3605
3624
  __name: "RedisConfigurationConfigCard",
3606
3625
  props: {
3607
3626
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3628,23 +3647,23 @@ const Fe = (e) => {
3628
3647
  },
3629
3648
  emits: ["loading", "fetch:error", "fetch:success"],
3630
3649
  setup(e, { emit: t }) {
3631
- const n = e, o = t, { i18n: { t: i } } = ye.useI18n(), a = z(() => Me.form[n.config.app].edit), c = x($e), p = (_) => {
3650
+ const n = e, o = t, { i18n: { t: r } } = ye.useI18n(), a = z(() => Me.form[n.config.app].edit), c = x($e), p = (_) => {
3632
3651
  c.value = Be(_), o("fetch:success", _);
3633
3652
  }, l = z(() => {
3634
- const _ = c.value === T.HOST_PORT_CE ? i("form.options.type.suffix_open_source") : i("form.options.type.suffix_enterprise");
3653
+ const _ = c.value === w.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
3635
3654
  let E = "";
3636
3655
  switch (c.value) {
3637
- case T.HOST_PORT_CE:
3638
- E = i("form.options.type.host_port");
3656
+ case w.HOST_PORT_CE:
3657
+ E = r("form.options.type.host_port");
3639
3658
  break;
3640
- case T.HOST_PORT_EE:
3641
- E = i("form.options.type.host_port");
3659
+ case w.HOST_PORT_EE:
3660
+ E = r("form.options.type.host_port");
3642
3661
  break;
3643
- case T.CLUSTER:
3644
- E = i("form.options.type.cluster");
3662
+ case w.CLUSTER:
3663
+ E = r("form.options.type.cluster");
3645
3664
  break;
3646
- case T.SENTINEL:
3647
- E = i("form.options.type.sentinel");
3665
+ case w.SENTINEL:
3666
+ E = r("form.options.type.sentinel");
3648
3667
  break;
3649
3668
  }
3650
3669
  return `${E}${_}`;
@@ -3657,7 +3676,7 @@ const Fe = (e) => {
3657
3676
  type: _.type,
3658
3677
  ..._.config,
3659
3678
  ...n.config.cloudAuthAvailable ? { cloud_authentication: Vt(_.config.cloud_authentication) } : null
3660
- }), y = (_, E) => {
3679
+ }), v = (_, E) => {
3661
3680
  if (!_ || Object.keys(_).length === 0)
3662
3681
  return {};
3663
3682
  const { id: s, name: A, created_at: k, updated_at: d, type: O, tags: P, ...W } = _;
@@ -3679,177 +3698,177 @@ const Fe = (e) => {
3679
3698
  type: O,
3680
3699
  config: W
3681
3700
  };
3682
- }, w = {
3701
+ }, T = {
3683
3702
  id: {},
3684
3703
  name: {
3685
3704
  type: M.Text,
3686
3705
  section: V.Basic,
3687
- label: i("form.fields.name.label")
3706
+ label: r("form.fields.name.label")
3688
3707
  },
3689
3708
  tags: {
3690
3709
  type: M.BadgeTag,
3691
3710
  section: V.Basic,
3692
- label: i("form.fields.tags.label"),
3693
- tooltip: i("form.fields.tags.tooltip")
3711
+ label: r("form.fields.tags.label"),
3712
+ tooltip: r("form.fields.tags.tooltip")
3694
3713
  },
3695
3714
  updated_at: {},
3696
3715
  created_at: {},
3697
3716
  type: {
3698
3717
  type: M.Text,
3699
3718
  section: V.Basic,
3700
- label: i("form.fields.type.label")
3719
+ label: r("form.fields.type.label")
3701
3720
  },
3702
3721
  cluster_max_redirections: {
3703
3722
  type: M.Text,
3704
3723
  section: V.Basic,
3705
- tooltip: i("form.fields.cluster_max_redirections.tooltip"),
3706
- label: i("form.fields.cluster_max_redirections.label")
3724
+ tooltip: r("form.fields.cluster_max_redirections.tooltip"),
3725
+ label: r("form.fields.cluster_max_redirections.label")
3707
3726
  },
3708
3727
  cluster_nodes: {
3709
3728
  type: M.JsonArray,
3710
3729
  section: V.Basic,
3711
- label: i("form.fields.cluster_nodes.title"),
3712
- tooltip: i("form.fields.cluster_nodes.tooltip")
3730
+ label: r("form.fields.cluster_nodes.title"),
3731
+ tooltip: r("form.fields.cluster_nodes.tooltip")
3713
3732
  },
3714
3733
  connect_timeout: {
3715
3734
  type: M.Text,
3716
3735
  section: V.Basic,
3717
- label: i("form.fields.connect_timeout.label"),
3718
- tooltip: i("form.fields.connect_timeout.tooltip")
3736
+ label: r("form.fields.connect_timeout.label"),
3737
+ tooltip: r("form.fields.connect_timeout.tooltip")
3719
3738
  },
3720
3739
  connection_is_proxied: {
3721
3740
  type: M.Text,
3722
3741
  section: V.Basic,
3723
- label: i("form.fields.connection_is_proxied.label"),
3724
- tooltip: i("form.fields.connection_is_proxied.tooltip")
3742
+ label: r("form.fields.connection_is_proxied.label"),
3743
+ tooltip: r("form.fields.connection_is_proxied.tooltip")
3725
3744
  },
3726
3745
  database: {
3727
3746
  type: M.Text,
3728
3747
  section: V.Basic,
3729
- label: i("form.fields.database.label"),
3730
- tooltip: i("form.fields.database.tooltip")
3748
+ label: r("form.fields.database.label"),
3749
+ tooltip: r("form.fields.database.tooltip")
3731
3750
  },
3732
3751
  host: {
3733
3752
  type: M.Text,
3734
3753
  section: V.Basic,
3735
- label: i("form.fields.host.label"),
3736
- tooltip: i("form.fields.host.tooltip")
3754
+ label: r("form.fields.host.label"),
3755
+ tooltip: r("form.fields.host.tooltip")
3737
3756
  },
3738
3757
  keepalive_backlog: {
3739
3758
  type: M.Text,
3740
3759
  section: V.Basic,
3741
- label: i("form.fields.keepalive_backlog.label"),
3742
- tooltip: i("form.fields.keepalive_backlog.tooltip")
3760
+ label: r("form.fields.keepalive_backlog.label"),
3761
+ tooltip: r("form.fields.keepalive_backlog.tooltip")
3743
3762
  },
3744
3763
  keepalive_pool_size: {
3745
3764
  type: M.Text,
3746
3765
  section: V.Basic,
3747
- label: i("form.fields.keepalive_pool_size.label"),
3748
- tooltip: i("form.fields.keepalive_pool_size.tooltip")
3766
+ label: r("form.fields.keepalive_pool_size.label"),
3767
+ tooltip: r("form.fields.keepalive_pool_size.tooltip")
3749
3768
  },
3750
3769
  password: {
3751
3770
  type: M.Redacted,
3752
3771
  section: V.Basic,
3753
- label: i("form.fields.password.label"),
3754
- tooltip: i("form.fields.password.tooltip")
3772
+ label: r("form.fields.password.label"),
3773
+ tooltip: r("form.fields.password.tooltip")
3755
3774
  },
3756
3775
  port: {
3757
3776
  type: M.Text,
3758
3777
  section: V.Basic,
3759
- label: i("form.fields.port.label"),
3760
- tooltip: i("form.fields.port.tooltip")
3778
+ label: r("form.fields.port.label"),
3779
+ tooltip: r("form.fields.port.tooltip")
3761
3780
  },
3762
3781
  read_timeout: {
3763
3782
  type: M.Text,
3764
3783
  section: V.Basic,
3765
- label: i("form.fields.read_timeout.label"),
3766
- tooltip: i("form.fields.read_timeout.tooltip")
3784
+ label: r("form.fields.read_timeout.label"),
3785
+ tooltip: r("form.fields.read_timeout.tooltip")
3767
3786
  },
3768
3787
  send_timeout: {
3769
3788
  type: M.Text,
3770
3789
  section: V.Basic,
3771
- label: i("form.fields.send_timeout.label"),
3772
- tooltip: i("form.fields.send_timeout.tooltip")
3790
+ label: r("form.fields.send_timeout.label"),
3791
+ tooltip: r("form.fields.send_timeout.tooltip")
3773
3792
  },
3774
3793
  sentinel_master: {
3775
3794
  type: M.Text,
3776
3795
  section: V.Basic,
3777
- label: i("form.fields.sentinel_master.label"),
3778
- tooltip: i("form.fields.sentinel_master.tooltip")
3796
+ label: r("form.fields.sentinel_master.label"),
3797
+ tooltip: r("form.fields.sentinel_master.tooltip")
3779
3798
  },
3780
3799
  sentinel_nodes: {
3781
3800
  type: M.JsonArray,
3782
3801
  section: V.Basic,
3783
- tooltip: i("form.fields.sentinel_nodes.tooltip")
3802
+ tooltip: r("form.fields.sentinel_nodes.tooltip")
3784
3803
  },
3785
3804
  sentinel_password: {
3786
3805
  type: M.Redacted,
3787
3806
  section: V.Basic,
3788
- label: i("form.fields.sentinel_password.label"),
3789
- tooltip: i("form.fields.sentinel_password.tooltip")
3807
+ label: r("form.fields.sentinel_password.label"),
3808
+ tooltip: r("form.fields.sentinel_password.tooltip")
3790
3809
  },
3791
3810
  sentinel_role: {
3792
3811
  type: M.Text,
3793
3812
  section: V.Basic,
3794
- label: i("form.fields.sentinel_role.label"),
3795
- tooltip: i("form.fields.sentinel_role.tooltip")
3813
+ label: r("form.fields.sentinel_role.label"),
3814
+ tooltip: r("form.fields.sentinel_role.tooltip")
3796
3815
  },
3797
3816
  sentinel_username: {
3798
3817
  type: M.Text,
3799
3818
  section: V.Basic,
3800
- label: i("form.fields.sentinel_username.label"),
3801
- tooltip: i("form.fields.sentinel_username.tooltip")
3819
+ label: r("form.fields.sentinel_username.label"),
3820
+ tooltip: r("form.fields.sentinel_username.tooltip")
3802
3821
  },
3803
3822
  server_name: {
3804
3823
  type: M.Text,
3805
3824
  section: V.Basic,
3806
- label: i("form.fields.server_name.label"),
3807
- tooltip: i("form.fields.server_name.tooltip")
3825
+ label: r("form.fields.server_name.label"),
3826
+ tooltip: r("form.fields.server_name.tooltip")
3808
3827
  },
3809
3828
  ssl_verify: {
3810
3829
  type: M.Text,
3811
3830
  section: V.Basic,
3812
- label: i("form.fields.ssl_verify.label"),
3813
- tooltip: i("form.fields.ssl_verify.tooltip")
3831
+ label: r("form.fields.ssl_verify.label"),
3832
+ tooltip: r("form.fields.ssl_verify.tooltip")
3814
3833
  },
3815
3834
  ssl: {
3816
3835
  type: M.Text,
3817
3836
  section: V.Basic,
3818
- label: i("form.fields.ssl.label"),
3819
- tooltip: i("form.fields.ssl.tooltip")
3837
+ label: r("form.fields.ssl.label"),
3838
+ tooltip: r("form.fields.ssl.tooltip")
3820
3839
  },
3821
3840
  timeout: {
3822
3841
  type: M.Text,
3823
3842
  section: V.Basic,
3824
- label: i("form.fields.timeout.label"),
3825
- tooltip: i("form.fields.timeout.tooltip")
3843
+ label: r("form.fields.timeout.label"),
3844
+ tooltip: r("form.fields.timeout.tooltip")
3826
3845
  },
3827
3846
  username: {
3828
3847
  type: M.Text,
3829
3848
  section: V.Basic,
3830
- label: i("form.fields.username.label"),
3831
- tooltip: i("form.fields.username.tooltip")
3849
+ label: r("form.fields.username.label"),
3850
+ tooltip: r("form.fields.username.tooltip")
3832
3851
  },
3833
3852
  cloud_authentication: {
3834
3853
  type: M.Json,
3835
3854
  section: V.Basic,
3836
- label: i("form.sections.cloud_auth.title")
3855
+ label: r("form.sections.cloud_auth.title")
3837
3856
  }
3838
3857
  }, m = (_) => {
3839
- const E = {}, s = Object.keys(w);
3858
+ const E = {}, s = Object.keys(T);
3840
3859
  for (const A of s)
3841
3860
  _.includes(A) ? E[A] = {
3842
- ...w[A],
3861
+ ...T[A],
3843
3862
  order: _.indexOf(A) + 1
3844
3863
  } : E[A] = {
3845
- ...w[A],
3864
+ ...T[A],
3846
3865
  hidden: !0
3847
3866
  };
3848
3867
  return E;
3849
3868
  }, b = z(() => {
3850
3869
  const _ = ["id", "name", "tags", "type", "updated_at", "created_at"];
3851
3870
  switch (c.value) {
3852
- case T.HOST_PORT_CE:
3871
+ case w.HOST_PORT_CE:
3853
3872
  return m([
3854
3873
  ..._,
3855
3874
  "host",
@@ -3863,7 +3882,7 @@ const Fe = (e) => {
3863
3882
  "server_name",
3864
3883
  "cloud_authentication"
3865
3884
  ]);
3866
- case T.HOST_PORT_EE:
3885
+ case w.HOST_PORT_EE:
3867
3886
  return m([
3868
3887
  ..._,
3869
3888
  "host",
@@ -3882,7 +3901,7 @@ const Fe = (e) => {
3882
3901
  "connect_timeout",
3883
3902
  "cloud_authentication"
3884
3903
  ]);
3885
- case T.CLUSTER:
3904
+ case w.CLUSTER:
3886
3905
  return m([
3887
3906
  ..._,
3888
3907
  "cluster_nodes",
@@ -3900,7 +3919,7 @@ const Fe = (e) => {
3900
3919
  "connect_timeout",
3901
3920
  "cloud_authentication"
3902
3921
  ]);
3903
- case T.SENTINEL:
3922
+ case w.SENTINEL:
3904
3923
  return m([
3905
3924
  ..._,
3906
3925
  "sentinel_master",
@@ -3925,12 +3944,12 @@ const Fe = (e) => {
3925
3944
  }
3926
3945
  });
3927
3946
  return (_, E) => (I(), J("div", Od, [
3928
- g(r(Mi), {
3929
- "code-block-record-formatter": y,
3947
+ g(i(Mi), {
3948
+ "code-block-record-formatter": v,
3930
3949
  config: e.config,
3931
3950
  "config-card-doc": e.configCardDoc,
3932
3951
  "config-schema": b.value,
3933
- "entity-type": r(vn).Partial,
3952
+ "entity-type": i(vn).Partial,
3934
3953
  "fetch-url": a.value,
3935
3954
  "hide-title": e.hideTitle,
3936
3955
  "record-resolver": u,
@@ -3939,7 +3958,7 @@ const Fe = (e) => {
3939
3958
  onLoading: E[1] || (E[1] = (s) => _.$emit("loading", s))
3940
3959
  }, {
3941
3960
  type: S(() => [
3942
- K("div", null, U(l.value), 1)
3961
+ K("div", null, B(l.value), 1)
3943
3962
  ]),
3944
3963
  _: 1
3945
3964
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -3949,7 +3968,7 @@ const Fe = (e) => {
3949
3968
  function pi(e) {
3950
3969
  const {
3951
3970
  redisType: t = "redis-ce"
3952
- } = e, n = "1000", o = bn(Cn), { i18n: { t: i } } = ot();
3971
+ } = e, n = "1000", o = bn(Cn), { i18n: { t: r } } = ot();
3953
3972
  if (!o)
3954
3973
  throw new Error("FORMS_CONFIG must be provided");
3955
3974
  const {
@@ -3961,29 +3980,29 @@ function pi(e) {
3961
3980
  } = Di(o, Me.list[o.app], n, {
3962
3981
  fetchedItemsKey: "data",
3963
3982
  searchKeys: ["id", "name"]
3964
- }), y = (m) => {
3983
+ }), v = (m) => {
3965
3984
  switch (m) {
3966
- case T.CLUSTER:
3967
- return i("form.options.type.cluster");
3968
- case T.HOST_PORT_CE:
3969
- return i("form.options.type.host_port");
3970
- case T.SENTINEL:
3971
- return i("form.options.type.sentinel");
3972
- case T.HOST_PORT_EE:
3973
- return `${i("form.options.type.host_port")} (${i("form.options.type.enterprise")})`;
3985
+ case w.CLUSTER:
3986
+ return r("form.options.type.cluster");
3987
+ case w.HOST_PORT_CE:
3988
+ return r("form.options.type.host_port");
3989
+ case w.SENTINEL:
3990
+ return r("form.options.type.sentinel");
3991
+ case w.HOST_PORT_EE:
3992
+ return `${r("form.options.type.host_port")} (${r("form.options.type.enterprise")})`;
3974
3993
  }
3975
- }, 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));
3994
+ }, T = 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: v(Be(b)) })).filter((b) => b.type === t));
3976
3995
  return _n(() => {
3977
3996
  l();
3978
3997
  }), {
3979
- items: w,
3998
+ items: T,
3980
3999
  loading: c,
3981
4000
  onQueryChange: a,
3982
4001
  error: p,
3983
4002
  loadItems: l
3984
4003
  };
3985
4004
  }
3986
- const xd = ["id"], Ad = /* @__PURE__ */ Q({
4005
+ const xd = ["id"], Ad = /* @__PURE__ */ Y({
3987
4006
  __name: "RedisConfigurationFormModal",
3988
4007
  props: {
3989
4008
  visible: { type: Boolean },
@@ -3991,19 +4010,19 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
3991
4010
  },
3992
4011
  emits: ["toast", "modal-close", "created"],
3993
4012
  setup(e, { emit: t }) {
3994
- const n = t, { i18n: { t: o } } = ot(), i = bn(Cn), a = z(() => ({
3995
- ...i,
4013
+ const n = t, { i18n: { t: o } } = ot(), r = bn(Cn), a = z(() => ({
4014
+ ...r,
3996
4015
  cancelRoute: void 0
3997
4016
  })), { getMessageFromError: c } = yn(), p = Ci(), l = z(() => {
3998
4017
  switch (e.partialType) {
3999
- case Z.REDIS_CE:
4000
- return Z.REDIS_EE;
4001
- case Z.REDIS_EE:
4002
- return Z.REDIS_CE;
4018
+ case Q.REDIS_CE:
4019
+ return Q.REDIS_EE;
4020
+ case Q.REDIS_EE:
4021
+ return Q.REDIS_CE;
4003
4022
  default:
4004
4023
  return;
4005
4024
  }
4006
- }), u = x(!1), y = x(), w = (_) => {
4025
+ }), u = x(!1), v = x(), T = (_) => {
4007
4026
  n("toast", {
4008
4027
  message: c(_),
4009
4028
  appearance: "danger"
@@ -4014,41 +4033,41 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4014
4033
  appearance: "success"
4015
4034
  }), b(), n("created", _);
4016
4035
  }, b = () => {
4017
- y.value = void 0, n("modal-close"), Dt(() => {
4036
+ v.value = void 0, n("modal-close"), Dt(() => {
4018
4037
  u.value = !1;
4019
4038
  });
4020
4039
  };
4021
- return Ee(
4040
+ return Ce(
4022
4041
  () => e.visible,
4023
4042
  (_) => {
4024
4043
  _ && (u.value = !0, Dt(() => {
4025
- y.value = `#redis-modal-footer-${p}`;
4044
+ v.value = `#redis-modal-footer-${p}`;
4026
4045
  }));
4027
4046
  }
4028
4047
  ), (_, E) => {
4029
4048
  const s = $("KModal");
4030
- return I(), F(s, {
4049
+ return I(), N(s, {
4031
4050
  class: "plugin-redis-partial-form",
4032
4051
  "data-testid": "redis-partial-form-modal",
4033
4052
  "full-screen": "",
4034
- title: r(o)("form.redis_partial_modal_title"),
4053
+ title: i(o)("form.redis_partial_modal_title"),
4035
4054
  visible: u.value,
4036
4055
  onCancel: b
4037
4056
  }, {
4038
4057
  footer: S(() => [
4039
4058
  K("div", {
4040
- id: `redis-modal-footer-${r(p)}`,
4059
+ id: `redis-modal-footer-${i(p)}`,
4041
4060
  class: "redis-modal-footer"
4042
4061
  }, null, 8, xd)
4043
4062
  ]),
4044
4063
  default: S(() => [
4045
4064
  g(cd, {
4046
- "action-teleport-target": y.value,
4065
+ "action-teleport-target": v.value,
4047
4066
  config: a.value,
4048
4067
  "disabled-partial-type": l.value,
4049
4068
  "slidout-top-offset": 0,
4050
4069
  onCancel: b,
4051
- onError: w,
4070
+ onError: T,
4052
4071
  onUpdate: m
4053
4072
  }, null, 8, ["action-teleport-target", "config", "disabled-partial-type"])
4054
4073
  ]),
@@ -4062,7 +4081,7 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4062
4081
  }, Dd = {
4063
4082
  class: "empty-redis-config",
4064
4083
  "data-testid": "empty-redis-config"
4065
- }, jd = /* @__PURE__ */ Q({
4084
+ }, jd = /* @__PURE__ */ Y({
4066
4085
  inheritAttrs: !1,
4067
4086
  __name: "RedisConfigurationSelector",
4068
4087
  props: {
@@ -4076,28 +4095,28 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4076
4095
  emits: ["update:modelValue", "change", "create-new", "error-change", "modal-close", "toast"],
4077
4096
  setup(e, { emit: t }) {
4078
4097
  const n = t, { i18n: { t: o } } = ot(), {
4079
- items: i,
4098
+ items: r,
4080
4099
  loading: a,
4081
4100
  onQueryChange: c,
4082
4101
  error: p,
4083
4102
  loadItems: l
4084
4103
  } = pi({
4085
4104
  redisType: e.redisType
4086
- }), u = x(!1), y = (_) => {
4105
+ }), u = x(!1), v = (_) => {
4087
4106
  const E = _ == null ? void 0 : _.value;
4088
4107
  n("update:modelValue", E), n("change", _);
4089
- }, w = () => {
4108
+ }, T = () => {
4090
4109
  u.value = !0;
4091
4110
  }, m = () => {
4092
4111
  u.value = !1, n("modal-close");
4093
4112
  }, b = (_) => {
4094
- u.value = !1, l(), y({
4113
+ u.value = !1, l(), v({
4095
4114
  name: _.name,
4096
4115
  value: _.id,
4097
4116
  label: _.name
4098
4117
  });
4099
4118
  };
4100
- return Ee(p, (_) => {
4119
+ return Ce(p, (_) => {
4101
4120
  n("error-change", _ ? new Error(String(_)) : null);
4102
4121
  }), (_, E) => {
4103
4122
  const s = $("KBadge"), A = $("KSelect");
@@ -4106,36 +4125,36 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4106
4125
  class: "redis-config-select-trigger",
4107
4126
  "enable-filtering": "",
4108
4127
  "filter-function": () => !0,
4109
- items: r(i),
4110
- loading: r(a),
4128
+ items: i(r),
4129
+ loading: i(a),
4111
4130
  "model-value": e.modelValue,
4112
- placeholder: e.placeholder || r(o)("selector.placeholder")
4131
+ placeholder: e.placeholder || i(o)("selector.placeholder")
4113
4132
  }, _.$attrs, {
4114
- onChange: y,
4115
- onQueryChange: r(c)
4133
+ onChange: v,
4134
+ onQueryChange: i(c)
4116
4135
  }), gn({
4117
4136
  "selected-item-template": S(({ item: k }) => [
4118
- K("div", $d, U(k.name), 1)
4137
+ K("div", $d, B(k.name), 1)
4119
4138
  ]),
4120
4139
  "item-template": S(({ item: k }) => [
4121
4140
  K("div", {
4122
4141
  class: "plugin-form-redis-configuration-dropdown-item",
4123
4142
  "data-testid": `redis-configuration-dropdown-item-${k.name}`
4124
4143
  }, [
4125
- K("span", Md, U(k.name), 1),
4144
+ K("span", Md, B(k.name), 1),
4126
4145
  g(s, {
4127
4146
  appearance: "info",
4128
4147
  class: "select-item-label"
4129
4148
  }, {
4130
4149
  default: S(() => [
4131
- le(U(k.tag), 1)
4150
+ le(B(k.tag), 1)
4132
4151
  ]),
4133
4152
  _: 2
4134
4153
  }, 1024)
4135
4154
  ], 8, Vd)
4136
4155
  ]),
4137
4156
  empty: S(() => [
4138
- K("div", Dd, U(e.emptyStateText || r(o)("selector.empty_state")), 1)
4157
+ K("div", Dd, B(e.emptyStateText || i(o)("selector.empty_state")), 1)
4139
4158
  ]),
4140
4159
  _: 2
4141
4160
  }, [
@@ -4145,10 +4164,10 @@ const xd = ["id"], Ad = /* @__PURE__ */ Q({
4145
4164
  K("div", {
4146
4165
  class: "new-redis-config-area",
4147
4166
  "data-testid": "new-redis-config-area",
4148
- onClick: w
4167
+ onClick: T
4149
4168
  }, [
4150
- g(r(yt), { size: r(Rd) }, null, 8, ["size"]),
4151
- K("span", null, U(e.createButtonText || r(o)("selector.create_new")), 1)
4169
+ g(i(yt), { size: i(Rd) }, null, 8, ["size"]),
4170
+ K("span", null, B(e.createButtonText || i(o)("selector.create_new")), 1)
4152
4171
  ])
4153
4172
  ]),
4154
4173
  key: "0"
@@ -4173,13 +4192,13 @@ export {
4173
4192
  q as AuthProvider,
4174
4193
  Ed as DeleteWarningModal,
4175
4194
  hd as LinkedPlugins,
4176
- Z as PartialType,
4195
+ Q as PartialType,
4177
4196
  Yd as RedisConfigurationConfigCard,
4178
4197
  cd as RedisConfigurationForm,
4179
4198
  Pd as RedisConfigurationFormModal,
4180
4199
  Qd as RedisConfigurationList,
4181
4200
  Xd as RedisConfigurationSelector,
4182
- T as RedisType,
4201
+ w as RedisType,
4183
4202
  eu as composables,
4184
4203
  Jd as constants,
4185
4204
  Zd as helpers