@kong-ui-public/entities-redis-configurations 0.2.8 → 0.3.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,35 +1,35 @@
1
- import { computed as H, reactive as jt, ref as M, watch as Ie, defineComponent as Y, resolveComponent as D, openBlock as R, createElementBlock as q, createVNode as p, withCtx as T, renderSlot as yn, unref as i, mergeModels as Nt, useModel as Bt, createTextVNode as Z, toDisplayString as B, createElementVNode as K, Fragment as Ke, renderList as ft, createBlock as F, getCurrentInstance as vn, onMounted as hn, onUnmounted as Tn, isReadonly as wn, toRefs as Sn, onBeforeMount as En, createCommentVNode as X, isRef as Cn, createSlots as Ft, withModifiers as In } from "vue";
1
+ import { computed as K, reactive as jt, ref as L, watch as Re, defineComponent as G, resolveComponent as U, openBlock as k, createElementBlock as q, createVNode as p, withCtx as S, renderSlot as yn, unref as i, mergeModels as Nt, useModel as Bt, createTextVNode as Z, toDisplayString as F, createElementVNode as z, Fragment as qe, renderList as pt, createBlock as H, getCurrentInstance as vn, onMounted as hn, onUnmounted as Tn, isReadonly as wn, toRefs as Sn, onBeforeMount as En, createCommentVNode as X, isRef as Cn, createSlots as Ft, withModifiers as In } from "vue";
2
2
  import "@kong-ui-public/entities-shared/dist/style.css";
3
3
  import "@kong-ui-public/entities-vaults/dist/style.css";
4
- import { useAxios as pt, useErrors as kn, EntityBaseFormType as Ye, EntityBaseForm as Rn, SupportedEntityType as Ht, EntityFormSection as le, EntityFilter as Kt, useDeleteUrlBuilder as On, useFetcher as xn, FetcherStatus as An, EntityBaseTable as Pn, PermissionsWrapper as Le, TableTags as Vn, EntityEmptyState as $n, EntityDeleteModal as Ln, EntityTypes as Mn, ConfigurationSchemaType as V, ConfigurationSchemaSection as $, EntityBaseConfigCard as Dn } from "@kong-ui-public/entities-shared";
5
- import { VaultSecretPickerProvider as Me, VaultSecretPicker as Un } from "@kong-ui-public/entities-vaults";
4
+ import { useAxios as mt, useErrors as Rn, EntityBaseFormType as Xe, EntityBaseForm as kn, SupportedEntityType as Ht, EntityFormSection as ue, EntityFilter as Kt, useDeleteUrlBuilder as On, useFetcher as xn, FetcherStatus as Pn, EntityBaseTable as An, PermissionsWrapper as Me, TableTags as Vn, EntityEmptyState as $n, EntityDeleteModal as Ln, EntityTypes as Mn, ConfigurationSchemaType as P, ConfigurationSchemaSection as A, EntityBaseConfigCard as Dn } from "@kong-ui-public/entities-shared";
5
+ import { VaultSecretPickerProvider as De, VaultSecretPicker as Un } from "@kong-ui-public/entities-vaults";
6
6
  import { useRouter as zt } from "vue-router";
7
7
  import { TrashIcon as jn, AddCircleIcon as qt, AddIcon as Nn, DeployIcon as _t, RuntimesIcon as Bn } from "@kong/icons";
8
8
  import { createI18n as Fn, i18nTComponent as Hn } from "@kong-ui-public/i18n";
9
9
  import { PluginIcon as Wt } from "@kong-ui-public/entities-plugins";
10
- var y = /* @__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))(y || {}), ne = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(ne || {}), Gt = typeof global == "object" && global && global.Object === Object && global, Kn = typeof self == "object" && self && self.Object === Object && self, ie = Gt || Kn || Function("return this")(), we = ie.Symbol, Jt = Object.prototype, zn = Jt.hasOwnProperty, qn = Jt.toString, Ee = we ? we.toStringTag : void 0;
10
+ var v = /* @__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))(v || {}), ie = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(ie || {}), Gt = typeof global == "object" && global && global.Object === Object && global, Kn = typeof self == "object" && self && self.Object === Object && self, re = Gt || Kn || Function("return this")(), Se = re.Symbol, Jt = Object.prototype, zn = Jt.hasOwnProperty, qn = Jt.toString, Ce = Se ? Se.toStringTag : void 0;
11
11
  function Wn(e) {
12
- var t = zn.call(e, Ee), n = e[Ee];
12
+ var t = zn.call(e, Ce), n = e[Ce];
13
13
  try {
14
- e[Ee] = void 0;
14
+ e[Ce] = void 0;
15
15
  var o = !0;
16
16
  } catch {
17
17
  }
18
18
  var r = qn.call(e);
19
- return o && (t ? e[Ee] = n : delete e[Ee]), r;
19
+ return o && (t ? e[Ce] = n : delete e[Ce]), r;
20
20
  }
21
21
  var Gn = Object.prototype, Jn = Gn.toString;
22
22
  function Yn(e) {
23
23
  return Jn.call(e);
24
24
  }
25
- var Qn = "[object Null]", Xn = "[object Undefined]", bt = we ? we.toStringTag : void 0;
26
- function Pe(e) {
25
+ var Qn = "[object Null]", Xn = "[object Undefined]", bt = Se ? Se.toStringTag : void 0;
26
+ function Ve(e) {
27
27
  return e == null ? e === void 0 ? Xn : Qn : bt && bt in Object(e) ? Wn(e) : Yn(e);
28
28
  }
29
29
  function ke(e) {
30
30
  return e != null && typeof e == "object";
31
31
  }
32
- var Be = Array.isArray;
32
+ var Fe = Array.isArray;
33
33
  function Yt(e) {
34
34
  var t = typeof e;
35
35
  return e != null && (t == "object" || t == "function");
@@ -38,18 +38,18 @@ var Zn = "[object AsyncFunction]", ei = "[object Function]", ti = "[object Gener
38
38
  function Qt(e) {
39
39
  if (!Yt(e))
40
40
  return !1;
41
- var t = Pe(e);
41
+ var t = Ve(e);
42
42
  return t == ei || t == ti || t == Zn || t == ni;
43
43
  }
44
- var Qe = ie["__core-js_shared__"], yt = function() {
45
- var e = /[^.]+$/.exec(Qe && Qe.keys && Qe.keys.IE_PROTO || "");
44
+ var Ze = re["__core-js_shared__"], yt = function() {
45
+ var e = /[^.]+$/.exec(Ze && Ze.keys && Ze.keys.IE_PROTO || "");
46
46
  return e ? "Symbol(src)_1." + e : "";
47
47
  }();
48
48
  function ii(e) {
49
49
  return !!yt && yt in e;
50
50
  }
51
51
  var ri = Function.prototype, oi = ri.toString;
52
- function ge(e) {
52
+ function _e(e) {
53
53
  if (e != null) {
54
54
  try {
55
55
  return oi.call(e);
@@ -69,16 +69,16 @@ function pi(e) {
69
69
  if (!Yt(e) || ii(e))
70
70
  return !1;
71
71
  var t = Qt(e) ? fi : li;
72
- return t.test(ge(e));
72
+ return t.test(_e(e));
73
73
  }
74
74
  function mi(e, t) {
75
75
  return e == null ? void 0 : e[t];
76
76
  }
77
- function Se(e, t) {
77
+ function Ee(e, t) {
78
78
  var n = mi(e, t);
79
79
  return pi(n) ? n : void 0;
80
80
  }
81
- var ot = Se(ie, "WeakMap"), gi = 9007199254740991, _i = /^(?:0|[1-9]\d*)$/;
81
+ var lt = Ee(re, "WeakMap"), gi = 9007199254740991, _i = /^(?:0|[1-9]\d*)$/;
82
82
  function bi(e, t) {
83
83
  var n = typeof e;
84
84
  return t = t ?? gi, !!t && (n == "number" || n != "symbol" && _i.test(e)) && e > -1 && e % 1 == 0 && e < t;
@@ -105,42 +105,42 @@ function wi(e, t) {
105
105
  }
106
106
  var Si = "[object Arguments]";
107
107
  function vt(e) {
108
- return ke(e) && Pe(e) == Si;
108
+ return ke(e) && Ve(e) == Si;
109
109
  }
110
110
  var en = Object.prototype, Ei = en.hasOwnProperty, Ci = en.propertyIsEnumerable, Ii = vt(/* @__PURE__ */ function() {
111
111
  return arguments;
112
112
  }()) ? vt : function(e) {
113
113
  return ke(e) && Ei.call(e, "callee") && !Ci.call(e, "callee");
114
114
  };
115
- function ki() {
115
+ function Ri() {
116
116
  return !1;
117
117
  }
118
- var tn = typeof exports == "object" && exports && !exports.nodeType && exports, ht = tn && typeof module == "object" && module && !module.nodeType && module, Ri = ht && ht.exports === tn, Tt = Ri ? ie.Buffer : void 0, Oi = Tt ? Tt.isBuffer : void 0, at = Oi || ki, xi = "[object Arguments]", Ai = "[object Array]", Pi = "[object Boolean]", Vi = "[object Date]", $i = "[object Error]", Li = "[object Function]", Mi = "[object Map]", Di = "[object Number]", Ui = "[object Object]", ji = "[object RegExp]", Ni = "[object Set]", Bi = "[object String]", Fi = "[object WeakMap]", Hi = "[object ArrayBuffer]", Ki = "[object DataView]", zi = "[object Float32Array]", qi = "[object Float64Array]", Wi = "[object Int8Array]", Gi = "[object Int16Array]", Ji = "[object Int32Array]", Yi = "[object Uint8Array]", Qi = "[object Uint8ClampedArray]", Xi = "[object Uint16Array]", Zi = "[object Uint32Array]", L = {};
119
- L[zi] = L[qi] = L[Wi] = L[Gi] = L[Ji] = L[Yi] = L[Qi] = L[Xi] = L[Zi] = !0;
120
- L[xi] = L[Ai] = L[Hi] = L[Pi] = L[Ki] = L[Vi] = L[$i] = L[Li] = L[Mi] = L[Di] = L[Ui] = L[ji] = L[Ni] = L[Bi] = L[Fi] = !1;
118
+ var tn = typeof exports == "object" && exports && !exports.nodeType && exports, ht = tn && typeof module == "object" && module && !module.nodeType && module, ki = ht && ht.exports === tn, Tt = ki ? re.Buffer : void 0, Oi = Tt ? Tt.isBuffer : void 0, st = Oi || Ri, xi = "[object Arguments]", Pi = "[object Array]", Ai = "[object Boolean]", Vi = "[object Date]", $i = "[object Error]", Li = "[object Function]", Mi = "[object Map]", Di = "[object Number]", Ui = "[object Object]", ji = "[object RegExp]", Ni = "[object Set]", Bi = "[object String]", Fi = "[object WeakMap]", Hi = "[object ArrayBuffer]", Ki = "[object DataView]", zi = "[object Float32Array]", qi = "[object Float64Array]", Wi = "[object Int8Array]", Gi = "[object Int16Array]", Ji = "[object Int32Array]", Yi = "[object Uint8Array]", Qi = "[object Uint8ClampedArray]", Xi = "[object Uint16Array]", Zi = "[object Uint32Array]", V = {};
119
+ V[zi] = V[qi] = V[Wi] = V[Gi] = V[Ji] = V[Yi] = V[Qi] = V[Xi] = V[Zi] = !0;
120
+ V[xi] = V[Pi] = V[Hi] = V[Ai] = V[Ki] = V[Vi] = V[$i] = V[Li] = V[Mi] = V[Di] = V[Ui] = V[ji] = V[Ni] = V[Bi] = V[Fi] = !1;
121
121
  function er(e) {
122
- return ke(e) && Zt(e.length) && !!L[Pe(e)];
122
+ return ke(e) && Zt(e.length) && !!V[Ve(e)];
123
123
  }
124
124
  function tr(e) {
125
125
  return function(t) {
126
126
  return e(t);
127
127
  };
128
128
  }
129
- var nn = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = nn && typeof module == "object" && module && !module.nodeType && module, nr = Ce && Ce.exports === nn, Xe = nr && Gt.process, wt = function() {
129
+ var nn = typeof exports == "object" && exports && !exports.nodeType && exports, Ie = nn && typeof module == "object" && module && !module.nodeType && module, nr = Ie && Ie.exports === nn, et = nr && Gt.process, wt = function() {
130
130
  try {
131
- var e = Ce && Ce.require && Ce.require("util").types;
132
- return e || Xe && Xe.binding && Xe.binding("util");
131
+ var e = Ie && Ie.require && Ie.require("util").types;
132
+ return e || et && et.binding && et.binding("util");
133
133
  } catch {
134
134
  }
135
135
  }(), St = wt && wt.isTypedArray, rn = St ? tr(St) : er, ir = Object.prototype, rr = ir.hasOwnProperty;
136
136
  function or(e, t) {
137
- var n = Be(e), o = !n && Ii(e), r = !n && !o && at(e), a = !n && !o && !r && rn(e), f = n || o || r || a, g = f ? wi(e.length, String) : [], s = g.length;
138
- for (var c in e)
139
- rr.call(e, c) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
140
- (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
141
- r && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
142
- a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
143
- bi(c, s))) && g.push(c);
137
+ var n = Fe(e), o = !n && Ii(e), r = !n && !o && st(e), a = !n && !o && !r && rn(e), f = n || o || r || a, g = f ? wi(e.length, String) : [], l = g.length;
138
+ for (var u in e)
139
+ rr.call(e, u) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
140
+ (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
141
+ r && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
142
+ a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
143
+ bi(u, l))) && g.push(u);
144
144
  return g;
145
145
  }
