@kong-ui-public/entities-redis-configurations 0.3.6 → 0.4.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,58 +1,58 @@
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";
1
+ import { computed as K, reactive as Ut, ref as L, watch as ke, defineComponent as G, resolveComponent as U, openBlock as R, createElementBlock as q, createVNode as p, withCtx as S, renderSlot as bn, unref as i, mergeModels as Nt, useModel as jt, createTextVNode as Z, toDisplayString as F, createElementVNode as z, Fragment as qe, renderList as pt, createBlock as H, getCurrentInstance as yn, onMounted as vn, onUnmounted as hn, isReadonly as Tn, toRefs as wn, onBeforeMount as Sn, createCommentVNode as X, isRef as En, createSlots as Bt, Teleport as Cn, 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 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";
4
+ import { useAxios as mt, useErrors as kn, EntityBaseFormType as Xe, EntityBaseForm as Rn, SupportedEntityType as Ft, EntityFormSection as ue, EntityFilter as Ht, 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
5
  import { VaultSecretPickerProvider as De, VaultSecretPicker as Un } from "@kong-ui-public/entities-vaults";
6
- import { useRouter as zt } from "vue-router";
7
- import { TrashIcon as jn, AddCircleIcon as qt, AddIcon as Nn, DeployIcon as _t, RuntimesIcon as Bn } from "@kong/icons";
8
- import { createI18n as Fn, i18nTComponent as Hn } from "@kong-ui-public/i18n";
9
- import { PluginIcon as Wt } from "@kong-ui-public/entities-plugins";
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
- function Wn(e) {
12
- var t = zn.call(e, Ce), n = e[Ce];
6
+ import { useRouter as Kt } from "vue-router";
7
+ import { TrashIcon as Nn, AddCircleIcon as zt, AddIcon as jn, DeployIcon as Bn, ClipboardIcon as Fn, RefreshIcon as Hn } from "@kong/icons";
8
+ import { createI18n as Kn, i18nTComponent as zn } from "@kong-ui-public/i18n";
9
+ import { PluginIcon as qt } from "@kong-ui-public/entities-plugins";
10
+ var h = /* @__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))(h || {}), ie = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(ie || {}), Wt = typeof global == "object" && global && global.Object === Object && global, qn = typeof self == "object" && self && self.Object === Object && self, re = Wt || qn || Function("return this")(), Se = re.Symbol, Gt = Object.prototype, Wn = Gt.hasOwnProperty, Gn = Gt.toString, Ce = Se ? Se.toStringTag : void 0;
11
+ function Jn(e) {
12
+ var t = Wn.call(e, Ce), n = e[Ce];
13
13
  try {
14
14
  e[Ce] = void 0;
15
15
  var o = !0;
16
16
  } catch {
17
17
  }
18
- var r = qn.call(e);
18
+ var r = Gn.call(e);
19
19
  return o && (t ? e[Ce] = n : delete e[Ce]), r;
20
20
  }
21
- var Gn = Object.prototype, Jn = Gn.toString;
22
- function Yn(e) {
23
- return Jn.call(e);
21
+ var Yn = Object.prototype, Qn = Yn.toString;
22
+ function Xn(e) {
23
+ return Qn.call(e);
24
24
  }
25
- var Qn = "[object Null]", Xn = "[object Undefined]", bt = Se ? Se.toStringTag : void 0;
25
+ var Zn = "[object Null]", ei = "[object Undefined]", _t = Se ? Se.toStringTag : void 0;
26
26
  function Ve(e) {
27
- return e == null ? e === void 0 ? Xn : Qn : bt && bt in Object(e) ? Wn(e) : Yn(e);
27
+ return e == null ? e === void 0 ? ei : Zn : _t && _t in Object(e) ? Jn(e) : Xn(e);
28
28
  }
29
- function ke(e) {
29
+ function Re(e) {
30
30
  return e != null && typeof e == "object";
31
31
  }
32
32
  var Fe = Array.isArray;
33
- function Yt(e) {
33
+ function Jt(e) {
34
34
  var t = typeof e;
35
35
  return e != null && (t == "object" || t == "function");
36
36
  }
37
- var Zn = "[object AsyncFunction]", ei = "[object Function]", ti = "[object GeneratorFunction]", ni = "[object Proxy]";
38
- function Qt(e) {
39
- if (!Yt(e))
37
+ var ti = "[object AsyncFunction]", ni = "[object Function]", ii = "[object GeneratorFunction]", ri = "[object Proxy]";
38
+ function Yt(e) {
39
+ if (!Jt(e))
40
40
  return !1;
41
41
  var t = Ve(e);
42
- return t == ei || t == ti || t == Zn || t == ni;
42
+ return t == ni || t == ii || t == ti || t == ri;
43
43
  }
44
- var Ze = re["__core-js_shared__"], yt = function() {
44
+ var Ze = re["__core-js_shared__"], bt = function() {
45
45
  var e = /[^.]+$/.exec(Ze && Ze.keys && Ze.keys.IE_PROTO || "");
46
46
  return e ? "Symbol(src)_1." + e : "";
47
47
  }();
48
- function ii(e) {
49
- return !!yt && yt in e;
48
+ function oi(e) {
49
+ return !!bt && bt in e;
50
50
  }
51
- var ri = Function.prototype, oi = ri.toString;
51
+ var ai = Function.prototype, li = ai.toString;
52
52
  function _e(e) {
53
53
  if (e != null) {
54
54
  try {
55
- return oi.call(e);
55
+ return li.call(e);
56
56
  } catch {
57
57
  }
58
58
  try {
@@ -62,130 +62,130 @@ function _e(e) {
62
62
  }
63
63
  return "";
64
64
  }
65
- var ai = /[\\^$.*+?()[\]{}|]/g, li = /^\[object .+?Constructor\]$/, si = Function.prototype, di = Object.prototype, ui = si.toString, ci = di.hasOwnProperty, fi = RegExp(
66
- "^" + ui.call(ci).replace(ai, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
65
+ var si = /[\\^$.*+?()[\]{}|]/g, di = /^\[object .+?Constructor\]$/, ui = Function.prototype, ci = Object.prototype, fi = ui.toString, pi = ci.hasOwnProperty, mi = RegExp(
66
+ "^" + fi.call(pi).replace(si, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
67
67
  );
68
- function pi(e) {
69
- if (!Yt(e) || ii(e))
68
+ function gi(e) {
69
+ if (!Jt(e) || oi(e))
70
70
  return !1;
71
- var t = Qt(e) ? fi : li;
71
+ var t = Yt(e) ? mi : di;
72
72
  return t.test(_e(e));
73
73
  }
74
- function mi(e, t) {
74
+ function _i(e, t) {
75
75
  return e == null ? void 0 : e[t];
76
76
  }
77
77
  function Ee(e, t) {
78
- var n = mi(e, t);
79
- return pi(n) ? n : void 0;
78
+ var n = _i(e, t);
79
+ return gi(n) ? n : void 0;
80
80
  }
81
- var lt = Ee(re, "WeakMap"), gi = 9007199254740991, _i = /^(?:0|[1-9]\d*)$/;
82
- function bi(e, t) {
81
+ var lt = Ee(re, "WeakMap"), bi = 9007199254740991, yi = /^(?:0|[1-9]\d*)$/;
82
+ function vi(e, t) {
83
83
  var n = typeof e;
84
- return t = t ?? gi, !!t && (n == "number" || n != "symbol" && _i.test(e)) && e > -1 && e % 1 == 0 && e < t;
84
+ return t = t ?? bi, !!t && (n == "number" || n != "symbol" && yi.test(e)) && e > -1 && e % 1 == 0 && e < t;
85
85
  }
86
- function Xt(e, t) {
86
+ function Qt(e, t) {
87
87
  return e === t || e !== e && t !== t;
88
88
  }
89
- var yi = 9007199254740991;
90
- function Zt(e) {
91
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= yi;
92
- }
93
- function vi(e) {
94
- return e != null && Zt(e.length) && !Qt(e);
89
+ var hi = 9007199254740991;
90
+ function Xt(e) {
91
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= hi;
95
92
  }
96
- var hi = Object.prototype;
97
93
  function Ti(e) {
98
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || hi;
94
+ return e != null && Xt(e.length) && !Yt(e);
95
+ }
96
+ var wi = Object.prototype;
97
+ function Si(e) {
98
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || wi;
99
99
  return e === n;
100
100
  }
101
- function wi(e, t) {
101
+ function Ei(e, t) {
102
102
  for (var n = -1, o = Array(e); ++n < e; )
103
103
  o[n] = t(n);
104
104
  return o;
105
105
  }
106
- var Si = "[object Arguments]";
107
- function vt(e) {
108
- return ke(e) && Ve(e) == Si;
106
+ var Ci = "[object Arguments]";
107
+ function yt(e) {
108
+ return Re(e) && Ve(e) == Ci;
109
109
  }
110
- var en = Object.prototype, Ei = en.hasOwnProperty, Ci = en.propertyIsEnumerable, Ii = vt(/* @__PURE__ */ function() {
110
+ var Zt = Object.prototype, Ii = Zt.hasOwnProperty, ki = Zt.propertyIsEnumerable, Ri = yt(/* @__PURE__ */ function() {
111
111
  return arguments;
112
- }()) ? vt : function(e) {
113
- return ke(e) && Ei.call(e, "callee") && !Ci.call(e, "callee");
112
+ }()) ? yt : function(e) {
113
+ return Re(e) && Ii.call(e, "callee") && !ki.call(e, "callee");
114
114
  };
115
- function Ri() {
115
+ function Oi() {
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, 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
- function er(e) {
122
- return ke(e) && Zt(e.length) && !!V[Ve(e)];
118
+ var en = typeof exports == "object" && exports && !exports.nodeType && exports, vt = en && typeof module == "object" && module && !module.nodeType && module, xi = vt && vt.exports === en, ht = xi ? re.Buffer : void 0, Pi = ht ? ht.isBuffer : void 0, st = Pi || Oi, Ai = "[object Arguments]", Vi = "[object Array]", $i = "[object Boolean]", Li = "[object Date]", Mi = "[object Error]", Di = "[object Function]", Ui = "[object Map]", Ni = "[object Number]", ji = "[object Object]", Bi = "[object RegExp]", Fi = "[object Set]", Hi = "[object String]", Ki = "[object WeakMap]", zi = "[object ArrayBuffer]", qi = "[object DataView]", Wi = "[object Float32Array]", Gi = "[object Float64Array]", Ji = "[object Int8Array]", Yi = "[object Int16Array]", Qi = "[object Int32Array]", Xi = "[object Uint8Array]", Zi = "[object Uint8ClampedArray]", er = "[object Uint16Array]", tr = "[object Uint32Array]", V = {};
119
+ V[Wi] = V[Gi] = V[Ji] = V[Yi] = V[Qi] = V[Xi] = V[Zi] = V[er] = V[tr] = !0;
120
+ V[Ai] = V[Vi] = V[zi] = V[$i] = V[qi] = V[Li] = V[Mi] = V[Di] = V[Ui] = V[Ni] = V[ji] = V[Bi] = V[Fi] = V[Hi] = V[Ki] = !1;
121
+ function nr(e) {
122
+ return Re(e) && Xt(e.length) && !!V[Ve(e)];
123
123
  }
124
- function tr(e) {
124
+ function ir(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, Ie = nn && typeof module == "object" && module && !module.nodeType && module, nr = Ie && Ie.exports === nn, et = nr && Gt.process, wt = function() {
129
+ var tn = typeof exports == "object" && exports && !exports.nodeType && exports, Ie = tn && typeof module == "object" && module && !module.nodeType && module, rr = Ie && Ie.exports === tn, et = rr && Wt.process, Tt = function() {
130
130
  try {
131
131
  var e = Ie && Ie.require && Ie.require("util").types;
132
132
  return e || et && et.binding && et.binding("util");
133
133
  } catch {
134
134
  }
135
- }(), St = wt && wt.isTypedArray, rn = St ? tr(St) : er, ir = Object.prototype, rr = ir.hasOwnProperty;
136
- function or(e, t) {
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;
135
+ }(), wt = Tt && Tt.isTypedArray, nn = wt ? ir(wt) : nr, or = Object.prototype, ar = or.hasOwnProperty;
136
+ function lr(e, t) {
137
+ var n = Fe(e), o = !n && Ri(e), r = !n && !o && st(e), a = !n && !o && !r && nn(e), f = n || o || r || a, g = f ? Ei(e.length, String) : [], l = g.length;
138
138
  for (var u in e)
139
- rr.call(e, u) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
139
+ ar.call(e, u) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
140
140
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
141
141
  r && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
142
142
  a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
143
- bi(u, l))) && g.push(u);
143
+ vi(u, l))) && g.push(u);
144
144
  return g;
145
145
  }
146
- function ar(e, t) {
146
+ function sr(e, t) {
147
147
  return function(n) {
148
148
  return e(t(n));
149
149
  };
150
150
  }
151
- var lr = ar(Object.keys, Object), sr = Object.prototype, dr = sr.hasOwnProperty;
152
- function ur(e) {
153
- if (!Ti(e))
154
- return lr(e);
151
+ var dr = sr(Object.keys, Object), ur = Object.prototype, cr = ur.hasOwnProperty;
152
+ function fr(e) {
153
+ if (!Si(e))
154
+ return dr(e);
155
155
  var t = [];
156
156
  for (var n in Object(e))
157
- dr.call(e, n) && n != "constructor" && t.push(n);
157
+ cr.call(e, n) && n != "constructor" && t.push(n);
158
158
  return t;
159
159
  }
160
- function cr(e) {
161
- return vi(e) ? or(e) : ur(e);
160
+ function pr(e) {
161
+ return Ti(e) ? lr(e) : fr(e);
162
162
  }
163
163
  var Oe = Ee(Object, "create");
164
- function fr() {
164
+ function mr() {
165
165
  this.__data__ = Oe ? Oe(null) : {}, this.size = 0;
166
166
  }
167
- function pr(e) {
167
+ function gr(e) {
168
168
  var t = this.has(e) && delete this.__data__[e];
169
169
  return this.size -= t ? 1 : 0, t;
170
170
  }
171
- var mr = "__lodash_hash_undefined__", gr = Object.prototype, _r = gr.hasOwnProperty;
172
- function br(e) {
171
+ var _r = "__lodash_hash_undefined__", br = Object.prototype, yr = br.hasOwnProperty;
172
+ function vr(e) {
173
173
  var t = this.__data__;
174
174
  if (Oe) {
175
175
  var n = t[e];
176
- return n === mr ? void 0 : n;
176
+ return n === _r ? void 0 : n;
177
177
  }
178
- return _r.call(t, e) ? t[e] : void 0;
178
+ return yr.call(t, e) ? t[e] : void 0;
179
179
  }
180
- var yr = Object.prototype, vr = yr.hasOwnProperty;
181
- function hr(e) {
180
+ var hr = Object.prototype, Tr = hr.hasOwnProperty;
181
+ function wr(e) {
182
182
  var t = this.__data__;
183
- return Oe ? t[e] !== void 0 : vr.call(t, e);
183
+ return Oe ? t[e] !== void 0 : Tr.call(t, e);
184
184
  }
185
- var Tr = "__lodash_hash_undefined__";
186
- function wr(e, t) {
185
+ var Sr = "__lodash_hash_undefined__";
186
+ function Er(e, t) {
187
187
  var n = this.__data__;
188
- return this.size += this.has(e) ? 0 : 1, n[e] = Oe && t === void 0 ? Tr : t, this;
188
+ return this.size += this.has(e) ? 0 : 1, n[e] = Oe && t === void 0 ? Sr : t, this;
189
189
  }
190
190
  function ge(e) {
191
191
  var t = -1, n = e == null ? 0 : e.length;
@@ -194,36 +194,36 @@ function ge(e) {
194
194
  this.set(o[0], o[1]);
195
195
  }
196
196
  }
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
- function Sr() {
197
+ ge.prototype.clear = mr;
198
+ ge.prototype.delete = gr;
199
+ ge.prototype.get = vr;
200
+ ge.prototype.has = wr;
201
+ ge.prototype.set = Er;
202
+ function Cr() {
203
203
  this.__data__ = [], this.size = 0;
204
204
  }
205
205
  function We(e, t) {
206
206
  for (var n = e.length; n--; )
207
- if (Xt(e[n][0], t))
207
+ if (Qt(e[n][0], t))
208
208
  return n;
209
209
  return -1;
210
210
  }
211
- var Er = Array.prototype, Cr = Er.splice;
212
- function Ir(e) {
211
+ var Ir = Array.prototype, kr = Ir.splice;
212
+ function Rr(e) {
213
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
- return n == o ? t.pop() : Cr.call(t, n, 1), --this.size, !0;
217
+ return n == o ? t.pop() : kr.call(t, n, 1), --this.size, !0;
218
218
  }
219
- function Rr(e) {
219
+ function Or(e) {
220
220
  var t = this.__data__, n = We(t, e);
221
221
  return n < 0 ? void 0 : t[n][1];
222
222
  }
223
- function kr(e) {
223
+ function xr(e) {
224
224
  return We(this.__data__, e) > -1;
225
225
  }
226
- function Or(e, t) {
226
+ function Pr(e, t) {
227
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
  }
@@ -234,38 +234,38 @@ function oe(e) {
234
234
  this.set(o[0], o[1]);
235
235
  }
236
236
  }
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;
237
+ oe.prototype.clear = Cr;
238
+ oe.prototype.delete = Rr;
239
+ oe.prototype.get = Or;
240
+ oe.prototype.has = xr;
241
+ oe.prototype.set = Pr;
242
242
  var xe = Ee(re, "Map");
243
- function xr() {
243
+ function Ar() {
244
244
  this.size = 0, this.__data__ = {
245
245
  hash: new ge(),
246
246
  map: new (xe || oe)(),
247
247
  string: new ge()
248
248
  };
249
249
  }
250
- function Pr(e) {
250
+ function Vr(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
254
  function Ge(e, t) {
255
255
  var n = e.__data__;
256
- return Pr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
256
+ return Vr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
257
257
  }
258
- function Ar(e) {
258
+ function $r(e) {
259
259
  var t = Ge(this, e).delete(e);
260
260
  return this.size -= t ? 1 : 0, t;
261
261
  }
262
- function Vr(e) {
262
+ function Lr(e) {
263
263
  return Ge(this, e).get(e);
264
264
  }
265
- function $r(e) {
265
+ function Mr(e) {
266
266
  return Ge(this, e).has(e);
267
267
  }
268
- function Lr(e, t) {
268
+ function Dr(e, t) {
269
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
  }
@@ -276,35 +276,35 @@ function be(e) {
276
276
  this.set(o[0], o[1]);
277
277
  }
278
278
  }
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
- function Mr(e, t) {
279
+ be.prototype.clear = Ar;
280
+ be.prototype.delete = $r;
281
+ be.prototype.get = Lr;
282
+ be.prototype.has = Mr;
283
+ be.prototype.set = Dr;
284
+ function Ur(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
- function Dr() {
289
+ function Nr() {
290
290
  this.__data__ = new oe(), this.size = 0;
291
291
  }
292
- function Ur(e) {
292
+ function jr(e) {
293
293
  var t = this.__data__, n = t.delete(e);
294
294
  return this.size = t.size, n;
295
295
  }
296
- function jr(e) {
296
+ function Br(e) {
297
297
  return this.__data__.get(e);
298
298
  }
299
- function Nr(e) {
299
+ function Fr(e) {
300
300
  return this.__data__.has(e);
301
301
  }
302
- var Br = 200;
303
- function Fr(e, t) {
302
+ var Hr = 200;
303
+ function Kr(e, t) {
304
304
  var n = this.__data__;
305
305
  if (n instanceof oe) {
306
306
  var o = n.__data__;
307
- if (!xe || o.length < Br - 1)
307
+ if (!xe || o.length < Hr - 1)
308
308
  return o.push([e, t]), this.size = ++n.size, this;
309
309
  n = this.__data__ = new be(o);
310
310
  }
@@ -314,56 +314,56 @@ function fe(e) {
314
314
  var t = this.__data__ = new oe(e);
315
315
  this.size = t.size;
316
316
  }
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
- function Hr(e, t) {
317
+ fe.prototype.clear = Nr;
318
+ fe.prototype.delete = jr;
319
+ fe.prototype.get = Br;
320
+ fe.prototype.has = Fr;
321
+ fe.prototype.set = Kr;
322
+ function zr(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];
325
325
  t(f, n, e) && (a[r++] = f);
326
326
  }
327
327
  return a;
328
328
  }
329
- function Kr() {
329
+ function qr() {
330
330
  return [];
331
331
  }
332
- var zr = Object.prototype, qr = zr.propertyIsEnumerable, Et = Object.getOwnPropertySymbols, Wr = Et ? function(e) {
333
- return e == null ? [] : (e = Object(e), Hr(Et(e), function(t) {
334
- return qr.call(e, t);
332
+ var Wr = Object.prototype, Gr = Wr.propertyIsEnumerable, St = Object.getOwnPropertySymbols, Jr = St ? function(e) {
333
+ return e == null ? [] : (e = Object(e), zr(St(e), function(t) {
334
+ return Gr.call(e, t);
335
335
  }));
336
- } : Kr;
337
- function Gr(e, t, n) {
336
+ } : qr;
337
+ function Yr(e, t, n) {
338
338
  var o = t(e);
339
- return Fe(e) ? o : Mr(o, n(e));
339
+ return Fe(e) ? o : Ur(o, n(e));
340
340
  }
341
- function Ct(e) {
342
- return Gr(e, cr, Wr);
341
+ function Et(e) {
342
+ return Yr(e, pr, Jr);
343
343
  }
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) : "";
344
+ var dt = Ee(re, "DataView"), ut = Ee(re, "Promise"), ct = Ee(re, "Set"), Ct = "[object Map]", Qr = "[object Object]", It = "[object Promise]", kt = "[object Set]", Rt = "[object WeakMap]", Ot = "[object DataView]", Xr = _e(dt), Zr = _e(xe), eo = _e(ut), to = _e(ct), no = _e(lt), ce = Ve;
345
+ (dt && ce(new dt(new ArrayBuffer(1))) != Ot || xe && ce(new xe()) != Ct || ut && ce(ut.resolve()) != It || ct && ce(new ct()) != kt || lt && ce(new lt()) != Rt) && (ce = function(e) {
346
+ var t = Ve(e), n = t == Qr ? e.constructor : void 0, o = n ? _e(n) : "";
347
347
  if (o)
348
348
  switch (o) {
349
- case Yr:
350
- return xt;
351
- case Qr:
352
- return It;
353
349
  case Xr:
354
- return Rt;
350
+ return Ot;
355
351
  case Zr:
356
- return kt;
352
+ return Ct;
357
353
  case eo:
358
- return Ot;
354
+ return It;
355
+ case to:
356
+ return kt;
357
+ case no:
358
+ return Rt;
359
359
  }
360
360
  return t;
361
361
  });
362
- var Pt = re.Uint8Array, to = "__lodash_hash_undefined__";
363
- function no(e) {
364
- return this.__data__.set(e, to), this;
362
+ var xt = re.Uint8Array, io = "__lodash_hash_undefined__";
363
+ function ro(e) {
364
+ return this.__data__.set(e, io), this;
365
365
  }
366
- function io(e) {
366
+ function oo(e) {
367
367
  return this.__data__.has(e);
368
368
  }
369
369
  function He(e) {
@@ -371,26 +371,26 @@ function He(e) {
371
371
  for (this.__data__ = new be(); ++t < n; )
372
372
  this.add(e[t]);
373
373
  }
374
- He.prototype.add = He.prototype.push = no;
375
- He.prototype.has = io;
376
- function ro(e, t) {
374
+ He.prototype.add = He.prototype.push = ro;
375
+ He.prototype.has = oo;
376
+ function ao(e, t) {
377
377
  for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
378
378
  if (t(e[n], n, e))
379
379
  return !0;
380
380
  return !1;
381
381
  }
382
- function oo(e, t) {
382
+ function lo(e, t) {
383
383
  return e.has(t);
384
384
  }
385
- var ao = 1, lo = 2;
386
- function on(e, t, n, o, r, a) {
387
- var f = n & ao, g = e.length, l = t.length;
385
+ var so = 1, uo = 2;
386
+ function rn(e, t, n, o, r, a) {
387
+ var f = n & so, g = e.length, l = t.length;
388
388
  if (g != l && !(f && l > g))
389
389
  return !1;
390
390
  var u = a.get(e), _ = a.get(t);
391
391
  if (u && _)
392
392
  return u == t && _ == e;
393
- var w = -1, b = !0, E = n & lo ? new He() : void 0;
393
+ var w = -1, b = !0, E = n & uo ? new He() : void 0;
394
394
  for (a.set(e, t), a.set(t, e); ++w < g; ) {
395
395
  var y = e[w], s = t[w];
396
396
  if (o)
@@ -402,8 +402,8 @@ function on(e, t, n, o, r, a) {
402
402
  break;
403
403
  }
404
404
  if (E) {
405
- if (!ro(t, function($, d) {
406
- if (!oo(E, d) && (y === $ || r(y, $, n, o, a)))
405
+ if (!ao(t, function($, d) {
406
+ if (!lo(E, d) && (y === $ || r(y, $, n, o, a)))
407
407
  return E.push(d);
408
408
  })) {
409
409
  b = !1;
@@ -416,62 +416,62 @@ function on(e, t, n, o, r, a) {
416
416
  }
417
417
  return a.delete(e), a.delete(t), b;
418
418
  }
419
- function so(e) {
419
+ function co(e) {
420
420
  var t = -1, n = Array(e.size);
421
421
  return e.forEach(function(o, r) {
422
422
  n[++t] = [r, o];
423
423
  }), n;
424
424
  }
425
- function uo(e) {
425
+ function fo(e) {
426
426
  var t = -1, n = Array(e.size);
427
427
  return e.forEach(function(o) {
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]", At = Se ? Se.prototype : void 0, tt = At ? At.valueOf : void 0;
432
- function Eo(e, t, n, o, r, a, f) {
431
+ var po = 1, mo = 2, go = "[object Boolean]", _o = "[object Date]", bo = "[object Error]", yo = "[object Map]", vo = "[object Number]", ho = "[object RegExp]", To = "[object Set]", wo = "[object String]", So = "[object Symbol]", Eo = "[object ArrayBuffer]", Co = "[object DataView]", Pt = Se ? Se.prototype : void 0, tt = Pt ? Pt.valueOf : void 0;
432
+ function Io(e, t, n, o, r, a, f) {
433
433
  switch (n) {
434
- case So:
434
+ case Co:
435
435
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
436
436
  return !1;
437
437
  e = e.buffer, t = t.buffer;
438
- case wo:
439
- return !(e.byteLength != t.byteLength || !a(new Pt(e), new Pt(t)));
440
- case po:
441
- case mo:
442
- case bo:
443
- return Xt(+e, +t);
438
+ case Eo:
439
+ return !(e.byteLength != t.byteLength || !a(new xt(e), new xt(t)));
444
440
  case go:
441
+ case _o:
442
+ case vo:
443
+ return Qt(+e, +t);
444
+ case bo:
445
445
  return e.name == t.name && e.message == t.message;
446
- case yo:
447
446
  case ho:
447
+ case wo:
448
448
  return e == t + "";
449
- case _o:
450
- var g = so;
451
- case vo:
452
- var l = o & co;
453
- if (g || (g = uo), e.size != t.size && !l)
449
+ case yo:
450
+ var g = co;
451
+ case To:
452
+ var l = o & po;
453
+ if (g || (g = fo), e.size != t.size && !l)
454
454
  return !1;
455
455
  var u = f.get(e);
456
456
  if (u)
457
457
  return u == t;
458
- o |= fo, f.set(e, t);
459
- var _ = on(g(e), g(t), o, r, a, f);
458
+ o |= mo, f.set(e, t);
459
+ var _ = rn(g(e), g(t), o, r, a, f);
460
460
  return f.delete(e), _;
461
- case To:
461
+ case So:
462
462
  if (tt)
463
463
  return tt.call(e) == tt.call(t);
464
464
  }
465
465
  return !1;
466
466
  }
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;
467
+ var ko = 1, Ro = Object.prototype, Oo = Ro.hasOwnProperty;
468
+ function xo(e, t, n, o, r, a) {
469
+ var f = n & ko, g = Et(e), l = g.length, u = Et(t), _ = u.length;
470
470
  if (l != _ && !f)
471
471
  return !1;
472
472
  for (var w = l; w--; ) {
473
473
  var b = g[w];
474
- if (!(f ? b in t : Ro.call(t, b)))
474
+ if (!(f ? b in t : Oo.call(t, b)))
475
475
  return !1;
476
476
  }
477
477
  var E = a.get(e), y = a.get(t);
@@ -491,15 +491,15 @@ function ko(e, t, n, o, r, a) {
491
491
  I || (I = b == "constructor");
492
492
  }
493
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);
494
+ var j = e.constructor, O = t.constructor;
495
+ j != O && "constructor" in e && "constructor" in t && !(typeof j == "function" && j instanceof j && typeof O == "function" && O instanceof O) && (s = !1);
496
496
  }
497
497
  return a.delete(e), a.delete(t), s;
498
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;
499
+ var Po = 1, At = "[object Arguments]", Vt = "[object Array]", Ue = "[object Object]", Ao = Object.prototype, $t = Ao.hasOwnProperty;
500
+ function Vo(e, t, n, o, r, a) {
501
+ var f = Fe(e), g = Fe(t), l = f ? Vt : ce(e), u = g ? Vt : ce(t);
502
+ l = l == At ? Ue : l, u = u == At ? Ue : u;
503
503
  var _ = l == Ue, w = u == Ue, b = l == u;
504
504
  if (b && st(e)) {
505
505
  if (!st(t))
@@ -507,52 +507,52 @@ function Po(e, t, n, o, r, a) {
507
507
  f = !0, _ = !1;
508
508
  }
509
509
  if (b && !_)
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
- if (!(n & Oo)) {
512
- var E = _ && Lt.call(e, "__wrapped__"), y = w && Lt.call(t, "__wrapped__");
510
+ return a || (a = new fe()), f || nn(e) ? rn(e, t, n, o, r, a) : Io(e, t, l, n, o, r, a);
511
+ if (!(n & Po)) {
512
+ var E = _ && $t.call(e, "__wrapped__"), y = w && $t.call(t, "__wrapped__");
513
513
  if (E || y) {
514
514
  var s = E ? e.value() : e, I = y ? t.value() : t;
515
515
  return a || (a = new fe()), r(s, I, n, o, a);
516
516
  }
517
517
  }
518
- return b ? (a || (a = new fe()), ko(e, t, n, o, r, a)) : !1;
518
+ return b ? (a || (a = new fe()), xo(e, t, n, o, r, a)) : !1;
519
519
  }
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 : Po(e, t, n, o, an, r);
520
+ function on(e, t, n, o, r) {
521
+ return e === t ? !0 : e == null || t == null || !Re(e) && !Re(t) ? e !== e && t !== t : Vo(e, t, n, o, on, r);
522
522
  }
523
- function Ao(e, t) {
524
- return an(e, t);
523
+ function $o(e, t) {
524
+ return on(e, t);
525
525
  }
526
526
  var B = [];
527
527
  for (var nt = 0; nt < 256; ++nt)
528
528
  B.push((nt + 256).toString(16).slice(1));
529
- function Vo(e, t = 0) {
529
+ function Lo(e, t = 0) {
530
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 je, $o = new Uint8Array(16);
533
- function Lo() {
534
- if (!je && (je = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !je))
532
+ var Ne, Mo = new Uint8Array(16);
533
+ function Do() {
534
+ if (!Ne && (Ne = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ne))
535
535
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
536
- return je($o);
536
+ return Ne(Mo);
537
537
  }
538
- var Mo = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
539
- const Mt = {
540
- randomUUID: Mo
538
+ var Uo = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
539
+ const Lt = {
540
+ randomUUID: Uo
541
541
  };
542
- function Do(e, t, n) {
543
- if (Mt.randomUUID && !t && !e)
544
- return Mt.randomUUID();
542
+ function No(e, t, n) {
543
+ if (Lt.randomUUID && !t && !e)
544
+ return Lt.randomUUID();
545
545
  e = e || {};
546
- var o = e.random || (e.rng || Lo)();
547
- return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Vo(o);
546
+ var o = e.random || (e.rng || Do)();
547
+ return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Lo(o);
548
548
  }
549
- const ln = {
549
+ const an = {
550
550
  ip: "127.0.0.1",
551
551
  port: 6379
552
- }, sn = {
552
+ }, ln = {
553
553
  host: "127.0.0.1",
554
554
  port: 6379
555
- }, we = v.HOST_PORT_EE, dn = {
555
+ }, we = h.HOST_PORT_EE, sn = {
556
556
  port: 6379,
557
557
  host: "127.0.0.1",
558
558
  database: 0,
@@ -574,19 +574,19 @@ const ln = {
574
574
  cluster_max_redirections: 0,
575
575
  connection_is_proxied: !1,
576
576
  timeout: 2e3
577
- }, za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
577
+ }, Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
578
578
  __proto__: null,
579
- DEFAULT_CLUSTER_NODE: ln,
580
- DEFAULT_FIELDS: dn,
579
+ DEFAULT_CLUSTER_NODE: an,
580
+ DEFAULT_FIELDS: sn,
581
581
  DEFAULT_REDIS_TYPE: we,
582
- DEFAULT_SENTINEL_NODE: sn
583
- }, Symbol.toStringTag, { value: "Module" })), Pe = (e) => ({ ...e, id: Do() }), ft = (e) => {
582
+ DEFAULT_SENTINEL_NODE: ln
583
+ }, Symbol.toStringTag, { value: "Module" })), Pe = (e) => ({ ...e, id: No() }), ft = (e) => {
584
584
  const { id: t, ...n } = e;
585
585
  return n;
586
- }, un = () => Pe(sn), cn = () => Pe(ln), Je = (e) => {
586
+ }, dn = () => Pe(ln), un = () => Pe(an), Je = (e) => {
587
587
  var t, n;
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 = {
588
+ return e.type === ie.REDIS_CE ? h.HOST_PORT_CE : (t = e.config.sentinel_nodes) != null && t.length ? h.SENTINEL : (n = e.config.cluster_nodes) != null && n.length ? h.CLUSTER : h.HOST_PORT_EE;
589
+ }, Ke = (e) => e === h.HOST_PORT_CE ? ie.REDIS_CE : ie.REDIS_EE, v = {
590
590
  int(e, t) {
591
591
  return e == null ? t : parseInt(e.toString(), 10);
592
592
  },
@@ -596,13 +596,13 @@ const ln = {
596
596
  removeIdClusterNodes(e) {
597
597
  return e.map((t) => ({
598
598
  ...ft(t),
599
- port: h.int(t.port)
599
+ port: v.int(t.port)
600
600
  }));
601
601
  },
602
602
  removeIdFromSentinelNodes(e) {
603
603
  return e.map((t) => ({
604
604
  ...ft(t),
605
- port: h.int(t.port)
605
+ port: v.int(t.port)
606
606
  }));
607
607
  },
608
608
  addIdToClusterNodes(e) {
@@ -623,24 +623,24 @@ const ln = {
623
623
  arrayToString(e, t = ", ") {
624
624
  return e ? e.join(t) : "";
625
625
  }
626
- }, qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
626
+ }, Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
627
627
  __proto__: null,
628
- genDefaultClusterNode: cn,
629
- genDefaultSentinelNode: un,
628
+ genDefaultClusterNode: un,
629
+ genDefaultSentinelNode: dn,
630
630
  getRedisType: Je,
631
631
  mapRedisTypeToPartialType: Ke,
632
632
  shallowCopyWithId: Pe,
633
633
  shallowCopyWithoutId: ft,
634
- standardize: h
635
- }, Symbol.toStringTag, { value: "Module" })), Ne = "/v2/control-planes/{controlPlaneId}/core-entities", Be = "/{workspace}", Ae = {
634
+ standardize: v
635
+ }, Symbol.toStringTag, { value: "Module" })), je = "/v2/control-planes/{controlPlaneId}/core-entities", Be = "/{workspace}", Ae = {
636
636
  list: {
637
- konnect: `${Ne}/partials`,
637
+ konnect: `${je}/partials`,
638
638
  kongManager: `${Be}/partials`
639
639
  },
640
640
  form: {
641
641
  konnect: {
642
- create: `${Ne}/partials`,
643
- edit: `${Ne}/partials/{id}`
642
+ create: `${je}/partials`,
643
+ edit: `${je}/partials/{id}`
644
644
  },
645
645
  kongManager: {
646
646
  create: `${Be}/partials`,
@@ -648,78 +648,78 @@ const ln = {
648
648
  }
649
649
  },
650
650
  links: {
651
- konnect: `${Ne}/partials/{id}/links`,
651
+ konnect: `${je}/partials/{id}/links`,
652
652
  kongManager: `${Be}/partials/{id}/links`
653
653
  }
654
- }, Uo = (e) => {
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({
654
+ }, jo = (e) => {
655
+ const { partialId: t, config: n, defaultRedisType: o = we } = e, r = !!t, { axiosInstance: a } = mt(n.axiosRequestConfig), { getMessageFromError: f } = kn(), g = K(() => t ? Xe.Edit : Xe.Create), l = Ut({
656
656
  fields: {
657
657
  name: "",
658
658
  tags: "",
659
659
  type: Ke(o),
660
- config: JSON.parse(JSON.stringify(dn))
660
+ config: JSON.parse(JSON.stringify(sn))
661
661
  },
662
662
  readonly: !1,
663
663
  errorMessage: ""
664
- }), u = L(), _ = L(o), w = K(() => _.value === v.HOST_PORT_EE || _.value === v.CLUSTER || _.value === v.SENTINEL);
665
- Re(_, (d) => {
664
+ }), u = L(), _ = L(o), w = K(() => _.value === h.HOST_PORT_EE || _.value === h.CLUSTER || _.value === h.SENTINEL);
665
+ ke(_, (d) => {
666
666
  l.fields.type = Ke(d);
667
667
  });
668
668
  const b = K(() => {
669
669
  var T;
670
- if (r && Ao(u.value, E.value) || !l.fields.name.length)
670
+ if (r && $o(u.value, E.value) || !l.fields.name.length)
671
671
  return !1;
672
672
  const { config: d } = l.fields;
673
673
  switch (_.value) {
674
- case v.HOST_PORT_CE:
675
- case v.HOST_PORT_EE:
674
+ case h.HOST_PORT_CE:
675
+ case h.HOST_PORT_EE:
676
676
  return !!d.host && d.host.length > 0 && !!d.port && d.port > 0;
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;
677
+ case h.CLUSTER:
678
+ return !!d.cluster_nodes.length && d.cluster_nodes.every((j) => j.ip.length > 0);
679
+ case h.SENTINEL:
680
+ return !!d.sentinel_nodes.length && d.sentinel_nodes.every((j) => j.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
684
  }), E = K(() => {
685
685
  switch (_.value) {
686
- case v.HOST_PORT_CE:
686
+ case h.HOST_PORT_CE:
687
687
  return {
688
688
  name: l.fields.name,
689
689
  type: l.fields.type,
690
- tags: h.stringToArray(l.fields.tags),
690
+ tags: v.stringToArray(l.fields.tags),
691
691
  config: {
692
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),
693
+ port: v.int(l.fields.config.port),
694
+ timeout: v.int(l.fields.config.timeout),
695
+ username: v.str(l.fields.config.username, null),
696
+ database: v.int(l.fields.config.database),
697
+ password: v.str(l.fields.config.password, null),
698
698
  ssl: l.fields.config.ssl,
699
699
  ssl_verify: l.fields.config.ssl_verify,
700
- server_name: h.str(l.fields.config.server_name, null)
700
+ server_name: v.str(l.fields.config.server_name, null)
701
701
  }
702
702
  };
703
- case v.HOST_PORT_EE:
703
+ case h.HOST_PORT_EE:
704
704
  return {
705
705
  name: l.fields.name,
706
706
  type: l.fields.type,
707
- tags: h.stringToArray(l.fields.tags),
707
+ tags: v.stringToArray(l.fields.tags),
708
708
  config: {
709
- connect_timeout: h.int(l.fields.config.connect_timeout),
709
+ connect_timeout: v.int(l.fields.config.connect_timeout),
710
710
  connection_is_proxied: l.fields.config.connection_is_proxied,
711
- database: h.int(l.fields.config.database),
711
+ database: v.int(l.fields.config.database),
712
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),
713
+ keepalive_backlog: v.int(l.fields.config.keepalive_backlog),
714
+ keepalive_pool_size: v.int(l.fields.config.keepalive_pool_size),
715
+ password: v.str(l.fields.config.password, null),
716
+ port: v.int(l.fields.config.port),
717
+ read_timeout: v.int(l.fields.config.read_timeout),
718
+ send_timeout: v.int(l.fields.config.send_timeout),
719
+ server_name: v.str(l.fields.config.server_name, null),
720
720
  ssl_verify: l.fields.config.ssl_verify,
721
721
  ssl: l.fields.config.ssl,
722
- username: h.str(l.fields.config.username, null),
722
+ username: v.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 v.CLUSTER:
733
+ case h.CLUSTER:
734
734
  return {
735
735
  name: l.fields.name,
736
736
  type: l.fields.type,
737
- tags: h.stringToArray(l.fields.tags),
737
+ tags: v.stringToArray(l.fields.tags),
738
738
  config: {
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),
739
+ cluster_nodes: v.removeIdClusterNodes(l.fields.config.cluster_nodes),
740
+ cluster_max_redirections: v.int(l.fields.config.cluster_max_redirections),
741
+ username: v.str(l.fields.config.username, null),
742
+ password: v.str(l.fields.config.password, null),
743
743
  ssl: l.fields.config.ssl,
744
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),
745
+ server_name: v.str(l.fields.config.server_name, null),
746
+ connect_timeout: v.int(l.fields.config.connect_timeout),
747
+ database: v.int(l.fields.config.database),
748
+ send_timeout: v.int(l.fields.config.send_timeout),
749
+ read_timeout: v.int(l.fields.config.read_timeout),
750
+ keepalive_pool_size: v.int(l.fields.config.keepalive_pool_size),
751
+ keepalive_backlog: v.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 v.SENTINEL:
763
+ case h.SENTINEL:
764
764
  return {
765
765
  name: l.fields.name,
766
766
  type: l.fields.type,
767
- tags: h.stringToArray(l.fields.tags),
767
+ tags: v.stringToArray(l.fields.tags),
768
768
  config: {
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),
769
+ sentinel_master: v.str(l.fields.config.sentinel_master, null),
770
+ sentinel_nodes: v.removeIdFromSentinelNodes(l.fields.config.sentinel_nodes),
771
+ sentinel_role: v.str(l.fields.config.sentinel_role, null),
772
+ sentinel_username: v.str(l.fields.config.sentinel_username, null),
773
+ sentinel_password: v.str(l.fields.config.sentinel_password, null),
774
+ username: v.str(l.fields.config.username, null),
775
+ password: v.str(l.fields.config.password, null),
776
776
  ssl: l.fields.config.ssl,
777
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),
778
+ server_name: v.str(l.fields.config.server_name, null),
779
+ database: v.int(l.fields.config.database),
780
+ connect_timeout: v.int(l.fields.config.connect_timeout),
781
+ send_timeout: v.int(l.fields.config.send_timeout),
782
+ read_timeout: v.int(l.fields.config.read_timeout),
783
+ keepalive_pool_size: v.int(l.fields.config.keepalive_pool_size),
784
+ keepalive_backlog: v.int(l.fields.config.keepalive_backlog),
785
785
  // reset other EE fields
786
786
  connection_is_proxied: null,
787
787
  cluster_nodes: null,
@@ -811,7 +811,12 @@ const ln = {
811
811
  fetchUrl: s,
812
812
  submit: async () => {
813
813
  try {
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);
814
+ l.readonly = !0, l.errorMessage = "";
815
+ let d = E.value;
816
+ return n.app === "konnect" && (d = {
817
+ ...d,
818
+ config: v.removeNullValues(d.config)
819
+ }), g.value === Xe.Create ? await a.post(y.value, d) : n.app === "konnect" ? await a.put(y.value, d) : await a.patch(y.value, d);
815
820
  } catch (d) {
816
821
  throw l.errorMessage = f(d), l.readonly = !1, d;
817
822
  }
@@ -820,12 +825,12 @@ const ln = {
820
825
  l.fields.config = Object.assign(
821
826
  {},
822
827
  l.fields.config,
823
- h.removeNullValues(d.config)
828
+ v.removeNullValues(d.config)
824
829
  // remove null values if data, so they can be replaced with default values
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));
830
+ ), l.fields.config.sentinel_nodes = v.addIdToSentinelNodes(d.config.sentinel_nodes ?? []), l.fields.config.cluster_nodes = v.addIdToClusterNodes(d.config.cluster_nodes ?? []), l.fields.name = d.name, l.fields.type = d.type, l.fields.tags = v.arrayToString(d.tags), _.value = Je(d), u.value = JSON.parse(JSON.stringify(E.value));
826
831
  }
827
832
  };
828
- }, jo = { class: "array-card-container" }, No = /* @__PURE__ */ G({
833
+ }, Bo = { class: "array-card-container" }, Fo = /* @__PURE__ */ G({
829
834
  __name: "FieldArrayCardContainer",
830
835
  props: {
831
836
  model: {
@@ -849,10 +854,10 @@ const ln = {
849
854
  setup(e) {
850
855
  return (t, n) => {
851
856
  const o = U("KCard"), r = U("KButton");
852
- return k(), q("div", jo, [
857
+ return R(), q("div", Bo, [
853
858
  p(o, { class: "card" }, {
854
859
  default: S(() => [
855
- yn(t.$slots, "default", {}, void 0, !0)
860
+ bn(t.$slots, "default", {}, void 0, !0)
856
861
  ]),
857
862
  _: 3
858
863
  }),
@@ -863,7 +868,7 @@ const ln = {
863
868
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
864
869
  }, {
865
870
  default: S(() => [
866
- p(i(jn))
871
+ p(i(Nn))
867
872
  ]),
868
873
  _: 1
869
874
  }, 8, ["disabled"])
@@ -875,7 +880,7 @@ const ln = {
875
880
  for (const [o, r] of t)
876
881
  n[o] = r;
877
882
  return n;
878
- }, fn = /* @__PURE__ */ ae(No, [["__scopeId", "data-v-a2c96337"]]), Bo = {
883
+ }, cn = /* @__PURE__ */ ae(Fo, [["__scopeId", "data-v-a2c96337"]]), Ho = {
879
884
  create: "New Redis Configuration",
880
885
  copy_id: "Copy ID",
881
886
  copy_json: "Copy JSON",
@@ -886,16 +891,17 @@ const ln = {
886
891
  loading: "Loading...",
887
892
  view_plugin: "View Plugin",
888
893
  close: "Close"
889
- }, Fo = {
894
+ }, Ko = {
890
895
  placeholder: "Filter by name",
896
+ placeholder_for_exact_match: "Filter by exact ID",
891
897
  no_results: "No results found"
892
- }, Ho = {
898
+ }, zo = {
893
899
  copy: "Failed to copy to clipboard",
894
900
  general: "Redis configuration could not be retrieved",
895
901
  delete: "The redis configuration could not be deleted at this time."
896
- }, Ko = {
902
+ }, qo = {
897
903
  success: "Copied {val} to clipboard"
898
- }, zo = {
904
+ }, Wo = {
899
905
  sections: {
900
906
  type: {
901
907
  title: "Redis type",
@@ -1075,19 +1081,19 @@ const ln = {
1075
1081
  plugin_count: "{count} plugin(s)",
1076
1082
  confirm: "Confirm"
1077
1083
  }
1078
- }, qo = {
1084
+ }, Go = {
1079
1085
  title: "Associated plugins ({count})",
1080
1086
  headers: {
1081
1087
  plugin: "Plugin",
1082
1088
  instance_name: "Name"
1083
1089
  }
1084
- }, Wo = {
1090
+ }, Jo = {
1085
1091
  title: "Redis Configurations",
1086
1092
  empty_state: {
1087
1093
  title: "Configure a Redis Configuration",
1088
1094
  description: "Set up shared Redis configurations for your gateway plugins to store and retrieve data — like counters or other data — needed during request processing."
1089
1095
  }
1090
- }, Go = {
1096
+ }, Yo = {
1091
1097
  action: "New configuration",
1092
1098
  table_headers: {
1093
1099
  name: "Name",
@@ -1106,32 +1112,32 @@ const ln = {
1106
1112
  description: "Edits to your configuration will be cascaded automatically to all associated plugins."
1107
1113
  }
1108
1114
  }
1109
- }, Jo = {
1110
- actions: Bo,
1111
- search: Fo,
1115
+ }, Qo = {
1116
+ actions: Ho,
1117
+ search: Ko,
1112
1118
  delete: {
1113
1119
  title: "Delete Redis configuration",
1114
1120
  description: "You’re about to delete this item. Are you sure you want to proceed?",
1115
1121
  warning: "To delete this configuration, first remove it from all associated plugins."
1116
1122
  },
1117
- errors: Ho,
1118
- copy: Ko,
1119
- form: zo,
1120
- linked_plugins_modal: qo,
1121
- redis: Wo,
1122
- list: Go
1123
+ errors: zo,
1124
+ copy: qo,
1125
+ form: Wo,
1126
+ linked_plugins_modal: Go,
1127
+ redis: Jo,
1128
+ list: Yo
1123
1129
  };
1124
- function Yo() {
1125
- const e = Fn("en-us", Jo);
1130
+ function Xo() {
1131
+ const e = Kn("en-us", Qo);
1126
1132
  return {
1127
1133
  i18n: e,
1128
- i18nT: Hn(e)
1134
+ i18nT: zn(e)
1129
1135
  // Translation component <i18n-t>
1130
1136
  };
1131
1137
  }
1132
1138
  const pe = {
1133
- useI18n: Yo
1134
- }, Qo = { class: "cluster-node-items" }, Xo = /* @__PURE__ */ G({
1139
+ useI18n: Xo
1140
+ }, Zo = { class: "cluster-node-items" }, ea = /* @__PURE__ */ G({
1135
1141
  __name: "ClusterNodes",
1136
1142
  props: /* @__PURE__ */ Nt({
1137
1143
  readonly: { type: Boolean }
@@ -1141,14 +1147,14 @@ const pe = {
1141
1147
  }),
1142
1148
  emits: ["update:modelValue"],
1143
1149
  setup(e) {
1144
- const t = Bt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1145
- t.value.push(cn());
1150
+ const t = jt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1151
+ t.value.push(un());
1146
1152
  }, r = (a) => {
1147
1153
  t.value.splice(a, 1);
1148
1154
  };
1149
1155
  return (a, f) => {
1150
1156
  const g = U("KLabel"), l = U("KInput"), u = U("KButton");
1151
- return k(), q("div", null, [
1157
+ return R(), q("div", null, [
1152
1158
  p(g, {
1153
1159
  class: "required",
1154
1160
  info: i(n)("form.fields.cluster_nodes.tooltip"),
@@ -1160,14 +1166,14 @@ const pe = {
1160
1166
  _: 1
1161
1167
  }, 8, ["info"]),
1162
1168
  z("div", null, [
1163
- (k(!0), q(qe, null, pt(t.value, (_, w) => (k(), H(fn, {
1169
+ (R(!0), q(qe, null, pt(t.value, (_, w) => (R(), H(cn, {
1164
1170
  key: `${w}`,
1165
1171
  "data-testid": "redis-cluster-nodes",
1166
1172
  disabled: a.readonly,
1167
1173
  onRemoveItem: (b) => r(w)
1168
1174
  }, {
1169
1175
  default: S(() => [
1170
- z("div", Qo, [
1176
+ z("div", Zo, [
1171
1177
  p(l, {
1172
1178
  modelValue: _.ip,
1173
1179
  "onUpdate:modelValue": (b) => _.ip = b,
@@ -1204,7 +1210,7 @@ const pe = {
1204
1210
  onClick: o
1205
1211
  }, {
1206
1212
  default: S(() => [
1207
- p(i(qt)),
1213
+ p(i(zt)),
1208
1214
  z("span", null, F(i(n)("form.fields.cluster_nodes.add_button")), 1)
1209
1215
  ]),
1210
1216
  _: 1
@@ -1213,7 +1219,7 @@ const pe = {
1213
1219
  ]);
1214
1220
  };
1215
1221
  }
1216
- }), Zo = /* @__PURE__ */ ae(Xo, [["__scopeId", "data-v-7c2d61b0"]]), ea = { class: "sentinel-node-items" }, ta = /* @__PURE__ */ G({
1222
+ }), ta = /* @__PURE__ */ ae(ea, [["__scopeId", "data-v-7c2d61b0"]]), na = { class: "sentinel-node-items" }, ia = /* @__PURE__ */ G({
1217
1223
  __name: "SentinelNodes",
1218
1224
  props: /* @__PURE__ */ Nt({
1219
1225
  readonly: { type: Boolean }
@@ -1223,14 +1229,14 @@ const pe = {
1223
1229
  }),
1224
1230
  emits: ["update:modelValue"],
1225
1231
  setup(e) {
1226
- const t = Bt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1227
- t.value.push(un());
1232
+ const t = jt(e, "modelValue"), { i18n: { t: n } } = pe.useI18n(), o = () => {
1233
+ t.value.push(dn());
1228
1234
  }, r = (a) => {
1229
1235
  t.value.splice(a, 1);
1230
1236
  };
1231
1237
  return (a, f) => {
1232
1238
  const g = U("KLabel"), l = U("KInput"), u = U("KButton");
1233
- return k(), q("div", null, [
1239
+ return R(), q("div", null, [
1234
1240
  p(g, {
1235
1241
  class: "required",
1236
1242
  info: i(n)("form.fields.sentinel_nodes.tooltip"),
@@ -1242,14 +1248,14 @@ const pe = {
1242
1248
  _: 1
1243
1249
  }, 8, ["info"]),
1244
1250
  z("div", null, [
1245
- (k(!0), q(qe, null, pt(t.value, (_, w) => (k(), H(fn, {
1251
+ (R(!0), q(qe, null, pt(t.value, (_, w) => (R(), H(cn, {
1246
1252
  key: _.id,
1247
1253
  "data-testid": "redis-sentinel-nodes",
1248
1254
  disabled: a.readonly,
1249
1255
  onRemoveItem: (b) => r(w)
1250
1256
  }, {
1251
1257
  default: S(() => [
1252
- z("div", ea, [
1258
+ z("div", na, [
1253
1259
  p(l, {
1254
1260
  modelValue: _.host,
1255
1261
  "onUpdate:modelValue": (b) => _.host = b,
@@ -1286,7 +1292,7 @@ const pe = {
1286
1292
  onClick: o
1287
1293
  }, {
1288
1294
  default: S(() => [
1289
- p(i(qt)),
1295
+ p(i(zt)),
1290
1296
  z("span", null, F(i(n)("form.fields.sentinel_nodes.add_button")), 1)
1291
1297
  ]),
1292
1298
  _: 1
@@ -1295,25 +1301,25 @@ const pe = {
1295
1301
  ]);
1296
1302
  };
1297
1303
  }
1298
- }), na = /* @__PURE__ */ ae(ta, [["__scopeId", "data-v-c7c67147"]]);
1299
- var it = /* @__PURE__ */ new WeakMap(), Dt = 0;
1300
- function ia(e) {
1304
+ }), ra = /* @__PURE__ */ ae(ia, [["__scopeId", "data-v-c7c67147"]]);
1305
+ var it = /* @__PURE__ */ new WeakMap(), Mt = 0;
1306
+ function oa(e) {
1301
1307
  if (!e.length)
1302
1308
  return "";
1303
1309
  for (var t = "arg", n = 0; n < e.length; ++n) {
1304
1310
  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]) : it.has(e[n]) ? o = it.get(e[n]) : (o = Dt, it.set(e[n], Dt++)), t += "@" + o;
1311
+ 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 = Mt, it.set(e[n], Mt++)), t += "@" + o;
1306
1312
  }
1307
1313
  return t;
1308
1314
  }
1309
- function ra(e) {
1315
+ function aa(e) {
1310
1316
  if (typeof e == "function")
1311
1317
  try {
1312
1318
  e = e();
1313
1319
  } catch {
1314
1320
  e = "";
1315
1321
  }
1316
- return Array.isArray(e) ? e = ia(e) : e = String(e || ""), e;
1322
+ return Array.isArray(e) ? e = oa(e) : e = String(e || ""), e;
1317
1323
  }
1318
1324
  var gt = (
1319
1325
  /** @class */
@@ -1322,7 +1328,7 @@ var gt = (
1322
1328
  t === void 0 && (t = 0), this.items = /* @__PURE__ */ new Map(), this.ttl = t;
1323
1329
  }
1324
1330
  return e.prototype.serializeKey = function(t) {
1325
- return ra(t);
1331
+ return aa(t);
1326
1332
  }, e.prototype.get = function(t) {
1327
1333
  var n = this.serializeKey(t);
1328
1334
  return this.items.get(n);
@@ -1344,21 +1350,21 @@ var gt = (
1344
1350
  }, e;
1345
1351
  }()
1346
1352
  );
1347
- function oa() {
1353
+ function la() {
1348
1354
  return typeof navigator.onLine < "u" ? navigator.onLine : !0;
1349
1355
  }
1350
- function aa() {
1356
+ function sa() {
1351
1357
  return typeof document < "u" && typeof document.visibilityState < "u" ? document.visibilityState !== "hidden" : !0;
1352
1358
  }
1353
- var la = function(e) {
1359
+ var da = function(e) {
1354
1360
  return fetch(e).then(function(t) {
1355
1361
  return t.json();
1356
1362
  });
1357
1363
  };
1358
1364
  const rt = {
1359
- isOnline: oa,
1360
- isDocumentVisible: aa,
1361
- fetcher: la
1365
+ isOnline: la,
1366
+ isDocumentVisible: sa,
1367
+ fetcher: da
1362
1368
  };
1363
1369
  var ne = function() {
1364
1370
  return ne = Object.assign || function(e) {
@@ -1453,7 +1459,7 @@ var ne = function() {
1453
1459
  if (u[0] & 5) throw u[1];
1454
1460
  return { value: u[0] ? u[1] : void 0, done: !0 };
1455
1461
  }
1456
- }, sa = function(e, t) {
1462
+ }, ua = function(e, t) {
1457
1463
  var n = typeof Symbol == "function" && e[Symbol.iterator];
1458
1464
  if (!n) return e;
1459
1465
  var o = n.call(e), r, a = [], f;
@@ -1469,12 +1475,12 @@ var ne = function() {
1469
1475
  }
1470
1476
  }
1471
1477
  return a;
1472
- }, da = function(e, t, n) {
1478
+ }, ca = function(e, t, n) {
1473
1479
  if (n || arguments.length === 2) for (var o = 0, r = t.length, a; o < r; o++)
1474
1480
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
1475
1481
  return e.concat(a || Array.prototype.slice.call(t));
1476
- }, pn = new gt(), ze = new gt(), ot = new gt(), mn = {
1477
- cache: pn,
1482
+ }, fn = new gt(), ze = new gt(), ot = new gt(), pn = {
1483
+ cache: fn,
1478
1484
  refreshInterval: 0,
1479
1485
  ttl: 0,
1480
1486
  serverTTL: 1e3,
@@ -1488,7 +1494,7 @@ var ne = function() {
1488
1494
  isOnline: rt.isOnline,
1489
1495
  isDocumentVisible: rt.isDocumentVisible
1490
1496
  };
1491
- function ua(e, t, n) {
1497
+ function fa(e, t, n) {
1492
1498
  var o = ze.get(e);
1493
1499
  if (o)
1494
1500
  o.data.push(t);
@@ -1497,7 +1503,7 @@ function ua(e, t, n) {
1497
1503
  ze.set(e, [t], n > 0 ? n + r : n);
1498
1504
  }
1499
1505
  }
1500
- function ca(e, t, n) {
1506
+ function pa(e, t, n) {
1501
1507
  if (n.isDocumentVisible() && !(n.errorRetryCount !== void 0 && t > n.errorRetryCount)) {
1502
1508
  var o = Math.min(t || 0, n.errorRetryCount), r = o * n.errorRetryInterval;
1503
1509
  setTimeout(function() {
@@ -1505,13 +1511,13 @@ function ca(e, t, n) {
1505
1511
  }, r);
1506
1512
  }
1507
1513
  }
1508
- var Ut = function(e, t, n, o) {
1509
- return n === void 0 && (n = pn), o === void 0 && (o = mn.ttl), he(void 0, void 0, void 0, function() {
1514
+ var Dt = function(e, t, n, o) {
1515
+ return n === void 0 && (n = fn), o === void 0 && (o = pn.ttl), he(void 0, void 0, void 0, function() {
1510
1516
  var r, a, f, g, l, u, _;
1511
1517
  return Te(this, function(w) {
1512
1518
  switch (w.label) {
1513
1519
  case 0:
1514
- if (!pa(t)) return [3, 5];
1520
+ if (!ga(t)) return [3, 5];
1515
1521
  w.label = 1;
1516
1522
  case 1:
1517
1523
  return w.trys.push([1, 3, , 4]), [4, t];
@@ -1541,10 +1547,10 @@ var Ut = function(e, t, n, o) {
1541
1547
  });
1542
1548
  });
1543
1549
  };
1544
- function fa() {
1550
+ function ma() {
1545
1551
  for (var e = this, t = [], n = 0; n < arguments.length; n++)
1546
1552
  t[n] = arguments[n];
1547
- var o, r, a = ne({}, mn), f = !1, g = !1, l = vn(), u = (l == null ? void 0 : l.proxy) || l;
1553
+ var o, r, a = ne({}, pn), f = !1, g = !1, l = yn(), u = (l == null ? void 0 : l.proxy) || l;
1548
1554
  if (!u)
1549
1555
  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
1556
  var _ = (u == null ? void 0 : u.$isServer) || !1;
@@ -1552,7 +1558,7 @@ function fa() {
1552
1558
  var w = _ ? a.serverTTL : a.ttl, b = typeof o == "function" ? o : L(o);
1553
1559
  typeof r > "u" && (r = a.fetcher);
1554
1560
  var E = null;
1555
- E || (E = jt({
1561
+ E || (E = Ut({
1556
1562
  data: void 0,
1557
1563
  error: void 0,
1558
1564
  isValidating: !0,
@@ -1560,11 +1566,11 @@ function fa() {
1560
1566
  }));
1561
1567
  var y = function(d, T) {
1562
1568
  return he(e, void 0, void 0, function() {
1563
- var N, O, ee, te, J, Y, le, Q = this;
1569
+ var j, O, ee, te, J, Y, le, Q = this;
1564
1570
  return Te(this, function(se) {
1565
1571
  switch (se.label) {
1566
1572
  case 0:
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, [
1573
+ return j = 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() && !j || (T == null ? void 0 : T.forceRevalidate) !== void 0 && !(T != null && T.forceRevalidate) ? (E.isValidating = !1, [
1568
1574
  2
1569
1575
  /*return*/
1570
1576
  ]) : ee && (Y = !!(Date.now() - ee.createdAt >= a.dedupingInterval || T != null && T.forceRevalidate), !Y) ? (E.isValidating = !1, [
@@ -1576,15 +1582,15 @@ function fa() {
1576
1582
  return Te(this, function(de) {
1577
1583
  switch (de.label) {
1578
1584
  case 0:
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)]);
1585
+ return W = ot.get(O), W ? [3, 2] : (ye = Array.isArray(O) ? O : [O], me = J.apply(void 0, ca([], ua(ye), !1)), ot.set(O, me, a.dedupingInterval), [4, Dt(O, me, a.cache, w)]);
1580
1586
  case 1:
1581
1587
  return de.sent(), [3, 4];
1582
1588
  case 2:
1583
- return [4, Ut(O, W.data, a.cache, w)];
1589
+ return [4, Dt(O, W.data, a.cache, w)];
1584
1590
  case 3:
1585
1591
  de.sent(), de.label = 4;
1586
1592
  case 4:
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)), [
1593
+ return E.isValidating = !1, ot.delete(O), E.error !== void 0 && (ve = !f && a.shouldRetryOnError && (T ? T.shouldRetryOnError : !0), ve && pa(y, T ? T.errorRetryCount : 1, a)), [
1588
1594
  2
1589
1595
  /*return*/
1590
1596
  ];
@@ -1630,7 +1636,7 @@ function fa() {
1630
1636
  });
1631
1637
  });
1632
1638
  }, I = null;
1633
- hn(function() {
1639
+ vn(function() {
1634
1640
  var d = function() {
1635
1641
  return he(e, void 0, void 0, function() {
1636
1642
  return Te(this, function(T) {
@@ -1651,7 +1657,7 @@ function fa() {
1651
1657
  });
1652
1658
  };
1653
1659
  a.refreshInterval && (I = setTimeout(d, a.refreshInterval)), a.revalidateOnFocus && (document.addEventListener("visibilitychange", s, !1), window.addEventListener("focus", s, !1));
1654
- }), Tn(function() {
1660
+ }), hn(function() {
1655
1661
  f = !0, I && clearTimeout(I), a.revalidateOnFocus && (document.removeEventListener("visibilitychange", s, !1), window.removeEventListener("focus", s, !1));
1656
1662
  var d = ze.get(b.value);
1657
1663
  d && (d.data = d.data.filter(function(T) {
@@ -1659,22 +1665,22 @@ function fa() {
1659
1665
  }));
1660
1666
  });
1661
1667
  try {
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;
1668
+ ke(b, function(d) {
1669
+ Tn(b) || (b.value = d), E.key = d, E.isValidating = !!d, fa(b.value, E, w), !_ && !g && b.value && y(), g = !1;
1664
1670
  }, {
1665
1671
  immediate: !0
1666
1672
  });
1667
1673
  } catch {
1668
1674
  }
1669
- var $ = ne(ne({}, Sn(E)), { mutate: function(d, T) {
1675
+ var $ = ne(ne({}, wn(E)), { mutate: function(d, T) {
1670
1676
  return y(d, ne(ne({}, T), { forceRevalidate: !0 }));
1671
1677
  } });
1672
1678
  return $;
1673
1679
  }
1674
- function pa(e) {
1680
+ function ga(e) {
1675
1681
  return e !== null && typeof e == "object" && typeof e.then == "function";
1676
1682
  }
1677
- function gn(e) {
1683
+ function mn(e) {
1678
1684
  return `redis-partial-links-${e}`;
1679
1685
  }
1680
1686
  const $e = (e) => {
@@ -1691,19 +1697,19 @@ const $e = (e) => {
1691
1697
  return l;
1692
1698
  }
1693
1699
  };
1694
- }, _n = (e) => {
1695
- const { partialId: t, config: n } = e, { fetcher: o } = $e(n), r = L([]), { data: a } = fa(
1696
- gn(t),
1700
+ }, gn = (e) => {
1701
+ const { partialId: t, config: n } = e, { fetcher: o } = $e(n), r = L([]), { data: a } = ma(
1702
+ mn(t),
1697
1703
  () => o({ partialId: t }),
1698
1704
  {
1699
1705
  revalidateOnFocus: !1
1700
1706
  }
1701
1707
  );
1702
- return Re(a, () => {
1708
+ return ke(a, () => {
1703
1709
  var f;
1704
1710
  r.value = ((f = a.value) == null ? void 0 : f.data) ?? [];
1705
1711
  }), r;
1706
- }, ma = { class: "kong-ui-entities-redis-configurations-form" }, ga = /* @__PURE__ */ G({
1712
+ }, _a = { class: "kong-ui-entities-redis-configurations-form" }, ba = /* @__PURE__ */ G({
1707
1713
  __name: "RedisConfigurationForm",
1708
1714
  props: {
1709
1715
  config: {
@@ -1740,7 +1746,7 @@ const $e = (e) => {
1740
1746
  },
1741
1747
  emits: ["update", "error", "loading", "cancel"],
1742
1748
  setup(e, { emit: t }) {
1743
- const n = e, o = t, { i18n: { t: r }, i18nT: a } = pe.useI18n(), f = zt(), g = L(), l = L(), u = (M, m) => {
1749
+ const n = e, o = t, { i18n: { t: r }, i18nT: a } = pe.useI18n(), f = Kt(), g = L(), l = L(), u = (M, m) => {
1744
1750
  g.value = M ?? "", l.value = m;
1745
1751
  }, _ = (M) => {
1746
1752
  var m;
@@ -1749,49 +1755,49 @@ const $e = (e) => {
1749
1755
  {
1750
1756
  label: r("form.options.type.host_port"),
1751
1757
  group: r("form.options.type.enterprise"),
1752
- value: v.HOST_PORT_EE,
1753
- selected: T.value === v.HOST_PORT_EE,
1758
+ value: h.HOST_PORT_EE,
1759
+ selected: T.value === h.HOST_PORT_EE,
1754
1760
  disabled: !d && n.disabledPartialType === ie.REDIS_EE
1755
1761
  },
1756
1762
  {
1757
1763
  label: r("form.options.type.cluster"),
1758
1764
  group: r("form.options.type.enterprise"),
1759
- value: v.CLUSTER,
1760
- selected: T.value === v.CLUSTER,
1765
+ value: h.CLUSTER,
1766
+ selected: T.value === h.CLUSTER,
1761
1767
  disabled: !d && n.disabledPartialType === ie.REDIS_EE
1762
1768
  },
1763
1769
  {
1764
1770
  label: r("form.options.type.sentinel"),
1765
1771
  group: r("form.options.type.enterprise"),
1766
- value: v.SENTINEL,
1767
- selected: T.value === v.SENTINEL,
1772
+ value: h.SENTINEL,
1773
+ selected: T.value === h.SENTINEL,
1768
1774
  disabled: !d && n.disabledPartialType === ie.REDIS_EE
1769
1775
  },
1770
1776
  {
1771
1777
  label: r("form.options.type.host_port"),
1772
1778
  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
1779
+ value: h.HOST_PORT_CE,
1780
+ selected: T.value === h.HOST_PORT_CE,
1781
+ disabled: d && j.value || !d && n.disabledPartialType === ie.REDIS_CE
1776
1782
  }
1777
1783
  ]), b = [
1778
1784
  { label: r("form.options.sentinel_role.master"), value: "master" },
1779
1785
  { label: r("form.options.sentinel_role.slave"), value: "slave" },
1780
1786
  { label: r("form.options.sentinel_role.any"), value: "any" }
1781
1787
  ], E = (M) => {
1782
- const m = M.value === v.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
1788
+ const m = M.value === h.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
1783
1789
  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, {
1790
+ }, y = () => n.disabledPartialType && Ke(we) === n.disabledPartialType ? n.disabledPartialType === ie.REDIS_CE ? h.HOST_PORT_EE : h.HOST_PORT_CE : we, {
1785
1791
  form: s,
1786
1792
  canSubmit: I,
1787
1793
  payload: $,
1788
1794
  isEdit: d,
1789
1795
  redisType: T,
1790
- redisTypeIsEnterprise: N,
1796
+ redisTypeIsEnterprise: j,
1791
1797
  fetchUrl: O,
1792
1798
  submit: ee,
1793
1799
  setInitialFormValues: te
1794
- } = Uo({
1800
+ } = jo({
1795
1801
  partialId: n.partialId,
1796
1802
  defaultRedisType: y(),
1797
1803
  config: n.config
@@ -1820,21 +1826,21 @@ const $e = (e) => {
1820
1826
  }, de = (M) => {
1821
1827
  te(M);
1822
1828
  };
1823
- return En(async () => {
1829
+ return Sn(async () => {
1824
1830
  if (d) {
1825
1831
  const { count: M } = await J({ partialId: n.partialId });
1826
1832
  Q.value = M;
1827
1833
  }
1828
1834
  }), (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), {
1835
+ const Ye = U("KAlert"), Le = U("KSelect"), D = U("KInput"), C = U("KCheckbox"), k = U("KModal");
1836
+ return R(), q(qe, null, [
1837
+ z("div", _a, [
1838
+ p(i(Rn), {
1833
1839
  "action-teleport-target": e.actionTeleportTarget,
1834
1840
  "can-submit": i(I),
1835
1841
  config: e.config,
1836
1842
  "edit-id": e.partialId,
1837
- "entity-type": i(Ht).RedisConfiguration,
1843
+ "entity-type": i(Ft).RedisConfiguration,
1838
1844
  "error-message": i(s).errorMessage,
1839
1845
  "fetch-url": i(O),
1840
1846
  "form-fields": i($),
@@ -1847,7 +1853,7 @@ const $e = (e) => {
1847
1853
  onSubmit: se
1848
1854
  }, {
1849
1855
  default: S(() => [
1850
- Q.value > 0 && i(d) ? (k(), H(Ye, {
1856
+ Q.value > 0 && i(d) ? (R(), H(Ye, {
1851
1857
  key: 0,
1852
1858
  appearance: "warning",
1853
1859
  class: "warning-alert",
@@ -1874,9 +1880,9 @@ const $e = (e) => {
1874
1880
  default: S(() => [
1875
1881
  p(Le, {
1876
1882
  modelValue: i(T),
1877
- "onUpdate:modelValue": m[0] || (m[0] = (c) => Cn(T) ? T.value = c : null),
1883
+ "onUpdate:modelValue": m[0] || (m[0] = (c) => En(T) ? T.value = c : null),
1878
1884
  "data-testid": "redis-type-select",
1879
- disabled: i(d) && i(T) === i(v).HOST_PORT_CE,
1885
+ disabled: i(d) && i(T) === i(h).HOST_PORT_CE,
1880
1886
  items: w.value,
1881
1887
  "kpop-attributes": { "data-testid": "redis-type-select-popover" },
1882
1888
  label: i(r)("form.fields.type.label"),
@@ -1925,7 +1931,7 @@ const $e = (e) => {
1925
1931
  ]),
1926
1932
  _: 1
1927
1933
  }, 8, ["description", "title"]),
1928
- i(T) === i(v).SENTINEL ? (k(), H(i(ue), {
1934
+ i(T) === i(h).SENTINEL ? (R(), H(i(ue), {
1929
1935
  key: 1,
1930
1936
  "data-testid": "redis-sentinel-configuration-section",
1931
1937
  description: i(r)("form.sections.sentinel_configuration.description"),
@@ -1958,7 +1964,7 @@ const $e = (e) => {
1958
1964
  readonly: i(s).readonly,
1959
1965
  required: ""
1960
1966
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"]),
1961
- p(na, {
1967
+ p(ra, {
1962
1968
  modelValue: i(s).fields.config.sentinel_nodes,
1963
1969
  "onUpdate:modelValue": m[5] || (m[5] = (c) => i(s).fields.config.sentinel_nodes = c),
1964
1970
  readonly: i(s).readonly
@@ -1979,7 +1985,7 @@ const $e = (e) => {
1979
1985
  disabled: i(s).readonly,
1980
1986
  update: (c) => i(s).fields.config.sentinel_username = c,
1981
1987
  value: i(s).fields.config.sentinel_username,
1982
- onOpen: m[7] || (m[7] = (c, j) => u(c, j))
1988
+ onOpen: m[7] || (m[7] = (c, N) => u(c, N))
1983
1989
  }, null, 8, ["disabled", "update", "value"]),
1984
1990
  p(D, {
1985
1991
  modelValue: i(s).fields.config.sentinel_password,
@@ -1999,19 +2005,19 @@ const $e = (e) => {
1999
2005
  disabled: i(s).readonly,
2000
2006
  update: (c) => i(s).fields.config.sentinel_password = c,
2001
2007
  value: i(s).fields.config.sentinel_password,
2002
- onOpen: m[9] || (m[9] = (c, j) => u(c, j))
2008
+ onOpen: m[9] || (m[9] = (c, N) => u(c, N))
2003
2009
  }, null, 8, ["disabled", "update", "value"])
2004
2010
  ]),
2005
2011
  _: 1
2006
2012
  }, 8, ["description", "title"])) : X("", !0),
2007
- i(T) === i(v).CLUSTER ? (k(), H(i(ue), {
2013
+ i(T) === i(h).CLUSTER ? (R(), H(i(ue), {
2008
2014
  key: 2,
2009
2015
  "data-testid": "redis-cluster-configuration-section",
2010
2016
  description: i(r)("form.sections.cluster.description"),
2011
2017
  title: i(r)("form.sections.cluster.title")
2012
2018
  }, {
2013
2019
  default: S(() => [
2014
- p(Zo, {
2020
+ p(ta, {
2015
2021
  modelValue: i(s).fields.config.cluster_nodes,
2016
2022
  "onUpdate:modelValue": m[10] || (m[10] = (c) => i(s).fields.config.cluster_nodes = c),
2017
2023
  readonly: i(s).readonly
@@ -2037,7 +2043,7 @@ const $e = (e) => {
2037
2043
  title: i(r)("form.sections.connection.title")
2038
2044
  }, {
2039
2045
  default: S(() => [
2040
- i(T) === i(v).HOST_PORT_CE || i(T) === i(v).HOST_PORT_EE ? (k(), H(D, {
2046
+ i(T) === i(h).HOST_PORT_CE || i(T) === i(h).HOST_PORT_EE ? (R(), H(D, {
2041
2047
  key: 0,
2042
2048
  modelValue: i(s).fields.config.host,
2043
2049
  "onUpdate:modelValue": m[12] || (m[12] = (c) => i(s).fields.config.host = c),
@@ -2050,7 +2056,7 @@ const $e = (e) => {
2050
2056
  },
2051
2057
  readonly: i(s).readonly
2052
2058
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2053
- i(T) === i(v).HOST_PORT_CE || i(T) === i(v).HOST_PORT_EE ? (k(), H(D, {
2059
+ i(T) === i(h).HOST_PORT_CE || i(T) === i(h).HOST_PORT_EE ? (R(), H(D, {
2054
2060
  key: 1,
2055
2061
  modelValue: i(s).fields.config.port,
2056
2062
  "onUpdate:modelValue": m[13] || (m[13] = (c) => i(s).fields.config.port = c),
@@ -2064,7 +2070,7 @@ const $e = (e) => {
2064
2070
  readonly: i(s).readonly,
2065
2071
  type: "number"
2066
2072
  }, null, 8, ["modelValue", "label", "label-attributes", "readonly"])) : X("", !0),
2067
- i(T) === i(v).HOST_PORT_EE ? (k(), H(C, {
2073
+ i(T) === i(h).HOST_PORT_EE ? (R(), H(C, {
2068
2074
  key: 2,
2069
2075
  modelValue: i(s).fields.config.connection_is_proxied,
2070
2076
  "onUpdate:modelValue": m[14] || (m[14] = (c) => i(s).fields.config.connection_is_proxied = c),
@@ -2076,7 +2082,7 @@ const $e = (e) => {
2076
2082
  tooltipAttributes: { maxWidth: "400" }
2077
2083
  }
2078
2084
  }, null, 8, ["modelValue", "disabled", "label", "label-attributes"])) : X("", !0),
2079
- i(T) === i(v).HOST_PORT_CE ? (k(), H(D, {
2085
+ i(T) === i(h).HOST_PORT_CE ? (R(), H(D, {
2080
2086
  key: 3,
2081
2087
  modelValue: i(s).fields.config.timeout,
2082
2088
  "onUpdate:modelValue": m[15] || (m[15] = (c) => i(s).fields.config.timeout = c),
@@ -2120,7 +2126,7 @@ const $e = (e) => {
2120
2126
  disabled: i(s).readonly,
2121
2127
  update: (c) => i(s).fields.config.username = c,
2122
2128
  value: i(s).fields.config.username,
2123
- onOpen: m[18] || (m[18] = (c, j) => u(c, j))
2129
+ onOpen: m[18] || (m[18] = (c, N) => u(c, N))
2124
2130
  }, null, 8, ["disabled", "update", "value"]),
2125
2131
  p(D, {
2126
2132
  modelValue: i(s).fields.config.password,
@@ -2141,7 +2147,7 @@ const $e = (e) => {
2141
2147
  disabled: i(s).readonly,
2142
2148
  update: (c) => i(s).fields.config.password = c,
2143
2149
  value: i(s).fields.config.password,
2144
- onOpen: m[20] || (m[20] = (c, j) => u(c, j))
2150
+ onOpen: m[20] || (m[20] = (c, N) => u(c, N))
2145
2151
  }, null, 8, ["disabled", "update", "value"])
2146
2152
  ]),
2147
2153
  _: 1
@@ -2190,7 +2196,7 @@ const $e = (e) => {
2190
2196
  ]),
2191
2197
  _: 1
2192
2198
  }, 8, ["description", "title"]),
2193
- i(T) !== i(v).HOST_PORT_CE ? (k(), H(i(ue), {
2199
+ i(T) !== i(h).HOST_PORT_CE ? (R(), H(i(ue), {
2194
2200
  key: 3,
2195
2201
  "data-testid": "redis-keepalive-section",
2196
2202
  description: i(r)("form.sections.keepalive.description"),
@@ -2224,7 +2230,7 @@ const $e = (e) => {
2224
2230
  ]),
2225
2231
  _: 1
2226
2232
  }, 8, ["description", "title"])) : X("", !0),
2227
- i(T) !== i(v).HOST_PORT_CE ? (k(), H(i(ue), {
2233
+ i(T) !== i(h).HOST_PORT_CE ? (R(), H(i(ue), {
2228
2234
  key: 4,
2229
2235
  "data-testid": "redis-read-write-configuration-section",
2230
2236
  description: i(r)("form.sections.read_write_configuration.description"),
@@ -2280,7 +2286,7 @@ const $e = (e) => {
2280
2286
  onCancel: m[29] || (m[29] = () => g.value = !1),
2281
2287
  onProceed: _
2282
2288
  }, null, 8, ["config", "setup"]),
2283
- p(R, {
2289
+ p(k, {
2284
2290
  "action-button-text": i(r)("form.edit_warning_modal.confirm"),
2285
2291
  "data-testid": "redis-update-warning-modal",
2286
2292
  "hide-cancel-button": "",
@@ -2306,10 +2312,10 @@ const $e = (e) => {
2306
2312
  ], 64);
2307
2313
  };
2308
2314
  }
2309
- }), Wa = /* @__PURE__ */ ae(ga, [["__scopeId", "data-v-e33248c3"]]), _a = "#00abd2", ba = "24px", ya = {
2315
+ }), Ja = /* @__PURE__ */ ae(ba, [["__scopeId", "data-v-e33248c3"]]), ya = "#00abd2", va = "24px", ha = {
2310
2316
  class: "linked-plugins",
2311
2317
  "data-testid": "linked-plugins-inline"
2312
- }, at = 7, va = /* @__PURE__ */ G({
2318
+ }, at = 7, Ta = /* @__PURE__ */ G({
2313
2319
  __name: "LinkedPluginsInline",
2314
2320
  props: {
2315
2321
  config: {
@@ -2323,19 +2329,19 @@ const $e = (e) => {
2323
2329
  }
2324
2330
  },
2325
2331
  setup(e) {
2326
- const t = e, n = _n({
2332
+ const t = e, n = gn({
2327
2333
  config: t.config,
2328
2334
  partialId: t.partialId
2329
2335
  });
2330
2336
  return (o, r) => {
2331
2337
  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), {
2338
+ return R(), q("div", ha, [
2339
+ (R(!0), q(qe, null, pt(i(n).slice(0, at), (f) => (R(), H(i(qt), {
2334
2340
  key: f.id,
2335
2341
  name: f.name,
2336
2342
  size: 24
2337
2343
  }, null, 8, ["name"]))), 128)),
2338
- i(n).length - at > 0 ? (k(), H(a, {
2344
+ i(n).length - at > 0 ? (R(), H(a, {
2339
2345
  key: 0,
2340
2346
  appearance: "info"
2341
2347
  }, {
@@ -2347,7 +2353,7 @@ const $e = (e) => {
2347
2353
  ]);
2348
2354
  };
2349
2355
  }
2350
- }), ha = /* @__PURE__ */ ae(va, [["__scopeId", "data-v-6fbbce03"]]), Ta = { class: "plugin-item" }, wa = /* @__PURE__ */ G({
2356
+ }), wa = /* @__PURE__ */ ae(Ta, [["__scopeId", "data-v-6fbbce03"]]), Sa = { class: "plugin-item" }, Ea = /* @__PURE__ */ G({
2351
2357
  __name: "PluginItem",
2352
2358
  props: {
2353
2359
  pluginName: {
@@ -2356,15 +2362,15 @@ const $e = (e) => {
2356
2362
  }
2357
2363
  },
2358
2364
  setup(e) {
2359
- return (t, n) => (k(), q("div", Ta, [
2360
- p(i(Wt), {
2365
+ return (t, n) => (R(), q("div", Sa, [
2366
+ p(i(qt), {
2361
2367
  name: e.pluginName,
2362
2368
  size: 24
2363
2369
  }, null, 8, ["name"]),
2364
2370
  z("span", null, F(e.pluginName), 1)
2365
2371
  ]));
2366
2372
  }
2367
- }), Sa = /* @__PURE__ */ ae(wa, [["__scopeId", "data-v-d3c7b010"]]), Ea = { class: "toolbar-container" }, Ca = /* @__PURE__ */ G({
2373
+ }), Ca = /* @__PURE__ */ ae(Ea, [["__scopeId", "data-v-d3c7b010"]]), Ia = { class: "toolbar-container" }, ka = /* @__PURE__ */ G({
2368
2374
  __name: "LinkedPluginList",
2369
2375
  props: {
2370
2376
  config: {
@@ -2418,15 +2424,15 @@ const $e = (e) => {
2418
2424
  };
2419
2425
  return (b, E) => {
2420
2426
  const y = U("KDropdownItem"), s = U("KTableData");
2421
- return k(), H(s, {
2422
- "cache-identifier": i(gn)(e.partialId),
2427
+ return R(), H(s, {
2428
+ "cache-identifier": i(mn)(e.partialId),
2423
2429
  fetcher: l,
2424
2430
  headers: a,
2425
2431
  "pagination-attributes": { totalCount: g.value, disablePageJump: !0 },
2426
2432
  "search-input": u.value
2427
- }, Ft({
2433
+ }, Bt({
2428
2434
  name: S(({ rowValue: I }) => [
2429
- p(Sa, { "plugin-name": I }, null, 8, ["plugin-name"])
2435
+ p(Ca, { "plugin-name": I }, null, 8, ["plugin-name"])
2430
2436
  ]),
2431
2437
  "action-items": S(({ row: I }) => [
2432
2438
  p(y, {
@@ -2443,8 +2449,8 @@ const $e = (e) => {
2443
2449
  e.filterBarEnabled ? {
2444
2450
  name: "toolbar",
2445
2451
  fn: S(() => [
2446
- z("div", Ea, [
2447
- p(i(Kt), {
2452
+ z("div", Ia, [
2453
+ p(i(Ht), {
2448
2454
  modelValue: u.value,
2449
2455
  "onUpdate:modelValue": E[0] || (E[0] = (I) => u.value = I),
2450
2456
  config: _.value
@@ -2456,10 +2462,10 @@ const $e = (e) => {
2456
2462
  ]), 1032, ["cache-identifier", "pagination-attributes", "search-input"]);
2457
2463
  };
2458
2464
  }
2459
- }), Ia = /* @__PURE__ */ ae(Ca, [["__scopeId", "data-v-d6a2e2f4"]]), Ra = {
2465
+ }), Ra = /* @__PURE__ */ ae(ka, [["__scopeId", "data-v-d6a2e2f4"]]), Oa = {
2460
2466
  class: "linked-plugins-modal",
2461
2467
  "data-testid": "linked-plugins-modal"
2462
- }, ka = /* @__PURE__ */ G({
2468
+ }, xa = /* @__PURE__ */ G({
2463
2469
  __name: "LinkedPluginListModal",
2464
2470
  props: {
2465
2471
  config: {
@@ -2486,7 +2492,7 @@ const $e = (e) => {
2486
2492
  };
2487
2493
  return (l, u) => {
2488
2494
  const _ = U("KModal");
2489
- return k(), q("div", Ra, [
2495
+ return R(), q("div", Oa, [
2490
2496
  p(_, {
2491
2497
  "action-button-text": i(o)("actions.done"),
2492
2498
  "hide-cancel-button": "",
@@ -2496,7 +2502,7 @@ const $e = (e) => {
2496
2502
  onProceed: g
2497
2503
  }, {
2498
2504
  default: S(() => [
2499
- p(Ia, {
2505
+ p(Ra, {
2500
2506
  config: e.config,
2501
2507
  "partial-id": e.redisConfigurationId,
2502
2508
  onLoad: u[0] || (u[0] = ({ total: w }) => r.value = w),
@@ -2508,7 +2514,7 @@ const $e = (e) => {
2508
2514
  ]);
2509
2515
  };
2510
2516
  }
2511
- }), Oa = /* @__PURE__ */ ae(ka, [["__scopeId", "data-v-6148b8bd"]]), xa = /* @__PURE__ */ G({
2517
+ }), Pa = /* @__PURE__ */ ae(xa, [["__scopeId", "data-v-6148b8bd"]]), Aa = /* @__PURE__ */ G({
2512
2518
  __name: "DeleteWarningModal",
2513
2519
  props: {
2514
2520
  visible: {
@@ -2523,7 +2529,7 @@ const $e = (e) => {
2523
2529
  };
2524
2530
  return (a, f) => {
2525
2531
  const g = U("KModal");
2526
- return k(), H(g, {
2532
+ return R(), H(g, {
2527
2533
  "action-button-text": i(n)("actions.close"),
2528
2534
  "data-testid": "remove-links-modal",
2529
2535
  "hide-cancel-button": "",
@@ -2540,7 +2546,7 @@ const $e = (e) => {
2540
2546
  }, 8, ["action-button-text", "title", "visible"]);
2541
2547
  };
2542
2548
  }
2543
- }), Pa = { class: "kong-ui-entities-partials-list" }, Aa = { class: "empty-state-icon-gateway" }, Va = /* @__PURE__ */ G({
2549
+ }), Va = { class: "kong-ui-entities-partials-list" }, $a = { class: "empty-state-icon-gateway" }, La = /* @__PURE__ */ G({
2544
2550
  __name: "RedisConfigurationList",
2545
2551
  props: {
2546
2552
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2578,6 +2584,11 @@ const $e = (e) => {
2578
2584
  required: !1,
2579
2585
  default: async () => !0
2580
2586
  },
2587
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
2588
+ useActionOutside: {
2589
+ type: Boolean,
2590
+ default: !1
2591
+ },
2581
2592
  /**
2582
2593
  * Enables the new empty state design, this prop can be removed when
2583
2594
  * the khcp-14756-empty-states-m2 FF is removed.
@@ -2591,21 +2602,21 @@ const $e = (e) => {
2591
2602
  setup(e, { emit: t }) {
2592
2603
  var D;
2593
2604
  const n = t, o = e, r = K(() => {
2594
- var R, c;
2605
+ var k, c;
2595
2606
  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(() => {
2607
+ return o.config.app === "konnect" ? C = C.replace(/{controlPlaneId}/gi, ((k = o.config) == null ? void 0 : k.controlPlaneId) || "") : o.config.app === "kongManager" && (C = C.replace(/\/{workspace}/gi, (c = o.config) != null && c.workspace ? `/${o.config.workspace}` : "")), C;
2608
+ }), 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), j = Kt(), O = L(""), ee = K(() => {
2598
2609
  const C = o.config.app === "konnect" || o.config.isExactMatch;
2599
2610
  if (C)
2600
2611
  return {
2601
2612
  isExactMatch: !0,
2602
- placeholder: d("search.placeholder")
2613
+ placeholder: d("search.placeholder_for_exact_match")
2603
2614
  };
2604
- const { name: R } = Y;
2615
+ const { name: k } = Y;
2605
2616
  return {
2606
2617
  isExactMatch: C,
2607
2618
  fields: {
2608
- name: R
2619
+ name: k
2609
2620
  },
2610
2621
  schema: o.config.filterSchema
2611
2622
  };
@@ -2626,25 +2637,25 @@ const $e = (e) => {
2626
2637
  label: d("actions.edit"),
2627
2638
  to: o.config.getEditRoute(C)
2628
2639
  }), se = async (C) => {
2629
- const { count: R } = await te({ partialId: C.id });
2630
- R > 0 ? b.value = !0 : (l.value = C, u.value = !0);
2640
+ const { count: k } = await te({ partialId: C.id });
2641
+ k > 0 ? b.value = !0 : (l.value = C, u.value = !0);
2631
2642
  }, W = () => {
2632
2643
  O.value = "";
2633
2644
  }, ye = async (C) => {
2634
2645
  var c;
2635
- await ((c = o.canRetrieve) == null ? void 0 : c.call(o, C)) && N.push(o.config.getViewRoute(C.id));
2646
+ await ((c = o.canRetrieve) == null ? void 0 : c.call(o, C)) && j.push(o.config.getViewRoute(C.id));
2636
2647
  }, me = () => {
2637
2648
  u.value = !1;
2638
2649
  }, ve = (C) => {
2639
2650
  f.value = C, a.value = !0;
2640
2651
  }, de = async () => {
2641
- var C, R, c;
2652
+ var C, k, c;
2642
2653
  if ((C = l.value) != null && C.id) {
2643
2654
  _.value = !0;
2644
2655
  try {
2645
2656
  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);
2657
+ } catch (N) {
2658
+ w.value = ((c = (k = N.response) == null ? void 0 : k.data) == null ? void 0 : c.message) || N.message || d("errors.delete"), n("error", N);
2648
2659
  } finally {
2649
2660
  _.value = !1;
2650
2661
  }
@@ -2653,20 +2664,20 @@ const $e = (e) => {
2653
2664
  y.value++;
2654
2665
  }, m = (C) => {
2655
2666
  switch (Je(C)) {
2656
- case v.HOST_PORT_CE:
2667
+ case h.HOST_PORT_CE:
2657
2668
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_open_source")}`;
2658
- case v.HOST_PORT_EE:
2669
+ case h.HOST_PORT_EE:
2659
2670
  return `${d("form.options.type.host_port")}${d("form.options.type.suffix_enterprise")}`;
2660
- case v.SENTINEL:
2671
+ case h.SENTINEL:
2661
2672
  return `${d("form.options.type.sentinel")}${d("form.options.type.suffix_enterprise")}`;
2662
- case v.CLUSTER:
2673
+ case h.CLUSTER:
2663
2674
  return `${d("form.options.type.cluster")}${d("form.options.type.suffix_enterprise")}`;
2664
2675
  }
2665
2676
  }, Ye = () => {
2666
- N.push(o.config.createRoute);
2667
- }, Le = (C, R) => {
2677
+ j.push(o.config.createRoute);
2678
+ }, Le = (C, k) => {
2668
2679
  const c = C.id;
2669
- if (!R(c)) {
2680
+ if (!k(c)) {
2670
2681
  n("copy:error", {
2671
2682
  entity: C,
2672
2683
  field: "id",
@@ -2680,22 +2691,22 @@ const $e = (e) => {
2680
2691
  message: d("copy.success", { val: c })
2681
2692
  });
2682
2693
  };
2683
- return Re($, (C) => {
2684
- var R, c, j;
2694
+ return ke($, (C) => {
2695
+ var k, c, N;
2685
2696
  if (C.status === Pn.Error) {
2686
2697
  g.value = {
2687
2698
  title: d("errors.general")
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);
2699
+ }, (N = (c = (k = C.error) == null ? void 0 : k.response) == null ? void 0 : c.data) != null && N.message && (g.value.message = C.error.response.data.message), n("error", C.error);
2689
2700
  return;
2690
2701
  }
2691
2702
  g.value = null;
2692
- }), Re(o.canCreate, async (C) => {
2703
+ }), ke(o.canCreate, async (C) => {
2693
2704
  await C ? J.value.ctaText = d("actions.create") : J.value.ctaText = void 0;
2694
2705
  }, {
2695
2706
  immediate: !0
2696
- }), (C, R) => {
2697
- const c = U("KButton"), j = U("KDropdownItem"), bn = U("KClipboardProvider");
2698
- return k(), q("div", Pa, [
2707
+ }), (C, k) => {
2708
+ const c = U("KButton"), N = U("KDropdownItem"), _n = U("KClipboardProvider");
2709
+ return R(), q("div", Va, [
2699
2710
  p(i(An), {
2700
2711
  "cache-identifier": e.cacheIdentifier,
2701
2712
  "disable-sorting": s.value,
@@ -2709,36 +2720,39 @@ const $e = (e) => {
2709
2720
  query: O.value,
2710
2721
  "table-headers": Y,
2711
2722
  onClearSearchInput: W,
2712
- "onClick:row": R[2] || (R[2] = (x) => ye(x)),
2723
+ "onClick:row": k[2] || (k[2] = (x) => ye(x)),
2713
2724
  onSort: M
2714
- }, Ft({
2725
+ }, Bt({
2715
2726
  "toolbar-filter": S(() => [
2716
- p(i(Kt), {
2727
+ p(i(Ht), {
2717
2728
  modelValue: O.value,
2718
- "onUpdate:modelValue": R[0] || (R[0] = (x) => O.value = x),
2729
+ "onUpdate:modelValue": k[0] || (k[0] = (x) => O.value = x),
2719
2730
  config: ee.value
2720
2731
  }, null, 8, ["modelValue", "config"])
2721
2732
  ]),
2722
2733
  "toolbar-button": S(() => [
2723
- p(i(Me), {
2724
- "auth-function": () => e.canCreate()
2725
- }, {
2726
- default: S(() => [
2727
- p(c, {
2728
- appearance: "primary",
2729
- "data-testid": "toolbar-add-redis-configuration",
2730
- size: "large",
2731
- to: e.config.createRoute
2732
- }, {
2733
- default: S(() => [
2734
- p(i(Nn)),
2735
- Z(" " + F(i(d)("actions.create")), 1)
2736
- ]),
2737
- _: 1
2738
- }, 8, ["to"])
2739
- ]),
2740
- _: 1
2741
- }, 8, ["auth-function"])
2734
+ (R(), H(Cn, {
2735
+ disabled: !e.useActionOutside,
2736
+ to: "#kong-ui-app-page-header-action-button"
2737
+ }, [
2738
+ p(i(Me), { "auth-function": e.canCreate }, {
2739
+ default: S(() => [
2740
+ p(c, {
2741
+ appearance: "primary",
2742
+ "data-testid": "toolbar-add-redis-configuration",
2743
+ size: "large",
2744
+ to: e.config.createRoute
2745
+ }, {
2746
+ default: S(() => [
2747
+ p(i(jn)),
2748
+ Z(" " + F(i(d)("actions.create")), 1)
2749
+ ]),
2750
+ _: 1
2751
+ }, 8, ["to"])
2752
+ ]),
2753
+ _: 1
2754
+ }, 8, ["auth-function"])
2755
+ ], 8, ["disabled"]))
2742
2756
  ]),
2743
2757
  name: S(({ rowValue: x }) => [
2744
2758
  z("b", null, F(x ?? "-"), 1)
@@ -2750,18 +2764,18 @@ const $e = (e) => {
2750
2764
  p(i(Vn), { tags: x }, null, 8, ["tags"])
2751
2765
  ]),
2752
2766
  plugins: S(({ row: x }) => [
2753
- p(ha, {
2767
+ p(wa, {
2754
2768
  config: e.config,
2755
2769
  "partial-id": x.id,
2756
2770
  onClick: In((Qe) => ve(x.id), ["stop"])
2757
2771
  }, null, 8, ["config", "partial-id", "onClick"])
2758
2772
  ]),
2759
2773
  actions: S(({ row: x }) => [
2760
- p(bn, null, {
2774
+ p(_n, null, {
2761
2775
  default: S(({ copyToClipboard: Qe }) => [
2762
- p(j, {
2776
+ p(N, {
2763
2777
  "data-testid": "action-entity-copy-id",
2764
- onClick: (La) => Le(x, Qe)
2778
+ onClick: (Da) => Le(x, Qe)
2765
2779
  }, {
2766
2780
  default: S(() => [
2767
2781
  Z(F(i(d)("actions.copy_id")), 1)
@@ -2775,7 +2789,7 @@ const $e = (e) => {
2775
2789
  "auth-function": () => e.canRetrieve(x)
2776
2790
  }, {
2777
2791
  default: S(() => [
2778
- p(j, {
2792
+ p(N, {
2779
2793
  "data-testid": "action-entity-view",
2780
2794
  "has-divider": "",
2781
2795
  item: le(x.id)
@@ -2787,7 +2801,7 @@ const $e = (e) => {
2787
2801
  "auth-function": () => e.canEdit(x)
2788
2802
  }, {
2789
2803
  default: S(() => [
2790
- p(j, {
2804
+ p(N, {
2791
2805
  "data-testid": "action-entity-edit",
2792
2806
  item: Q(x.id)
2793
2807
  }, null, 8, ["item"])
@@ -2798,7 +2812,7 @@ const $e = (e) => {
2798
2812
  "auth-function": () => e.canDelete(x)
2799
2813
  }, {
2800
2814
  default: S(() => [
2801
- p(j, {
2815
+ p(N, {
2802
2816
  danger: "",
2803
2817
  "data-testid": "action-entity-delete",
2804
2818
  "has-divider": "",
@@ -2815,7 +2829,7 @@ const $e = (e) => {
2815
2829
  ]),
2816
2830
  _: 2
2817
2831
  }, [
2818
- e.enableV2EmptyStates && e.config.app === "konnect" ? {
2832
+ e.enableV2EmptyStates ? {
2819
2833
  name: "empty-state",
2820
2834
  fn: S(() => [
2821
2835
  p(i($n), {
@@ -2834,34 +2848,33 @@ const $e = (e) => {
2834
2848
  description: i(d)("list.empty_state.feature_2.description")
2835
2849
  }
2836
2850
  ],
2837
- "learn-more": e.config.app === "konnect",
2838
2851
  title: i(d)("redis.title"),
2839
2852
  "onClick:create": Ye,
2840
- "onClick:learnMore": R[1] || (R[1] = () => n("click:learn-more"))
2853
+ "onClick:learnMore": k[1] || (k[1] = () => n("click:learn-more"))
2841
2854
  }, {
2842
2855
  image: S(() => [
2843
- z("div", Aa, [
2844
- p(i(_t), {
2845
- color: i(_a),
2846
- size: i(ba)
2856
+ z("div", $a, [
2857
+ p(i(Bn), {
2858
+ color: i(ya),
2859
+ size: i(va)
2847
2860
  }, null, 8, ["color", "size"])
2848
2861
  ])
2849
2862
  ]),
2850
2863
  "feature-0-icon": S(() => [
2851
- p(i(_t))
2864
+ p(i(Fn))
2852
2865
  ]),
2853
2866
  "feature-1-icon": S(() => [
2854
- p(i(Bn))
2867
+ p(i(Hn))
2855
2868
  ]),
2856
2869
  _: 1
2857
- }, 8, ["action-button-text", "can-create", "description", "features", "learn-more", "title"])
2870
+ }, 8, ["action-button-text", "can-create", "description", "features", "title"])
2858
2871
  ]),
2859
2872
  key: "0"
2860
2873
  } : void 0
2861
2874
  ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query"]),
2862
- p(xa, {
2875
+ p(Aa, {
2863
2876
  visible: b.value,
2864
- onClose: R[3] || (R[3] = (x) => b.value = !1)
2877
+ onClose: k[3] || (k[3] = (x) => b.value = !1)
2865
2878
  }, null, 8, ["visible"]),
2866
2879
  p(i(Ln), {
2867
2880
  "action-pending": _.value,
@@ -2875,18 +2888,18 @@ const $e = (e) => {
2875
2888
  onCancel: me,
2876
2889
  onProceed: de
2877
2890
  }, null, 8, ["action-pending", "description", "entity-name", "entity-type", "error", "title", "visible"]),
2878
- p(Oa, {
2891
+ p(Pa, {
2879
2892
  config: e.config,
2880
2893
  "redis-configuration-id": f.value,
2881
2894
  visible: a.value,
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))
2895
+ onCancel: k[4] || (k[4] = (x) => a.value = !1),
2896
+ onProceed: k[5] || (k[5] = (x) => a.value = !1),
2897
+ onViewPlugin: k[6] || (k[6] = (x) => n("click:plugin", x))
2885
2898
  }, null, 8, ["config", "redis-configuration-id", "visible"])
2886
2899
  ]);
2887
2900
  };
2888
2901
  }
2889
- }), Ga = /* @__PURE__ */ ae(Va, [["__scopeId", "data-v-5063721d"]]), $a = { class: "kong-ui-consumer-group-entity-config-card" }, Ja = /* @__PURE__ */ G({
2902
+ }), Ya = /* @__PURE__ */ ae(La, [["__scopeId", "data-v-daa1a18f"]]), Ma = { class: "kong-ui-consumer-group-entity-config-card" }, Qa = /* @__PURE__ */ G({
2890
2903
  __name: "RedisConfigurationConfigCard",
2891
2904
  props: {
2892
2905
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2916,19 +2929,19 @@ const $e = (e) => {
2916
2929
  const n = e, o = t, { i18n: { t: r } } = pe.useI18n(), a = K(() => Ae.form[n.config.app].edit), f = L(we), g = (y) => {
2917
2930
  f.value = Je(y), o("fetch:success", y);
2918
2931
  }, l = K(() => {
2919
- const y = f.value === v.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
2932
+ const y = f.value === h.HOST_PORT_CE ? r("form.options.type.suffix_open_source") : r("form.options.type.suffix_enterprise");
2920
2933
  let s = "";
2921
2934
  switch (f.value) {
2922
- case v.HOST_PORT_CE:
2935
+ case h.HOST_PORT_CE:
2923
2936
  s = r("form.options.type.host_port");
2924
2937
  break;
2925
- case v.HOST_PORT_EE:
2938
+ case h.HOST_PORT_EE:
2926
2939
  s = r("form.options.type.host_port");
2927
2940
  break;
2928
- case v.CLUSTER:
2941
+ case h.CLUSTER:
2929
2942
  s = r("form.options.type.cluster");
2930
2943
  break;
2931
- case v.SENTINEL:
2944
+ case h.SENTINEL:
2932
2945
  s = r("form.options.type.sentinel");
2933
2946
  break;
2934
2947
  }
@@ -2942,11 +2955,11 @@ const $e = (e) => {
2942
2955
  type: y.type,
2943
2956
  ...y.config
2944
2957
  }), _ = (y) => {
2945
- const { id: s, name: I, created_at: $, updated_at: d, type: T, tags: N, ...O } = y;
2958
+ const { id: s, name: I, created_at: $, updated_at: d, type: T, tags: j, ...O } = y;
2946
2959
  return {
2947
2960
  id: s,
2948
2961
  name: I,
2949
- tags: N,
2962
+ tags: j,
2950
2963
  created_at: $,
2951
2964
  updated_at: d,
2952
2965
  type: T,
@@ -3117,7 +3130,7 @@ const $e = (e) => {
3117
3130
  }, E = K(() => {
3118
3131
  const y = ["id", "name", "tags", "type", "updated_at", "created_at"];
3119
3132
  switch (f.value) {
3120
- case v.HOST_PORT_CE:
3133
+ case h.HOST_PORT_CE:
3121
3134
  return b([
3122
3135
  ...y,
3123
3136
  "host",
@@ -3130,7 +3143,7 @@ const $e = (e) => {
3130
3143
  "ssl_verify",
3131
3144
  "server_name"
3132
3145
  ]);
3133
- case v.HOST_PORT_EE:
3146
+ case h.HOST_PORT_EE:
3134
3147
  return b([
3135
3148
  ...y,
3136
3149
  "host",
@@ -3148,7 +3161,7 @@ const $e = (e) => {
3148
3161
  "send_timeout",
3149
3162
  "connect_timeout"
3150
3163
  ]);
3151
- case v.CLUSTER:
3164
+ case h.CLUSTER:
3152
3165
  return b([
3153
3166
  ...y,
3154
3167
  "cluster_nodes",
@@ -3165,7 +3178,7 @@ const $e = (e) => {
3165
3178
  "send_timeout",
3166
3179
  "connect_timeout"
3167
3180
  ]);
3168
- case v.SENTINEL:
3181
+ case h.SENTINEL:
3169
3182
  return b([
3170
3183
  ...y,
3171
3184
  "sentinel_master",
@@ -3189,13 +3202,13 @@ const $e = (e) => {
3189
3202
  throw new Error("Invalid Redis type");
3190
3203
  }
3191
3204
  });
3192
- return (y, s) => (k(), q("div", $a, [
3205
+ return (y, s) => (R(), q("div", Ma, [
3193
3206
  p(i(Dn), {
3194
3207
  "code-block-record-formatter": _,
3195
3208
  config: e.config,
3196
3209
  "config-card-doc": e.configCardDoc,
3197
3210
  "config-schema": E.value,
3198
- "entity-type": i(Ht).RedisConfiguration,
3211
+ "entity-type": i(Ft).RedisConfiguration,
3199
3212
  "fetch-url": a.value,
3200
3213
  "hide-title": e.hideTitle,
3201
3214
  "record-resolver": u,
@@ -3210,19 +3223,19 @@ const $e = (e) => {
3210
3223
  }, 8, ["config", "config-card-doc", "config-schema", "entity-type", "fetch-url", "hide-title"])
3211
3224
  ]));
3212
3225
  }
3213
- }), Ya = {
3214
- useLinkedPlugins: _n,
3226
+ }), Xa = {
3227
+ useLinkedPlugins: gn,
3215
3228
  useLinkedPluginsFetcher: $e
3216
3229
  };
3217
3230
  export {
3218
- xa as DeleteWarningModal,
3219
- Ia as LinkedPlugins,
3231
+ Aa as DeleteWarningModal,
3232
+ Ra as LinkedPlugins,
3220
3233
  ie as PartialType,
3221
- Ja as RedisConfigurationConfigCard,
3222
- Wa as RedisConfigurationForm,
3223
- Ga as RedisConfigurationList,
3224
- v as RedisType,
3225
- Ya as composables,
3226
- za as constants,
3227
- qa as helpers
3234
+ Qa as RedisConfigurationConfigCard,
3235
+ Ja as RedisConfigurationForm,
3236
+ Ya as RedisConfigurationList,
3237
+ h as RedisType,
3238
+ Xa as composables,
3239
+ Wa as constants,
3240
+ Ga as helpers
3228
3241
  };