@kong-ui-public/forms 4.18.1 → 4.18.2-pr.2604.83e30815e.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,6 +1,6 @@
1
- import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, mergeModels as Oi, useModel as Po, createBlock as U, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as z, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as B, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as qo, vShow as Ko, normalizeProps as Bo, guardReactiveProps as zo, useSlots as fn, nextTick as Fi } from "vue";
1
+ import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as C, defineComponent as he, provide as Bt, resolveComponent as D, withCtx as E, renderSlot as Oe, unref as A, createTextVNode as ce, mergeModels as Oi, useModel as Po, createBlock as U, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as B, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as K, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as xo, vShow as qo, normalizeProps as Ko, guardReactiveProps as Bo, useSlots as fn, nextTick as Fi } from "vue";
2
2
  import { createI18n as ke } from "@kong-ui-public/i18n";
3
- import { TrashIcon as xt, SearchIcon as xo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
3
+ import { TrashIcon as zt, SearchIcon as zo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
4
4
  import { isAxiosError as Yo } from "axios";
5
5
  import { useStringHelpers as Go, useErrors as Wo, useDebouncedFilter as Zo, useAxios as Xo } from "@kong-ui-public/entities-shared";
6
6
  function Ca(e, t) {
@@ -67,10 +67,10 @@ var br = 9007199254740991;
67
67
  function Na(e) {
68
68
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
69
69
  }
70
- var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]", Lr = "[object DataView]", Nr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Kr = "[object Uint16Array]", Br = "[object Uint32Array]", Q = {};
71
- Q[Nr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = !0;
70
+ var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]", Lr = "[object DataView]", Nr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", xr = "[object Uint8ClampedArray]", qr = "[object Uint16Array]", Kr = "[object Uint32Array]", Q = {};
71
+ Q[Nr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[xr] = Q[qr] = Q[Kr] = !0;
72
72
  Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[Lr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = !1;
73
- function zr(e) {
73
+ function Br(e) {
74
74
  return it(e) && Na(e.length) && !!Q[nt(e)];
75
75
  }
76
76
  function ei(e) {
@@ -78,13 +78,13 @@ function ei(e) {
78
78
  return e(t);
79
79
  };
80
80
  }
81
- var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, xr = Vt && Vt.exports === Pa, Ln = xr && Oa.process, St = function() {
81
+ var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, zr = Vt && Vt.exports === Pa, Ln = zr && Oa.process, St = function() {
82
82
  try {
83
83
  var e = Vt && Vt.require && Vt.require("util").types;
84
84
  return e || Ln && Ln.binding && Ln.binding("util");
85
85
  } catch {
86
86
  }
87
- }(), Ni = St && St.isTypedArray, Hr = Ni ? ei(Ni) : zr, Yr = Object.prototype, Gr = Yr.hasOwnProperty;
87
+ }(), Ni = St && St.isTypedArray, Hr = Ni ? ei(Ni) : Br, Yr = Object.prototype, Gr = Yr.hasOwnProperty;
88
88
  function Da(e, t) {
89
89
  var n = at(e), i = !n && fr(e), a = !n && !i && Ua(e), o = !n && !i && !a && Hr(e), s = n || i || a || o, r = s ? er(e.length, String) : [], d = r.length;
90
90
  for (var u in e)
@@ -204,9 +204,9 @@ function mt(e, t) {
204
204
  var n = ws(e, t);
205
205
  return Ss(n) ? n : void 0;
206
206
  }
207
- var Kt = mt(Object, "create");
207
+ var qt = mt(Object, "create");
208
208
  function Es() {
209
- this.__data__ = Kt ? Kt(null) : {}, this.size = 0;
209
+ this.__data__ = qt ? qt(null) : {}, this.size = 0;
210
210
  }
211
211
  function Ms(e) {
212
212
  var t = this.has(e) && delete this.__data__[e];
@@ -215,7 +215,7 @@ function Ms(e) {
215
215
  var As = "__lodash_hash_undefined__", Is = Object.prototype, Cs = Is.hasOwnProperty;
216
216
  function Os(e) {
217
217
  var t = this.__data__;
218
- if (Kt) {
218
+ if (qt) {
219
219
  var n = t[e];
220
220
  return n === As ? void 0 : n;
221
221
  }
@@ -224,12 +224,12 @@ function Os(e) {
224
224
  var Fs = Object.prototype, ks = Fs.hasOwnProperty;
225
225
  function Rs(e) {
226
226
  var t = this.__data__;
227
- return Kt ? t[e] !== void 0 : ks.call(t, e);
227
+ return qt ? t[e] !== void 0 : ks.call(t, e);
228
228
  }
229
229
  var Us = "__lodash_hash_undefined__";
230
230
  function Ls(e, t) {
231
231
  var n = this.__data__;
232
- return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ? Us : t, this;
232
+ return this.size += this.has(e) ? 0 : 1, n[e] = qt && t === void 0 ? Us : t, this;
233
233
  }
234
234
  function rt(e) {
235
235
  var t = -1, n = e == null ? 0 : e.length;
@@ -270,7 +270,7 @@ function Vs(e) {
270
270
  function js(e) {
271
271
  return vn(this.__data__, e) > -1;
272
272
  }
273
- function qs(e, t) {
273
+ function xs(e, t) {
274
274
  var n = this.__data__, i = vn(n, e);
275
275
  return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
276
276
  }
@@ -285,28 +285,28 @@ Ze.prototype.clear = Ns;
285
285
  Ze.prototype.delete = $s;
286
286
  Ze.prototype.get = Vs;
287
287
  Ze.prototype.has = js;
288
- Ze.prototype.set = qs;
289
- var Bt = mt(Pe, "Map");
290
- function Ks() {
288
+ Ze.prototype.set = xs;
289
+ var Kt = mt(Pe, "Map");
290
+ function qs() {
291
291
  this.size = 0, this.__data__ = {
292
292
  hash: new rt(),
293
- map: new (Bt || Ze)(),
293
+ map: new (Kt || Ze)(),
294
294
  string: new rt()
295
295
  };
296
296
  }
297
- function Bs(e) {
297
+ function Ks(e) {
298
298
  var t = typeof e;
299
299
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
300
300
  }
301
301
  function bn(e, t) {
302
302
  var n = e.__data__;
303
- return Bs(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
303
+ return Ks(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
304
304
  }
305
- function zs(e) {
305
+ function Bs(e) {
306
306
  var t = bn(this, e).delete(e);
307
307
  return this.size -= t ? 1 : 0, t;
308
308
  }
309
- function xs(e) {
309
+ function zs(e) {
310
310
  return bn(this, e).get(e);
311
311
  }
312
312
  function Hs(e) {
@@ -323,9 +323,9 @@ function Xe(e) {
323
323
  this.set(i[0], i[1]);
324
324
  }
325
325
  }
326
- Xe.prototype.clear = Ks;
327
- Xe.prototype.delete = zs;
328
- Xe.prototype.get = xs;
326
+ Xe.prototype.clear = qs;
327
+ Xe.prototype.delete = Bs;
328
+ Xe.prototype.get = zs;
329
329
  Xe.prototype.has = Hs;
330
330
  Xe.prototype.set = Ys;
331
331
  var Gs = "Expected a function";
@@ -404,7 +404,7 @@ const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial
404
404
  }, rl = "—";
405
405
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
406
406
  const {
407
- entries: qa,
407
+ entries: xa,
408
408
  setPrototypeOf: Vi,
409
409
  isFrozen: sl,
410
410
  getPrototypeOf: ll,
@@ -413,10 +413,10 @@ const {
413
413
  let {
414
414
  freeze: Me,
415
415
  seal: Ne,
416
- create: Ka
416
+ create: qa
417
417
  } = Object, {
418
- apply: zn,
419
- construct: xn
418
+ apply: Bn,
419
+ construct: zn
420
420
  } = typeof Reflect < "u" && Reflect;
421
421
  Me || (Me = function(t) {
422
422
  return t;
@@ -424,29 +424,29 @@ Me || (Me = function(t) {
424
424
  Ne || (Ne = function(t) {
425
425
  return t;
426
426
  });
427
- zn || (zn = function(t, n, i) {
427
+ Bn || (Bn = function(t, n, i) {
428
428
  return t.apply(n, i);
429
429
  });
430
- xn || (xn = function(t, n) {
430
+ zn || (zn = function(t, n) {
431
431
  return new t(...n);
432
432
  });
433
- const en = Ae(Array.prototype.forEach), ul = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), cl = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), ml = Ae(String.prototype.indexOf), fl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Lt = hl(TypeError);
433
+ const en = Ae(Array.prototype.forEach), ul = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), cl = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), xi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), ml = Ae(String.prototype.indexOf), fl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Lt = hl(TypeError);
434
434
  function Ae(e) {
435
435
  return function(t) {
436
436
  t instanceof RegExp && (t.lastIndex = 0);
437
437
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
438
438
  i[a - 1] = arguments[a];
439
- return zn(e, t, i);
439
+ return Bn(e, t, i);
440
440
  };
441
441
  }
442
442
  function hl(e) {
443
443
  return function() {
444
444
  for (var t = arguments.length, n = new Array(t), i = 0; i < t; i++)
445
445
  n[i] = arguments[i];
446
- return xn(e, n);
446
+ return zn(e, n);
447
447
  };
448
448
  }
449
- function x(e, t) {
449
+ function z(e, t) {
450
450
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : nn;
451
451
  Vi && Vi(e, null);
452
452
  let i = t.length;
@@ -466,8 +466,8 @@ function pl(e) {
466
466
  return e;
467
467
  }
468
468
  function Ye(e) {
469
- const t = Ka(null);
470
- for (const [n, i] of qa(e))
469
+ const t = qa(null);
470
+ for (const [n, i] of xa(e))
471
471
  De(e, n) && (Array.isArray(i) ? t[n] = pl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
472
472
  return t;
473
473
  }
@@ -487,22 +487,22 @@ function Nt(e, t) {
487
487
  }
488
488
  return n;
489
489
  }
490
- const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ba = Ne(
490
+ const qi = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ki = Me(["#text"]), Bi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), zi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ka = Ne(
491
491
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
492
492
  // eslint-disable-line no-useless-escape
493
493
  ), wl = Ne(/^(?:\w+script|data):/i), El = Ne(
494
494
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
495
495
  // eslint-disable-line no-control-regex
496
- ), za = Ne(/^html$/i), Ml = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
496
+ ), Ba = Ne(/^html$/i), Ml = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
497
497
  var Hi = /* @__PURE__ */ Object.freeze({
498
498
  __proto__: null,
499
499
  ARIA_ATTR: Sl,
500
500
  ATTR_WHITESPACE: El,
501
501
  CUSTOM_ELEMENT: Ml,
502
502
  DATA_ATTR: Tl,
503
- DOCTYPE_NAME: za,
503
+ DOCTYPE_NAME: Ba,
504
504
  ERB_EXPR: bl,
505
- IS_ALLOWED_URI: Ba,
505
+ IS_ALLOWED_URI: Ka,
506
506
  IS_SCRIPT_OR_DATA: wl,
507
507
  MUSTACHE_EXPR: vl,
508
508
  TMPLIT_EXPR: _l
@@ -548,9 +548,9 @@ const Pt = {
548
548
  uponSanitizeShadowNode: []
549
549
  };
550
550
  };
551
- function xa() {
551
+ function za() {
552
552
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Al();
553
- const t = (P) => xa(P);
553
+ const t = (P) => za(P);
554
554
  if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Pt.document || !e.Element)
555
555
  return t.isSupported = !1, t;
556
556
  let {
@@ -565,40 +565,40 @@ function xa() {
565
565
  NamedNodeMap: p = e.NamedNodeMap || e.MozNamedAttrMap,
566
566
  HTMLFormElement: f,
567
567
  DOMParser: b,
568
- trustedTypes: k
569
- } = e, q = d.prototype, h = Nt(q, "cloneNode"), A = Nt(q, "remove"), C = Nt(q, "nextSibling"), N = Nt(q, "childNodes"), T = Nt(q, "parentNode");
568
+ trustedTypes: F
569
+ } = e, x = d.prototype, h = Nt(x, "cloneNode"), M = Nt(x, "remove"), I = Nt(x, "nextSibling"), N = Nt(x, "childNodes"), T = Nt(x, "parentNode");
570
570
  if (typeof s == "function") {
571
571
  const P = n.createElement("template");
572
572
  P.content && P.content.ownerDocument && (n = P.content.ownerDocument);
573
573
  }
574
- let F, y = "";
574
+ let O, v = "";
575
575
  const {
576
- implementation: v,
576
+ implementation: y,
577
577
  createNodeIterator: g,
578
578
  createDocumentFragment: V,
579
579
  getElementsByTagName: Z
580
580
  } = n, {
581
- importNode: E
581
+ importNode: k
582
582
  } = i;
583
583
  let w = Yi();
584
- t.isSupported = typeof qa == "function" && typeof T == "function" && v && v.createHTMLDocument !== void 0;
584
+ t.isSupported = typeof xa == "function" && typeof T == "function" && y && y.createHTMLDocument !== void 0;
585
585
  const {
586
586
  MUSTACHE_EXPR: j,
587
- ERB_EXPR: K,
587
+ ERB_EXPR: q,
588
588
  TMPLIT_EXPR: H,
589
589
  DATA_ATTR: ge,
590
- ARIA_ATTR: Ke,
590
+ ARIA_ATTR: qe,
591
591
  IS_SCRIPT_OR_DATA: fe,
592
- ATTR_WHITESPACE: Be,
592
+ ATTR_WHITESPACE: Ke,
593
593
  CUSTOM_ELEMENT: Sn
594
594
  } = Hi;
595
595
  let {
596
596
  IS_ALLOWED_URI: Ht
597
597
  } = Hi, $ = null;
598
- const ne = x({}, [...Ki, ...Dn, ...$n, ...Vn, ...Bi]);
598
+ const ne = z({}, [...qi, ...Dn, ...$n, ...Vn, ...Ki]);
599
599
  let re = null;
600
- const si = x({}, [...zi, ...jn, ...xi, ...tn]);
601
- let se = Object.seal(Ka(null, {
600
+ const si = z({}, [...Bi, ...jn, ...zi, ...tn]);
601
+ let se = Object.seal(qa(null, {
602
602
  tagNameCheck: {
603
603
  writable: !0,
604
604
  configurable: !1,
@@ -620,15 +620,15 @@ function xa() {
620
620
  })), It = null, wn = null, li = !0, En = !0, di = !1, ui = !0, ft = !1, Yt = !0, ot = !1, Mn = !1, An = !1, ht = !1, Gt = !1, Wt = !1, ci = !0, mi = !1;
621
621
  const Co = "user-content-";
622
622
  let In = !0, Ct = !1, pt = {}, gt = null;
623
- const fi = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
623
+ const fi = z({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
624
624
  let hi = null;
625
- const pi = x({}, ["audio", "video", "img", "source", "image", "track"]);
625
+ const pi = z({}, ["audio", "video", "img", "source", "image", "track"]);
626
626
  let Cn = null;
627
- const gi = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Zt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", ze = "http://www.w3.org/1999/xhtml";
628
- let yt = ze, On = !1, Fn = null;
629
- const Oo = x({}, [Zt, Xt, ze], Pn);
630
- let Jt = x({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = x({}, ["annotation-xml"]);
631
- const Fo = x({}, ["title", "style", "font", "a", "script"]);
627
+ const gi = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Zt = "http://www.w3.org/1998/Math/MathML", Xt = "http://www.w3.org/2000/svg", Be = "http://www.w3.org/1999/xhtml";
628
+ let yt = Be, On = !1, Fn = null;
629
+ const Oo = z({}, [Zt, Xt, Be], Pn);
630
+ let Jt = z({}, ["mi", "mo", "mn", "ms", "mtext"]), Qt = z({}, ["annotation-xml"]);
631
+ const Fo = z({}, ["title", "style", "font", "a", "script"]);
632
632
  let Ot = null;
633
633
  const ko = ["application/xhtml+xml", "text/html"], Ro = "text/html";
634
634
  let ye = null, vt = null;
@@ -638,24 +638,24 @@ function xa() {
638
638
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
639
639
  if (!(vt && vt === l)) {
640
640
  if ((!l || typeof l != "object") && (l = {}), l = Ye(l), Ot = // eslint-disable-next-line unicorn/prefer-includes
641
- ko.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ro : l.PARSER_MEDIA_TYPE, ye = Ot === "application/xhtml+xml" ? Pn : nn, $ = De(l, "ALLOWED_TAGS") ? x({}, l.ALLOWED_TAGS, ye) : ne, re = De(l, "ALLOWED_ATTR") ? x({}, l.ALLOWED_ATTR, ye) : si, Fn = De(l, "ALLOWED_NAMESPACES") ? x({}, l.ALLOWED_NAMESPACES, Pn) : Oo, Cn = De(l, "ADD_URI_SAFE_ATTR") ? x(Ye(gi), l.ADD_URI_SAFE_ATTR, ye) : gi, hi = De(l, "ADD_DATA_URI_TAGS") ? x(Ye(pi), l.ADD_DATA_URI_TAGS, ye) : pi, gt = De(l, "FORBID_CONTENTS") ? x({}, l.FORBID_CONTENTS, ye) : fi, It = De(l, "FORBID_TAGS") ? x({}, l.FORBID_TAGS, ye) : Ye({}), wn = De(l, "FORBID_ATTR") ? x({}, l.FORBID_ATTR, ye) : Ye({}), pt = De(l, "USE_PROFILES") ? l.USE_PROFILES : !1, li = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, di = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ui = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ft = l.SAFE_FOR_TEMPLATES || !1, Yt = l.SAFE_FOR_XML !== !1, ot = l.WHOLE_DOCUMENT || !1, ht = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, Wt = l.RETURN_TRUSTED_TYPE || !1, An = l.FORCE_BODY || !1, ci = l.SANITIZE_DOM !== !1, mi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || Ba, yt = l.NAMESPACE || ze, Jt = l.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = l.HTML_INTEGRATION_POINTS || Qt, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ft && (En = !1), Gt && (ht = !0), pt && ($ = x({}, Bi), re = [], pt.html === !0 && (x($, Ki), x(re, zi)), pt.svg === !0 && (x($, Dn), x(re, jn), x(re, tn)), pt.svgFilters === !0 && (x($, $n), x(re, jn), x(re, tn)), pt.mathMl === !0 && (x($, Vn), x(re, xi), x(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), x($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === si && (re = Ye(re)), x(re, l.ADD_ATTR, ye)), l.ADD_URI_SAFE_ATTR && x(Cn, l.ADD_URI_SAFE_ATTR, ye), l.FORBID_CONTENTS && (gt === fi && (gt = Ye(gt)), x(gt, l.FORBID_CONTENTS, ye)), In && ($["#text"] = !0), ot && x($, ["html", "head", "body"]), $.table && (x($, ["tbody"]), delete It.tbody), l.TRUSTED_TYPES_POLICY) {
641
+ ko.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ro : l.PARSER_MEDIA_TYPE, ye = Ot === "application/xhtml+xml" ? Pn : nn, $ = De(l, "ALLOWED_TAGS") ? z({}, l.ALLOWED_TAGS, ye) : ne, re = De(l, "ALLOWED_ATTR") ? z({}, l.ALLOWED_ATTR, ye) : si, Fn = De(l, "ALLOWED_NAMESPACES") ? z({}, l.ALLOWED_NAMESPACES, Pn) : Oo, Cn = De(l, "ADD_URI_SAFE_ATTR") ? z(Ye(gi), l.ADD_URI_SAFE_ATTR, ye) : gi, hi = De(l, "ADD_DATA_URI_TAGS") ? z(Ye(pi), l.ADD_DATA_URI_TAGS, ye) : pi, gt = De(l, "FORBID_CONTENTS") ? z({}, l.FORBID_CONTENTS, ye) : fi, It = De(l, "FORBID_TAGS") ? z({}, l.FORBID_TAGS, ye) : Ye({}), wn = De(l, "FORBID_ATTR") ? z({}, l.FORBID_ATTR, ye) : Ye({}), pt = De(l, "USE_PROFILES") ? l.USE_PROFILES : !1, li = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, di = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ui = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ft = l.SAFE_FOR_TEMPLATES || !1, Yt = l.SAFE_FOR_XML !== !1, ot = l.WHOLE_DOCUMENT || !1, ht = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, Wt = l.RETURN_TRUSTED_TYPE || !1, An = l.FORCE_BODY || !1, ci = l.SANITIZE_DOM !== !1, mi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || Ka, yt = l.NAMESPACE || Be, Jt = l.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = l.HTML_INTEGRATION_POINTS || Qt, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ft && (En = !1), Gt && (ht = !0), pt && ($ = z({}, Ki), re = [], pt.html === !0 && (z($, qi), z(re, Bi)), pt.svg === !0 && (z($, Dn), z(re, jn), z(re, tn)), pt.svgFilters === !0 && (z($, $n), z(re, jn), z(re, tn)), pt.mathMl === !0 && (z($, Vn), z(re, zi), z(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), z($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === si && (re = Ye(re)), z(re, l.ADD_ATTR, ye)), l.ADD_URI_SAFE_ATTR && z(Cn, l.ADD_URI_SAFE_ATTR, ye), l.FORBID_CONTENTS && (gt === fi && (gt = Ye(gt)), z(gt, l.FORBID_CONTENTS, ye)), In && ($["#text"] = !0), ot && z($, ["html", "head", "body"]), $.table && (z($, ["tbody"]), delete It.tbody), l.TRUSTED_TYPES_POLICY) {
642
642
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
643
643
  throw Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
644
644
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
645
645
  throw Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
646
- F = l.TRUSTED_TYPES_POLICY, y = F.createHTML("");
646
+ O = l.TRUSTED_TYPES_POLICY, v = O.createHTML("");
647
647
  } else
648
- F === void 0 && (F = Il(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
648
+ O === void 0 && (O = Il(F, a)), O !== null && typeof v == "string" && (v = O.createHTML(""));
649
649
  Me && Me(l), vt = l;
650
650
  }
651
- }, vi = x({}, [...Dn, ...$n, ...gl]), bi = x({}, [...Vn, ...yl]), Lo = function(l) {
651
+ }, vi = z({}, [...Dn, ...$n, ...gl]), bi = z({}, [...Vn, ...yl]), Lo = function(l) {
652
652
  let S = T(l);
653
653
  (!S || !S.tagName) && (S = {
654
654
  namespaceURI: yt,
655
655
  tagName: "template"
656
656
  });
657
657
  const R = nn(l.tagName), te = nn(S.tagName);
658
- return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === ze ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === ze ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === ze ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (Fo[R] || !vi[R]) : !!(Ot === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
658
+ return Fn[l.namespaceURI] ? l.namespaceURI === Xt ? S.namespaceURI === Be ? R === "svg" : S.namespaceURI === Zt ? R === "svg" && (te === "annotation-xml" || Jt[te]) : !!vi[R] : l.namespaceURI === Zt ? S.namespaceURI === Be ? R === "math" : S.namespaceURI === Xt ? R === "math" && Qt[te] : !!bi[R] : l.namespaceURI === Be ? S.namespaceURI === Xt && !Qt[te] || S.namespaceURI === Zt && !Jt[te] ? !1 : !bi[R] && (Fo[R] || !vi[R]) : !!(Ot === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
659
659
  }, Ve = function(l) {
660
660
  Rt(t.removed, {
661
661
  element: l
@@ -663,7 +663,7 @@ function xa() {
663
663
  try {
664
664
  T(l).removeChild(l);
665
665
  } catch {
666
- A(l);
666
+ M(l);
667
667
  }
668
668
  }, bt = function(l, S) {
669
669
  try {
@@ -693,25 +693,25 @@ function xa() {
693
693
  if (An)
694
694
  l = "<remove></remove>" + l;
695
695
  else {
696
- const pe = qi(l, /^[\r\n\t ]+/);
696
+ const pe = xi(l, /^[\r\n\t ]+/);
697
697
  R = pe && pe[0];
698
698
  }
699
- Ot === "application/xhtml+xml" && yt === ze && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
700
- const te = F ? F.createHTML(l) : l;
701
- if (yt === ze)
699
+ Ot === "application/xhtml+xml" && yt === Be && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
700
+ const te = O ? O.createHTML(l) : l;
701
+ if (yt === Be)
702
702
  try {
703
703
  S = new b().parseFromString(te, Ot);
704
704
  } catch {
705
705
  }
706
706
  if (!S || !S.documentElement) {
707
- S = v.createDocument(yt, "template", null);
707
+ S = y.createDocument(yt, "template", null);
708
708
  try {
709
- S.documentElement.innerHTML = On ? y : te;
709
+ S.documentElement.innerHTML = On ? v : te;
710
710
  } catch {
711
711
  }
712
712
  }
713
713
  const be = S.body || S.documentElement;
714
- return l && R && be.insertBefore(n.createTextNode(R), be.childNodes[0] || null), yt === ze ? Z.call(S, ot ? "html" : "body")[0] : ot ? S.documentElement : be;
714
+ return l && R && be.insertBefore(n.createTextNode(R), be.childNodes[0] || null), yt === Be ? Z.call(S, ot ? "html" : "body")[0] : ot ? S.documentElement : be;
715
715
  }, Ti = function(l) {
716
716
  return g.call(
717
717
  l.ownerDocument || l,
@@ -725,17 +725,17 @@ function xa() {
725
725
  }, Si = function(l) {
726
726
  return typeof r == "function" && l instanceof r;
727
727
  };
728
- function xe(P, l, S) {
728
+ function ze(P, l, S) {
729
729
  en(P, (R) => {
730
730
  R.call(t, l, S, vt);
731
731
  });
732
732
  }
733
733
  const wi = function(l) {
734
734
  let S = null;
735
- if (xe(w.beforeSanitizeElements, l, null), Rn(l))
735
+ if (ze(w.beforeSanitizeElements, l, null), Rn(l))
736
736
  return Ve(l), !0;
737
737
  const R = ye(l.nodeName);
738
- if (xe(w.uponSanitizeElement, l, {
738
+ if (ze(w.uponSanitizeElement, l, {
739
739
  tagName: R,
740
740
  allowedTags: $
741
741
  }), Yt && l.hasChildNodes() && !Si(l.firstElementChild) && Te(/<[/\w!]/g, l.innerHTML) && Te(/<[/\w!]/g, l.textContent) || l.nodeType === Pt.progressingInstruction || Yt && l.nodeType === Pt.comment && Te(/<[/\w]/g, l.data))
@@ -749,22 +749,22 @@ function xa() {
749
749
  const pe = be.length;
750
750
  for (let Ie = pe - 1; Ie >= 0; --Ie) {
751
751
  const He = h(be[Ie], !0);
752
- He.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(He, C(l));
752
+ He.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(He, I(l));
753
753
  }
754
754
  }
755
755
  }
756
756
  return Ve(l), !0;
757
757
  }
758
- return l instanceof d && !Lo(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, K, H], (te) => {
758
+ return l instanceof d && !Lo(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, q, H], (te) => {
759
759
  S = Ut(S, te, " ");
760
760
  }), l.textContent !== S && (Rt(t.removed, {
761
761
  element: l.cloneNode()
762
- }), l.textContent = S)), xe(w.afterSanitizeElements, l, null), !1);
762
+ }), l.textContent = S)), ze(w.afterSanitizeElements, l, null), !1);
763
763
  }, Ei = function(l, S, R) {
764
764
  if (ci && (S === "id" || S === "name") && (R in n || R in Uo))
765
765
  return !1;
766
766
  if (!(En && !wn[S] && Te(ge, S))) {
767
- if (!(li && Te(Ke, S))) {
767
+ if (!(li && Te(qe, S))) {
768
768
  if (!re[S] || wn[S]) {
769
769
  if (
770
770
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -775,9 +775,9 @@ function xa() {
775
775
  S === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, R) || se.tagNameCheck instanceof Function && se.tagNameCheck(R)))
776
776
  ) return !1;
777
777
  } else if (!Cn[S]) {
778
- if (!Te(Ht, Ut(R, Be, ""))) {
778
+ if (!Te(Ht, Ut(R, Ke, ""))) {
779
779
  if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && ml(R, "data:") === 0 && hi[l])) {
780
- if (!(di && !Te(fe, Ut(R, Be, "")))) {
780
+ if (!(di && !Te(fe, Ut(R, Ke, "")))) {
781
781
  if (R)
782
782
  return !1;
783
783
  }
@@ -788,9 +788,9 @@ function xa() {
788
788
  }
789
789
  return !0;
790
790
  }, Mi = function(l) {
791
- return l !== "annotation-xml" && qi(l, Sn);
791
+ return l !== "annotation-xml" && xi(l, Sn);
792
792
  }, Ai = function(l) {
793
- xe(w.beforeSanitizeAttributes, l, null);
793
+ ze(w.beforeSanitizeAttributes, l, null);
794
794
  const {
795
795
  attributes: S
796
796
  } = l;
@@ -811,7 +811,7 @@ function xa() {
811
811
  value: He
812
812
  } = be, Ft = ye(pe), Un = He;
813
813
  let _e = pe === "value" ? Un : fl(Un);
814
- if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
814
+ if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, ze(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
815
815
  bt(pe, l);
816
816
  continue;
817
817
  }
@@ -825,7 +825,7 @@ function xa() {
825
825
  bt(pe, l);
826
826
  continue;
827
827
  }
828
- ft && en([j, K, H], (Ci) => {
828
+ ft && en([j, q, H], (Ci) => {
829
829
  _e = Ut(_e, Ci, " ");
830
830
  });
831
831
  const Ii = ye(l.nodeName);
@@ -833,14 +833,14 @@ function xa() {
833
833
  bt(pe, l);
834
834
  continue;
835
835
  }
836
- if (F && typeof k == "object" && typeof k.getAttributeType == "function" && !Ie)
837
- switch (k.getAttributeType(Ii, Ft)) {
836
+ if (O && typeof F == "object" && typeof F.getAttributeType == "function" && !Ie)
837
+ switch (F.getAttributeType(Ii, Ft)) {
838
838
  case "TrustedHTML": {
839
- _e = F.createHTML(_e);
839
+ _e = O.createHTML(_e);
840
840
  break;
841
841
  }
842
842
  case "TrustedScriptURL": {
843
- _e = F.createScriptURL(_e);
843
+ _e = O.createScriptURL(_e);
844
844
  break;
845
845
  }
846
846
  }
@@ -851,13 +851,13 @@ function xa() {
851
851
  bt(pe, l);
852
852
  }
853
853
  }
854
- xe(w.afterSanitizeAttributes, l, null);
854
+ ze(w.afterSanitizeAttributes, l, null);
855
855
  }, No = function P(l) {
856
856
  let S = null;
857
857
  const R = Ti(l);
858
- for (xe(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
859
- xe(w.uponSanitizeShadowNode, S, null), wi(S), Ai(S), S.content instanceof o && P(S.content);
860
- xe(w.afterSanitizeShadowDOM, l, null);
858
+ for (ze(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
859
+ ze(w.uponSanitizeShadowNode, S, null), wi(S), Ai(S), S.content instanceof o && P(S.content);
860
+ ze(w.afterSanitizeShadowDOM, l, null);
861
861
  };
862
862
  return t.sanitize = function(P) {
863
863
  let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, R = null, te = null, be = null;
@@ -880,9 +880,9 @@ function xa() {
880
880
  else {
881
881
  if (!ht && !ft && !ot && // eslint-disable-next-line unicorn/prefer-includes
882
882
  P.indexOf("<") === -1)
883
- return F && Wt ? F.createHTML(P) : P;
883
+ return O && Wt ? O.createHTML(P) : P;
884
884
  if (S = _i(P), !S)
885
- return ht ? null : Wt ? y : "";
885
+ return ht ? null : Wt ? v : "";
886
886
  }
887
887
  S && An && Ve(S.firstChild);
888
888
  const pe = Ti(Ct ? P : S);
@@ -896,13 +896,13 @@ function xa() {
896
896
  be.appendChild(S.firstChild);
897
897
  else
898
898
  be = S;
899
- return (re.shadowroot || re.shadowrootmode) && (be = E.call(i, be, !0)), be;
899
+ return (re.shadowroot || re.shadowrootmode) && (be = k.call(i, be, !0)), be;
900
900
  }
901
901
  let Ie = ot ? S.outerHTML : S.innerHTML;
902
- return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(za, S.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
903
- ` + Ie), ft && en([j, K, H], (He) => {
902
+ return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(Ba, S.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
903
+ ` + Ie), ft && en([j, q, H], (He) => {
904
904
  Ie = Ut(Ie, He, " ");
905
- }), F && Wt ? F.createHTML(Ie) : Ie;
905
+ }), O && Wt ? O.createHTML(Ie) : Ie;
906
906
  }, t.setConfig = function() {
907
907
  let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
908
908
  kn(P), Mn = !0;
@@ -926,7 +926,7 @@ function xa() {
926
926
  w = Yi();
927
927
  }, t;
928
928
  }
929
- var Cl = xa();
929
+ var Cl = za();
930
930
  function Ol() {
931
931
  this.__data__ = new Ze(), this.size = 0;
932
932
  }
@@ -945,7 +945,7 @@ function Ll(e, t) {
945
945
  var n = this.__data__;
946
946
  if (n instanceof Ze) {
947
947
  var i = n.__data__;
948
- if (!Bt || i.length < Ul - 1)
948
+ if (!Kt || i.length < Ul - 1)
949
949
  return i.push([e, t]), this.size = ++n.size, this;
950
950
  n = this.__data__ = new Xe(i);
951
951
  }
@@ -1000,7 +1000,7 @@ function $l(e) {
1000
1000
  return t;
1001
1001
  }
1002
1002
  var Vl = Object.prototype, jl = Vl.hasOwnProperty;
1003
- function ql(e) {
1003
+ function xl(e) {
1004
1004
  if (!Fe(e))
1005
1005
  return $l(e);
1006
1006
  var t = ti(e), n = [];
@@ -1009,19 +1009,19 @@ function ql(e) {
1009
1009
  return n;
1010
1010
  }
1011
1011
  function Tn(e) {
1012
- return hn(e) ? Da(e, !0) : ql(e);
1012
+ return hn(e) ? Da(e, !0) : xl(e);
1013
1013
  }
1014
- function Kl(e, t) {
1014
+ function ql(e, t) {
1015
1015
  return e && _n(t, Tn(t), e);
1016
1016
  }
1017
- var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, Bl = Gi && Gi.exports === Ga, Wi = Bl ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
1018
- function zl(e, t) {
1017
+ var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, Kl = Gi && Gi.exports === Ga, Wi = Kl ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
1018
+ function Bl(e, t) {
1019
1019
  if (t)
1020
1020
  return e.slice();
1021
1021
  var n = e.length, i = Zi ? Zi(n) : new e.constructor(n);
1022
1022
  return e.copy(i), i;
1023
1023
  }
1024
- function xl(e, t) {
1024
+ function zl(e, t) {
1025
1025
  var n = -1, i = e.length;
1026
1026
  for (t || (t = Array(i)); ++n < i; )
1027
1027
  t[n] = e[n];
@@ -1068,8 +1068,8 @@ function Jl(e) {
1068
1068
  function Ql(e) {
1069
1069
  return Qa(e, Tn, Ja);
1070
1070
  }
1071
- var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]", ed = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", td = ct(Hn), nd = ct(Bt), id = ct(Yn), ad = ct(Tt), od = ct(Gn), Ge = nt;
1072
- (Hn && Ge(new Hn(new ArrayBuffer(1))) != na || Bt && Ge(new Bt()) != Ji || Yn && Ge(Yn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Gn && Ge(new Gn()) != ta) && (Ge = function(e) {
1071
+ var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]", ed = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", td = ct(Hn), nd = ct(Kt), id = ct(Yn), ad = ct(Tt), od = ct(Gn), Ge = nt;
1072
+ (Hn && Ge(new Hn(new ArrayBuffer(1))) != na || Kt && Ge(new Kt()) != Ji || Yn && Ge(Yn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Gn && Ge(new Gn()) != ta) && (Ge = function(e) {
1073
1073
  var t = nt(e), n = t == ed ? e.constructor : void 0, i = n ? ct(n) : "";
1074
1074
  if (i)
1075
1075
  switch (i) {
@@ -1171,11 +1171,11 @@ var sa = St && St.isMap, $d = sa ? ei(sa) : Dd, Vd = "[object Set]";
1171
1171
  function jd(e) {
1172
1172
  return it(e) && Ge(e) == Vd;
1173
1173
  }
1174
- var la = St && St.isSet, qd = la ? ei(la) : jd, Kd = 1, Bd = 2, zd = 4, eo = "[object Arguments]", xd = "[object Array]", Hd = "[object Boolean]", Yd = "[object Date]", Gd = "[object Error]", to = "[object Function]", Wd = "[object GeneratorFunction]", Zd = "[object Map]", Xd = "[object Number]", no = "[object Object]", Jd = "[object RegExp]", Qd = "[object Set]", eu = "[object String]", tu = "[object Symbol]", nu = "[object WeakMap]", iu = "[object ArrayBuffer]", au = "[object DataView]", ou = "[object Float32Array]", ru = "[object Float64Array]", su = "[object Int8Array]", lu = "[object Int16Array]", du = "[object Int32Array]", uu = "[object Uint8Array]", cu = "[object Uint8ClampedArray]", mu = "[object Uint16Array]", fu = "[object Uint32Array]", J = {};
1175
- J[eo] = J[xd] = J[iu] = J[au] = J[Hd] = J[Yd] = J[ou] = J[ru] = J[su] = J[lu] = J[du] = J[Zd] = J[Xd] = J[no] = J[Jd] = J[Qd] = J[eu] = J[tu] = J[uu] = J[cu] = J[mu] = J[fu] = !0;
1174
+ var la = St && St.isSet, xd = la ? ei(la) : jd, qd = 1, Kd = 2, Bd = 4, eo = "[object Arguments]", zd = "[object Array]", Hd = "[object Boolean]", Yd = "[object Date]", Gd = "[object Error]", to = "[object Function]", Wd = "[object GeneratorFunction]", Zd = "[object Map]", Xd = "[object Number]", no = "[object Object]", Jd = "[object RegExp]", Qd = "[object Set]", eu = "[object String]", tu = "[object Symbol]", nu = "[object WeakMap]", iu = "[object ArrayBuffer]", au = "[object DataView]", ou = "[object Float32Array]", ru = "[object Float64Array]", su = "[object Int8Array]", lu = "[object Int16Array]", du = "[object Int32Array]", uu = "[object Uint8Array]", cu = "[object Uint8ClampedArray]", mu = "[object Uint16Array]", fu = "[object Uint32Array]", J = {};
1175
+ J[eo] = J[zd] = J[iu] = J[au] = J[Hd] = J[Yd] = J[ou] = J[ru] = J[su] = J[lu] = J[du] = J[Zd] = J[Xd] = J[no] = J[Jd] = J[Qd] = J[eu] = J[tu] = J[uu] = J[cu] = J[mu] = J[fu] = !0;
1176
1176
  J[Gd] = J[to] = J[nu] = !1;
1177
1177
  function jt(e, t, n, i, a, o) {
1178
- var s, r = t & Kd, d = t & Bd, u = t & zd;
1178
+ var s, r = t & qd, d = t & Kd, u = t & Bd;
1179
1179
  if (s !== void 0)
1180
1180
  return s;
1181
1181
  if (!Fe(e))
@@ -1183,14 +1183,14 @@ function jt(e, t, n, i, a, o) {
1183
1183
  var p = at(e);
1184
1184
  if (p) {
1185
1185
  if (s = ld(e), !r)
1186
- return xl(e, s);
1186
+ return zl(e, s);
1187
1187
  } else {
1188
1188
  var f = Ge(e), b = f == to || f == Wd;
1189
1189
  if (Ua(e))
1190
- return zl(e, r);
1190
+ return Bl(e, r);
1191
1191
  if (f == no || f == eo || b && !a) {
1192
1192
  if (s = d || b ? {} : Nd(e), !r)
1193
- return d ? Xl(e, Kl(s, e)) : Wl(e, Dl(s, e));
1193
+ return d ? Xl(e, ql(s, e)) : Wl(e, Dl(s, e));
1194
1194
  } else {
1195
1195
  if (!J[f])
1196
1196
  return a ? e : {};
@@ -1198,17 +1198,17 @@ function jt(e, t, n, i, a, o) {
1198
1198
  }
1199
1199
  }
1200
1200
  o || (o = new At());
1201
- var k = o.get(e);
1202
- if (k)
1203
- return k;
1204
- o.set(e, s), qd(e) ? e.forEach(function(A) {
1205
- s.add(jt(A, t, n, A, e, o));
1206
- }) : $d(e) && e.forEach(function(A, C) {
1207
- s.set(C, jt(A, t, n, C, e, o));
1201
+ var F = o.get(e);
1202
+ if (F)
1203
+ return F;
1204
+ o.set(e, s), xd(e) ? e.forEach(function(M) {
1205
+ s.add(jt(M, t, n, M, e, o));
1206
+ }) : $d(e) && e.forEach(function(M, I) {
1207
+ s.set(I, jt(M, t, n, I, e, o));
1208
1208
  });
1209
- var q = u ? d ? Ql : Jl : d ? Tn : pn, h = p ? void 0 : q(e);
1210
- return Ca(h || e, function(A, C) {
1211
- h && (C = A, A = e[C]), Ya(s, C, jt(A, t, n, C, e, o));
1209
+ var x = u ? d ? Ql : Jl : d ? Tn : pn, h = p ? void 0 : x(e);
1210
+ return Ca(h || e, function(M, I) {
1211
+ h && (I = M, M = e[I]), Ya(s, I, jt(M, t, n, I, e, o));
1212
1212
  }), s;
1213
1213
  }
1214
1214
  var hu = 1, pu = 4;
@@ -1255,7 +1255,7 @@ const io = {
1255
1255
  }
1256
1256
  }
1257
1257
  };
1258
- var qn = function() {
1258
+ var xn = function() {
1259
1259
  return Pe.Date.now();
1260
1260
  }, yu = /\s/;
1261
1261
  function vu(e) {
@@ -1289,47 +1289,47 @@ function wt(e, t, n) {
1289
1289
  if (typeof e != "function")
1290
1290
  throw new TypeError(Mu);
1291
1291
  t = Wn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ? Au(Wn(n.maxWait) || 0, t) : o, b = "trailing" in n ? !!n.trailing : b);
1292
- function k(v) {
1292
+ function F(y) {
1293
1293
  var g = i, V = a;
1294
- return i = a = void 0, u = v, s = e.apply(V, g), s;
1294
+ return i = a = void 0, u = y, s = e.apply(V, g), s;
1295
1295
  }
1296
- function q(v) {
1297
- return u = v, r = setTimeout(C, t), p ? k(v) : s;
1296
+ function x(y) {
1297
+ return u = y, r = setTimeout(I, t), p ? F(y) : s;
1298
1298
  }
1299
- function h(v) {
1300
- var g = v - d, V = v - u, Z = t - g;
1299
+ function h(y) {
1300
+ var g = y - d, V = y - u, Z = t - g;
1301
1301
  return f ? Iu(Z, o - V) : Z;
1302
1302
  }
1303
- function A(v) {
1304
- var g = v - d, V = v - u;
1303
+ function M(y) {
1304
+ var g = y - d, V = y - u;
1305
1305
  return d === void 0 || g >= t || g < 0 || f && V >= o;
1306
1306
  }
1307
- function C() {
1308
- var v = qn();
1309
- if (A(v))
1310
- return N(v);
1311
- r = setTimeout(C, h(v));
1307
+ function I() {
1308
+ var y = xn();
1309
+ if (M(y))
1310
+ return N(y);
1311
+ r = setTimeout(I, h(y));
1312
1312
  }
1313
- function N(v) {
1314
- return r = void 0, b && i ? k(v) : (i = a = void 0, s);
1313
+ function N(y) {
1314
+ return r = void 0, b && i ? F(y) : (i = a = void 0, s);
1315
1315
  }
1316
1316
  function T() {
1317
1317
  r !== void 0 && clearTimeout(r), u = 0, i = d = a = r = void 0;
1318
1318
  }
1319
- function F() {
1320
- return r === void 0 ? s : N(qn());
1319
+ function O() {
1320
+ return r === void 0 ? s : N(xn());
1321
1321
  }
1322
- function y() {
1323
- var v = qn(), g = A(v);
1324
- if (i = arguments, a = this, d = v, g) {
1322
+ function v() {
1323
+ var y = xn(), g = M(y);
1324
+ if (i = arguments, a = this, d = y, g) {
1325
1325
  if (r === void 0)
1326
- return q(d);
1326
+ return x(d);
1327
1327
  if (f)
1328
- return clearTimeout(r), r = setTimeout(C, t), k(d);
1328
+ return clearTimeout(r), r = setTimeout(I, t), F(d);
1329
1329
  }
1330
- return r === void 0 && (r = setTimeout(C, t)), s;
1330
+ return r === void 0 && (r = setTimeout(I, t)), s;
1331
1331
  }
1332
- return y.cancel = T, y.flush = F, y;
1332
+ return v.cancel = T, v.flush = O, v;
1333
1333
  }
1334
1334
  var Cu = "__lodash_hash_undefined__";
1335
1335
  function Ou(e) {
@@ -1381,7 +1381,7 @@ function ao(e) {
1381
1381
  var $u = 1 / 0, Vu = Tt && 1 / ao(new Tt([, -0]))[1] == $u ? function(e) {
1382
1382
  return new Tt(e);
1383
1383
  } : Du, ju = 200;
1384
- function qu(e, t, n) {
1384
+ function xu(e, t, n) {
1385
1385
  var i = -1, a = Nu, o = e.length, s = !0, r = [], d = r;
1386
1386
  if (o >= ju) {
1387
1387
  var u = Vu(e);
@@ -1403,14 +1403,14 @@ function qu(e, t, n) {
1403
1403
  return r;
1404
1404
  }
1405
1405
  function oo(e) {
1406
- return e && e.length ? qu(e) : [];
1406
+ return e && e.length ? xu(e) : [];
1407
1407
  }
1408
- var Ku = 0;
1408
+ var qu = 0;
1409
1409
  function ro(e) {
1410
- var t = ++Ku;
1410
+ var t = ++qu;
1411
1411
  return ja(e) + t;
1412
1412
  }
1413
- var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", Bu = "\\d{3}", zu = "\\d{4}", qt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
1413
+ var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", Ku = "\\d{3}", Bu = "\\d{4}", xt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
1414
1414
  function uo(e, t) {
1415
1415
  for (var n = [], i = 0, a = e.length; i < a; i++)
1416
1416
  n.push(e[i].substr(0, t));
@@ -1455,10 +1455,10 @@ var co = [
1455
1455
  "October",
1456
1456
  "November",
1457
1457
  "December"
1458
- ], xu = uo(mo, 3), Hu = uo(co, 3), fo = {
1458
+ ], zu = uo(mo, 3), Hu = uo(co, 3), fo = {
1459
1459
  dayNamesShort: Hu,
1460
1460
  dayNames: co,
1461
- monthNamesShort: xu,
1461
+ monthNamesShort: zu,
1462
1462
  monthNames: mo,
1463
1463
  amPm: ["am", "pm"],
1464
1464
  DoFn: function(e) {
@@ -1561,9 +1561,9 @@ var co = [
1561
1561
  }
1562
1562
  }, fa = function(e) {
1563
1563
  return +e - 1;
1564
- }, ha = [null, Qe], pa = [null, qt], ga = [
1564
+ }, ha = [null, Qe], pa = [null, xt], ga = [
1565
1565
  "isPm",
1566
- qt,
1566
+ xt,
1567
1567
  function(e, t) {
1568
1568
  var n = e.toLowerCase();
1569
1569
  return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
@@ -1582,7 +1582,7 @@ var co = [
1582
1582
  ], Wu = {
1583
1583
  D: ["day", Qe],
1584
1584
  DD: ["day", Je],
1585
- Do: ["day", Qe + qt, function(e) {
1585
+ Do: ["day", Qe + xt, function(e) {
1586
1586
  return parseInt(e, 10);
1587
1587
  }],
1588
1588
  M: ["month", Qe, fa],
@@ -1603,20 +1603,20 @@ var co = [
1603
1603
  mm: ["minute", Je],
1604
1604
  s: ["second", Qe],
1605
1605
  ss: ["second", Je],
1606
- YYYY: ["year", zu],
1606
+ YYYY: ["year", Bu],
1607
1607
  S: ["millisecond", "\\d", function(e) {
1608
1608
  return +e * 100;
1609
1609
  }],
1610
1610
  SS: ["millisecond", Je, function(e) {
1611
1611
  return +e * 10;
1612
1612
  }],
1613
- SSS: ["millisecond", Bu],
1613
+ SSS: ["millisecond", Ku],
1614
1614
  d: ha,
1615
1615
  dd: ha,
1616
1616
  ddd: pa,
1617
1617
  dddd: pa,
1618
- MMM: ["month", qt, ca("monthNamesShort")],
1619
- MMMM: ["month", qt, ca("monthNames")],
1618
+ MMM: ["month", xt, ca("monthNamesShort")],
1619
+ MMMM: ["month", xt, ca("monthNames")],
1620
1620
  a: ga,
1621
1621
  A: ga,
1622
1622
  ZZ: ya,
@@ -1664,17 +1664,17 @@ function Ju(e, t, n) {
1664
1664
  millisecond: 0,
1665
1665
  isPm: null,
1666
1666
  timezoneOffset: null
1667
- }, o = [], s = [], r = t.replace(lo, function(F, y) {
1668
- return s.push(ma(y)), "@@@";
1667
+ }, o = [], s = [], r = t.replace(lo, function(O, v) {
1668
+ return s.push(ma(v)), "@@@";
1669
1669
  }), d = {}, u = {};
1670
- r = ma(r).replace(so, function(F) {
1671
- var y = Wu[F], v = y[0], g = y[1], V = y[3];
1672
- if (d[v])
1673
- throw new Error("Invalid format. " + v + " specified twice in format");
1674
- return d[v] = !0, V && (u[V] = !0), o.push(y), "(" + g + ")";
1675
- }), Object.keys(u).forEach(function(F) {
1676
- if (!d[F])
1677
- throw new Error("Invalid format. " + F + " is required in specified format");
1670
+ r = ma(r).replace(so, function(O) {
1671
+ var v = Wu[O], y = v[0], g = v[1], V = v[3];
1672
+ if (d[y])
1673
+ throw new Error("Invalid format. " + y + " specified twice in format");
1674
+ return d[y] = !0, V && (u[V] = !0), o.push(v), "(" + g + ")";
1675
+ }), Object.keys(u).forEach(function(O) {
1676
+ if (!d[O])
1677
+ throw new Error("Invalid format. " + O + " is required in specified format");
1678
1678
  }), r = r.replace(/@@@/g, function() {
1679
1679
  return s.shift();
1680
1680
  });
@@ -1682,15 +1682,15 @@ function Ju(e, t, n) {
1682
1682
  if (!p)
1683
1683
  return null;
1684
1684
  for (var f = lt(lt({}, sn), n), b = 1; b < p.length; b++) {
1685
- var k = o[b - 1], q = k[0], h = k[2], A = h ? h(p[b], f) : +p[b];
1686
- if (A == null)
1685
+ var F = o[b - 1], x = F[0], h = F[2], M = h ? h(p[b], f) : +p[b];
1686
+ if (M == null)
1687
1687
  return null;
1688
- a[q] = A;
1688
+ a[x] = M;
1689
1689
  }
1690
1690
  a.isPm === 1 && a.hour != null && +a.hour != 12 ? a.hour = +a.hour + 12 : a.isPm === 0 && +a.hour == 12 && (a.hour = 0);
1691
- var C;
1691
+ var I;
1692
1692
  if (a.timezoneOffset == null) {
1693
- C = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1693
+ I = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
1694
1694
  for (var N = [
1695
1695
  ["month", "getMonth"],
1696
1696
  ["day", "getDate"],
@@ -1698,11 +1698,11 @@ function Ju(e, t, n) {
1698
1698
  ["minute", "getMinutes"],
1699
1699
  ["second", "getSeconds"]
1700
1700
  ], b = 0, T = N.length; b < T; b++)
1701
- if (d[N[b][0]] && a[N[b][0]] !== C[N[b][1]]())
1701
+ if (d[N[b][0]] && a[N[b][0]] !== I[N[b][1]]())
1702
1702
  return null;
1703
- } else if (C = 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)
1703
+ } else if (I = 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)
1704
1704
  return null;
1705
- return C;
1705
+ return I;
1706
1706
  }
1707
1707
  var _t = {
1708
1708
  format: Xu,
@@ -2107,7 +2107,7 @@ Object.keys(dt).forEach((e) => {
2107
2107
  function _a(e) {
2108
2108
  return st(e) ? dt[e] != null ? dt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
2109
2109
  }
2110
- function Kn(e, t, n) {
2110
+ function qn(e, t, n) {
2111
2111
  let i = G(n.context, "schema.attributes", {});
2112
2112
  const a = t.value || "input";
2113
2113
  st(a) && (i = G(i, a) || i), we(i, (o, s) => {
@@ -2127,9 +2127,9 @@ const $e = {
2127
2127
  },
2128
2128
  directives: {
2129
2129
  attributes: {
2130
- beforeMount: Kn,
2131
- updated: Kn,
2132
- componentUpdated: Kn
2130
+ beforeMount: qn,
2131
+ updated: qn,
2132
+ componentUpdated: qn
2133
2133
  }
2134
2134
  },
2135
2135
  computed: {
@@ -2279,7 +2279,7 @@ const $e = {
2279
2279
  m("div", {
2280
2280
  class: ee(["advanced-field-dropdown", t.openClass])
2281
2281
  }, [
2282
- O(ue, {
2282
+ C(ue, {
2283
2283
  model: t.model,
2284
2284
  options: { helpAsHtml: !0 },
2285
2285
  schema: t.schema,
@@ -2306,22 +2306,22 @@ const $e = {
2306
2306
  },
2307
2307
  emits: ["remove-item"],
2308
2308
  setup(e) {
2309
- return zt("vfg-array-item-index", e.index), (n, i) => {
2309
+ return Bt("vfg-array-item-index", e.index), (n, i) => {
2310
2310
  const a = D("KCard"), o = D("KButton");
2311
2311
  return c(), _("div", Fc, [
2312
- O(a, { class: "card" }, {
2313
- default: M(() => [
2312
+ C(a, { class: "card" }, {
2313
+ default: E(() => [
2314
2314
  Oe(n.$slots, "default", {}, void 0, !0)
2315
2315
  ]),
2316
2316
  _: 3
2317
2317
  }),
2318
- O(o, {
2318
+ C(o, {
2319
2319
  appearance: "tertiary",
2320
2320
  class: "array-card-remove-button",
2321
2321
  onClick: i[0] || (i[0] = (s) => n.$emit("remove-item"))
2322
2322
  }, {
2323
- default: M(() => [
2324
- O(I(xt))
2323
+ default: E(() => [
2324
+ C(A(zt))
2325
2325
  ]),
2326
2326
  _: 1
2327
2327
  })
@@ -2343,13 +2343,13 @@ const $e = {
2343
2343
  return c(), _("div", Rc, [
2344
2344
  m("div", Uc, [
2345
2345
  Oe(t.$slots, "default", {}, void 0, !0),
2346
- O(i, {
2346
+ C(i, {
2347
2347
  appearance: "tertiary",
2348
2348
  class: "delete",
2349
2349
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
2350
2350
  }, {
2351
- default: M(() => [
2352
- O(I(xt))
2351
+ default: E(() => [
2352
+ C(A(zt))
2353
2353
  ]),
2354
2354
  _: 1
2355
2355
  })
@@ -2368,27 +2368,26 @@ const $e = {
2368
2368
  const i = D("KButton");
2369
2369
  return c(), _("div", Pc, [
2370
2370
  Oe(t.$slots, "default", {}, void 0, !0),
2371
- O(i, {
2371
+ C(i, {
2372
2372
  appearance: "danger",
2373
2373
  class: "delete",
2374
2374
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
2375
2375
  }, {
2376
- default: M(() => n[1] || (n[1] = [
2376
+ default: E(() => [...n[1] || (n[1] = [
2377
2377
  ce(" - Remove Field ", -1)
2378
- ])),
2379
- _: 1,
2380
- __: [1]
2378
+ ])]),
2379
+ _: 1
2381
2380
  }),
2382
2381
  n[2] || (n[2] = m("hr", null, null, -1))
2383
2382
  ]);
2384
2383
  };
2385
2384
  }
2386
2385
  }), yo = /* @__PURE__ */ W(Dc, [["__scopeId", "data-v-b4fcf731"]]), $c = "#6c7489", Vc = "12px", jc = "20px";
2387
- var qc = 4;
2386
+ var xc = 4;
2388
2387
  function Ta(e) {
2389
- return jt(e, qc);
2388
+ return jt(e, xc);
2390
2389
  }
2391
- const Kc = ["data-testid", "data-testlabel"], Bc = { class: "item-label" }, zc = { class: "autosuggest__results_message" }, xc = /* @__PURE__ */ he({
2390
+ const qc = ["data-testid", "data-testlabel"], Kc = { class: "item-label" }, Bc = { class: "autosuggest__results_message" }, zc = /* @__PURE__ */ he({
2392
2391
  __name: "AutoSuggest",
2393
2392
  props: /* @__PURE__ */ Oi({
2394
2393
  placeholder: { default: "" },
@@ -2407,45 +2406,45 @@ const Kc = ["data-testid", "data-testlabel"], Bc = { class: "item-label" }, zc =
2407
2406
  return (i, a) => {
2408
2407
  const o = D("KSelect");
2409
2408
  return c(), U(o, {
2410
- id: i.domId,
2409
+ id: e.domId,
2411
2410
  ref: "suggestion",
2412
2411
  modelValue: n.value,
2413
2412
  "onUpdate:modelValue": a[0] || (a[0] = (s) => n.value = s),
2414
2413
  clearable: "",
2415
- disabled: i.disabled,
2414
+ disabled: e.disabled,
2416
2415
  "enable-filtering": "",
2417
2416
  "filter-function": () => !0,
2418
- items: i.suggestions,
2419
- loading: i.loading,
2420
- placeholder: i.placeholder,
2417
+ items: e.suggestions,
2418
+ loading: e.loading,
2419
+ placeholder: e.placeholder,
2421
2420
  width: "100%",
2422
2421
  onChange: a[1] || (a[1] = (s) => i.$emit("change", s)),
2423
2422
  onQueryChange: a[2] || (a[2] = (s) => i.$emit("query-change", s))
2424
2423
  }, cn({
2425
- "item-template": M(({ item: s }) => [
2424
+ "item-template": E(({ item: s }) => [
2426
2425
  Oe(i.$slots, "item", { item: s }, () => [
2427
2426
  m("span", {
2428
2427
  class: "item-label",
2429
2428
  "data-testid": s.id && `${s.id}-0`,
2430
2429
  "data-testlabel": s.label
2431
- }, L(s.label), 9, Kc)
2430
+ }, L(s.label), 9, qc)
2432
2431
  ], !0)
2433
2432
  ]),
2434
- "selected-item-template": M(({ item: s }) => [
2433
+ "selected-item-template": E(({ item: s }) => [
2435
2434
  Oe(i.$slots, "selected-item", { item: s }, () => [
2436
- m("span", Bc, L(s.label), 1)
2435
+ m("span", Kc, L(s.label), 1)
2437
2436
  ], !0)
2438
2437
  ]),
2439
- empty: M(() => [
2440
- m("div", zc, [
2441
- m("span", null, L(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
2438
+ empty: E(() => [
2439
+ m("div", Bc, [
2440
+ m("span", null, L(e.emptyMessage || A(t)("fields.auto_suggest.no_results")), 1)
2442
2441
  ])
2443
2442
  ]),
2444
2443
  _: 2
2445
2444
  }, [
2446
2445
  i.$slots.before ? {
2447
2446
  name: "before",
2448
- fn: M(() => [
2447
+ fn: E(() => [
2449
2448
  Oe(i.$slots, "before", {}, void 0, !0)
2450
2449
  ]),
2451
2450
  key: "0"
@@ -2453,7 +2452,7 @@ const Kc = ["data-testid", "data-testlabel"], Bc = { class: "item-label" }, zc =
2453
2452
  ]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
2454
2453
  };
2455
2454
  }
2456
- }), Hc = /* @__PURE__ */ W(xc, [["__scopeId", "data-v-baeb3bb0"]]), Yc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${Yc}$`).test(e) : !1, Gc = (e) => ({
2455
+ }), Hc = /* @__PURE__ */ W(zc, [["__scopeId", "data-v-baeb3bb0"]]), Yc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${Yc}$`).test(e) : !1, Gc = (e) => ({
2457
2456
  ...e,
2458
2457
  label: e.name,
2459
2458
  value: e.id
@@ -2484,16 +2483,16 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2484
2483
  setup(e) {
2485
2484
  const t = ae(""), n = ae(!1), i = ae(!1), a = ae(""), o = ae([]), s = ae([]), r = ae([]), { t: d } = ke("en-us", Re), u = ae(null);
2486
2485
  let p = null;
2487
- const f = async (y, v) => {
2486
+ const f = async (v, y) => {
2488
2487
  if (!e.fieldDisabled) {
2489
2488
  clearTimeout(p), p = setTimeout(() => {
2490
2489
  n.value = !0;
2491
2490
  }, 1500);
2492
2491
  try {
2493
- const g = await y();
2492
+ const g = await v();
2494
2493
  s.value = g, o.value = s.value.map(e.transformItem);
2495
2494
  } catch (g) {
2496
- if (v != null && v.aborted)
2495
+ if (y != null && y.aborted)
2497
2496
  return;
2498
2497
  if (o.value = [], Yo(g) && g.status === 404) {
2499
2498
  console.warn("unable to search with UUID", a.value, "for entity type", e.entity);
@@ -2504,64 +2503,64 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2504
2503
  clearTimeout(p), n.value = !1;
2505
2504
  }
2506
2505
  }
2507
- }, b = wt((y) => {
2508
- if (y = y || "", a.value = y, !y.trim() && !i.value) {
2506
+ }, b = wt((v) => {
2507
+ if (v = v || "", a.value = v, !v.trim() && !i.value) {
2509
2508
  o.value = N(r.value);
2510
2509
  return;
2511
2510
  }
2512
2511
  u.value && u.value.abort();
2513
- const v = new AbortController();
2514
- if (u.value = v, i.value) {
2515
- F(y);
2512
+ const y = new AbortController();
2513
+ if (u.value = y, i.value) {
2514
+ O(v);
2516
2515
  return;
2517
2516
  }
2518
- A(y, v);
2519
- }, Wc, { leading: !0 }), k = async (y, v) => await e.getAll(y, v), q = async () => {
2520
- const { data: { data: y, next: v, offset: g } } = await e.getPartial(Zc);
2521
- return (!v || !g) && (i.value = !0), s.value = y, r.value = y.map((V) => ({
2517
+ M(v, y);
2518
+ }, Wc, { leading: !0 }), F = async (v, y) => await e.getAll(v, y), x = async () => {
2519
+ const { data: { data: v, next: y, offset: g } } = await e.getPartial(Zc);
2520
+ return (!y || !g) && (i.value = !0), s.value = v, r.value = v.map((V) => ({
2522
2521
  ...e.transformItem(V),
2523
2522
  group: d("fields.auto_suggest.recently_created", { entity: e.entity })
2524
- })), y;
2525
- }, h = async (y) => [await e.getOne(y)], A = (y, v) => {
2526
- Zn(y) && e.allowUuidSearch ? f(async () => await h(y)) : f(async () => await k(y, v.signal), v.signal);
2527
- }, C = (y) => {
2528
- let v = [];
2529
- v = N(r.value), y != null && y.trim() ? o.value = v.filter((g) => e.fields.some((V) => (g[V] || "").includes(y))) : o.value = v;
2530
- }, N = (y) => e.selectedItem ? y.some((v) => v.value === e.selectedItem.value) ? y : [e.selectedItem, ...y] : y, T = (y) => {
2531
- o.value = r.value.filter((v) => v.id === y);
2532
- }, F = (y) => {
2533
- Zn(y) && e.allowUuidSearch ? T(y) : C(y);
2523
+ })), v;
2524
+ }, h = async (v) => [await e.getOne(v)], M = (v, y) => {
2525
+ Zn(v) && e.allowUuidSearch ? f(async () => await h(v)) : f(async () => await F(v, y.signal), y.signal);
2526
+ }, I = (v) => {
2527
+ let y = [];
2528
+ y = N(r.value), v != null && v.trim() ? o.value = y.filter((g) => e.fields.some((V) => (g[V] || "").includes(v))) : o.value = y;
2529
+ }, N = (v) => e.selectedItem ? v.some((y) => y.value === e.selectedItem.value) ? v : [e.selectedItem, ...v] : v, T = (v) => {
2530
+ o.value = r.value.filter((y) => y.id === v);
2531
+ }, O = (v) => {
2532
+ Zn(v) && e.allowUuidSearch ? T(v) : I(v);
2534
2533
  };
2535
2534
  return Xn(async () => {
2536
- await f(q);
2537
- const y = mn(() => e.selectedItem, (v) => {
2538
- v && (o.value = N(r.value)), y();
2535
+ await f(x);
2536
+ const v = mn(() => e.selectedItem, (y) => {
2537
+ y && (o.value = N(r.value)), v();
2539
2538
  });
2540
2539
  o.value = N(r.value);
2541
- }), (y, v) => (c(), U(Hc, {
2542
- id: y.id,
2543
- disabled: y.fieldDisabled,
2544
- "dom-id": y.domId,
2540
+ }), (v, y) => (c(), U(Hc, {
2541
+ id: e.id,
2542
+ disabled: e.fieldDisabled,
2543
+ "dom-id": e.domId,
2545
2544
  "empty-message": t.value,
2546
- loading: y.selectedItemLoading || n.value,
2547
- placeholder: y.placeholder,
2548
- readonly: y.disabled,
2545
+ loading: e.selectedItemLoading || n.value,
2546
+ placeholder: e.placeholder,
2547
+ readonly: e.disabled,
2549
2548
  suggestions: o.value,
2550
- onChange: v[0] || (v[0] = (g) => y.$emit("change", g)),
2551
- onQueryChange: I(b)
2549
+ onChange: y[0] || (y[0] = (g) => v.$emit("change", g)),
2550
+ onQueryChange: A(b)
2552
2551
  }, cn({
2553
- "selected-item": M(({ item: g }) => [
2554
- Oe(y.$slots, "selected-item", { item: g })
2552
+ "selected-item": E(({ item: g }) => [
2553
+ Oe(v.$slots, "selected-item", { item: g })
2555
2554
  ]),
2556
- item: M(({ item: g }) => [
2557
- Oe(y.$slots, "item", { item: g })
2555
+ item: E(({ item: g }) => [
2556
+ Oe(v.$slots, "item", { item: g })
2558
2557
  ]),
2559
2558
  _: 2
2560
2559
  }, [
2561
- y.$slots.before ? {
2560
+ v.$slots.before ? {
2562
2561
  name: "before",
2563
- fn: M(() => [
2564
- Oe(y.$slots, "before")
2562
+ fn: E(() => [
2563
+ Oe(v.$slots, "before")
2565
2564
  ]),
2566
2565
  key: "0"
2567
2566
  } : void 0
@@ -2570,7 +2569,7 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2570
2569
  }), Jc = 1e3, Qc = {
2571
2570
  components: {
2572
2571
  FieldScopedEntitySelect: Xc,
2573
- SearchIcon: xo
2572
+ SearchIcon: zo
2574
2573
  },
2575
2574
  mixins: [$e],
2576
2575
  inject: [Se],
@@ -2708,8 +2707,8 @@ function om(e, t, n, i, a, o) {
2708
2707
  "max-width": "300",
2709
2708
  text: e.schema.disabledTooltip
2710
2709
  }, {
2711
- default: M(() => [
2712
- O(r, {
2710
+ default: E(() => [
2711
+ C(r, {
2713
2712
  id: a.idValue,
2714
2713
  "allow-uuid-search": o.allowUuidSearch,
2715
2714
  disabled: a.loading,
@@ -2727,19 +2726,19 @@ function om(e, t, n, i, a, o) {
2727
2726
  "transform-item": o.transformItem,
2728
2727
  onChange: o.onSelected
2729
2728
  }, {
2730
- before: M(() => [
2731
- O(s, {
2729
+ before: E(() => [
2730
+ C(s, {
2732
2731
  color: i.KUI_COLOR_TEXT_NEUTRAL,
2733
2732
  size: i.KUI_ICON_SIZE_40
2734
2733
  }, null, 8, ["color", "size"])
2735
2734
  ]),
2736
- item: M(({ item: d }) => [
2735
+ item: E(({ item: d }) => [
2737
2736
  m("div", em, [
2738
2737
  m("span", tm, L(d.label ?? i.EMPTY_VALUE_PLACEHOLDER), 1),
2739
2738
  m("span", nm, L(d.id), 1)
2740
2739
  ])
2741
2740
  ]),
2742
- "selected-item": M(({ item: d }) => [
2741
+ "selected-item": E(({ item: d }) => [
2743
2742
  m("span", im, [
2744
2743
  m("span", am, L(d.label ?? d.id), 1)
2745
2744
  ])
@@ -2750,7 +2749,7 @@ function om(e, t, n, i, a, o) {
2750
2749
  _: 1
2751
2750
  }, 8, ["text"]);
2752
2751
  }
2753
- const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-94561d0b"]]), Bn = 50, rm = {
2752
+ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-94561d0b"]]), Kn = 50, rm = {
2754
2753
  mixins: [$e],
2755
2754
  inject: [Se],
2756
2755
  emits: ["model-updated"],
@@ -2839,15 +2838,15 @@ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-94561d0b
2839
2838
  let n = null;
2840
2839
  if (!this[Se])
2841
2840
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2842
- for (; t.length < Bn; ) {
2841
+ for (; t.length < Kn; ) {
2843
2842
  const i = await this[Se].getAll(this.entity, {
2844
- size: Bn,
2843
+ size: Kn,
2845
2844
  offset: n,
2846
2845
  ...e
2847
2846
  });
2848
2847
  if (t.push(...i.data.data), n = i.data.offset, !n) break;
2849
2848
  }
2850
- return t.slice(0, Bn);
2849
+ return t.slice(0, Kn);
2851
2850
  },
2852
2851
  async fetchSuggestions(e, t) {
2853
2852
  return this.fetchUntilLimit({ [t]: e });
@@ -2883,8 +2882,8 @@ function um(e, t, n, i, a, o) {
2883
2882
  "max-width": "300",
2884
2883
  text: i.t("general.disable_source_scope_change", { scope: o.scope })
2885
2884
  }, {
2886
- default: M(() => [
2887
- O(s, {
2885
+ default: E(() => [
2886
+ C(s, {
2888
2887
  id: e.schema.model,
2889
2888
  ref: "suggestion",
2890
2889
  modelValue: a.idValue,
@@ -2900,7 +2899,7 @@ function um(e, t, n, i, a, o) {
2900
2899
  onChange: o.onSelected,
2901
2900
  onQueryChange: o.onQueryChange
2902
2901
  }, {
2903
- "item-template": M(({ item: r }) => [
2902
+ "item-template": E(({ item: r }) => [
2904
2903
  m("span", {
2905
2904
  class: "first-part",
2906
2905
  "data-testid": r.id && `${r.id}-0`,
@@ -2912,7 +2911,7 @@ function um(e, t, n, i, a, o) {
2912
2911
  "data-testid": r.id && `${r.id}-${u + 1}` || u + 1
2913
2912
  }, L(d), 9, lm))), 128))
2914
2913
  ]),
2915
- empty: M(() => [
2914
+ empty: E(() => [
2916
2915
  m("div", dm, [
2917
2916
  m("span", null, L(a.message), 1)
2918
2917
  ])
@@ -2925,82 +2924,82 @@ function um(e, t, n, i, a, o) {
2925
2924
  }
2926
2925
  const _o = /* @__PURE__ */ W(rm, [["render", um], ["__scopeId", "data-v-8cfdc7f6"]]);
2927
2926
  function cm(e) {
2928
- const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = z({
2927
+ const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = B({
2929
2928
  get() {
2930
- var A, C;
2929
+ var M, I;
2931
2930
  let h;
2932
- return X(G(e.schema, "get")) ? h = e.schema.get((A = e.model) == null ? void 0 : A.value) : h = G((C = e.model) == null ? void 0 : C.value, e.schema.model), k(h);
2931
+ return X(G(e.schema, "get")) ? h = e.schema.get((M = e.model) == null ? void 0 : M.value) : h = G((I = e.model) == null ? void 0 : I.value, e.schema.model), F(h);
2933
2932
  },
2934
2933
  set(h) {
2935
- const A = a;
2936
- h = q(h), X(h) ? h(h, A) : r(h, A);
2934
+ const M = a;
2935
+ h = x(h), X(h) ? h(h, M) : r(h, M);
2937
2936
  }
2938
2937
  }), o = (h) => {
2939
2938
  var T;
2940
2939
  d();
2941
- const A = G(e.formOptions, "validateAsync", !1);
2942
- let C = [];
2940
+ const M = G(e.formOptions, "validateAsync", !1);
2941
+ let I = [];
2943
2942
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2944
- const F = [], y = (T = e.schema) == null ? void 0 : T.validator;
2945
- y && (Array.isArray(y) ? we(y, (v) => {
2946
- F.push(i(v));
2947
- }) : F.push(i(y))), X(e.externalValidator) && F.push(e.externalValidator), we(F, (v) => {
2943
+ const O = [], v = (T = e.schema) == null ? void 0 : T.validator;
2944
+ v && (Array.isArray(v) ? we(v, (y) => {
2945
+ O.push(i(y));
2946
+ }) : O.push(i(v))), X(e.externalValidator) && O.push(e.externalValidator), we(O, (y) => {
2948
2947
  var g, V;
2949
- if (A)
2950
- C.push(v(a.value, e.schema, (g = e.model) == null ? void 0 : g.value));
2948
+ if (M)
2949
+ I.push(y(a.value, e.schema, (g = e.model) == null ? void 0 : g.value));
2951
2950
  else {
2952
- const Z = v(a.value, e.schema, (V = e.model) == null ? void 0 : V.value);
2953
- Z && X(Z.then) ? Z.then((E) => {
2954
- E && (t.value = t.value.concat(E));
2951
+ const Z = y(a.value, e.schema, (V = e.model) == null ? void 0 : V.value);
2952
+ Z && X(Z.then) ? Z.then((k) => {
2953
+ k && (t.value = t.value.concat(k));
2955
2954
  const w = t.value.length === 0;
2956
2955
  e.emitValidated && e.emitValidated({ isValid: w, errors: t.value, field: e.schema });
2957
- }) : Z && (C = C.concat(Z));
2956
+ }) : Z && (I = I.concat(Z));
2958
2957
  }
2959
2958
  });
2960
2959
  }
2961
- const N = (F) => {
2962
- var v, g;
2963
- let y = [];
2964
- if (we(oo(F), (V) => {
2965
- Array.isArray(V) && V.length > 0 ? y = y.concat(V) : st(V) && y.push(V);
2966
- }), X((v = e.schema) == null ? void 0 : v.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, y, e.schema), !h) {
2967
- const V = y.length === 0;
2968
- e.emitValidated && e.emitValidated({ isValid: V, errors: y, field: e.schema });
2960
+ const N = (O) => {
2961
+ var y, g;
2962
+ let v = [];
2963
+ if (we(oo(O), (V) => {
2964
+ Array.isArray(V) && V.length > 0 ? v = v.concat(V) : st(V) && v.push(V);
2965
+ }), X((y = e.schema) == null ? void 0 : y.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, v, e.schema), !h) {
2966
+ const V = v.length === 0;
2967
+ e.emitValidated && e.emitValidated({ isValid: V, errors: v, field: e.schema });
2969
2968
  }
2970
- return F = y, y;
2969
+ return O = v, v;
2971
2970
  };
2972
- return A ? Promise.all(C).then(N) : N(C);
2971
+ return M ? Promise.all(I).then(N) : N(I);
2973
2972
  }, s = () => {
2974
2973
  X(n.value) ? n.value() : n.value = wt(
2975
2974
  o,
2976
2975
  G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 500))
2977
2976
  );
2978
- }, r = (h, A) => {
2979
- var N, T, F;
2980
- let C = !1;
2981
- X(e.schema.set) ? (e.schema.set((N = e.model) == null ? void 0 : N.value, h), C = !0) : e.schema.model && (u(e.schema.model, h), C = !0), C && (e.emitModelUpdated && ((T = e.model) != null && T.value) && e.emitModelUpdated({ value: h, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((F = e.model) == null ? void 0 : F.value, h, A, e.schema), G(e.formOptions, "validateAfterChanged", !1) === !0 && (G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : o()));
2977
+ }, r = (h, M) => {
2978
+ var N, T, O;
2979
+ let I = !1;
2980
+ X(e.schema.set) ? (e.schema.set((N = e.model) == null ? void 0 : N.value, h), I = !0) : e.schema.model && (u(e.schema.model, h), I = !0), I && (e.emitModelUpdated && ((T = e.model) != null && T.value) && e.emitModelUpdated({ value: h, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((O = e.model) == null ? void 0 : O.value, h, M, e.schema), G(e.formOptions, "validateAfterChanged", !1) === !0 && (G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : o()));
2982
2981
  }, d = () => {
2983
2982
  t.value.splice(0);
2984
- }, u = (h, A) => {
2985
- var v;
2986
- let C = h.replace(/\[(\w+)\]/g, ".$1");
2987
- C = C.replace(/^\./, "");
2988
- let N = ((v = e.model) == null ? void 0 : v.value) || {}, T = 0;
2989
- const F = C.split("."), y = F.length;
2990
- for (; T < y; ) {
2991
- const g = F[T];
2992
- if (T < y - 1)
2983
+ }, u = (h, M) => {
2984
+ var y;
2985
+ let I = h.replace(/\[(\w+)\]/g, ".$1");
2986
+ I = I.replace(/^\./, "");
2987
+ let N = ((y = e.model) == null ? void 0 : y.value) || {}, T = 0;
2988
+ const O = I.split("."), v = O.length;
2989
+ for (; T < v; ) {
2990
+ const g = O[T];
2991
+ if (T < v - 1)
2993
2992
  N[g] !== void 0 || (N[g] = {}), N = N[g];
2994
2993
  else {
2995
- N[g] = A;
2994
+ N[g] = M;
2996
2995
  return;
2997
2996
  }
2998
2997
  ++T;
2999
2998
  }
3000
- }, p = (h, A = !1) => {
3001
- const C = G(e.formOptions, "fieldIdPrefix", "");
3002
- return ri(h, C) + (A ? "-" + ro() : "");
3003
- }, f = (h) => `${p(h)}-label`, b = () => G(e.schema, "fieldClasses", []), k = (h) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(h) : h, q = (h) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(h) : h;
2999
+ }, p = (h, M = !1) => {
3000
+ const I = G(e.formOptions, "fieldIdPrefix", "");
3001
+ return ri(h, I) + (M ? "-" + ro() : "");
3002
+ }, f = (h) => `${p(h)}-label`, b = () => G(e.schema, "fieldClasses", []), F = (h) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(h) : h, x = (h) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(h) : h;
3004
3003
  return {
3005
3004
  value: a,
3006
3005
  clearValidationErrors: d,
@@ -3046,7 +3045,7 @@ function fm(e, t) {
3046
3045
  };
3047
3046
  });
3048
3047
  }
3049
- const qe = {
3048
+ const xe = {
3050
3049
  useAbstractFields: cm,
3051
3050
  useRedisPartial: mm,
3052
3051
  useRedisNonStandardFields: fm
@@ -3090,7 +3089,7 @@ const qe = {
3090
3089
  },
3091
3090
  emits: ["modelUpdated"],
3092
3091
  setup(e, { expose: t, emit: n }) {
3093
- const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
3092
+ const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = xe.useAbstractFields({
3094
3093
  model: o.model,
3095
3094
  schema: i.schema,
3096
3095
  formOptions: i.formOptions,
@@ -3101,9 +3100,9 @@ const qe = {
3101
3100
  t({
3102
3101
  clearValidationErrors: u
3103
3102
  });
3104
- const f = z(() => {
3105
- var F;
3106
- const T = (F = i.schema) == null ? void 0 : F.inputType.toLowerCase();
3103
+ const f = B(() => {
3104
+ var O;
3105
+ const T = (O = i.schema) == null ? void 0 : O.inputType.toLowerCase();
3107
3106
  switch (T) {
3108
3107
  case "string":
3109
3108
  return "text";
@@ -3116,35 +3115,35 @@ const qe = {
3116
3115
  date: "YYYY-MM-DD",
3117
3116
  datetime: "YYYY-MM-DD HH:mm:ss",
3118
3117
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
3119
- }, k = (T, F) => {
3118
+ }, F = (T, O) => {
3120
3119
  var V, Z;
3121
- let y = T;
3122
- const v = b[f.value] || "", g = _t.parse(T, v);
3123
- g && ((V = i.schema) != null && V.format ? y = _t.format(g, (Z = i.schema) == null ? void 0 : Z.format) : y = g.valueOf()), r(y, F);
3124
- }, q = (T, F) => {
3125
- dn(T) || (T = NaN), r(T, F);
3120
+ let v = T;
3121
+ const y = b[f.value] || "", g = _t.parse(T, y);
3122
+ g && ((V = i.schema) != null && V.format ? v = _t.format(g, (Z = i.schema) == null ? void 0 : Z.format) : v = g.valueOf()), r(v, O);
3123
+ }, x = (T, O) => {
3124
+ dn(T) || (T = NaN), r(T, O);
3126
3125
  }, h = (T) => {
3127
- let F = T;
3126
+ let O = T;
3128
3127
  switch (f.value) {
3129
3128
  case "number":
3130
3129
  case "range":
3131
- dn(parseFloat(T)) && (F = parseFloat(T));
3130
+ dn(parseFloat(T)) && (O = parseFloat(T));
3132
3131
  break;
3133
3132
  }
3134
- p.value = F, r(F, T);
3135
- }, A = (T) => {
3133
+ p.value = O, r(O, T);
3134
+ }, M = (T) => {
3136
3135
  p.value = T, r(T, T);
3137
- }, C = ae(null), N = () => {
3136
+ }, I = ae(null), N = () => {
3138
3137
  var T;
3139
- X(C.value) && ((T = C.value) == null || T.flush());
3138
+ X(I.value) && ((T = I.value) == null || T.flush());
3140
3139
  };
3141
3140
  return Xn(() => {
3142
3141
  switch (f.value) {
3143
3142
  case "number":
3144
3143
  case "range":
3145
- C.value = wt(
3146
- (T, F) => {
3147
- q(T, F);
3144
+ I.value = wt(
3145
+ (T, O) => {
3146
+ x(T, O);
3148
3147
  },
3149
3148
  parseInt(G(i.schema, "debounceFormatTimeout", 1e3)),
3150
3149
  {
@@ -3156,9 +3155,9 @@ const qe = {
3156
3155
  case "date":
3157
3156
  case "datetime":
3158
3157
  case "datetime-local":
3159
- C.value = wt(
3160
- (T, F) => {
3161
- k(T, F);
3158
+ I.value = wt(
3159
+ (T, O) => {
3160
+ F(T, O);
3162
3161
  },
3163
3162
  parseInt(G(i.schema, "debounceFormatTimeout", 1e3)),
3164
3163
  {
@@ -3170,20 +3169,20 @@ const qe = {
3170
3169
  }
3171
3170
  }), Jn(() => {
3172
3171
  f.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : f.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : f.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
3173
- }), (T, F) => {
3174
- const y = D("KInput");
3172
+ }), (T, O) => {
3173
+ const v = D("KInput");
3175
3174
  return c(), _("div", hm, [
3176
- O(y, et(T.$attrs, {
3177
- id: I(d)(e.schema),
3175
+ C(v, et(T.$attrs, {
3176
+ id: A(d)(e.schema),
3178
3177
  autocomplete: e.schema.autocomplete,
3179
3178
  class: e.schema.fieldClasses,
3180
3179
  disabled: e.disabled || void 0,
3181
- help: e.hint ? e.hint : f.value === "color" || f.value === "range" ? I(p) : void 0,
3180
+ help: e.hint ? e.hint : f.value === "color" || f.value === "range" ? A(p) : void 0,
3182
3181
  max: e.schema.max,
3183
3182
  maxlength: e.schema.maxlength,
3184
3183
  min: e.schema.min,
3185
3184
  minlength: e.schema.minlength,
3186
- "model-value": I(p),
3185
+ "model-value": A(p),
3187
3186
  name: e.schema.inputName,
3188
3187
  pattern: e.schema.pattern,
3189
3188
  placeholder: e.schema.placeholder,
@@ -3195,17 +3194,17 @@ const qe = {
3195
3194
  onBlur: N,
3196
3195
  "onUpdate:modelValue": h
3197
3196
  }), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
3198
- (c(), U(me(I(s)), {
3197
+ (c(), U(me(A(s)), {
3199
3198
  schema: e.schema,
3200
- update: A,
3201
- value: I(p)
3199
+ update: M,
3200
+ value: A(p)
3202
3201
  }, null, 8, ["schema", "value"]))
3203
3202
  ]);
3204
3203
  };
3205
3204
  }
3206
3205
  }), To = /* @__PURE__ */ W(pm, [["__scopeId", "data-v-fe1132bb"]]), gm = {
3207
3206
  name: "FieldMetric",
3208
- components: { AddIcon: Qn, TrashIcon: xt },
3207
+ components: { AddIcon: Qn, TrashIcon: zt },
3209
3208
  mixins: [$e],
3210
3209
  emits: ["remove-item"],
3211
3210
  data() {
@@ -3227,23 +3226,23 @@ function vm(e, t, n, i, a, o) {
3227
3226
  onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
3228
3227
  }, [
3229
3228
  ce(L(e.model.name ? e.model.name : "New Item") + " ", 1),
3230
- O(s, { class: "metric-add-icon" })
3229
+ C(s, { class: "metric-add-icon" })
3231
3230
  ]),
3232
- O(Do, { name: "slide-fade" }, {
3233
- default: M(() => [
3231
+ C(Do, { name: "slide-fade" }, {
3232
+ default: E(() => [
3234
3233
  a.contentVisible ? (c(), _("div", ym, [
3235
3234
  Oe(e.$slots, "default"),
3236
- O(d, {
3235
+ C(d, {
3237
3236
  appearance: "tertiary",
3238
3237
  class: "metric-remove-button",
3239
3238
  onClick: t[1] || (t[1] = (u) => e.$emit("remove-item"))
3240
3239
  }, {
3241
- default: M(() => [
3242
- O(r)
3240
+ default: E(() => [
3241
+ C(r)
3243
3242
  ]),
3244
3243
  _: 1
3245
3244
  })
3246
- ])) : B("", !0)
3245
+ ])) : K("", !0)
3247
3246
  ]),
3248
3247
  _: 3
3249
3248
  })
@@ -3313,7 +3312,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3313
3312
  }, null, 8, wm), [
3314
3313
  [$t, t.value[o]]
3315
3314
  ])
3316
- ])) : B("", !0),
3315
+ ])) : K("", !0),
3317
3316
  t.keyTypes[o] === "boolean" ? (c(), _("td", Em, [
3318
3317
  Ee(m("input", {
3319
3318
  "onUpdate:modelValue": (s) => t.value[o] = s,
@@ -3321,7 +3320,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3321
3320
  }, null, 8, Mm), [
3322
3321
  [$o, t.value[o]]
3323
3322
  ])
3324
- ])) : B("", !0),
3323
+ ])) : K("", !0),
3325
3324
  t.keyTypes[o] === "number" ? (c(), _("td", Am, [
3326
3325
  Ee(m("input", {
3327
3326
  "onUpdate:modelValue": (s) => t.value[o] = s,
@@ -3329,7 +3328,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3329
3328
  }, null, 8, Im), [
3330
3329
  [$t, t.value[o]]
3331
3330
  ])
3332
- ])) : B("", !0),
3331
+ ])) : K("", !0),
3333
3332
  m("td", null, [
3334
3333
  m("input", {
3335
3334
  type: "button",
@@ -3341,11 +3340,11 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3341
3340
  ], 10, Tm),
3342
3341
  Ee(m("select", {
3343
3342
  "onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
3344
- }, n[3] || (n[3] = [
3343
+ }, [...n[3] || (n[3] = [
3345
3344
  m("option", { value: "string" }, " String ", -1),
3346
3345
  m("option", { value: "number" }, " Number ", -1),
3347
3346
  m("option", { value: "boolean" }, " Boolean ", -1)
3348
- ]), 512), [
3347
+ ])], 512), [
3349
3348
  [Vo, t.newKeyType]
3350
3349
  ]),
3351
3350
  Ee(m("input", {
@@ -3368,10 +3367,10 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3368
3367
  }), wo = /* @__PURE__ */ W(Fm, [["__scopeId", "data-v-4ace4106"]]), km = ["id"], Rm = ["data-testid"], Um = { class: "item-wrapper" }, Lm = { class: "index-wrapper" }, Nm = { key: 0 }, Pm = { key: 1 }, Dm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], $m = {
3369
3368
  key: 0,
3370
3369
  class: "hint"
3371
- }, Vm = { class: "input-item" }, jm = ["placeholder"], qm = {
3370
+ }, Vm = { class: "input-item" }, jm = ["placeholder"], xm = {
3372
3371
  key: 0,
3373
3372
  class: "hint"
3374
- }, Km = {
3373
+ }, qm = {
3375
3374
  mixins: [$e],
3376
3375
  expose: ["validate", "clearValidationErrors", "schema"],
3377
3376
  inject: {
@@ -3470,7 +3469,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3470
3469
  this.$emit("model-updated", this.model[this.schema.model], t);
3471
3470
  }
3472
3471
  }
3473
- }, Bm = /* @__PURE__ */ Object.assign(Km, {
3472
+ }, Km = /* @__PURE__ */ Object.assign(qm, {
3474
3473
  __name: "FieldObjectAdvanced",
3475
3474
  setup(e) {
3476
3475
  return (t, n) => {
@@ -3488,23 +3487,23 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3488
3487
  m("div", Lm, [
3489
3488
  m("strong", null, L(o), 1),
3490
3489
  m("div", null, [
3491
- O(i, {
3490
+ C(i, {
3492
3491
  appearance: "tertiary",
3493
3492
  class: "delete",
3494
3493
  icon: "",
3495
3494
  type: "button",
3496
3495
  onClick: (s) => t.removeElement(o)
3497
3496
  }, {
3498
- default: M(() => [
3499
- O(I(xt))
3497
+ default: E(() => [
3498
+ C(A(zt))
3500
3499
  ]),
3501
- _: 2
3502
- }, 1032, ["onClick"])
3500
+ _: 1
3501
+ }, 8, ["onClick"])
3503
3502
  ])
3504
3503
  ]),
3505
3504
  n[1] || (n[1] = m("hr", { class: "divider" }, null, -1)),
3506
3505
  t.subSchema ? (c(), _("div", Nm, [
3507
- O(ue, {
3506
+ C(ue, {
3508
3507
  model: t.transformedModel[o],
3509
3508
  options: { helpAsHtml: !0 },
3510
3509
  schema: t.subSchema,
@@ -3520,7 +3519,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3520
3519
  }, null, 40, Dm), [
3521
3520
  [Ia, t.value[o]]
3522
3521
  ]),
3523
- t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", $m, L(t.schema.fields[0].schema.hint), 1)) : B("", !0),
3522
+ t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", $m, L(t.schema.fields[0].schema.hint), 1)) : K("", !0),
3524
3523
  (c(), U(me(t.autofillSlot), {
3525
3524
  schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
3526
3525
  update: (s) => t.value[o] = s,
@@ -3544,24 +3543,24 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3544
3543
  }, null, 8, jm), [
3545
3544
  [$t, t.newKeyName]
3546
3545
  ]),
3547
- O(i, {
3546
+ C(i, {
3548
3547
  appearance: "tertiary",
3549
3548
  "data-testid": "add-key",
3550
3549
  disabled: !t.newKeyName,
3551
3550
  onClick: t.addKey
3552
3551
  }, {
3553
- default: M(() => [
3552
+ default: E(() => [
3554
3553
  ce(" + Add " + L(t.schema.buttonLabel || t.schema.label), 1)
3555
3554
  ]),
3556
3555
  _: 1
3557
3556
  }, 8, ["disabled", "onClick"])
3558
3557
  ]),
3559
- t.schema.hintText ? (c(), _("p", qm, L(t.schema.hintText), 1)) : B("", !0)
3558
+ t.schema.hintText ? (c(), _("p", xm, L(t.schema.hintText), 1)) : K("", !0)
3560
3559
  ], 2)
3561
3560
  ], 10, km);
3562
3561
  };
3563
3562
  }
3564
- }), Eo = /* @__PURE__ */ W(Bm, [["__scopeId", "data-v-41b00aff"]]), zm = { class: "radio-selection-group" }, xm = /* @__PURE__ */ he({
3563
+ }), Eo = /* @__PURE__ */ W(Km, [["__scopeId", "data-v-41b00aff"]]), Bm = { class: "radio-selection-group" }, zm = /* @__PURE__ */ he({
3565
3564
  __name: "FieldRadio",
3566
3565
  props: {
3567
3566
  disabled: {
@@ -3601,7 +3600,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3601
3600
  },
3602
3601
  emits: ["modelUpdated"],
3603
3602
  setup(e, { expose: t, emit: n }) {
3604
- const i = e, a = n, o = ut(i), { updateModelValue: s, value: r, clearValidationErrors: d } = qe.useAbstractFields({
3603
+ const i = e, a = n, o = ut(i), { updateModelValue: s, value: r, clearValidationErrors: d } = xe.useAbstractFields({
3605
3604
  model: o.model,
3606
3605
  schema: i.schema,
3607
3606
  formOptions: i.formOptions,
@@ -3618,23 +3617,23 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3618
3617
  };
3619
3618
  return (p, f) => {
3620
3619
  const b = D("KRadio");
3621
- return c(), _("div", zm, [
3622
- (c(!0), _(Y, null, oe(e.schema.values, (k, q) => (c(), U(b, {
3623
- id: e.schema.name + "-" + q,
3624
- key: k.value,
3625
- modelValue: I(r),
3620
+ return c(), _("div", Bm, [
3621
+ (c(!0), _(Y, null, oe(e.schema.values, (F, x) => (c(), U(b, {
3622
+ id: e.schema.name + "-" + x,
3623
+ key: F.value,
3624
+ modelValue: A(r),
3626
3625
  "onUpdate:modelValue": f[0] || (f[0] = (h) => Et(r) ? r.value = h : null),
3627
- label: k.name,
3626
+ label: F.name,
3628
3627
  "label-attributes": { info: e.schema.help },
3629
3628
  name: e.schema.name,
3630
3629
  required: e.schema.required || void 0,
3631
- "selected-value": k.value,
3630
+ "selected-value": F.value,
3632
3631
  onChange: u
3633
3632
  }, null, 8, ["id", "modelValue", "label", "label-attributes", "name", "required", "selected-value"]))), 128))
3634
3633
  ]);
3635
3634
  };
3636
3635
  }
3637
- }), Mo = /* @__PURE__ */ W(xm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
3636
+ }), Mo = /* @__PURE__ */ W(zm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
3638
3637
  __name: "FieldSelect",
3639
3638
  props: {
3640
3639
  disabled: {
@@ -3674,7 +3673,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3674
3673
  },
3675
3674
  emits: ["modelUpdated"],
3676
3675
  setup(e, { expose: t, emit: n }) {
3677
- const i = e, a = n, o = z(() => i.schema.selectOptions || {}), s = (h) => de(h) ? null : h, r = ut(i), { getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
3676
+ const i = e, a = n, o = B(() => i.schema.selectOptions || {}), s = (h) => de(h) ? null : h, r = ut(i), { getFieldID: d, clearValidationErrors: u, value: p } = xe.useAbstractFields({
3678
3677
  model: r.model,
3679
3678
  schema: i.schema,
3680
3679
  formOptions: i.formOptions,
@@ -3686,20 +3685,20 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3686
3685
  t({
3687
3686
  clearValidationErrors: u
3688
3687
  });
3689
- const f = z(() => {
3688
+ const f = B(() => {
3690
3689
  const h = i.schema.values;
3691
3690
  return b(typeof h == "function" ? h.apply(this, [i.model, i.schema]) : h);
3692
3691
  }), b = (h) => {
3693
- const A = [];
3694
- return h.forEach((C) => {
3695
- A.push({
3696
- label: q(C),
3697
- value: k(C),
3698
- disabled: typeof C == "object" && C.disabled || void 0,
3699
- group: typeof C == "object" && String(C.group || "").toUpperCase() || void 0
3692
+ const M = [];
3693
+ return h.forEach((I) => {
3694
+ M.push({
3695
+ label: x(I),
3696
+ value: F(I),
3697
+ disabled: typeof I == "object" && I.disabled || void 0,
3698
+ group: typeof I == "object" && String(I.group || "").toUpperCase() || void 0
3700
3699
  });
3701
- }), A;
3702
- }, k = (h) => {
3700
+ }), M;
3701
+ }, F = (h) => {
3703
3702
  if (Fe(h)) {
3704
3703
  if (o.value && typeof o.value.value < "u")
3705
3704
  return h[o.value.value];
@@ -3708,7 +3707,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3708
3707
  throw new Error("`id` is not defined. If you want to use another key name, add a `value` property under `selectOptions` in the schema. https://icebob.gitbooks.io/vueformgenerator/content/fields/select.html#select-field-with-object-items");
3709
3708
  } else
3710
3709
  return h;
3711
- }, q = (h) => {
3710
+ }, x = (h) => {
3712
3711
  if (Fe(h)) {
3713
3712
  if (o.value && typeof o.value.name < "u")
3714
3713
  return h[o.value.name];
@@ -3718,17 +3717,17 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3718
3717
  } else
3719
3718
  return String(h);
3720
3719
  };
3721
- return (h, A) => {
3722
- const C = D("KSelect");
3723
- return c(), U(C, {
3724
- id: I(d)(e.schema),
3725
- modelValue: I(p),
3726
- "onUpdate:modelValue": A[0] || (A[0] = (N) => Et(p) ? p.value = N : null),
3720
+ return (h, M) => {
3721
+ const I = D("KSelect");
3722
+ return c(), U(I, {
3723
+ id: A(d)(e.schema),
3724
+ modelValue: A(p),
3725
+ "onUpdate:modelValue": M[0] || (M[0] = (N) => Et(p) ? p.value = N : null),
3727
3726
  class: ee(e.schema.fieldClasses),
3728
3727
  clearable: !e.schema.required,
3729
3728
  disabled: e.disabled || void 0,
3730
3729
  items: f.value,
3731
- "kpop-attributes": { "data-testid": `${I(d)(e.schema)}-items` },
3730
+ "kpop-attributes": { "data-testid": `${A(d)(e.schema)}-items` },
3732
3731
  "label-attributes": { info: e.schema.help },
3733
3732
  name: e.schema.inputName,
3734
3733
  placeholder: o.value.hideNoneSelectedText ? void 0 : o.value.noneSelectedText || "Nothing Selected",
@@ -3822,7 +3821,7 @@ function Xm(e, t, n, i, a, o) {
3822
3821
  schema: o.generateSchema(e.value, e.schema.items, p),
3823
3822
  onRemoveItem: (f) => o.removeElement(p)
3824
3823
  }, {
3825
- default: M(() => [
3824
+ default: E(() => [
3826
3825
  (c(), U(me(o.getFieldComponent(e.schema.items)), {
3827
3826
  "form-options": e.formOptions,
3828
3827
  model: u,
@@ -3845,14 +3844,14 @@ function Xm(e, t, n, i, a, o) {
3845
3844
  schema: o.generateSchema(e.value, e.schema.items, p),
3846
3845
  onRemoveItem: (f) => o.removeElement(p)
3847
3846
  }, {
3848
- after: M(() => [
3847
+ after: E(() => [
3849
3848
  (c(), U(me(o.autofillSlot), {
3850
3849
  schema: e.schema,
3851
3850
  update: (f) => e.value[p] = f,
3852
3851
  value: e.value[p]
3853
3852
  }, null, 8, ["schema", "update", "value"]))
3854
3853
  ]),
3855
- default: M(() => {
3854
+ default: E(() => {
3856
3855
  var f;
3857
3856
  return [
3858
3857
  e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (c(), U(s, et({
@@ -3910,19 +3909,19 @@ function Xm(e, t, n, i, a, o) {
3910
3909
  }, null, 8, ["schema", "update", "value"]))
3911
3910
  ], 64))
3912
3911
  ], 2))), 128)),
3913
- O(d, {
3912
+ C(d, {
3914
3913
  appearance: "tertiary",
3915
3914
  class: ee(e.schema.newElementButtonLabelClasses),
3916
3915
  "data-testid": `add-${e.getFieldID(e.schema)}`,
3917
3916
  type: "button",
3918
3917
  onClick: o.newElement
3919
3918
  }, {
3920
- default: M(() => [
3919
+ default: E(() => [
3921
3920
  ce(L(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
3922
3921
  ]),
3923
3922
  _: 1
3924
3923
  }, 8, ["class", "data-testid", "onClick"])
3925
- ], 10, Ym)) : B("", !0);
3924
+ ], 10, Ym)) : K("", !0);
3926
3925
  }
3927
3926
  const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-d6740b2b"]]), Qm = { class: "form-field-wrapper field-checkbox" }, ef = /* @__PURE__ */ he({
3928
3927
  __name: "FieldCheckbox",
@@ -3964,7 +3963,7 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-d6740b2b
3964
3963
  },
3965
3964
  emits: ["modelUpdated"],
3966
3965
  setup(e, { expose: t, emit: n }) {
3967
- const i = e, a = n, o = ut(i), { getFieldID: s, value: r, clearValidationErrors: d } = qe.useAbstractFields({
3966
+ const i = e, a = n, o = ut(i), { getFieldID: s, value: r, clearValidationErrors: d } = xe.useAbstractFields({
3968
3967
  model: o.model,
3969
3968
  schema: i.schema,
3970
3969
  formOptions: i.formOptions,
@@ -3977,9 +3976,9 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-d6740b2b
3977
3976
  }), (u, p) => {
3978
3977
  const f = D("KCheckbox");
3979
3978
  return c(), _("div", Qm, [
3980
- O(f, et(u.$attrs, {
3981
- id: I(s)(e.schema),
3982
- modelValue: I(r),
3979
+ C(f, et(u.$attrs, {
3980
+ id: A(s)(e.schema),
3981
+ modelValue: A(r),
3983
3982
  "onUpdate:modelValue": p[0] || (p[0] = (b) => Et(r) ? r.value = b : null),
3984
3983
  autocomplete: e.schema.autocomplete,
3985
3984
  class: e.schema.fieldClasses,
@@ -4019,8 +4018,8 @@ function uf(e, t, n, i, a, o) {
4019
4018
  ce(L(o.getItemName(r)), 1)
4020
4019
  ])
4021
4020
  ], 2))), 256))
4022
- ], 8, af)) : B("", !0),
4023
- e.schema.listBox ? B("", !0) : (c(), _("div", {
4021
+ ], 8, af)) : K("", !0),
4022
+ e.schema.listBox ? K("", !0) : (c(), _("div", {
4024
4023
  key: 1,
4025
4024
  class: "combobox form-control",
4026
4025
  disabled: e.disabled || null
@@ -4049,7 +4048,7 @@ function uf(e, t, n, i, a, o) {
4049
4048
  ]),
4050
4049
  ce(L(o.getItemName(r)), 1)
4051
4050
  ])
4052
- ], 2))), 256)) : B("", !0)
4051
+ ], 2))), 256)) : K("", !0)
4053
4052
  ])
4054
4053
  ], 8, rf))
4055
4054
  ])), [
@@ -4114,7 +4113,7 @@ const cf = {
4114
4113
  }
4115
4114
  }, mf = /* @__PURE__ */ W(cf, [["render", uf]]), ff = {
4116
4115
  name: "FieldKeyValuePairs",
4117
- components: { TrashIcon: xt },
4116
+ components: { TrashIcon: zt },
4118
4117
  mixins: [$e],
4119
4118
  inject: {
4120
4119
  autofillSlot: {
@@ -4208,27 +4207,27 @@ function bf(e, t, n, i, a, o) {
4208
4207
  value: d.value
4209
4208
  }, null, 8, ["schema", "update", "value"]))
4210
4209
  ]),
4211
- O(r, {
4210
+ C(r, {
4212
4211
  appearance: "tertiary",
4213
4212
  "data-testid": `${e.getFieldID(e.schema)}-remove-pair-${u}`,
4214
4213
  onClick: () => {
4215
4214
  o.removePair(u);
4216
4215
  }
4217
4216
  }, {
4218
- default: M(() => [
4219
- O(s)
4217
+ default: E(() => [
4218
+ C(s)
4220
4219
  ]),
4221
- _: 2
4222
- }, 1032, ["data-testid", "onClick"])
4220
+ _: 1
4221
+ }, 8, ["data-testid", "onClick"])
4223
4222
  ]))), 128)),
4224
- O(r, {
4223
+ C(r, {
4225
4224
  appearance: "tertiary",
4226
4225
  class: ee(e.schema.newElementButtonLabelClasses),
4227
4226
  "data-testid": `${e.getFieldID(e.schema)}-add-pair`,
4228
4227
  type: "button",
4229
4228
  onClick: o.addPair
4230
4229
  }, {
4231
- default: M(() => [
4230
+ default: E(() => [
4232
4231
  ce(L(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
4233
4232
  ]),
4234
4233
  _: 1
@@ -4262,7 +4261,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4262
4261
  }
4263
4262
  },
4264
4263
  setup(e) {
4265
- const t = e, n = ut(t), { getFieldID: i, value: a } = qe.useAbstractFields({
4264
+ const t = e, n = ut(t), { getFieldID: i, value: a } = xe.useAbstractFields({
4266
4265
  model: n.model,
4267
4266
  schema: t.schema,
4268
4267
  formOptions: t.formOptions
@@ -4272,11 +4271,11 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4272
4271
  return c(), _("span", {
4273
4272
  class: ee(["field-label", e.schema.fieldClasses])
4274
4273
  }, [
4275
- O(r, {
4276
- id: I(i)(e.schema)
4274
+ C(r, {
4275
+ id: A(i)(e.schema)
4277
4276
  }, {
4278
- default: M(() => [
4279
- ce(L(I(a)), 1)
4277
+ default: E(() => [
4278
+ ce(L(A(a)), 1)
4280
4279
  ]),
4281
4280
  _: 1
4282
4281
  }, 8, ["id"])
@@ -4323,7 +4322,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4323
4322
  },
4324
4323
  emits: ["modelUpdated"],
4325
4324
  setup(e, { expose: t, emit: n }) {
4326
- const i = e, a = n, o = jo(i, "model"), { getLabelId: s, getFieldID: r, clearValidationErrors: d, value: u } = qe.useAbstractFields({
4325
+ const i = e, a = n, o = jo(i, "model"), { getLabelId: s, getFieldID: r, clearValidationErrors: d, value: u } = xe.useAbstractFields({
4327
4326
  model: o,
4328
4327
  schema: i.schema,
4329
4328
  formOptions: i.formOptions,
@@ -4334,22 +4333,22 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4334
4333
  t({
4335
4334
  clearValidationErrors: d
4336
4335
  });
4337
- const p = z(() => {
4336
+ const p = B(() => {
4338
4337
  var f, b;
4339
- return i.schema.values ? i.schema.values : (b = (f = i.schema.elements) == null ? void 0 : f.one_of) != null && b.length ? i.schema.elements.one_of.map((k) => ({ label: String(k), value: String(k) })) : [];
4338
+ return i.schema.values ? i.schema.values : (b = (f = i.schema.elements) == null ? void 0 : f.one_of) != null && b.length ? i.schema.elements.one_of.map((F) => ({ label: String(F), value: String(F) })) : [];
4340
4339
  });
4341
4340
  return (f, b) => {
4342
- const k = D("KMultiselect");
4343
- return c(), U(k, {
4344
- id: I(r)(e.schema),
4345
- modelValue: I(u),
4346
- "onUpdate:modelValue": b[0] || (b[0] = (q) => Et(u) ? u.value = q : null),
4347
- "aria-labelledby": I(s)(e.schema),
4341
+ const F = D("KMultiselect");
4342
+ return c(), U(F, {
4343
+ id: A(r)(e.schema),
4344
+ modelValue: A(u),
4345
+ "onUpdate:modelValue": b[0] || (b[0] = (x) => Et(u) ? u.value = x : null),
4346
+ "aria-labelledby": A(s)(e.schema),
4348
4347
  class: ee(e.schema.fieldClasses),
4349
4348
  "data-testid": "field-multiselect",
4350
4349
  disabled: e.disabled || void 0,
4351
4350
  items: p.value,
4352
- "kpop-attributes": { "data-testid": `${I(r)(e.schema)}-items` },
4351
+ "kpop-attributes": { "data-testid": `${A(r)(e.schema)}-items` },
4353
4352
  "label-attributes": { info: e.schema.help },
4354
4353
  name: e.schema.inputName,
4355
4354
  placeholder: e.schema.placeholder,
@@ -4413,9 +4412,9 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4413
4412
  return (n, i) => (c(), _("div", Ef, [
4414
4413
  (c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
4415
4414
  "max-width": "300",
4416
- text: I(t)("general.disable_global_radio", { scope: n.scope })
4415
+ text: A(t)("general.disable_global_radio", { scope: n.scope })
4417
4416
  }, {
4418
- default: M(() => [
4417
+ default: E(() => [
4419
4418
  m("div", Mf, [
4420
4419
  m("div", Af, [
4421
4420
  (c(!0), _(Y, null, oe(n.schema.fields, (a, o) => (c(), _("div", {
@@ -4432,7 +4431,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4432
4431
  type: "radio",
4433
4432
  value: o
4434
4433
  }, null, 8, If), [
4435
- [qo, n.checkedGroup]
4434
+ [xo, n.checkedGroup]
4436
4435
  ]),
4437
4436
  ce(" " + L(a.label) + " ", 1),
4438
4437
  m("div", Cf, L(a.description), 1)
@@ -4449,7 +4448,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4449
4448
  }, [
4450
4449
  n.renderedTrack[o] ? Ee((c(), _("div", Of, [
4451
4450
  m("div", Ff, [
4452
- O(ue, {
4451
+ C(ue, {
4453
4452
  model: n.model,
4454
4453
  options: { helpAsHtml: !0 },
4455
4454
  schema: { fields: a.fields },
@@ -4457,8 +4456,8 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4457
4456
  }, null, 8, ["model", "schema", "onModelUpdated"])
4458
4457
  ])
4459
4458
  ], 512)), [
4460
- [Ko, a.fields && n.checkedGroup === o]
4461
- ]) : B("", !0)
4459
+ [qo, a.fields && n.checkedGroup === o]
4460
+ ]) : K("", !0)
4462
4461
  ]))), 128))
4463
4462
  ]));
4464
4463
  }
@@ -4502,7 +4501,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4502
4501
  },
4503
4502
  emits: ["modelUpdated"],
4504
4503
  setup(e, { expose: t, emit: n }) {
4505
- const i = e, a = n, { t: o } = ke("en-us", Re), s = (b) => b != null && i.schema.valueOn ? b === i.schema.valueOn : b, r = (b) => b != null && i.schema.valueOn ? b ? i.schema.valueOn : i.schema.valueOff : b, d = ut(i), { getFieldID: u, value: p, clearValidationErrors: f } = qe.useAbstractFields({
4504
+ const i = e, a = n, { t: o } = ke("en-us", Re), s = (b) => b != null && i.schema.valueOn ? b === i.schema.valueOn : b, r = (b) => b != null && i.schema.valueOn ? b ? i.schema.valueOn : i.schema.valueOff : b, d = ut(i), { getFieldID: u, value: p, clearValidationErrors: f } = xe.useAbstractFields({
4506
4505
  model: d.model,
4507
4506
  schema: i.schema,
4508
4507
  formOptions: i.formOptions,
@@ -4514,17 +4513,17 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4514
4513
  });
4515
4514
  return t({
4516
4515
  clearValidationErrors: f
4517
- }), (b, k) => {
4518
- const q = D("KInputSwitch");
4516
+ }), (b, F) => {
4517
+ const x = D("KInputSwitch");
4519
4518
  return c(), _("div", Lf, [
4520
- O(q, {
4521
- id: I(u)(e.schema),
4522
- modelValue: I(p),
4523
- "onUpdate:modelValue": k[0] || (k[0] = (h) => Et(p) ? p.value = h : null),
4519
+ C(x, {
4520
+ id: A(u)(e.schema),
4521
+ modelValue: A(p),
4522
+ "onUpdate:modelValue": F[0] || (F[0] = (h) => Et(p) ? p.value = h : null),
4524
4523
  autocomplete: e.schema.autocomplete,
4525
4524
  class: ee(e.schema.fieldClasses),
4526
4525
  disabled: e.disabled || void 0,
4527
- label: I(p) ? e.schema.textOn || I(o)("vfg.labels.on") : e.schema.textOff || I(o)("vfg.labels.off"),
4526
+ label: A(p) ? e.schema.textOn || A(o)("vfg.labels.on") : e.schema.textOff || A(o)("vfg.labels.off"),
4528
4527
  "label-attributes": { info: e.schema.help },
4529
4528
  name: e.schema.inputName,
4530
4529
  required: e.schema.required || void 0
@@ -4572,7 +4571,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4572
4571
  },
4573
4572
  emits: ["modelUpdated"],
4574
4573
  setup(e, { expose: t, emit: n }) {
4575
- const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
4574
+ const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = xe.useAbstractFields({
4576
4575
  model: o.model,
4577
4576
  schema: i.schema,
4578
4577
  formOptions: i.formOptions,
@@ -4586,13 +4585,13 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4586
4585
  const f = (b) => {
4587
4586
  p.value = b, r(b, b);
4588
4587
  };
4589
- return (b, k) => {
4590
- const q = D("KTextArea");
4588
+ return (b, F) => {
4589
+ const x = D("KTextArea");
4591
4590
  return c(), _("div", Pf, [
4592
- O(q, et(b.$attrs, {
4593
- id: I(d)(e.schema),
4594
- modelValue: I(p),
4595
- "onUpdate:modelValue": k[0] || (k[0] = (h) => Et(p) ? p.value = h : null),
4591
+ C(x, et(b.$attrs, {
4592
+ id: A(d)(e.schema),
4593
+ modelValue: A(p),
4594
+ "onUpdate:modelValue": F[0] || (F[0] = (h) => Et(p) ? p.value = h : null),
4596
4595
  autosize: "",
4597
4596
  "character-limit": e.schema.max ?? !1,
4598
4597
  class: e.schema.fieldClasses,
@@ -4606,10 +4605,10 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4606
4605
  resizable: "",
4607
4606
  rows: e.schema.rows || 3
4608
4607
  }), null, 16, ["id", "modelValue", "character-limit", "class", "disabled", "help", "minlength", "name", "placeholder", "readonly", "required", "rows"]),
4609
- (c(), U(me(I(s)), {
4608
+ (c(), U(me(A(s)), {
4610
4609
  schema: e.schema,
4611
4610
  update: f,
4612
- value: I(p)
4611
+ value: A(p)
4613
4612
  }, null, 8, ["schema", "value"]))
4614
4613
  ]);
4615
4614
  };
@@ -4764,10 +4763,10 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4764
4763
  return e ? e.replace(/^[cC]onfig\./, "") : "";
4765
4764
  }
4766
4765
  }
4767
- }, qf = ["innerHTML"], Kf = { class: "icon-wrapper" }, Bf = {
4766
+ }, xf = ["innerHTML"], qf = { class: "icon-wrapper" }, Kf = {
4768
4767
  key: 0,
4769
4768
  class: "link-wrapper"
4770
- }, zf = { class: "field-wrap" }, xf = {
4769
+ }, Bf = { class: "field-wrap" }, zf = {
4771
4770
  key: 0,
4772
4771
  class: "buttons"
4773
4772
  }, Hf = ["type", "onClick", "textContent"], Yf = {
@@ -4794,35 +4793,34 @@ function Wf(e, t, n, i, a, o) {
4794
4793
  tooltipId: o.getTooltipId(n.field)
4795
4794
  } : void 0
4796
4795
  }, cn({
4797
- default: M(() => [
4798
- m("div", Kf, [
4796
+ default: E(() => [
4797
+ m("div", qf, [
4799
4798
  m("span", null, L(o.formattedLabel(n.field.label)), 1)
4800
4799
  ]),
4801
- n.field.link ? (c(), _("div", Bf, [
4802
- O(s, {
4800
+ n.field.link ? (c(), _("div", Kf, [
4801
+ C(s, {
4803
4802
  href: n.field.link
4804
4803
  }, {
4805
- default: M(() => t[0] || (t[0] = [
4804
+ default: E(() => [...t[0] || (t[0] = [
4806
4805
  m("span", { class: "section-header" }, "More info", -1)
4807
- ])),
4808
- _: 1,
4809
- __: [0]
4806
+ ])]),
4807
+ _: 1
4810
4808
  }, 8, ["href"])
4811
- ])) : B("", !0)
4809
+ ])) : K("", !0)
4812
4810
  ]),
4813
4811
  _: 2
4814
4812
  }, [
4815
4813
  n.options.helpAsHtml && n.field.help ? {
4816
4814
  name: "tooltip",
4817
- fn: M(() => [
4815
+ fn: E(() => [
4818
4816
  m("div", {
4819
4817
  innerHTML: o.sanitize(n.field.help)
4820
- }, null, 8, qf)
4818
+ }, null, 8, xf)
4821
4819
  ]),
4822
4820
  key: "0"
4823
4821
  } : void 0
4824
- ]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
4825
- m("div", zf, [
4822
+ ]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : K("", !0),
4823
+ m("div", Bf, [
4826
4824
  (c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
4827
4825
  ref: "child",
4828
4826
  disabled: e.fieldDisabled(n.field) || null,
@@ -4835,7 +4833,7 @@ function Wf(e, t, n, i, a, o) {
4835
4833
  onRefreshModel: o.onRefreshModel,
4836
4834
  onValidated: o.onFieldValidated
4837
4835
  }), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
4838
- o.buttonVisibility(n.field) ? (c(), _("div", xf, [
4836
+ o.buttonVisibility(n.field) ? (c(), _("div", zf, [
4839
4837
  (c(!0), _(Y, null, oe(n.field.buttons, (d, u) => (c(), _("button", {
4840
4838
  key: u,
4841
4839
  class: ee(d.classes),
@@ -4843,12 +4841,12 @@ function Wf(e, t, n, i, a, o) {
4843
4841
  onClick: (p) => o.buttonClickHandler(d, n.field, p),
4844
4842
  textContent: L(d.label)
4845
4843
  }, null, 10, Hf))), 128))
4846
- ])) : B("", !0)
4844
+ ])) : K("", !0)
4847
4845
  ]),
4848
- n.field.hint && n.field.type !== "input" ? (c(), _("div", Yf, L(o.fieldHint(n.field)), 1)) : B("", !0),
4846
+ n.field.hint && n.field.type !== "input" ? (c(), _("div", Yf, L(o.fieldHint(n.field)), 1)) : K("", !0),
4849
4847
  o.fieldErrors(n.field).length > 0 ? (c(), _("div", Gf, [
4850
4848
  (c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u }, L(d), 1))), 128))
4851
- ])) : B("", !0)
4849
+ ])) : K("", !0)
4852
4850
  ], 2);
4853
4851
  }
4854
4852
  const Io = /* @__PURE__ */ W(jf, [["render", Wf], ["__scopeId", "data-v-fe02085f"]]);
@@ -4894,22 +4892,22 @@ const Zf = (e) => {
4894
4892
  formatter: n,
4895
4893
  order: 3
4896
4894
  }
4897
- }, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } = Go(), d = z(() => Object.entries(a.configFields).map(([f, b]) => {
4898
- var k, q, h, A;
4895
+ }, a = e, o = (f) => f != null, s = (f, b) => o(b) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: r } = Go(), d = B(() => Object.entries(a.configFields).map(([f, b]) => {
4896
+ var F, x, h, M;
4899
4897
  return {
4900
4898
  key: f,
4901
- label: ((k = i[f]) == null ? void 0 : k.label) ?? r(f),
4902
- value: (q = i[f]) != null && q.formatter ? i[f].formatter(b) : b,
4899
+ label: ((F = i[f]) == null ? void 0 : F.label) ?? r(f),
4900
+ value: (x = i[f]) != null && x.formatter ? i[f].formatter(b) : b,
4903
4901
  type: ((h = i[f]) == null ? void 0 : h.type) ?? s(f, b),
4904
- order: ((A = i[f]) == null ? void 0 : A.order) ?? 100
4902
+ order: ((M = i[f]) == null ? void 0 : M.order) ?? 100
4905
4903
  // attrs: value.attrs,
4906
4904
  };
4907
- }).sort((f, b) => f.order - b.order).filter((f) => f.type !== "hidden")), u = qe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), p = z(() => d.value.concat(u));
4905
+ }).sort((f, b) => f.order - b.order).filter((f) => f.type !== "hidden")), u = xe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), p = B(() => d.value.concat(u));
4908
4906
  return (f, b) => {
4909
- const k = D("KCopy");
4907
+ const F = D("KCopy");
4910
4908
  return c(), _("div", Jf, [
4911
- (c(!0), _(Y, null, oe(p.value, ({ key: q, label: h, value: A, type: C }) => (c(), _("div", {
4912
- key: q,
4909
+ (c(!0), _(Y, null, oe(p.value, ({ key: x, label: h, value: M, type: I }) => (c(), _("div", {
4910
+ key: x,
4913
4911
  class: "partial-config-card-row"
4914
4912
  }, [
4915
4913
  m("div", Qf, [
@@ -4917,24 +4915,24 @@ const Zf = (e) => {
4917
4915
  ]),
4918
4916
  m("div", {
4919
4917
  class: "config-card-row-value",
4920
- "data-testid": `${q}-property-value`
4918
+ "data-testid": `${x}-property-value`
4921
4919
  }, [
4922
- o(A) ? (c(), _("div", ih, [
4923
- C === "password" ? (c(), _("div", {
4920
+ o(M) ? (c(), _("div", ih, [
4921
+ I === "password" ? (c(), _("div", {
4924
4922
  key: 0,
4925
- "data-testid": `${q}-copy-password`
4923
+ "data-testid": `${x}-copy-password`
4926
4924
  }, [
4927
- O(k, {
4925
+ C(F, {
4928
4926
  format: "redacted",
4929
- text: String(A)
4927
+ text: String(M)
4930
4928
  }, null, 8, ["text"])
4931
4929
  ], 8, ah)) : (c(), _("div", {
4932
4930
  key: 1,
4933
- "data-testid": `${q}-plain-text`
4934
- }, L(A), 9, oh))
4931
+ "data-testid": `${x}-plain-text`
4932
+ }, L(M), 9, oh))
4935
4933
  ])) : (c(), _("div", {
4936
4934
  key: 0,
4937
- "data-testid": `${q}-no-value`
4935
+ "data-testid": `${x}-no-value`
4938
4936
  }, " – ", 8, nh))
4939
4937
  ], 8, th)
4940
4938
  ]))), 128))
@@ -4999,20 +4997,20 @@ const Zf = (e) => {
4999
4997
  } = Zo(r, i[r.app].getAll, hh, {
5000
4998
  fetchedItemsKey: "data",
5001
4999
  searchKeys: ["id", "name"]
5002
- }), k = z(() => p.value ? s(p.value) : ""), q = (N) => {
5000
+ }), F = B(() => p.value ? s(p.value) : ""), x = (N) => {
5003
5001
  let T = `${r.apiBaseUrl}${i[r.app].getOne}`;
5004
5002
  return r.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (r == null ? void 0 : r.controlPlaneId) || "") : r.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, r != null && r.workspace ? `/${r.workspace}` : "")), T = T.replace(/{id}/gi, String(N)), T;
5005
- }, h = z(() => {
5003
+ }, h = B(() => {
5006
5004
  const N = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Zf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
5007
5005
  return a.redisType !== "all" ? N.filter((T) => T.type === a.redisType) : N;
5008
- }), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (N) => {
5006
+ }), { axiosInstance: M } = Xo(r == null ? void 0 : r.axiosRequestConfig), I = async (N) => {
5009
5007
  if (N) {
5010
5008
  a.updateRedisModel(N);
5011
5009
  try {
5012
- const T = await A.get(q(N));
5010
+ const T = await M.get(x(N));
5013
5011
  if (T.data.config) {
5014
- const F = Object.assign(T.data, T.data.config);
5015
- delete F.config, o.value = F;
5012
+ const O = Object.assign(T.data, T.data.config);
5013
+ delete O.config, o.value = O;
5016
5014
  }
5017
5015
  } catch (T) {
5018
5016
  console.error(T);
@@ -5022,67 +5020,67 @@ const Zf = (e) => {
5022
5020
  return mn(() => n == null ? void 0 : n.value, async (N) => {
5023
5021
  N && await f();
5024
5022
  }), Jn(() => {
5025
- f(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
5023
+ f(), a.defaultRedisConfigItem && I(a.defaultRedisConfigItem);
5026
5024
  }), (N, T) => {
5027
- const F = D("KLabel"), y = D("KBadge"), v = D("KSelect");
5025
+ const O = D("KLabel"), v = D("KBadge"), y = D("KSelect");
5028
5026
  return c(), _(Y, null, [
5029
5027
  m("div", lh, [
5030
- O(F, {
5031
- info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
5028
+ C(O, {
5029
+ info: e.isCustomPlugin ? A(t)("redis.custom_plugin.tooltip") : A(t)("redis.shared_configuration.tooltip", { type: A(Sa)(e.redisType) }),
5032
5030
  "tooltip-attributes": {
5033
5031
  maxWidth: "300",
5034
5032
  placement: "top"
5035
5033
  }
5036
5034
  }, {
5037
- default: M(() => [
5038
- ce(L(I(t)("redis.shared_configuration.title")), 1)
5035
+ default: E(() => [
5036
+ ce(L(A(t)("redis.shared_configuration.title")), 1)
5039
5037
  ]),
5040
5038
  _: 1
5041
5039
  }, 8, ["info"]),
5042
5040
  T[2] || (T[2] = m("div", { class: "shared-redis-config-title" }, null, -1)),
5043
- O(v, {
5041
+ C(y, {
5044
5042
  class: "redis-config-select-trigger",
5045
5043
  "data-testid": "redis-config-select-trigger",
5046
5044
  "enable-filtering": "",
5047
5045
  "filter-function": () => !0,
5048
5046
  items: h.value,
5049
- loading: I(u),
5047
+ loading: A(u),
5050
5048
  "model-value": e.defaultRedisConfigItem,
5051
- placeholder: I(t)("redis.shared_configuration.selector.placeholder"),
5052
- onChange: T[1] || (T[1] = (g) => C(g == null ? void 0 : g.value)),
5053
- onQueryChange: I(d)
5049
+ placeholder: A(t)("redis.shared_configuration.selector.placeholder"),
5050
+ onChange: T[1] || (T[1] = (g) => I(g == null ? void 0 : g.value)),
5051
+ onQueryChange: A(d)
5054
5052
  }, {
5055
- "selected-item-template": M(({ item: g }) => [
5053
+ "selected-item-template": E(({ item: g }) => [
5056
5054
  m("div", dh, L(g.name), 1)
5057
5055
  ]),
5058
- "item-template": M(({ item: g }) => [
5056
+ "item-template": E(({ item: g }) => [
5059
5057
  m("div", {
5060
5058
  class: "plugin-form-redis-configuration-dropdown-item",
5061
5059
  "data-testid": `redis-configuration-dropdown-item-${g.name}`
5062
5060
  }, [
5063
5061
  m("span", ch, L(g.name), 1),
5064
- O(y, {
5062
+ C(v, {
5065
5063
  appearance: "info",
5066
5064
  class: "select-item-label"
5067
5065
  }, {
5068
- default: M(() => [
5066
+ default: E(() => [
5069
5067
  ce(L(g.tag), 1)
5070
5068
  ]),
5071
5069
  _: 2
5072
5070
  }, 1024)
5073
5071
  ], 8, uh)
5074
5072
  ]),
5075
- empty: M(() => [
5076
- m("div", mh, L(I(t)("redis.shared_configuration.empty_state")), 1)
5073
+ empty: E(() => [
5074
+ m("div", mh, L(A(t)("redis.shared_configuration.empty_state")), 1)
5077
5075
  ]),
5078
- "dropdown-footer-text": M(() => [
5076
+ "dropdown-footer-text": E(() => [
5079
5077
  m("div", {
5080
5078
  class: "new-redis-config-area",
5081
5079
  "data-testid": "new-redis-config-area",
5082
5080
  onClick: T[0] || (T[0] = (g) => N.$emit("showNewPartialModal"))
5083
5081
  }, [
5084
- O(I(Qn), { size: I(Vc) }, null, 8, ["size"]),
5085
- m("span", null, L(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
5082
+ C(A(Qn), { size: A(Vc) }, null, 8, ["size"]),
5083
+ m("span", null, L(A(t)("redis.shared_configuration.create_new_configuration", { type: A(Sa)(e.redisType) })), 1)
5086
5084
  ])
5087
5085
  ]),
5088
5086
  _: 1
@@ -5092,8 +5090,8 @@ const Zf = (e) => {
5092
5090
  key: 0,
5093
5091
  "config-fields": o.value,
5094
5092
  "plugin-redis-fields": e.pluginRedisFields
5095
- }, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
5096
- k.value ? (c(), _("p", fh, L(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
5093
+ }, null, 8, ["config-fields", "plugin-redis-fields"])) : K("", !0),
5094
+ F.value ? (c(), _("p", fh, L(F.value || A(t)("redis.shared_configuration.error")), 1)) : K("", !0)
5097
5095
  ], 64);
5098
5096
  };
5099
5097
  }
@@ -5154,105 +5152,105 @@ const Zf = (e) => {
5154
5152
  },
5155
5153
  emits: ["modelUpdated", "partialToggled", "showNewPartialModal", "refreshModel", "validated"],
5156
5154
  setup(e, { emit: t }) {
5157
- const n = e, i = t, { t: a } = ke("en-us", Re), o = z(() => n.field.pluginType === "custom"), s = ae(!n.isEditing), r = ae(), d = ae({}), u = ae(), p = (h) => X(h.visible) ? h.visible.call(this, n.model, h, this) : de(h.visible) ? !0 : h.visible, f = async (h) => {
5155
+ const n = e, i = t, { t: a } = ke("en-us", Re), o = B(() => n.field.pluginType === "custom"), s = ae(!n.isEditing), r = ae(), d = ae({}), u = ae(), p = (h) => X(h.visible) ? h.visible.call(this, n.model, h, this) : de(h.visible) ? !0 : h.visible, f = async (h) => {
5158
5156
  i("modelUpdated", [{ id: h, path: n.redisPath }], "partials"), u.value = [{ id: h, path: n.redisPath }], r.value = h;
5159
- }, b = (h, A) => {
5160
- d.value = { ...d.value, [A]: h }, i("modelUpdated", h, A);
5161
- }, k = () => {
5157
+ }, b = (h, M) => {
5158
+ d.value = { ...d.value, [M]: h }, i("modelUpdated", h, M);
5159
+ }, F = () => {
5162
5160
  i("refreshModel");
5163
- }, q = (h, A, C) => {
5164
- i("validated", h, A, C);
5161
+ }, x = (h, M, I) => {
5162
+ i("validated", h, M, I);
5165
5163
  };
5166
5164
  return mn(() => s.value, (h) => {
5167
5165
  h ? u.value && i("partialToggled", "redis", { partials: u.value }) : i("partialToggled", "partials", d.value);
5168
5166
  }), Jn(() => {
5169
- var h, A, C;
5170
- if (n.model && (d.value = n.field.fields.reduce((N, T) => (Object.keys(n.model).includes(T.model) && (N[T.model] = n.model[T.model]), N), {})), (C = (A = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : A[0]) != null && C.id) {
5167
+ var h, M, I;
5168
+ if (n.model && (d.value = n.field.fields.reduce((N, T) => (Object.keys(n.model).includes(T.model) && (N[T.model] = n.model[T.model]), N), {})), (I = (M = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : M[0]) != null && I.id) {
5171
5169
  const N = n.model.partials[0].id;
5172
5170
  s.value = !0, r.value = N;
5173
5171
  }
5174
- }), (h, A) => {
5175
- const C = D("KAlert"), N = D("KBadge"), T = D("KRadio"), F = D("KCard");
5172
+ }), (h, M) => {
5173
+ const I = D("KAlert"), N = D("KBadge"), T = D("KRadio"), O = D("KCard");
5176
5174
  return c(), _("div", null, [
5177
5175
  o.value ? (c(), _("div", gh, [
5178
- O(C, {
5176
+ C(I, {
5179
5177
  "data-testid": "custom-plugin-redis-config-note",
5180
- message: I(a)("redis.custom_plugin.alert")
5178
+ message: A(a)("redis.custom_plugin.alert")
5181
5179
  }, null, 8, ["message"]),
5182
- O(wa, {
5180
+ C(wa, {
5183
5181
  "default-redis-config-item": r.value,
5184
5182
  "is-custom-plugin": "",
5185
5183
  "plugin-redis-fields": e.field.fields,
5186
5184
  "update-redis-model": f,
5187
- onShowNewPartialModal: A[0] || (A[0] = (y) => h.$emit("showNewPartialModal"))
5185
+ onShowNewPartialModal: M[0] || (M[0] = (v) => h.$emit("showNewPartialModal"))
5188
5186
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields"])
5189
- ])) : (c(), U(F, {
5187
+ ])) : (c(), U(O, {
5190
5188
  key: 1,
5191
5189
  class: "redis-config-card",
5192
5190
  "data-testid": "redis-config-card",
5193
- title: I(a)("redis.title")
5191
+ title: A(a)("redis.title")
5194
5192
  }, {
5195
- default: M(() => [
5193
+ default: E(() => [
5196
5194
  m("div", yh, [
5197
- O(T, {
5195
+ C(T, {
5198
5196
  modelValue: s.value,
5199
- "onUpdate:modelValue": A[1] || (A[1] = (y) => s.value = y),
5197
+ "onUpdate:modelValue": M[1] || (M[1] = (v) => s.value = v),
5200
5198
  card: "",
5201
5199
  "card-orientation": "horizontal",
5202
5200
  "data-testid": "shared-redis-config-radio",
5203
- description: I(a)("redis.shared_configuration.description"),
5204
- label: I(a)("redis.shared_configuration.label"),
5201
+ description: A(a)("redis.shared_configuration.description"),
5202
+ label: A(a)("redis.shared_configuration.label"),
5205
5203
  "selected-value": !0
5206
5204
  }, {
5207
- default: M(() => [
5208
- O(N, { appearance: "success" }, {
5209
- default: M(() => [
5210
- ce(L(I(a)("redis.shared_configuration.badge")), 1)
5205
+ default: E(() => [
5206
+ C(N, { appearance: "success" }, {
5207
+ default: E(() => [
5208
+ ce(L(A(a)("redis.shared_configuration.badge")), 1)
5211
5209
  ]),
5212
5210
  _: 1
5213
5211
  })
5214
5212
  ]),
5215
5213
  _: 1
5216
5214
  }, 8, ["modelValue", "description", "label"]),
5217
- O(T, {
5215
+ C(T, {
5218
5216
  modelValue: s.value,
5219
- "onUpdate:modelValue": A[2] || (A[2] = (y) => s.value = y),
5217
+ "onUpdate:modelValue": M[2] || (M[2] = (v) => s.value = v),
5220
5218
  card: "",
5221
5219
  "card-orientation": "horizontal",
5222
5220
  "data-testid": "dedicated-redis-config-radio",
5223
- description: I(a)("redis.dedicated_configuration.description"),
5224
- label: I(a)("redis.dedicated_configuration.label"),
5221
+ description: A(a)("redis.dedicated_configuration.description"),
5222
+ label: A(a)("redis.dedicated_configuration.label"),
5225
5223
  "selected-value": !1
5226
5224
  }, null, 8, ["modelValue", "description", "label"])
5227
5225
  ]),
5228
5226
  s.value ? (c(), _("div", vh, [
5229
- O(wa, {
5227
+ C(wa, {
5230
5228
  "default-redis-config-item": r.value,
5231
5229
  "plugin-redis-fields": e.field.fields,
5232
5230
  "redis-type": e.field.redisType,
5233
5231
  "update-redis-model": f,
5234
- onShowNewPartialModal: A[3] || (A[3] = (y) => h.$emit("showNewPartialModal"))
5232
+ onShowNewPartialModal: M[3] || (M[3] = (v) => h.$emit("showNewPartialModal"))
5235
5233
  }, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
5236
5234
  ])) : (c(), _("div", bh, [
5237
- m("div", _h, L(I(a)("redis.dedicated_configuration.title")), 1),
5235
+ m("div", _h, L(A(a)("redis.dedicated_configuration.title")), 1),
5238
5236
  (c(), U(me(e.tag), null, {
5239
- default: M(() => [
5240
- (c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
5241
- key: y.model
5237
+ default: E(() => [
5238
+ (c(!0), _(Y, null, oe(e.field.fields, (v) => (c(), _(Y, {
5239
+ key: v.model
5242
5240
  }, [
5243
- p(y) ? (c(), U(Io, {
5241
+ p(v) ? (c(), U(Io, {
5244
5242
  key: 0,
5245
5243
  ref_for: !0,
5246
5244
  ref: "children",
5247
5245
  errors: e.errors,
5248
- field: y,
5246
+ field: v,
5249
5247
  model: e.model,
5250
5248
  options: e.options,
5251
5249
  vfg: e.vfg,
5252
5250
  onModelUpdated: b,
5253
- onRefreshModel: k,
5254
- onValidated: q
5255
- }, null, 8, ["errors", "field", "model", "options", "vfg"])) : B("", !0)
5251
+ onRefreshModel: F,
5252
+ onValidated: x
5253
+ }, null, 8, ["errors", "field", "model", "options", "vfg"])) : K("", !0)
5256
5254
  ], 64))), 128))
5257
5255
  ]),
5258
5256
  _: 1
@@ -5436,7 +5434,7 @@ function Ah(e, t, n, i, a, o) {
5436
5434
  const s = D("form-redis"), r = D("form-group"), d = D("KCollapse");
5437
5435
  return n.schema != null ? (c(), _("div", Eh, [
5438
5436
  n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
5439
- default: M(() => [
5437
+ default: E(() => [
5440
5438
  (c(!0), _(Y, null, oe(o.fields, (u) => (c(), _(Y, {
5441
5439
  key: u.model
5442
5440
  }, [
@@ -5465,11 +5463,11 @@ function Ah(e, t, n, i, a, o) {
5465
5463
  onModelUpdated: o.onModelUpdated,
5466
5464
  onRefreshModel: o.onRefreshModel,
5467
5465
  onValidated: o.onFieldValidated
5468
- }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : B("", !0)
5466
+ }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : K("", !0)
5469
5467
  ], 64))), 128))
5470
5468
  ]),
5471
5469
  _: 1
5472
- })) : B("", !0),
5470
+ })) : K("", !0),
5473
5471
  (c(!0), _(Y, null, oe(o.groups, (u, p) => (c(), _(Y, {
5474
5472
  key: `group-${p}`
5475
5473
  }, [
@@ -5479,15 +5477,15 @@ function Ah(e, t, n, i, a, o) {
5479
5477
  "model-value": !1,
5480
5478
  title: u.collapsible.title
5481
5479
  }, cn({
5482
- default: M(() => {
5483
- var f, b, k, q;
5480
+ default: E(() => {
5481
+ var f, b, F, x;
5484
5482
  return [
5485
- (f = u.slots) != null && f.beforeContent ? Oe(e.$slots, (b = u.slots) == null ? void 0 : b.beforeContent, { key: 0 }) : B("", !0),
5486
- u.fields.length === 0 && ((k = u.slots) != null && k.emptyState) ? Oe(e.$slots, (q = u.slots) == null ? void 0 : q.emptyState, { key: 1 }) : (c(), U(me(n.tag), {
5483
+ (f = u.slots) != null && f.beforeContent ? Oe(e.$slots, (b = u.slots) == null ? void 0 : b.beforeContent, { key: 0 }) : K("", !0),
5484
+ u.fields.length === 0 && ((F = u.slots) != null && F.emptyState) ? Oe(e.$slots, (x = u.slots) == null ? void 0 : x.emptyState, { key: 1 }) : (c(), U(me(n.tag), {
5487
5485
  key: 2,
5488
5486
  class: ee(e.getFieldRowClasses(u))
5489
5487
  }, {
5490
- default: M(() => [
5488
+ default: E(() => [
5491
5489
  (c(!0), _(Y, null, oe(u.fields, (h) => (c(), _(Y, {
5492
5490
  key: h.model
5493
5491
  }, [
@@ -5503,7 +5501,7 @@ function Ah(e, t, n, i, a, o) {
5503
5501
  onModelUpdated: o.onModelUpdated,
5504
5502
  onRefreshModel: o.onRefreshModel,
5505
5503
  onValidated: o.onFieldValidated
5506
- }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : B("", !0)
5504
+ }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : K("", !0)
5507
5505
  ], 64))), 128))
5508
5506
  ]),
5509
5507
  _: 2
@@ -5516,11 +5514,11 @@ function Ah(e, t, n, i, a, o) {
5516
5514
  "trigger-label": a.collapseStates[`group-${p}-nested`] ?? !0 ? u.collapsible.nestedCollapsible.triggerLabel.expand : u.collapsible.nestedCollapsible.triggerLabel.collapse,
5517
5515
  "onUpdate:modelValue": (h) => a.collapseStates[`group-${p}-nested`] = h
5518
5516
  }, {
5519
- default: M(() => [
5517
+ default: E(() => [
5520
5518
  (c(), U(me(n.tag), {
5521
5519
  class: ee(e.getFieldRowClasses(u))
5522
5520
  }, {
5523
- default: M(() => [
5521
+ default: E(() => [
5524
5522
  (c(!0), _(Y, null, oe(u.collapsible.nestedCollapsible.fields, (h) => (c(), _(Y, {
5525
5523
  key: h.model
5526
5524
  }, [
@@ -5535,7 +5533,7 @@ function Ah(e, t, n, i, a, o) {
5535
5533
  vfg: a.vfg,
5536
5534
  onModelUpdated: o.onModelUpdated,
5537
5535
  onPartialToggled: o.onPartialToggled,
5538
- onShowNewPartialModal: (A) => e.$emit("showNewPartialModal", h.redisType),
5536
+ onShowNewPartialModal: (M) => e.$emit("showNewPartialModal", h.redisType),
5539
5537
  onValidated: o.onFieldValidated
5540
5538
  }, null, 8, ["errors", "field", "is-editing", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : o.fieldVisible(h) ? (c(), U(r, {
5541
5539
  key: 1,
@@ -5549,21 +5547,21 @@ function Ah(e, t, n, i, a, o) {
5549
5547
  onModelUpdated: o.onModelUpdated,
5550
5548
  onRefreshModel: o.onRefreshModel,
5551
5549
  onValidated: o.onFieldValidated
5552
- }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : B("", !0)
5550
+ }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : K("", !0)
5553
5551
  ], 64))), 128))
5554
5552
  ]),
5555
5553
  _: 2
5556
5554
  }, 1032, ["class"]))
5557
5555
  ]),
5558
5556
  _: 2
5559
- }, 1032, ["model-value", "trigger-label", "onUpdate:modelValue"])) : B("", !0)
5557
+ }, 1032, ["model-value", "trigger-label", "onUpdate:modelValue"])) : K("", !0)
5560
5558
  ];
5561
5559
  }),
5562
5560
  _: 2
5563
5561
  }, [
5564
5562
  u.collapsible.description ? {
5565
5563
  name: "visible-content",
5566
- fn: M(() => [
5564
+ fn: E(() => [
5567
5565
  ce(L(u.collapsible.description), 1)
5568
5566
  ]),
5569
5567
  key: "0"
@@ -5572,8 +5570,8 @@ function Ah(e, t, n, i, a, o) {
5572
5570
  key: 1,
5573
5571
  class: ee(e.getFieldRowClasses(u))
5574
5572
  }, {
5575
- default: M(() => [
5576
- u.legend ? (c(), _("legend", Mh, L(u.legend), 1)) : B("", !0),
5573
+ default: E(() => [
5574
+ u.legend ? (c(), _("legend", Mh, L(u.legend), 1)) : K("", !0),
5577
5575
  (c(!0), _(Y, null, oe(u.fields, (f) => (c(), _(Y, {
5578
5576
  key: f.model
5579
5577
  }, [
@@ -5589,13 +5587,13 @@ function Ah(e, t, n, i, a, o) {
5589
5587
  onModelUpdated: o.onModelUpdated,
5590
5588
  onRefreshModel: o.onRefreshModel,
5591
5589
  onValidated: o.onFieldValidated
5592
- }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : B("", !0)
5590
+ }, null, 8, ["errors", "field", "model", "options", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])) : K("", !0)
5593
5591
  ], 64))), 128))
5594
5592
  ]),
5595
5593
  _: 2
5596
5594
  }, 1032, ["class"]))
5597
5595
  ], 64))), 128))
5598
- ])) : B("", !0);
5596
+ ])) : K("", !0);
5599
5597
  }
5600
5598
  const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
5601
5599
  openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
@@ -5723,7 +5721,7 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
5723
5721
  }, this.authFieldsSchema = {
5724
5722
  fields: Array.from(Ma).reduce((a, o) => (t[o] && a.push(t[o]), a), [])
5725
5723
  };
5726
- const { redis: n, redisModels: i } = qe.useRedisPartial(this.formSchema);
5724
+ const { redis: n, redisModels: i } = xe.useRedisPartial(this.formSchema);
5727
5725
  this.advancedFieldsSchema = {
5728
5726
  fields: this.formSchema.fields.filter(
5729
5727
  (a) => a.model.startsWith("config") && a.model !== "config-auth_methods" && !Ea.has(a.model) && !Ma.has(a.model) && (!this.enableRedisPartial || !i.includes(a.model)) || a.model === "tags"
@@ -5833,17 +5831,16 @@ function Nh(e, t, n, i, a, o) {
5833
5831
  options: n.formOptions,
5834
5832
  schema: a.globalFields,
5835
5833
  onModelUpdated: n.onModelUpdated
5836
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
5837
- O(f, { tabs: a.tabs }, {
5838
- common: M(() => [
5834
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
5835
+ C(f, { tabs: a.tabs }, {
5836
+ common: E(() => [
5839
5837
  m("div", Ch, [
5840
5838
  m("div", Oh, [
5841
- O(r, { href: a.openIdConfigurationDocs }, {
5842
- default: M(() => t[2] || (t[2] = [
5839
+ C(r, { href: a.openIdConfigurationDocs }, {
5840
+ default: E(() => [...t[2] || (t[2] = [
5843
5841
  m("span", { class: "section-header" }, "Common Configuration Settings", -1)
5844
- ])),
5845
- _: 1,
5846
- __: [2]
5842
+ ])]),
5843
+ _: 1
5847
5844
  }, 8, ["href"])
5848
5845
  ]),
5849
5846
  t[4] || (t[4] = m("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)),
@@ -5853,32 +5850,31 @@ function Nh(e, t, n, i, a, o) {
5853
5850
  options: n.formOptions,
5854
5851
  schema: a.commonFieldsSchema,
5855
5852
  onModelUpdated: n.onModelUpdated
5856
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
5857
- O(d, null, {
5858
- default: M(() => t[3] || (t[3] = [
5853
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
5854
+ C(d, null, {
5855
+ default: E(() => [...t[3] || (t[3] = [
5859
5856
  ce("Auth Methods", -1)
5860
- ])),
5861
- _: 1,
5862
- __: [3]
5857
+ ])]),
5858
+ _: 1
5863
5859
  }),
5864
5860
  m("div", Fh, [
5865
5861
  (c(!0), _(Y, null, oe(a.authMethods, (b) => (c(), _("div", {
5866
5862
  key: b.value,
5867
5863
  class: "auth-method"
5868
5864
  }, [
5869
- O(u, {
5865
+ C(u, {
5870
5866
  modelValue: b.prop,
5871
- "onUpdate:modelValue": (k) => b.prop = k,
5872
- onChange: (k) => o.handleUpdate(k, b.value)
5867
+ "onUpdate:modelValue": (F) => b.prop = F,
5868
+ onChange: (F) => o.handleUpdate(F, b.value)
5873
5869
  }, {
5874
- default: M(() => [
5870
+ default: E(() => [
5875
5871
  ce(L(b.label), 1)
5876
5872
  ]),
5877
5873
  _: 2
5878
5874
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
5879
5875
  ]))), 128))
5880
5876
  ]),
5881
- O(p, {
5877
+ C(p, {
5882
5878
  modelValue: a.sessionManagement,
5883
5879
  "onUpdate:modelValue": t[0] || (t[0] = (b) => a.sessionManagement = b),
5884
5880
  label: "Enable Session Management",
@@ -5886,15 +5882,14 @@ function Nh(e, t, n, i, a, o) {
5886
5882
  }, null, 8, ["modelValue", "onChange"])
5887
5883
  ])
5888
5884
  ]),
5889
- authorization: M(() => [
5885
+ authorization: E(() => [
5890
5886
  m("div", kh, [
5891
5887
  m("div", Rh, [
5892
- O(r, { href: a.openIdAuthorizationDocs }, {
5893
- default: M(() => t[5] || (t[5] = [
5888
+ C(r, { href: a.openIdAuthorizationDocs }, {
5889
+ default: E(() => [...t[5] || (t[5] = [
5894
5890
  m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
5895
- ])),
5896
- _: 1,
5897
- __: [5]
5891
+ ])]),
5892
+ _: 1
5898
5893
  }, 8, ["href"])
5899
5894
  ]),
5900
5895
  t[6] || (t[6] = m("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)),
@@ -5905,22 +5900,21 @@ function Nh(e, t, n, i, a, o) {
5905
5900
  schema: a.authFieldsSchema,
5906
5901
  onModelUpdated: n.onModelUpdated
5907
5902
  }, {
5908
- "autofill-provider": M((b) => [
5909
- Oe(e.$slots, "autofill-provider", Bo(zo(b)), void 0, !0)
5903
+ "autofill-provider": E((b) => [
5904
+ Oe(e.$slots, "autofill-provider", Ko(Bo(b)), void 0, !0)
5910
5905
  ]),
5911
5906
  _: 3
5912
- }, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
5907
+ }, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0)
5913
5908
  ])
5914
5909
  ]),
5915
- advanced: M(() => [
5910
+ advanced: E(() => [
5916
5911
  m("div", Uh, [
5917
5912
  m("div", Lh, [
5918
- O(r, { href: a.openIdConnectLink }, {
5919
- default: M(() => t[7] || (t[7] = [
5913
+ C(r, { href: a.openIdConnectLink }, {
5914
+ default: E(() => [...t[7] || (t[7] = [
5920
5915
  m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
5921
- ])),
5922
- _: 1,
5923
- __: [7]
5916
+ ])]),
5917
+ _: 1
5924
5918
  }, 8, ["href"])
5925
5919
  ]),
5926
5920
  t[8] || (t[8] = m("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1)),
@@ -5934,7 +5928,7 @@ function Nh(e, t, n, i, a, o) {
5934
5928
  onModelUpdated: n.onModelUpdated,
5935
5929
  onPartialToggled: n.onPartialToggled,
5936
5930
  onShowNewPartialModal: t[1] || (t[1] = () => n.showNewPartialModal(n.formSchema._supported_redis_partial_type))
5937
- }, null, 8, ["enable-redis-partial", "is-editing", "model", "options", "schema", "onModelUpdated", "onPartialToggled"])) : B("", !0)
5931
+ }, null, 8, ["enable-redis-partial", "is-editing", "model", "options", "schema", "onModelUpdated", "onPartialToggled"])) : K("", !0)
5938
5932
  ])
5939
5933
  ]),
5940
5934
  _: 3
@@ -5968,8 +5962,8 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
5968
5962
  },
5969
5963
  setup(e) {
5970
5964
  var s;
5971
- zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
5972
- const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
5965
+ Bt(Le, (s = fn()) == null ? void 0 : s[Mt]);
5966
+ const { t, te: n } = ke("en-us", Re), i = e, a = B(() => i.formModel.id && i.isEditing || !i.isEditing), o = B(() => {
5973
5967
  const r = i.formSchema;
5974
5968
  return r.fields.map((d) => {
5975
5969
  const u = `post-function.${d.model}`;
@@ -5982,7 +5976,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
5982
5976
  options: e.formOptions,
5983
5977
  schema: o.value,
5984
5978
  onModelUpdated: e.onModelUpdated
5985
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
5979
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0);
5986
5980
  }
5987
5981
  }), $h = /* @__PURE__ */ W(Dh, [["__scopeId", "data-v-f54f37ae"]]), Vh = /* @__PURE__ */ he({
5988
5982
  __name: "ExitTransformer",
@@ -6011,8 +6005,8 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6011
6005
  },
6012
6006
  setup(e) {
6013
6007
  var s;
6014
- zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
6015
- const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
6008
+ Bt(Le, (s = fn()) == null ? void 0 : s[Mt]);
6009
+ const { t, te: n } = ke("en-us", Re), i = e, a = B(() => i.formModel.id && i.isEditing || !i.isEditing), o = B(() => {
6016
6010
  const r = i.formSchema;
6017
6011
  return r.fields.map((d) => {
6018
6012
  const u = `exit-transformer.${d.model}`;
@@ -6025,9 +6019,9 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6025
6019
  options: e.formOptions,
6026
6020
  schema: o.value,
6027
6021
  onModelUpdated: e.onModelUpdated
6028
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
6022
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0);
6029
6023
  }
6030
- }), jh = /* @__PURE__ */ W(Vh, [["__scopeId", "data-v-0d5c541f"]]), qh = {
6024
+ }), jh = /* @__PURE__ */ W(Vh, [["__scopeId", "data-v-0d5c541f"]]), xh = {
6031
6025
  fields: [
6032
6026
  {
6033
6027
  inputType: "text",
@@ -6062,7 +6056,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6062
6056
  disabled: !1
6063
6057
  }
6064
6058
  ]
6065
- }, Kh = {
6059
+ }, qh = {
6066
6060
  fields: [
6067
6061
  {
6068
6062
  type: "input",
@@ -6084,7 +6078,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6084
6078
  disabled: !1
6085
6079
  }
6086
6080
  ]
6087
- }, Bh = {
6081
+ }, Kh = {
6088
6082
  fields: [
6089
6083
  {
6090
6084
  type: "input",
@@ -6115,7 +6109,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6115
6109
  disabled: !1
6116
6110
  }
6117
6111
  ]
6118
- }, zh = { class: "general-settings" }, xh = { class: "sub-form" }, Hh = { class: "general-settings" }, Yh = { class: "sub-form" }, Gh = { class: "general-settings" }, Wh = /* @__PURE__ */ he({
6112
+ }, Bh = { class: "general-settings" }, zh = { class: "sub-form" }, Hh = { class: "general-settings" }, Yh = { class: "sub-form" }, Gh = { class: "general-settings" }, Wh = /* @__PURE__ */ he({
6119
6113
  __name: "ACMEForm",
6120
6114
  props: {
6121
6115
  formModel: {
@@ -6141,58 +6135,58 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6141
6135
  }
6142
6136
  },
6143
6137
  setup(e) {
6144
- var y;
6145
- zt(Le, (y = fn()) == null ? void 0 : y[Mt]);
6146
- const t = e, n = ae("zeroSsl"), i = ae("shm"), a = z(() => {
6138
+ var v;
6139
+ Bt(Le, (v = fn()) == null ? void 0 : v[Mt]);
6140
+ const t = e, n = ae("zeroSsl"), i = ae("shm"), a = B(() => {
6147
6141
  var g;
6148
- const v = {};
6142
+ const y = {};
6149
6143
  if ((g = t.formSchema) != null && g.fields)
6150
6144
  for (const V of t.formSchema.fields)
6151
- v[V.model] = V;
6152
- return v;
6153
- }), o = z(() => {
6145
+ y[V.model] = V;
6146
+ return y;
6147
+ }), o = B(() => {
6154
6148
  var g;
6155
- const v = We(qh);
6156
- for (const V of v.fields) {
6149
+ const y = We(xh);
6150
+ for (const V of y.fields) {
6157
6151
  const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
6158
6152
  V.help === void 0 && typeof Z == "string" && (V.help = Z);
6159
6153
  }
6160
- return v;
6161
- }), s = z(() => {
6154
+ return y;
6155
+ }), s = B(() => {
6162
6156
  var g;
6163
- const v = We(Kh);
6164
- for (const V of v.fields) {
6157
+ const y = We(qh);
6158
+ for (const V of y.fields) {
6165
6159
  const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
6166
6160
  V.help === void 0 && typeof Z == "string" && (V.help = Z);
6167
6161
  }
6168
- return v;
6169
- }), r = z(() => {
6162
+ return y;
6163
+ }), r = B(() => {
6170
6164
  var g;
6171
- const v = We(Bh);
6172
- for (const V of v.fields) {
6165
+ const y = We(Kh);
6166
+ for (const V of y.fields) {
6173
6167
  const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
6174
6168
  V.help === void 0 && typeof Z == "string" && (V.help = Z);
6175
6169
  }
6176
- return v;
6177
- }), d = z(() => ({
6178
- fields: t.formSchema.fields.filter((v) => !v.model.startsWith("config") && v.model !== "tags")
6179
- })), u = z(() => ({
6170
+ return y;
6171
+ }), d = B(() => ({
6172
+ fields: t.formSchema.fields.filter((y) => !y.model.startsWith("config") && y.model !== "tags")
6173
+ })), u = B(() => ({
6180
6174
  fields: o.value.fields.filter(
6181
6175
  (g) => !s.value.fields.some((V) => V.model === g.model) && !r.value.fields.some((V) => V.model === g.model)
6182
6176
  )
6183
- })), p = z(() => ({
6177
+ })), p = B(() => ({
6184
6178
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config-storage") && !g.model.startsWith("config-storage_config-consul") && !g.model.startsWith("config-storage_config-redis") && !g.model.startsWith("config-storage_config-shm") && !g.model.startsWith("config-storage_config-vault"))
6185
- })), f = z(() => ({
6179
+ })), f = B(() => ({
6186
6180
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config-storage_config-consul"))
6187
- })), b = z(() => ({
6181
+ })), b = B(() => ({
6188
6182
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config-storage_config-redis"))
6189
- })), k = z(() => ({
6183
+ })), F = B(() => ({
6190
6184
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config-storage_config-shm"))
6191
- })), q = z(() => ({
6185
+ })), x = B(() => ({
6192
6186
  fields: t.formSchema.fields.filter((g) => g.model.startsWith("config-storage_config-vault"))
6193
- })), h = z(() => ({
6194
- fields: t.formSchema.fields.filter((v) => v.model.startsWith("config") && !u.value.fields.filter((g) => g.model === v.model).length && !p.value.fields.filter((g) => g.model === v.model).length || v.model === "tags")
6195
- })), A = z(() => t.formModel.id && t.isEditing || !t.isEditing), C = [
6187
+ })), h = B(() => ({
6188
+ fields: t.formSchema.fields.filter((y) => y.model.startsWith("config") && !u.value.fields.filter((g) => g.model === y.model).length && !p.value.fields.filter((g) => g.model === y.model).length || y.model === "tags")
6189
+ })), M = B(() => t.formModel.id && t.isEditing || !t.isEditing), I = [
6196
6190
  {
6197
6191
  hash: "#general",
6198
6192
  title: "General"
@@ -6223,12 +6217,12 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6223
6217
  Xn(() => {
6224
6218
  n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
6225
6219
  });
6226
- const T = (v) => {
6227
- n.value = v.value, (v.value === "zeroSsl" || v.value === "other") && (v.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), v.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();
6228
- }, F = (v, g) => {
6229
- g === "config-storage" && (i.value = v), t.onModelUpdated();
6220
+ const T = (y) => {
6221
+ n.value = y.value, (y.value === "zeroSsl" || y.value === "other") && (y.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), y.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();
6222
+ }, O = (y, g) => {
6223
+ g === "config-storage" && (i.value = y), t.onModelUpdated();
6230
6224
  };
6231
- return (v, g) => {
6225
+ return (y, g) => {
6232
6226
  const V = D("KSelect"), Z = D("KTabs");
6233
6227
  return c(), _("div", null, [
6234
6228
  e.formModel.id && e.isEditing || !e.isEditing ? (c(), U(ue, {
@@ -6238,59 +6232,59 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6238
6232
  options: e.formOptions,
6239
6233
  schema: d.value,
6240
6234
  onModelUpdated: e.onModelUpdated
6241
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6242
- O(Z, { tabs: C }, {
6243
- general: M(() => [
6244
- m("div", zh, [
6235
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6236
+ C(Z, { tabs: I }, {
6237
+ general: E(() => [
6238
+ m("div", Bh, [
6245
6239
  g[0] || (g[0] = m("div", { class: "header-wrapper" }, [
6246
6240
  m("span", { class: "section-header" }, "General Configuration Settings")
6247
6241
  ], -1)),
6248
6242
  g[1] || (g[1] = m("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)),
6249
- A.value ? (c(), U(ue, {
6243
+ M.value ? (c(), U(ue, {
6250
6244
  key: 0,
6251
6245
  model: e.formModel,
6252
6246
  options: e.formOptions,
6253
6247
  schema: u.value,
6254
6248
  onModelUpdated: e.onModelUpdated
6255
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6249
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6256
6250
  g[2] || (g[2] = m("hr", null, null, -1)),
6257
- O(V, {
6251
+ C(V, {
6258
6252
  class: "issuer-select",
6259
6253
  items: N,
6260
6254
  label: "Issuer",
6261
6255
  onChange: T
6262
6256
  }),
6263
- m("div", xh, [
6257
+ m("div", zh, [
6264
6258
  n.value === "letsEncrypt" ? (c(), U(ue, {
6265
6259
  key: 0,
6266
6260
  model: e.formModel,
6267
6261
  options: e.formOptions,
6268
6262
  schema: s.value,
6269
6263
  onModelUpdated: e.onModelUpdated
6270
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6264
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6271
6265
  n.value === "zeroSsl" || n.value === "other" ? (c(), U(ue, {
6272
6266
  key: 1,
6273
6267
  model: e.formModel,
6274
6268
  options: e.formOptions,
6275
6269
  schema: r.value,
6276
6270
  onModelUpdated: e.onModelUpdated
6277
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
6271
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0)
6278
6272
  ])
6279
6273
  ])
6280
6274
  ]),
6281
- storage: M(() => [
6275
+ storage: E(() => [
6282
6276
  m("div", Hh, [
6283
6277
  g[3] || (g[3] = m("div", { class: "header-wrapper" }, [
6284
6278
  m("span", { class: "section-header" }, "Storage Configuration Settings")
6285
6279
  ], -1)),
6286
6280
  g[4] || (g[4] = m("div", { class: "description" }, " Parameters for setting up storage. ", -1)),
6287
- A.value ? (c(), U(ue, {
6281
+ M.value ? (c(), U(ue, {
6288
6282
  key: 0,
6289
6283
  model: e.formModel,
6290
6284
  options: e.formOptions,
6291
6285
  schema: p.value,
6292
- onModelUpdated: F
6293
- }, null, 8, ["model", "options", "schema"])) : B("", !0),
6286
+ onModelUpdated: O
6287
+ }, null, 8, ["model", "options", "schema"])) : K("", !0),
6294
6288
  m("div", Yh, [
6295
6289
  i.value === "consul" ? (c(), U(ue, {
6296
6290
  key: 0,
@@ -6298,44 +6292,44 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6298
6292
  options: e.formOptions,
6299
6293
  schema: f.value,
6300
6294
  onModelUpdated: e.onModelUpdated
6301
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6295
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6302
6296
  i.value === "redis" ? (c(), U(ue, {
6303
6297
  key: 1,
6304
6298
  model: e.formModel,
6305
6299
  options: e.formOptions,
6306
6300
  schema: b.value,
6307
6301
  onModelUpdated: e.onModelUpdated
6308
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6302
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6309
6303
  i.value === "shm" ? (c(), U(ue, {
6310
6304
  key: 2,
6311
6305
  model: e.formModel,
6312
6306
  options: e.formOptions,
6313
- schema: k.value,
6307
+ schema: F.value,
6314
6308
  onModelUpdated: e.onModelUpdated
6315
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
6309
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0),
6316
6310
  i.value === "vault" ? (c(), U(ue, {
6317
6311
  key: 3,
6318
6312
  model: e.formModel,
6319
6313
  options: e.formOptions,
6320
- schema: q.value,
6314
+ schema: x.value,
6321
6315
  onModelUpdated: e.onModelUpdated
6322
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
6316
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0)
6323
6317
  ])
6324
6318
  ])
6325
6319
  ]),
6326
- advanced: M(() => [
6320
+ advanced: E(() => [
6327
6321
  m("div", Gh, [
6328
6322
  g[5] || (g[5] = m("div", { class: "header-wrapper" }, [
6329
6323
  m("span", { class: "section-header" }, "Advanced Configuration Settings")
6330
6324
  ], -1)),
6331
6325
  g[6] || (g[6] = m("div", { class: "description" }, " Advanced parameters for manually configuring the ACME plugin. ", -1)),
6332
- A.value ? (c(), U(ue, {
6326
+ M.value ? (c(), U(ue, {
6333
6327
  key: 0,
6334
6328
  model: e.formModel,
6335
6329
  options: e.formOptions,
6336
6330
  schema: h.value,
6337
6331
  onModelUpdated: e.onModelUpdated
6338
- }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0)
6332
+ }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0)
6339
6333
  ])
6340
6334
  ]),
6341
6335
  _: 1
@@ -6363,7 +6357,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
6363
6357
  },
6364
6358
  setup(e) {
6365
6359
  var Z;
6366
- zt(Le, (Z = fn()) == null ? void 0 : Z[Mt]);
6360
+ Bt(Le, (Z = fn()) == null ? void 0 : Z[Mt]);
6367
6361
  const t = {
6368
6362
  fixed: [
6369
6363
  {
@@ -6423,169 +6417,169 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6423
6417
  }, n = /* @__PURE__ */ new Set([
6424
6418
  "selectionGroup",
6425
6419
  "enabled",
6426
- ...["identifier", "limit", "window_size", "error_code", "error_message"].map((E) => `config-${E}`)
6427
- ]), i = (E) => E === void 0 ? !1 : n.has(E), { t: a } = ke("en-us", Re), o = e, s = z(() => {
6428
- var j, K, H;
6429
- const E = (K = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : K.find((ge) => ge.type === "selectionGroup" && ge.model === "selectionGroup");
6430
- return { fields: [(H = o.formSchema) == null ? void 0 : H.fields.find((ge) => ge.model === "enabled"), E].filter(Boolean) };
6431
- }), r = z(() => {
6432
- var ge, Ke;
6433
- const E = ((Ke = (ge = o.formSchema) == null ? void 0 : ge.fields) == null ? void 0 : Ke.filter((fe) => !i(fe.model))) ?? [], w = [], j = [], K = [];
6420
+ ...["identifier", "limit", "window_size", "error_code", "error_message"].map((k) => `config-${k}`)
6421
+ ]), i = (k) => k === void 0 ? !1 : n.has(k), { t: a } = ke("en-us", Re), o = e, s = B(() => {
6422
+ var j, q, H;
6423
+ const k = (q = (j = o.formSchema) == null ? void 0 : j.fields) == null ? void 0 : q.find((ge) => ge.type === "selectionGroup" && ge.model === "selectionGroup");
6424
+ return { fields: [(H = o.formSchema) == null ? void 0 : H.fields.find((ge) => ge.model === "enabled"), k].filter(Boolean) };
6425
+ }), r = B(() => {
6426
+ var ge, qe;
6427
+ const k = ((qe = (ge = o.formSchema) == null ? void 0 : ge.fields) == null ? void 0 : qe.filter((fe) => !i(fe.model))) ?? [], w = [], j = [], q = [];
6434
6428
  let H = !1;
6435
- for (const fe of E) {
6436
- const Be = fe.model;
6437
- if (Be !== void 0) {
6438
- if (Be.startsWith("config-redis-")) {
6429
+ for (const fe of k) {
6430
+ const Ke = fe.model;
6431
+ if (Ke !== void 0) {
6432
+ if (Ke.startsWith("config-redis-")) {
6439
6433
  (fe.model === "config-redis-cluster_addresses" || fe.model === "config-redis-sentinel_addresses") && (fe.inputAttributes.help = a("rla.redis.address_example")), j.push(fe);
6440
6434
  continue;
6441
6435
  }
6442
- H ? K.push(fe) : w.push(fe), fe.model === "config-strategy" && (H = !0);
6436
+ H ? q.push(fe) : w.push(fe), fe.model === "config-strategy" && (H = !0);
6443
6437
  }
6444
6438
  }
6445
6439
  return {
6446
6440
  endsWithStrategy: { fields: w },
6447
6441
  redis: o.enableRedisPartial ? { fields: [{ fields: j, id: "_redis", model: "__redis_partial", redisType: o.formSchema._supported_redis_partial_type }] } : { fields: j },
6448
- afterStrategy: { fields: K }
6442
+ afterStrategy: { fields: q }
6449
6443
  };
6450
- }), d = z(() => {
6451
- const E = o.formModel["config-window_type"];
6452
- return Object.prototype.hasOwnProperty.call(t, E) ? t[E] : [];
6453
- }), u = z(() => {
6454
- var E, w;
6455
- return (w = (E = o.formSchema) == null ? void 0 : E.fields) == null ? void 0 : w.find((j) => j.model === "config-identifier");
6456
- }), p = z(
6444
+ }), d = B(() => {
6445
+ const k = o.formModel["config-window_type"];
6446
+ return Object.prototype.hasOwnProperty.call(t, k) ? t[k] : [];
6447
+ }), u = B(() => {
6448
+ var k, w;
6449
+ return (w = (k = o.formSchema) == null ? void 0 : k.fields) == null ? void 0 : w.find((j) => j.model === "config-identifier");
6450
+ }), p = B(
6457
6451
  () => {
6458
- var E, w, j;
6459
- return (((j = (w = (E = o.formSchema) == null ? void 0 : E.fields) == null ? void 0 : w.find((K) => K.model === "config-identifier")) == null ? void 0 : j.values) ?? []).map((K) => ({
6460
- label: a(`rla.identifiers.options.${K}`),
6461
- value: K
6452
+ var k, w, j;
6453
+ return (((j = (w = (k = o.formSchema) == null ? void 0 : k.fields) == null ? void 0 : w.find((q) => q.model === "config-identifier")) == null ? void 0 : j.values) ?? []).map((q) => ({
6454
+ label: a(`rla.identifiers.options.${q}`),
6455
+ value: q
6462
6456
  }));
6463
6457
  }
6464
- ), f = ae(), b = ae(!0), k = z(
6458
+ ), f = ae(), b = ae(!0), F = B(
6465
6459
  () => {
6466
- var E, w, j;
6467
- return o.formModel["config-window_type"] ?? ((j = (w = (E = o.formSchema) == null ? void 0 : E.fields) == null ? void 0 : w.find((K) => K.model === "config-window_type")) == null ? void 0 : j.default);
6460
+ var k, w, j;
6461
+ return o.formModel["config-window_type"] ?? ((j = (w = (k = o.formSchema) == null ? void 0 : k.fields) == null ? void 0 : w.find((q) => q.model === "config-window_type")) == null ? void 0 : j.default);
6468
6462
  }
6469
- ), q = z(() => {
6470
- var w, j, K, H, ge, Ke;
6471
- const E = (K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((fe) => fe.model === "config-window_type")) == null ? void 0 : K.default;
6472
- return (((Ke = (ge = (H = o.formSchema) == null ? void 0 : H.fields) == null ? void 0 : ge.find((fe) => fe.model === "config-window_type")) == null ? void 0 : Ke.values) ?? []).sort((fe, Be) => fe === E ? -1 : Be === E ? 1 : 0);
6473
- }), h = z(() => {
6463
+ ), x = B(() => {
6464
+ var w, j, q, H, ge, qe;
6465
+ const k = (q = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((fe) => fe.model === "config-window_type")) == null ? void 0 : q.default;
6466
+ return (((qe = (ge = (H = o.formSchema) == null ? void 0 : H.fields) == null ? void 0 : ge.find((fe) => fe.model === "config-window_type")) == null ? void 0 : qe.values) ?? []).sort((fe, Ke) => fe === k ? -1 : Ke === k ? 1 : 0);
6467
+ }), h = B(() => {
6474
6468
  var w;
6475
- const E = (w = o.formModel["config-limit"]) == null ? void 0 : w.map((j, K) => {
6469
+ const k = (w = o.formModel["config-limit"]) == null ? void 0 : w.map((j, q) => {
6476
6470
  var H, ge;
6477
6471
  return {
6478
6472
  limit: j,
6479
- windowSize: (ge = (H = o.formModel) == null ? void 0 : H["config-window_size"]) == null ? void 0 : ge[K]
6473
+ windowSize: (ge = (H = o.formModel) == null ? void 0 : H["config-window_size"]) == null ? void 0 : ge[q]
6480
6474
  };
6481
6475
  });
6482
- return !Array.isArray(E) || E.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : E;
6483
- }), A = z(
6476
+ return !Array.isArray(k) || k.length === 0 ? [{ limit: void 0, windowSize: void 0 }] : k;
6477
+ }), M = B(
6484
6478
  () => {
6485
- var E, w, j, K;
6486
- return ((E = o.formModel) == null ? void 0 : E["config-identifier"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-identifier")) == null ? void 0 : K.default);
6479
+ var k, w, j, q;
6480
+ return ((k = o.formModel) == null ? void 0 : k["config-identifier"]) ?? ((q = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-identifier")) == null ? void 0 : q.default);
6487
6481
  }
6488
- ), C = z(
6482
+ ), I = B(
6489
6483
  () => {
6490
- var E, w, j, K;
6491
- return ((E = o.formModel) == null ? void 0 : E["config-error_code"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_code")) == null ? void 0 : K.default);
6484
+ var k, w, j, q;
6485
+ return ((k = o.formModel) == null ? void 0 : k["config-error_code"]) ?? ((q = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_code")) == null ? void 0 : q.default);
6492
6486
  }
6493
- ), N = z(
6487
+ ), N = B(
6494
6488
  () => {
6495
- var E, w, j, K;
6496
- return ((E = o.formModel) == null ? void 0 : E["config-error_message"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_message")) == null ? void 0 : K.default);
6489
+ var k, w, j, q;
6490
+ return ((k = o.formModel) == null ? void 0 : k["config-error_message"]) ?? ((q = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_message")) == null ? void 0 : q.default);
6497
6491
  }
6498
- ), T = (E, w) => {
6492
+ ), T = (k, w) => {
6499
6493
  if (w === f.value) {
6500
6494
  o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"), Fi(() => {
6501
6495
  f.value = void 0;
6502
6496
  });
6503
6497
  return;
6504
6498
  }
6505
- o.onModelUpdated([E.config.limit], "config-limit"), o.onModelUpdated([E.config.window_size], "config-window_size"), Fi(() => {
6499
+ o.onModelUpdated([k.config.limit], "config-limit"), o.onModelUpdated([k.config.window_size], "config-window_size"), Fi(() => {
6506
6500
  f.value = w;
6507
6501
  });
6508
- }, F = (E) => {
6509
- f.value !== void 0 && (f.value = void 0), E !== null && o.onModelUpdated(E.toString(), "config-window_type");
6510
- }, y = (E, w) => {
6511
- var K;
6502
+ }, O = (k) => {
6503
+ f.value !== void 0 && (f.value = void 0), k !== null && o.onModelUpdated(k.toString(), "config-window_type");
6504
+ }, v = (k, w) => {
6505
+ var q;
6512
6506
  f.value !== void 0 && (f.value = void 0);
6513
- const j = We(((K = o.formModel) == null ? void 0 : K["config-limit"]) ?? []);
6514
- j[E] = w, o.onModelUpdated(j, "config-limit");
6515
- }, v = (E, w) => {
6516
- var K;
6507
+ const j = We(((q = o.formModel) == null ? void 0 : q["config-limit"]) ?? []);
6508
+ j[k] = w, o.onModelUpdated(j, "config-limit");
6509
+ }, y = (k, w) => {
6510
+ var q;
6517
6511
  f.value !== void 0 && (f.value = void 0);
6518
- const j = We(((K = o.formModel) == null ? void 0 : K["config-window_size"]) ?? []);
6519
- j[E] = w, o.onModelUpdated(j, "config-window_size");
6520
- }, g = (E) => {
6521
- var K, H;
6512
+ const j = We(((q = o.formModel) == null ? void 0 : q["config-window_size"]) ?? []);
6513
+ j[k] = w, o.onModelUpdated(j, "config-window_size");
6514
+ }, g = (k) => {
6515
+ var q, H;
6522
6516
  f.value !== void 0 && (f.value = void 0);
6523
- const w = We(((K = o.formModel) == null ? void 0 : K["config-limit"]) ?? []), j = We(((H = o.formModel) == null ? void 0 : H["config-window_size"]) ?? []);
6524
- w.length === 0 && w.push(void 0), j.length === 0 && j.push(void 0), w.splice(E + 1, 0, void 0), j.splice(E + 1, 0, void 0), o.onModelUpdated(w, "config-limit"), o.onModelUpdated(j, "config-window_size");
6525
- }, V = (E) => {
6517
+ const w = We(((q = o.formModel) == null ? void 0 : q["config-limit"]) ?? []), j = We(((H = o.formModel) == null ? void 0 : H["config-window_size"]) ?? []);
6518
+ w.length === 0 && w.push(void 0), j.length === 0 && j.push(void 0), w.splice(k + 1, 0, void 0), j.splice(k + 1, 0, void 0), o.onModelUpdated(w, "config-limit"), o.onModelUpdated(j, "config-window_size");
6519
+ }, V = (k) => {
6526
6520
  var w, j;
6527
6521
  if (h.value.length > 1) {
6528
6522
  f.value !== void 0 && (f.value = void 0);
6529
- const K = We(((w = o.formModel) == null ? void 0 : w["config-limit"]) ?? []), H = We(((j = o.formModel) == null ? void 0 : j["config-window_size"]) ?? []);
6530
- K.length === 0 && K.push(void 0), H.length === 0 && H.push(void 0), K.splice(E, 1), H.splice(E, 1), o.onModelUpdated(K, "config-limit"), o.onModelUpdated(H, "config-window_size");
6523
+ const q = We(((w = o.formModel) == null ? void 0 : w["config-limit"]) ?? []), H = We(((j = o.formModel) == null ? void 0 : j["config-window_size"]) ?? []);
6524
+ q.length === 0 && q.push(void 0), H.length === 0 && H.push(void 0), q.splice(k, 1), H.splice(k, 1), o.onModelUpdated(q, "config-limit"), o.onModelUpdated(H, "config-window_size");
6531
6525
  }
6532
6526
  };
6533
- return mn(() => o.formModel["config-strategy"], (E) => {
6534
- E !== "redis" && o.formModel.partials && o.onModelUpdated(void 0, "partials");
6535
- }), (E, w) => {
6536
- const j = D("KLabel"), K = D("KRadio"), H = D("KInput"), ge = D("KButton"), Ke = D("KBadge"), fe = D("KTooltip"), Be = D("KCard"), Sn = D("KSelect"), Ht = D("KCollapse");
6527
+ return mn(() => o.formModel["config-strategy"], (k) => {
6528
+ k !== "redis" && o.formModel.partials && o.onModelUpdated(void 0, "partials");
6529
+ }), (k, w) => {
6530
+ const j = D("KLabel"), q = D("KRadio"), H = D("KInput"), ge = D("KButton"), qe = D("KBadge"), fe = D("KTooltip"), Ke = D("KCard"), Sn = D("KSelect"), Ht = D("KCollapse");
6537
6531
  return c(), _(Y, null, [
6538
6532
  m("div", Xh, [
6539
- O(ue, {
6540
- model: E.formModel,
6541
- options: E.formOptions,
6533
+ C(ue, {
6534
+ model: e.formModel,
6535
+ options: e.formOptions,
6542
6536
  schema: s.value,
6543
- onModelUpdated: w[0] || (w[0] = ($, ne) => E.onModelUpdated($, ne))
6537
+ onModelUpdated: w[0] || (w[0] = ($, ne) => e.onModelUpdated($, ne))
6544
6538
  }, null, 8, ["model", "options", "schema"]),
6545
- O(Be, { class: "rla-form-request-limits" }, {
6546
- title: M(() => [
6547
- O(j, {
6539
+ C(Ke, { class: "rla-form-request-limits" }, {
6540
+ title: E(() => [
6541
+ C(j, {
6548
6542
  class: "rla-form-request-limits-title",
6549
6543
  for: "rla-form-request-limits-legend",
6550
6544
  required: ""
6551
6545
  }, {
6552
- default: M(() => [
6553
- ce(L(I(a)("rla.request_limits.title")), 1)
6546
+ default: E(() => [
6547
+ ce(L(A(a)("rla.request_limits.title")), 1)
6554
6548
  ]),
6555
6549
  _: 1
6556
6550
  }),
6557
- m("div", Jh, L(I(a)("rla.request_limits.subtitle")), 1)
6551
+ m("div", Jh, L(A(a)("rla.request_limits.subtitle")), 1)
6558
6552
  ]),
6559
- default: M(() => [
6553
+ default: E(() => [
6560
6554
  m("div", Qh, [
6561
6555
  m("div", ep, [
6562
- O(j, {
6556
+ C(j, {
6563
6557
  class: "rla-form-window-type-label",
6564
6558
  "tooltip-attributes": {
6565
6559
  maxWidth: "300",
6566
6560
  placement: "top"
6567
6561
  }
6568
6562
  }, {
6569
- tooltip: M(() => [
6563
+ tooltip: E(() => [
6570
6564
  m("div", {
6571
- innerHTML: I(a)("rla.window_type.help")
6565
+ innerHTML: A(a)("rla.window_type.help")
6572
6566
  }, null, 8, tp)
6573
6567
  ]),
6574
- default: M(() => [
6575
- ce(L(I(a)("rla.window_type.label")) + " ", 1)
6568
+ default: E(() => [
6569
+ ce(L(A(a)("rla.window_type.label")) + " ", 1)
6576
6570
  ]),
6577
6571
  _: 1
6578
6572
  }),
6579
6573
  m("div", np, [
6580
- (c(!0), _(Y, null, oe(q.value, ($) => (c(), U(K, {
6574
+ (c(!0), _(Y, null, oe(x.value, ($) => (c(), U(q, {
6581
6575
  key: `window-type-${$}`,
6582
- "model-value": k.value,
6576
+ "model-value": F.value,
6583
6577
  name: $,
6584
6578
  "selected-value": $,
6585
- "onUpdate:modelValue": F
6579
+ "onUpdate:modelValue": O
6586
6580
  }, {
6587
- default: M(() => [
6588
- ce(L(I(a)(`rla.window_type.options.${$}`)), 1)
6581
+ default: E(() => [
6582
+ ce(L(A(a)(`rla.window_type.options.${$}`)), 1)
6589
6583
  ]),
6590
6584
  _: 2
6591
6585
  }, 1032, ["model-value", "name", "selected-value"]))), 128))
@@ -6595,11 +6589,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6595
6589
  (c(!0), _(Y, null, oe(h.value, ($, ne) => (c(), _("div", {
6596
6590
  key: ne.toString()
6597
6591
  }, [
6598
- O(j, {
6592
+ C(j, {
6599
6593
  for: `rla-form-request-limits-item-${ne}-legend`
6600
6594
  }, {
6601
- default: M(() => [
6602
- ce(L(I(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
6595
+ default: E(() => [
6596
+ ce(L(A(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
6603
6597
  ]),
6604
6598
  _: 2
6605
6599
  }, 1032, ["for"]),
@@ -6608,65 +6602,65 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6608
6602
  id: `rla-form-request-limits-item-${ne}-legend`,
6609
6603
  class: "rla-form-request-limits-inputs"
6610
6604
  }, [
6611
- O(H, {
6605
+ C(H, {
6612
6606
  "model-value": $.limit && $.limit.toString(),
6613
- placeholder: I(a)("rla.request_limits.request_number"),
6607
+ placeholder: A(a)("rla.request_limits.request_number"),
6614
6608
  type: "number",
6615
- "onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
6609
+ "onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
6616
6610
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
6617
- m("div", null, L(I(a)("rla.request_limits.interval_determiner")), 1),
6618
- O(H, {
6611
+ m("div", null, L(A(a)("rla.request_limits.interval_determiner")), 1),
6612
+ C(H, {
6619
6613
  "model-value": $.windowSize && $.windowSize.toString(),
6620
- placeholder: I(a)("rla.request_limits.time_interval"),
6614
+ placeholder: A(a)("rla.request_limits.time_interval"),
6621
6615
  type: "number",
6622
- "onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
6616
+ "onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
6623
6617
  }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
6624
- m("div", null, L(I(a)("rla.request_limits.seconds")), 1)
6618
+ m("div", null, L(A(a)("rla.request_limits.seconds")), 1)
6625
6619
  ], 8, op),
6626
6620
  m("div", rp, [
6627
- O(ge, {
6621
+ C(ge, {
6628
6622
  appearance: "tertiary",
6629
6623
  disabled: h.value.length <= 1,
6630
6624
  onClick: () => V(ne)
6631
6625
  }, {
6632
- default: M(() => [
6633
- O(I(Ho))
6626
+ default: E(() => [
6627
+ C(A(Ho))
6634
6628
  ]),
6635
- _: 2
6636
- }, 1032, ["disabled", "onClick"]),
6637
- O(ge, {
6629
+ _: 1
6630
+ }, 8, ["disabled", "onClick"]),
6631
+ C(ge, {
6638
6632
  appearance: "tertiary",
6639
6633
  onClick: () => g(ne)
6640
6634
  }, {
6641
- default: M(() => [
6642
- O(I(Qn))
6635
+ default: E(() => [
6636
+ C(A(Qn))
6643
6637
  ]),
6644
- _: 2
6645
- }, 1032, ["onClick"])
6638
+ _: 1
6639
+ }, 8, ["onClick"])
6646
6640
  ])
6647
6641
  ])
6648
6642
  ]))), 128))
6649
6643
  ]),
6650
6644
  d.value.length > 0 ? (c(), _("div", sp, [
6651
- m("div", null, L(I(a)("rla.start_with_a_use_case")), 1),
6645
+ m("div", null, L(A(a)("rla.start_with_a_use_case")), 1),
6652
6646
  m("div", lp, [
6653
6647
  (c(!0), _(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
6654
6648
  key: `use-case-${ne}`,
6655
6649
  "max-width": "300"
6656
6650
  }, {
6657
- content: M(() => [
6651
+ content: E(() => [
6658
6652
  m("div", null, L($.description), 1),
6659
6653
  w[10] || (w[10] = m("br", null, null, -1)),
6660
- m("div", null, L(I(a)("rla.request_limits.label")) + ": " + L($.config.limit), 1),
6661
- m("div", null, L(I(a)("rla.request_limits.time_interval")) + ": " + L($.config.window_size), 1)
6654
+ m("div", null, L(A(a)("rla.request_limits.label")) + ": " + L($.config.limit), 1),
6655
+ m("div", null, L(A(a)("rla.request_limits.time_interval")) + ": " + L($.config.window_size), 1)
6662
6656
  ]),
6663
- default: M(() => [
6664
- O(Ke, {
6665
- appearance: f.value === `${k.value}-${ne}` ? "info" : "decorative",
6657
+ default: E(() => [
6658
+ C(qe, {
6659
+ appearance: f.value === `${F.value}-${ne}` ? "info" : "decorative",
6666
6660
  class: "rla-form-request-limits-examples-badge",
6667
- onClick: () => T($, `${k.value}-${ne}`)
6661
+ onClick: () => T($, `${F.value}-${ne}`)
6668
6662
  }, {
6669
- default: M(() => [
6663
+ default: E(() => [
6670
6664
  ce(L($.label), 1)
6671
6665
  ]),
6672
6666
  _: 2
@@ -6675,17 +6669,17 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6675
6669
  _: 2
6676
6670
  }, 1024))), 128))
6677
6671
  ])
6678
- ])) : B("", !0)
6672
+ ])) : K("", !0)
6679
6673
  ])
6680
6674
  ]),
6681
6675
  _: 1
6682
6676
  }),
6683
- O(Sn, {
6684
- modelValue: A.value,
6685
- "onUpdate:modelValue": w[1] || (w[1] = ($) => A.value = $),
6677
+ C(Sn, {
6678
+ modelValue: M.value,
6679
+ "onUpdate:modelValue": w[1] || (w[1] = ($) => M.value = $),
6686
6680
  class: "rla-form-identifiers",
6687
6681
  items: p.value,
6688
- label: I(a)("rla.identifiers.label"),
6682
+ label: A(a)("rla.identifiers.label"),
6689
6683
  "label-attributes": {
6690
6684
  tooltipAttributes: {
6691
6685
  maxWidth: "300",
@@ -6695,7 +6689,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6695
6689
  required: "",
6696
6690
  onSelected: w[2] || (w[2] = ($) => o.onModelUpdated($.value, "config-identifier"))
6697
6691
  }, {
6698
- "label-tooltip": M(() => [
6692
+ "label-tooltip": E(() => [
6699
6693
  m("div", {
6700
6694
  innerHTML: u.value && u.value.help
6701
6695
  }, null, 8, dp)
@@ -6703,75 +6697,75 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6703
6697
  _: 1
6704
6698
  }, 8, ["modelValue", "items", "label"]),
6705
6699
  m("div", null, [
6706
- O(j, {
6700
+ C(j, {
6707
6701
  for: "rla-form-error-legend",
6708
- info: I(a)("rla.error_message.help"),
6702
+ info: A(a)("rla.error_message.help"),
6709
6703
  required: "",
6710
6704
  "tooltip-attributes": {
6711
6705
  maxWidth: "300",
6712
6706
  placement: "top"
6713
6707
  }
6714
6708
  }, {
6715
- default: M(() => [
6716
- ce(L(I(a)("rla.error_message.label")), 1)
6709
+ default: E(() => [
6710
+ ce(L(A(a)("rla.error_message.label")), 1)
6717
6711
  ]),
6718
6712
  _: 1
6719
6713
  }, 8, ["info"]),
6720
6714
  m("legend", up, [
6721
- O(H, {
6715
+ C(H, {
6722
6716
  class: "input-error-code",
6723
- "model-value": C.value && C.value.toString(),
6724
- placeholder: I(a)("rla.error_message.code_placeholder"),
6717
+ "model-value": I.value && I.value.toString(),
6718
+ placeholder: A(a)("rla.error_message.code_placeholder"),
6725
6719
  type: "number",
6726
- "onUpdate:modelValue": w[3] || (w[3] = ($) => E.onModelUpdated(Number.parseInt($), "config-error_code"))
6720
+ "onUpdate:modelValue": w[3] || (w[3] = ($) => e.onModelUpdated(Number.parseInt($), "config-error_code"))
6727
6721
  }, null, 8, ["model-value", "placeholder"]),
6728
6722
  w[11] || (w[11] = m("div", null, ":", -1)),
6729
- O(H, {
6723
+ C(H, {
6730
6724
  "model-value": N.value,
6731
- placeholder: I(a)("rla.error_message.message_placeholder"),
6732
- "onUpdate:modelValue": w[4] || (w[4] = ($) => E.onModelUpdated($, "config-error_message"))
6725
+ placeholder: A(a)("rla.error_message.message_placeholder"),
6726
+ "onUpdate:modelValue": w[4] || (w[4] = ($) => e.onModelUpdated($, "config-error_message"))
6733
6727
  }, null, 8, ["model-value", "placeholder"])
6734
6728
  ])
6735
6729
  ])
6736
6730
  ]),
6737
- O(Ht, {
6731
+ C(Ht, {
6738
6732
  modelValue: b.value,
6739
6733
  "onUpdate:modelValue": w[9] || (w[9] = ($) => b.value = $),
6740
6734
  "data-testid": "view-advanced",
6741
- "trigger-label": I(a)("rla.view_advanced")
6735
+ "trigger-label": A(a)("rla.view_advanced")
6742
6736
  }, {
6743
- default: M(() => [
6744
- O(ue, {
6745
- model: E.formModel,
6746
- options: E.formOptions,
6737
+ default: E(() => [
6738
+ C(ue, {
6739
+ model: e.formModel,
6740
+ options: e.formOptions,
6747
6741
  schema: r.value.endsWithStrategy,
6748
- onModelUpdated: w[5] || (w[5] = ($, ne) => E.onModelUpdated($, ne))
6742
+ onModelUpdated: w[5] || (w[5] = ($, ne) => e.onModelUpdated($, ne))
6749
6743
  }, null, 8, ["model", "options", "schema"]),
6750
- E.formModel["config-strategy"] === "redis" ? (c(), U(me(E.enableRedisPartial ? "div" : "KCard"), {
6744
+ e.formModel["config-strategy"] === "redis" ? (c(), U(me(e.enableRedisPartial ? "div" : "KCard"), {
6751
6745
  key: 0,
6752
6746
  class: "rla-form-redis-card",
6753
- title: I(a)("rla.redis.title")
6747
+ title: A(a)("rla.redis.title")
6754
6748
  }, {
6755
- default: M(() => [
6756
- O(ue, {
6757
- "enable-redis-partial": E.enableRedisPartial,
6758
- "is-editing": E.isEditing,
6759
- model: E.formModel,
6760
- options: E.formOptions,
6749
+ default: E(() => [
6750
+ C(ue, {
6751
+ "enable-redis-partial": e.enableRedisPartial,
6752
+ "is-editing": e.isEditing,
6753
+ model: e.formModel,
6754
+ options: e.formOptions,
6761
6755
  schema: r.value.redis,
6762
- onModelUpdated: w[6] || (w[6] = ($, ne) => E.onModelUpdated($, ne)),
6763
- onPartialToggled: E.onPartialToggled,
6764
- onShowNewPartialModal: w[7] || (w[7] = () => E.showNewPartialModal(E.formSchema._supported_redis_partial_type))
6756
+ onModelUpdated: w[6] || (w[6] = ($, ne) => e.onModelUpdated($, ne)),
6757
+ onPartialToggled: e.onPartialToggled,
6758
+ onShowNewPartialModal: w[7] || (w[7] = () => e.showNewPartialModal(e.formSchema._supported_redis_partial_type))
6765
6759
  }, null, 8, ["enable-redis-partial", "is-editing", "model", "options", "schema", "onPartialToggled"])
6766
6760
  ]),
6767
6761
  _: 1
6768
- }, 8, ["title"])) : B("", !0),
6769
- O(ue, {
6770
- class: ee({ "rla-last-vfg": E.formModel["config-strategy"] !== "redis" }),
6771
- model: E.formModel,
6772
- options: E.formOptions,
6762
+ }, 8, ["title"])) : K("", !0),
6763
+ C(ue, {
6764
+ class: ee({ "rla-last-vfg": e.formModel["config-strategy"] !== "redis" }),
6765
+ model: e.formModel,
6766
+ options: e.formOptions,
6773
6767
  schema: r.value.afterStrategy,
6774
- onModelUpdated: w[8] || (w[8] = ($, ne) => E.onModelUpdated($, ne))
6768
+ onModelUpdated: w[8] || (w[8] = ($, ne) => e.onModelUpdated($, ne))
6775
6769
  }, null, 8, ["class", "model", "options", "schema"])
6776
6770
  ]),
6777
6771
  _: 1
@@ -6812,7 +6806,7 @@ export {
6812
6806
  vp as REDIS_PARTIAL_INFO,
6813
6807
  ue as VueFormGenerator,
6814
6808
  bp as abstractField,
6815
- qe as composables,
6809
+ xe as composables,
6816
6810
  Tp as customFields,
6817
6811
  Sp as getSharedFormName,
6818
6812
  _p as sharedForms