@kong-ui-public/forms 4.13.6-pr.2214.df01ad6ca.0 → 4.13.6-pr.2214.f40767e96.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.
package/dist/forms.es.js CHANGED
@@ -1,16 +1,16 @@
1
- import { openBlock as u, createElementBlock as g, createElementVNode as f, toDisplayString as $, normalizeClass as W, createVNode as C, defineComponent as re, provide as it, resolveComponent as F, withCtx as I, renderSlot as Oe, unref as w, createTextVNode as te, createBlock as A, resolveDynamicComponent as ie, Fragment as K, renderList as J, ref as ue, computed as L, toRefs as Le, inject as ot, onMounted as Fn, onBeforeMount as Ut, mergeProps as Ie, Transition as Ai, createCommentVNode as R, resolveDirective as kn, withDirectives as de, vModelText as Ze, vModelCheckbox as Ei, vModelSelect as Fi, vModelDynamic as Un, isRef as He, toRef as ki, vModelRadio as Ui, vShow as $i, createSlots as $n, watch as $t, normalizeProps as Vi, guardReactiveProps as ji, useSlots as ft, nextTick as Dt } from "vue";
1
+ import { openBlock as u, createElementBlock as g, createElementVNode as f, toDisplayString as $, normalizeClass as W, createVNode as C, defineComponent as re, provide as at, resolveComponent as F, withCtx as I, renderSlot as Oe, unref as w, createTextVNode as te, createBlock as A, resolveDynamicComponent as ie, Fragment as K, renderList as J, ref as ue, computed as L, toRefs as Le, inject as ot, onMounted as Fn, onBeforeMount as Ut, mergeProps as Ie, Transition as Ai, createCommentVNode as R, resolveDirective as kn, withDirectives as de, vModelText as Je, vModelCheckbox as Ei, vModelSelect as Fi, vModelDynamic as Un, isRef as He, toRef as ki, vModelRadio as Ui, vShow as $i, createSlots as $n, watch as $t, normalizeProps as Vi, guardReactiveProps as ji, useSlots as ft, nextTick as Dt } from "vue";
2
2
  import { createI18n as ge } from "@kong-ui-public/i18n";
3
- import { TrashIcon as at, AddIcon as Vt, RemoveIcon as Ri } from "@kong/icons";
3
+ import { TrashIcon as rt, AddIcon as Vt, RemoveIcon as Ri } from "@kong/icons";
4
4
  import { useStringHelpers as Pi, useErrors as Ni, useDebouncedFilter as Li, useAxios as qi } from "@kong-ui-public/entities-shared";
5
5
  function Vn(e, t) {
6
- for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
6
+ for (var n = -1, a = e == null ? 0 : e.length; ++n < a && t(e[n], n, e) !== !1; )
7
7
  ;
8
8
  return e;
9
9
  }