146
146
  function ar(e, t) {
@@ -160,9 +160,9 @@ function ur(e) {
160
160
  function cr(e) {
161
161
  return vi(e) ? or(e) : ur(e);
162
162
  }
163
- var Re = Se(Object, "create");
163
+ var Oe = Ee(Object, "create");
164
164
  function fr() {
165
- this.__data__ = Re ? Re(null) : {}, this.size = 0;
165
+ this.__data__ = Oe ? Oe(null) : {}, this.size = 0;
166
166
  }
167
167
  function pr(e) {
168
168
  var t = this.has(e) && delete this.__data__[e];
@@ -171,7 +171,7 @@ function pr(e) {
171
171
  var mr = "__lodash_hash_undefined__", gr = Object.prototype, _r = gr.hasOwnProperty;
172
172
  function br(e) {
173
173
  var t = this.__data__;
174
- if (Re) {
174
+ if (Oe) {
175
175
  var n = t[e];
176
176
  return n === mr ? void 0 : n;
177
177
  }
@@ -180,29 +180,29 @@ function br(e) {
180
180
  var yr = Object.prototype, vr = yr.hasOwnProperty;
181
181
  function hr(e) {
182
182
  var t = this.__data__;
183
- return Re ? t[e] !== void 0 : vr.call(t, e);
183
+ return Oe ? t[e] !== void 0 : vr.call(t, e);
184
184
  }
185
185
  var Tr = "__lodash_hash_undefined__";
186
186
  function wr(e, t) {
187
187
  var n = this.__data__;
188
- return this.size += this.has(e) ? 0 : 1, n[e] = Re && t === void 0 ? Tr : t, this;
188
+ return this.size += this.has(e) ? 0 : 1, n[e] = Oe && t === void 0 ? Tr : t, this;
189
189
  }
190
- function me(e) {
190
+ function ge(e) {
191
191
  var t = -1, n = e == null ? 0 : e.length;
192
192
  for (this.clear(); ++t < n; ) {
193
193
  var o = e[t];
194
194
  this.set(o[0], o[1]);
195
195
  }
196
196
  }
197
- me.prototype.clear = fr;
198
- me.prototype.delete = pr;
199
- me.prototype.get = br;
200
- me.prototype.has = hr;
201
- me.prototype.set = wr;
197
+ ge.prototype.clear = fr;
198
+ ge.prototype.delete = pr;
199
+ ge.prototype.get = br;
200
+ ge.prototype.has = hr;
201
+ ge.prototype.set = wr;
202
202
  function Sr() {
203
203
  this.__data__ = [], this.size = 0;
204
204
  }
205
- function ze(e, t) {
205
+ function We(e, t) {
206
206
  for (var n = e.length; n--; )
207
207
  if (Xt(e[n][0], t))
208
208
  return n;
@@ -210,84 +210,84 @@ function ze(e, t) {
210
210
  }
211
211
  var Er = Array.prototype, Cr = Er.splice;
212
212
  function Ir(e) {
213
- var t = this.__data__, n = ze(t, e);
213
+ var t = this.__data__, n = We(t, e);
214
214
  if (n < 0)
215
215
  return !1;
216
216
  var o = t.length - 1;
217
217
  return n == o ? t.pop() : Cr.call(t, n, 1), --this.size, !0;
218
218
  }
219
- function kr(e) {
220
- var t = this.__data__, n = ze(t, e);
219
+ function Rr(e) {
220
+ var t = this.__data__, n = We(t, e);
221
221
  return n < 0 ? void 0 : t[n][1];
222
222
  }
223
- function Rr(e) {
224
- return ze(this.__data__, e) > -1;
223
+ function kr(e) {
224
+ return We(this.__data__, e) > -1;
225
225
  }
226
226
  function Or(e, t) {
227
- var n = this.__data__, o = ze(n, e);
227
+ var n = this.__data__, o = We(n, e);
228
228
  return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
229
229
  }
230
- function re(e) {
230
+ function oe(e) {
231
231
  var t = -1, n = e == null ? 0 : e.length;
232
232
  for (this.clear(); ++t < n; ) {
233
233
  var o = e[t];
234
234
  this.set(o[0], o[1]);
235
235
  }
236
236
  }
237
- re.prototype.clear = Sr;
238
- re.prototype.delete = Ir;
239
- re.prototype.get = kr;
240
- re.prototype.has = Rr;
241
- re.prototype.set = Or;
242
- var Oe = Se(ie, "Map");
237
+ oe.prototype.clear = Sr;
238
+ oe.prototype.delete = Ir;
239
+ oe.prototype.get = Rr;
240
+ oe.prototype.has = kr;
241
+ oe.prototype.set = Or;
242
+ var xe = Ee(re, "Map");
243
243
  function xr() {
244
244
  this.size = 0, this.__data__ = {
245
- hash: new me(),
246
- map: new (Oe || re)(),
247
- string: new me()
245
+ hash: new ge(),
246
+ map: new (xe || oe)(),
247
+ string: new ge()
248
248
  };
249
249
  }
250
- function Ar(e) {
250
+ function Pr(e) {
251
251
  var t = typeof e;
252
252
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
253
253
  }
254
- function qe(e, t) {
254
+ function Ge(e, t) {
255
255
  var n = e.__data__;
256
- return Ar(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
256
+ return Pr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
257
257
  }
258
- function Pr(e) {
259
- var t = qe(this, e).delete(e);
258
+ function Ar(e) {
259
+ var t = Ge(this, e).delete(e);
260
260
  return this.size -= t ? 1 : 0, t;
261
261
  }
262
262
  function Vr(e) {
263
- return qe(this, e).get(e);
263
+ return Ge(this, e).get(e);
264
264
  }
265
265
  function $r(e) {
266
- return qe(this, e).has(e);
266
+ return Ge(this, e).has(e);
267
267
  }
268
268
  function Lr(e, t) {
269
- var n = qe(this, e), o = n.size;
269
+ var n = Ge(this, e), o = n.size;
270
270
  return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
271
271
  }
272
- function _e(e) {
272
+ function be(e) {
273
273
  var t = -1, n = e == null ? 0 : e.length;
274
274
  for (this.clear(); ++t < n; ) {
275
275
  var o = e[t];
276
276
  this.set(o[0], o[1]);
277
277
  }
278
278
  }
279
- _e.prototype.clear = xr;
280
- _e.prototype.delete = Pr;
281
- _e.prototype.get = Vr;
282
- _e.prototype.has = $r;
283
- _e.prototype.set = Lr;
279
+ be.prototype.clear = xr;
280
+ be.prototype.delete = Ar;
281
+ be.prototype.get = Vr;
282
+ be.prototype.has = $r;
283
+ be.prototype.set = Lr;
284
284
  function Mr(e, t) {
285
285
  for (var n = -1, o = t.length, r = e.length; ++n < o; )
286
286
  e[r + n] = t[n];
287
287
  return e;
288
288
  }
289
289
  function Dr() {
290
- this.__data__ = new re(), this.size = 0;
290
+ this.__data__ = new oe(), this.size = 0;
291
291
  }
292
292
  function Ur(e) {
293
293
  var t = this.__data__, n = t.delete(e);
@@ -302,23 +302,23 @@ function Nr(e) {
302
302
  var Br = 200;
303
303
  function Fr(e, t) {
304
304
  var n = this.__data__;
305
- if (n instanceof re) {
305
+ if (n instanceof oe) {
306
306
  var o = n.__data__;
307
- if (!Oe || o.length < Br - 1)
307
+ if (!xe || o.length < Br - 1)
308
308
  return o.push([e, t]), this.size = ++n.size, this;
309
- n = this.__data__ = new _e(o);
309
+ n = this.__data__ = new be(o);
310
310
  }
311
311
  return n.set(e, t), this.size = n.size, this;
312
312
  }
313
- function de(e) {
314
- var t = this.__data__ = new re(e);
313
+ function fe(e) {
314
+ var t = this.__data__ = new oe(e);
315
315
  this.size = t.size;
316
316
  }
317
- de.prototype.clear = Dr;
318
- de.prototype.delete = Ur;
319
- de.prototype.get = jr;
320
- de.prototype.has = Nr;
321
- de.prototype.set = Fr;
317
+ fe.prototype.clear = Dr;
318
+ fe.prototype.delete = Ur;
319
+ fe.prototype.get = jr;
320
+ fe.prototype.has = Nr;
321
+ fe.prototype.set = Fr;
322
322
  function Hr(e, t) {
323
323
  for (var n = -1, o = e == null ? 0 : e.length, r = 0, a = []; ++n < o; ) {
324
324
  var f = e[n];
@@ -336,14 +336,14 @@ var zr = Object.prototype, qr = zr.propertyIsEnumerable, Et = Object.getOwnPrope
336
336
  } : Kr;
337
337
  function Gr(e, t, n) {
338
338
  var o = t(e);
339
- return Be(e) ? o : Mr(o, n(e));
339
+ return Fe(e) ? o : Mr(o, n(e));
340
340
  }
341
341
  function Ct(e) {
342
342
  return Gr(e, cr, Wr);
343
343
  }
344
- var lt = Se(ie, "DataView"), st = Se(ie, "Promise"), dt = Se(ie, "Set"), It = "[object Map]", Jr = "[object Object]", kt = "[object Promise]", Rt = "[object Set]", Ot = "[object WeakMap]", xt = "[object DataView]", Yr = ge(lt), Qr = ge(Oe), Xr = ge(st), Zr = ge(dt), eo = ge(ot), se = Pe;
345
- (lt && se(new lt(new ArrayBuffer(1))) != xt || Oe && se(new Oe()) != It || st && se(st.resolve()) != kt || dt && se(new dt()) != Rt || ot && se(new ot()) != Ot) && (se = function(e) {
346
- var t = Pe(e), n = t == Jr ? e.constructor : void 0, o = n ? ge(n) : "";
344
+ var dt = Ee(re, "DataView"), ut = Ee(re, "Promise"), ct = Ee(re, "Set"), It = "[object Map]", Jr = "[object Object]", Rt = "[object Promise]", kt = "[object Set]", Ot = "[object WeakMap]", xt = "[object DataView]", Yr = _e(dt), Qr = _e(xe), Xr = _e(ut), Zr = _e(ct), eo = _e(lt), ce = Ve;
345
+ (dt && ce(new dt(new ArrayBuffer(1))) != xt || xe && ce(new xe()) != It || ut && ce(ut.resolve()) != Rt || ct && ce(new ct()) != kt || lt && ce(new lt()) != Ot) && (ce = function(e) {
346
+ var t = Ve(e), n = t == Jr ? e.constructor : void 0, o = n ? _e(n) : "";
347
347
  if (o)
348
348
  switch (o) {
349
349
  case Yr:
@@ -351,28 +351,28 @@ var lt = Se(ie, "DataView"), st = Se(ie, "Promise"), dt = Se(ie, "Set"), It = "[
351
351
  case Qr:
352
352
  return It;
353
353
  case Xr:
354
- return kt;
355
- case Zr:
356
354
  return Rt;
355
+ case Zr:
356
+ return kt;
357
357
  case eo:
358
358
  return Ot;
359
359
  }
360
360
  return t;
361
361
  });
362
- var At = ie.Uint8Array, to = "__lodash_hash_undefined__";
362
+ var Pt = re.Uint8Array, to = "__lodash_hash_undefined__";
363
363
  function no(e) {
364
364
  return this.__data__.set(e, to), this;
365
365
  }
366
366
  function io(e) {
367
367
  return this.__data__.has(e);
368
368
  }
369
- function Fe(e) {
369
+ function He(e) {
370
370
  var t = -1, n = e == null ? 0 : e.length;
371
- for (this.__data__ = new _e(); ++t < n; )
371
+ for (this.__data__ = new be(); ++t < n; )
372
372
  this.add(e[t]);
373
373
  }
374
- Fe.prototype.add = Fe.prototype.push = no;
375
- Fe.prototype.has = io;
374
+ He.prototype.add = He.prototype.push = no;
375
+ He.prototype.has = io;
376
376
  function ro(e, t) {
377
377
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
378
378
  if (t(e[n], n, e))
@@ -384,32 +384,32 @@ function oo(e, t) {
384
384
  }
385
385
  var ao = 1, lo = 2;
386
386
  function on(e, t, n, o, r, a) {
387
- var f = n & ao, g = e.length, s = t.length;
388
- if (g != s && !(f && s > g))
387
+ var f = n & ao, g = e.length, l = t.length;
388
+ if (g != l && !(f && l > g))
389
389
  return !1;
390
- var c = a.get(e), _ = a.get(t);
391
- if (c && _)
392
- return c == t && _ == e;
393
- var h = -1, b = !0, w = n & lo ? new Fe() : void 0;
394
- for (a.set(e, t), a.set(t, e); ++h < g; ) {
395
- var l = e[h], S = t[h];
390
+ var u = a.get(e), _ = a.get(t);
391
+ if (u && _)
392
+ return u == t && _ == e;
393
+ var w = -1, b = !0, E = n & lo ? new He() : void 0;
394
+ for (a.set(e, t), a.set(t, e); ++w < g; ) {
395
+ var y = e[w], s = t[w];
396
396
  if (o)
397
- var C = f ? o(S, l, h, t, e, a) : o(l, S, h, e, t, a);
398
- if (C !== void 0) {
399
- if (C)
397
+ var I = f ? o(s, y, w, t, e, a) : o(y, s, w, e, t, a);
398
+ if (I !== void 0) {
399
+ if (I)
400
400
  continue;
401
401
  b = !1;
402
402
  break;
403
403
  }
404
- if (w) {
405
- if (!ro(t, function(I, d) {
406
- if (!oo(w, d) && (l === I || r(l, I, n, o, a)))
407
- return w.push(d);
404
+ if (E) {
405
+ if (!ro(t, function($, d) {
406
+ if (!oo(E, d) && (y === $ || r(y, $, n, o, a)))
407
+ return E.push(d);
408
408
  })) {
409
409
  b = !1;
410
410
  break;
411
411
  }
412
- } else if (!(l === S || r(l, S, n, o, a))) {
412
+ } else if (!(y === s || r(y, s, n, o, a))) {
413
413
  b = !1;
414
414
  break;
415
415
  }
@@ -428,7 +428,7 @@ function uo(e) {
428
428
  n[++t] = o;
429
429
  }), n;
430
430
  }
431
- var co = 1, fo = 2, po = "[object Boolean]", mo = "[object Date]", go = "[object Error]", _o = "[object Map]", bo = "[object Number]", yo = "[object RegExp]", vo = "[object Set]", ho = "[object String]", To = "[object Symbol]", wo = "[object ArrayBuffer]", So = "[object DataView]", Pt = we ? we.prototype : void 0, Ze = Pt ? Pt.valueOf : void 0;
431
+ var co = 1, fo = 2, po = "[object Boolean]", mo = "[object Date]", go = "[object Error]", _o = "[object Map]", bo = "[object Number]", yo = "[object RegExp]", vo = "[object Set]", ho = "[object String]", To = "[object Symbol]", wo = "[object ArrayBuffer]", So = "[object DataView]", At = Se ? Se.prototype : void 0, tt = At ? At.valueOf : void 0;
432
432
  function Eo(e, t, n, o, r, a, f) {
433
433
  switch (n) {
434
434
  case So:
@@ -436,7 +436,7 @@ function Eo(e, t, n, o, r, a, f) {
436
436
  return !1;
437
437
  e = e.buffer, t = t.buffer;
438
438
  case wo:
439
- return !(e.byteLength != t.byteLength || !a(new At(e), new At(t)));
439
+ return !(e.byteLength != t.byteLength || !a(new Pt(e), new Pt(t)));
440
440
  case po:
441
441
  case mo:
442
442
  case bo:
@@ -449,91 +449,91 @@ function Eo(e, t, n, o, r, a, f) {
449
449
  case _o:
450
450
  var g = so;
451
451
  case vo:
452
- var s = o & co;
453
- if (g || (g = uo), e.size != t.size && !s)
452
+ var l = o & co;
453
+ if (g || (g = uo), e.size != t.size && !l)
454
454
  return !1;
455
- var c = f.get(e);
456
- if (c)
457
- return c == t;
455
+ var u = f.get(e);
456
+ if (u)
457
+ return u == t;
458
458
  o |= fo, f.set(e, t);
459
459
  var _ = on(g(e), g(t), o, r, a, f);
460
460
  return f.delete(e), _;
461
461
  case To:
462
- if (Ze)
463
- return Ze.call(e) == Ze.call(t);
462
+ if (tt)
463
+ return tt.call(e) == tt.call(t);
464
464
  }
465
465
  return !1;
466
466
  }
467
- var Co = 1, Io = Object.prototype, ko = Io.hasOwnProperty;
468
- function Ro(e, t, n, o, r, a) {
469
- var f = n & Co, g = Ct(e), s = g.length, c = Ct(t), _ = c.length;
470
- if (s != _ && !f)
467
+ var Co = 1, Io = Object.prototype, Ro = Io.hasOwnProperty;
468
+ function ko(e, t, n, o, r, a) {
469
+ var f = n & Co, g = Ct(e), l = g.length, u = Ct(t), _ = u.length;
470
+ if (l != _ && !f)
471
471
  return !1;
472
- for (var h = s; h--; ) {
473
- var b = g[h];
474
- if (!(f ? b in t : ko.call(t, b)))
472
+ for (var w = l; w--; ) {
473
+ var b = g[w];
474
+ if (!(f ? b in t : Ro.call(t, b)))
475
475
  return !1;
476
476
  }
477
- var w = a.get(e), l = a.get(t);
478
- if (w && l)
479
- return w == t && l == e;
480
- var S = !0;
477
+ var E = a.get(e), y = a.get(t);
478
+ if (E && y)
479
+ return E == t && y == e;
480
+ var s = !0;
481
481
  a.set(e, t), a.set(t, e);
482
- for (var C = f; ++h < s; ) {
483
- b = g[h];
484
- var I = e[b], d = t[b];
482
+ for (var I = f; ++w < l; ) {
483
+ b = g[w];
484
+ var $ = e[b], d = t[b];
485
485
  if (o)
486
- var k = f ? o(d, I, b, t, e, a) : o(I, d, b, e, t, a);
487
- if (!(k === void 0 ? I === d || r(I, d, n, o, a) : k)) {
488
- S = !1;
486
+ var T = f ? o(d, $, b, t, e, a) : o($, d, b, e, t, a);
487
+ if (!(T === void 0 ? $ === d || r($, d, n, o, a) : T)) {
488
+ s = !1;
489
489
  break;
490
490
  }
491
- C || (C = b == "constructor");
491
+ I || (I = b == "constructor");
492
492
  }
493
- if (S && !C) {
494
- var j = e.constructor, x = t.constructor;
495
- j != x && "constructor" in e && "constructor" in t && !(typeof j == "function" && j instanceof j && typeof x == "function" && x instanceof x) && (S = !1);
493
+ if (s && !I) {
494
+ var N = e.constructor, O = t.constructor;
495
+ N != O && "constructor" in e && "constructor" in t && !(typeof N == "function" && N instanceof N && typeof O == "function" && O instanceof O) && (s = !1);
496
496
  }
497
- return a.delete(e), a.delete(t), S;
498
- }
499
- var Oo = 1, Vt = "[object Arguments]", $t = "[object Array]", De = "[object Object]", xo = Object.prototype, Lt = xo.hasOwnProperty;
500
- function Ao(e, t, n, o, r, a) {
501
- var f = Be(e), g = Be(t), s = f ? $t : se(e), c = g ? $t : se(t);
502
- s = s == Vt ? De : s, c = c == Vt ? De : c;
503
- var _ = s == De, h = c == De, b = s == c;
504
- if (b && at(e)) {
505
- if (!at(t))
497
+ return a.delete(e), a.delete(t), s;
498
+ }
499
+ var Oo = 1, Vt = "[object Arguments]", $t = "[object Array]", Ue = "[object Object]", xo = Object.prototype, Lt = xo.hasOwnProperty;
500
+ function Po(e, t, n, o, r, a) {
501
+ var f = Fe(e), g = Fe(t), l = f ? $t : ce(e), u = g ? $t : ce(t);
502
+ l = l == Vt ? Ue : l, u = u == Vt ? Ue : u;
503
+ var _ = l == Ue, w = u == Ue, b = l == u;
504
+ if (b && st(e)) {
505
+ if (!st(t))
506
506
  return !1;
507
507
  f = !0, _ = !1;
508
508
  }
509
509
  if (b && !_)
510
- return a || (a = new de()), f || rn(e) ? on(e, t, n, o, r, a) : Eo(e, t, s, n, o, r, a);
510
+ return a || (a = new fe()), f || rn(e) ? on(e, t, n, o, r, a) : Eo(e, t, l, n, o, r, a);
511
511
  if (!(n & Oo)) {
512
- var w = _ && Lt.call(e, "__wrapped__"), l = h && Lt.call(t, "__wrapped__");
513
- if (w || l) {
514
- var S = w ? e.value() : e, C = l ? t.value() : t;
515
- return a || (a = new de()), r(S, C, n, o, a);
512
+ var E = _ && Lt.call(e, "__wrapped__"), y = w && Lt.call(t, "__wrapped__");
513
+ if (E || y) {
514
+ var s = E ? e.value() : e, I = y ? t.value() : t;
515
+ return a || (a = new fe()), r(s, I, n, o, a);
516
516
  }
517
517
  }
518
- return b ? (a || (a = new de()), Ro(e, t, n, o, r, a)) : !1;
518
+ return b ? (a || (a = new fe()), ko(e, t, n, o, r, a)) : !1;
519
519
  }
520
520
  function an(e, t, n, o, r) {
521
- return e === t ? !0 : e == null || t == null || !ke(e) && !ke(t) ? e !== e && t !== t : Ao(e, t, n, o, an, r);
521
+ return e === t ? !0 : e == null || t == null || !ke(e) && !ke(t) ? e !== e && t !== t : Po(e, t, n, o, an, r);
522
522
  }
523
- function Po(e, t) {
523
+ function Ao(e, t) {
524
524
  return an(e, t);
525
525
  }
526
- var N = [];
527
- for (var et = 0; et < 256; ++et)
528
- N.push((et + 256).toString(16).slice(1));
526
+ var B = [];
527
+ for (var nt = 0; nt < 256; ++nt)
528
+ B.push((nt + 256).toString(16).slice(1));
529
529
  function Vo(e, t = 0) {
530
- return (N[e[t + 0]] + N[e[t + 1]] + N[e[t + 2]] + N[e[t + 3]] + "-" + N[e[t + 4]] + N[e[t + 5]] + "-" + N[e[t + 6]] + N[e[t + 7]] + "-" + N[e[t + 8]] + N[e[t + 9]] + "-" + N[e[t + 10]] + N[e[t + 11]] + N[e[t + 12]] + N[e[t + 13]] + N[e[t + 14]] + N[e[t + 15]]).toLowerCase();
530
+ return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
531
531
  }
532
- var Ue, $o = new Uint8Array(16);
532
+ var je, $o = new Uint8Array(16);
533
533
  function Lo() {
534
- if (!Ue && (Ue = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ue))
534
+ if (!je && (je = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !je))
535
535
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
536
- return Ue($o);
536
+ return je($o);
537
537
  }
538
538
  var Mo = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
539
539
  const Mt = {
@@ -552,7 +552,7 @@ const ln = {
552
552
  }, sn = {
553
553
  host: "127.0.0.1",
554
554
  port: 6379
555
- }, mt = y.HOST_PORT_CE, dn = {
555
+ }, we = v.HOST_PORT_EE, dn = {
556
556
  port: 6379,
557
557
  host: "127.0.0.1",
558
558
  database: 0,
@@ -578,15 +578,15 @@ const ln = {
578
578
  __proto__: null,
579
579
  DEFAULT_CLUSTER_NODE: ln,
580
580
  DEFAULT_FIELDS: dn,
581
- DEFAULT_REDIS_TYPE: mt,
581
+ DEFAULT_REDIS_TYPE: we,
582
582
  DEFAULT_SENTINEL_NODE: sn
583
- }, Symbol.toStringTag, { value: "Module" })), xe = (e) => ({ ...e, id: Do() }), ut = (e) => {
583
+ }, Symbol.toStringTag, { value: "Module" })), Pe = (e) => ({ ...e, id: Do() }), ft = (e) => {
584
584
  const { id: t, ...n } = e;
585
585
  return n;
586
- }, un = () => xe(sn), cn = () => xe(ln), We = (e) => {
586
+ }, un = () => Pe(sn), cn = () => Pe(ln), Je = (e) => {
587
587
  var t, n;
588
- return e.type === ne.REDIS_CE ? y.HOST_PORT_CE : (t = e.config.sentinel_nodes) != null && t.length ? y.SENTINEL : (n = e.config.cluster_nodes) != null && n.length ? y.CLUSTER : y.HOST_PORT_EE;
589
- }, ct = (e) => e === y.HOST_PORT_CE ? ne.REDIS_CE : ne.REDIS_EE, v = {
588
+ return e.type === ie.REDIS_CE ? v.HOST_PORT_CE : (t = e.config.sentinel_nodes) != null && t.length ? v.SENTINEL : (n = e.config.cluster_nodes) != null && n.length ? v.CLUSTER : v.HOST_PORT_EE;
589
+ }, Ke = (e) => e === v.HOST_PORT_CE ? ie.REDIS_CE : ie.REDIS_EE, h = {
590
590
  int(e, t) {
591
591
  return e == null ? t : parseInt(e.toString(), 10);
592
592
  },
@@ -595,21 +595,21 @@ const ln = {
595
595
  },
596
596
  removeIdClusterNodes(e) {
597
597
  return e.map((t) => ({
598
- ...ut(t),
599
- port: v.int(t.port)
598
+ ...ft(t),
599
+ port: h.int(t.port)
600
600
  }));
601
601
  },
602
602
  removeIdFromSentinelNodes(e) {
603
603
  return e.map((t) => ({
604
- ...ut(t),
605
- port: v.int(t.port)
604
+ ...ft(t),
605
+ port: h.int(t.port)
606
606
  }));
607
607
  },
608
608
  addIdToClusterNodes(e) {
609
- return e.map(xe);
609
+ return e.map(Pe);
610
610
  },
611
611
  addIdToSentinelNodes(e) {
612
- return e.map(xe);
612
+ return e.map(Pe);
613
613
  },
614
614
  removeNullValues(e) {
615
615
  const t = { ...e };
@@ -627,99 +627,99 @@ const ln = {
627
627
  __proto__: null,
628
628
  genDefaultClusterNode: cn,
629
629
  genDefaultSentinelNode: un,
630
- getRedisType: We,
631
- mapRedisTypeToPartialType: ct,
632
- shallowCopyWithId: xe,
633
- shallowCopyWithoutId: ut,
634
- standardize: v
635
- }, Symbol.toStringTag, { value: "Module" })), je = "/v2/control-planes/{controlPlaneId}/core-entities", Ne = "/{workspace}", Ae = {
630
+ getRedisType: Je,
631
+ mapRedisTypeToPartialType: Ke,
632
+ shallowCopyWithId: Pe,
633
+ shallowCopyWithoutId: ft,
634
+ standardize: h
635
+ }, Symbol.toStringTag, { value: "Module" })), Ne = "/v2/control-planes/{controlPlaneId}/core-entities", Be = "/{workspace}", Ae = {
636
636
  list: {
637
- konnect: `${je}/partials`,
638
- kongManager: `${Ne}/partials`
637
+ konnect: `${Ne}/partials`,
638
+ kongManager: `${Be}/partials`
639
639
  },
640
640
  form: {
641
641
  konnect: {
642
- create: `${je}/partials`,
643
- edit: `${je}/partials/{id}`
644
- },
645
- kongManager: {
646
642
  create: `${Ne}/partials`,
647
643
  edit: `${Ne}/partials/{id}`
644
+ },
645
+ kongManager: {
646
+ create: `${Be}/partials`,
647
+ edit: `${Be}/partials/{id}`
648
648
  }
649
649
  },
650
650
  links: {
651
- konnect: `${je}/partials/{id}/links`,
652
- kongManager: `${Ne}/partials/{id}/links`
651
+ konnect: `${Ne}/partials/{id}/links`,
652
+ kongManager: `${Be}/partials/{id}/links`
653
653
  }
654
654
  }, Uo = (e) => {
655
- const { partialId: t, config: n, defaultRedisType: o = mt } = e, r = !!t, { axiosInstance: a } = pt(n.axiosRequestConfig), { getMessageFromError: f } = kn(), g = H(() => t ? Ye.Edit : Ye.Create), s = jt({
655
+ const { partialId: t, config: n, defaultRedisType: o = we } = e, r = !!t, { axiosInstance: a } = mt(n.axiosRequestConfig), { getMessageFromError: f } = Rn(), g = K(() => t ? Xe.Edit : Xe.Create), l = jt({
656
656
  fields: {
657
657
  name: "",
658
658
  tags: "",
659
- type: ct(o),
659
+ type: Ke(o),
660
660
  config: JSON.parse(JSON.stringify(dn))
661
661
  },
662
662
  readonly: !1,
663
663
  errorMessage: ""
664
- }), c = M(), _ = M(o), h = H(() => _.value === y.HOST_PORT_EE || _.value === y.CLUSTER || _.value === y.SENTINEL);
665
- Ie(_, (d) => {
666
- s.fields.type = ct(d);
664
+ }), u = L(), _ = L(o), w = K(() => _.value === v.HOST_PORT_EE || _.value === v.CLUSTER || _.value === v.SENTINEL);
665
+ Re(_, (d) => {
666
+ l.fields.type = Ke(d);
667
667
  });
668
- const b = H(() => {
669
- var k;
670
- if (r && Po(c.value, w.value) || !s.fields.name.length)
668
+ const b = K(() => {
669
+ var T;
670
+ if (r && Ao(u.value, E.value) || !l.fields.name.length)
671
671
  return !1;
672
- const { config: d } = s.fields;
672
+ const { config: d } = l.fields;
673
673
  switch (_.value) {
674
- case y.HOST_PORT_CE:
675
- case y.HOST_PORT_EE:
674
+ case v.HOST_PORT_CE:
675
+ case v.HOST_PORT_EE:
676
676
  return !!d.host && d.host.length > 0 && !!d.port && d.port > 0;
677
- case y.CLUSTER:
678
- return !!d.cluster_nodes.length && d.cluster_nodes.every((j) => j.ip.length > 0);
679
- case y.SENTINEL:
680
- return !!d.sentinel_nodes.length && d.sentinel_nodes.every((j) => j.host.length > 0) && !!((k = d.sentinel_master) != null && k.length) && d.sentinel_role && !!d.sentinel_role.length;
677
+ case v.CLUSTER:
678
+ return !!d.cluster_nodes.length && d.cluster_nodes.every((N) => N.ip.length > 0);
679
+ case v.SENTINEL:
680
+ return !!d.sentinel_nodes.length && d.sentinel_nodes.every((N) => N.host.length > 0) && !!((T = d.sentinel_master) != null && T.length) && d.sentinel_role && !!d.sentinel_role.length;
681
681
  default:
682
682
  throw new Error("Invalid redis type");
683
683
  }
684
- }), w = H(() => {
684
+ }), E = K(() => {
685
685
  switch (_.value) {
686
- case y.HOST_PORT_CE:
686
+ case v.HOST_PORT_CE:
687
687
  return {
688
- name: s.fields.name,
689
- type: s.fields.type,
690
- tags: v.stringToArray(s.fields.tags),
688
+ name: l.fields.name,
689
+ type: l.fields.type,
690
+ tags: h.stringToArray(l.fields.tags),
691
691
  config: {
692
- host: s.fields.config.host,
693
- port: v.int(s.fields.config.port),
694
- timeout: v.int(s.fields.config.timeout),
695
- username: v.str(s.fields.config.username, null),
696
- database: v.int(s.fields.config.database),
697
- password: v.str(s.fields.config.password, null),
698
- ssl: s.fields.config.ssl,
699
- ssl_verify: s.fields.config.ssl_verify,
700
- server_name: v.str(s.fields.config.server_name, null)
692
+ host: l.fields.config.host,
693
+ port: h.int(l.fields.config.port),
694
+ timeout: h.int(l.fields.config.timeout),
695
+ username: h.str(l.fields.config.username, null),
696
+ database: h.int(l.fields.config.database),
697
+ password: h.str(l.fields.config.password, null),
698
+ ssl: l.fields.config.ssl,
699
+ ssl_verify: l.fields.config.ssl_verify,
700
+ server_name: h.str(l.fields.config.server_name, null)
701
701
  }
702
702
  };
703
- case y.HOST_PORT_EE:
703
+ case v.HOST_PORT_EE:
704
704
  return {
705
- name: s.fields.name,
706
- type: s.fields.type,
707
- tags: v.stringToArray(s.fields.tags),
705
+ name: l.fields.name,
706
+ type: l.fields.type,
707
+ tags: h.stringToArray(l.fields.tags),
708
708
  config: {
709
- connect_timeout: v.int(s.fields.config.connect_timeout),
710
- connection_is_proxied: s.fields.config.connection_is_proxied,
711
- database: v.int(s.fields.config.database),
712
- host: s.fields.config.host,
713
- keepalive_backlog: v.int(s.fields.config.keepalive_backlog),
714
- keepalive_pool_size: v.int(s.fields.config.keepalive_pool_size),
715
- password: v.str(s.fields.config.password, null),
716
- port: v.int(s.fields.config.port),
717
- read_timeout: v.int(s.fields.config.read_timeout),
718
- send_timeout: v.int(s.fields.config.send_timeout),
719
- server_name: v.str(s.fields.config.server_name, null),
720
- ssl_verify: s.fields.config.ssl_verify,
721
- ssl: s.fields.config.ssl,
722
- username: v.str(s.fields.config.username, null),
709
+ connect_timeout: h.int(l.fields.config.connect_timeout),
710
+ connection_is_proxied: l.fields.config.connection_is_proxied,
711
+ database: h.int(l.fields.config.database),
712
+ host: l.fields.config.host,
713
+ keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
714
+ keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
715
+ password: h.str(l.fields.config.password, null),
716
+ port: h.int(l.fields.config.port),
717
+ read_timeout: h.int(l.fields.config.read_timeout),
718
+ send_timeout: h.int(l.fields.config.send_timeout),
719
+ server_name: h.str(l.fields.config.server_name, null),
720
+ ssl_verify: l.fields.config.ssl_verify,
721
+ ssl: l.fields.config.ssl,
722
+ username: h.str(l.fields.config.username, null),
723
723
  // reset other EE fields
724
724
  cluster_nodes: null,
725
725
  cluster_max_redirections: null,
@@ -730,25 +730,25 @@ const ln = {
730
730
  sentinel_password: null
731
731
  }
732
732
  };
733
- case y.CLUSTER:
733
+ case v.CLUSTER:
734
734
  return {
735
- name: s.fields.name,
736
- type: s.fields.type,
737
- tags: v.stringToArray(s.fields.tags),
735
+ name: l.fields.name,
736
+ type: l.fields.type,
737
+ tags: h.stringToArray(l.fields.tags),
738
738
  config: {
739
- cluster_nodes: v.removeIdClusterNodes(s.fields.config.cluster_nodes),
740
- cluster_max_redirections: v.int(s.fields.config.cluster_max_redirections),
741
- username: v.str(s.fields.config.username, null),
742
- password: v.str(s.fields.config.password, null),
743
- ssl: s.fields.config.ssl,
744
- ssl_verify: s.fields.config.ssl_verify,
745
- server_name: v.str(s.fields.config.server_name, null),
746
- connect_timeout: v.int(s.fields.config.connect_timeout),
747
- database: v.int(s.fields.config.database),
748
- send_timeout: v.int(s.fields.config.send_timeout),
749
- read_timeout: v.int(s.fields.config.read_timeout),
750
- keepalive_pool_size: v.int(s.fields.config.keepalive_pool_size),
751
- keepalive_backlog: v.int(s.fields.config.keepalive_backlog),
739
+ cluster_nodes: h.removeIdClusterNodes(l.fields.config.cluster_nodes),
740
+ cluster_max_redirections: h.int(l.fields.config.cluster_max_redirections),
741
+ username: h.str(l.fields.config.username, null),
742
+ password: h.str(l.fields.config.password, null),
743
+ ssl: l.fields.config.ssl,
744
+ ssl_verify: l.fields.config.ssl_verify,
745
+ server_name: h.str(l.fields.config.server_name, null),
746
+ connect_timeout: h.int(l.fields.config.connect_timeout),
747
+ database: h.int(l.fields.config.database),
748
+ send_timeout: h.int(l.fields.config.send_timeout),
749
+ read_timeout: h.int(l.fields.config.read_timeout),
750
+ keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
751
+ keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
752
752
  // reset other EE fields
753
753
  connection_is_proxied: null,
754
754
  sentinel_master: null,
@@ -760,28 +760,28 @@ const ln = {
760
760
  port: null
761
761
  }
762
762
  };
763
- case y.SENTINEL:
763
+ case v.SENTINEL:
764
764
  return {
765
- name: s.fields.name,
766
- type: s.fields.type,
767
- tags: v.stringToArray(s.fields.tags),
765
+ name: l.fields.name,
766
+ type: l.fields.type,
767
+ tags: h.stringToArray(l.fields.tags),
768
768
  config: {
769
- sentinel_master: v.str(s.fields.config.sentinel_master, null),
770
- sentinel_nodes: v.removeIdFromSentinelNodes(s.fields.config.sentinel_nodes),
771
- sentinel_role: v.str(s.fields.config.sentinel_role, null),
772
- sentinel_username: v.str(s.fields.config.sentinel_username, null),
773
- sentinel_password: v.str(s.fields.config.sentinel_password, null),
774
- username: v.str(s.fields.config.username, null),
775
- password: v.str(s.fields.config.password, null),
776
- ssl: s.fields.config.ssl,
777
- ssl_verify: s.fields.config.ssl_verify,
778
- server_name: v.str(s.fields.config.server_name, null),
779
- database: v.int(s.fields.config.database),
780
- connect_timeout: v.int(s.fields.config.connect_timeout),
781
- send_timeout: v.int(s.fields.config.send_timeout),
782
- read_timeout: v.int(s.fields.config.read_timeout),
783
- keepalive_pool_size: v.int(s.fields.config.keepalive_pool_size),
784
- keepalive_backlog: v.int(s.fields.config.keepalive_backlog),
769
+ sentinel_master: h.str(l.fields.config.sentinel_master, null),
770
+ sentinel_nodes: h.removeIdFromSentinelNodes(l.fields.config.sentinel_nodes),
771
+ sentinel_role: h.str(l.fields.config.sentinel_role, null),
772
+ sentinel_username: h.str(l.fields.config.sentinel_username, null),
773
+ sentinel_password: h.str(l.fields.config.sentinel_password, null),
774
+ username: h.str(l.fields.config.username, null),
775
+ password: h.str(l.fields.config.password, null),
776
+ ssl: l.fields.config.ssl,
777
+ ssl_verify: l.fields.config.ssl_verify,
778
+ server_name: h.str(l.fields.config.server_name, null),
779
+ database: h.int(l.fields.config.database),
780
+ connect_timeout: h.int(l.fields.config.connect_timeout),
781
+ send_timeout: h.int(l.fields.config.send_timeout),
782
+ read_timeout: h.int(l.fields.config.read_timeout),
783
+ keepalive_pool_size: h.int(l.fields.config.keepalive_pool_size),
784
+ keepalive_backlog: h.int(l.fields.config.keepalive_backlog),
785
785
  // reset other EE fields
786
786
  connection_is_proxied: null,
787
787
  cluster_nodes: null,
@@ -793,39 +793,39 @@ const ln = {
793
793
  default:
794
794
  throw new Error("Invalid redis type");
795
795
  }
796
- }), l = H(() => {
796
+ }), y = K(() => {
797
797
  let d = `${n.apiBaseUrl}${Ae.form[n.app][g.value]}`;
798
798
  return n.app === "konnect" ? d = d.replace(/{controlPlaneId}/gi, (n == null ? void 0 : n.controlPlaneId) || "") : n.app === "kongManager" && (d = d.replace(/\/{workspace}/gi, n != null && n.workspace ? `/${n.workspace}` : "")), d = d.replace(/{id}/gi, t || ""), d;
799
- }), S = H(() => {
799
+ }), s = K(() => {
800
800
  var d;
801
801
  return (d = Ae.form[n == null ? void 0 : n.app]) == null ? void 0 : d.edit;
802
802
  });
803
803
  return {
804
- form: s,
804
+ form: l,
805
805
  canSubmit: b,
806
- payload: w,
806
+ payload: E,
807
807
  isEdit: r,
808
808
  redisType: _,
809
- redisTypeIsEnterprise: h,
809
+ redisTypeIsEnterprise: w,
810
810
  formType: g,
811
- fetchUrl: S,
811
+ fetchUrl: s,
812
812
  submit: async () => {
813
813
  try {
814
- return s.readonly = !0, s.errorMessage = "", g.value === Ye.Create ? await a.post(l.value, w.value) : await a.patch(l.value, w.value);
814
+ return l.readonly = !0, l.errorMessage = "", g.value === Xe.Create ? await a.post(y.value, E.value) : await a.patch(y.value, E.value);
815
815
  } catch (d) {
816
- throw s.errorMessage = f(d), s.readonly = !1, d;
816
+ throw l.errorMessage = f(d), l.readonly = !1, d;
817
817
  }
818
818
  },
819
819
  setInitialFormValues: (d) => {
820
- s.fields.config = Object.assign(
820
+ l.fields.config = Object.assign(
821
821
  {},
822
- s.fields.config,
823
- v.removeNullValues(d.config)
822
+ l.fields.config,
823
+ h.removeNullValues(d.config)
824
824
  // remove null values if data, so they can be replaced with default values
825
- ), s.fields.config.sentinel_nodes = v.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), s.fields.config.cluster_nodes = v.addIdToClusterNodes(d.config.cluster_nodes ?? []), s.fields.name = d.name, s.fields.type = d.type, s.fields.tags = v.arrayToString(d.tags), _.value = We(d), c.value = JSON.parse(JSON.stringify(w.value));
825
+ ), 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), _.value = Je(d), u.value = JSON.parse(JSON.stringify(E.value));
826
826
  }
827
827
  };
828
- }, jo = { class: "array-card-container" }, No = /* @__PURE__ */ Y({
828
+ }, jo = { class: "array-card-container" }, No = /* @__PURE__ */ G({
829
829
  __name: "FieldArrayCardContainer",
830
830
  props: {
831
831
  model: {
@@ -848,10 +848,10 @@ const ln = {
848
848
  emits: ["remove-item"],
849
849
  setup(e) {
850
850
  return (t, n) => {
851
- const o = D("KCard"), r = D("KButton");
852
- return R(), q("div", jo, [
851
+ const o = U("KCard"), r = U("KButton");
852
+ return k(), q("div", jo, [
853
853
  p(o, { class: "card" }, {
854
- default: T(() => [
854
+ default: S(() => [
855
855
  yn(t.$slots, "default", {}, void 0, !0)
856
856
  ]),
857
857
  _: 3
@@ -862,7 +862,7 @@ const ln = {
862
862
  disabled: e.disabled,
863
863
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
864
864
  }, {
865
- default: T(() => [
865
+ default: S(() => [
866
866
  p(i(jn))
867
867
  ]),
868
868
  _: 1
@@ -870,12 +870,12 @@ const ln = {
870
870
  ]);
871
871
  };
872
872
  }
873
- }), oe = (e, t) => {
873
+ }), ae = (e, t) => {
874
874
  const n = e.__vccOpts || e;
875
875
  for (const [o, r] of t)
876
876
  n[o] = r;
877
877
  return n;
878
- }, fn = /* @__PURE__ */ oe(No, [["__scopeId", "data-v-a2c96337"]]), Bo = {
878
+ }, fn = /* @__PURE__ */ ae(No, [["__scopeId", "data-v-a2c96337"]]), Bo = {
879
879
  create: "New Redis Configuration",
880
880
  copy_id: "Copy ID",
881
881
  copy_json: "Copy JSON",
@@ -1129,9 +1129,9 @@ function Yo() {
1129
1129
  // Translation component <i18n-t>
1130
1130
  };
1131
1131
  }
1132
- const ue = {
1132
+ const pe = {
1133
1133
  useI18n: Yo
1134
- }, Qo = { class: "cluster-node-items" }, Xo = /* @__PURE__ */ Y({
1134
+ }, Qo = { class: "cluster-node-items" }, Xo = /* @__PURE__ */ G({
1135
1135
  __name: "ClusterNodes",
1136
1136
  props: /* @__PURE__ */ Nt({
1137
1137
  readonly: { type: Boolean }
@@ -1141,34 +1141,34 @@ const ue = {
1141
1141
  }),
1142
1142
  emits: ["update:modelValue"],
1143
1143
  setup(e) {
1144
- const t = Bt(e, "modelValue"), { i18n: { t: n } } = ue.useI18n(), o = () => {
1144
+ const t = Bt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1145
1145
  t.value.push(cn());
1146
1146
  }, r = (a) => {
1147
1147
  t.value.splice(a, 1);
1148
1148
  };
1149
1149
  return (a, f) => {
1150
- const g = D("KLabel"), s = D("KInput"), c = D("KButton");
1151
- return R(), q("div", null, [
1150
+ const g = U("KLabel"), l = U("KInput"), u = U("KButton");
1151
+ return k(), q("div", null, [
1152
1152
  p(g, {
1153
1153
  class: "required",
1154
1154
  info: i(n)("form.fields.cluster_nodes.tooltip"),
1155
1155
  "tooltip-attributes": { maxWidth: "400" }
1156
1156
  }, {
1157
- default: T(() => [
1158
- Z(B(i(n)("form.fields.cluster_nodes.title")), 1)
1157
+ default: S(() => [
1158
+ Z(F(i(n)("form.fields.cluster_nodes.title")), 1)
1159
1159
  ]),
1160
1160
  _: 1
1161
1161
  }, 8, ["info"]),
1162
- K("div", null, [
1163
- (R(!0), q(Ke, null, ft(t.value, (_, h) => (R(), F(fn, {
1164
- key: `${h}`,
1162
+ z("div", null, [
1163
+ (k(!0), q(qe, null, pt(t.value, (_, w) => (k(), H(fn, {
1164
+ key: `${w}`,
1165
1165
  "data-testid": "redis-cluster-nodes",
1166
1166
  disabled: a.readonly,
1167
- onRemoveItem: (b) => r(h)
1167
+ onRemoveItem: (b) => r(w)
1168
1168
  }, {
1169
- default: T(() => [
1170
- K("div", Qo, [
1171
- p(s, {
1169
+ default: S(() => [
1170
+ z("div", Qo, [
1171
+ p(l, {
1172
1172
  modelValue: _.ip,
1173
1173
  "onUpdate:modelValue": (b) => _.ip = b,
1174
1174
  modelModifiers: { trim: !0 },
@@ -1181,7 +1181,7 @@ const ue = {
1181
1181
  readonly: a.readonly,
1182
1182
  required: ""
1183
1183
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1184
- p(s, {
1184
+ p(l, {
1185
1185
  modelValue: _.port,
1186
1186
  "onUpdate:modelValue": (b) => _.port = b,
1187
1187
  label: i(n)("form.fields.cluster_node_port.label"),
@@ -1197,15 +1197,15 @@ const ue = {
1197
1197
  ]),
1198
1198
  _: 2
1199
1199
  }, 1032, ["disabled", "onRemoveItem"]))), 128)),
1200
- p(c, {
1200
+ p(u, {
1201
1201
  appearance: "tertiary",
1202
1202
  "data-testid": "redis-add-cluster-node-button",
1203
1203
  disabled: a.readonly,
1204
1204
  onClick: o
1205
1205
  }, {
1206
- default: T(() => [
1206
+ default: S(() => [
1207
1207
  p(i(qt)),
1208
- K("span", null, B(i(n)("form.fields.cluster_nodes.add_button")), 1)
1208
+ z("span", null, F(i(n)("form.fields.cluster_nodes.add_button")), 1)
1209
1209
  ]),
1210
1210
  _: 1
1211
1211
  }, 8, ["disabled"])
@@ -1213,7 +1213,7 @@ const ue = {
1213
1213
  ]);
1214
1214
  };
1215
1215
  }
1216
- }), Zo = /* @__PURE__ */ oe(Xo, [["__scopeId", "data-v-7c2d61b0"]]), ea = { class: "sentinel-node-items" }, ta = /* @__PURE__ */ Y({
1216
+ }), Zo = /* @__PURE__ */ ae(Xo, [["__scopeId", "data-v-7c2d61b0"]]), ea = { class: "sentinel-node-items" }, ta = /* @__PURE__ */ G({
1217
1217
  __name: "SentinelNodes",
1218
1218
  props: /* @__PURE__ */ Nt({
1219
1219
  readonly: { type: Boolean }
@@ -1223,34 +1223,34 @@ const ue = {
1223
1223
  }),
1224
1224
  emits: ["update:modelValue"],
1225
1225
  setup(e) {
1226
- const t = Bt(e, "modelValue"), { i18n: { t: n } } = ue.useI18n(), o = () => {
1226
+ const t = Bt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1227
1227
  t.value.push(un());
1228
1228
  }, r = (a) => {
1229
1229
  t.value.splice(a, 1);
1230
1230
  };
1231
1231
  return (a, f) => {
1232
- const g = D("KLabel"), s = D("KInput"), c = D("KButton");
1233
- return R(), q("div", null, [
1232
+ const g = U("KLabel"), l = U("KInput"), u = U("KButton");
1233
+ return k(), q("div", null, [
1234
1234
  p(g, {
1235
1235
  class: "required",
1236
1236
  info: i(n)("form.fields.sentinel_nodes.tooltip"),
1237
1237
  "tooltip-attributes": { maxWidth: "400" }
1238
1238
  }, {
1239
- default: T(() => [
1240
- Z(B(i(n)("form.fields.sentinel_nodes.title")), 1)
1239
+ default: S(() => [
1240
+ Z(F(i(n)("form.fields.sentinel_nodes.title")), 1)
1241
1241
  ]),
1242
1242
  _: 1
1243
1243
  }, 8, ["info"]),
1244
- K("div", null, [
1245
- (R(!0), q(Ke, null, ft(t.value, (_, h) => (R(), F(fn, {
1244
+ z("div", null, [
1245
+ (k(!0), q(qe, null, pt(t.value, (_, w) => (k(), H(fn, {
1246
1246
  key: _.id,
1247
1247
  "data-testid": "redis-sentinel-nodes",
1248
1248
  disabled: a.readonly,
1249
- onRemoveItem: (b) => r(h)
1249
+ onRemoveItem: (b) => r(w)
1250
1250
  }, {
1251
- default: T(() => [
1252
- K("div", ea, [
1253
- p(s, {
1251
+ default: S(() => [
1252
+ z("div", ea, [
1253
+ p(l, {
1254
1254
  modelValue: _.host,
1255
1255
  "onUpdate:modelValue": (b) => _.host = b,
1256
1256
  modelModifiers: { trim: !0 },
@@ -1263,7 +1263,7 @@ const ue = {
1263
1263
  readonly: a.readonly,
1264
1264
  required: ""
1265
1265
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "label-attributes", "readonly"]),
1266
- p(s, {
1266
+ p(l, {
1267
1267
  modelValue: _.port,
1268
1268
  "onUpdate:modelValue": (b) => _.port = b,
1269
1269
  label: i(n)("form.fields.sentinel_node_port.label"),
@@ -1279,15 +1279,15 @@ const ue = {
1279
1279
  ]),
1280
1280
  _: 2
1281
1281
  }, 1032, ["disabled", "onRemoveItem"]))), 128)),
1282
- p(c, {
1282
+ p(u, {
1283
1283
  appearance: "tertiary",
1284
1284
  "data-testid": "redis-add-sentinel-node-button",
1285
1285
  disabled: a.readonly,
1286
1286
  onClick: o
1287
1287
  }, {
1288
- default: T(() => [
1288
+ default: S(() => [
1289
1289
  p(i(qt)),
1290
- K("span", null, B(i(n)("form.fields.sentinel_nodes.add_button")), 1)
1290
+ z("span", null, F(i(n)("form.fields.sentinel_nodes.add_button")), 1)
1291
1291
  ]),
1292
1292
  _: 1
1293
1293
  }, 8, ["disabled"])
@@ -1295,14 +1295,14 @@ const ue = {
1295
1295
  ]);
1296
1296
  };
1297
1297
  }
1298
- }), na = /* @__PURE__ */ oe(ta, [["__scopeId", "data-v-c7c67147"]]);
1299
- var tt = /* @__PURE__ */ new WeakMap(), Dt = 0;
1298
+ }), na = /* @__PURE__ */ ae(ta, [["__scopeId", "data-v-c7c67147"]]);
1299
+ var it = /* @__PURE__ */ new WeakMap(), Dt = 0;
1300
1300
  function ia(e) {
1301
1301
  if (!e.length)
1302
1302
  return "";
1303
1303
  for (var t = "arg", n = 0; n < e.length; ++n) {
1304
1304
  var o = void 0;
1305
- e[n] === null || typeof e[n] != "object" && typeof e[n] != "function" ? typeof e[n] == "string" ? o = '"' + e[n] + '"' : o = String(e[n]) : tt.has(e[n]) ? o = tt.get(e[n]) : (o = Dt, tt.set(e[n], Dt++)), t += "@" + o;
1305
+ e[n] === null || typeof e[n] != "object" && typeof e[n] != "function" ? typeof e[n] == "string" ? o = '"' + e[n] + '"' : o = String(e[n]) : it.has(e[n]) ? o = it.get(e[n]) : (o = Dt, it.set(e[n], Dt++)), t += "@" + o;
1306
1306
  }
1307
1307
  return t;
1308
1308
  }
@@ -1355,19 +1355,19 @@ var la = function(e) {
1355
1355
  return t.json();
1356
1356
  });
1357
1357
  };
1358
- const nt = {
1358
+ const rt = {
1359
1359
  isOnline: oa,
1360
1360
  isDocumentVisible: aa,
1361
1361
  fetcher: la
1362
1362
  };
1363
- var te = function() {
1364
- return te = Object.assign || function(e) {
1363
+ var ne = function() {
1364
+ return ne = Object.assign || function(e) {
1365
1365
  for (var t, n = 1, o = arguments.length; n < o; n++) {
1366
1366
  t = arguments[n];
1367
1367
  for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
1368
1368
  }
1369
1369
  return e;
1370
- }, te.apply(this, arguments);
1370
+ }, ne.apply(this, arguments);
1371
1371
  }, he = function(e, t, n, o) {
1372
1372
  function r(a) {
1373
1373
  return a instanceof n ? a : new n(function(f) {
@@ -1377,22 +1377,22 @@ var te = function() {
1377
1377
  return new (n || (n = Promise))(function(a, f) {
1378
1378
  function g(_) {
1379
1379
  try {
1380
- c(o.next(_));
1381
- } catch (h) {
1382
- f(h);
1380
+ u(o.next(_));
1381
+ } catch (w) {
1382
+ f(w);
1383
1383
  }
1384
1384
  }
1385
- function s(_) {
1385
+ function l(_) {
1386
1386
  try {
1387
- c(o.throw(_));
1388
- } catch (h) {
1389
- f(h);
1387
+ u(o.throw(_));
1388
+ } catch (w) {
1389
+ f(w);
1390
1390
  }
1391
1391
  }
1392
- function c(_) {
1393
- _.done ? a(_.value) : r(_.value).then(g, s);
1392
+ function u(_) {
1393
+ _.done ? a(_.value) : r(_.value).then(g, l);
1394
1394
  }
1395
- c((o = o.apply(e, t || [])).next());
1395
+ u((o = o.apply(e, t || [])).next());
1396
1396
  });
1397
1397
  }, Te = function(e, t) {
1398
1398
  var n = { label: 0, sent: function() {
@@ -1402,56 +1402,56 @@ var te = function() {
1402
1402
  return f = { next: g(0), throw: g(1), return: g(2) }, typeof Symbol == "function" && (f[Symbol.iterator] = function() {
1403
1403
  return this;
1404
1404
  }), f;
1405
- function g(c) {
1405
+ function g(u) {
1406
1406
  return function(_) {
1407
- return s([c, _]);
1407
+ return l([u, _]);
1408
1408
  };
1409
1409
  }
1410
- function s(c) {
1410
+ function l(u) {
1411
1411
  if (o) throw new TypeError("Generator is already executing.");
1412
1412
  for (; n; ) try {
1413
- if (o = 1, r && (a = c[0] & 2 ? r.return : c[0] ? r.throw || ((a = r.return) && a.call(r), 0) : r.next) && !(a = a.call(r, c[1])).done) return a;
1414
- switch (r = 0, a && (c = [c[0] & 2, a.value]), c[0]) {
1413
+ 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;
1414
+ switch (r = 0, a && (u = [u[0] & 2, a.value]), u[0]) {
1415
1415
  case 0:
1416
1416
  case 1:
1417
- a = c;
1417
+ a = u;
1418
1418
  break;
1419
1419
  case 4:
1420
- return n.label++, { value: c[1], done: !1 };
1420
+ return n.label++, { value: u[1], done: !1 };
1421
1421
  case 5:
1422
- n.label++, r = c[1], c = [0];
1422
+ n.label++, r = u[1], u = [0];
1423
1423
  continue;
1424
1424
  case 7:
1425
- c = n.ops.pop(), n.trys.pop();
1425
+ u = n.ops.pop(), n.trys.pop();
1426
1426
  continue;
1427
1427
  default:
1428
- if (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (c[0] === 6 || c[0] === 2)) {
1428
+ if (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (u[0] === 6 || u[0] === 2)) {
1429
1429
  n = 0;
1430
1430
  continue;
1431
1431
  }
1432
- if (c[0] === 3 && (!a || c[1] > a[0] && c[1] < a[3])) {
1433
- n.label = c[1];
1432
+ if (u[0] === 3 && (!a || u[1] > a[0] && u[1] < a[3])) {
1433
+ n.label = u[1];
1434
1434
  break;
1435
1435
  }
1436
- if (c[0] === 6 && n.label < a[1]) {
1437
- n.label = a[1], a = c;
1436
+ if (u[0] === 6 && n.label < a[1]) {
1437
+ n.label = a[1], a = u;
1438
1438
  break;
1439
1439
  }
1440
1440
  if (a && n.label < a[2]) {
1441
- n.label = a[2], n.ops.push(c);
1441
+ n.label = a[2], n.ops.push(u);
1442
1442
  break;
1443
1443
  }
1444
1444
  a[2] && n.ops.pop(), n.trys.pop();
1445
1445
  continue;
1446
1446
  }
1447
- c = t.call(e, n);
1447
+ u = t.call(e, n);
1448
1448
  } catch (_) {
1449
- c = [6, _], r = 0;
1449
+ u = [6, _], r = 0;
1450
1450
  } finally {
1451
1451
  o = a = 0;
1452
1452
  }
1453
- if (c[0] & 5) throw c[1];
1454
- return { value: c[0] ? c[1] : void 0, done: !0 };
1453
+ if (u[0] & 5) throw u[1];
1454
+ return { value: u[0] ? u[1] : void 0, done: !0 };
1455
1455
  }
1456
1456
  }, sa = function(e, t) {
1457
1457
  var n = typeof Symbol == "function" && e[Symbol.iterator];
@@ -1473,7 +1473,7 @@ var te = function() {
1473
1473
  if (n || arguments.length === 2) for (var o = 0, r = t.length, a; o < r; o++)
1474
1474
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
1475
1475
  return e.concat(a || Array.prototype.slice.call(t));
1476
- }, pn = new gt(), He = new gt(), it = new gt(), mn = {
1476
+ }, pn = new gt(), ze = new gt(), ot = new gt(), mn = {
1477
1477
  cache: pn,
1478
1478
  refreshInterval: 0,
1479
1479
  ttl: 0,
@@ -1484,17 +1484,17 @@ var te = function() {
1484
1484
  shouldRetryOnError: !0,
1485
1485
  errorRetryInterval: 5e3,
1486
1486
  errorRetryCount: 5,
1487
- fetcher: nt.fetcher,
1488
- isOnline: nt.isOnline,
1489
- isDocumentVisible: nt.isDocumentVisible
1487
+ fetcher: rt.fetcher,
1488
+ isOnline: rt.isOnline,
1489
+ isDocumentVisible: rt.isDocumentVisible
1490
1490
  };
1491
1491
  function ua(e, t, n) {
1492
- var o = He.get(e);
1492
+ var o = ze.get(e);
1493
1493
  if (o)
1494
1494
  o.data.push(t);
1495
1495
  else {
1496
1496
  var r = 5e3;
1497
- He.set(e, [t], n > 0 ? n + r : n);
1497
+ ze.set(e, [t], n > 0 ? n + r : n);
1498
1498
  }
1499
1499
  }
1500
1500
  function ca(e, t, n) {
@@ -1507,36 +1507,36 @@ function ca(e, t, n) {
1507
1507
  }
1508
1508
  var Ut = function(e, t, n, o) {
1509
1509
  return n === void 0 && (n = pn), o === void 0 && (o = mn.ttl), he(void 0, void 0, void 0, function() {
1510
- var r, a, f, g, s, c, _;
1511
- return Te(this, function(h) {
1512
- switch (h.label) {
1510
+ var r, a, f, g, l, u, _;
1511
+ return Te(this, function(w) {
1512
+ switch (w.label) {
1513
1513
  case 0:
1514
1514
  if (!pa(t)) return [3, 5];
1515
- h.label = 1;
1515
+ w.label = 1;
1516
1516
  case 1:
1517
- return h.trys.push([1, 3, , 4]), [4, t];
1517
+ return w.trys.push([1, 3, , 4]), [4, t];
1518
1518
  case 2:
1519
- return r = h.sent(), [3, 4];
1519
+ return r = w.sent(), [3, 4];
1520
1520
  case 3:
1521
- return g = h.sent(), a = g, [3, 4];
1521
+ return g = w.sent(), a = g, [3, 4];
1522
1522
  case 4:
1523
1523
  return [3, 6];
1524
1524
  case 5:
1525
- r = t, h.label = 6;
1525
+ r = t, w.label = 6;
1526
1526
  case 6:
1527
- if (f = !1, s = { data: r, error: a, isValidating: f }, typeof r < "u")
1527
+ if (f = !1, l = { data: r, error: a, isValidating: f }, typeof r < "u")
1528
1528
  try {
1529
- n.set(e, s, o);
1529
+ n.set(e, l, o);
1530
1530
  } catch (b) {
1531
1531
  console.error("swrv(mutate): failed to set cache", b);
1532
1532
  }
1533
- return c = He.get(e), c && c.data.length && (_ = c.data.filter(function(b) {
1533
+ return u = ze.get(e), u && u.data.length && (_ = u.data.filter(function(b) {
1534
1534
  return b.key === e;
1535
- }), _.forEach(function(b, w) {
1536
- typeof s.data < "u" && (b.data = s.data), b.error = s.error, b.isValidating = s.isValidating;
1537
- var l = w === _.length - 1;
1538
- l || delete _[w];
1539
- }), _ = _.filter(Boolean)), [2, s];
1535
+ }), _.forEach(function(b, E) {
1536
+ typeof l.data < "u" && (b.data = l.data), b.error = l.error, b.isValidating = l.isValidating;
1537
+ var y = E === _.length - 1;
1538
+ y || delete _[E];
1539
+ }), _ = _.filter(Boolean)), [2, l];
1540
1540
  }
1541
1541
  });
1542
1542
  });
@@ -1544,61 +1544,61 @@ var Ut = function(e, t, n, o) {
1544
1544
  function fa() {
1545
1545
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
1546
1546
  t[n] = arguments[n];
1547
- var o, r, a = te({}, mn), f = !1, g = !1, s = vn(), c = (s == null ? void 0 : s.proxy) || s;
1548
- if (!c)
1547
+ var o, r, a = ne({}, mn), f = !1, g = !1, l = vn(), u = (l == null ? void 0 : l.proxy) || l;
1548
+ if (!u)
1549
1549
  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;
1550
- var _ = (c == null ? void 0 : c.$isServer) || !1;
1551
- t.length >= 1 && (o = t[0]), t.length >= 2 && (r = t[1]), t.length > 2 && (a = te(te({}, a), t[2]));
1552
- var h = _ ? a.serverTTL : a.ttl, b = typeof o == "function" ? o : M(o);
1550
+ var _ = (u == null ? void 0 : u.$isServer) || !1;
1551
+ t.length >= 1 && (o = t[0]), t.length >= 2 && (r = t[1]), t.length > 2 && (a = ne(ne({}, a), t[2]));
1552
+ var w = _ ? a.serverTTL : a.ttl, b = typeof o == "function" ? o : L(o);
1553
1553
  typeof r > "u" && (r = a.fetcher);
1554
- var w = null;
1555
- w || (w = jt({
1554
+ var E = null;
1555
+ E || (E = jt({
1556
1556
  data: void 0,
1557
1557
  error: void 0,
1558
1558
  isValidating: !0,
1559
1559
  key: null
1560
1560
  }));
1561
- var l = function(d, k) {
1561
+ var y = function(d, T) {
1562
1562
  return he(e, void 0, void 0, function() {
1563
- var j, x, ee, Q, z, ae, W, ce = this;
1564
- return Te(this, function(fe) {
1565
- switch (fe.label) {
1563
+ var N, O, ee, te, J, Y, le, Q = this;
1564
+ return Te(this, function(se) {
1565
+ switch (se.label) {
1566
1566
  case 0:
1567
- return j = w.data === void 0, x = b.value, x ? (ee = a.cache.get(x), Q = ee && ee.data, w.isValidating = !0, Q && (w.data = Q.data, w.error = Q.error), z = d || r, !z || !a.isDocumentVisible() && !j || (k == null ? void 0 : k.forceRevalidate) !== void 0 && !(k != null && k.forceRevalidate) ? (w.isValidating = !1, [
1567
+ return N = E.data === void 0, O = b.value, O ? (ee = a.cache.get(O), te = ee && ee.data, E.isValidating = !0, te && (E.data = te.data, E.error = te.error), J = d || r, !J || !a.isDocumentVisible() && !N || (T == null ? void 0 : T.forceRevalidate) !== void 0 && !(T != null && T.forceRevalidate) ? (E.isValidating = !1, [
1568
1568
  2
1569
1569
  /*return*/
1570
- ]) : ee && (ae = !!(Date.now() - ee.createdAt >= a.dedupingInterval || k != null && k.forceRevalidate), !ae) ? (w.isValidating = !1, [
1570
+ ]) : ee && (Y = !!(Date.now() - ee.createdAt >= a.dedupingInterval || T != null && T.forceRevalidate), !Y) ? (E.isValidating = !1, [
1571
1571
  2
1572
1572
  /*return*/
1573
- ]) : (W = function() {
1574
- return he(ce, void 0, void 0, function() {
1575
- var G, be, pe, ye;
1576
- return Te(this, function(O) {
1577
- switch (O.label) {
1573
+ ]) : (le = function() {
1574
+ return he(Q, void 0, void 0, function() {
1575
+ var W, ye, me, ve;
1576
+ return Te(this, function(de) {
1577
+ switch (de.label) {
1578
1578
  case 0:
1579
- return G = it.get(x), G ? [3, 2] : (be = Array.isArray(x) ? x : [x], pe = z.apply(void 0, da([], sa(be), !1)), it.set(x, pe, a.dedupingInterval), [4, Ut(x, pe, a.cache, h)]);
1579
+ return W = ot.get(O), W ? [3, 2] : (ye = Array.isArray(O) ? O : [O], me = J.apply(void 0, da([], sa(ye), !1)), ot.set(O, me, a.dedupingInterval), [4, Ut(O, me, a.cache, w)]);
1580
1580
  case 1:
1581
- return O.sent(), [3, 4];
1581
+ return de.sent(), [3, 4];
1582
1582
  case 2:
1583
- return [4, Ut(x, G.data, a.cache, h)];
1583
+ return [4, Ut(O, W.data, a.cache, w)];
1584
1584
  case 3:
1585
- O.sent(), O.label = 4;
1585
+ de.sent(), de.label = 4;
1586
1586
  case 4:
1587
- return w.isValidating = !1, it.delete(x), w.error !== void 0 && (ye = !f && a.shouldRetryOnError && (k ? k.shouldRetryOnError : !0), ye && ca(l, k ? k.errorRetryCount : 1, a)), [
1587
+ return E.isValidating = !1, ot.delete(O), E.error !== void 0 && (ve = !f && a.shouldRetryOnError && (T ? T.shouldRetryOnError : !0), ve && ca(y, T ? T.errorRetryCount : 1, a)), [
1588
1588
  2
1589
1589
  /*return*/
1590
1590
  ];
1591
1591
  }
1592
1592
  });
1593
1593
  });
1594
- }, Q && a.revalidateDebounce ? (setTimeout(function() {
1595
- return he(ce, void 0, void 0, function() {
1596
- return Te(this, function(G) {
1597
- switch (G.label) {
1594
+ }, te && a.revalidateDebounce ? (setTimeout(function() {
1595
+ return he(Q, void 0, void 0, function() {
1596
+ return Te(this, function(W) {
1597
+ switch (W.label) {
1598
1598
  case 0:
1599
- return f ? [3, 2] : [4, W()];
1599
+ return f ? [3, 2] : [4, le()];
1600
1600
  case 1:
1601
- G.sent(), G.label = 2;
1601
+ W.sent(), W.label = 2;
1602
1602
  case 2:
1603
1603
  return [
1604
1604
  2
@@ -1612,9 +1612,9 @@ function fa() {
1612
1612
  /*return*/
1613
1613
  ];
1614
1614
  case 1:
1615
- return [4, W()];
1615
+ return [4, le()];
1616
1616
  case 2:
1617
- fe.sent(), fe.label = 3;
1617
+ se.sent(), se.label = 3;
1618
1618
  case 3:
1619
1619
  return [
1620
1620
  2
@@ -1623,26 +1623,26 @@ function fa() {
1623
1623
  }
1624
1624
  });
1625
1625
  });
1626
- }, S = function() {
1626
+ }, s = function() {
1627
1627
  return he(e, void 0, void 0, function() {
1628
1628
  return Te(this, function(d) {
1629
- return [2, l(null, { shouldRetryOnError: !1 })];
1629
+ return [2, y(null, { shouldRetryOnError: !1 })];
1630
1630
  });
1631
1631
  });
1632
- }, C = null;
1632
+ }, I = null;
1633
1633
  hn(function() {
1634
1634
  var d = function() {
1635
1635
  return he(e, void 0, void 0, function() {
1636
- return Te(this, function(k) {
1637
- switch (k.label) {
1636
+ return Te(this, function(T) {
1637
+ switch (T.label) {
1638
1638
  case 0:
1639
- return !w.error && a.isOnline() ? [4, l()] : [3, 2];
1639
+ return !E.error && a.isOnline() ? [4, y()] : [3, 2];
1640
1640
  case 1:
1641
- return k.sent(), [3, 3];
1641
+ return T.sent(), [3, 3];
1642
1642
  case 2:
1643
- C && clearTimeout(C), k.label = 3;
1643
+ I && clearTimeout(I), T.label = 3;
1644
1644
  case 3:
1645
- return a.refreshInterval && !f && (C = setTimeout(d, a.refreshInterval)), [
1645
+ return a.refreshInterval && !f && (I = setTimeout(d, a.refreshInterval)), [
1646
1646
  2
1647
1647
  /*return*/
1648
1648
  ];
@@ -1650,26 +1650,26 @@ function fa() {
1650
1650
  });
1651
1651
  });
1652
1652
  };
1653
- a.refreshInterval && (C = setTimeout(d, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", S, !1), window.addEventListener("focus", S, !1));
1653
+ a.refreshInterval && (I = setTimeout(d, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", s, !1), window.addEventListener("focus", s, !1));
1654
1654
  }), Tn(function() {
1655
- f = !0, C && clearTimeout(C), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", S, !1), window.removeEventListener("focus", S, !1));
1656
- var d = He.get(b.value);
1657
- d && (d.data = d.data.filter(function(k) {
1658
- return k !== w;
1655
+ f = !0, I && clearTimeout(I), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", s, !1), window.removeEventListener("focus", s, !1));
1656
+ var d = ze.get(b.value);
1657
+ d && (d.data = d.data.filter(function(T) {
1658
+ return T !== E;
1659
1659
  }));
1660
1660
  });
1661
1661
  try {
1662
- Ie(b, function(d) {
1663
- wn(b) || (b.value = d), w.key = d, w.isValidating = !!d, ua(b.value, w, h), !_ && !g && b.value && l(), g = !1;
1662
+ Re(b, function(d) {
1663
+ wn(b) || (b.value = d), E.key = d, E.isValidating = !!d, ua(b.value, E, w), !_ && !g && b.value && y(), g = !1;
1664
1664
  }, {
1665
1665
  immediate: !0
1666
1666
  });
1667
1667
  } catch {
1668
1668
  }
1669
- var I = te(te({}, Sn(w)), { mutate: function(d, k) {
1670
- return l(d, te(te({}, k), { forceRevalidate: !0 }));
1669
+ var $ = ne(ne({}, Sn(E)), { mutate: function(d, T) {
1670
+ return y(d, ne(ne({}, T), { forceRevalidate: !0 }));
1671
1671
  } });
1672
- return I;
1672
+ return $;
1673
1673
  }
1674
1674
  function pa(e) {
1675
1675
  return e !== null && typeof e == "object" && typeof e.then == "function";
@@ -1677,33 +1677,33 @@ function pa(e) {
1677
1677
  function gn(e) {
1678
1678
  return `redis-partial-links-${e}`;
1679
1679
  }
1680
- const Ve = (e) => {
1681
- const { axiosInstance: t } = pt(e.axiosRequestConfig);
1680
+ const $e = (e) => {
1681
+ const { axiosInstance: t } = mt(e.axiosRequestConfig);
1682
1682
  return {
1683
1683
  fetcher: async (n) => {
1684
1684
  const { partialId: o, size: r, offset: a, query: f } = n;
1685
1685
  let g = `${e.apiBaseUrl}${Ae.links[e.app]}`;
1686
1686
  e.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "")), g = g.replace(/{id}/gi, o || ""), f && (g = `${g}?${f}`);
1687
- const { data: s } = await t.get(
1687
+ const { data: l } = await t.get(
1688
1688
  g,
1689
1689
  { params: { size: r, offset: a } }
1690
1690
  );
1691
- return s;
1691
+ return l;
1692
1692
  }
1693
1693
  };
1694
1694
  }, _n = (e) => {
1695
- const { partialId: t, config: n } = e, { fetcher: o } = Ve(n), r = M([]), { data: a } = fa(
1695
+ const { partialId: t, config: n } = e, { fetcher: o } = $e(n), r = L([]), { data: a } = fa(
1696
1696
  gn(t),
1697
1697
  () => o({ partialId: t }),
1698
1698
  {
1699
1699
  revalidateOnFocus: !1
1700
1700
  }
1701
1701
  );
1702
- return Ie(a, () => {
1702
+ return Re(a, () => {
1703
1703
  var f;
1704
1704
  r.value = ((f = a.value) == null ? void 0 : f.data) ?? [];
1705
1705
  }), r;
1706
- }, ma = { class: "kong-ui-entities-redis-configurations-form" }, ga = /* @__PURE__ */ Y({
1706
+ }, ma = { class: "kong-ui-entities-redis-configurations-form" }, ga = /* @__PURE__ */ G({
1707
1707
  __name: "RedisConfigurationForm",
1708
1708
  props: {
1709
1709
  config: {
@@ -1740,178 +1740,177 @@ const Ve = (e) => {
1740
1740
  },
1741
1741
  emits: ["update", "error", "loading", "cancel"],
1742
1742
  setup(e, { emit: t }) {
1743
- const n = e, o = t, { i18n: { t: r }, i18nT: a } = ue.useI18n(), f = zt(), g = M(), s = M(), c = (O, m) => {
1744
- g.value = O ?? "", s.value = m;
1745
- }, _ = (O) => {
1743
+ const n = e, o = t, { i18n: { t: r }, i18nT: a } = pe.useI18n(), f = zt(), g = L(), l = L(), u = (M, m) => {
1744
+ g.value = M ?? "", l.value = m;
1745
+ }, _ = (M) => {
1746
1746
  var m;
1747
- (m = s.value) == null || m.call(s, O), g.value = !1;
1748
- }, h = H(() => [
1749
- {
1750
- label: r("form.options.type.host_port"),
1751
- group: ` ${r("form.options.type.open_source")}`,
1752
- // the space before the group name is intentional, it makes the group to be the first one
1753
- value: y.HOST_PORT_CE,
1754
- selected: d.value === y.HOST_PORT_CE,
1755
- disabled: I && k.value || !I && n.disabledPartialType === ne.REDIS_CE
1756
- },
1747
+ (m = l.value) == null || m.call(l, M), g.value = !1;
1748
+ }, w = K(() => [
1757
1749
  {
1758
1750
  label: r("form.options.type.host_port"),
1759
1751
  group: r("form.options.type.enterprise"),
1760
- value: y.HOST_PORT_EE,
1761
- selected: d.value === y.HOST_PORT_EE,
1762
- disabled: !I && n.disabledPartialType === ne.REDIS_EE
1752
+ value: v.HOST_PORT_EE,
1753
+ selected: T.value === v.HOST_PORT_EE,
1754
+ disabled: !d && n.disabledPartialType === ie.REDIS_EE
1763
1755
  },
1764
1756
  {
1765
1757
  label: r("form.options.type.cluster"),
1766
1758
  group: r("form.options.type.enterprise"),
1767
- value: y.CLUSTER,
1768
- selected: d.value === y.CLUSTER,
1769
- disabled: !I && n.disabledPartialType === ne.REDIS_EE
1759
+ value: v.CLUSTER,
1760
+ selected: T.value === v.CLUSTER,
1761
+ disabled: !d && n.disabledPartialType === ie.REDIS_EE
1770
1762
  },
1771
1763
  {
1772
1764
  label: r("form.options.type.sentinel"),
1773
1765
  group: r("form.options.type.enterprise"),
1774
- value: y.SENTINEL,
1775
- selected: d.value === y.SENTINEL,
1776
- disabled: !I && n.disabledPartialType === ne.REDIS_EE
1766
+ value: v.SENTINEL,
1767
+ selected: T.value === v.SENTINEL,
1768
+ disabled: !d && n.disabledPartialType === ie.REDIS_EE
1769
+ },
1770
+ {
1771
+ label: r("form.options.type.host_port"),
1772
+ group: r("form.options.type.open_source"),
1773
+ value: v.HOST_PORT_CE,
1774
+ selected: T.value === v.HOST_PORT_CE,
1775
+ disabled: d && N.value || !d && n.disabledPartialType === ie.REDIS_CE
1777
1776
  }
1778
1777
  ]), b = [
1779
1778
  { label: r("form.options.sentinel_role.master"), value: "master" },
1780
1779
  { label: r("form.options.sentinel_role.slave"), value: "slave" },
1781
1780
  { label: r("form.options.sentinel_role.any"), value: "any" }
1782
- ], w = (O) => {
1783
- const m = O.value === y.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
1784
- return `${O.label}${m}`;
1785
- }, {
1786
- form: l,
1787
- canSubmit: S,
1788
- payload: C,
1789
- isEdit: I,
1790
- redisType: d,
1791
- redisTypeIsEnterprise: k,
1792
- fetchUrl: j,
1793
- submit: x,
1794
- setInitialFormValues: ee
1781
+ ], E = (M) => {
1782
+ const m = M.value === v.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
1783
+ return `${M.label}${m}`;
1784
+ }, y = () => n.disabledPartialType && Ke(we) === n.disabledPartialType ? n.disabledPartialType === ie.REDIS_CE ? v.HOST_PORT_EE : v.HOST_PORT_CE : we, {
1785
+ form: s,
1786
+ canSubmit: I,
1787
+ payload: $,
1788
+ isEdit: d,
1789
+ redisType: T,
1790
+ redisTypeIsEnterprise: N,
1791
+ fetchUrl: O,
1792
+ submit: ee,
1793
+ setInitialFormValues: te
1795
1794
  } = Uo({
1796
1795
  partialId: n.partialId,
1797
- defaultRedisType: n.disabledPartialType === ne.REDIS_CE ? y.HOST_PORT_EE : y.HOST_PORT_CE,
1796
+ defaultRedisType: y(),
1798
1797
  config: n.config
1799
- }), { fetcher: Q } = Ve(n.config), z = M(!1), ae = M(!1), W = M(0), ce = async () => {
1798
+ }), { fetcher: J } = $e(n.config), Y = L(!1), le = L(!1), Q = L(0), se = async () => {
1800
1799
  try {
1801
- if (I && !ae.value) {
1802
- const { count: m } = await Q({ partialId: n.partialId });
1803
- if (W.value = m, m > 0) {
1804
- z.value = !0;
1800
+ if (d && !le.value) {
1801
+ const { count: m } = await J({ partialId: n.partialId });
1802
+ if (Q.value = m, m > 0) {
1803
+ Y.value = !0;
1805
1804
  return;
1806
1805
  }
1807
1806
  }
1808
- const { data: O } = await x();
1809
- o("update", O);
1810
- } catch (O) {
1811
- o("error", O);
1807
+ const { data: M } = await ee();
1808
+ o("update", M);
1809
+ } catch (M) {
1810
+ o("error", M);
1812
1811
  }
1813
- }, fe = () => {
1814
- z.value = !1, ae.value = !0, ce();
1815
- }, G = () => {
1812
+ }, W = () => {
1813
+ Y.value = !1, le.value = !0, se();
1814
+ }, ye = () => {
1816
1815
  n.config.cancelRoute && f.push(n.config.cancelRoute), o("cancel");
1817
- }, be = (O) => {
1818
- o("loading", O);
1819
- }, pe = (O) => {
1820
- o("error", O);
1821
- }, ye = (O) => {
1822
- ee(O);
1816
+ }, me = (M) => {
1817
+ o("loading", M);
1818
+ }, ve = (M) => {
1819
+ o("error", M);
1820
+ }, de = (M) => {
1821
+ te(M);
1823
1822
  };
1824
1823
  return En(async () => {
1825
- if (I) {
1826
- const { count: O } = await Q({ partialId: n.partialId });
1827
- W.value = O;
1824
+ if (d) {
1825
+ const { count: M } = await J({ partialId: n.partialId });
1826
+ Q.value = M;
1828
1827
  }
1829
- }), (O, m) => {
1830
- const Ge = D("KAlert"), $e = D("KSelect"), U = D("KInput"), ve = D("KCheckbox"), E = D("KModal");
1831
- return R(), q(Ke, null, [
1832
- K("div", ma, [
1833
- p(i(Rn), {
1828
+ }), (M, m) => {
1829
+ const Ye = U("KAlert"), Le = U("KSelect"), D = U("KInput"), C = U("KCheckbox"), R = U("KModal");
1830
+ return k(), q(qe, null, [
1831
+ z("div", ma, [
1832
+ p(i(kn), {
1834
1833
  "action-teleport-target": e.actionTeleportTarget,
1835
- "can-submit": i(S),
1834
+ "can-submit": i(I),
1836
1835
  config: e.config,
1837
1836
  "edit-id": e.partialId,
1838
1837
  "entity-type": i(Ht).RedisConfiguration,
1839
- "error-message": i(l).errorMessage,
1840
- "fetch-url": i(j),
1841
- "form-fields": i(C),
1842
- "is-readonly": i(l).readonly,
1838
+ "error-message": i(s).errorMessage,
1839
+ "fetch-url": i(O),
1840
+ "form-fields": i($),
1841
+ "is-readonly": i(s).readonly,
1843
1842
  "slidout-top-offset": e.slidoutTopOffset,
1844
- onCancel: G,
1845
- "onFetch:error": pe,
1846
- "onFetch:success": ye,
1847
- onLoading: be,
1848
- onSubmit: ce
1843
+ onCancel: ye,
1844
+ "onFetch:error": ve,
1845
+ "onFetch:success": de,
1846
+ onLoading: me,
1847
+ onSubmit: se
1849
1848
  }, {
1850
- default: T(() => [
1851
- W.value > 0 && i(I) ? (R(), F(Ge, {
1849
+ default: S(() => [
1850
+ Q.value > 0 && i(d) ? (k(), H(Ye, {
1852
1851
  key: 0,
1853
1852
  appearance: "warning",
1854
1853
  class: "warning-alert",
1855
1854
  "data-testid": "redis-update-warning-alert"
1856
1855
  }, {
1857
- default: T(() => [
1856
+ default: S(() => [
1858
1857
  p(i(a), {
1859
1858
  keypath: "form.edit_warning_modal.description",
1860
1859
  tag: "div"
1861
1860
  }, {
1862
- pluginCount: T(() => [
1863
- K("b", null, B(i(r)("form.edit_warning_modal.plugin_count", { count: W.value })), 1)
1861
+ pluginCount: S(() => [
1862
+ z("b", null, F(i(r)("form.edit_warning_modal.plugin_count", { count: Q.value })), 1)
1864
1863
  ]),
1865
1864
  _: 1
1866
1865
  })
1867
1866
  ]),
1868
1867
  _: 1
1869
1868
  })) : X("", !0),
1870
- p(i(le), {
1869
+ p(i(ue), {
1871
1870
  "data-testid": "redis-type-section",
1872
1871
  description: i(r)("form.sections.type.description"),
1873
1872
  title: i(r)("form.sections.type.title")
1874
1873
  }, {
1875
- default: T(() => [
1876
- p($e, {
1877
- modelValue: i(d),
1878
- "onUpdate:modelValue": m[0] || (m[0] = (u) => Cn(d) ? d.value = u : null),
1874
+ default: S(() => [
1875
+ p(Le, {
1876
+ modelValue: i(T),
1877
+ "onUpdate:modelValue": m[0] || (m[0] = (c) => Cn(T) ? T.value = c : null),
1879
1878
  "data-testid": "redis-type-select",
1880
- disabled: i(I) && i(d) === i(y).HOST_PORT_CE,
1881
- items: h.value,
1879
+ disabled: i(d) && i(T) === i(v).HOST_PORT_CE,
1880
+ items: w.value,
1882
1881
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
1883
1882
  label: i(r)("form.fields.type.label"),
1884
- readonly: i(l).readonly,
1883
+ readonly: i(s).readonly,
1885
1884
  required: ""
1886
1885
  }, {
1887
- "selected-item-template": T(({ item: u }) => [
1888
- Z(B(w(u)), 1)
1886
+ "selected-item-template": S(({ item: c }) => [
1887
+ Z(F(E(c)), 1)
1889
1888
  ]),
1890
1889
  _: 1
1891
1890
  }, 8, ["modelValue", "disabled", "items", "label", "readonly"])
1892
1891
  ]),
1893
1892
  _: 1
1894
1893
  }, 8, ["description", "title"]),
1895
- p(i(le), {
1894
+ p(i(ue), {
1896
1895
  "data-testid": "redis-general-section",
1897
1896
  description: i(r)("form.sections.general.description"),
1898
1897
  title: i(r)("form.sections.general.title")
1899
1898
  }, {
1900
- default: T(() => [
1901
- p(U, {
1902
- modelValue: i(l).fields.name,
1903
- "onUpdate:modelValue": m[1] || (m[1] = (u) => i(l).fields.name = u),
1899
+ default: S(() => [
1900
+ p(D, {
1901
+ modelValue: i(s).fields.name,
1902
+ "onUpdate:modelValue": m[1] || (m[1] = (c) => i(s).fields.name = c),
1904
1903
  modelModifiers: { trim: !0 },
1905
1904
  "data-testid": "redis-name-input",
1906
- disabled: i(I),
1905
+ disabled: i(d),
1907
1906
  label: i(r)("form.fields.name.label"),
1908
1907
  placeholder: i(r)("form.fields.name.placeholder"),
1909
- readonly: i(l).readonly,
1908
+ readonly: i(s).readonly,
1910
1909
  required: ""
1911
1910
  }, null, 8, ["modelValue", "disabled", "label", "placeholder", "readonly"]),
1912
- p(U, {
1913
- modelValue: i(l).fields.tags,
1914
- "onUpdate:modelValue": m[2] || (m[2] = (u) => i(l).fields.tags = u),
1911
+ p(D, {
1912
+ modelValue: i(s).fields.tags,
1913
+ "onUpdate:modelValue": m[2] || (m[2] = (c) => i(s).fields.tags = c),
1915
1914
  modelModifiers: { trim: !0 },
1916
1915
  "data-testid": "redis-tags-input",
1917
1916
  help: i(r)("form.fields.tags.help"),
@@ -1921,33 +1920,33 @@ const Ve = (e) => {
1921
1920
  tooltipAttributes: { maxWidth: "400" }
1922
1921
  },
1923
1922
  placeholder: i(r)("form.fields.tags.placeholder"),
1924
- readonly: i(l).readonly
1923
+ readonly: i(s).readonly
1925
1924
  }, null, 8, ["modelValue", "help", "label", "label-attributes", "placeholder", "readonly"])
1926
1925
  ]),
1927
1926
  _: 1
1928
1927
  }, 8, ["description", "title"]),
1929
- i(d) === i(y).SENTINEL ? (R(), F(i(le), {
1928
+ i(T) === i(v).SENTINEL ? (k(), H(i(ue), {
1930
1929
  key: 1,
1931
1930
  "data-testid": "redis-sentinel-configuration-section",
1932
1931
  description: i(r)("form.sections.sentinel_configuration.description"),
1933
1932
  title: i(r)("form.sections.sentinel_configuration.title")
1934
1933
  }, {
1935
- default: T(() => [
1936
- p(U, {
1937
- modelValue: i(l).fields.config.sentinel_master,
1938
- "onUpdate:modelValue": m[3] || (m[3] = (u) => i(l).fields.config.sentinel_master = u),
1934
+ default: S(() => [
1935
+ p(D, {
1936
+ modelValue: i(s).fields.config.sentinel_master,
1937
+ "onUpdate:modelValue": m[3] || (m[3] = (c) => i(s).fields.config.sentinel_master = c),
1939
1938
  "data-testid": "redis-sentinel-master-input",
1940
1939
  label: i(r)("form.fields.sentinel_master.label"),
1941
1940
  "label-attributes": {
1942
1941
  info: i(r)("form.fields.sentinel_master.tooltip"),
1943
1942
  tooltipAttributes: { maxWidth: "400" }
1944
1943
  },
1945
- readonly: i(l).readonly,
1944
+ readonly: i(s).readonly,
1946
1945
  required: ""
1947
1946
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1948
- p($e, {
1949
- modelValue: i(l).fields.config.sentinel_role,
1950
- "onUpdate:modelValue": m[4] || (m[4] = (u) => i(l).fields.config.sentinel_role = u),
1947
+ p(Le, {
1948
+ modelValue: i(s).fields.config.sentinel_role,
1949
+ "onUpdate:modelValue": m[4] || (m[4] = (c) => i(s).fields.config.sentinel_role = c),
1951
1950
  "data-testid": "redis-sentinel-role-select",
1952
1951
  items: b,
1953
1952
  "kpop-attributes": { "data-testid": "redis-sentinel-role-select-popover" },
@@ -1956,92 +1955,92 @@ const Ve = (e) => {
1956
1955
  info: i(r)("form.fields.sentinel_role.tooltip"),
1957
1956
  tooltipAttributes: { maxWidth: "400" }
1958
1957
  },
1959
- readonly: i(l).readonly,
1958
+ readonly: i(s).readonly,
1960
1959
  required: ""
1961
1960
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1962
1961
  p(na, {
1963
- modelValue: i(l).fields.config.sentinel_nodes,
1964
- "onUpdate:modelValue": m[5] || (m[5] = (u) => i(l).fields.config.sentinel_nodes = u),
1965
- readonly: i(l).readonly
1962
+ modelValue: i(s).fields.config.sentinel_nodes,
1963
+ "onUpdate:modelValue": m[5] || (m[5] = (c) => i(s).fields.config.sentinel_nodes = c),
1964
+ readonly: i(s).readonly
1966
1965
  }, null, 8, ["modelValue", "readonly"]),
1967
- p(U, {
1968
- modelValue: i(l).fields.config.sentinel_username,
1969
- "onUpdate:modelValue": m[6] || (m[6] = (u) => i(l).fields.config.sentinel_username = u),
1966
+ p(D, {
1967
+ modelValue: i(s).fields.config.sentinel_username,
1968
+ "onUpdate:modelValue": m[6] || (m[6] = (c) => i(s).fields.config.sentinel_username = c),
1970
1969
  modelModifiers: { trim: !0 },
1971
1970
  label: i(r)("form.fields.sentinel_username.label"),
1972
1971
  "label-attributes": {
1973
1972
  info: i(r)("form.fields.sentinel_username.tooltip"),
1974
1973
  tooltipAttributes: { maxWidth: "400" }
1975
1974
  },
1976
- readonly: i(l).readonly
1975
+ readonly: i(s).readonly
1977
1976
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1978
- p(i(Me), {
1977
+ p(i(De), {
1979
1978
  class: "secret-picker-provider",
1980
- disabled: i(l).readonly,
1981
- update: (u) => i(l).fields.config.sentinel_username = u,
1982
- value: i(l).fields.config.sentinel_username,
1983
- onOpen: m[7] || (m[7] = (u, A) => c(u, A))
1979
+ disabled: i(s).readonly,
1980
+ update: (c) => i(s).fields.config.sentinel_username = c,
1981
+ value: i(s).fields.config.sentinel_username,
1982
+ onOpen: m[7] || (m[7] = (c, j) => u(c, j))
1984
1983
  }, null, 8, ["disabled", "update", "value"]),
1985
- p(U, {
1986
- modelValue: i(l).fields.config.sentinel_password,
1987
- "onUpdate:modelValue": m[8] || (m[8] = (u) => i(l).fields.config.sentinel_password = u),
1984
+ p(D, {
1985
+ modelValue: i(s).fields.config.sentinel_password,
1986
+ "onUpdate:modelValue": m[8] || (m[8] = (c) => i(s).fields.config.sentinel_password = c),
1988
1987
  modelModifiers: { trim: !0 },
1989
1988
  label: i(r)("form.fields.sentinel_password.label"),
1990
1989
  "label-attributes": {
1991
1990
  info: i(r)("form.fields.sentinel_password.tooltip"),
1992
1991
  tooltipAttributes: { maxWidth: "400" }
1993
1992
  },
1994
- readonly: i(l).readonly,
1993
+ readonly: i(s).readonly,
1995
1994
  "show-password-mask-toggle": "",
1996
1995
  type: "password"
1997
1996
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1998
- p(i(Me), {
1997
+ p(i(De), {
1999
1998
  class: "secret-picker-provider",
2000
- disabled: i(l).readonly,
2001
- update: (u) => i(l).fields.config.sentinel_password = u,
2002
- value: i(l).fields.config.sentinel_password,
2003
- onOpen: m[9] || (m[9] = (u, A) => c(u, A))
1999
+ disabled: i(s).readonly,
2000
+ update: (c) => i(s).fields.config.sentinel_password = c,
2001
+ value: i(s).fields.config.sentinel_password,
2002
+ onOpen: m[9] || (m[9] = (c, j) => u(c, j))
2004
2003
  }, null, 8, ["disabled", "update", "value"])
2005
2004
  ]),
2006
2005
  _: 1
2007
2006
  }, 8, ["description", "title"])) : X("", !0),
2008
- i(d) === i(y).CLUSTER ? (R(), F(i(le), {
2007
+ i(T) === i(v).CLUSTER ? (k(), H(i(ue), {
2009
2008
  key: 2,
2010
2009
  "data-testid": "redis-cluster-configuration-section",
2011
2010
  description: i(r)("form.sections.cluster.description"),
2012
2011
  title: i(r)("form.sections.cluster.title")
2013
2012
  }, {
2014
- default: T(() => [
2013
+ default: S(() => [
2015
2014
  p(Zo, {
2016
- modelValue: i(l).fields.config.cluster_nodes,
2017
- "onUpdate:modelValue": m[10] || (m[10] = (u) => i(l).fields.config.cluster_nodes = u),
2018
- readonly: i(l).readonly
2015
+ modelValue: i(s).fields.config.cluster_nodes,
2016
+ "onUpdate:modelValue": m[10] || (m[10] = (c) => i(s).fields.config.cluster_nodes = c),
2017
+ readonly: i(s).readonly
2019
2018
  }, null, 8, ["modelValue", "readonly"]),
2020
- p(U, {
2021
- modelValue: i(l).fields.config.cluster_max_redirections,
2022
- "onUpdate:modelValue": m[11] || (m[11] = (u) => i(l).fields.config.cluster_max_redirections = u),
2019
+ p(D, {
2020
+ modelValue: i(s).fields.config.cluster_max_redirections,
2021
+ "onUpdate:modelValue": m[11] || (m[11] = (c) => i(s).fields.config.cluster_max_redirections = c),
2023
2022
  "data-testid": "redis-cluster-max-redirections-input",
2024
2023
  label: i(r)("form.fields.cluster_max_redirections.label"),
2025
2024
  "label-attributes": {
2026
2025
  info: i(r)("form.fields.cluster_max_redirections.tooltip"),
2027
2026
  tooltipAttributes: { maxWidth: "400" }
2028
2027
  },
2029
- readonly: i(l).readonly,
2028
+ readonly: i(s).readonly,
2030
2029
  type: "number"
2031
2030
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2032
2031
  ]),
2033
2032
  _: 1
2034
2033
  }, 8, ["description", "title"])) : X("", !0),
2035
- p(i(le), {
2034
+ p(i(ue), {
2036
2035
  "data-testid": "redis-connection-configuration-section",
2037
2036
  description: i(r)("form.sections.connection.description"),
2038
2037
  title: i(r)("form.sections.connection.title")
2039
2038
  }, {
2040
- default: T(() => [
2041
- i(d) === i(y).HOST_PORT_CE || i(d) === i(y).HOST_PORT_EE ? (R(), F(U, {
2039
+ default: S(() => [
2040
+ i(T) === i(v).HOST_PORT_CE || i(T) === i(v).HOST_PORT_EE ? (k(), H(D, {
2042
2041
  key: 0,
2043
- modelValue: i(l).fields.config.host,
2044
- "onUpdate:modelValue": m[12] || (m[12] = (u) => i(l).fields.config.host = u),
2042
+ modelValue: i(s).fields.config.host,
2043
+ "onUpdate:modelValue": m[12] || (m[12] = (c) => i(s).fields.config.host = c),
2045
2044
  modelModifiers: { trim: !0 },
2046
2045
  "data-testid": "redis-host-input",
2047
2046
  label: i(r)("form.fields.host.label"),
@@ -2049,12 +2048,12 @@ const Ve = (e) => {
2049
2048
  info: i(r)("form.fields.host.tooltip"),
2050
2049
  tooltipAttributes: { maxWidth: "400" }
2051
2050
  },
2052
- readonly: i(l).readonly
2051
+ readonly: i(s).readonly
2053
2052
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2054
- i(d) === i(y).HOST_PORT_CE || i(d) === i(y).HOST_PORT_EE ? (R(), F(U, {
2053
+ i(T) === i(v).HOST_PORT_CE || i(T) === i(v).HOST_PORT_EE ? (k(), H(D, {
2055
2054
  key: 1,
2056
- modelValue: i(l).fields.config.port,
2057
- "onUpdate:modelValue": m[13] || (m[13] = (u) => i(l).fields.config.port = u),
2055
+ modelValue: i(s).fields.config.port,
2056
+ "onUpdate:modelValue": m[13] || (m[13] = (c) => i(s).fields.config.port = c),
2058
2057
  modelModifiers: { trim: !0 },
2059
2058
  "data-testid": "redis-port-input",
2060
2059
  label: i(r)("form.fields.port.label"),
@@ -2062,25 +2061,25 @@ const Ve = (e) => {
2062
2061
  info: i(r)("form.fields.port.tooltip"),
2063
2062
  tooltipAttributes: { maxWidth: "400" }
2064
2063
  },
2065
- readonly: i(l).readonly,
2064
+ readonly: i(s).readonly,
2066
2065
  type: "number"
2067
2066
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2068
- i(d) === i(y).HOST_PORT_EE ? (R(), F(ve, {
2067
+ i(T) === i(v).HOST_PORT_EE ? (k(), H(C, {
2069
2068
  key: 2,
2070
- modelValue: i(l).fields.config.connection_is_proxied,
2071
- "onUpdate:modelValue": m[14] || (m[14] = (u) => i(l).fields.config.connection_is_proxied = u),
2069
+ modelValue: i(s).fields.config.connection_is_proxied,
2070
+ "onUpdate:modelValue": m[14] || (m[14] = (c) => i(s).fields.config.connection_is_proxied = c),
2072
2071
  "data-testid": "redis-connection-is-proxied-checkbox",
2073
- disabled: i(l).readonly,
2072
+ disabled: i(s).readonly,
2074
2073
  label: i(r)("form.fields.connection_is_proxied.label"),
2075
2074
  "label-attributes": {
2076
2075
  info: i(r)("form.fields.connection_is_proxied.tooltip"),
2077
2076
  tooltipAttributes: { maxWidth: "400" }
2078
2077
  }
2079
2078
  }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2080
- i(d) === i(y).HOST_PORT_CE ? (R(), F(U, {
2079
+ i(T) === i(v).HOST_PORT_CE ? (k(), H(D, {
2081
2080
  key: 3,
2082
- modelValue: i(l).fields.config.timeout,
2083
- "onUpdate:modelValue": m[15] || (m[15] = (u) => i(l).fields.config.timeout = u),
2081
+ modelValue: i(s).fields.config.timeout,
2082
+ "onUpdate:modelValue": m[15] || (m[15] = (c) => i(s).fields.config.timeout = c),
2084
2083
  modelModifiers: { trim: !0 },
2085
2084
  "data-testid": "redis-timeout-input",
2086
2085
  label: i(r)("form.fields.timeout.label"),
@@ -2088,12 +2087,12 @@ const Ve = (e) => {
2088
2087
  info: i(r)("form.fields.timeout.tooltip"),
2089
2088
  tooltipAttributes: { maxWidth: "400" }
2090
2089
  },
2091
- readonly: i(l).readonly,
2090
+ readonly: i(s).readonly,
2092
2091
  type: "number"
2093
2092
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2094
- p(U, {
2095
- modelValue: i(l).fields.config.database,
2096
- "onUpdate:modelValue": m[16] || (m[16] = (u) => i(l).fields.config.database = u),
2093
+ p(D, {
2094
+ modelValue: i(s).fields.config.database,
2095
+ "onUpdate:modelValue": m[16] || (m[16] = (c) => i(s).fields.config.database = c),
2097
2096
  modelModifiers: { trim: !0 },
2098
2097
  "data-testid": "redis-database-input",
2099
2098
  label: i(r)("form.fields.database.label"),
@@ -2101,12 +2100,12 @@ const Ve = (e) => {
2101
2100
  info: i(r)("form.fields.database.tooltip"),
2102
2101
  tooltipAttributes: { maxWidth: "400" }
2103
2102
  },
2104
- readonly: i(l).readonly,
2103
+ readonly: i(s).readonly,
2105
2104
  type: "number"
2106
2105
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2107
- p(U, {
2108
- modelValue: i(l).fields.config.username,
2109
- "onUpdate:modelValue": m[17] || (m[17] = (u) => i(l).fields.config.username = u),
2106
+ p(D, {
2107
+ modelValue: i(s).fields.config.username,
2108
+ "onUpdate:modelValue": m[17] || (m[17] = (c) => i(s).fields.config.username = c),
2110
2109
  modelModifiers: { trim: !0 },
2111
2110
  "data-testid": "redis-username-input",
2112
2111
  label: i(r)("form.fields.username.label"),
@@ -2114,18 +2113,18 @@ const Ve = (e) => {
2114
2113
  info: i(r)("form.fields.username.tooltip"),
2115
2114
  tooltipAttributes: { maxWidth: "400" }
2116
2115
  },
2117
- readonly: i(l).readonly
2116
+ readonly: i(s).readonly
2118
2117
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2119
- p(i(Me), {
2118
+ p(i(De), {
2120
2119
  class: "secret-picker-provider",
2121
- disabled: i(l).readonly,
2122
- update: (u) => i(l).fields.config.username = u,
2123
- value: i(l).fields.config.username,
2124
- onOpen: m[18] || (m[18] = (u, A) => c(u, A))
2120
+ disabled: i(s).readonly,
2121
+ update: (c) => i(s).fields.config.username = c,
2122
+ value: i(s).fields.config.username,
2123
+ onOpen: m[18] || (m[18] = (c, j) => u(c, j))
2125
2124
  }, null, 8, ["disabled", "update", "value"]),
2126
- p(U, {
2127
- modelValue: i(l).fields.config.password,
2128
- "onUpdate:modelValue": m[19] || (m[19] = (u) => i(l).fields.config.password = u),
2125
+ p(D, {
2126
+ modelValue: i(s).fields.config.password,
2127
+ "onUpdate:modelValue": m[19] || (m[19] = (c) => i(s).fields.config.password = c),
2129
2128
  modelModifiers: { trim: !0 },
2130
2129
  "data-testid": "redis-password-input",
2131
2130
  label: i(r)("form.fields.password.label"),
@@ -2133,139 +2132,139 @@ const Ve = (e) => {
2133
2132
  info: i(r)("form.fields.password.tooltip"),
2134
2133
  tooltipAttributes: { maxWidth: "400" }
2135
2134
  },
2136
- readonly: i(l).readonly,
2135
+ readonly: i(s).readonly,
2137
2136
  "show-password-mask-toggle": "",
2138
2137
  type: "password"
2139
2138
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2140
- p(i(Me), {
2139
+ p(i(De), {
2141
2140
  class: "secret-picker-provider",
2142
- disabled: i(l).readonly,
2143
- update: (u) => i(l).fields.config.password = u,
2144
- value: i(l).fields.config.password,
2145
- onOpen: m[20] || (m[20] = (u, A) => c(u, A))
2141
+ disabled: i(s).readonly,
2142
+ update: (c) => i(s).fields.config.password = c,
2143
+ value: i(s).fields.config.password,
2144
+ onOpen: m[20] || (m[20] = (c, j) => u(c, j))
2146
2145
  }, null, 8, ["disabled", "update", "value"])
2147
2146
  ]),
2148
2147
  _: 1
2149
2148
  }, 8, ["description", "title"]),
2150
- p(i(le), {
2149
+ p(i(ue), {
2151
2150
  "data-testid": "redis-tls-configuration-section",
2152
2151
  description: i(r)("form.sections.tls.description"),
2153
2152
  title: i(r)("form.sections.tls.title")
2154
2153
  }, {
2155
- default: T(() => [
2156
- p(ve, {
2157
- modelValue: i(l).fields.config.ssl,
2158
- "onUpdate:modelValue": m[21] || (m[21] = (u) => i(l).fields.config.ssl = u),
2154
+ default: S(() => [
2155
+ p(C, {
2156
+ modelValue: i(s).fields.config.ssl,
2157
+ "onUpdate:modelValue": m[21] || (m[21] = (c) => i(s).fields.config.ssl = c),
2159
2158
  "data-testid": "redis-ssl-checkbox",
2160
2159
  description: i(r)("form.fields.ssl.description"),
2161
- disabled: i(l).readonly,
2160
+ disabled: i(s).readonly,
2162
2161
  label: i(r)("form.fields.ssl.label"),
2163
2162
  "label-attributes": {
2164
2163
  info: i(r)("form.fields.ssl.tooltip"),
2165
2164
  tooltipAttributes: { maxWidth: "400" }
2166
2165
  }
2167
2166
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2168
- p(ve, {
2169
- modelValue: i(l).fields.config.ssl_verify,
2170
- "onUpdate:modelValue": m[22] || (m[22] = (u) => i(l).fields.config.ssl_verify = u),
2167
+ p(C, {
2168
+ modelValue: i(s).fields.config.ssl_verify,
2169
+ "onUpdate:modelValue": m[22] || (m[22] = (c) => i(s).fields.config.ssl_verify = c),
2171
2170
  "data-testid": "redis-ssl-verify-checkbox",
2172
2171
  description: i(r)("form.fields.ssl_verify.description"),
2173
- disabled: i(l).readonly,
2172
+ disabled: i(s).readonly,
2174
2173
  label: i(r)("form.fields.ssl_verify.label"),
2175
2174
  "label-attributes": {
2176
2175
  info: i(r)("form.fields.ssl_verify.tooltip"),
2177
2176
  tooltipAttributes: { maxWidth: "400" }
2178
2177
  }
2179
2178
  }, null, 8, ["modelValue", "description", "disabled", "label", "label-attributes"]),
2180
- p(U, {
2181
- modelValue: i(l).fields.config.server_name,
2182
- "onUpdate:modelValue": m[23] || (m[23] = (u) => i(l).fields.config.server_name = u),
2179
+ p(D, {
2180
+ modelValue: i(s).fields.config.server_name,
2181
+ "onUpdate:modelValue": m[23] || (m[23] = (c) => i(s).fields.config.server_name = c),
2183
2182
  modelModifiers: { trim: !0 },
2184
2183
  label: i(r)("form.fields.server_name.label"),
2185
2184
  "label-attributes": {
2186
2185
  info: i(r)("form.fields.server_name.tooltip"),
2187
2186
  tooltipAttributes: { maxWidth: "400" }
2188
2187
  },
2189
- readonly: i(l).readonly
2188
+ readonly: i(s).readonly
2190
2189
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2191
2190
  ]),
2192
2191
  _: 1
2193
2192
  }, 8, ["description", "title"]),
2194
- i(d) !== i(y).HOST_PORT_CE ? (R(), F(i(le), {
2193
+ i(T) !== i(v).HOST_PORT_CE ? (k(), H(i(ue), {
2195
2194
  key: 3,
2196
2195
  "data-testid": "redis-keepalive-section",
2197
2196
  description: i(r)("form.sections.keepalive.description"),
2198
2197
  title: i(r)("form.sections.keepalive.title")
2199
2198
  }, {
2200
- default: T(() => [
2201
- p(U, {
2202
- modelValue: i(l).fields.config.keepalive_backlog,
2203
- "onUpdate:modelValue": m[24] || (m[24] = (u) => i(l).fields.config.keepalive_backlog = u),
2199
+ default: S(() => [
2200
+ p(D, {
2201
+ modelValue: i(s).fields.config.keepalive_backlog,
2202
+ "onUpdate:modelValue": m[24] || (m[24] = (c) => i(s).fields.config.keepalive_backlog = c),
2204
2203
  "data-testid": "redis-keepalive-backlog-input",
2205
2204
  label: i(r)("form.fields.keepalive_backlog.label"),
2206
2205
  "label-attributes": {
2207
2206
  info: i(r)("form.fields.keepalive_backlog.tooltip"),
2208
2207
  tooltipAttributes: { maxWidth: "400" }
2209
2208
  },
2210
- readonly: i(l).readonly,
2209
+ readonly: i(s).readonly,
2211
2210
  type: "number"
2212
2211
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2213
- p(U, {
2214
- modelValue: i(l).fields.config.keepalive_pool_size,
2215
- "onUpdate:modelValue": m[25] || (m[25] = (u) => i(l).fields.config.keepalive_pool_size = u),
2212
+ p(D, {
2213
+ modelValue: i(s).fields.config.keepalive_pool_size,
2214
+ "onUpdate:modelValue": m[25] || (m[25] = (c) => i(s).fields.config.keepalive_pool_size = c),
2216
2215
  "data-testid": "redis-keepalive-pool-size-input",
2217
2216
  label: i(r)("form.fields.keepalive_pool_size.label"),
2218
2217
  "label-attributes": {
2219
2218
  info: i(r)("form.fields.keepalive_pool_size.tooltip"),
2220
2219
  tooltipAttributes: { maxWidth: "400" }
2221
2220
  },
2222
- readonly: i(l).readonly,
2221
+ readonly: i(s).readonly,
2223
2222
  type: "number"
2224
2223
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2225
2224
  ]),
2226
2225
  _: 1
2227
2226
  }, 8, ["description", "title"])) : X("", !0),
2228
- i(d) !== i(y).HOST_PORT_CE ? (R(), F(i(le), {
2227
+ i(T) !== i(v).HOST_PORT_CE ? (k(), H(i(ue), {
2229
2228
  key: 4,
2230
2229
  "data-testid": "redis-read-write-configuration-section",
2231
2230
  description: i(r)("form.sections.read_write_configuration.description"),
2232
2231
  title: i(r)("form.sections.read_write_configuration.title")
2233
2232
  }, {
2234
- default: T(() => [
2235
- p(U, {
2236
- modelValue: i(l).fields.config.read_timeout,
2237
- "onUpdate:modelValue": m[26] || (m[26] = (u) => i(l).fields.config.read_timeout = u),
2233
+ default: S(() => [
2234
+ p(D, {
2235
+ modelValue: i(s).fields.config.read_timeout,
2236
+ "onUpdate:modelValue": m[26] || (m[26] = (c) => i(s).fields.config.read_timeout = c),
2238
2237
  "data-testid": "redis-read-timeout-input",
2239
2238
  label: i(r)("form.fields.read_timeout.label"),
2240
2239
  "label-attributes": {
2241
2240
  info: i(r)("form.fields.read_timeout.tooltip"),
2242
2241
  tooltipAttributes: { maxWidth: "400" }
2243
2242
  },
2244
- readonly: i(l).readonly,
2243
+ readonly: i(s).readonly,
2245
2244
  type: "number"
2246
2245
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2247
- p(U, {
2248
- modelValue: i(l).fields.config.send_timeout,
2249
- "onUpdate:modelValue": m[27] || (m[27] = (u) => i(l).fields.config.send_timeout = u),
2246
+ p(D, {
2247
+ modelValue: i(s).fields.config.send_timeout,
2248
+ "onUpdate:modelValue": m[27] || (m[27] = (c) => i(s).fields.config.send_timeout = c),
2250
2249
  "data-testid": "redis-send-timeout-input",
2251
2250
  label: i(r)("form.fields.send_timeout.label"),
2252
2251
  "label-attributes": {
2253
2252
  info: i(r)("form.fields.send_timeout.tooltip"),
2254
2253
  tooltipAttributes: { maxWidth: "400" }
2255
2254
  },
2256
- readonly: i(l).readonly,
2255
+ readonly: i(s).readonly,
2257
2256
  type: "number"
2258
2257
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
2259
- p(U, {
2260
- modelValue: i(l).fields.config.connect_timeout,
2261
- "onUpdate:modelValue": m[28] || (m[28] = (u) => i(l).fields.config.connect_timeout = u),
2258
+ p(D, {
2259
+ modelValue: i(s).fields.config.connect_timeout,
2260
+ "onUpdate:modelValue": m[28] || (m[28] = (c) => i(s).fields.config.connect_timeout = c),
2262
2261
  "data-testid": "redis-connect-timeout-input",
2263
2262
  label: i(r)("form.fields.connect_timeout.label"),
2264
2263
  "label-attributes": {
2265
2264
  info: i(r)("form.fields.connect_timeout.tooltip"),
2266
2265
  tooltipAttributes: { maxWidth: "400" }
2267
2266
  },
2268
- readonly: i(l).readonly,
2267
+ readonly: i(s).readonly,
2269
2268
  type: "number"
2270
2269
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])
2271
2270
  ]),
@@ -2281,23 +2280,23 @@ const Ve = (e) => {
2281
2280
  onCancel: m[29] || (m[29] = () => g.value = !1),
2282
2281
  onProceed: _
2283
2282
  }, null, 8, ["config", "setup"]),
2284
- p(E, {
2283
+ p(R, {
2285
2284
  "action-button-text": i(r)("form.edit_warning_modal.confirm"),
2286
2285
  "data-testid": "redis-update-warning-modal",
2287
2286
  "hide-cancel-button": "",
2288
2287
  "max-width": "640",
2289
2288
  title: i(r)("form.edit_warning_modal.title"),
2290
- visible: z.value,
2291
- onCancel: m[30] || (m[30] = (u) => z.value = !1),
2292
- onProceed: fe
2289
+ visible: Y.value,
2290
+ onCancel: m[30] || (m[30] = (c) => Y.value = !1),
2291
+ onProceed: W
2293
2292
  }, {
2294
- default: T(() => [
2293
+ default: S(() => [
2295
2294
  p(i(a), {
2296
2295
  keypath: "form.edit_warning_modal.description",
2297
2296
  tag: "div"
2298
2297
  }, {
2299
- pluginCount: T(() => [
2300
- K("b", null, B(i(r)("form.edit_warning_modal.plugin_count", { count: W.value })), 1)
2298
+ pluginCount: S(() => [
2299
+ z("b", null, F(i(r)("form.edit_warning_modal.plugin_count", { count: Q.value })), 1)
2301
2300
  ]),
2302
2301
  _: 1
2303
2302
  })
@@ -2307,10 +2306,10 @@ const Ve = (e) => {
2307
2306
  ], 64);
2308
2307
  };
2309
2308
  }
2310
- }), Wa = /* @__PURE__ */ oe(ga, [["__scopeId", "data-v-2b122b08"]]), _a = "#00abd2", ba = "24px", ya = {
2309
+ }), Wa = /* @__PURE__ */ ae(ga, [["__scopeId", "data-v-e33248c3"]]), _a = "#00abd2", ba = "24px", ya = {
2311
2310
  class: "linked-plugins",
2312
2311
  "data-testid": "linked-plugins-inline"
2313
- }, rt = 7, va = /* @__PURE__ */ Y({
2312
+ }, at = 7, va = /* @__PURE__ */ G({
2314
2313
  __name: "LinkedPluginsInline",
2315
2314
  props: {
2316
2315
  config: {
@@ -2329,26 +2328,26 @@ const Ve = (e) => {
2329
2328
  partialId: t.partialId
2330
2329
  });
2331
2330
  return (o, r) => {
2332
- const a = D("KBadge");
2333
- return R(), q("div", ya, [
2334
- (R(!0), q(Ke, null, ft(i(n).slice(0, rt), (f) => (R(), F(i(Wt), {
2331
+ const a = U("KBadge");
2332
+ return k(), q("div", ya, [
2333
+ (k(!0), q(qe, null, pt(i(n).slice(0, at), (f) => (k(), H(i(Wt), {
2335
2334
  key: f.id,
2336
2335
  name: f.name,
2337
2336
  size: 24
2338
2337
  }, null, 8, ["name"]))), 128)),
2339
- i(n).length - rt > 0 ? (R(), F(a, {
2338
+ i(n).length - at > 0 ? (k(), H(a, {
2340
2339
  key: 0,
2341
2340
  appearance: "info"
2342
2341
  }, {
2343
- default: T(() => [
2344
- Z(" +" + B(i(n).length - rt), 1)
2342
+ default: S(() => [
2343
+ Z(" +" + F(i(n).length - at), 1)
2345
2344
  ]),
2346
2345
  _: 1
2347
2346
  })) : X("", !0)
2348
2347
  ]);
2349
2348
  };
2350
2349
  }
2351
- }), ha = /* @__PURE__ */ oe(va, [["__scopeId", "data-v-6fbbce03"]]), Ta = { class: "plugin-item" }, wa = /* @__PURE__ */ Y({
2350
+ }), ha = /* @__PURE__ */ ae(va, [["__scopeId", "data-v-6fbbce03"]]), Ta = { class: "plugin-item" }, wa = /* @__PURE__ */ G({
2352
2351
  __name: "PluginItem",
2353
2352
  props: {
2354
2353
  pluginName: {
@@ -2357,15 +2356,15 @@ const Ve = (e) => {
2357
2356
  }
2358
2357
  },
2359
2358
  setup(e) {
2360
- return (t, n) => (R(), q("div", Ta, [
2359
+ return (t, n) => (k(), q("div", Ta, [
2361
2360
  p(i(Wt), {
2362
2361
  name: e.pluginName,
2363
2362
  size: 24
2364
2363
  }, null, 8, ["name"]),
2365
- K("span", null, B(e.pluginName), 1)
2364
+ z("span", null, F(e.pluginName), 1)
2366
2365
  ]));
2367
2366
  }
2368
- }), Sa = /* @__PURE__ */ oe(wa, [["__scopeId", "data-v-d3c7b010"]]), Ea = { class: "toolbar-container" }, Ca = /* @__PURE__ */ Y({
2367
+ }), Sa = /* @__PURE__ */ ae(wa, [["__scopeId", "data-v-d3c7b010"]]), Ea = { class: "toolbar-container" }, Ca = /* @__PURE__ */ G({
2369
2368
  __name: "LinkedPluginList",
2370
2369
  props: {
2371
2370
  config: {
@@ -2391,50 +2390,50 @@ const Ve = (e) => {
2391
2390
  },
2392
2391
  emits: ["view-plugin", "load"],
2393
2392
  setup(e, { emit: t }) {
2394
- const n = e, o = t, { i18n: { t: r } } = ue.useI18n(), a = [
2393
+ const n = e, o = t, { i18n: { t: r } } = pe.useI18n(), a = [
2395
2394
  { key: "name", label: r("linked_plugins_modal.headers.plugin") },
2396
2395
  { key: "instance_name", label: r("linked_plugins_modal.headers.instance_name") },
2397
2396
  { key: "actions", hideLabel: !0 }
2398
- ], { fetcher: f } = Ve(n.config), g = M(0), s = async (b) => {
2399
- const { data: w, count: l } = await f({
2397
+ ], { fetcher: f } = $e(n.config), g = L(0), l = async (b) => {
2398
+ const { data: E, count: y } = await f({
2400
2399
  partialId: n.partialId,
2401
2400
  size: b.pageSize,
2402
2401
  offset: b.offset,
2403
2402
  query: b.query
2404
2403
  });
2405
- g.value = l;
2406
- const S = {
2407
- total: l,
2408
- data: w
2404
+ g.value = y;
2405
+ const s = {
2406
+ total: y,
2407
+ data: E
2409
2408
  };
2410
- return o("load", S), S;
2411
- }, c = M(""), _ = H(() => n.config.app === "konnect" || n.isExactMatch ? {
2409
+ return o("load", s), s;
2410
+ }, u = L(""), _ = K(() => n.config.app === "konnect" || n.isExactMatch ? {
2412
2411
  isExactMatch: !0
2413
2412
  } : {
2414
2413
  isExactMatch: !1,
2415
2414
  fields: { name: { searchable: !0 } },
2416
2415
  schema: { name: { type: "text" } }
2417
- }), h = (b) => {
2416
+ }), w = (b) => {
2418
2417
  o("view-plugin", { id: b.id, plugin: b.name });
2419
2418
  };
2420
- return (b, w) => {
2421
- const l = D("KDropdownItem"), S = D("KTableData");
2422
- return R(), F(S, {
2419
+ return (b, E) => {
2420
+ const y = U("KDropdownItem"), s = U("KTableData");
2421
+ return k(), H(s, {
2423
2422
  "cache-identifier": i(gn)(e.partialId),
2424
- fetcher: s,
2423
+ fetcher: l,
2425
2424
  headers: a,
2426
2425
  "pagination-attributes": { totalCount: g.value, disablePageJump: !0 },
2427
- "search-input": c.value
2426
+ "search-input": u.value
2428
2427
  }, Ft({
2429
- name: T(({ rowValue: C }) => [
2430
- p(Sa, { "plugin-name": C }, null, 8, ["plugin-name"])
2428
+ name: S(({ rowValue: I }) => [
2429
+ p(Sa, { "plugin-name": I }, null, 8, ["plugin-name"])
2431
2430
  ]),
2432
- "action-items": T(({ row: C }) => [
2433
- p(l, {
2434
- onClick: (I) => h(C)
2431
+ "action-items": S(({ row: I }) => [
2432
+ p(y, {
2433
+ onClick: ($) => w(I)
2435
2434
  }, {
2436
- default: T(() => [
2437
- Z(B(i(r)("actions.view_plugin")), 1)
2435
+ default: S(() => [
2436
+ Z(F(i(r)("actions.view_plugin")), 1)
2438
2437
  ]),
2439
2438
  _: 2
2440
2439
  }, 1032, ["onClick"])
@@ -2443,11 +2442,11 @@ const Ve = (e) => {
2443
2442
  }, [
2444
2443
  e.filterBarEnabled ? {
2445
2444
  name: "toolbar",
2446
- fn: T(() => [
2447
- K("div", Ea, [
2445
+ fn: S(() => [
2446
+ z("div", Ea, [
2448
2447
  p(i(Kt), {
2449
- modelValue: c.value,
2450
- "onUpdate:modelValue": w[0] || (w[0] = (C) => c.value = C),
2448
+ modelValue: u.value,
2449
+ "onUpdate:modelValue": E[0] || (E[0] = (I) => u.value = I),
2451
2450
  config: _.value
2452
2451
  }, null, 8, ["modelValue", "config"])
2453
2452
  ])
@@ -2457,10 +2456,10 @@ const Ve = (e) => {
2457
2456
  ]), 1032, ["cache-identifier", "pagination-attributes", "search-input"]);
2458
2457
  };
2459
2458
  }
2460
- }), Ia = /* @__PURE__ */ oe(Ca, [["__scopeId", "data-v-d6a2e2f4"]]), ka = {
2459
+ }), Ia = /* @__PURE__ */ ae(Ca, [["__scopeId", "data-v-d6a2e2f4"]]), Ra = {
2461
2460
  class: "linked-plugins-modal",
2462
2461
  "data-testid": "linked-plugins-modal"
2463
- }, Ra = /* @__PURE__ */ Y({
2462
+ }, ka = /* @__PURE__ */ G({
2464
2463
  __name: "LinkedPluginListModal",
2465
2464
  props: {
2466
2465
  config: {
@@ -2480,14 +2479,14 @@ const Ve = (e) => {
2480
2479
  },
2481
2480
  emits: ["cancel", "proceed", "view-plugin"],
2482
2481
  setup(e, { emit: t }) {
2483
- const n = t, { i18n: { t: o } } = ue.useI18n(), r = M(0), a = H(() => o("linked_plugins_modal.title", { count: r.value })), f = () => {
2482
+ const n = t, { i18n: { t: o } } = pe.useI18n(), r = L(0), a = K(() => o("linked_plugins_modal.title", { count: r.value })), f = () => {
2484
2483
  n("cancel");
2485
2484
  }, g = () => {
2486
2485
  n("proceed");
2487
2486
  };
2488
- return (s, c) => {
2489
- const _ = D("KModal");
2490
- return R(), q("div", ka, [
2487
+ return (l, u) => {
2488
+ const _ = U("KModal");
2489
+ return k(), q("div", Ra, [
2491
2490
  p(_, {
2492
2491
  "action-button-text": i(o)("actions.done"),
2493
2492
  "hide-cancel-button": "",
@@ -2496,12 +2495,12 @@ const Ve = (e) => {
2496
2495
  onCancel: f,
2497
2496
  onProceed: g
2498
2497
  }, {
2499
- default: T(() => [
2498
+ default: S(() => [
2500
2499
  p(Ia, {
2501
2500
  config: e.config,
2502
2501
  "partial-id": e.redisConfigurationId,
2503
- onLoad: c[0] || (c[0] = ({ total: h }) => r.value = h),
2504
- onViewPlugin: c[1] || (c[1] = (h) => n("view-plugin", h))
2502
+ onLoad: u[0] || (u[0] = ({ total: w }) => r.value = w),
2503
+ onViewPlugin: u[1] || (u[1] = (w) => n("view-plugin", w))
2505
2504
  }, null, 8, ["config", "partial-id"])
2506
2505
  ]),
2507
2506
  _: 1
@@ -2509,7 +2508,7 @@ const Ve = (e) => {
2509
2508
  ]);
2510
2509
  };
2511
2510
  }
2512
- }), Oa = /* @__PURE__ */ oe(Ra, [["__scopeId", "data-v-6148b8bd"]]), xa = /* @__PURE__ */ Y({
2511
+ }), Oa = /* @__PURE__ */ ae(ka, [["__scopeId", "data-v-6148b8bd"]]), xa = /* @__PURE__ */ G({
2513
2512
  __name: "DeleteWarningModal",
2514
2513
  props: {
2515
2514
  visible: {
@@ -2519,12 +2518,12 @@ const Ve = (e) => {
2519
2518
  },
2520
2519
  emits: ["close"],
2521
2520
  setup(e, { emit: t }) {
2522
- const { i18n: { t: n } } = ue.useI18n(), o = t, r = () => {
2521
+ const { i18n: { t: n } } = pe.useI18n(), o = t, r = () => {
2523
2522
  o("close");
2524
2523
  };
2525
2524
  return (a, f) => {
2526
- const g = D("KModal");
2527
- return R(), F(g, {
2525
+ const g = U("KModal");
2526
+ return k(), H(g, {
2528
2527
  "action-button-text": i(n)("actions.close"),
2529
2528
  "data-testid": "remove-links-modal",
2530
2529
  "hide-cancel-button": "",
@@ -2534,14 +2533,14 @@ const Ve = (e) => {
2534
2533
  onCancel: r,
2535
2534
  onProceed: r
2536
2535
  }, {
2537
- default: T(() => [
2538
- Z(B(i(n)("delete.warning")), 1)
2536
+ default: S(() => [
2537
+ Z(F(i(n)("delete.warning")), 1)
2539
2538
  ]),
2540
2539
  _: 1
2541
2540
  }, 8, ["action-button-text", "title", "visible"]);
2542
2541
  };
2543
2542
  }
2544
- }), Aa = { class: "kong-ui-entities-partials-list" }, Pa = { class: "empty-state-icon-gateway" }, Va = /* @__PURE__ */ Y({
2543
+ }), Pa = { class: "kong-ui-entities-partials-list" }, Aa = { class: "empty-state-icon-gateway" }, Va = /* @__PURE__ */ G({
2545
2544
  __name: "RedisConfigurationList",
2546
2545
  props: {
2547
2546
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2590,150 +2589,150 @@ const Ve = (e) => {
2590
2589
  },
2591
2590
  emits: ["click:learn-more", "click:plugin", "copy:error", "copy:success", "delete:success", "error"],
2592
2591
  setup(e, { emit: t }) {
2593
- var ve;
2594
- const n = t, o = e, r = H(() => {
2595
- var u, A;
2596
- let E = `${o.config.apiBaseUrl}${Ae.list[o.config.app]}`;
2597
- return o.config.app === "konnect" ? E = E.replace(/{controlPlaneId}/gi, ((u = o.config) == null ? void 0 : u.controlPlaneId) || "") : o.config.app === "kongManager" && (E = E.replace(/\/{workspace}/gi, (A = o.config) != null && A.workspace ? `/${o.config.workspace}` : "")), E;
2598
- }), a = M(!1), f = M(""), g = M(null), s = M(void 0), c = M(!1), _ = M(!1), h = M(""), b = M(!1), w = On(o.config, r.value), l = M(1), S = H(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: C, fetcherState: I } = xn(o.config, r.value), { i18n: { t: d } } = ue.useI18n(), { axiosInstance: k } = pt((ve = o.config) == null ? void 0 : ve.axiosRequestConfig), j = zt(), x = M(""), ee = H(() => {
2599
- const E = o.config.app === "konnect" || o.config.isExactMatch;
2600
- if (E)
2592
+ var D;
2593
+ const n = t, o = e, r = K(() => {
2594
+ var R, c;
2595
+ let C = `${o.config.apiBaseUrl}${Ae.list[o.config.app]}`;
2596
+ 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, (c = o.config) != null && c.workspace ? `/${o.config.workspace}` : "")), C;
2597
+ }), a = L(!1), f = L(""), g = L(null), l = L(void 0), u = L(!1), _ = L(!1), w = L(""), b = L(!1), E = On(o.config, r.value), y = L(1), s = K(() => o.config.app !== "kongManager" || !!o.config.disableSorting), { fetcher: I, fetcherState: $ } = xn(o.config, r.value), { i18n: { t: d } } = pe.useI18n(), { axiosInstance: T } = mt((D = o.config) == null ? void 0 : D.axiosRequestConfig), N = zt(), O = L(""), ee = K(() => {
2598
+ const C = o.config.app === "konnect" || o.config.isExactMatch;
2599
+ if (C)
2601
2600
  return {
2602
2601
  isExactMatch: !0,
2603
2602
  placeholder: d("search.placeholder")
2604
2603
  };
2605
- const { name: u } = ae;
2604
+ const { name: R } = Y;
2606
2605
  return {
2607
- isExactMatch: E,
2606
+ isExactMatch: C,
2608
2607
  fields: {
2609
- name: u
2608
+ name: R
2610
2609
  },
2611
2610
  schema: o.config.filterSchema
2612
2611
  };
2613
- }), { fetcher: Q } = Ve(o.config), z = M({
2612
+ }), { fetcher: te } = $e(o.config), J = L({
2614
2613
  ctaPath: o.config.createRoute,
2615
2614
  ctaText: void 0,
2616
2615
  message: `${d("redis.empty_state.description")}${o.config.additionMessageForEmptyState ? ` ${o.config.additionMessageForEmptyState}` : ""}`,
2617
2616
  title: d("redis.title")
2618
- }), ae = {
2617
+ }), Y = {
2619
2618
  name: { label: d("list.table_headers.name"), searchable: !0, hidable: !1, sortable: !0 },
2620
2619
  type: { label: d("list.table_headers.type") },
2621
2620
  tags: { label: d("list.table_headers.tags") },
2622
2621
  plugins: { label: d("list.table_headers.plugins") }
2623
- }, W = (E) => ({
2622
+ }, le = (C) => ({
2624
2623
  label: d("actions.view"),
2625
- to: o.config.getViewRoute(E)
2626
- }), ce = (E) => ({
2624
+ to: o.config.getViewRoute(C)
2625
+ }), Q = (C) => ({
2627
2626
  label: d("actions.edit"),
2628
- to: o.config.getEditRoute(E)
2629
- }), fe = async (E) => {
2630
- const { count: u } = await Q({ partialId: E.id });
2631
- u > 0 ? b.value = !0 : (s.value = E, c.value = !0);
2632
- }, G = () => {
2633
- x.value = "";
2634
- }, be = async (E) => {
2635
- var A;
2636
- await ((A = o.canRetrieve) == null ? void 0 : A.call(o, E)) && j.push(o.config.getViewRoute(E.id));
2637
- }, pe = () => {
2638
- c.value = !1;
2639
- }, ye = (E) => {
2640
- f.value = E, a.value = !0;
2641
- }, O = async () => {
2642
- var E, u, A;
2643
- if ((E = s.value) != null && E.id) {
2627
+ to: o.config.getEditRoute(C)
2628
+ }), se = async (C) => {
2629
+ const { count: R } = await te({ partialId: C.id });
2630
+ R > 0 ? b.value = !0 : (l.value = C, u.value = !0);
2631
+ }, W = () => {
2632
+ O.value = "";
2633
+ }, ye = async (C) => {
2634
+ var c;
2635
+ await ((c = o.canRetrieve) == null ? void 0 : c.call(o, C)) && N.push(o.config.getViewRoute(C.id));
2636
+ }, me = () => {
2637
+ u.value = !1;
2638
+ }, ve = (C) => {
2639
+ f.value = C, a.value = !0;
2640
+ }, de = async () => {
2641
+ var C, R, c;
2642
+ if ((C = l.value) != null && C.id) {
2644
2643
  _.value = !0;
2645
2644
  try {
2646
- await k.delete(w(s.value.id)), _.value = !1, c.value = !1, m(), n("delete:success", s.value);
2647
- } catch (J) {
2648
- h.value = ((A = (u = J.response) == null ? void 0 : u.data) == null ? void 0 : A.message) || J.message || d("errors.delete"), n("error", J);
2645
+ await T.delete(E(l.value.id)), _.value = !1, u.value = !1, M(), n("delete:success", l.value);
2646
+ } catch (j) {
2647
+ w.value = ((c = (R = j.response) == null ? void 0 : R.data) == null ? void 0 : c.message) || j.message || d("errors.delete"), n("error", j);
2649
2648
  } finally {
2650
2649
  _.value = !1;
2651
2650
  }
2652
2651
  }
2653
- }, m = () => {
2654
- l.value++;
2655
- }, Ge = (E) => {
2656
- switch (We(E)) {
2657
- case y.HOST_PORT_CE:
2652
+ }, M = () => {
2653
+ y.value++;
2654
+ }, m = (C) => {
2655
+ switch (Je(C)) {
2656
+ case v.HOST_PORT_CE:
2658
2657
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_open_source")}`;
2659
- case y.HOST_PORT_EE:
2658
+ case v.HOST_PORT_EE:
2660
2659
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_enterprise")}`;
2661
- case y.SENTINEL:
2660
+ case v.SENTINEL:
2662
2661
  return `${d("form.options.type.sentinel")}${d("form.options.type.suffix_enterprise")}`;
2663
- case y.CLUSTER:
2662
+ case v.CLUSTER:
2664
2663
  return `${d("form.options.type.cluster")}${d("form.options.type.suffix_enterprise")}`;
2665
2664
  }
2666
- }, $e = () => {
2667
- j.push(o.config.createRoute);
2668
- }, U = (E, u) => {
2669
- const A = E.id;
2670
- if (!u(A)) {
2665
+ }, Ye = () => {
2666
+ N.push(o.config.createRoute);
2667
+ }, Le = (C, R) => {
2668
+ const c = C.id;
2669
+ if (!R(c)) {
2671
2670
  n("copy:error", {
2672
- entity: E,
2671
+ entity: C,
2673
2672
  field: "id",
2674
2673
  message: d("errors.copy")
2675
2674
  });
2676
2675
  return;
2677
2676
  }
2678
2677
  n("copy:success", {
2679
- entity: E,
2678
+ entity: C,
2680
2679
  field: "id",
2681
- message: d("copy.success", { val: A })
2680
+ message: d("copy.success", { val: c })
2682
2681
  });
2683
2682
  };
2684
- return Ie(I, (E) => {
2685
- var u, A, J;
2686
- if (E.status === An.Error) {
2683
+ return Re($, (C) => {
2684
+ var R, c, j;
2685
+ if (C.status === Pn.Error) {
2687
2686
  g.value = {
2688
2687
  title: d("errors.general")
2689
- }, (J = (A = (u = E.error) == null ? void 0 : u.response) == null ? void 0 : A.data) != null && J.message && (g.value.message = E.error.response.data.message), n("error", E.error);
2688
+ }, (j = (c = (R = C.error) == null ? void 0 : R.response) == null ? void 0 : c.data) != null && j.message && (g.value.message = C.error.response.data.message), n("error", C.error);
2690
2689
  return;
2691
2690
  }
2692
2691
  g.value = null;
2693
- }), Ie(o.canCreate, async (E) => {
2694
- await E ? z.value.ctaText = d("actions.create") : z.value.ctaText = void 0;
2692
+ }), Re(o.canCreate, async (C) => {
2693
+ await C ? J.value.ctaText = d("actions.create") : J.value.ctaText = void 0;
2695
2694
  }, {
2696
2695
  immediate: !0
2697
- }), (E, u) => {
2698
- const A = D("KButton"), J = D("KDropdownItem"), bn = D("KClipboardProvider");
2699
- return R(), q("div", Aa, [
2700
- p(i(Pn), {
2696
+ }), (C, R) => {
2697
+ const c = U("KButton"), j = U("KDropdownItem"), bn = U("KClipboardProvider");
2698
+ return k(), q("div", Pa, [
2699
+ p(i(An), {
2701
2700
  "cache-identifier": e.cacheIdentifier,
2702
- "disable-sorting": S.value,
2703
- "empty-state-options": z.value,
2701
+ "disable-sorting": s.value,
2702
+ "empty-state-options": J.value,
2704
2703
  "enable-entity-actions": "",
2705
2704
  "error-message": g.value,
2706
- fetcher: i(C),
2707
- "fetcher-cache-key": l.value,
2705
+ fetcher: i(I),
2706
+ "fetcher-cache-key": y.value,
2708
2707
  "pagination-type": "offset",
2709
2708
  "preferences-storage-key": "kong-ui-entities-redis-configuration-list",
2710
- query: x.value,
2711
- "table-headers": ae,
2712
- onClearSearchInput: G,
2713
- "onClick:row": u[2] || (u[2] = (P) => be(P)),
2714
- onSort: m
2709
+ query: O.value,
2710
+ "table-headers": Y,
2711
+ onClearSearchInput: W,
2712
+ "onClick:row": R[2] || (R[2] = (x) => ye(x)),
2713
+ onSort: M
2715
2714
  }, Ft({
2716
- "toolbar-filter": T(() => [
2715
+ "toolbar-filter": S(() => [
2717
2716
  p(i(Kt), {
2718
- modelValue: x.value,
2719
- "onUpdate:modelValue": u[0] || (u[0] = (P) => x.value = P),
2717
+ modelValue: O.value,
2718
+ "onUpdate:modelValue": R[0] || (R[0] = (x) => O.value = x),
2720
2719
  config: ee.value
2721
2720
  }, null, 8, ["modelValue", "config"])
2722
2721
  ]),
2723
- "toolbar-button": T(() => [
2724
- p(i(Le), {
2722
+ "toolbar-button": S(() => [
2723
+ p(i(Me), {
2725
2724
  "auth-function": () => e.canCreate()
2726
2725
  }, {
2727
- default: T(() => [
2728
- p(A, {
2726
+ default: S(() => [
2727
+ p(c, {
2729
2728
  appearance: "primary",
2730
2729
  "data-testid": "toolbar-add-redis-configuration",
2731
2730
  size: "large",
2732
2731
  to: e.config.createRoute
2733
2732
  }, {
2734
- default: T(() => [
2733
+ default: S(() => [
2735
2734
  p(i(Nn)),
2736
- Z(" " + B(i(d)("actions.create")), 1)
2735
+ Z(" " + F(i(d)("actions.create")), 1)
2737
2736
  ]),
2738
2737
  _: 1
2739
2738
  }, 8, ["to"])
@@ -2741,72 +2740,72 @@ const Ve = (e) => {
2741
2740
  _: 1
2742
2741
  }, 8, ["auth-function"])
2743
2742
  ]),
2744
- name: T(({ rowValue: P }) => [
2745
- K("b", null, B(P ?? "-"), 1)
2743
+ name: S(({ rowValue: x }) => [
2744
+ z("b", null, F(x ?? "-"), 1)
2746
2745
  ]),
2747
- type: T(({ row: P }) => [
2748
- Z(B(Ge(P)), 1)
2746
+ type: S(({ row: x }) => [
2747
+ Z(F(m(x)), 1)
2749
2748
  ]),
2750
- tags: T(({ rowValue: P }) => [
2751
- p(i(Vn), { tags: P }, null, 8, ["tags"])
2749
+ tags: S(({ rowValue: x }) => [
2750
+ p(i(Vn), { tags: x }, null, 8, ["tags"])
2752
2751
  ]),
2753
- plugins: T(({ row: P }) => [
2752
+ plugins: S(({ row: x }) => [
2754
2753
  p(ha, {
2755
2754
  config: e.config,
2756
- "partial-id": P.id,
2757
- onClick: In((Je) => ye(P.id), ["stop"])
2755
+ "partial-id": x.id,
2756
+ onClick: In((Qe) => ve(x.id), ["stop"])
2758
2757
  }, null, 8, ["config", "partial-id", "onClick"])
2759
2758
  ]),
2760
- actions: T(({ row: P }) => [
2759
+ actions: S(({ row: x }) => [
2761
2760
  p(bn, null, {
2762
- default: T(({ copyToClipboard: Je }) => [
2763
- p(J, {
2761
+ default: S(({ copyToClipboard: Qe }) => [
2762
+ p(j, {
2764
2763
  "data-testid": "action-entity-copy-id",
2765
- onClick: (La) => U(P, Je)
2764
+ onClick: (La) => Le(x, Qe)
2766
2765
  }, {
2767
- default: T(() => [
2768
- Z(B(i(d)("actions.copy_id")), 1)
2766
+ default: S(() => [
2767
+ Z(F(i(d)("actions.copy_id")), 1)
2769
2768
  ]),
2770
2769
  _: 2
2771
2770
  }, 1032, ["onClick"])
2772
2771
  ]),
2773
2772
  _: 2
2774
2773
  }, 1024),
2775
- p(i(Le), {
2776
- "auth-function": () => e.canRetrieve(P)
2774
+ p(i(Me), {
2775
+ "auth-function": () => e.canRetrieve(x)
2777
2776
  }, {
2778
- default: T(() => [
2779
- p(J, {
2777
+ default: S(() => [
2778
+ p(j, {
2780
2779
  "data-testid": "action-entity-view",
2781
2780
  "has-divider": "",
2782
- item: W(P.id)
2781
+ item: le(x.id)
2783
2782
  }, null, 8, ["item"])
2784
2783
  ]),
2785
2784
  _: 2
2786
2785
  }, 1032, ["auth-function"]),
2787
- p(i(Le), {
2788
- "auth-function": () => e.canEdit(P)
2786
+ p(i(Me), {
2787
+ "auth-function": () => e.canEdit(x)
2789
2788
  }, {
2790
- default: T(() => [
2791
- p(J, {
2789
+ default: S(() => [
2790
+ p(j, {
2792
2791
  "data-testid": "action-entity-edit",
2793
- item: ce(P.id)
2792
+ item: Q(x.id)
2794
2793
  }, null, 8, ["item"])
2795
2794
  ]),
2796
2795
  _: 2
2797
2796
  }, 1032, ["auth-function"]),
2798
- p(i(Le), {
2799
- "auth-function": () => e.canDelete(P)
2797
+ p(i(Me), {
2798
+ "auth-function": () => e.canDelete(x)
2800
2799
  }, {
2801
- default: T(() => [
2802
- p(J, {
2800
+ default: S(() => [
2801
+ p(j, {
2803
2802
  danger: "",
2804
2803
  "data-testid": "action-entity-delete",
2805
2804
  "has-divider": "",
2806
- onClick: (Je) => fe(P)
2805
+ onClick: (Qe) => se(x)
2807
2806
  }, {
2808
- default: T(() => [
2809
- Z(B(i(d)("actions.delete")), 1)
2807
+ default: S(() => [
2808
+ Z(F(i(d)("actions.delete")), 1)
2810
2809
  ]),
2811
2810
  _: 2
2812
2811
  }, 1032, ["onClick"])
@@ -2818,7 +2817,7 @@ const Ve = (e) => {
2818
2817
  }, [
2819
2818
  e.enableV2EmptyStates && e.config.app === "konnect" ? {
2820
2819
  name: "empty-state",
2821
- fn: T(() => [
2820
+ fn: S(() => [
2822
2821
  p(i($n), {
2823
2822
  "action-button-text": i(d)("list.action"),
2824
2823
  appearance: "secondary",
@@ -2837,21 +2836,21 @@ const Ve = (e) => {
2837
2836
  ],
2838
2837
  "learn-more": e.config.app === "konnect",
2839
2838
  title: i(d)("redis.title"),
2840
- "onClick:create": $e,
2841
- "onClick:learnMore": u[1] || (u[1] = () => n("click:learn-more"))
2839
+ "onClick:create": Ye,
2840
+ "onClick:learnMore": R[1] || (R[1] = () => n("click:learn-more"))
2842
2841
  }, {
2843
- image: T(() => [
2844
- K("div", Pa, [
2842
+ image: S(() => [
2843
+ z("div", Aa, [
2845
2844
  p(i(_t), {
2846
2845
  color: i(_a),
2847
2846
  size: i(ba)
2848
2847
  }, null, 8, ["color", "size"])
2849
2848
  ])
2850
2849
  ]),
2851
- "feature-0-icon": T(() => [
2850
+ "feature-0-icon": S(() => [
2852
2851
  p(i(_t))
2853
2852
  ]),
2854
- "feature-1-icon": T(() => [
2853
+ "feature-1-icon": S(() => [
2855
2854
  p(i(Bn))
2856
2855
  ]),
2857
2856
  _: 1
@@ -2862,32 +2861,32 @@ const Ve = (e) => {
2862
2861
  ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query"]),
2863
2862
  p(xa, {
2864
2863
  visible: b.value,
2865
- onClose: u[3] || (u[3] = (P) => b.value = !1)
2864
+ onClose: R[3] || (R[3] = (x) => b.value = !1)
2866
2865
  }, null, 8, ["visible"]),
2867
2866
  p(i(Ln), {
2868
2867
  "action-pending": _.value,
2869
2868
  description: i(d)("delete.description"),
2870
- "entity-name": s.value && (s.value.name || s.value.id),
2869
+ "entity-name": l.value && (l.value.name || l.value.id),
2871
2870
  "entity-type": i(Mn).RedisConfiguration,
2872
- error: h.value,
2871
+ error: w.value,
2873
2872
  "need-confirmation": !0,
2874
2873
  title: i(d)("delete.title"),
2875
- visible: c.value,
2876
- onCancel: pe,
2877
- onProceed: O
2874
+ visible: u.value,
2875
+ onCancel: me,
2876
+ onProceed: de
2878
2877
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
2879
2878
  p(Oa, {
2880
2879
  config: e.config,
2881
2880
  "redis-configuration-id": f.value,
2882
2881
  visible: a.value,
2883
- onCancel: u[4] || (u[4] = (P) => a.value = !1),
2884
- onProceed: u[5] || (u[5] = (P) => a.value = !1),
2885
- onViewPlugin: u[6] || (u[6] = (P) => n("click:plugin", P))
2882
+ onCancel: R[4] || (R[4] = (x) => a.value = !1),
2883
+ onProceed: R[5] || (R[5] = (x) => a.value = !1),
2884
+ onViewPlugin: R[6] || (R[6] = (x) => n("click:plugin", x))
2886
2885
  }, null, 8, ["config", "redis-configuration-id", "visible"])
2887
2886
  ]);
2888
2887
  };
2889
2888
  }
2890
- }), Ga = /* @__PURE__ */ oe(Va, [["__scopeId", "data-v-5063721d"]]), $a = { class: "kong-ui-consumer-group-entity-config-card" }, Ja = /* @__PURE__ */ Y({
2889
+ }), Ga = /* @__PURE__ */ ae(Va, [["__scopeId", "data-v-5063721d"]]), $a = { class: "kong-ui-consumer-group-entity-config-card" }, Ja = /* @__PURE__ */ G({
2891
2890
  __name: "RedisConfigurationConfigCard",
2892
2891
  props: {
2893
2892
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2914,213 +2913,213 @@ const Ve = (e) => {
2914
2913
  },
2915
2914
  emits: ["loading", "fetch:error", "fetch:success"],
2916
2915
  setup(e, { emit: t }) {
2917
- const n = e, o = t, { i18n: { t: r } } = ue.useI18n(), a = H(() => Ae.form[n.config.app].edit), f = M(mt), g = (l) => {
2918
- f.value = We(l), o("fetch:success", l);
2919
- }, s = H(() => {
2920
- const l = f.value === y.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
2921
- let S = "";
2916
+ const n = e, o = t, { i18n: { t: r } } = pe.useI18n(), a = K(() => Ae.form[n.config.app].edit), f = L(we), g = (y) => {
2917
+ f.value = Je(y), o("fetch:success", y);
2918
+ }, l = K(() => {
2919
+ const y = f.value === v.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
2920
+ let s = "";
2922
2921
  switch (f.value) {
2923
- case y.HOST_PORT_CE:
2924
- S = r("form.options.type.host_port");
2922
+ case v.HOST_PORT_CE:
2923
+ s = r("form.options.type.host_port");
2925
2924
  break;
2926
- case y.HOST_PORT_EE:
2927
- S = r("form.options.type.host_port");
2925
+ case v.HOST_PORT_EE:
2926
+ s = r("form.options.type.host_port");
2928
2927
  break;
2929
- case y.CLUSTER:
2930
- S = r("form.options.type.cluster");
2928
+ case v.CLUSTER:
2929
+ s = r("form.options.type.cluster");
2931
2930
  break;
2932
- case y.SENTINEL:
2933
- S = r("form.options.type.sentinel");
2931
+ case v.SENTINEL:
2932
+ s = r("form.options.type.sentinel");
2934
2933
  break;
2935
2934
  }
2936
- return `${S}${l}`;
2937
- }), c = (l) => ({
2938
- id: l.id,
2939
- name: l.name,
2940
- tags: l.tags,
2941
- created_at: l.created_at,
2942
- updated_at: l.updated_at,
2943
- type: l.type,
2944
- ...l.config
2945
- }), _ = (l) => {
2946
- const { id: S, name: C, created_at: I, updated_at: d, type: k, tags: j, ...x } = l;
2935
+ return `${s}${y}`;
2936
+ }), u = (y) => ({
2937
+ id: y.id,
2938
+ name: y.name,
2939
+ tags: y.tags,
2940
+ created_at: y.created_at,
2941
+ updated_at: y.updated_at,
2942
+ type: y.type,
2943
+ ...y.config
2944
+ }), _ = (y) => {
2945
+ const { id: s, name: I, created_at: $, updated_at: d, type: T, tags: N, ...O } = y;
2947
2946
  return {
2948
- id: S,
2949
- name: C,
2950
- tags: j,
2951
- created_at: I,
2947
+ id: s,
2948
+ name: I,
2949
+ tags: N,
2950
+ created_at: $,
2952
2951
  updated_at: d,
2953
- type: k,
2954
- config: x
2952
+ type: T,
2953
+ config: O
2955
2954
  };
2956
- }, h = {
2955
+ }, w = {
2957
2956
  id: {},
2958
2957
  name: {
2959
- type: V.Text,
2960
- section: $.Basic,
2958
+ type: P.Text,
2959
+ section: A.Basic,
2961
2960
  label: r("form.fields.name.label")
2962
2961
  },
2963
2962
  tags: {
2964
- type: V.BadgeTag,
2965
- section: $.Basic,
2963
+ type: P.BadgeTag,
2964
+ section: A.Basic,
2966
2965
  label: r("form.fields.tags.label"),
2967
2966
  tooltip: r("form.fields.tags.tooltip")
2968
2967
  },
2969
2968
  updated_at: {},
2970
2969
  created_at: {},
2971
2970
  type: {
2972
- type: V.Text,
2973
- section: $.Basic,
2971
+ type: P.Text,
2972
+ section: A.Basic,
2974
2973
  label: r("form.fields.type.label")
2975
2974
  },
2976
2975
  cluster_max_redirections: {
2977
- type: V.Text,
2978
- section: $.Basic,
2976
+ type: P.Text,
2977
+ section: A.Basic,
2979
2978
  tooltip: r("form.fields.cluster_max_redirections.tooltip"),
2980
2979
  label: r("form.fields.cluster_max_redirections.label")
2981
2980
  },
2982
2981
  cluster_nodes: {
2983
- type: V.JsonArray,
2984
- section: $.Basic,
2982
+ type: P.JsonArray,
2983
+ section: A.Basic,
2985
2984
  label: r("form.fields.cluster_nodes.title"),
2986
2985
  tooltip: r("form.fields.cluster_nodes.tooltip")
2987
2986
  },
2988
2987
  connect_timeout: {
2989
- type: V.Text,
2990
- section: $.Basic,
2988
+ type: P.Text,
2989
+ section: A.Basic,
2991
2990
  label: r("form.fields.connect_timeout.label"),
2992
2991
  tooltip: r("form.fields.connect_timeout.tooltip")
2993
2992
  },
2994
2993
  connection_is_proxied: {
2995
- type: V.Text,
2996
- section: $.Basic,
2994
+ type: P.Text,
2995
+ section: A.Basic,
2997
2996
  label: r("form.fields.connection_is_proxied.label"),
2998
2997
  tooltip: r("form.fields.connection_is_proxied.tooltip")
2999
2998
  },
3000
2999
  database: {
3001
- type: V.Text,
3002
- section: $.Basic,
3000
+ type: P.Text,
3001
+ section: A.Basic,
3003
3002
  label: r("form.fields.database.label"),
3004
3003
  tooltip: r("form.fields.database.tooltip")
3005
3004
  },
3006
3005
  host: {
3007
- type: V.Text,
3008
- section: $.Basic,
3006
+ type: P.Text,
3007
+ section: A.Basic,
3009
3008
  label: r("form.fields.host.label"),
3010
3009
  tooltip: r("form.fields.host.tooltip")
3011
3010
  },
3012
3011
  keepalive_backlog: {
3013
- type: V.Text,
3014
- section: $.Basic,
3012
+ type: P.Text,
3013
+ section: A.Basic,
3015
3014
  label: r("form.fields.keepalive_backlog.label"),
3016
3015
  tooltip: r("form.fields.keepalive_backlog.tooltip")
3017
3016
  },
3018
3017
  keepalive_pool_size: {
3019
- type: V.Text,
3020
- section: $.Basic,
3018
+ type: P.Text,
3019
+ section: A.Basic,
3021
3020
  label: r("form.fields.keepalive_pool_size.label"),
3022
3021
  tooltip: r("form.fields.keepalive_pool_size.tooltip")
3023
3022
  },
3024
3023
  password: {
3025
- type: V.Redacted,
3026
- section: $.Basic,
3024
+ type: P.Redacted,
3025
+ section: A.Basic,
3027
3026
  label: r("form.fields.password.label"),
3028
3027
  tooltip: r("form.fields.password.tooltip")
3029
3028
  },
3030
3029
  port: {
3031
- type: V.Text,
3032
- section: $.Basic,
3030
+ type: P.Text,
3031
+ section: A.Basic,
3033
3032
  label: r("form.fields.port.label"),
3034
3033
  tooltip: r("form.fields.port.tooltip")
3035
3034
  },
3036
3035
  read_timeout: {
3037
- type: V.Text,
3038
- section: $.Basic,
3036
+ type: P.Text,
3037
+ section: A.Basic,
3039
3038
  label: r("form.fields.read_timeout.label"),
3040
3039
  tooltip: r("form.fields.read_timeout.tooltip")
3041
3040
  },
3042
3041
  send_timeout: {
3043
- type: V.Text,
3044
- section: $.Basic,
3042
+ type: P.Text,
3043
+ section: A.Basic,
3045
3044
  label: r("form.fields.send_timeout.label"),
3046
3045
  tooltip: r("form.fields.send_timeout.tooltip")
3047
3046
  },
3048
3047
  sentinel_master: {
3049
- type: V.Text,
3050
- section: $.Basic,
3048
+ type: P.Text,
3049
+ section: A.Basic,
3051
3050
  label: r("form.fields.sentinel_master.label"),
3052
3051
  tooltip: r("form.fields.sentinel_master.tooltip")
3053
3052
  },
3054
3053
  sentinel_nodes: {
3055
- type: V.JsonArray,
3056
- section: $.Basic,
3054
+ type: P.JsonArray,
3055
+ section: A.Basic,
3057
3056
  tooltip: r("form.fields.sentinel_nodes.tooltip")
3058
3057
  },
3059
3058
  sentinel_password: {
3060
- type: V.Redacted,
3061
- section: $.Basic,
3059
+ type: P.Redacted,
3060
+ section: A.Basic,
3062
3061
  label: r("form.fields.sentinel_password.label"),
3063
3062
  tooltip: r("form.fields.sentinel_password.tooltip")
3064
3063
  },
3065
3064
  sentinel_role: {
3066
- type: V.Text,
3067
- section: $.Basic,
3065
+ type: P.Text,
3066
+ section: A.Basic,
3068
3067
  label: r("form.fields.sentinel_role.label"),
3069
3068
  tooltip: r("form.fields.sentinel_role.tooltip")
3070
3069
  },
3071
3070
  sentinel_username: {
3072
- type: V.Text,
3073
- section: $.Basic,
3071
+ type: P.Text,
3072
+ section: A.Basic,
3074
3073
  label: r("form.fields.sentinel_username.label"),
3075
3074
  tooltip: r("form.fields.sentinel_username.tooltip")
3076
3075
  },
3077
3076
  server_name: {
3078
- type: V.Text,
3079
- section: $.Basic,
3077
+ type: P.Text,
3078
+ section: A.Basic,
3080
3079
  label: r("form.fields.server_name.label"),
3081
3080
  tooltip: r("form.fields.server_name.tooltip")
3082
3081
  },
3083
3082
  ssl_verify: {
3084
- type: V.Text,
3085
- section: $.Basic,
3083
+ type: P.Text,
3084
+ section: A.Basic,
3086
3085
  label: r("form.fields.ssl_verify.label"),
3087
3086
  tooltip: r("form.fields.ssl_verify.tooltip")
3088
3087
  },
3089
3088
  ssl: {
3090
- type: V.Text,
3091
- section: $.Basic,
3089
+ type: P.Text,
3090
+ section: A.Basic,
3092
3091
  label: r("form.fields.ssl.label"),
3093
3092
  tooltip: r("form.fields.ssl.tooltip")
3094
3093
  },
3095
3094
  timeout: {
3096
- type: V.Text,
3097
- section: $.Basic,
3095
+ type: P.Text,
3096
+ section: A.Basic,
3098
3097
  label: r("form.fields.timeout.label"),
3099
3098
  tooltip: r("form.fields.timeout.tooltip")
3100
3099
  },
3101
3100
  username: {
3102
- type: V.Text,
3103
- section: $.Basic,
3101
+ type: P.Text,
3102
+ section: A.Basic,
3104
3103
  label: r("form.fields.username.label"),
3105
3104
  tooltip: r("form.fields.username.tooltip")
3106
3105
  }
3107
- }, b = (l) => {
3108
- const S = {}, C = Object.keys(h);
3109
- for (const I of C)
3110
- l.includes(I) ? S[I] = {
3111
- ...h[I],
3112
- order: l.indexOf(I) + 1
3113
- } : S[I] = {
3114
- ...h[I],
3106
+ }, b = (y) => {
3107
+ const s = {}, I = Object.keys(w);
3108
+ for (const $ of I)
3109
+ y.includes($) ? s[$] = {
3110
+ ...w[$],
3111
+ order: y.indexOf($) + 1
3112
+ } : s[$] = {
3113
+ ...w[$],
3115
3114
  hidden: !0
3116
3115
  };
3117
- return S;
3118
- }, w = H(() => {
3119
- const l = ["id", "name", "tags", "type", "updated_at", "created_at"];
3116
+ return s;
3117
+ }, E = K(() => {
3118
+ const y = ["id", "name", "tags", "type", "updated_at", "created_at"];
3120
3119
  switch (f.value) {
3121
- case y.HOST_PORT_CE:
3120
+ case v.HOST_PORT_CE:
3122
3121
  return b([
3123
- ...l,
3122
+ ...y,
3124
3123
  "host",
3125
3124
  "port",
3126
3125
  "timeout",
@@ -3131,9 +3130,9 @@ const Ve = (e) => {
3131
3130
  "ssl_verify",
3132
3131
  "server_name"
3133
3132
  ]);
3134
- case y.HOST_PORT_EE:
3133
+ case v.HOST_PORT_EE:
3135
3134
  return b([
3136
- ...l,
3135
+ ...y,
3137
3136
  "host",
3138
3137
  "port",
3139
3138
  "connection_is_proxied",
@@ -3149,9 +3148,9 @@ const Ve = (e) => {
3149
3148
  "send_timeout",
3150
3149
  "connect_timeout"
3151
3150
  ]);
3152
- case y.CLUSTER:
3151
+ case v.CLUSTER:
3153
3152
  return b([
3154
- ...l,
3153
+ ...y,
3155
3154
  "cluster_nodes",
3156
3155
  "cluster_max_redirections",
3157
3156
  "database",
@@ -3166,9 +3165,9 @@ const Ve = (e) => {
3166
3165
  "send_timeout",
3167
3166
  "connect_timeout"
3168
3167
  ]);
3169
- case y.SENTINEL:
3168
+ case v.SENTINEL:
3170
3169
  return b([
3171
- ...l,
3170
+ ...y,
3172
3171
  "sentinel_master",
3173
3172
  "sentinel_role",
3174
3173
  "sentinel_nodes",
@@ -3190,22 +3189,22 @@ const Ve = (e) => {
3190
3189
  throw new Error("Invalid Redis type");
3191
3190
  }
3192
3191
  });
3193
- return (l, S) => (R(), q("div", $a, [
3192
+ return (y, s) => (k(), q("div", $a, [
3194
3193
  p(i(Dn), {
3195
3194
  "code-block-record-formatter": _,
3196
3195
  config: e.config,
3197
3196
  "config-card-doc": e.configCardDoc,
3198
- "config-schema": w.value,
3197
+ "config-schema": E.value,
3199
3198
  "entity-type": i(Ht).RedisConfiguration,
3200
3199
  "fetch-url": a.value,
3201
3200
  "hide-title": e.hideTitle,
3202
- "record-resolver": c,
3203
- "onFetch:error": S[0] || (S[0] = (C) => l.$emit("fetch:error", C)),
3201
+ "record-resolver": u,
3202
+ "onFetch:error": s[0] || (s[0] = (I) => y.$emit("fetch:error", I)),
3204
3203
  "onFetch:success": g,
3205
- onLoading: S[1] || (S[1] = (C) => l.$emit("loading", C))
3204
+ onLoading: s[1] || (s[1] = (I) => y.$emit("loading", I))
3206
3205
  }, {
3207
- type: T(() => [
3208
- K("div", null, B(s.value), 1)
3206
+ type: S(() => [
3207
+ z("div", null, F(l.value), 1)
3209
3208
  ]),
3210
3209
  _: 1
3211
3210
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
@@ -3213,16 +3212,16 @@ const Ve = (e) => {
3213
3212
  }
3214
3213
  }), Ya = {
3215
3214
  useLinkedPlugins: _n,
3216
- useLinkedPluginsFetcher: Ve
3215
+ useLinkedPluginsFetcher: $e
3217
3216
  };
3218
3217
  export {
3219
3218
  xa as DeleteWarningModal,
3220
3219
  Ia as LinkedPlugins,
3221
- ne as PartialType,
3220
+ ie as PartialType,
3222
3221
  Ja as RedisConfigurationConfigCard,
3223
3222
  Wa as RedisConfigurationForm,
3224
3223
  Ga as RedisConfigurationList,
3225
- y as RedisType,
3224
+ v as RedisType,
3226
3225
  Ya as composables,
3227
3226
  za as constants,
3228
3227
  qa as helpers