10
10
  function Ki(e) {
11
- return function(t, n, i) {
12
- for (var a = -1, r = Object(t), s = i(t), o = s.length; o--; ) {
13
- var l = s[++a];
11
+ return function(t, n, a) {
12
+ for (var i = -1, r = Object(t), s = a(t), o = s.length; o--; ) {
13
+ var l = s[++i];
14
14
  if (n(r[l], l, r) === !1)
15
15
  break;
16
16
  }
@@ -19,20 +19,20 @@ function Ki(e) {
19
19
  }
20
20
  var Di = Ki();
21
21
  function Bi(e, t) {
22
- for (var n = -1, i = Array(e); ++n < e; )
23
- i[n] = t(n);
24
- return i;
22
+ for (var n = -1, a = Array(e); ++n < e; )
23
+ a[n] = t(n);
24
+ return a;
25
25
  }
26
26
  var jn = typeof global == "object" && global && global.Object === Object && global, zi = typeof self == "object" && self && self.Object === Object && self, pe = jn || zi || Function("return this")(), Ae = pe.Symbol, Rn = Object.prototype, Yi = Rn.hasOwnProperty, Hi = Rn.toString, We = Ae ? Ae.toStringTag : void 0;
27
27
  function xi(e) {
28
28
  var t = Yi.call(e, We), n = e[We];
29
29
  try {
30
30
  e[We] = void 0;
31
- var i = !0;
31
+ var a = !0;
32
32
  } catch {
33
33
  }
34
- var a = Hi.call(e);
35
- return i && (t ? e[We] = n : delete e[We]), a;
34
+ var i = Hi.call(e);
35
+ return a && (t ? e[We] = n : delete e[We]), i;
36
36
  }
37
37
  var Gi = Object.prototype, Wi = Gi.toString;
38
38
  function Zi(e) {
@@ -77,19 +77,19 @@ function jt(e) {
77
77
  return e(t);
78
78
  };
79
79
  }
80
- var Dn = typeof exports == "object" && exports && !exports.nodeType && exports, Je = Dn && typeof module == "object" && module && !module.nodeType && module, Va = Je && Je.exports === Dn, St = Va && jn.process, Ye = function() {
80
+ var Dn = typeof exports == "object" && exports && !exports.nodeType && exports, Qe = Dn && typeof module == "object" && module && !module.nodeType && module, Va = Qe && Qe.exports === Dn, St = Va && jn.process, Ye = function() {
81
81
  try {
82
- var e = Je && Je.require && Je.require("util").types;
82
+ var e = Qe && Qe.require && Qe.require("util").types;
83
83
  return e || St && St.binding && St.binding("util");
84
84
  } catch {
85
85
  }
86
86
  }(), xt = Ye && Ye.isTypedArray, ja = xt ? jt(xt) : $a, Ra = Object.prototype, Pa = Ra.hasOwnProperty;
87
87
  function Bn(e, t) {
88
- var n = ke(e), i = !n && na(e), a = !n && !i && Ln(e), r = !n && !i && !a && ja(e), s = n || i || a || r, o = s ? Bi(e.length, String) : [], l = o.length;
88
+ var n = ke(e), a = !n && na(e), i = !n && !a && Ln(e), r = !n && !a && !i && ja(e), s = n || a || i || r, o = s ? Bi(e.length, String) : [], l = o.length;
89
89
  for (var d in e)
90
90
  (t || Pa.call(e, d)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
91
91
  (d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
92
- a && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
92
+ i && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
93
93
  r && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
94
94
  qn(d, l))) && o.push(d);
95
95
  return o;
@@ -134,12 +134,12 @@ function xa(e, t) {
134
134
  return e && Di(e, t, pt);
135
135
  }
136
136
  function Ga(e, t) {
137
- return function(n, i) {
137
+ return function(n, a) {
138
138
  if (n == null)
139
139
  return n;
140
140
  if (!ht(n))
141
- return e(n, i);
142
- for (var a = n.length, r = -1, s = Object(n); ++r < a && i(s[r], r, s) !== !1; )
141
+ return e(n, a);
142
+ for (var i = n.length, r = -1, s = Object(n); ++r < i && a(s[r], r, s) !== !1; )
143
143
  ;
144
144
  return n;
145
145
  };
@@ -203,9 +203,9 @@ function Ke(e, t) {
203
203
  var n = mr(e, t);
204
204
  return cr(n) ? n : void 0;
205
205
  }
206
- var et = Ke(Object, "create");
206
+ var tt = Ke(Object, "create");
207
207
  function fr() {
208
- this.__data__ = et ? et(null) : {}, this.size = 0;
208
+ this.__data__ = tt ? tt(null) : {}, this.size = 0;
209
209
  }
210
210
  function hr(e) {
211
211
  var t = this.has(e) && delete this.__data__[e];
@@ -214,7 +214,7 @@ function hr(e) {
214
214
  var pr = "__lodash_hash_undefined__", gr = Object.prototype, vr = gr.hasOwnProperty;
215
215
  function br(e) {
216
216
  var t = this.__data__;
217
- if (et) {
217
+ if (tt) {
218
218
  var n = t[e];
219
219
  return n === pr ? void 0 : n;
220
220
  }
@@ -223,18 +223,18 @@ function br(e) {
223
223
  var yr = Object.prototype, _r = yr.hasOwnProperty;
224
224
  function wr(e) {
225
225
  var t = this.__data__;
226
- return et ? t[e] !== void 0 : _r.call(t, e);
226
+ return tt ? t[e] !== void 0 : _r.call(t, e);
227
227
  }
228
228
  var Mr = "__lodash_hash_undefined__";
229
229
  function Sr(e, t) {
230
230
  var n = this.__data__;
231
- return this.size += this.has(e) ? 0 : 1, n[e] = et && t === void 0 ? Mr : t, this;
231
+ return this.size += this.has(e) ? 0 : 1, n[e] = tt && t === void 0 ? Mr : t, this;
232
232
  }
233
233
  function je(e) {
234
234
  var t = -1, n = e == null ? 0 : e.length;
235
235
  for (this.clear(); ++t < n; ) {
236
- var i = e[t];
237
- this.set(i[0], i[1]);
236
+ var a = e[t];
237
+ this.set(a[0], a[1]);
238
238
  }
239
239
  }
240
240
  je.prototype.clear = fr;
@@ -259,8 +259,8 @@ function Or(e) {
259
259
  var t = this.__data__, n = bt(t, e);
260
260
  if (n < 0)
261
261
  return !1;
262
- var i = t.length - 1;
263
- return n == i ? t.pop() : Ir.call(t, n, 1), --this.size, !0;
262
+ var a = t.length - 1;
263
+ return n == a ? t.pop() : Ir.call(t, n, 1), --this.size, !0;
264
264
  }
265
265
  function Ar(e) {
266
266
  var t = this.__data__, n = bt(t, e);
@@ -270,14 +270,14 @@ function Er(e) {
270
270
  return bt(this.__data__, e) > -1;
271
271
  }
272
272
  function Fr(e, t) {
273
- var n = this.__data__, i = bt(n, e);
274
- return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
273
+ var n = this.__data__, a = bt(n, e);
274
+ return a < 0 ? (++this.size, n.push([e, t])) : n[a][1] = t, this;
275
275
  }
276
276
  function Me(e) {
277
277
  var t = -1, n = e == null ? 0 : e.length;
278
278
  for (this.clear(); ++t < n; ) {
279
- var i = e[t];
280
- this.set(i[0], i[1]);
279
+ var a = e[t];
280
+ this.set(a[0], a[1]);
281
281
  }
282
282
  }
283
283
  Me.prototype.clear = Tr;
@@ -285,11 +285,11 @@ Me.prototype.delete = Or;
285
285
  Me.prototype.get = Ar;
286
286
  Me.prototype.has = Er;
287
287
  Me.prototype.set = Fr;
288
- var tt = Ke(pe, "Map");
288
+ var nt = Ke(pe, "Map");
289
289
  function kr() {
290
290
  this.size = 0, this.__data__ = {
291
291
  hash: new je(),
292
- map: new (tt || Me)(),
292
+ map: new (nt || Me)(),
293
293
  string: new je()
294
294
  };
295
295
  }
@@ -312,14 +312,14 @@ function jr(e) {
312
312
  return yt(this, e).has(e);
313
313
  }
314
314
  function Rr(e, t) {
315
- var n = yt(this, e), i = n.size;
316
- return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
315
+ var n = yt(this, e), a = n.size;
316
+ return n.set(e, t), this.size += n.size == a ? 0 : 1, this;
317
317
  }
318
318
  function Se(e) {
319
319
  var t = -1, n = e == null ? 0 : e.length;
320
320
  for (this.clear(); ++t < n; ) {
321
- var i = e[t];
322
- this.set(i[0], i[1]);
321
+ var a = e[t];
322
+ this.set(a[0], a[1]);
323
323
  }
324
324
  }
325
325
  Se.prototype.clear = kr;
@@ -332,32 +332,32 @@ function Nt(e, t) {
332
332
  if (typeof e != "function" || t != null && typeof t != "function")
333
333
  throw new TypeError(Pr);
334
334
  var n = function() {
335
- var i = arguments, a = t ? t.apply(this, i) : i[0], r = n.cache;
336
- if (r.has(a))
337
- return r.get(a);
338
- var s = e.apply(this, i);
339
- return n.cache = r.set(a, s) || r, s;
335
+ var a = arguments, i = t ? t.apply(this, a) : a[0], r = n.cache;
336
+ if (r.has(i))
337
+ return r.get(i);
338
+ var s = e.apply(this, a);
339
+ return n.cache = r.set(i, s) || r, s;
340
340
  };
341
341
  return n.cache = new (Nt.Cache || Se)(), n;
342
342
  }
343
343
  Nt.Cache = Se;
344
344
  var Nr = 500;
345
345
  function Lr(e) {
346
- var t = Nt(e, function(i) {
347
- return n.size === Nr && n.clear(), i;
346
+ var t = Nt(e, function(a) {
347
+ return n.size === Nr && n.clear(), a;
348
348
  }), n = t.cache;
349
349
  return t;
350
350
  }
351
351
  var qr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Kr = /\\(\\)?/g, Dr = Lr(function(e) {
352
352
  var t = [];
353
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(qr, function(n, i, a, r) {
354
- t.push(a ? r.replace(Kr, "$1") : i || n);
353
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(qr, function(n, a, i, r) {
354
+ t.push(i ? r.replace(Kr, "$1") : a || n);
355
355
  }), t;
356
356
  });
357
357
  function Br(e, t) {
358
- for (var n = -1, i = e == null ? 0 : e.length, a = Array(i); ++n < i; )
359
- a[n] = t(e[n], n, e);
360
- return a;
358
+ for (var n = -1, a = e == null ? 0 : e.length, i = Array(a); ++n < a; )
359
+ i[n] = t(e[n], n, e);
360
+ return i;
361
361
  }
362
362
  var zr = 1 / 0, Wt = Ae ? Ae.prototype : void 0, Zt = Wt ? Wt.toString : void 0;
363
363
  function Yn(e) {
@@ -385,13 +385,13 @@ function xr(e) {
385
385
  }
386
386
  function Gr(e, t) {
387
387
  t = Yr(t, e);
388
- for (var n = 0, i = t.length; e != null && n < i; )
388
+ for (var n = 0, a = t.length; e != null && n < a; )
389
389
  e = e[xr(t[n++])];
390
- return n && n == i ? e : void 0;
390
+ return n && n == a ? e : void 0;
391
391
  }
392
392
  function B(e, t, n) {
393
- var i = e == null ? void 0 : Gr(e, t);
394
- return i === void 0 ? n : i;
393
+ var a = e == null ? void 0 : Gr(e, t);
394
+ return a === void 0 ? n : a;
395
395
  }
396
396
  function X(e) {
397
397
  return e == null;
@@ -414,10 +414,10 @@ var to = 200;
414
414
  function no(e, t) {
415
415
  var n = this.__data__;
416
416
  if (n instanceof Me) {
417
- var i = n.__data__;
418
- if (!tt || i.length < to - 1)
419
- return i.push([e, t]), this.size = ++n.size, this;
420
- n = this.__data__ = new Se(i);
417
+ var a = n.__data__;
418
+ if (!nt || a.length < to - 1)
419
+ return a.push([e, t]), this.size = ++n.size, this;
420
+ n = this.__data__ = new Se(a);
421
421
  }
422
422
  return n.set(e, t), this.size = n.size, this;
423
423
  }
@@ -447,15 +447,15 @@ function xn(e, t, n) {
447
447
  }
448
448
  var io = Object.prototype, ao = io.hasOwnProperty;
449
449
  function Gn(e, t, n) {
450
- var i = e[t];
451
- (!(ao.call(e, t) && vt(i, n)) || n === void 0 && !(t in e)) && xn(e, t, n);
450
+ var a = e[t];
451
+ (!(ao.call(e, t) && vt(a, n)) || n === void 0 && !(t in e)) && xn(e, t, n);
452
452
  }
453
- function _t(e, t, n, i) {
454
- var a = !n;
453
+ function _t(e, t, n, a) {
454
+ var i = !n;
455
455
  n || (n = {});
456
456
  for (var r = -1, s = t.length; ++r < s; ) {
457
457
  var o = t[r], l = void 0;
458
- l === void 0 && (l = e[o]), a ? xn(n, o, l) : Gn(n, o, l);
458
+ l === void 0 && (l = e[o]), i ? xn(n, o, l) : Gn(n, o, l);
459
459
  }
460
460
  return n;
461
461
  }
@@ -474,8 +474,8 @@ function uo(e) {
474
474
  if (!me(e))
475
475
  return oo(e);
476
476
  var t = Rt(e), n = [];
477
- for (var i in e)
478
- i == "constructor" && (t || !lo.call(e, i)) || n.push(i);
477
+ for (var a in e)
478
+ a == "constructor" && (t || !lo.call(e, a)) || n.push(a);
479
479
  return n;
480
480
  }
481
481
  function wt(e) {
@@ -488,19 +488,19 @@ var Wn = typeof exports == "object" && exports && !exports.nodeType && exports,
488
488
  function fo(e, t) {
489
489
  if (t)
490
490
  return e.slice();
491
- var n = e.length, i = Xt ? Xt(n) : new e.constructor(n);
492
- return e.copy(i), i;
491
+ var n = e.length, a = Xt ? Xt(n) : new e.constructor(n);
492
+ return e.copy(a), a;
493
493
  }
494
494
  function ho(e, t) {
495
- var n = -1, i = e.length;
496
- for (t || (t = Array(i)); ++n < i; )
495
+ var n = -1, a = e.length;
496
+ for (t || (t = Array(a)); ++n < a; )
497
497
  t[n] = e[n];
498
498
  return t;
499
499
  }
500
500
  function po(e, t) {
501
- for (var n = -1, i = e == null ? 0 : e.length, a = 0, r = []; ++n < i; ) {
501
+ for (var n = -1, a = e == null ? 0 : e.length, i = 0, r = []; ++n < a; ) {
502
502
  var s = e[n];
503
- t(s, n, e) && (r[a++] = s);
503
+ t(s, n, e) && (r[i++] = s);
504
504
  }
505
505
  return r;
506
506
  }
@@ -516,8 +516,8 @@ function bo(e, t) {
516
516
  return _t(e, Lt(e), t);
517
517
  }
518
518
  function Jn(e, t) {
519
- for (var n = -1, i = t.length, a = e.length; ++n < i; )
520
- e[a + n] = t[n];
519
+ for (var n = -1, a = t.length, i = e.length; ++n < a; )
520
+ e[i + n] = t[n];
521
521
  return e;
522
522
  }
523
523
  var Qn = zn(Object.getPrototypeOf, Object), yo = Object.getOwnPropertySymbols, Xn = yo ? function(e) {
@@ -529,8 +529,8 @@ function _o(e, t) {
529
529
  return _t(e, Xn(e), t);
530
530
  }
531
531
  function ei(e, t, n) {
532
- var i = t(e);
533
- return ke(e) ? i : Jn(i, n(e));
532
+ var a = t(e);
533
+ return ke(e) ? a : Jn(a, n(e));
534
534
  }
535
535
  function wo(e) {
536
536
  return ei(e, pt, Lt);
@@ -538,11 +538,11 @@ function wo(e) {
538
538
  function Mo(e) {
539
539
  return ei(e, wt, Xn);
540
540
  }
541
- var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]", So = "[object Object]", nn = "[object Promise]", an = "[object Set]", rn = "[object WeakMap]", on = "[object DataView]", To = qe(At), Co = qe(tt), Io = qe(Et), Oo = qe(ze), Ao = qe(Ft), _e = Ee;
542
- (At && _e(new At(new ArrayBuffer(1))) != on || tt && _e(new tt()) != tn || Et && _e(Et.resolve()) != nn || ze && _e(new ze()) != an || Ft && _e(new Ft()) != rn) && (_e = function(e) {
543
- var t = Ee(e), n = t == So ? e.constructor : void 0, i = n ? qe(n) : "";
544
- if (i)
545
- switch (i) {
541
+ var At = Ke(pe, "DataView"), Et = Ke(pe, "Promise"), ze = Ke(pe, "Set"), Ft = Ke(pe, "WeakMap"), tn = "[object Map]", So = "[object Object]", nn = "[object Promise]", an = "[object Set]", rn = "[object WeakMap]", on = "[object DataView]", To = qe(At), Co = qe(nt), Io = qe(Et), Oo = qe(ze), Ao = qe(Ft), _e = Ee;
542
+ (At && _e(new At(new ArrayBuffer(1))) != on || nt && _e(new nt()) != tn || Et && _e(Et.resolve()) != nn || ze && _e(new ze()) != an || Ft && _e(new Ft()) != rn) && (_e = function(e) {
543
+ var t = Ee(e), n = t == So ? e.constructor : void 0, a = n ? qe(n) : "";
544
+ if (a)
545
+ switch (a) {
546
546
  case To:
547
547
  return on;
548
548
  case Co:
@@ -585,13 +585,13 @@ function Ro(e, t) {
585
585
  }
586
586
  var Po = "[object Boolean]", No = "[object Date]", Lo = "[object Map]", qo = "[object Number]", Ko = "[object RegExp]", Do = "[object Set]", Bo = "[object String]", zo = "[object Symbol]", Yo = "[object ArrayBuffer]", Ho = "[object DataView]", xo = "[object Float32Array]", Go = "[object Float64Array]", Wo = "[object Int8Array]", Zo = "[object Int16Array]", Jo = "[object Int32Array]", Qo = "[object Uint8Array]", Xo = "[object Uint8ClampedArray]", es = "[object Uint16Array]", ts = "[object Uint32Array]";
587
587
  function ns(e, t, n) {
588
- var i = e.constructor;
588
+ var a = e.constructor;
589
589
  switch (t) {
590
590
  case Yo:
591
591
  return qt(e);
592
592
  case Po:
593
593
  case No:
594
- return new i(+e);
594
+ return new a(+e);
595
595
  case Ho:
596
596
  return Uo(e, n);
597
597
  case xo:
@@ -605,14 +605,14 @@ function ns(e, t, n) {
605
605
  case ts:
606
606
  return Ro(e, n);
607
607
  case Lo:
608
- return new i();
608
+ return new a();
609
609
  case qo:
610
610
  case Bo:
611
- return new i(e);
611
+ return new a(e);
612
612
  case Ko:
613
613
  return Vo(e);
614
614
  case Do:
615
- return new i();
615
+ return new a();
616
616
  case zo:
617
617
  return jo(e);
618
618
  }
@@ -644,7 +644,7 @@ function ds(e) {
644
644
  var mn = Ye && Ye.isSet, us = mn ? jt(mn) : ds, cs = 1, ms = 2, fs = 4, ti = "[object Arguments]", hs = "[object Array]", ps = "[object Boolean]", gs = "[object Date]", vs = "[object Error]", ni = "[object Function]", bs = "[object GeneratorFunction]", ys = "[object Map]", _s = "[object Number]", ii = "[object Object]", ws = "[object RegExp]", Ms = "[object Set]", Ss = "[object String]", Ts = "[object Symbol]", Cs = "[object WeakMap]", Is = "[object ArrayBuffer]", Os = "[object DataView]", As = "[object Float32Array]", Es = "[object Float64Array]", Fs = "[object Int8Array]", ks = "[object Int16Array]", Us = "[object Int32Array]", $s = "[object Uint8Array]", Vs = "[object Uint8ClampedArray]", js = "[object Uint16Array]", Rs = "[object Uint32Array]", H = {};
645
645
  H[ti] = H[hs] = H[Is] = H[Os] = H[ps] = H[gs] = H[As] = H[Es] = H[Fs] = H[ks] = H[Us] = H[ys] = H[_s] = H[ii] = H[ws] = H[Ms] = H[Ss] = H[Ts] = H[$s] = H[Vs] = H[js] = H[Rs] = !0;
646
646
  H[vs] = H[ni] = H[Cs] = !1;
647
- function Qe(e, t, n, i, a, r) {
647
+ function Xe(e, t, n, a, i, r) {
648
648
  var s, o = t & cs, l = t & ms, d = t & fs;
649
649
  if (s !== void 0)
650
650
  return s;
@@ -658,12 +658,12 @@ function Qe(e, t, n, i, a, r) {
658
658
  var m = _e(e), p = m == ni || m == bs;
659
659
  if (Ln(e))
660
660
  return fo(e, o);
661
- if (m == ii || m == ti || p && !a) {
661
+ if (m == ii || m == ti || p && !i) {
662
662
  if (s = l || p ? {} : as(e), !o)
663
663
  return l ? _o(e, co(s, e)) : bo(e, ro(s, e));
664
664
  } else {
665
665
  if (!H[m])
666
- return a ? e : {};
666
+ return i ? e : {};
667
667
  s = ns(e, m, o);
668
668
  }
669
669
  }
@@ -672,18 +672,18 @@ function Qe(e, t, n, i, a, r) {
672
672
  if (E)
673
673
  return E;
674
674
  r.set(e, s), us(e) ? e.forEach(function(M) {
675
- s.add(Qe(M, t, n, M, e, r));
675
+ s.add(Xe(M, t, n, M, e, r));
676
676
  }) : ss(e) && e.forEach(function(M, T) {
677
- s.set(T, Qe(M, t, n, T, e, r));
677
+ s.set(T, Xe(M, t, n, T, e, r));
678
678
  });
679
679
  var N = d ? l ? Mo : wo : l ? wt : pt, c = h ? void 0 : N(e);
680
680
  return Vn(c || e, function(M, T) {
681
- c && (T = M, M = e[T]), Gn(s, T, Qe(M, t, n, T, e, r));
681
+ c && (T = M, M = e[T]), Gn(s, T, Xe(M, t, n, T, e, r));
682
682
  }), s;
683
683
  }
684
684
  var Ps = 1, Ns = 4;
685
685
  function we(e) {
686
- return Qe(e, Ps | Ns);
686
+ return Xe(e, Ps | Ns);
687
687
  }
688
688
  const Kt = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), fn = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
689
689
  var Ls = "[object String]";
@@ -702,7 +702,7 @@ const ai = {
702
702
  featured: this.fieldFeatured(e),
703
703
  required: this.fieldRequired(e)
704
704
  };
705
- return Array.isArray(e.styleClasses) ? le(e.styleClasses, (i) => n[i] = !0) : Re(e.styleClasses) && (n[e.styleClasses] = !0), X(e.type) || (n["field-" + e.type] = !0), n;
705
+ return Array.isArray(e.styleClasses) ? le(e.styleClasses, (a) => n[a] = !0) : Re(e.styleClasses) && (n[e.styleClasses] = !0), X(e.type) || (n["field-" + e.type] = !0), n;
706
706
  },
707
707
  fieldErrors(e) {
708
708
  return this.errors.filter((n) => n.field.fieldName === e.fieldName).map((n) => n.error);
@@ -754,14 +754,14 @@ function kt(e) {
754
754
  return n || Hs.test(e) ? xs(e.slice(2), n ? 2 : 8) : zs.test(e) ? hn : +e;
755
755
  }
756
756
  var Gs = "Expected a function", Ws = Math.max, Zs = Math.min;
757
- function nt(e, t, n) {
758
- var i, a, r, s, o, l, d = 0, h = !1, m = !1, p = !0;
757
+ function it(e, t, n) {
758
+ var a, i, r, s, o, l, d = 0, h = !1, m = !1, p = !0;
759
759
  if (typeof e != "function")
760
760
  throw new TypeError(Gs);
761
761
  t = kt(t) || 0, me(n) && (h = !!n.leading, m = "maxWait" in n, r = m ? Ws(kt(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
762
762
  function E(_) {
763
- var v = i, j = a;
764
- return i = a = void 0, d = _, s = e.apply(j, v), s;
763
+ var v = a, j = i;
764
+ return a = i = void 0, d = _, s = e.apply(j, v), s;
765
765
  }
766
766
  function N(_) {
767
767
  return d = _, o = setTimeout(T, t), h ? E(_) : s;
@@ -781,17 +781,17 @@ function nt(e, t, n) {
781
781
  o = setTimeout(T, c(_));
782
782
  }
783
783
  function U(_) {
784
- return o = void 0, p && i ? E(_) : (i = a = void 0, s);
784
+ return o = void 0, p && a ? E(_) : (a = i = void 0, s);
785
785
  }
786
786
  function b() {
787
- o !== void 0 && clearTimeout(o), d = 0, i = l = a = o = void 0;
787
+ o !== void 0 && clearTimeout(o), d = 0, a = l = i = o = void 0;
788
788
  }
789
789
  function O() {
790
790
  return o === void 0 ? s : U(Ct());
791
791
  }
792
792
  function k() {
793
793
  var _ = Ct(), v = M(_);
794
- if (i = arguments, a = this, l = _, v) {
794
+ if (a = arguments, i = this, l = _, v) {
795
795
  if (o === void 0)
796
796
  return N(l);
797
797
  if (m)
@@ -815,8 +815,8 @@ function lt(e) {
815
815
  }
816
816
  lt.prototype.add = lt.prototype.push = Qs;
817
817
  lt.prototype.has = Xs;
818
- function el(e, t, n, i) {
819
- for (var a = e.length, r = n + -1; ++r < a; )
818
+ function el(e, t, n, a) {
819
+ for (var i = e.length, r = n + -1; ++r < i; )
820
820
  if (t(e[r], r, e))
821
821
  return r;
822
822
  return -1;
@@ -825,9 +825,9 @@ function tl(e) {
825
825
  return e !== e;
826
826
  }
827
827
  function nl(e, t, n) {
828
- for (var i = n - 1, a = e.length; ++i < a; )
829
- if (e[i] === t)
830
- return i;
828
+ for (var a = n - 1, i = e.length; ++a < i; )
829
+ if (e[a] === t)
830
+ return a;
831
831
  return -1;
832
832
  }
833
833
  function il(e, t, n) {
@@ -844,31 +844,31 @@ function ol() {
844
844
  }
845
845
  function ri(e) {
846
846
  var t = -1, n = Array(e.size);
847
- return e.forEach(function(i) {
848
- n[++t] = i;
847
+ return e.forEach(function(a) {
848
+ n[++t] = a;
849
849
  }), n;
850
850
  }
851
851
  var sl = 1 / 0, ll = ze && 1 / ri(new ze([, -0]))[1] == sl ? function(e) {
852
852
  return new ze(e);
853
853
  } : ol, dl = 200;
854
854
  function ul(e, t, n) {
855
- var i = -1, a = al, r = e.length, s = !0, o = [], l = o;
855
+ var a = -1, i = al, r = e.length, s = !0, o = [], l = o;
856
856
  if (r >= dl) {
857
857
  var d = ll(e);
858
858
  if (d)
859
859
  return ri(d);
860
- s = !1, a = rl, l = new lt();
860
+ s = !1, i = rl, l = new lt();
861
861
  } else
862
862
  l = o;
863
863
  e:
864
- for (; ++i < r; ) {
865
- var h = e[i], m = h;
864
+ for (; ++a < r; ) {
865
+ var h = e[a], m = h;
866
866
  if (h = h !== 0 ? h : 0, s && m === m) {
867
867
  for (var p = l.length; p--; )
868
868
  if (l[p] === m)
869
869
  continue e;
870
870
  o.push(h);
871
- } else a(l, m, n) || (l !== o && l.push(m), o.push(h));
871
+ } else i(l, m, n) || (l !== o && l.push(m), o.push(h));
872
872
  }
873
873
  return o;
874
874
  }
@@ -880,25 +880,25 @@ function si(e) {
880
880
  var t = ++cl;
881
881
  return Hn(e) + t;
882
882
  }
883
- var li = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Ce = "\\d\\d?", Te = "\\d\\d", ml = "\\d{3}", fl = "\\d{4}", Xe = "[^\\s]+", di = /\[([^]*?)\]/gm;
883
+ var li = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Ce = "\\d\\d?", Te = "\\d\\d", ml = "\\d{3}", fl = "\\d{4}", et = "[^\\s]+", di = /\[([^]*?)\]/gm;
884
884
  function ui(e, t) {
885
- for (var n = [], i = 0, a = e.length; i < a; i++)
886
- n.push(e[i].substr(0, t));
885
+ for (var n = [], a = 0, i = e.length; a < i; a++)
886
+ n.push(e[a].substr(0, t));
887
887
  return n;
888
888
  }
889
889
  var pn = function(e) {
890
890
  return function(t, n) {
891
- var i = n[e].map(function(r) {
891
+ var a = n[e].map(function(r) {
892
892
  return r.toLowerCase();
893
- }), a = i.indexOf(t.toLowerCase());
894
- return a > -1 ? a : null;
893
+ }), i = a.indexOf(t.toLowerCase());
894
+ return i > -1 ? i : null;
895
895
  };
896
896
  };
897
897
  function Pe(e) {
898
898
  for (var t = [], n = 1; n < arguments.length; n++)
899
899
  t[n - 1] = arguments[n];
900
- for (var i = 0, a = t; i < a.length; i++) {
901
- var r = a[i];
900
+ for (var a = 0, i = t; a < i.length; a++) {
901
+ var r = i[a];
902
902
  for (var s in r)
903
903
  e[s] = r[s];
904
904
  }
@@ -1031,9 +1031,9 @@ var ci = [
1031
1031
  }
1032
1032
  }, vn = function(e) {
1033
1033
  return +e - 1;
1034
- }, bn = [null, Ce], yn = [null, Xe], _n = [
1034
+ }, bn = [null, Ce], yn = [null, et], _n = [
1035
1035
  "isPm",
1036
- Xe,
1036
+ et,
1037
1037
  function(e, t) {
1038
1038
  var n = e.toLowerCase();
1039
1039
  return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
@@ -1052,7 +1052,7 @@ var ci = [
1052
1052
  ], bl = {
1053
1053
  D: ["day", Ce],
1054
1054
  DD: ["day", Te],
1055
- Do: ["day", Ce + Xe, function(e) {
1055
+ Do: ["day", Ce + et, function(e) {
1056
1056
  return parseInt(e, 10);
1057
1057
  }],
1058
1058
  M: ["month", Ce, vn],
@@ -1085,8 +1085,8 @@ var ci = [
1085
1085
  dd: bn,
1086
1086
  ddd: yn,
1087
1087
  dddd: yn,
1088
- MMM: ["month", Xe, pn("monthNamesShort")],
1089
- MMMM: ["month", Xe, pn("monthNames")],
1088
+ MMM: ["month", et, pn("monthNamesShort")],
1089
+ MMMM: ["month", et, pn("monthNames")],
1090
1090
  a: _n,
1091
1091
  A: _n,
1092
1092
  ZZ: wn,
@@ -1108,15 +1108,15 @@ var ci = [
1108
1108
  if (t === void 0 && (t = ut.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
1109
1109
  throw new Error("Invalid Date pass to format");
1110
1110
  t = ut[t] || t;
1111
- var i = [];
1111
+ var a = [];
1112
1112
  t = t.replace(di, function(r, s) {
1113
- return i.push(s), "@@@";
1113
+ return a.push(s), "@@@";
1114
1114
  });
1115
- var a = Pe(Pe({}, dt), n);
1115
+ var i = Pe(Pe({}, dt), n);
1116
1116
  return t = t.replace(li, function(r) {
1117
- return vl[r](e, a);
1117
+ return vl[r](e, i);
1118
1118
  }), t.replace(/@@@/g, function() {
1119
- return i.shift();
1119
+ return a.shift();
1120
1120
  });
1121
1121
  };
1122
1122
  function wl(e, t, n) {
@@ -1124,8 +1124,8 @@ function wl(e, t, n) {
1124
1124
  throw new Error("Invalid format in fecha parse");
1125
1125
  if (t = ut[t] || t, e.length > 1e3)
1126
1126
  return null;
1127
- var i = /* @__PURE__ */ new Date(), a = {
1128
- year: i.getFullYear(),
1127
+ var a = /* @__PURE__ */ new Date(), i = {
1128
+ year: a.getFullYear(),
1129
1129
  month: 0,
1130
1130
  day: 1,
1131
1131
  hour: 0,
@@ -1155,12 +1155,12 @@ function wl(e, t, n) {
1155
1155
  var E = r[p - 1], N = E[0], c = E[2], M = c ? c(h[p], m) : +h[p];
1156
1156
  if (M == null)
1157
1157
  return null;
1158
- a[N] = M;
1158
+ i[N] = M;
1159
1159
  }
1160
- a.isPm === 1 && a.hour != null && +a.hour != 12 ? a.hour = +a.hour + 12 : a.isPm === 0 && +a.hour == 12 && (a.hour = 0);
1160
+ i.isPm === 1 && i.hour != null && +i.hour != 12 ? i.hour = +i.hour + 12 : i.isPm === 0 && +i.hour == 12 && (i.hour = 0);
1161
1161
  var T;
1162
- if (a.timezoneOffset == null) {
1163
- T = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1162
+ if (i.timezoneOffset == null) {
1163
+ T = new Date(i.year, i.month, i.day, i.hour, i.minute, i.second, i.millisecond);
1164
1164
  for (var U = [
1165
1165
  ["month", "getMonth"],
1166
1166
  ["day", "getDate"],
@@ -1168,9 +1168,9 @@ function wl(e, t, n) {
1168
1168
  ["minute", "getMinutes"],
1169
1169
  ["second", "getSeconds"]
1170
1170
  ], p = 0, b = U.length; p < b; p++)
1171
- if (l[U[p][0]] && a[U[p][0]] !== T[U[p][1]]())
1171
+ if (l[U[p][0]] && i[U[p][0]] !== T[U[p][1]]())
1172
1172
  return null;
1173
- } else if (T = new Date(Date.UTC(a.year, a.month, a.day, a.hour, a.minute - a.timezoneOffset, a.second, a.millisecond)), a.month > 11 || a.month < 0 || a.day > 31 || a.day < 1 || a.hour > 23 || a.hour < 0 || a.minute > 59 || a.minute < 0 || a.second > 59 || a.second < 0)
1173
+ } else if (T = new Date(Date.UTC(i.year, i.month, i.day, i.hour, i.minute - i.timezoneOffset, i.second, i.millisecond)), i.month > 11 || i.month < 0 || i.day > 31 || i.day < 1 || i.hour > 23 || i.hour < 0 || i.minute > 59 || i.minute < 0 || i.second > 59 || i.second < 0)
1174
1174
  return null;
1175
1175
  return T;
1176
1176
  }
@@ -1197,11 +1197,11 @@ function Ml(e, t, n) {
1197
1197
  var Mn = Math.max;
1198
1198
  function Sl(e, t, n) {
1199
1199
  return t = Mn(t === void 0 ? e.length - 1 : t, 0), function() {
1200
- for (var i = arguments, a = -1, r = Mn(i.length - t, 0), s = Array(r); ++a < r; )
1201
- s[a] = i[t + a];
1202
- a = -1;
1203
- for (var o = Array(t + 1); ++a < t; )
1204
- o[a] = i[a];
1200
+ for (var a = arguments, i = -1, r = Mn(a.length - t, 0), s = Array(r); ++i < r; )
1201
+ s[i] = a[t + i];
1202
+ i = -1;
1203
+ for (var o = Array(t + 1); ++i < t; )
1204
+ o[i] = a[i];
1205
1205
  return o[t] = n(s), Ml(e, this, o);
1206
1206
  };
1207
1207
  }
@@ -1221,8 +1221,8 @@ var Cl = st ? function(e, t) {
1221
1221
  function El(e) {
1222
1222
  var t = 0, n = 0;
1223
1223
  return function() {
1224
- var i = Al(), a = Ol - (i - n);
1225
- if (n = i, a > 0) {
1224
+ var a = Al(), i = Ol - (a - n);
1225
+ if (n = a, i > 0) {
1226
1226
  if (++t >= Il)
1227
1227
  return arguments[0];
1228
1228
  } else
@@ -1237,13 +1237,13 @@ function kl(e, t) {
1237
1237
  function Ul(e, t, n) {
1238
1238
  if (!me(n))
1239
1239
  return !1;
1240
- var i = typeof t;
1241
- return (i == "number" ? ht(n) && qn(t, n.length) : i == "string" && t in n) ? vt(n[t], e) : !1;
1240
+ var a = typeof t;
1241
+ return (a == "number" ? ht(n) && qn(t, n.length) : a == "string" && t in n) ? vt(n[t], e) : !1;
1242
1242
  }
1243
1243
  var hi = Object.prototype, $l = hi.hasOwnProperty, Vl = kl(function(e, t) {
1244
1244
  e = Object(e);
1245
- var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
1246
- for (a && Ul(t[0], t[1], a) && (i = 1); ++n < i; )
1245
+ var n = -1, a = t.length, i = a > 2 ? t[2] : void 0;
1246
+ for (i && Ul(t[0], t[1], i) && (a = 1); ++n < a; )
1247
1247
  for (var r = t[n], s = wt(r), o = -1, l = s.length; ++o < l; ) {
1248
1248
  var d = s[o], h = e[d];
1249
1249
  (h === void 0 || vt(h, hi[d]) && !$l.call(e, d)) && (e[d] = r[d]);
@@ -1478,98 +1478,98 @@ const Dl = {
1478
1478
  e = e.replace("{" + (n - 1) + "}", String(t[n] || ""));
1479
1479
  return e;
1480
1480
  }, fe = (e, t, n = oe) => X(e) || e === "" ? t ? [Z(n.fieldIsRequired)] : [] : null, Ne = {
1481
- required: (e, t, n, i = oe) => fe(e, t.required, i) || [],
1482
- number: (e, t, n, i = oe) => {
1483
- let a = fe(e, t.required, i);
1484
- return a != null || (a = [], Rl(e) ? (!X(t.min) && e < t.min, (i = oe) && a.push(Z(i.numberTooSmall, t.min)), !X(t.max) && e > t.max, (i = oe) && a.push(Z(i.numberTooBig, t.max))) : a.push(Z(i.invalidNumber))), a;
1481
+ required: (e, t, n, a = oe) => fe(e, t.required, a) || [],
1482
+ number: (e, t, n, a = oe) => {
1483
+ let i = fe(e, t.required, a);
1484
+ return i != null || (i = [], Rl(e) ? (!X(t.min) && e < t.min, (a = oe) && i.push(Z(a.numberTooSmall, t.min)), !X(t.max) && e > t.max, (a = oe) && i.push(Z(a.numberTooBig, t.max))) : i.push(Z(a.invalidNumber))), i;
1485
1485
  },
1486
- integer: (e, t, n, i = oe) => {
1487
- let a = fe(e, t.required, i);
1488
- return a != null || (a = [], a.concat(Ne.number(e, t, n, i)), ql(e) || a.push(Z(i.invalidInteger))), a;
1486
+ integer: (e, t, n, a = oe) => {
1487
+ let i = fe(e, t.required, a);
1488
+ return i != null || (i = [], i.concat(Ne.number(e, t, n, a)), ql(e) || i.push(Z(a.invalidInteger))), i;
1489
1489
  },
1490
- double: (e, t, n, i = oe) => {
1491
- const a = fe(e, t.required, i);
1492
- return a ?? (!ct(e) || isNaN(e) ? [Z(i.invalidNumber)] : []);
1490
+ double: (e, t, n, a = oe) => {
1491
+ const i = fe(e, t.required, a);
1492
+ return i ?? (!ct(e) || isNaN(e) ? [Z(a.invalidNumber)] : []);
1493
1493
  },
1494
- string: (e, t, n, i = oe) => {
1495
- let a = fe(e, t.required, i);
1496
- return a != null || (a = [], Re(e) ? (!X(t.min) && e.length < t.min && a.push(Z(i.textTooSmall, e.length, t.min)), !X(t.max) && e.length > t.max && a.push(Z(i.textTooBig, e.length, t.max))) : a.push(Z(i.thisNotText))), a;
1494
+ string: (e, t, n, a = oe) => {
1495
+ let i = fe(e, t.required, a);
1496
+ return i != null || (i = [], Re(e) ? (!X(t.min) && e.length < t.min && i.push(Z(a.textTooSmall, e.length, t.min)), !X(t.max) && e.length > t.max && i.push(Z(a.textTooBig, e.length, t.max))) : i.push(Z(a.thisNotText))), i;
1497
1497
  },
1498
- array: (e, t, n, i = oe) => {
1498
+ array: (e, t, n, a = oe) => {
1499
1499
  if (t.required) {
1500
1500
  if (!Array.isArray(e))
1501
- return [Z(i.thisNotArray)];
1501
+ return [Z(a.thisNotArray)];
1502
1502
  if (e.length === 0)
1503
- return [Z(i.fieldIsRequired)];
1503
+ return [Z(a.fieldIsRequired)];
1504
1504
  }
1505
1505
  if (!X(e)) {
1506
1506
  if (!X(t.min) && e.length < t.min)
1507
- return [Z(i.selectMinItems, t.min)];
1507
+ return [Z(a.selectMinItems, t.min)];
1508
1508
  if (!X(t.max) && e.length > t.max)
1509
- return [Z(i.selectMaxItems, t.max)];
1509
+ return [Z(a.selectMaxItems, t.max)];
1510
1510
  }
1511
1511
  return [];
1512
1512
  },
1513
- date: (e, t, n, i = oe) => {
1514
- let a = fe(e, t.required, i);
1515
- if (a != null) return a;
1516
- a = [];
1513
+ date: (e, t, n, a = oe) => {
1514
+ let i = fe(e, t.required, a);
1515
+ if (i != null) return i;
1516
+ i = [];
1517
1517
  const r = new Date(e);
1518
1518
  if (isNaN(r.getDate()))
1519
- return [Z(i.invalidDate)];
1519
+ return [Z(a.invalidDate)];
1520
1520
  if (!X(t.min)) {
1521
1521
  const s = new Date(t.min);
1522
- r.valueOf() < s.valueOf() && a.push(Z(i.dateIsEarly, Be.format(r), Be.format(s)));
1522
+ r.valueOf() < s.valueOf() && i.push(Z(a.dateIsEarly, Be.format(r), Be.format(s)));
1523
1523
  }
1524
1524
  if (!X(t.max)) {
1525
1525
  const s = new Date(t.max);
1526
- r.valueOf() > s.valueOf() && a.push(Z(i.dateIsLate, Be.format(r), Be.format(s)));
1526
+ r.valueOf() > s.valueOf() && i.push(Z(a.dateIsLate, Be.format(r), Be.format(s)));
1527
1527
  }
1528
- return a;
1528
+ return i;
1529
1529
  },
1530
- regexp: (e, t, n, i = oe) => {
1531
- const a = fe(e, t.required, i);
1532
- return a ?? (!X(t.pattern) && !new RegExp(t.pattern).test(e) ? [Z(i.invalidFormat)] : []);
1530
+ regexp: (e, t, n, a = oe) => {
1531
+ const i = fe(e, t.required, a);
1532
+ return i ?? (!X(t.pattern) && !new RegExp(t.pattern).test(e) ? [Z(a.invalidFormat)] : []);
1533
1533
  },
1534
- email: (e, t, n, i = oe) => {
1535
- const a = fe(e, t.required, i);
1536
- return a ?? (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e) ? [] : [Z(i.invalidEmail)]);
1534
+ email: (e, t, n, a = oe) => {
1535
+ const i = fe(e, t.required, a);
1536
+ return i ?? (/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e) ? [] : [Z(a.invalidEmail)]);
1537
1537
  },
1538
- url: (e, t, n, i = oe) => {
1539
- const a = fe(e, t.required, i);
1540
- return a ?? (/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(e) ? [] : [Z(i.invalidURL)]);
1538
+ url: (e, t, n, a = oe) => {
1539
+ const i = fe(e, t.required, a);
1540
+ return i ?? (/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g.test(e) ? [] : [Z(a.invalidURL)]);
1541
1541
  },
1542
- creditCard: (e, t, n, i = oe) => {
1543
- const a = fe(e, t.required, i);
1544
- if (a != null) return a;
1542
+ creditCard: (e, t, n, a = oe) => {
1543
+ const i = fe(e, t.required, a);
1544
+ if (i != null) return i;
1545
1545
  const r = /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/, s = e.replace(/[^0-9]+/g, "");
1546
1546
  if (!r.test(s))
1547
- return [Z(i.invalidCard)];
1547
+ return [Z(a.invalidCard)];
1548
1548
  let o = 0, l, d, h;
1549
1549
  for (let m = s.length - 1; m >= 0; m--)
1550
1550
  l = s.substring(m, m + 1), d = parseInt(l, 10), h ? (d *= 2, d >= 10 ? o += d % 10 + 1 : o += d) : o += d, h = !h;
1551
- return o % 10 === 0 && s ? [] : [Z(i.invalidCardNumber)];
1551
+ return o % 10 === 0 && s ? [] : [Z(a.invalidCardNumber)];
1552
1552
  },
1553
- alpha: (e, t, n, i = oe) => {
1554
- const a = fe(e, t.required, i);
1555
- return a ?? (/^[a-zA-Z]*$/.test(e) ? [] : [Z(i.invalidTextContainNumber)]);
1553
+ alpha: (e, t, n, a = oe) => {
1554
+ const i = fe(e, t.required, a);
1555
+ return i ?? (/^[a-zA-Z]*$/.test(e) ? [] : [Z(a.invalidTextContainNumber)]);
1556
1556
  },
1557
- alphaNumeric: (e, t, n, i = oe) => {
1558
- const a = fe(e, t.required, i);
1559
- return a ?? (/^[a-zA-Z0-9]*$/.test(e) ? [] : [Z(i.invalidTextContainSpec)]);
1557
+ alphaNumeric: (e, t, n, a = oe) => {
1558
+ const i = fe(e, t.required, a);
1559
+ return i ?? (/^[a-zA-Z0-9]*$/.test(e) ? [] : [Z(a.invalidTextContainSpec)]);
1560
1560
  }
1561
1561
  };
1562
1562
  Object.keys(Ne).forEach((e) => {
1563
1563
  const t = Ne[e];
1564
- z(t) && (t.locale = (n) => (i, a, r) => t(i, a, r, Vl(n, oe)));
1564
+ z(t) && (t.locale = (n) => (a, i, r) => t(a, i, r, Vl(n, oe)));
1565
1565
  });
1566
1566
  function Tn(e) {
1567
1567
  return Re(e) ? Ne[e] != null ? Ne[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
1568
1568
  }
1569
1569
  function It(e, t, n) {
1570
- let i = B(n.context, "schema.attributes", {});
1571
- const a = t.value || "input";
1572
- Re(a) && (i = B(i, a) || i), le(i, (r, s) => {
1570
+ let a = B(n.context, "schema.attributes", {});
1571
+ const i = t.value || "input";
1572
+ Re(i) && (a = B(a, i) || a), le(a, (r, s) => {
1573
1573
  e.setAttribute(s, r);
1574
1574
  });
1575
1575
  }
@@ -1610,10 +1610,10 @@ const be = {
1610
1610
  const t = B(this.formOptions, "validateAsync", !1);
1611
1611
  let n = [];
1612
1612
  if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
1613
- const a = [];
1613
+ const i = [];
1614
1614
  Array.isArray(this.schema.validator) ? le(this.schema.validator, (r) => {
1615
- a.push(Tn(r).bind(this));
1616
- }) : a.push(Tn(this.schema.validator).bind(this)), le(a, (r) => {
1615
+ i.push(Tn(r).bind(this));
1616
+ }) : i.push(Tn(this.schema.validator).bind(this)), le(i, (r) => {
1617
1617
  if (t)
1618
1618
  n.push(r(this.value, this.schema, this.model));
1619
1619
  else {
@@ -1626,18 +1626,18 @@ const be = {
1626
1626
  }
1627
1627
  });
1628
1628
  }
1629
- const i = (a) => {
1629
+ const a = (i) => {
1630
1630
  let r = [];
1631
- le(oi(a), (o) => {
1631
+ le(oi(i), (o) => {
1632
1632
  Array.isArray(o) && o.length > 0 ? r = r.concat(o) : Re(o) && r.push(o);
1633
1633
  }), z(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, r, this.schema);
1634
1634
  const s = r.length === 0;
1635
1635
  return e || this.$emit("validated", s, r, this), this.errors = r, r;
1636
1636
  };
1637
- return t ? Promise.all(n).then(i) : i(n);
1637
+ return t ? Promise.all(n).then(a) : a(n);
1638
1638
  },
1639
1639
  debouncedValidate() {
1640
- z(this.debouncedValidateFunc) || (this.debouncedValidateFunc = nt(
1640
+ z(this.debouncedValidateFunc) || (this.debouncedValidateFunc = it(
1641
1641
  this.validate.bind(this),
1642
1642
  B(this.schema, "validateDebounceTime", B(this.formOptions, "validateDebounceTime", 500))
1643
1643
  )), this.debouncedValidateFunc();
@@ -1652,16 +1652,16 @@ const be = {
1652
1652
  setModelValueByPath(e, t) {
1653
1653
  let n = e.replace(/\[(\w+)\]/g, ".$1");
1654
1654
  n = n.replace(/^\./, "");
1655
- let i = this.model;
1656
- const a = n.split(".");
1655
+ let a = this.model;
1656
+ const i = n.split(".");
1657
1657
  let r = 0;
1658
- const s = a.length;
1658
+ const s = i.length;
1659
1659
  for (; r < s; ) {
1660
- const o = a[r];
1660
+ const o = i[r];
1661
1661
  if (r < s - 1)
1662
- i[o] !== void 0 || (i[o] = {}), i = i[o];
1662
+ a[o] !== void 0 || (a[o] = {}), a = a[o];
1663
1663
  else {
1664
- i[o] = t;
1664
+ a[o] = t;
1665
1665
  return;
1666
1666
  }
1667
1667
  ++r;
@@ -1689,8 +1689,8 @@ const be = {
1689
1689
  default: be
1690
1690
  }, Symbol.toStringTag, { value: "Module" })), Y = (e, t) => {
1691
1691
  const n = e.__vccOpts || e;
1692
- for (const [i, a] of t)
1693
- n[i] = a;
1692
+ for (const [a, i] of t)
1693
+ n[a] = i;
1694
1694
  return n;
1695
1695
  }, xl = {
1696
1696
  class: "advanced-field-dropdown-wrapper",
@@ -1730,7 +1730,7 @@ const be = {
1730
1730
  f("button", {
1731
1731
  class: "advanced-field-title",
1732
1732
  type: "button",
1733
- onClick: n[0] || (n[0] = (...i) => t.handleOpen && t.handleOpen(...i))
1733
+ onClick: n[0] || (n[0] = (...a) => t.handleOpen && t.handleOpen(...a))
1734
1734
  }, [
1735
1735
  f("i", Gl, $(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
1736
1736
  f("span", null, $(t.titleText), 1)
@@ -1765,10 +1765,10 @@ const be = {
1765
1765
  },
1766
1766
  emits: ["remove-item"],
1767
1767
  setup(e) {
1768
- return it("vfg-array-item-index", e.index), (n, i) => {
1769
- const a = F("KCard"), r = F("KButton");
1768
+ return at("vfg-array-item-index", e.index), (n, a) => {
1769
+ const i = F("KCard"), r = F("KButton");
1770
1770
  return u(), g("div", Ql, [
1771
- C(a, { class: "card" }, {
1771
+ C(i, { class: "card" }, {
1772
1772
  default: I(() => [
1773
1773
  Oe(n.$slots, "default", {}, void 0, !0)
1774
1774
  ]),
@@ -1777,10 +1777,10 @@ const be = {
1777
1777
  C(r, {
1778
1778
  appearance: "tertiary",
1779
1779
  class: "array-card-remove-button",
1780
- onClick: i[0] || (i[0] = (s) => n.$emit("remove-item"))
1780
+ onClick: a[0] || (a[0] = (s) => n.$emit("remove-item"))
1781
1781
  }, {
1782
1782
  default: I(() => [
1783
- C(w(at))
1783
+ C(w(rt))
1784
1784
  ]),
1785
1785
  _: 1
1786
1786
  })
@@ -1798,17 +1798,17 @@ const be = {
1798
1798
  emits: ["remove-item"],
1799
1799
  setup(e) {
1800
1800
  return (t, n) => {
1801
- const i = F("KButton");
1801
+ const a = F("KButton");
1802
1802
  return u(), g("div", ed, [
1803
1803
  f("div", td, [
1804
1804
  Oe(t.$slots, "default", {}, void 0, !0),
1805
- C(i, {
1805
+ C(a, {
1806
1806
  appearance: "tertiary",
1807
1807
  class: "delete",
1808
- onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1808
+ onClick: n[0] || (n[0] = (i) => t.$emit("remove-item"))
1809
1809
  }, {
1810
1810
  default: I(() => [
1811
- C(w(at))
1811
+ C(w(rt))
1812
1812
  ]),
1813
1813
  _: 1
1814
1814
  })
@@ -1824,13 +1824,13 @@ const be = {
1824
1824
  emits: ["remove-item"],
1825
1825
  setup(e) {
1826
1826
  return (t, n) => {
1827
- const i = F("KButton");
1827
+ const a = F("KButton");
1828
1828
  return u(), g("div", ad, [
1829
1829
  Oe(t.$slots, "default", {}, void 0, !0),
1830
- C(i, {
1830
+ C(a, {
1831
1831
  appearance: "danger",
1832
1832
  class: "delete",
1833
- onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
1833
+ onClick: n[0] || (n[0] = (i) => t.$emit("remove-item"))
1834
1834
  }, {
1835
1835
  default: I(() => n[1] || (n[1] = [
1836
1836
  te(" - Remove Field ")
@@ -1912,7 +1912,7 @@ const dd = {
1912
1912
  },
1913
1913
  methods: {
1914
1914
  onQueryChange(e) {
1915
- e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = nt(
1915
+ e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = it(
1916
1916
  this.search,
1917
1917
  500
1918
1918
  )), this.performSearch(e);
@@ -1921,13 +1921,13 @@ const dd = {
1921
1921
  if (e.trim().length === 0)
1922
1922
  return;
1923
1923
  this.loading = !0;
1924
- const t = [], n = [], i = this.getInputFields(), a = /* @__PURE__ */ new Set();
1925
- sd(e) && i.includes("id") ? n.push((async () => {
1924
+ const t = [], n = [], a = this.getInputFields(), i = /* @__PURE__ */ new Set();
1925
+ sd(e) && a.includes("id") ? n.push((async () => {
1926
1926
  const r = await this.fetchExact(e);
1927
1927
  t.push({ ...r, label: this.getSuggestionLabel(r), value: r.id });
1928
- })()) : n.push(...i.filter((r) => r !== "id").map(async (r) => {
1928
+ })()) : n.push(...a.filter((r) => r !== "id").map(async (r) => {
1929
1929
  (await this.fetchSuggestions(e, r)).forEach((o) => {
1930
- a.has(o.id) || (a.add(o.id), t.push({ ...o, label: this.getSuggestionLabel(o), value: o.id }));
1930
+ i.has(o.id) || (i.add(o.id), t.push({ ...o, label: this.getSuggestionLabel(o), value: o.id }));
1931
1931
  });
1932
1932
  })), await Promise.all(n), this.items = t, this.items.length === 0 && (this.message = "No results"), this.loading = !1;
1933
1933
  },
@@ -1940,12 +1940,12 @@ const dd = {
1940
1940
  if (!this[$e])
1941
1941
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
1942
1942
  for (; t.length < Ot; ) {
1943
- const i = await this[$e].getAll(this.entity, {
1943
+ const a = await this[$e].getAll(this.entity, {
1944
1944
  size: Ot,
1945
1945
  offset: n,
1946
1946
  ...e
1947
1947
  });
1948
- if (t.push(...i.data.data), n = i.data.offset, !n) break;
1948
+ if (t.push(...a.data.data), n = a.data.offset, !n) break;
1949
1949
  }
1950
1950
  return t.slice(0, Ot);
1951
1951
  },
@@ -1976,25 +1976,25 @@ const dd = {
1976
1976
  }
1977
1977
  }
1978
1978
  }, ud = ["data-testid", "data-testlabel"], cd = ["data-testid"], md = { class: "autosuggest__results_message" };
1979
- function fd(e, t, n, i, a, r) {
1979
+ function fd(e, t, n, a, i, r) {
1980
1980
  const s = F("KSelect");
1981
1981
  return u(), A(ie(e.schema.disabled ? "k-tooltip" : "div"), {
1982
1982
  class: "field-wrap autosuggest",
1983
1983
  "max-width": "300",
1984
- text: i.t("general.disable_source_scope_change", { scope: r.scope })
1984
+ text: a.t("general.disable_source_scope_change", { scope: r.scope })
1985
1985
  }, {
1986
1986
  default: I(() => [
1987
1987
  C(s, {
1988
1988
  id: e.schema.model,
1989
1989
  ref: "suggestion",
1990
- modelValue: a.idValue,
1991
- "onUpdate:modelValue": t[0] || (t[0] = (o) => a.idValue = o),
1990
+ modelValue: i.idValue,
1991
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => i.idValue = o),
1992
1992
  clearable: "",
1993
1993
  disabled: e.schema.disabled,
1994
1994
  "enable-filtering": "",
1995
1995
  "filter-function": () => !0,
1996
- items: a.items,
1997
- loading: a.loading,
1996
+ items: i.items,
1997
+ loading: i.loading,
1998
1998
  placeholder: e.schema.placeholder,
1999
1999
  width: "100%",
2000
2000
  onChange: r.onSelected,
@@ -2014,7 +2014,7 @@ function fd(e, t, n, i, a, r) {
2014
2014
  ]),
2015
2015
  empty: I(() => [
2016
2016
  f("div", md, [
2017
- f("span", null, $(a.message), 1)
2017
+ f("span", null, $(i.message), 1)
2018
2018
  ])
2019
2019
  ]),
2020
2020
  _: 1
@@ -2025,14 +2025,14 @@ function fd(e, t, n, i, a, r) {
2025
2025
  }
2026
2026
  const bi = /* @__PURE__ */ Y(dd, [["render", fd], ["__scopeId", "data-v-40a272a2"]]);
2027
2027
  function hd(e) {
2028
- const t = ue([]), n = ue(null), i = (c) => Re(c) ? Ne[c] != null ? Ne[c] : (console.warn(`'${c}' is not a validator function!`), null) : c, a = L({
2028
+ const t = ue([]), n = ue(null), a = (c) => Re(c) ? Ne[c] != null ? Ne[c] : (console.warn(`'${c}' is not a validator function!`), null) : c, i = L({
2029
2029
  get() {
2030
2030
  var M, T;
2031
2031
  let c;
2032
2032
  return z(B(e.schema, "get")) ? c = e.schema.get((M = e.model) == null ? void 0 : M.value) : c = B((T = e.model) == null ? void 0 : T.value, e.schema.model), E(c);
2033
2033
  },
2034
2034
  set(c) {
2035
- const M = a;
2035
+ const M = i;
2036
2036
  c = N(c), z(c) ? c(c, M) : o(c, M);
2037
2037
  }
2038
2038
  }), r = (c) => {
@@ -2043,13 +2043,13 @@ function hd(e) {
2043
2043
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2044
2044
  const O = [], k = (b = e.schema) == null ? void 0 : b.validator;
2045
2045
  k && (Array.isArray(k) ? le(k, (_) => {
2046
- O.push(i(_));
2047
- }) : O.push(i(k))), z(e.externalValidator) && O.push(e.externalValidator), le(O, (_) => {
2046
+ O.push(a(_));
2047
+ }) : O.push(a(k))), z(e.externalValidator) && O.push(e.externalValidator), le(O, (_) => {
2048
2048
  var v, j;
2049
2049
  if (M)
2050
- T.push(_(a.value, e.schema, (v = e.model) == null ? void 0 : v.value));
2050
+ T.push(_(i.value, e.schema, (v = e.model) == null ? void 0 : v.value));
2051
2051
  else {
2052
- const x = _(a.value, e.schema, (j = e.model) == null ? void 0 : j.value);
2052
+ const x = _(i.value, e.schema, (j = e.model) == null ? void 0 : j.value);
2053
2053
  x && z(x.then) ? x.then((y) => {
2054
2054
  y && (t.value = t.value.concat(y));
2055
2055
  const S = t.value.length === 0;
@@ -2071,7 +2071,7 @@ function hd(e) {
2071
2071
  };
2072
2072
  return M ? Promise.all(T).then(U) : U(T);
2073
2073
  }, s = () => {
2074
- z(n.value) ? n.value() : n.value = nt(
2074
+ z(n.value) ? n.value() : n.value = it(
2075
2075
  r,
2076
2076
  B(e.schema, "validateDebounceTime", B(e.formOptions, "validateDebounceTime", 500))
2077
2077
  );
@@ -2102,7 +2102,7 @@ function hd(e) {
2102
2102
  return Kt(c, T) + (M ? "-" + si() : "");
2103
2103
  }, m = (c) => `${h(c)}-label`, p = () => B(e.schema, "fieldClasses", []), E = (c) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(c) : c, N = (c) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(c) : c;
2104
2104
  return {
2105
- value: a,
2105
+ value: i,
2106
2106
  clearValidationErrors: l,
2107
2107
  getFieldID: h,
2108
2108
  getLabelId: m,
@@ -2111,15 +2111,15 @@ function hd(e) {
2111
2111
  };
2112
2112
  }
2113
2113
  function pd(e) {
2114
- const t = [], n = (i) => {
2115
- const a = ["cluster-cache", "cluster_cache"];
2116
- for (const r of a)
2117
- if (i.model.includes(r))
2114
+ const t = [], n = (a) => {
2115
+ const i = ["cluster-cache", "cluster_cache"];
2116
+ for (const r of i)
2117
+ if (a.model.includes(r))
2118
2118
  return !1;
2119
- return new RegExp("(?<=-redis-).*").test(i.model);
2119
+ return new RegExp("(?<=-redis-).*").test(a.model);
2120
2120
  };
2121
- return e.fields.forEach((i) => {
2122
- n(i) && t.push(i);
2121
+ return e.fields.forEach((a) => {
2122
+ n(a) && t.push(a);
2123
2123
  }), {
2124
2124
  redis: {
2125
2125
  id: "_redis",
@@ -2128,16 +2128,16 @@ function pd(e) {
2128
2128
  redisType: e._supported_redis_partial_type,
2129
2129
  redisPath: e._redis_partial_path
2130
2130
  },
2131
- redisModels: t.map((i) => i.model)
2131
+ redisModels: t.map((a) => a.model)
2132
2132
  };
2133
2133
  }
2134
2134
  function gd(e, t) {
2135
- const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
2135
+ const n = new RegExp("(?<=config-redis-).*"), a = /Config\.Redis.*/;
2136
2136
  return t.filter((r) => {
2137
2137
  const s = r.model.match(n);
2138
2138
  return s && !Object.keys(e).includes(s[0]);
2139
2139
  }).map((r) => {
2140
- const s = r.label.match(i);
2140
+ const s = r.label.match(a);
2141
2141
  return {
2142
2142
  label: s ? s[0] : r.label,
2143
2143
  key: r.model,
@@ -2190,12 +2190,12 @@ const ye = {
2190
2190
  },
2191
2191
  emits: ["modelUpdated"],
2192
2192
  setup(e, { expose: t, emit: n }) {
2193
- const i = e, a = n, r = Le(i), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
2193
+ const a = e, i = n, r = Le(a), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
2194
2194
  model: r.model,
2195
- schema: i.schema,
2196
- formOptions: i.formOptions,
2195
+ schema: a.schema,
2196
+ formOptions: a.formOptions,
2197
2197
  emitModelUpdated: (b) => {
2198
- a("modelUpdated", b.value, b.model);
2198
+ i("modelUpdated", b.value, b.model);
2199
2199
  }
2200
2200
  });
2201
2201
  t({
@@ -2203,7 +2203,7 @@ const ye = {
2203
2203
  });
2204
2204
  const m = L(() => {
2205
2205
  var O;
2206
- const b = (O = i.schema) == null ? void 0 : O.inputType.toLowerCase();
2206
+ const b = (O = a.schema) == null ? void 0 : O.inputType.toLowerCase();
2207
2207
  switch (b) {
2208
2208
  case "string":
2209
2209
  return "text";
@@ -2220,7 +2220,7 @@ const ye = {
2220
2220
  var j, x;
2221
2221
  let k = b;
2222
2222
  const _ = p[m.value] || "", v = Be.parse(b, _);
2223
- v && ((j = i.schema) != null && j.format ? k = Be.format(v, (x = i.schema) == null ? void 0 : x.format) : k = v.valueOf()), o(k, O);
2223
+ v && ((j = a.schema) != null && j.format ? k = Be.format(v, (x = a.schema) == null ? void 0 : x.format) : k = v.valueOf()), o(k, O);
2224
2224
  }, N = (b, O) => {
2225
2225
  ct(b) || (b = NaN), o(b, O);
2226
2226
  }, c = (b) => {
@@ -2242,11 +2242,11 @@ const ye = {
2242
2242
  switch (m.value) {
2243
2243
  case "number":
2244
2244
  case "range":
2245
- T.value = nt(
2245
+ T.value = it(
2246
2246
  (b, O) => {
2247
2247
  N(b, O);
2248
2248
  },
2249
- parseInt(B(i.schema, "debounceFormatTimeout", 1e3)),
2249
+ parseInt(B(a.schema, "debounceFormatTimeout", 1e3)),
2250
2250
  {
2251
2251
  trailing: !0,
2252
2252
  leading: !1
@@ -2256,11 +2256,11 @@ const ye = {
2256
2256
  case "date":
2257
2257
  case "datetime":
2258
2258
  case "datetime-local":
2259
- T.value = nt(
2259
+ T.value = it(
2260
2260
  (b, O) => {
2261
2261
  E(b, O);
2262
2262
  },
2263
- parseInt(B(i.schema, "debounceFormatTimeout", 1e3)),
2263
+ parseInt(B(a.schema, "debounceFormatTimeout", 1e3)),
2264
2264
  {
2265
2265
  trailing: !0,
2266
2266
  leading: !1
@@ -2305,7 +2305,7 @@ const ye = {
2305
2305
  }
2306
2306
  }), yi = /* @__PURE__ */ Y(bd, [["__scopeId", "data-v-fe1132bb"]]), yd = {
2307
2307
  name: "FieldMetric",
2308
- components: { AddIcon: Vt, TrashIcon: at },
2308
+ components: { AddIcon: Vt, TrashIcon: rt },
2309
2309
  mixins: [be],
2310
2310
  emits: ["remove-item"],
2311
2311
  data() {
@@ -2317,21 +2317,21 @@ const ye = {
2317
2317
  key: 0,
2318
2318
  class: "content"
2319
2319
  };
2320
- function wd(e, t, n, i, a, r) {
2320
+ function wd(e, t, n, a, i, r) {
2321
2321
  const s = F("AddIcon"), o = F("TrashIcon"), l = F("KButton");
2322
2322
  return u(), g("div", {
2323
- class: W(["field-dropdown", { active: a.contentVisible }])
2323
+ class: W(["field-dropdown", { active: i.contentVisible }])
2324
2324
  }, [
2325
2325
  f("div", {
2326
2326
  class: "title",
2327
- onClick: t[0] || (t[0] = (d) => a.contentVisible = !a.contentVisible)
2327
+ onClick: t[0] || (t[0] = (d) => i.contentVisible = !i.contentVisible)
2328
2328
  }, [
2329
2329
  te($(e.model.name ? e.model.name : "New Item") + " ", 1),
2330
2330
  C(s, { class: "metric-add-icon" })
2331
2331
  ]),
2332
2332
  C(Ai, { name: "slide-fade" }, {
2333
2333
  default: I(() => [
2334
- a.contentVisible ? (u(), g("div", _d, [
2334
+ i.contentVisible ? (u(), g("div", _d, [
2335
2335
  Oe(e.$slots, "default"),
2336
2336
  C(l, {
2337
2337
  appearance: "tertiary",
@@ -2368,8 +2368,8 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2368
2368
  if (!this.value) return;
2369
2369
  const e = Object.keys(this.value), t = {};
2370
2370
  for (let n = 0; n < e.length; n++) {
2371
- const i = e[n];
2372
- t[i] = typeof this.value[i];
2371
+ const a = e[n];
2372
+ t[a] = typeof this.value[a];
2373
2373
  }
2374
2374
  this.keyTypes = t;
2375
2375
  },
@@ -2391,7 +2391,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2391
2391
  __name: "FieldObject",
2392
2392
  setup(e) {
2393
2393
  return (t, n) => {
2394
- const i = kn("attributes");
2394
+ const a = kn("attributes");
2395
2395
  return de((u(), g("div", Md, [
2396
2396
  t.schema.schema ? (u(), A(ee, {
2397
2397
  key: 0,
@@ -2404,14 +2404,14 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2404
2404
  id: t.getFieldID(t.schema),
2405
2405
  class: W(t.schema.fieldClasses)
2406
2406
  }, [
2407
- (u(!0), g(K, null, J(t.value, (a, r) => (u(), g("tr", { key: r }, [
2407
+ (u(!0), g(K, null, J(t.value, (i, r) => (u(), g("tr", { key: r }, [
2408
2408
  f("td", null, $(r), 1),
2409
2409
  t.keyTypes[r] === "string" ? (u(), g("td", Cd, [
2410
2410
  de(f("input", {
2411
2411
  "onUpdate:modelValue": (s) => t.value[r] = s,
2412
2412
  type: "text"
2413
2413
  }, null, 8, Id), [
2414
- [Ze, t.value[r]]
2414
+ [Je, t.value[r]]
2415
2415
  ])
2416
2416
  ])) : R("", !0),
2417
2417
  t.keyTypes[r] === "boolean" ? (u(), g("td", Od, [
@@ -2427,7 +2427,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2427
2427
  "onUpdate:modelValue": (s) => t.value[r] = s,
2428
2428
  type: "number"
2429
2429
  }, null, 8, Fd), [
2430
- [Ze, t.value[r]]
2430
+ [Je, t.value[r]]
2431
2431
  ])
2432
2432
  ])) : R("", !0),
2433
2433
  f("td", null, [
@@ -2440,7 +2440,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2440
2440
  ]))), 128))
2441
2441
  ], 10, Td),
2442
2442
  de(f("select", {
2443
- "onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
2443
+ "onUpdate:modelValue": n[0] || (n[0] = (i) => t.newKeyType = i)
2444
2444
  }, n[3] || (n[3] = [
2445
2445
  f("option", { value: "string" }, " String ", -1),
2446
2446
  f("option", { value: "number" }, " Number ", -1),
@@ -2449,19 +2449,19 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2449
2449
  [Fi, t.newKeyType]
2450
2450
  ]),
2451
2451
  de(f("input", {
2452
- "onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
2452
+ "onUpdate:modelValue": n[1] || (n[1] = (i) => t.newKeyName = i),
2453
2453
  type: "text"
2454
2454
  }, null, 512), [
2455
- [Ze, t.newKeyName]
2455
+ [Je, t.newKeyName]
2456
2456
  ]),
2457
2457
  f("input", {
2458
2458
  type: "button",
2459
2459
  value: "Add key",
2460
- onClick: n[2] || (n[2] = (...a) => t.addKey && t.addKey(...a))
2460
+ onClick: n[2] || (n[2] = (...i) => t.addKey && t.addKey(...i))
2461
2461
  })
2462
2462
  ]))
2463
2463
  ])), [
2464
- [i, t.attributes]
2464
+ [a, t.attributes]
2465
2465
  ]);
2466
2466
  };
2467
2467
  }
@@ -2538,32 +2538,32 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2538
2538
  * }
2539
2539
  */
2540
2540
  transformMapModelValuesToObject(e, t, n) {
2541
- let i = {};
2541
+ let a = {};
2542
2542
  try {
2543
- i = JSON.parse(JSON.stringify(e ?? {}))[n] ?? {};
2543
+ a = JSON.parse(JSON.stringify(e ?? {}))[n] ?? {};
2544
2544
  } catch {
2545
2545
  }
2546
- return Object.keys(e).map((a) => {
2547
- const r = a.indexOf(n + "-");
2546
+ return Object.keys(e).map((i) => {
2547
+ const r = i.indexOf(n + "-");
2548
2548
  if (r > -1 && Array.isArray(t))
2549
2549
  if (t.length > 0) {
2550
- const o = a.split("-").filter((d) => t.find((h) => h.model === d)), l = a.split(`-${o}`)[0].split(`${n}-`)[1];
2551
- o.length ? i[l] = {
2552
- ...i[l],
2553
- [o]: e[a]
2554
- } : i[a.substring(r + `${n}-`.length)] = e[a];
2550
+ const o = i.split("-").filter((d) => t.find((h) => h.model === d)), l = i.split(`-${o}`)[0].split(`${n}-`)[1];
2551
+ o.length ? a[l] = {
2552
+ ...a[l],
2553
+ [o]: e[i]
2554
+ } : a[i.substring(r + `${n}-`.length)] = e[i];
2555
2555
  } else
2556
- i[a.substring(`${n}-`.length)] = e[a];
2556
+ a[i.substring(`${n}-`.length)] = e[i];
2557
2557
  else {
2558
- const o = a.split("-").filter((d) => d === this.schema.model), l = a.split(`-${o}`)[0].split(`${n}-`)[1];
2559
- l && (i[l] = e[a]);
2558
+ const o = i.split("-").filter((d) => d === this.schema.model), l = i.split(`-${o}`)[0].split(`${n}-`)[1];
2559
+ l && (a[l] = e[i]);
2560
2560
  }
2561
- return a;
2562
- }), i;
2561
+ return i;
2562
+ }), a;
2563
2563
  },
2564
2564
  addKey() {
2565
- var i;
2566
- const e = this.subSchema && Array.isArray(this.subSchema.fields) && this.subSchema.fields.length === 1 && this.subSchema.fields[0].type === "array", t = ((i = this.schema.values) == null ? void 0 : i.default) ?? (this.valueInputType === "number" ? 0 : ""), n = this.subSchema ? e ? [""] : {} : t;
2565
+ var a;
2566
+ const e = this.subSchema && Array.isArray(this.subSchema.fields) && this.subSchema.fields.length === 1 && this.subSchema.fields[0].type === "array", t = ((a = this.schema.values) == null ? void 0 : a.default) ?? (this.valueInputType === "number" ? 0 : ""), n = this.subSchema ? e ? [""] : {} : t;
2567
2567
  this.value[this.newKeyName] = n, this.newKeyName = "";
2568
2568
  },
2569
2569
  updateModel(e, t) {
@@ -2574,12 +2574,12 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2574
2574
  __name: "FieldObjectAdvanced",
2575
2575
  setup(e) {
2576
2576
  return (t, n) => {
2577
- const i = F("KButton");
2577
+ const a = F("KButton");
2578
2578
  return u(), g("div", {
2579
2579
  id: t.getFieldID(t.schema),
2580
2580
  class: W(["object-advanced-wrapper", t.schema.fieldClasses])
2581
2581
  }, [
2582
- (u(!0), g(K, null, J(t.value, (a, r) => (u(), g("div", {
2582
+ (u(!0), g(K, null, J(t.value, (i, r) => (u(), g("div", {
2583
2583
  key: r,
2584
2584
  "data-testid": `field-object-key-${r}`
2585
2585
  }, [
@@ -2588,7 +2588,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2588
2588
  f("div", Pd, [
2589
2589
  f("strong", null, $(r), 1),
2590
2590
  f("div", null, [
2591
- C(i, {
2591
+ C(a, {
2592
2592
  appearance: "tertiary",
2593
2593
  class: "delete",
2594
2594
  icon: "",
@@ -2596,7 +2596,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2596
2596
  onClick: (s) => t.removeElement(r)
2597
2597
  }, {
2598
2598
  default: I(() => [
2599
- C(w(at))
2599
+ C(w(rt))
2600
2600
  ]),
2601
2601
  _: 2
2602
2602
  }, 1032, ["onClick"])
@@ -2636,15 +2636,15 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2636
2636
  }, [
2637
2637
  f("div", Dd, [
2638
2638
  de(f("input", {
2639
- "onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
2639
+ "onUpdate:modelValue": n[0] || (n[0] = (i) => t.newKeyName = i),
2640
2640
  class: "form-control",
2641
2641
  "data-testid": "keyname-input",
2642
2642
  placeholder: t.schema.placeholder,
2643
2643
  type: "text"
2644
2644
  }, null, 8, Bd), [
2645
- [Ze, t.newKeyName]
2645
+ [Je, t.newKeyName]
2646
2646
  ]),
2647
- C(i, {
2647
+ C(a, {
2648
2648
  appearance: "tertiary",
2649
2649
  "data-testid": "add-key",
2650
2650
  disabled: !t.newKeyName,
@@ -2701,12 +2701,12 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2701
2701
  },
2702
2702
  emits: ["modelUpdated"],
2703
2703
  setup(e, { expose: t, emit: n }) {
2704
- const i = e, a = n, r = Le(i), { updateModelValue: s, value: o, clearValidationErrors: l } = ye.useAbstractFields({
2704
+ const a = e, i = n, r = Le(a), { updateModelValue: s, value: o, clearValidationErrors: l } = ye.useAbstractFields({
2705
2705
  model: r.model,
2706
- schema: i.schema,
2707
- formOptions: i.formOptions,
2706
+ schema: a.schema,
2707
+ formOptions: a.formOptions,
2708
2708
  emitModelUpdated: (h) => {
2709
- a("modelUpdated", h.value, h.model);
2709
+ i("modelUpdated", h.value, h.model);
2710
2710
  }
2711
2711
  });
2712
2712
  t({
@@ -2714,7 +2714,7 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2714
2714
  });
2715
2715
  const d = (h) => {
2716
2716
  let m = h;
2717
- typeof h == "string" && (m = h.split(","), i.schema.array || (m = m.toString())), s(m, h);
2717
+ typeof h == "string" && (m = h.split(","), a.schema.array || (m = m.toString())), s(m, h);
2718
2718
  };
2719
2719
  return (h, m) => {
2720
2720
  const p = F("KRadio");
@@ -2774,21 +2774,21 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2774
2774
  },
2775
2775
  emits: ["modelUpdated"],
2776
2776
  setup(e, { expose: t, emit: n }) {
2777
- const i = e, a = n, r = L(() => i.schema.selectOptions || {}), s = (c) => X(c) ? null : c, o = Le(i), { getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
2777
+ const a = e, i = n, r = L(() => a.schema.selectOptions || {}), s = (c) => X(c) ? null : c, o = Le(a), { getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
2778
2778
  model: o.model,
2779
- schema: i.schema,
2780
- formOptions: i.formOptions,
2779
+ schema: a.schema,
2780
+ formOptions: a.formOptions,
2781
2781
  formatValueToField: s,
2782
2782
  emitModelUpdated: (c) => {
2783
- a("modelUpdated", c.value, c.model);
2783
+ i("modelUpdated", c.value, c.model);
2784
2784
  }
2785
2785
  });
2786
2786
  t({
2787
2787
  clearValidationErrors: d
2788
2788
  });
2789
2789
  const m = L(() => {
2790
- const c = i.schema.values;
2791
- return p(typeof c == "function" ? c.apply(this, [i.model, i.schema]) : c);
2790
+ const c = a.schema.values;
2791
+ return p(typeof c == "function" ? c.apply(this, [a.model, a.schema]) : c);
2792
2792
  }), p = (c) => {
2793
2793
  const M = [];
2794
2794
  return c.forEach((T) => {
@@ -2871,10 +2871,10 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2871
2871
  emits: ["refreshModel"],
2872
2872
  methods: {
2873
2873
  generateSchema(e, t, n) {
2874
- var a, r, s;
2875
- let i;
2876
- return t && (i = JSON.parse(JSON.stringify(t)), (s = (r = (a = i.schema) == null ? void 0 : a.fields) == null ? void 0 : r.map) == null || s.call(r, (o) => (o.id = `${o.id || o.model}-${n}`, o))), {
2877
- ...i,
2874
+ var i, r, s;
2875
+ let a;
2876
+ return t && (a = JSON.parse(JSON.stringify(t)), (s = (r = (i = a.schema) == null ? void 0 : i.fields) == null ? void 0 : r.map) == null || s.call(r, (o) => (o.id = `${o.id || o.model}-${n}`, o))), {
2877
+ ...a,
2878
2878
  set(o, l) {
2879
2879
  e[n] = l;
2880
2880
  },
@@ -2897,13 +2897,13 @@ const _i = /* @__PURE__ */ Y(yd, [["render", wd]]), Md = { class: "field-object-
2897
2897
  this.$emit("refreshModel");
2898
2898
  },
2899
2899
  handleInput(e, t) {
2900
- var i, a;
2900
+ var a, i;
2901
2901
  let n = e;
2902
- ((a = (i = this.schema) == null ? void 0 : i.inputAttributes) == null ? void 0 : a.type) === "number" && ct(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((r, s) => s === t ? n : r);
2902
+ ((i = (a = this.schema) == null ? void 0 : a.inputAttributes) == null ? void 0 : i.type) === "number" && ct(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((r, s) => s === t ? n : r);
2903
2903
  }
2904
2904
  }
2905
2905
  }, Zd = ["id"], Jd = { key: 1 }, Qd = ["onUpdate:modelValue", "aria-labelledby", "type"], Xd = ["onUpdate:modelValue", "aria-labelledby"];
2906
- function eu(e, t, n, i, a, r) {
2906
+ function eu(e, t, n, a, i, r) {
2907
2907
  const s = F("KTextArea"), o = F("KInput"), l = F("KButton");
2908
2908
  return e.schema ? (u(), g("div", {
2909
2909
  key: 0,
@@ -3002,7 +3002,7 @@ function eu(e, t, n, i, a, r) {
3002
3002
  "aria-labelledby": e.getLabelId(e.schema),
3003
3003
  type: "text"
3004
3004
  }), null, 16, Xd), [
3005
- [Ze, e.value[h]]
3005
+ [Je, e.value[h]]
3006
3006
  ]),
3007
3007
  (u(), A(ie(r.autofillSlot), {
3008
3008
  schema: e.schema,
@@ -3065,12 +3065,12 @@ const tu = /* @__PURE__ */ Y(Wd, [["render", eu], ["__scopeId", "data-v-27efd618
3065
3065
  },
3066
3066
  emits: ["modelUpdated"],
3067
3067
  setup(e, { expose: t, emit: n }) {
3068
- const i = e, a = n, r = Le(i), { getFieldID: s, value: o, clearValidationErrors: l } = ye.useAbstractFields({
3068
+ const a = e, i = n, r = Le(a), { getFieldID: s, value: o, clearValidationErrors: l } = ye.useAbstractFields({
3069
3069
  model: r.model,
3070
- schema: i.schema,
3071
- formOptions: i.formOptions,
3070
+ schema: a.schema,
3071
+ formOptions: a.formOptions,
3072
3072
  emitModelUpdated: (d) => {
3073
- a("modelUpdated", d.value, d.model);
3073
+ i("modelUpdated", d.value, d.model);
3074
3074
  }
3075
3075
  });
3076
3076
  return t({
@@ -3097,10 +3097,10 @@ const tu = /* @__PURE__ */ Y(Wd, [["render", eu], ["__scopeId", "data-v-27efd618
3097
3097
  }), au = /* @__PURE__ */ Y(iu, [["__scopeId", "data-v-6b4ee1cd"]]);
3098
3098
  var ru = 4;
3099
3099
  function Cn(e) {
3100
- return Qe(e, ru);
3100
+ return Xe(e, ru);
3101
3101
  }
3102
3102
  const ou = { class: "wrapper" }, su = ["disabled"], lu = ["id", "checked", "disabled", "onChange", "name"], du = ["disabled"], uu = { class: "info" }, cu = { class: "dropList" }, mu = ["id", "checked", "disabled", "onChange", "name"];
3103
- function fu(e, t, n, i, a, r) {
3103
+ function fu(e, t, n, a, i, r) {
3104
3104
  const s = kn("attributes");
3105
3105
  return de((u(), g("div", ou, [
3106
3106
  e.schema.listBox ? (u(), g("div", {
@@ -3132,14 +3132,14 @@ function fu(e, t, n, i, a, r) {
3132
3132
  disabled: e.disabled || null
3133
3133
  }, [
3134
3134
  f("div", {
3135
- class: W(["mainRow", { expanded: a.comboExpanded }]),
3135
+ class: W(["mainRow", { expanded: i.comboExpanded }]),
3136
3136
  onClick: t[0] || (t[0] = (...o) => r.onExpandCombo && r.onExpandCombo(...o))
3137
3137
  }, [
3138
3138
  f("div", uu, $(r.selectedCount) + " selected", 1),
3139
3139
  t[1] || (t[1] = f("div", { class: "arrow" }, null, -1))
3140
3140
  ], 2),
3141
3141
  f("div", cu, [
3142
- a.comboExpanded ? (u(!0), g(K, { key: 0 }, J(r.items, (o) => (u(), g("div", {
3142
+ i.comboExpanded ? (u(!0), g(K, { key: 0 }, J(r.items, (o) => (u(), g("div", {
3143
3143
  class: W(["list-row", { "is-checked": r.isItemChecked(o) }])
3144
3144
  }, [
3145
3145
  f("label", null, [
@@ -3220,7 +3220,7 @@ const hu = {
3220
3220
  }
3221
3221
  }, pu = /* @__PURE__ */ Y(hu, [["render", fu]]), gu = {
3222
3222
  name: "FieldKeyValuePairs",
3223
- components: { TrashIcon: at },
3223
+ components: { TrashIcon: rt },
3224
3224
  mixins: [be],
3225
3225
  inject: {
3226
3226
  autofillSlot: {
@@ -3245,10 +3245,10 @@ const hu = {
3245
3245
  var t, n;
3246
3246
  this.value || (this.value = {});
3247
3247
  const e = ((n = this.model) == null ? void 0 : n[(t = this.schema) == null ? void 0 : t.model]) ?? {};
3248
- Object.keys(e).forEach((i) => {
3248
+ Object.keys(e).forEach((a) => {
3249
3249
  this.pairs.push({
3250
- key: i,
3251
- value: e[i]
3250
+ key: a,
3251
+ value: e[a]
3252
3252
  });
3253
3253
  });
3254
3254
  },
@@ -3273,10 +3273,10 @@ const hu = {
3273
3273
  }
3274
3274
  }
3275
3275
  }, vu = { class: "key-value-pairs-editor" }, bu = { class: "pair-item-cell" }, yu = ["data-testid", "placeholder", "value", "onInput"], _u = { class: "pair-item-cell" }, wu = ["data-testid", "placeholder", "value", "onInput"];
3276
- function Mu(e, t, n, i, a, r) {
3276
+ function Mu(e, t, n, a, i, r) {
3277
3277
  const s = F("TrashIcon"), o = F("KButton");
3278
3278
  return u(), g("div", vu, [
3279
- (u(!0), g(K, null, J(a.pairs, (l, d) => (u(), g("div", {
3279
+ (u(!0), g(K, null, J(i.pairs, (l, d) => (u(), g("div", {
3280
3280
  key: d,
3281
3281
  class: "pair-item"
3282
3282
  }, [
@@ -3368,7 +3368,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3368
3368
  }
3369
3369
  },
3370
3370
  setup(e) {
3371
- const t = e, n = Le(t), { getFieldID: i, value: a } = ye.useAbstractFields({
3371
+ const t = e, n = Le(t), { getFieldID: a, value: i } = ye.useAbstractFields({
3372
3372
  model: n.model,
3373
3373
  schema: t.schema,
3374
3374
  formOptions: t.formOptions
@@ -3379,10 +3379,10 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3379
3379
  class: W(["field-label", e.schema.fieldClasses])
3380
3380
  }, [
3381
3381
  C(o, {
3382
- id: w(i)(e.schema)
3382
+ id: w(a)(e.schema)
3383
3383
  }, {
3384
3384
  default: I(() => [
3385
- te($(w(a)), 1)
3385
+ te($(w(i)), 1)
3386
3386
  ]),
3387
3387
  _: 1
3388
3388
  }, 8, ["id"])
@@ -3429,12 +3429,12 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3429
3429
  },
3430
3430
  emits: ["modelUpdated"],
3431
3431
  setup(e, { expose: t, emit: n }) {
3432
- const i = e, a = n, r = ki(i, "model"), { getLabelId: s, getFieldID: o, clearValidationErrors: l, value: d } = ye.useAbstractFields({
3432
+ const a = e, i = n, r = ki(a, "model"), { getLabelId: s, getFieldID: o, clearValidationErrors: l, value: d } = ye.useAbstractFields({
3433
3433
  model: r,
3434
- schema: i.schema,
3435
- formOptions: i.formOptions,
3434
+ schema: a.schema,
3435
+ formOptions: a.formOptions,
3436
3436
  emitModelUpdated: (m) => {
3437
- a("modelUpdated", m.value, m.model);
3437
+ i("modelUpdated", m.value, m.model);
3438
3438
  }
3439
3439
  });
3440
3440
  t({
@@ -3442,7 +3442,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3442
3442
  });
3443
3443
  const h = L(() => {
3444
3444
  var m, p;
3445
- return i.schema.values ? i.schema.values : (p = (m = i.schema.elements) == null ? void 0 : m.one_of) != null && p.length ? i.schema.elements.one_of.map((E) => ({ label: String(E), value: String(E) })) : [];
3445
+ return a.schema.values ? a.schema.values : (p = (m = a.schema.elements) == null ? void 0 : m.one_of) != null && p.length ? a.schema.elements.one_of.map((E) => ({ label: String(E), value: String(E) })) : [];
3446
3446
  });
3447
3447
  return (m, p) => {
3448
3448
  const E = F("KMultiselect");
@@ -3484,16 +3484,16 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3484
3484
  this.fieldModel = { ...this.model };
3485
3485
  return;
3486
3486
  }
3487
- const n = this.schema.fields[e].fields, i = this.schema.fields[t].fields;
3488
- i && i.forEach((a) => this.updateModel("", a.model)), n && n.forEach((a) => this.updateModel(this.fieldModel[a.model], a.model));
3487
+ const n = this.schema.fields[e].fields, a = this.schema.fields[t].fields;
3488
+ a && a.forEach((i) => this.updateModel("", i.model)), n && n.forEach((i) => this.updateModel(this.fieldModel[i.model], i.model));
3489
3489
  }
3490
3490
  }
3491
3491
  },
3492
3492
  async created() {
3493
3493
  await this.$nextTick(), this.schema.fields.forEach((e, t) => {
3494
3494
  e.fields && e.fields.forEach((n) => {
3495
- var i;
3496
- this.model[n.model] && (this.checkedGroup = t, this.fieldSchema.push(n.model), this.scope = (i = n.label) == null ? void 0 : i.toLowerCase());
3495
+ var a;
3496
+ this.model[n.model] && (this.checkedGroup = t, this.fieldSchema.push(n.model), this.scope = (a = n.label) == null ? void 0 : a.toLowerCase());
3497
3497
  });
3498
3498
  }), this.checkedGroup === null && (this.checkedGroup = 0);
3499
3499
  },
@@ -3506,7 +3506,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3506
3506
  __name: "FieldSelectionGroup",
3507
3507
  setup(e) {
3508
3508
  const { t } = ge("en-us", ve);
3509
- return (n, i) => (u(), g("div", Ou, [
3509
+ return (n, a) => (u(), g("div", Ou, [
3510
3510
  (u(), A(ie(n.$props.disabled ? "k-tooltip" : "div"), {
3511
3511
  "max-width": "300",
3512
3512
  text: w(t)("general.disable_global_radio", { scope: n.scope })
@@ -3514,15 +3514,15 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3514
3514
  default: I(() => [
3515
3515
  f("div", Au, [
3516
3516
  f("div", Eu, [
3517
- (u(!0), g(K, null, J(n.schema.fields, (a, r) => (u(), g("div", {
3517
+ (u(!0), g(K, null, J(n.schema.fields, (i, r) => (u(), g("div", {
3518
3518
  key: r,
3519
3519
  class: W(["option-group", { "radio-disabled": n.$props.disabled }])
3520
3520
  }, [
3521
3521
  f("label", {
3522
- class: W(["k-label", `${a.label}-check`])
3522
+ class: W(["k-label", `${i.label}-check`])
3523
3523
  }, [
3524
3524
  de(f("input", {
3525
- "onUpdate:modelValue": i[0] || (i[0] = (s) => n.checkedGroup = s),
3525
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => n.checkedGroup = s),
3526
3526
  class: "k-input",
3527
3527
  disabled: n.$props.disabled,
3528
3528
  type: "radio",
@@ -3530,8 +3530,8 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3530
3530
  }, null, 8, Fu), [
3531
3531
  [Ui, n.checkedGroup]
3532
3532
  ]),
3533
- te(" " + $(a.label) + " ", 1),
3534
- f("div", ku, $(a.description), 1)
3533
+ te(" " + $(i.label) + " ", 1),
3534
+ f("div", ku, $(i.description), 1)
3535
3535
  ], 2)
3536
3536
  ], 2))), 128))
3537
3537
  ])
@@ -3539,7 +3539,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3539
3539
  ]),
3540
3540
  _: 1
3541
3541
  }, 8, ["text"])),
3542
- (u(!0), g(K, null, J(n.schema.fields, (a, r) => (u(), g("div", {
3542
+ (u(!0), g(K, null, J(n.schema.fields, (i, r) => (u(), g("div", {
3543
3543
  key: r,
3544
3544
  class: "option-group"
3545
3545
  }, [
@@ -3548,12 +3548,12 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3548
3548
  C(ee, {
3549
3549
  model: n.model,
3550
3550
  options: { helpAsHtml: !0 },
3551
- schema: { fields: a.fields },
3551
+ schema: { fields: i.fields },
3552
3552
  onModelUpdated: n.updateModel
3553
3553
  }, null, 8, ["model", "schema", "onModelUpdated"])
3554
3554
  ])
3555
3555
  ], 512), [
3556
- [$i, a.fields && n.checkedGroup === r]
3556
+ [$i, i.fields && n.checkedGroup === r]
3557
3557
  ])
3558
3558
  ]))), 128))
3559
3559
  ]));
@@ -3598,14 +3598,14 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3598
3598
  },
3599
3599
  emits: ["modelUpdated"],
3600
3600
  setup(e, { expose: t, emit: n }) {
3601
- const i = e, a = n, { t: r } = ge("en-us", ve), s = (p) => p != null && i.schema.valueOn ? p === i.schema.valueOn : p, o = (p) => p != null && i.schema.valueOn ? p ? i.schema.valueOn : i.schema.valueOff : p, l = Le(i), { getFieldID: d, value: h, clearValidationErrors: m } = ye.useAbstractFields({
3601
+ const a = e, i = n, { t: r } = ge("en-us", ve), s = (p) => p != null && a.schema.valueOn ? p === a.schema.valueOn : p, o = (p) => p != null && a.schema.valueOn ? p ? a.schema.valueOn : a.schema.valueOff : p, l = Le(a), { getFieldID: d, value: h, clearValidationErrors: m } = ye.useAbstractFields({
3602
3602
  model: l.model,
3603
- schema: i.schema,
3604
- formOptions: i.formOptions,
3603
+ schema: a.schema,
3604
+ formOptions: a.formOptions,
3605
3605
  formatValueToField: s,
3606
3606
  formatValueToModel: o,
3607
3607
  emitModelUpdated: (p) => {
3608
- a("modelUpdated", p.value, p.model);
3608
+ i("modelUpdated", p.value, p.model);
3609
3609
  }
3610
3610
  });
3611
3611
  return t({
@@ -3668,12 +3668,12 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3668
3668
  },
3669
3669
  emits: ["modelUpdated"],
3670
3670
  setup(e, { expose: t, emit: n }) {
3671
- const i = e, a = n, r = Le(i), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
3671
+ const a = e, i = n, r = Le(a), s = ot(he, void 0), { updateModelValue: o, getFieldID: l, clearValidationErrors: d, value: h } = ye.useAbstractFields({
3672
3672
  model: r.model,
3673
- schema: i.schema,
3674
- formOptions: i.formOptions,
3673
+ schema: a.schema,
3674
+ formOptions: a.formOptions,
3675
3675
  emitModelUpdated: (p) => {
3676
- a("modelUpdated", p.value, p.model);
3676
+ i("modelUpdated", p.value, p.model);
3677
3677
  }
3678
3678
  });
3679
3679
  t({
@@ -3866,7 +3866,7 @@ const Su = /* @__PURE__ */ Y(gu, [["render", Mu], ["__scopeId", "data-v-70998d5b
3866
3866
  key: 2,
3867
3867
  class: "errors help-block"
3868
3868
  }, Xu = ["innerHTML"];
3869
- function ec(e, t, n, i, a, r) {
3869
+ function ec(e, t, n, a, i, r) {
3870
3870
  const s = F("KExternalLink"), o = F("KLabel");
3871
3871
  return u(), g("div", {
3872
3872
  class: W(["form-group", e.getFieldRowClasses(n.field)])
@@ -3969,7 +3969,7 @@ const nc = (e) => {
3969
3969
  }
3970
3970
  },
3971
3971
  setup(e) {
3972
- const { t, formatUnixTimeStamp: n } = ge("en-us", ve), i = {
3972
+ const { t, formatUnixTimeStamp: n } = ge("en-us", ve), a = {
3973
3973
  id: {
3974
3974
  order: 1
3975
3975
  },
@@ -3991,17 +3991,17 @@ const nc = (e) => {
3991
3991
  formatter: n,
3992
3992
  order: 3
3993
3993
  }
3994
- }, a = e, r = (m) => m != null, s = (m, p) => r(p) && ["password", "sentinel_password"].includes(m) ? "password" : "text", { convertKeyToTitle: o } = Pi(), l = L(() => Object.entries(a.configFields).map(([m, p]) => {
3994
+ }, i = e, r = (m) => m != null, s = (m, p) => r(p) && ["password", "sentinel_password"].includes(m) ? "password" : "text", { convertKeyToTitle: o } = Pi(), l = L(() => Object.entries(i.configFields).map(([m, p]) => {
3995
3995
  var E, N, c, M;
3996
3996
  return {
3997
3997
  key: m,
3998
- label: ((E = i[m]) == null ? void 0 : E.label) ?? o(m),
3999
- value: (N = i[m]) != null && N.formatter ? i[m].formatter(p) : p,
4000
- type: ((c = i[m]) == null ? void 0 : c.type) ?? s(m, p),
4001
- order: ((M = i[m]) == null ? void 0 : M.order) ?? 100
3998
+ label: ((E = a[m]) == null ? void 0 : E.label) ?? o(m),
3999
+ value: (N = a[m]) != null && N.formatter ? a[m].formatter(p) : p,
4000
+ type: ((c = a[m]) == null ? void 0 : c.type) ?? s(m, p),
4001
+ order: ((M = a[m]) == null ? void 0 : M.order) ?? 100
4002
4002
  // attrs: value.attrs,
4003
4003
  };
4004
- }).sort((m, p) => m.order - p.order).filter((m) => m.type !== "hidden")), d = ye.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), h = L(() => l.value.concat(d));
4004
+ }).sort((m, p) => m.order - p.order).filter((m) => m.type !== "hidden")), d = ye.useRedisNonStandardFields(i.configFields, i.pluginRedisFields), h = L(() => l.value.concat(d));
4005
4005
  return (m, p) => {
4006
4006
  const E = F("KCopy");
4007
4007
  return u(), g("div", ac, [
@@ -4078,7 +4078,7 @@ const nc = (e) => {
4078
4078
  },
4079
4079
  emits: ["showNewPartialModal"],
4080
4080
  setup(e) {
4081
- const { t } = ge("en-us", ve), n = ot(Zr), i = {
4081
+ const { t } = ge("en-us", ve), n = ot(Zr), a = {
4082
4082
  konnect: {
4083
4083
  getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
4084
4084
  getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
@@ -4087,25 +4087,25 @@ const nc = (e) => {
4087
4087
  getOne: "/{workspace}/partials/{id}",
4088
4088
  getAll: "/{workspace}/partials"
4089
4089
  }
4090
- }, a = e, r = ue(null), { getMessageFromError: s } = Ni(), o = ot(Wr), {
4090
+ }, i = e, r = ue(null), { getMessageFromError: s } = Ni(), o = ot(Wr), {
4091
4091
  debouncedQueryChange: l,
4092
4092
  loading: d,
4093
4093
  error: h,
4094
4094
  loadItems: m,
4095
4095
  results: p
4096
- } = Li(o, i[o.app].getAll, void 0, {
4096
+ } = Li(o, a[o.app].getAll, void 0, {
4097
4097
  fetchedItemsKey: "data",
4098
4098
  searchKeys: ["id", "name"]
4099
4099
  }), E = L(() => h.value ? s(h.value) : ""), N = (U) => {
4100
- let b = `${o.apiBaseUrl}${i[o.app].getOne}`;
4100
+ let b = `${o.apiBaseUrl}${a[o.app].getOne}`;
4101
4101
  return o.app === "konnect" ? b = b.replace(/{controlPlaneId}/gi, (o == null ? void 0 : o.controlPlaneId) || "") : o.app === "kongManager" && (b = b.replace(/\/{workspace}/gi, o != null && o.workspace ? `/${o.workspace}` : "")), b = b.replace(/{id}/gi, String(U)), b;
4102
4102
  }, c = L(() => {
4103
4103
  var b;
4104
4104
  const U = ((b = p.value) == null ? void 0 : b.map((O) => ({ label: O.id, name: O.name, value: O.id, type: O.type, tag: nc(O) }))) || [];
4105
- return a.redisType !== "all" ? U.filter((O) => O.type === a.redisType) : U;
4105
+ return i.redisType !== "all" ? U.filter((O) => O.type === i.redisType) : U;
4106
4106
  }), { axiosInstance: M } = qi(o == null ? void 0 : o.axiosRequestConfig), T = async (U) => {
4107
4107
  if (U) {
4108
- a.updateRedisModel(U);
4108
+ i.updateRedisModel(U);
4109
4109
  try {
4110
4110
  const b = await M.get(N(U));
4111
4111
  if (b.data.config) {
@@ -4120,7 +4120,7 @@ const nc = (e) => {
4120
4120
  return $t(() => n == null ? void 0 : n.value, async (U) => {
4121
4121
  U && await m();
4122
4122
  }), Ut(() => {
4123
- m(), a.defaultRedisConfigItem && T(a.defaultRedisConfigItem);
4123
+ m(), i.defaultRedisConfigItem && T(i.defaultRedisConfigItem);
4124
4124
  }), (U, b) => {
4125
4125
  const O = F("KLabel"), k = F("KBadge"), _ = F("KSelect");
4126
4126
  return u(), g(K, null, [
@@ -4252,17 +4252,17 @@ const nc = (e) => {
4252
4252
  },
4253
4253
  emits: ["modelUpdated", "partialToggled", "showNewPartialModal", "refreshModel", "validated"],
4254
4254
  setup(e, { emit: t }) {
4255
- const n = e, i = t, { t: a } = ge("en-us", ve), r = L(() => n.field.pluginType === "custom"), s = ue(!n.isEditing), o = ue(), l = ue({}), d = ue(), h = (c) => z(c.visible) ? c.visible.call(this, n.model, c, this) : X(c.visible) ? !0 : c.visible, m = async (c) => {
4256
- i("modelUpdated", [{ id: c, path: n.redisPath }], "partials"), d.value = [{ id: c, path: n.redisPath }], o.value = c;
4255
+ const n = e, a = t, { t: i } = ge("en-us", ve), r = L(() => n.field.pluginType === "custom"), s = ue(!n.isEditing), o = ue(), l = ue({}), d = ue(), h = (c) => z(c.visible) ? c.visible.call(this, n.model, c, this) : X(c.visible) ? !0 : c.visible, m = async (c) => {
4256
+ a("modelUpdated", [{ id: c, path: n.redisPath }], "partials"), d.value = [{ id: c, path: n.redisPath }], o.value = c;
4257
4257
  }, p = (c, M) => {
4258
- l.value = { ...l.value, [M]: c }, i("modelUpdated", c, M);
4258
+ l.value = { ...l.value, [M]: c }, a("modelUpdated", c, M);
4259
4259
  }, E = () => {
4260
- i("refreshModel");
4260
+ a("refreshModel");
4261
4261
  }, N = (c, M, T) => {
4262
- i("validated", c, M, T);
4262
+ a("validated", c, M, T);
4263
4263
  };
4264
4264
  return $t(() => s.value, (c) => {
4265
- c ? d.value && i("partialToggled", "redis", { partials: d.value }) : i("partialToggled", "partials", l.value);
4265
+ c ? d.value && a("partialToggled", "redis", { partials: d.value }) : a("partialToggled", "partials", l.value);
4266
4266
  }), Ut(() => {
4267
4267
  var c, M, T;
4268
4268
  if (n.model && (l.value = n.field.fields.reduce((U, b) => (Object.keys(n.model).includes(b.model) && (U[b.model] = n.model[b.model]), U), {})), (T = (M = (c = n == null ? void 0 : n.model) == null ? void 0 : c.partials) == null ? void 0 : M[0]) != null && T.id) {
@@ -4275,7 +4275,7 @@ const nc = (e) => {
4275
4275
  r.value ? (u(), g("div", wc, [
4276
4276
  C(T, {
4277
4277
  "data-testid": "custom-plugin-redis-config-note",
4278
- message: w(a)("redis.custom_plugin.alert")
4278
+ message: w(i)("redis.custom_plugin.alert")
4279
4279
  }, null, 8, ["message"]),
4280
4280
  C(On, {
4281
4281
  "default-redis-config-item": o.value,
@@ -4288,7 +4288,7 @@ const nc = (e) => {
4288
4288
  key: 1,
4289
4289
  class: "redis-config-card",
4290
4290
  "data-testid": "redis-config-card",
4291
- title: w(a)("redis.title")
4291
+ title: w(i)("redis.title")
4292
4292
  }, {
4293
4293
  default: I(() => [
4294
4294
  f("div", Mc, [
@@ -4298,14 +4298,14 @@ const nc = (e) => {
4298
4298
  card: "",
4299
4299
  "card-orientation": "horizontal",
4300
4300
  "data-testid": "shared-redis-config-radio",
4301
- description: w(a)("redis.shared_configuration.description"),
4302
- label: w(a)("redis.shared_configuration.label"),
4301
+ description: w(i)("redis.shared_configuration.description"),
4302
+ label: w(i)("redis.shared_configuration.label"),
4303
4303
  "selected-value": !0
4304
4304
  }, {
4305
4305
  default: I(() => [
4306
4306
  C(U, { appearance: "success" }, {
4307
4307
  default: I(() => [
4308
- te($(w(a)("redis.shared_configuration.badge")), 1)
4308
+ te($(w(i)("redis.shared_configuration.badge")), 1)
4309
4309
  ]),
4310
4310
  _: 1
4311
4311
  })
@@ -4318,8 +4318,8 @@ const nc = (e) => {
4318
4318
  card: "",
4319
4319
  "card-orientation": "horizontal",
4320
4320
  "data-testid": "dedicated-redis-config-radio",
4321
- description: w(a)("redis.dedicated_configuration.description"),
4322
- label: w(a)("redis.dedicated_configuration.label"),
4321
+ description: w(i)("redis.dedicated_configuration.description"),
4322
+ label: w(i)("redis.dedicated_configuration.label"),
4323
4323
  "selected-value": !1
4324
4324
  }, null, 8, ["modelValue", "description", "label"])
4325
4325
  ]),
@@ -4332,7 +4332,7 @@ const nc = (e) => {
4332
4332
  onShowNewPartialModal: M[3] || (M[3] = (k) => c.$emit("showNewPartialModal"))
4333
4333
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
4334
4334
  ])) : (u(), g("div", Tc, [
4335
- f("div", Cc, $(w(a)("redis.dedicated_configuration.title")), 1),
4335
+ f("div", Cc, $(w(i)("redis.dedicated_configuration.title")), 1),
4336
4336
  (u(), A(ie(e.tag), null, {
4337
4337
  default: I(() => [
4338
4338
  (u(!0), g(K, null, J(e.field.fields, (k) => (u(), g(K, {
@@ -4479,14 +4479,14 @@ const nc = (e) => {
4479
4479
  },
4480
4480
  // Child field executed validation
4481
4481
  onFieldValidated(e, t, n) {
4482
- this.errors = this.errors.filter((a) => a.field.fieldName !== n.schema.fieldName), !e && t && t.length > 0 && le(t, (a) => {
4482
+ this.errors = this.errors.filter((i) => i.field.fieldName !== n.schema.fieldName), !e && t && t.length > 0 && le(t, (i) => {
4483
4483
  this.errors.push({
4484
4484
  field: n.schema,
4485
- error: a
4485
+ error: i
4486
4486
  });
4487
4487
  });
4488
- const i = this.errors.length === 0;
4489
- this.$emit("validated", i, this.errors, this);
4488
+ const a = this.errors.length === 0;
4489
+ this.$emit("validated", a, this.errors, this);
4490
4490
  },
4491
4491
  onRefreshModel() {
4492
4492
  this.$emit("refreshModel");
@@ -4501,12 +4501,12 @@ const nc = (e) => {
4501
4501
  validate(e = null) {
4502
4502
  e === null && (e = B(this.options, "validateAsync", !1)), this.clearValidationErrors();
4503
4503
  const t = [], n = [];
4504
- le(this.$refs.children, (a) => {
4505
- z(a.validate) && (t.push(a.$refs.child), n.push(a.$refs.child.validate(!0)));
4504
+ le(this.$refs.children, (i) => {
4505
+ z(i.validate) && (t.push(i.$refs.child), n.push(i.$refs.child.validate(!0)));
4506
4506
  });
4507
- const i = (a) => {
4507
+ const a = (i) => {
4508
4508
  const r = [];
4509
- le(a, (o, l) => {
4509
+ le(i, (o, l) => {
4510
4510
  Array.isArray(o) && o.length > 0 && le(o, (d) => {
4511
4511
  r.push({
4512
4512
  field: t[l].schema,
@@ -4517,7 +4517,7 @@ const nc = (e) => {
4517
4517
  const s = r.length === 0;
4518
4518
  return this.$emit("validated", s, r, this), e ? r : s;
4519
4519
  };
4520
- return e ? Promise.all(n).then(i) : i(n);
4520
+ return e ? Promise.all(n).then(a) : a(n);
4521
4521
  },
4522
4522
  // Clear validation errors
4523
4523
  clearValidationErrors() {
@@ -4530,7 +4530,7 @@ const nc = (e) => {
4530
4530
  key: 0,
4531
4531
  class: "vue-form-generator"
4532
4532
  }, Fc = { key: 0 };
4533
- function kc(e, t, n, i, a, r) {
4533
+ function kc(e, t, n, a, i, r) {
4534
4534
  const s = F("form-redis"), o = F("form-group"), l = F("KCollapse");
4535
4535
  return n.schema != null ? (u(), g("div", Ec, [
4536
4536
  n.schema.fields ? (u(), A(ie(n.tag), { key: 0 }, {
@@ -4540,13 +4540,13 @@ function kc(e, t, n, i, a, r) {
4540
4540
  }, [
4541
4541
  d.model === "__redis_partial" && n.enableRedisPartial ? (u(), A(s, {
4542
4542
  key: 0,
4543
- errors: a.errors,
4543
+ errors: i.errors,
4544
4544
  field: d,
4545
4545
  "is-editing": n.isEditing,
4546
4546
  model: n.model,
4547
4547
  options: n.options,
4548
4548
  tag: n.tag,
4549
- vfg: a.vfg,
4549
+ vfg: i.vfg,
4550
4550
  onModelUpdated: r.onModelUpdated,
4551
4551
  onPartialToggled: r.onPartialToggled,
4552
4552
  onShowNewPartialModal: (h) => e.$emit("showNewPartialModal", d.redisType),
@@ -4555,11 +4555,11 @@ function kc(e, t, n, i, a, r) {
4555
4555
  key: 1,
4556
4556
  ref_for: !0,
4557
4557
  ref: "children",
4558
- errors: a.errors,
4558
+ errors: i.errors,
4559
4559
  field: d,
4560
4560
  model: n.model,
4561
4561
  options: n.options,
4562
- vfg: a.vfg,
4562
+ vfg: i.vfg,
4563
4563
  onModelUpdated: r.onModelUpdated,
4564
4564
  onRefreshModel: r.onRefreshModel,
4565
4565
  onValidated: r.onFieldValidated
@@ -4593,11 +4593,11 @@ function kc(e, t, n, i, a, r) {
4593
4593
  key: 0,
4594
4594
  ref_for: !0,
4595
4595
  ref: "children",
4596
- errors: a.errors,
4596
+ errors: i.errors,
4597
4597
  field: c,
4598
4598
  model: n.model,
4599
4599
  options: n.options,
4600
- vfg: a.vfg,
4600
+ vfg: i.vfg,
4601
4601
  onModelUpdated: r.onModelUpdated,
4602
4602
  onRefreshModel: r.onRefreshModel,
4603
4603
  onValidated: r.onFieldValidated
@@ -4609,10 +4609,10 @@ function kc(e, t, n, i, a, r) {
4609
4609
  d.collapsible !== !0 && d.collapsible.nestedCollapsible && d.collapsible.nestedCollapsible.fields.length > 0 ? (u(), A(l, {
4610
4610
  key: 3,
4611
4611
  class: "nested-collapse",
4612
- "model-value": a.collapseStates[`group-${h}-nested`] ?? !0,
4612
+ "model-value": i.collapseStates[`group-${h}-nested`] ?? !0,
4613
4613
  "trigger-alignment": "leading",
4614
- "trigger-label": a.collapseStates[`group-${h}-nested`] ?? !0 ? d.collapsible.nestedCollapsible.triggerLabel.expand : d.collapsible.nestedCollapsible.triggerLabel.collapse,
4615
- "onUpdate:modelValue": (c) => a.collapseStates[`group-${h}-nested`] = c
4614
+ "trigger-label": i.collapseStates[`group-${h}-nested`] ?? !0 ? d.collapsible.nestedCollapsible.triggerLabel.expand : d.collapsible.nestedCollapsible.triggerLabel.collapse,
4615
+ "onUpdate:modelValue": (c) => i.collapseStates[`group-${h}-nested`] = c
4616
4616
  }, {
4617
4617
  default: I(() => [
4618
4618
  (u(), A(ie(n.tag), {
@@ -4624,13 +4624,13 @@ function kc(e, t, n, i, a, r) {
4624
4624
  }, [
4625
4625
  c.model === "__redis_partial" && n.enableRedisPartial ? (u(), A(s, {
4626
4626
  key: 0,
4627
- errors: a.errors,
4627
+ errors: i.errors,
4628
4628
  field: c,
4629
4629
  "is-editing": n.isEditing,
4630
4630
  model: n.model,
4631
4631
  options: n.options,
4632
4632
  tag: n.tag,
4633
- vfg: a.vfg,
4633
+ vfg: i.vfg,
4634
4634
  onModelUpdated: r.onModelUpdated,
4635
4635
  onPartialToggled: r.onPartialToggled,
4636
4636
  onShowNewPartialModal: (M) => e.$emit("showNewPartialModal", c.redisType),
@@ -4639,11 +4639,11 @@ function kc(e, t, n, i, a, r) {
4639
4639
  key: 1,
4640
4640
  ref_for: !0,
4641
4641
  ref: "children",
4642
- errors: a.errors,
4642
+ errors: i.errors,
4643
4643
  field: c,
4644
4644
  model: n.model,
4645
4645
  options: n.options,
4646
- vfg: a.vfg,
4646
+ vfg: i.vfg,
4647
4647
  onModelUpdated: r.onModelUpdated,
4648
4648
  onRefreshModel: r.onRefreshModel,
4649
4649
  onValidated: r.onFieldValidated
@@ -4679,11 +4679,11 @@ function kc(e, t, n, i, a, r) {
4679
4679
  key: 0,
4680
4680
  ref_for: !0,
4681
4681
  ref: "children",
4682
- errors: a.errors,
4682
+ errors: i.errors,
4683
4683
  field: m,
4684
4684
  model: n.model,
4685
4685
  options: n.options,
4686
- vfg: a.vfg,
4686
+ vfg: i.vfg,
4687
4687
  onModelUpdated: r.onModelUpdated,
4688
4688
  onRefreshModel: r.onRefreshModel,
4689
4689
  onValidated: r.onFieldValidated
@@ -4695,7 +4695,8 @@ function kc(e, t, n, i, a, r) {
4695
4695
  ], 64))), 128))
4696
4696
  ])) : R("", !0);
4697
4697
  }
4698
- const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4698
+ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), Ze = {
4699
+ openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
4699
4700
  openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
4700
4701
  openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
4701
4702
  openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
@@ -4767,10 +4768,11 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4767
4768
  globalFields: null,
4768
4769
  commonFieldsSchema: null,
4769
4770
  authFieldsSchema: null,
4770
- openIdConnectJWKLink: rt.openIdConnectJWKDocs,
4771
- openIdConnectClusterNodesLink: rt.openIdConnectClusterNodesDocs,
4772
- openIdConfigurationDocs: rt.openIdConfigurationDocs,
4773
- openIdAuthorizationDocs: rt.openIdAuthorizationDocs,
4771
+ openIdConnectLink: Ze.openIdConnectDocs,
4772
+ openIdConnectJWKLink: Ze.openIdConnectJWKDocs,
4773
+ openIdConnectClusterNodesLink: Ze.openIdConnectClusterNodesDocs,
4774
+ openIdConfigurationDocs: Ze.openIdConfigurationDocs,
4775
+ openIdAuthorizationDocs: Ze.openIdAuthorizationDocs,
4774
4776
  advancedFieldsSchema: {
4775
4777
  fields: []
4776
4778
  },
@@ -4811,26 +4813,26 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4811
4813
  var e;
4812
4814
  if (!this.init) {
4813
4815
  this.init = !0, this.globalFields = {
4814
- fields: this.formSchema.fields.filter((a) => !a.model.startsWith("config") && a.model !== "tags")
4816
+ fields: this.formSchema.fields.filter((i) => !i.model.startsWith("config") && i.model !== "tags")
4815
4817
  };
4816
- const t = this.formSchema.fields.reduce((a, r) => (a[r.model] = r, a), {});
4818
+ const t = this.formSchema.fields.reduce((i, r) => (i[r.model] = r, i), {});
4817
4819
  this.commonFieldsSchema = {
4818
- fields: Array.from(An).reduce((a, r) => (t[r] && a.push(t[r]), a), [])
4820
+ fields: Array.from(An).reduce((i, r) => (t[r] && i.push(t[r]), i), [])
4819
4821
  }, this.authFieldsSchema = {
4820
- fields: Array.from(En).reduce((a, r) => (t[r] && a.push(t[r]), a), [])
4822
+ fields: Array.from(En).reduce((i, r) => (t[r] && i.push(t[r]), i), [])
4821
4823
  };
4822
- const { redis: n, redisModels: i } = ye.useRedisPartial(this.formSchema);
4824
+ const { redis: n, redisModels: a } = ye.useRedisPartial(this.formSchema);
4823
4825
  this.advancedFieldsSchema = {
4824
4826
  fields: this.formSchema.fields.filter(
4825
- (a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !An.has(a.model) && !En.has(a.model) && (!this.enableRedisPartial || !i.includes(a.model)) || a.model === "tags"
4826
- ).reduce((a, r) => {
4827
+ (i) => i.model.startsWith("config") && i.model !== "config-auth_methods" && !An.has(i.model) && !En.has(i.model) && (!this.enableRedisPartial || !a.includes(i.model)) || i.model === "tags"
4828
+ ).reduce((i, r) => {
4827
4829
  var s, o, l, d;
4828
4830
  switch (r.model) {
4829
4831
  case "config-client_jwk": {
4830
4832
  if (Array.isArray((o = (s = r.items) == null ? void 0 : s.schema) == null ? void 0 : o.fields))
4831
4833
  for (const h of r.items.schema.fields)
4832
4834
  h.label = h.model;
4833
- a.push({
4835
+ i.push({
4834
4836
  ...r,
4835
4837
  link: this.openIdConnectJWKLink,
4836
4838
  newElementButtonLabel: "+ Add Client JWK",
@@ -4839,7 +4841,7 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4839
4841
  break;
4840
4842
  }
4841
4843
  case "config-session_redis_cluster_nodes": {
4842
- a.push({
4844
+ i.push({
4843
4845
  ...r,
4844
4846
  link: this.openIdConnectClusterNodesLink,
4845
4847
  newElementButtonLabel: "+ Add Cluster Node"
@@ -4847,9 +4849,9 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4847
4849
  break;
4848
4850
  }
4849
4851
  default:
4850
- a.push(r);
4852
+ i.push(r);
4851
4853
  }
4852
- return a;
4854
+ return i;
4853
4855
  }, [])
4854
4856
  }, this.enableRedisPartial && this.advancedFieldsSchema.fields.unshift(n), this.sessionManagement = this.formModel["config-auth_methods"].includes("session"), this.authMethods = [
4855
4857
  {
@@ -4901,8 +4903,8 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4901
4903
  prop: this.formModel["config-auth_methods"].includes("refresh_token")
4902
4904
  }
4903
4905
  ];
4904
- for (const a of [this.commonFieldsSchema, this.authFieldsSchema, this.advancedFieldsSchema])
4905
- for (const r of a.fields) {
4906
+ for (const i of [this.commonFieldsSchema, this.authFieldsSchema, this.advancedFieldsSchema])
4907
+ for (const r of i.fields) {
4906
4908
  const s = (e = t[r.model]) == null ? void 0 : e.help;
4907
4909
  r.help === void 0 && typeof s == "string" && (r.help = s);
4908
4910
  }
@@ -4910,8 +4912,8 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4910
4912
  },
4911
4913
  getAuthMethodsValue(e, t) {
4912
4914
  const n = [];
4913
- for (let i = 0; i < this.authMethods.length; i++)
4914
- this.authMethods[i].prop && this.authMethods[i].value !== e && n.push(this.authMethods[i].value);
4915
+ for (let a = 0; a < this.authMethods.length; a++)
4916
+ this.authMethods[a].prop && this.authMethods[a].value !== e && n.push(this.authMethods[a].value);
4915
4917
  return this.sessionManagement && e && n.push("session"), t && (e ? n.push(e) : n.push("session")), n;
4916
4918
  },
4917
4919
  handleUpdate(e, t) {
@@ -4919,7 +4921,7 @@ const ee = /* @__PURE__ */ Y(Ac, [["render", kc]]), rt = {
4919
4921
  }
4920
4922
  }
4921
4923
  }, $c = { class: "general-settings" }, Vc = { class: "link-wrapper" }, jc = { class: "auth-method-container" }, Rc = { class: "general-settings" }, Pc = { class: "link-wrapper" }, Nc = { class: "general-settings" }, Lc = { class: "link-wrapper" };
4922
- function qc(e, t, n, i, a, r) {
4924
+ function qc(e, t, n, a, i, r) {
4923
4925
  const s = F("VueFormGenerator"), o = F("KExternalLink"), l = F("KLabel"), d = F("KCheckbox"), h = F("KInputSwitch"), m = F("KTabs");
4924
4926
  return u(), g("div", null, [
4925
4927
  n.formModel.id && n.isEditing || !n.isEditing ? (u(), A(s, {
@@ -4927,14 +4929,14 @@ function qc(e, t, n, i, a, r) {
4927
4929
  class: "global-fields",
4928
4930
  model: n.formModel,
4929
4931
  options: n.formOptions,
4930
- schema: a.globalFields,
4932
+ schema: i.globalFields,
4931
4933
  onModelUpdated: n.onModelUpdated
4932
4934
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
4933
- C(m, { tabs: a.tabs }, {
4935
+ C(m, { tabs: i.tabs }, {
4934
4936
  common: I(() => [
4935
4937
  f("div", $c, [
4936
4938
  f("div", Vc, [
4937
- C(o, { href: a.openIdConfigurationDocs }, {
4939
+ C(o, { href: i.openIdConfigurationDocs }, {
4938
4940
  default: I(() => t[2] || (t[2] = [
4939
4941
  f("span", { class: "section-header" }, "Common Configuration Settings", -1)
4940
4942
  ])),
@@ -4946,7 +4948,7 @@ function qc(e, t, n, i, a, r) {
4946
4948
  key: 0,
4947
4949
  model: n.formModel,
4948
4950
  options: n.formOptions,
4949
- schema: a.commonFieldsSchema,
4951
+ schema: i.commonFieldsSchema,
4950
4952
  onModelUpdated: n.onModelUpdated
4951
4953
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
4952
4954
  C(l, null, {
@@ -4956,7 +4958,7 @@ function qc(e, t, n, i, a, r) {
4956
4958
  _: 1
4957
4959
  }),
4958
4960
  f("div", jc, [
4959
- (u(!0), g(K, null, J(a.authMethods, (p) => (u(), g("div", {
4961
+ (u(!0), g(K, null, J(i.authMethods, (p) => (u(), g("div", {
4960
4962
  key: p.value,
4961
4963
  class: "auth-method"
4962
4964
  }, [
@@ -4973,8 +4975,8 @@ function qc(e, t, n, i, a, r) {
4973
4975
  ]))), 128))
4974
4976
  ]),
4975
4977
  C(h, {
4976
- modelValue: a.sessionManagement,
4977
- "onUpdate:modelValue": t[0] || (t[0] = (p) => a.sessionManagement = p),
4978
+ modelValue: i.sessionManagement,
4979
+ "onUpdate:modelValue": t[0] || (t[0] = (p) => i.sessionManagement = p),
4978
4980
  label: "Enable Session Management",
4979
4981
  onChange: r.handleUpdate
4980
4982
  }, null, 8, ["modelValue", "onChange"])
@@ -4983,7 +4985,7 @@ function qc(e, t, n, i, a, r) {
4983
4985
  authorization: I(() => [
4984
4986
  f("div", Rc, [
4985
4987
  f("div", Pc, [
4986
- C(o, { href: a.openIdAuthorizationDocs }, {
4988
+ C(o, { href: i.openIdAuthorizationDocs }, {
4987
4989
  default: I(() => t[5] || (t[5] = [
4988
4990
  f("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
4989
4991
  ])),
@@ -4995,7 +4997,7 @@ function qc(e, t, n, i, a, r) {
4995
4997
  key: 0,
4996
4998
  model: n.formModel,
4997
4999
  options: n.formOptions,
4998
- schema: a.authFieldsSchema,
5000
+ schema: i.authFieldsSchema,
4999
5001
  onModelUpdated: n.onModelUpdated
5000
5002
  }, {
5001
5003
  "autofill-provider": I((p) => [
@@ -5008,7 +5010,7 @@ function qc(e, t, n, i, a, r) {
5008
5010
  advanced: I(() => [
5009
5011
  f("div", Nc, [
5010
5012
  f("div", Lc, [
5011
- C(o, { href: e.openIdConnectLink }, {
5013
+ C(o, { href: i.openIdConnectLink }, {
5012
5014
  default: I(() => t[7] || (t[7] = [
5013
5015
  f("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
5014
5016
  ])),
@@ -5022,7 +5024,7 @@ function qc(e, t, n, i, a, r) {
5022
5024
  "is-editing": n.isEditing,
5023
5025
  model: n.formModel,
5024
5026
  options: n.formOptions,
5025
- schema: a.advancedFieldsSchema,
5027
+ schema: i.advancedFieldsSchema,
5026
5028
  onModelUpdated: n.onModelUpdated,
5027
5029
  onPartialToggled: n.onPartialToggled,
5028
5030
  onShowNewPartialModal: t[1] || (t[1] = () => n.showNewPartialModal(n.formSchema._supported_redis_partial_type))
@@ -5033,7 +5035,7 @@ function qc(e, t, n, i, a, r) {
5033
5035
  }, 8, ["tabs"])
5034
5036
  ]);
5035
5037
  }
5036
- const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b"]]), Dc = /* @__PURE__ */ re({
5038
+ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-741bf3cb"]]), Dc = /* @__PURE__ */ re({
5037
5039
  __name: "PostFunction",
5038
5040
  props: {
5039
5041
  formModel: {
@@ -5060,15 +5062,15 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5060
5062
  },
5061
5063
  setup(e) {
5062
5064
  var s;
5063
- it(he, (s = ft()) == null ? void 0 : s[xe]);
5064
- const { t, te: n } = ge("en-us", ve), i = e, a = L(() => i.formModel.id && i.isEditing || !i.isEditing), r = L(() => {
5065
- const o = i.formSchema;
5065
+ at(he, (s = ft()) == null ? void 0 : s[xe]);
5066
+ const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
5067
+ const o = a.formSchema;
5066
5068
  return o.fields.map((l) => {
5067
5069
  const d = `post-function.${l.model}`;
5068
5070
  return l.hint = n(`${d}.hint`) && t(`${d}.hint`) || l.hint, l.help = n(`${d}.help`) && t(`${d}.help`) || l.help, l.newElementButtonLabel = n(`${d}.newElementButtonLabel`) && t(`${d}.newElementButtonLabel`) || l.newElementButtonLabel, l.model !== "tags" && (l.valueType === "array" || l.type === "array") && (l.type = "array", l.valueArrayType = "array", l.itemContainerComponent = "FieldArrayItem", l.fieldClasses = "post-function-array-item-container", l.fieldItemsClasses = "post-function-array-item", l.inputAttributes = { ...l.inputAttributes, type: "textarea" }), l;
5069
5071
  }), o;
5070
5072
  });
5071
- return (o, l) => a.value ? (u(), A(ee, {
5073
+ return (o, l) => i.value ? (u(), A(ee, {
5072
5074
  key: 0,
5073
5075
  model: e.formModel,
5074
5076
  options: e.formOptions,
@@ -5103,15 +5105,15 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5103
5105
  },
5104
5106
  setup(e) {
5105
5107
  var s;
5106
- it(he, (s = ft()) == null ? void 0 : s[xe]);
5107
- const { t, te: n } = ge("en-us", ve), i = e, a = L(() => i.formModel.id && i.isEditing || !i.isEditing), r = L(() => {
5108
- const o = i.formSchema;
5108
+ at(he, (s = ft()) == null ? void 0 : s[xe]);
5109
+ const { t, te: n } = ge("en-us", ve), a = e, i = L(() => a.formModel.id && a.isEditing || !a.isEditing), r = L(() => {
5110
+ const o = a.formSchema;
5109
5111
  return o.fields.map((l) => {
5110
5112
  const d = `exit-transformer.${l.model}`;
5111
5113
  return l.hint = n(`${d}.hint`) && t(`${d}.hint`) || l.hint, l.help = n(`${d}.help`) && t(`${d}.help`) || l.help, l.newElementButtonLabel = n(`${d}.newElementButtonLabel`) && t(`${d}.newElementButtonLabel`) || l.newElementButtonLabel, l.model !== "tags" && (l.valueType === "array" || l.type === "array") && (l.type = "array", l.valueArrayType = "array", l.itemContainerComponent = "FieldArrayItem", l.fieldClasses = "exit-transformer-array-item-container", l.fieldItemsClasses = "exit-transformer-array-item", l.inputAttributes = { ...l.inputAttributes, type: "textarea" }), l;
5112
5114
  }), o;
5113
5115
  });
5114
- return (o, l) => a.value ? (u(), A(ee, {
5116
+ return (o, l) => i.value ? (u(), A(ee, {
5115
5117
  key: 0,
5116
5118
  model: e.formModel,
5117
5119
  options: e.formOptions,
@@ -5234,8 +5236,8 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5234
5236
  },
5235
5237
  setup(e) {
5236
5238
  var k;
5237
- it(he, (k = ft()) == null ? void 0 : k[xe]);
5238
- const t = e, n = ue("zeroSsl"), i = ue("shm"), a = L(() => {
5239
+ at(he, (k = ft()) == null ? void 0 : k[xe]);
5240
+ const t = e, n = ue("zeroSsl"), a = ue("shm"), i = L(() => {
5239
5241
  var v;
5240
5242
  const _ = {};
5241
5243
  if ((v = t.formSchema) != null && v.fields)
@@ -5246,7 +5248,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5246
5248
  var v;
5247
5249
  const _ = we(Hc);
5248
5250
  for (const j of _.fields) {
5249
- const x = (v = a.value[j.model]) == null ? void 0 : v.help;
5251
+ const x = (v = i.value[j.model]) == null ? void 0 : v.help;
5250
5252
  j.help === void 0 && typeof x == "string" && (j.help = x);
5251
5253
  }
5252
5254
  return _;
@@ -5254,7 +5256,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5254
5256
  var v;
5255
5257
  const _ = we(xc);
5256
5258
  for (const j of _.fields) {
5257
- const x = (v = a.value[j.model]) == null ? void 0 : v.help;
5259
+ const x = (v = i.value[j.model]) == null ? void 0 : v.help;
5258
5260
  j.help === void 0 && typeof x == "string" && (j.help = x);
5259
5261
  }
5260
5262
  return _;
@@ -5262,7 +5264,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5262
5264
  var v;
5263
5265
  const _ = we(Gc);
5264
5266
  for (const j of _.fields) {
5265
- const x = (v = a.value[j.model]) == null ? void 0 : v.help;
5267
+ const x = (v = i.value[j.model]) == null ? void 0 : v.help;
5266
5268
  j.help === void 0 && typeof x == "string" && (j.help = x);
5267
5269
  }
5268
5270
  return _;
@@ -5318,7 +5320,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5318
5320
  const b = (_) => {
5319
5321
  n.value = _.value, (_.value === "zeroSsl" || _.value === "other") && (_.value === "zeroSsl" ? t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90" : t.formModel["config-api_uri"] = "https://acme.example.com/", t.formModel["config-tos_accepted"] = !1), _.value === "letsEncrypt" && (t.formModel["config-api_uri"] = "https://acme-v02.api.letsencrypt.org/directory", t.formModel["config-eab_hmac_key"] = "", t.formModel["config-eab_kid"] = ""), t.onModelUpdated();
5320
5322
  }, O = (_, v) => {
5321
- v === "config-storage" && (i.value = _), t.onModelUpdated();
5323
+ v === "config-storage" && (a.value = _), t.onModelUpdated();
5322
5324
  };
5323
5325
  return (_, v) => {
5324
5326
  const j = F("KSelect"), x = F("KTabs");
@@ -5384,28 +5386,28 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5384
5386
  onModelUpdated: O
5385
5387
  }, null, 8, ["model", "options", "schema"])) : R("", !0),
5386
5388
  f("div", Qc, [
5387
- i.value === "consul" ? (u(), A(ee, {
5389
+ a.value === "consul" ? (u(), A(ee, {
5388
5390
  key: 0,
5389
5391
  model: e.formModel,
5390
5392
  options: e.formOptions,
5391
5393
  schema: m.value,
5392
5394
  onModelUpdated: e.onModelUpdated
5393
5395
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5394
- i.value === "redis" ? (u(), A(ee, {
5396
+ a.value === "redis" ? (u(), A(ee, {
5395
5397
  key: 1,
5396
5398
  model: e.formModel,
5397
5399
  options: e.formOptions,
5398
5400
  schema: p.value,
5399
5401
  onModelUpdated: e.onModelUpdated
5400
5402
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5401
- i.value === "shm" ? (u(), A(ee, {
5403
+ a.value === "shm" ? (u(), A(ee, {
5402
5404
  key: 2,
5403
5405
  model: e.formModel,
5404
5406
  options: e.formOptions,
5405
5407
  schema: E.value,
5406
5408
  onModelUpdated: e.onModelUpdated
5407
5409
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : R("", !0),
5408
- i.value === "vault" ? (u(), A(ee, {
5410
+ a.value === "vault" ? (u(), A(ee, {
5409
5411
  key: 3,
5410
5412
  model: e.formModel,
5411
5413
  options: e.formOptions,
@@ -5455,7 +5457,7 @@ const Kc = /* @__PURE__ */ Y(Uc, [["render", qc], ["__scopeId", "data-v-9575ff1b
5455
5457
  },
5456
5458
  setup(e) {
5457
5459
  var x;
5458
- it(he, (x = ft()) == null ? void 0 : x[xe]);
5460
+ at(he, (x = ft()) == null ? void 0 : x[xe]);
5459
5461
  const t = {
5460
5462
  fixed: [
5461
5463
  {
@@ -5516,19 +5518,19 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5516
5518
  "selectionGroup",
5517
5519
  "enabled",
5518
5520
  ...["identifier", "limit", "window_size", "error_code", "error_message"].map((y) => `config-${y}`)
5519
- ]), i = (y) => y === void 0 ? !1 : n.has(y), { t: a } = ge("en-us", ve), r = e, s = L(() => {
5521
+ ]), a = (y) => y === void 0 ? !1 : n.has(y), { t: i } = ge("en-us", ve), r = e, s = L(() => {
5520
5522
  var V, P, D;
5521
5523
  const y = (P = (V = r.formSchema) == null ? void 0 : V.fields) == null ? void 0 : P.find((se) => se.type === "selectionGroup" && se.model === "selectionGroup");
5522
5524
  return { fields: [(D = r.formSchema) == null ? void 0 : D.fields.find((se) => se.model === "enabled"), y].filter(Boolean) };
5523
5525
  }), o = L(() => {
5524
5526
  var se, Ue;
5525
- const y = ((Ue = (se = r.formSchema) == null ? void 0 : se.fields) == null ? void 0 : Ue.filter((ae) => !i(ae.model))) ?? [], S = [], V = [], P = [];
5527
+ const y = ((Ue = (se = r.formSchema) == null ? void 0 : se.fields) == null ? void 0 : Ue.filter((ae) => !a(ae.model))) ?? [], S = [], V = [], P = [];
5526
5528
  let D = !1;
5527
5529
  for (const ae of y) {
5528
5530
  const De = ae.model;
5529
5531
  if (De !== void 0) {
5530
5532
  if (De.startsWith("config-redis-")) {
5531
- (ae.model === "config-redis-cluster_addresses" || ae.model === "config-redis-sentinel_addresses") && (ae.inputAttributes.help = a("rla.redis.address_example")), V.push(ae);
5533
+ (ae.model === "config-redis-cluster_addresses" || ae.model === "config-redis-sentinel_addresses") && (ae.inputAttributes.help = i("rla.redis.address_example")), V.push(ae);
5532
5534
  continue;
5533
5535
  }
5534
5536
  D ? P.push(ae) : S.push(ae), ae.model === "config-strategy" && (D = !0);
@@ -5549,7 +5551,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5549
5551
  () => {
5550
5552
  var y, S, V;
5551
5553
  return (((V = (S = (y = r.formSchema) == null ? void 0 : y.fields) == null ? void 0 : S.find((P) => P.model === "config-identifier")) == null ? void 0 : V.values) ?? []).map((P) => ({
5552
- label: a(`rla.identifiers.options.${P}`),
5554
+ label: i(`rla.identifiers.options.${P}`),
5553
5555
  value: P
5554
5556
  }));
5555
5557
  }
@@ -5642,11 +5644,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5642
5644
  required: ""
5643
5645
  }, {
5644
5646
  default: I(() => [
5645
- te($(w(a)("rla.request_limits.title")), 1)
5647
+ te($(w(i)("rla.request_limits.title")), 1)
5646
5648
  ]),
5647
5649
  _: 1
5648
5650
  }),
5649
- f("div", im, $(w(a)("rla.request_limits.subtitle")), 1)
5651
+ f("div", im, $(w(i)("rla.request_limits.subtitle")), 1)
5650
5652
  ]),
5651
5653
  default: I(() => [
5652
5654
  f("div", am, [
@@ -5660,11 +5662,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5660
5662
  }, {
5661
5663
  tooltip: I(() => [
5662
5664
  f("div", {
5663
- innerHTML: w(a)("rla.window_type.help")
5665
+ innerHTML: w(i)("rla.window_type.help")
5664
5666
  }, null, 8, om)
5665
5667
  ]),
5666
5668
  default: I(() => [
5667
- te($(w(a)("rla.window_type.label")) + " ", 1)
5669
+ te($(w(i)("rla.window_type.label")) + " ", 1)
5668
5670
  ]),
5669
5671
  _: 1
5670
5672
  }),
@@ -5677,7 +5679,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5677
5679
  "onUpdate:modelValue": O
5678
5680
  }, {
5679
5681
  default: I(() => [
5680
- te($(w(a)(`rla.window_type.options.${q}`)), 1)
5682
+ te($(w(i)(`rla.window_type.options.${q}`)), 1)
5681
5683
  ]),
5682
5684
  _: 2
5683
5685
  }, 1032, ["model-value", "name", "selected-value"]))), 128))
@@ -5691,7 +5693,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5691
5693
  for: `rla-form-request-limits-item-${ne}-legend`
5692
5694
  }, {
5693
5695
  default: I(() => [
5694
- te($(w(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
5696
+ te($(w(i)("rla.request_limits.label_index", { index: ne + 1 })), 1)
5695
5697
  ]),
5696
5698
  _: 2
5697
5699
  }, 1032, ["for"]),
@@ -5702,18 +5704,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5702
5704
  }, [
5703
5705
  C(D, {
5704
5706
  "model-value": q.limit && q.limit.toString(),
5705
- placeholder: w(a)("rla.request_limits.request_number"),
5707
+ placeholder: w(i)("rla.request_limits.request_number"),
5706
5708
  type: "number",
5707
5709
  "onUpdate:modelValue": (Mt) => k(ne, Number.parseInt(Mt))
5708
5710
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5709
- f("div", null, $(w(a)("rla.request_limits.interval_determiner")), 1),
5711
+ f("div", null, $(w(i)("rla.request_limits.interval_determiner")), 1),
5710
5712
  C(D, {
5711
5713
  "model-value": q.windowSize && q.windowSize.toString(),
5712
- placeholder: w(a)("rla.request_limits.time_interval"),
5714
+ placeholder: w(i)("rla.request_limits.time_interval"),
5713
5715
  type: "number",
5714
5716
  "onUpdate:modelValue": (Mt) => _(ne, Number.parseInt(Mt))
5715
5717
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
5716
- f("div", null, $(w(a)("rla.request_limits.seconds")), 1)
5718
+ f("div", null, $(w(i)("rla.request_limits.seconds")), 1)
5717
5719
  ], 8, um),
5718
5720
  f("div", cm, [
5719
5721
  C(se, {
@@ -5740,7 +5742,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5740
5742
  ]))), 128))
5741
5743
  ]),
5742
5744
  l.value.length > 0 ? (u(), g("div", mm, [
5743
- f("div", null, $(w(a)("rla.start_with_a_use_case")), 1),
5745
+ f("div", null, $(w(i)("rla.start_with_a_use_case")), 1),
5744
5746
  f("div", fm, [
5745
5747
  (u(!0), g(K, null, J(l.value, (q, ne) => (u(), A(ae, {
5746
5748
  key: `use-case-${ne}`,
@@ -5749,8 +5751,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5749
5751
  content: I(() => [
5750
5752
  f("div", null, $(q.description), 1),
5751
5753
  S[10] || (S[10] = f("br", null, null, -1)),
5752
- f("div", null, $(w(a)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
5753
- f("div", null, $(w(a)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
5754
+ f("div", null, $(w(i)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
5755
+ f("div", null, $(w(i)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
5754
5756
  ]),
5755
5757
  default: I(() => [
5756
5758
  C(Ue, {
@@ -5777,7 +5779,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5777
5779
  "onUpdate:modelValue": S[1] || (S[1] = (q) => M.value = q),
5778
5780
  class: "rla-form-identifiers",
5779
5781
  items: h.value,
5780
- label: w(a)("rla.identifiers.label"),
5782
+ label: w(i)("rla.identifiers.label"),
5781
5783
  "label-attributes": {
5782
5784
  tooltipAttributes: {
5783
5785
  maxWidth: "300",
@@ -5797,7 +5799,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5797
5799
  f("div", null, [
5798
5800
  C(V, {
5799
5801
  for: "rla-form-error-legend",
5800
- info: w(a)("rla.error_message.help"),
5802
+ info: w(i)("rla.error_message.help"),
5801
5803
  required: "",
5802
5804
  "tooltip-attributes": {
5803
5805
  maxWidth: "300",
@@ -5805,7 +5807,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5805
5807
  }
5806
5808
  }, {
5807
5809
  default: I(() => [
5808
- te($(w(a)("rla.error_message.label")), 1)
5810
+ te($(w(i)("rla.error_message.label")), 1)
5809
5811
  ]),
5810
5812
  _: 1
5811
5813
  }, 8, ["info"]),
@@ -5813,14 +5815,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5813
5815
  C(D, {
5814
5816
  class: "input-error-code",
5815
5817
  "model-value": T.value && T.value.toString(),
5816
- placeholder: w(a)("rla.error_message.code_placeholder"),
5818
+ placeholder: w(i)("rla.error_message.code_placeholder"),
5817
5819
  type: "number",
5818
5820
  "onUpdate:modelValue": S[3] || (S[3] = (q) => y.onModelUpdated(Number.parseInt(q), "config-error_code"))
5819
5821
  }, null, 8, ["model-value", "placeholder"]),
5820
5822
  S[11] || (S[11] = f("div", null, ":", -1)),
5821
5823
  C(D, {
5822
5824
  "model-value": U.value,
5823
- placeholder: w(a)("rla.error_message.message_placeholder"),
5825
+ placeholder: w(i)("rla.error_message.message_placeholder"),
5824
5826
  "onUpdate:modelValue": S[4] || (S[4] = (q) => y.onModelUpdated(q, "config-error_message"))
5825
5827
  }, null, 8, ["model-value", "placeholder"])
5826
5828
  ])
@@ -5829,7 +5831,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5829
5831
  C(Oi, {
5830
5832
  modelValue: p.value,
5831
5833
  "onUpdate:modelValue": S[9] || (S[9] = (q) => p.value = q),
5832
- "trigger-label": w(a)("rla.view_advanced_fields")
5834
+ "trigger-label": w(i)("rla.view_advanced_fields")
5833
5835
  }, {
5834
5836
  default: I(() => [
5835
5837
  C(ee, {
@@ -5841,7 +5843,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
5841
5843
  y.formModel["config-strategy"] === "redis" ? (u(), A(ie(y.enableRedisPartial ? "div" : "KCard"), {
5842
5844
  key: 0,
5843
5845
  class: "rla-form-redis-card",
5844
- title: w(a)("rla.redis.title")
5846
+ title: w(i)("rla.redis.title")
5845
5847
  }, {
5846
5848
  default: I(() => [
5847
5849
  C(ee, {