@kong-ui-public/forms 4.29.4 → 4.29.6

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,4 +1,4 @@
1
- import { openBlock as c, createElementBlock as M, createElementVNode as m, toDisplayString as x, normalizeClass as te, createVNode as w, defineComponent as be, provide as rn, resolveComponent as k, withCtx as E, renderSlot as we, unref as V, createTextVNode as Z, useModel as Fs, createBlock as P, createSlots as Mn, mergeModels as ea, inject as an, ref as se, onMounted as yi, watch as ln, resolveDynamicComponent as re, Fragment as Y, renderList as oe, computed as B, toRefs as Tt, onBeforeMount as vi, mergeProps as et, Transition as Us, createCommentVNode as q, resolveDirective as ao, withDirectives as Fe, vModelText as Qt, vModelCheckbox as Ns, vModelSelect as Ls, vModelDynamic as oo, isRef as Vt, toRef as so, vModelRadio as Ds, vShow as Ps, withModifiers as ta, normalizeProps as Vs, guardReactiveProps as Ks, useSlots as wn, nextTick as na } from "vue";
1
+ import { openBlock as c, createElementBlock as M, createElementVNode as m, toDisplayString as x, normalizeClass as te, createVNode as w, defineComponent as ve, provide as rn, resolveComponent as k, withCtx as E, renderSlot as we, unref as V, createTextVNode as Z, useModel as Fs, createBlock as P, createSlots as Mn, mergeModels as ea, inject as an, ref as se, onMounted as yi, watch as ln, resolveDynamicComponent as re, Fragment as Y, renderList as oe, computed as B, toRefs as Tt, onBeforeMount as bi, mergeProps as et, Transition as Ns, createCommentVNode as q, resolveDirective as ao, withDirectives as Fe, vModelText as Qt, vModelCheckbox as Us, vModelSelect as Ls, vModelDynamic as oo, isRef as Vt, toRef as so, vModelRadio as Ds, vShow as Ps, withModifiers as ta, normalizeProps as Vs, guardReactiveProps as Ks, useSlots as wn, nextTick as na } from "vue";
2
2
  import { createI18n as De } from "@kong-ui-public/i18n";
3
3
  import { TrashIcon as Kt, SearchIcon as js, AddIcon as En, WorldIcon as $s, KeyIcon as xs, CloseIcon as zs, BookIcon as qs, RemoveIcon as Bs } from "@kong/icons";
4
4
  import { isAxiosError as Hs } from "axios";
@@ -67,13 +67,13 @@ var yr = 9007199254740991;
67
67
  function po(e) {
68
68
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= yr;
69
69
  }
70
- var vr = "[object Arguments]", br = "[object Array]", _r = "[object Boolean]", Sr = "[object Date]", Tr = "[object Error]", Mr = "[object Function]", wr = "[object Map]", Er = "[object Number]", Ar = "[object Object]", Ir = "[object RegExp]", Cr = "[object Set]", Or = "[object String]", kr = "[object WeakMap]", Rr = "[object ArrayBuffer]", Fr = "[object DataView]", Ur = "[object Float32Array]", Nr = "[object Float64Array]", Lr = "[object Int8Array]", Dr = "[object Int16Array]", Pr = "[object Int32Array]", Vr = "[object Uint8Array]", Kr = "[object Uint8ClampedArray]", jr = "[object Uint16Array]", $r = "[object Uint32Array]", ae = {};
71
- ae[Ur] = ae[Nr] = ae[Lr] = ae[Dr] = ae[Pr] = ae[Vr] = ae[Kr] = ae[jr] = ae[$r] = !0;
72
- ae[vr] = ae[br] = ae[Rr] = ae[_r] = ae[Fr] = ae[Sr] = ae[Tr] = ae[Mr] = ae[wr] = ae[Er] = ae[Ar] = ae[Ir] = ae[Cr] = ae[Or] = ae[kr] = !1;
70
+ var br = "[object Arguments]", vr = "[object Array]", _r = "[object Boolean]", Sr = "[object Date]", Tr = "[object Error]", Mr = "[object Function]", wr = "[object Map]", Er = "[object Number]", Ar = "[object Object]", Ir = "[object RegExp]", Cr = "[object Set]", Or = "[object String]", kr = "[object WeakMap]", Rr = "[object ArrayBuffer]", Fr = "[object DataView]", Nr = "[object Float32Array]", Ur = "[object Float64Array]", Lr = "[object Int8Array]", Dr = "[object Int16Array]", Pr = "[object Int32Array]", Vr = "[object Uint8Array]", Kr = "[object Uint8ClampedArray]", jr = "[object Uint16Array]", $r = "[object Uint32Array]", ae = {};
71
+ ae[Nr] = ae[Ur] = ae[Lr] = ae[Dr] = ae[Pr] = ae[Vr] = ae[Kr] = ae[jr] = ae[$r] = !0;
72
+ ae[br] = ae[vr] = ae[Rr] = ae[_r] = ae[Fr] = ae[Sr] = ae[Tr] = ae[Mr] = ae[wr] = ae[Er] = ae[Ar] = ae[Ir] = ae[Cr] = ae[Or] = ae[kr] = !1;
73
73
  function xr(e) {
74
74
  return ft(e) && po(e.length) && !!ae[mt(e)];
75
75
  }
76
- function bi(e) {
76
+ function vi(e) {
77
77
  return function(t) {
78
78
  return e(t);
79
79
  };
@@ -84,7 +84,7 @@ var go = typeof exports == "object" && exports && !exports.nodeType && exports,
84
84
  return e || Qn && Qn.binding && Qn.binding("util");
85
85
  } catch {
86
86
  }
87
- }(), ra = Dt && Dt.isTypedArray, qr = ra ? bi(ra) : xr, Br = Object.prototype, Hr = Br.hasOwnProperty;
87
+ }(), ra = Dt && Dt.isTypedArray, qr = ra ? vi(ra) : xr, Br = Object.prototype, Hr = Br.hasOwnProperty;
88
88
  function yo(e, t) {
89
89
  var n = ht(e), o = !n && ur(e), a = !n && !o && fo(e), i = !n && !o && !a && qr(e), r = n || o || a || i, l = r ? Js(e.length, String) : [], d = l.length;
90
90
  for (var u in e)
@@ -100,12 +100,12 @@ function _i(e) {
100
100
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || Gr;
101
101
  return e === n;
102
102
  }
103
- function vo(e, t) {
103
+ function bo(e, t) {
104
104
  return function(n) {
105
105
  return e(t(n));
106
106
  };
107
107
  }
108
- var Yr = vo(Object.keys, Object), Wr = Object.prototype, Zr = Wr.hasOwnProperty;
108
+ var Yr = bo(Object.keys, Object), Wr = Object.prototype, Zr = Wr.hasOwnProperty;
109
109
  function Xr(e) {
110
110
  if (!_i(e))
111
111
  return Yr(e);
@@ -114,13 +114,13 @@ function Xr(e) {
114
114
  Zr.call(e, n) && n != "constructor" && t.push(n);
115
115
  return t;
116
116
  }
117
- function Ne(e) {
117
+ function Ue(e) {
118
118
  var t = typeof e;
119
119
  return e != null && (t == "object" || t == "function");
120
120
  }
121
121
  var Jr = "[object AsyncFunction]", Qr = "[object Function]", el = "[object GeneratorFunction]", tl = "[object Proxy]";
122
122
  function ne(e) {
123
- if (!Ne(e))
123
+ if (!Ue(e))
124
124
  return !1;
125
125
  var t = mt(e);
126
126
  return t == Qr || t == el || t == Jr || t == tl;
@@ -188,13 +188,13 @@ function Mt(e) {
188
188
  }
189
189
  return "";
190
190
  }
191
- var fl = /[\\^$.*+?()[\]{}|]/g, hl = /^\[object .+?Constructor\]$/, pl = Function.prototype, gl = Object.prototype, yl = pl.toString, vl = gl.hasOwnProperty, bl = RegExp(
192
- "^" + yl.call(vl).replace(fl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
191
+ var fl = /[\\^$.*+?()[\]{}|]/g, hl = /^\[object .+?Constructor\]$/, pl = Function.prototype, gl = Object.prototype, yl = pl.toString, bl = gl.hasOwnProperty, vl = RegExp(
192
+ "^" + yl.call(bl).replace(fl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
193
193
  );
194
194
  function _l(e) {
195
- if (!Ne(e) || cl(e))
195
+ if (!Ue(e) || cl(e))
196
196
  return !1;
197
- var t = ne(e) ? bl : hl;
197
+ var t = ne(e) ? vl : hl;
198
198
  return t.test(Mt(e));
199
199
  }
200
200
  function Sl(e, t) {
@@ -231,19 +231,19 @@ function Fl(e, t) {
231
231
  var n = this.__data__;
232
232
  return this.size += this.has(e) ? 0 : 1, n[e] = on && t === void 0 ? Rl : t, this;
233
233
  }
234
- function vt(e) {
234
+ function bt(e) {
235
235
  var t = -1, n = e == null ? 0 : e.length;
236
236
  for (this.clear(); ++t < n; ) {
237
237
  var o = e[t];
238
238
  this.set(o[0], o[1]);
239
239
  }
240
240
  }
241
- vt.prototype.clear = Tl;
242
- vt.prototype.delete = Ml;
243
- vt.prototype.get = Il;
244
- vt.prototype.has = kl;
245
- vt.prototype.set = Fl;
246
- function Ul() {
241
+ bt.prototype.clear = Tl;
242
+ bt.prototype.delete = Ml;
243
+ bt.prototype.get = Il;
244
+ bt.prototype.has = kl;
245
+ bt.prototype.set = Fl;
246
+ function Nl() {
247
247
  this.__data__ = [], this.size = 0;
248
248
  }
249
249
  function On(e, t) {
@@ -255,7 +255,7 @@ function kn(e, t) {
255
255
  return n;
256
256
  return -1;
257
257
  }
258
- var Nl = Array.prototype, Ll = Nl.splice;
258
+ var Ul = Array.prototype, Ll = Ul.splice;
259
259
  function Dl(e) {
260
260
  var t = this.__data__, n = kn(t, e);
261
261
  if (n < 0)
@@ -281,7 +281,7 @@ function tt(e) {
281
281
  this.set(o[0], o[1]);
282
282
  }
283
283
  }
284
- tt.prototype.clear = Ul;
284
+ tt.prototype.clear = Nl;
285
285
  tt.prototype.delete = Dl;
286
286
  tt.prototype.get = Pl;
287
287
  tt.prototype.has = Vl;
@@ -289,9 +289,9 @@ tt.prototype.set = Kl;
289
289
  var sn = wt($e, "Map");
290
290
  function jl() {
291
291
  this.size = 0, this.__data__ = {
292
- hash: new vt(),
292
+ hash: new bt(),
293
293
  map: new (sn || tt)(),
294
- string: new vt()
294
+ string: new bt()
295
295
  };
296
296
  }
297
297
  function $l(e) {
@@ -361,18 +361,18 @@ function Jl(e, t) {
361
361
  return a;
362
362
  }
363
363
  var da = ut ? ut.prototype : void 0, ca = da ? da.toString : void 0;
364
- function bo(e) {
364
+ function vo(e) {
365
365
  if (typeof e == "string")
366
366
  return e;
367
367
  if (ht(e))
368
- return Jl(e, bo) + "";
368
+ return Jl(e, vo) + "";
369
369
  if (Cn(e))
370
370
  return ca ? ca.call(e) : "";
371
371
  var t = e + "";
372
372
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
373
373
  }
374
374
  function _o(e) {
375
- return e == null ? "" : bo(e);
375
+ return e == null ? "" : vo(e);
376
376
  }
377
377
  function Ql(e, t) {
378
378
  return ht(e) ? e : dl(e, t) ? [e] : Xl(_o(e));
@@ -393,10 +393,10 @@ function ee(e, t, n) {
393
393
  var o = e == null ? void 0 : td(e, t);
394
394
  return o === void 0 ? n : o;
395
395
  }
396
- function ve(e) {
396
+ function be(e) {
397
397
  return e == null;
398
398
  }
399
- const je = "kong-ui-forms-api", Mi = "kong-ui-forms-config", nd = "redis-partial-list-fetcher-key", by = "redis-partial-info", jt = "autofill", Le = "autofillSlot", Ze = {
399
+ const je = "kong-ui-forms-api", Mi = "kong-ui-forms-config", nd = "redis-partial-list-fetcher-key", vy = "redis-partial-info", jt = "autofill", Le = "autofillSlot", Ze = {
400
400
  CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
401
401
  CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
402
402
  UPDATE_ENTITY: "UPDATE_ENTITY",
@@ -492,7 +492,7 @@ function W(e, t) {
492
492
  }
493
493
  return e;
494
494
  }
495
- function vd(e) {
495
+ function bd(e) {
496
496
  for (let t = 0; t < e.length; t++)
497
497
  Me(e, t) || (e[t] = null);
498
498
  return e;
@@ -502,11 +502,11 @@ function ke(e) {
502
502
  for (const o of So(e)) {
503
503
  var n = rd(o, 2);
504
504
  const a = n[0], i = n[1];
505
- Me(e, a) && (ct(i) ? t[a] = vd(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
505
+ Me(e, a) && (ct(i) ? t[a] = bd(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
506
506
  }
507
507
  return t;
508
508
  }
509
- function bd(e) {
509
+ function vd(e) {
510
510
  switch (typeof e) {
511
511
  case "string":
512
512
  return e;
@@ -558,13 +558,13 @@ function _d(e) {
558
558
  return !1;
559
559
  }
560
560
  }
561
- const va = Ie(["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", "search", "section", "select", "shadow", "slot", "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"]), ni = Ie(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ii = Ie(["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"]), Sd = Ie(["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"]), ai = Ie(["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"]), Td = Ie(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ba = Ie(["#text"]), _a = Ie(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), oi = Ie(["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", "mask-type", "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"]), Sa = Ie(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), gn = Ie(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Md = Ce(/{{[\w\W]*|^[\w\W]*}}/g), wd = Ce(/<%[\w\W]*|^[\w\W]*%>/g), Ed = Ce(/\${[\w\W]*/g), Ad = Ce(/^data-[\-\w.\u00B7-\uFFFF]+$/), Id = Ce(/^aria-[\-\w]+$/), Ta = Ce(
561
+ const ba = Ie(["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", "search", "section", "select", "shadow", "slot", "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"]), ni = Ie(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ii = Ie(["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"]), Sd = Ie(["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"]), ai = Ie(["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"]), Td = Ie(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), va = Ie(["#text"]), _a = Ie(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), oi = Ie(["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", "mask-type", "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"]), Sa = Ie(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), gn = Ie(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Md = Ce(/{{[\w\W]*|^[\w\W]*}}/g), wd = Ce(/<%[\w\W]*|^[\w\W]*%>/g), Ed = Ce(/\${[\w\W]*/g), Ad = Ce(/^data-[\-\w.\u00B7-\uFFFF]+$/), Id = Ce(/^aria-[\-\w]+$/), Ta = Ce(
562
562
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
563
563
  // eslint-disable-line no-useless-escape
564
564
  ), Cd = Ce(/^(?:\w+script|data):/i), Od = Ce(
565
565
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
566
566
  // eslint-disable-line no-control-regex
567
- ), kd = Ce(/^html$/i), Rd = Ce(/^[a-z][.\w]*(-[.\w]+)+$/i), Ma = Ce(/<[/\w!]/g), Fd = Ce(/<[/\w]/g), Ud = Ce(/<\/no(script|embed|frames)/i), Nd = Ce(/\/>/i), Ye = {
567
+ ), kd = Ce(/^html$/i), Rd = Ce(/^[a-z][.\w]*(-[.\w]+)+$/i), Ma = Ce(/<[/\w!]/g), Fd = Ce(/<[/\w]/g), Nd = Ce(/<\/no(script|embed|frames)/i), Ud = Ce(/\/>/i), Ye = {
568
568
  element: 1,
569
569
  attribute: 2,
570
570
  text: 3,
@@ -618,7 +618,7 @@ const va = Ie(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
618
618
  };
619
619
  function Mo() {
620
620
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ld();
621
- const t = (U) => Mo(U);
621
+ const t = (N) => Mo(N);
622
622
  if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== Ye.document || !e.Element)
623
623
  return t.isSupported = !1, t;
624
624
  let n = e.document;
@@ -626,12 +626,12 @@ function Mo() {
626
626
  e.DocumentFragment;
627
627
  const i = e.HTMLTemplateElement, r = e.Node, l = e.Element, d = e.NodeFilter, u = e.NamedNodeMap;
628
628
  u === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
629
- const y = e.DOMParser, f = e.trustedTypes, p = l.prototype, b = We(p, "cloneNode"), A = We(p, "remove"), v = We(p, "nextSibling"), F = We(p, "childNodes"), L = We(p, "parentNode"), H = We(p, "shadowRoot"), K = We(p, "attributes"), O = r && r.prototype ? We(r.prototype, "nodeType") : null, C = r && r.prototype ? We(r.prototype, "nodeName") : null;
629
+ const y = e.DOMParser, f = e.trustedTypes, p = l.prototype, v = We(p, "cloneNode"), A = We(p, "remove"), b = We(p, "nextSibling"), F = We(p, "childNodes"), L = We(p, "parentNode"), H = We(p, "shadowRoot"), K = We(p, "attributes"), O = r && r.prototype ? We(r.prototype, "nodeType") : null, C = r && r.prototype ? We(r.prototype, "nodeName") : null;
630
630
  if (typeof i == "function") {
631
- const U = n.createElement("template");
632
- U.content && U.content.ownerDocument && (n = U.content.ownerDocument);
631
+ const N = n.createElement("template");
632
+ N.content && N.content.ownerDocument && (n = N.content.ownerDocument);
633
633
  }
634
- let _, T = "", N, D = !1, g = 0;
634
+ let _, T = "", U, D = !1, g = 0;
635
635
  const S = function() {
636
636
  if (g > 0)
637
637
  throw yt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
@@ -650,13 +650,13 @@ function Mo() {
650
650
  g--;
651
651
  }
652
652
  }, Q = function() {
653
- return D || (N = Dd(f, a), D = !0), N;
654
- }, pe = n, xe = pe.implementation, ge = pe.createNodeIterator, it = pe.createDocumentFragment, Nn = pe.getElementsByTagName, Ln = o.importNode;
653
+ return D || (U = Dd(f, a), D = !0), U;
654
+ }, pe = n, xe = pe.implementation, ge = pe.createNodeIterator, it = pe.createDocumentFragment, Un = pe.getElementsByTagName, Ln = o.importNode;
655
655
  let z = wa();
656
656
  t.isSupported = typeof So == "function" && typeof L == "function" && xe && xe.createHTMLDocument !== void 0;
657
657
  const de = Md, xt = wd, us = Ed, ms = Ad, fs = Id, hs = Cd, Ci = Od, ps = Rd;
658
658
  let Oi = Ta, ce = null;
659
- const ki = W({}, [...va, ...ni, ...ii, ...ai, ...ba]);
659
+ const ki = W({}, [...ba, ...ni, ...ii, ...ai, ...va]);
660
660
  let ue = null;
661
661
  const Ri = W({}, [..._a, ...oi, ...Sa, ...gn]);
662
662
  let me = Object.seal(Rt(null, {
@@ -693,7 +693,7 @@ function Mo() {
693
693
  value: null
694
694
  }
695
695
  }));
696
- let Ui = !0, Dn = !0, Ni = !1, Li = !0, ot = !1, qt = !0, pt = !1, Pn = !1, Vn = null, Kn = null, jn = !1, Et = !1, dn = !1, cn = !1, Di = !0, Pi = !1;
696
+ let Ni = !0, Dn = !0, Ui = !1, Li = !0, ot = !1, qt = !0, pt = !1, Pn = !1, Vn = null, Kn = null, jn = !1, Et = !1, dn = !1, cn = !1, Di = !0, Pi = !1;
697
697
  const Vi = "user-content-";
698
698
  let $n = !0, xn = !1, At = {}, He = null;
699
699
  const zn = W({}, [
@@ -744,7 +744,7 @@ function Mo() {
744
744
  let Yn = W({}, zi);
745
745
  const ys = W({}, ["title", "style", "font", "a", "script"]);
746
746
  let Bt = null;
747
- const vs = ["application/xhtml+xml", "text/html"], bs = "text/html";
747
+ const bs = ["application/xhtml+xml", "text/html"], vs = "text/html";
748
748
  let fe = null, Ct = null;
749
749
  const _s = n.createElement("form"), qi = function(s) {
750
750
  return s instanceof RegExp || s instanceof Function;
@@ -753,7 +753,7 @@ function Mo() {
753
753
  if (Ct && Ct === s)
754
754
  return;
755
755
  (!s || typeof s != "object") && (s = {}), s = ke(s), Bt = // eslint-disable-next-line unicorn/prefer-includes
756
- vs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? bs : s.PARSER_MEDIA_TYPE, fe = Bt === "application/xhtml+xml" ? ti : Jt, ce = rt(s, "ALLOWED_TAGS", ki, {
756
+ bs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? vs : s.PARSER_MEDIA_TYPE, fe = Bt === "application/xhtml+xml" ? ti : Jt, ce = rt(s, "ALLOWED_TAGS", ki, {
757
757
  transform: fe
758
758
  }), ue = rt(s, "ALLOWED_ATTR", Ri, {
759
759
  transform: fe
@@ -771,9 +771,9 @@ function Mo() {
771
771
  transform: fe
772
772
  }), Fi = rt(s, "FORBID_ATTR", ke({}), {
773
773
  transform: fe
774
- }), At = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Ui = s.ALLOW_ARIA_ATTR !== !1, Dn = s.ALLOW_DATA_ATTR !== !1, Ni = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Li = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ot = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, pt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, dn = s.RETURN_DOM_FRAGMENT || !1, cn = s.RETURN_TRUSTED_TYPE || !1, jn = s.FORCE_BODY || !1, Di = s.SANITIZE_DOM !== !1, Pi = s.SANITIZE_NAMED_PROPS || !1, $n = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Oi = _d(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : Ta, It = typeof s.NAMESPACE == "string" ? s.NAMESPACE : Ge, Gn = Me(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ke(s.MATHML_TEXT_INTEGRATION_POINTS) : W({}, xi), Yn = Me(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? ke(s.HTML_INTEGRATION_POINTS) : W({}, zi);
774
+ }), At = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Ni = s.ALLOW_ARIA_ATTR !== !1, Dn = s.ALLOW_DATA_ATTR !== !1, Ui = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Li = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ot = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, pt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, dn = s.RETURN_DOM_FRAGMENT || !1, cn = s.RETURN_TRUSTED_TYPE || !1, jn = s.FORCE_BODY || !1, Di = s.SANITIZE_DOM !== !1, Pi = s.SANITIZE_NAMED_PROPS || !1, $n = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Oi = _d(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : Ta, It = typeof s.NAMESPACE == "string" ? s.NAMESPACE : Ge, Gn = Me(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ke(s.MATHML_TEXT_INTEGRATION_POINTS) : W({}, xi), Yn = Me(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? ke(s.HTML_INTEGRATION_POINTS) : W({}, zi);
775
775
  const h = Me(s, "CUSTOM_ELEMENT_HANDLING") && s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING == "object" ? ke(s.CUSTOM_ELEMENT_HANDLING) : Rt(null);
776
- if (me = Rt(null), Me(h, "tagNameCheck") && qi(h.tagNameCheck) && (me.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && qi(h.attributeNameCheck) && (me.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(me), ot && (Dn = !1), dn && (Et = !0), At && (ce = W({}, ba), ue = Rt(null), At.html === !0 && (W(ce, va), W(ue, _a)), At.svg === !0 && (W(ce, ni), W(ue, oi), W(ue, gn)), At.svgFilters === !0 && (W(ce, ii), W(ue, oi), W(ue, gn)), At.mathMl === !0 && (W(ce, ai), W(ue, Sa), W(ue, gn))), at.tagCheck = null, at.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? at.tagCheck = s.ADD_TAGS : ct(s.ADD_TAGS) && (ce === ki && (ce = ke(ce)), W(ce, s.ADD_TAGS, fe))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? at.attributeCheck = s.ADD_ATTR : ct(s.ADD_ATTR) && (ue === Ri && (ue = ke(ue)), W(ue, s.ADD_ATTR, fe))), Me(s, "ADD_URI_SAFE_ATTR") && ct(s.ADD_URI_SAFE_ATTR) && W(qn, s.ADD_URI_SAFE_ATTR, fe), Me(s, "FORBID_CONTENTS") && ct(s.FORBID_CONTENTS) && (He === zn && (He = ke(He)), W(He, s.FORBID_CONTENTS, fe)), Me(s, "ADD_FORBID_CONTENTS") && ct(s.ADD_FORBID_CONTENTS) && (He === zn && (He = ke(He)), W(He, s.ADD_FORBID_CONTENTS, fe)), $n && (ce["#text"] = !0), pt && W(ce, ["html", "head", "body"]), ce.table && (W(ce, ["tbody"]), delete zt.tbody), s.TRUSTED_TYPES_POLICY) {
776
+ if (me = Rt(null), Me(h, "tagNameCheck") && qi(h.tagNameCheck) && (me.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && qi(h.attributeNameCheck) && (me.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(me), ot && (Dn = !1), dn && (Et = !0), At && (ce = W({}, va), ue = Rt(null), At.html === !0 && (W(ce, ba), W(ue, _a)), At.svg === !0 && (W(ce, ni), W(ue, oi), W(ue, gn)), At.svgFilters === !0 && (W(ce, ii), W(ue, oi), W(ue, gn)), At.mathMl === !0 && (W(ce, ai), W(ue, Sa), W(ue, gn))), at.tagCheck = null, at.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? at.tagCheck = s.ADD_TAGS : ct(s.ADD_TAGS) && (ce === ki && (ce = ke(ce)), W(ce, s.ADD_TAGS, fe))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? at.attributeCheck = s.ADD_ATTR : ct(s.ADD_ATTR) && (ue === Ri && (ue = ke(ue)), W(ue, s.ADD_ATTR, fe))), Me(s, "ADD_URI_SAFE_ATTR") && ct(s.ADD_URI_SAFE_ATTR) && W(qn, s.ADD_URI_SAFE_ATTR, fe), Me(s, "FORBID_CONTENTS") && ct(s.FORBID_CONTENTS) && (He === zn && (He = ke(He)), W(He, s.FORBID_CONTENTS, fe)), Me(s, "ADD_FORBID_CONTENTS") && ct(s.ADD_FORBID_CONTENTS) && (He === zn && (He = ke(He)), W(He, s.ADD_FORBID_CONTENTS, fe)), $n && (ce["#text"] = !0), pt && W(ce, ["html", "head", "body"]), ce.table && (W(ce, ["tbody"]), delete zt.tbody), s.TRUSTED_TYPES_POLICY) {
777
777
  if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
778
778
  throw yt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
779
779
  if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -901,7 +901,7 @@ function Mo() {
901
901
  }
902
902
  }
903
903
  const G = h.body || h.documentElement;
904
- return s && R && G.insertBefore(n.createTextNode(R), G.childNodes[0] || null), It === Ge ? Nn.call(h, pt ? "html" : "body")[0] : pt ? h.documentElement : G;
904
+ return s && R && G.insertBefore(n.createTextNode(R), G.childNodes[0] || null), It === Ge ? Un.call(h, pt ? "html" : "body")[0] : pt ? h.documentElement : G;
905
905
  }, Wi = function(s) {
906
906
  return ge.call(
907
907
  s.ownerDocument || s,
@@ -972,8 +972,8 @@ function Mo() {
972
972
  return !1;
973
973
  }
974
974
  };
975
- function Xe(U, s, h) {
976
- U.length !== 0 && Yt(U, (R) => {
975
+ function Xe(N, s, h) {
976
+ N.length !== 0 && Yt(N, (R) => {
977
977
  R.call(t, s, h, Ct);
978
978
  });
979
979
  }
@@ -987,8 +987,8 @@ function Mo() {
987
987
  if ($ && R) {
988
988
  const G = $.length;
989
989
  for (let J = G - 1; J >= 0; --J) {
990
- const Te = xn ? $[J] : b($[J], !0);
991
- R.insertBefore(Te, v(s));
990
+ const Te = xn ? $[J] : v($[J], !0);
991
+ R.insertBefore(Te, b(s));
992
992
  }
993
993
  }
994
994
  }
@@ -1004,7 +1004,7 @@ function Mo() {
1004
1004
  return st(s), !0;
1005
1005
  if (zt[h] || !(at.tagCheck instanceof Function && at.tagCheck(h)) && !ce[h])
1006
1006
  return Cs(s, h);
1007
- if ((O ? O(s) : s.nodeType) === Ye.element && !ws(s) || (h === "noscript" || h === "noembed" || h === "noframes") && Ee(Ud, s.innerHTML))
1007
+ if ((O ? O(s) : s.nodeType) === Ye.element && !ws(s) || (h === "noscript" || h === "noembed" || h === "noframes") && Ee(Nd, s.innerHTML))
1008
1008
  return st(s), !0;
1009
1009
  if (ot && s.nodeType === Ye.text) {
1010
1010
  const $ = fn(s.textContent);
@@ -1018,12 +1018,12 @@ function Mo() {
1018
1018
  return !1;
1019
1019
  const $ = ue[h] || at.attributeCheck instanceof Function && at.attributeCheck(h, s);
1020
1020
  if (!(Dn && Ee(ms, h))) {
1021
- if (!(Ui && Ee(fs, h))) {
1021
+ if (!(Ni && Ee(fs, h))) {
1022
1022
  if ($) {
1023
1023
  if (!qn[h]) {
1024
1024
  if (!Ee(Oi, Wt(R, Ci, ""))) {
1025
1025
  if (!((h === "src" || h === "xlink:href" || h === "href") && s !== "script" && pa(R, "data:") === 0 && Ki[s])) {
1026
- if (!(Ni && !Ee(hs, Wt(R, Ci, "")))) {
1026
+ if (!(Ui && !Ee(hs, Wt(R, Ci, "")))) {
1027
1027
  if (R)
1028
1028
  return !1;
1029
1029
  }
@@ -1088,7 +1088,7 @@ function Mo() {
1088
1088
  gt(Te, s);
1089
1089
  continue;
1090
1090
  }
1091
- if (!Li && Ee(Nd, Oe)) {
1091
+ if (!Li && Ee(Ud, Oe)) {
1092
1092
  gt(Te, s);
1093
1093
  continue;
1094
1094
  }
@@ -1149,49 +1149,49 @@ function Mo() {
1149
1149
  }
1150
1150
  }
1151
1151
  };
1152
- return t.sanitize = function(U) {
1152
+ return t.sanitize = function(N) {
1153
1153
  let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, h = null, R = null, $ = null, G = null;
1154
- if (Bn = !U, Bn && (U = "<!-->"), typeof U != "string" && !Ht(U) && (U = bd(U), typeof U != "string"))
1154
+ if (Bn = !N, Bn && (N = "<!-->"), typeof N != "string" && !Ht(N) && (N = vd(N), typeof N != "string"))
1155
1155
  throw yt("dirty is not a string, aborting");
1156
1156
  if (!t.isSupported)
1157
- return U;
1157
+ return N;
1158
1158
  Pn ? (ce = Vn, ue = Kn) : Wn(s), (z.uponSanitizeElement.length > 0 || z.uponSanitizeAttribute.length > 0) && (ce = ke(ce)), z.uponSanitizeAttribute.length > 0 && (ue = ke(ue)), t.removed = [];
1159
- const J = xn && typeof U != "string" && Ht(U);
1159
+ const J = xn && typeof N != "string" && Ht(N);
1160
1160
  if (J) {
1161
- const Ve = C ? C(U) : U.nodeName;
1161
+ const Ve = C ? C(N) : N.nodeName;
1162
1162
  if (typeof Ve == "string") {
1163
1163
  const ze = fe(Ve);
1164
1164
  if (!ce[ze] || zt[ze])
1165
1165
  throw yt("root node is forbidden and cannot be sanitized in-place");
1166
1166
  }
1167
- if (hn(U))
1167
+ if (hn(N))
1168
1168
  throw yt("root node is clobbered and cannot be sanitized in-place");
1169
1169
  try {
1170
- Xn(U);
1170
+ Xn(N);
1171
1171
  } catch (ze) {
1172
- throw Gi(U), ze;
1172
+ throw Gi(N), ze;
1173
1173
  }
1174
- } else if (Ht(U))
1175
- h = Yi("<!---->"), R = h.ownerDocument.importNode(U, !0), R.nodeType === Ye.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? h = R : h.appendChild(R), Xn(R);
1174
+ } else if (Ht(N))
1175
+ h = Yi("<!---->"), R = h.ownerDocument.importNode(N, !0), R.nodeType === Ye.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? h = R : h.appendChild(R), Xn(R);
1176
1176
  else {
1177
1177
  if (!Et && !ot && !pt && // eslint-disable-next-line unicorn/prefer-includes
1178
- U.indexOf("<") === -1)
1179
- return _ && cn ? I(U) : U;
1180
- if (h = Yi(U), !h)
1178
+ N.indexOf("<") === -1)
1179
+ return _ && cn ? I(N) : N;
1180
+ if (h = Yi(N), !h)
1181
1181
  return Et ? null : cn ? T : "";
1182
1182
  }
1183
1183
  h && jn && st(h.firstChild);
1184
- const Te = Wi(J ? U : h);
1184
+ const Te = Wi(J ? N : h);
1185
1185
  try {
1186
1186
  for (; $ = Te.nextNode(); )
1187
1187
  Zi($), Qi($), Ot($.content) && pn($.content);
1188
1188
  } catch (Ve) {
1189
- throw J && Gi(U), Ve;
1189
+ throw J && Gi(N), Ve;
1190
1190
  }
1191
1191
  if (J)
1192
1192
  return Yt(t.removed, (Ve) => {
1193
1193
  Ve.element && As(Ve.element);
1194
- }), ot && Zn(U), U;
1194
+ }), ot && Zn(N), N;
1195
1195
  if (Et) {
1196
1196
  if (ot && Zn(h), dn)
1197
1197
  for (G = it.call(h.ownerDocument); h.firstChild; )
@@ -1204,26 +1204,26 @@ function Mo() {
1204
1204
  return pt && ce["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && Ee(kd, h.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + h.ownerDocument.doctype.name + `>
1205
1205
  ` + _e), ot && (_e = fn(_e)), _ && cn ? I(_e) : _e;
1206
1206
  }, t.setConfig = function() {
1207
- let U = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1208
- Wn(U), Pn = !0, Vn = ce, Kn = ue;
1207
+ let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1208
+ Wn(N), Pn = !0, Vn = ce, Kn = ue;
1209
1209
  }, t.clearConfig = function() {
1210
- Ct = null, Pn = !1, Vn = null, Kn = null, _ = N, T = "";
1211
- }, t.isValidAttribute = function(U, s, h) {
1210
+ Ct = null, Pn = !1, Vn = null, Kn = null, _ = U, T = "";
1211
+ }, t.isValidAttribute = function(N, s, h) {
1212
1212
  Ct || Wn({});
1213
- const R = fe(U), $ = fe(s);
1213
+ const R = fe(N), $ = fe(s);
1214
1214
  return Xi(R, $, h);
1215
- }, t.addHook = function(U, s) {
1216
- typeof s == "function" && Me(z, U) && kt(z[U], s);
1217
- }, t.removeHook = function(U, s) {
1218
- if (Me(z, U)) {
1215
+ }, t.addHook = function(N, s) {
1216
+ typeof s == "function" && Me(z, N) && kt(z[N], s);
1217
+ }, t.removeHook = function(N, s) {
1218
+ if (Me(z, N)) {
1219
1219
  if (s !== void 0) {
1220
- const h = md(z[U], s);
1221
- return h === -1 ? void 0 : fd(z[U], h, 1)[0];
1220
+ const h = md(z[N], s);
1221
+ return h === -1 ? void 0 : fd(z[N], h, 1)[0];
1222
1222
  }
1223
- return fa(z[U]);
1223
+ return fa(z[N]);
1224
1224
  }
1225
- }, t.removeHooks = function(U) {
1226
- Me(z, U) && (z[U] = []);
1225
+ }, t.removeHooks = function(N) {
1226
+ Me(z, N) && (z[N] = []);
1227
1227
  }, t.removeAllHooks = function() {
1228
1228
  z = wa();
1229
1229
  }, t;
@@ -1262,7 +1262,7 @@ $t.prototype.delete = Vd;
1262
1262
  $t.prototype.get = Kd;
1263
1263
  $t.prototype.has = jd;
1264
1264
  $t.prototype.set = xd;
1265
- var vn = function() {
1265
+ var bn = function() {
1266
1266
  try {
1267
1267
  var e = wt(Object, "defineProperty");
1268
1268
  return e({}, "", {}), e;
@@ -1270,7 +1270,7 @@ var vn = function() {
1270
1270
  }
1271
1271
  }();
1272
1272
  function Eo(e, t, n) {
1273
- t == "__proto__" && vn ? vn(e, t, {
1273
+ t == "__proto__" && bn ? bn(e, t, {
1274
1274
  configurable: !0,
1275
1275
  enumerable: !0,
1276
1276
  value: n,
@@ -1303,18 +1303,18 @@ function Hd(e) {
1303
1303
  }
1304
1304
  var Gd = Object.prototype, Yd = Gd.hasOwnProperty;
1305
1305
  function Wd(e) {
1306
- if (!Ne(e))
1306
+ if (!Ue(e))
1307
1307
  return Hd(e);
1308
1308
  var t = _i(e), n = [];
1309
1309
  for (var o in e)
1310
1310
  o == "constructor" && (t || !Yd.call(e, o)) || n.push(o);
1311
1311
  return n;
1312
1312
  }
1313
- function Un(e) {
1313
+ function Nn(e) {
1314
1314
  return An(e) ? yo(e, !0) : Wd(e);
1315
1315
  }
1316
1316
  function Zd(e, t) {
1317
- return e && Fn(t, Un(t), e);
1317
+ return e && Fn(t, Nn(t), e);
1318
1318
  }
1319
1319
  var Io = typeof exports == "object" && exports && !exports.nodeType && exports, Ea = Io && typeof module == "object" && module && !module.nodeType && module, Xd = Ea && Ea.exports === Io, Aa = Xd ? $e.Buffer : void 0, Ia = Aa ? Aa.allocUnsafe : void 0;
1320
1320
  function Jd(e, t) {
@@ -1352,7 +1352,7 @@ function Oo(e, t) {
1352
1352
  e[a + n] = t[n];
1353
1353
  return e;
1354
1354
  }
1355
- var ko = vo(Object.getPrototypeOf, Object), ac = Object.getOwnPropertySymbols, Ro = ac ? function(e) {
1355
+ var ko = bo(Object.getPrototypeOf, Object), ac = Object.getOwnPropertySymbols, Ro = ac ? function(e) {
1356
1356
  for (var t = []; e; )
1357
1357
  Oo(t, wi(e)), e = ko(e);
1358
1358
  return t;
@@ -1368,15 +1368,15 @@ function sc(e) {
1368
1368
  return Fo(e, In, wi);
1369
1369
  }
1370
1370
  function rc(e) {
1371
- return Fo(e, Un, Ro);
1371
+ return Fo(e, Nn, Ro);
1372
1372
  }
1373
- var mi = wt($e, "DataView"), fi = wt($e, "Promise"), Nt = wt($e, "Set"), hi = wt($e, "WeakMap"), Oa = "[object Map]", lc = "[object Object]", ka = "[object Promise]", Ra = "[object Set]", Fa = "[object WeakMap]", Ua = "[object DataView]", dc = Mt(mi), cc = Mt(sn), uc = Mt(fi), mc = Mt(Nt), fc = Mt(hi), Je = mt;
1374
- (mi && Je(new mi(new ArrayBuffer(1))) != Ua || sn && Je(new sn()) != Oa || fi && Je(fi.resolve()) != ka || Nt && Je(new Nt()) != Ra || hi && Je(new hi()) != Fa) && (Je = function(e) {
1373
+ var mi = wt($e, "DataView"), fi = wt($e, "Promise"), Ut = wt($e, "Set"), hi = wt($e, "WeakMap"), Oa = "[object Map]", lc = "[object Object]", ka = "[object Promise]", Ra = "[object Set]", Fa = "[object WeakMap]", Na = "[object DataView]", dc = Mt(mi), cc = Mt(sn), uc = Mt(fi), mc = Mt(Ut), fc = Mt(hi), Je = mt;
1374
+ (mi && Je(new mi(new ArrayBuffer(1))) != Na || sn && Je(new sn()) != Oa || fi && Je(fi.resolve()) != ka || Ut && Je(new Ut()) != Ra || hi && Je(new hi()) != Fa) && (Je = function(e) {
1375
1375
  var t = mt(e), n = t == lc ? e.constructor : void 0, o = n ? Mt(n) : "";
1376
1376
  if (o)
1377
1377
  switch (o) {
1378
1378
  case dc:
1379
- return Ua;
1379
+ return Na;
1380
1380
  case cc:
1381
1381
  return Oa;
1382
1382
  case uc:
@@ -1393,18 +1393,18 @@ function gc(e) {
1393
1393
  var t = e.length, n = new e.constructor(t);
1394
1394
  return t && typeof e[0] == "string" && pc.call(e, "index") && (n.index = e.index, n.input = e.input), n;
1395
1395
  }
1396
- var Na = $e.Uint8Array;
1396
+ var Ua = $e.Uint8Array;
1397
1397
  function Ei(e) {
1398
1398
  var t = new e.constructor(e.byteLength);
1399
- return new Na(t).set(new Na(e)), t;
1399
+ return new Ua(t).set(new Ua(e)), t;
1400
1400
  }
1401
1401
  function yc(e, t) {
1402
1402
  var n = t ? Ei(e.buffer) : e.buffer;
1403
1403
  return new e.constructor(n, e.byteOffset, e.byteLength);
1404
1404
  }
1405
- var vc = /\w*$/;
1406
- function bc(e) {
1407
- var t = new e.constructor(e.source, vc.exec(e));
1405
+ var bc = /\w*$/;
1406
+ function vc(e) {
1407
+ var t = new e.constructor(e.source, bc.exec(e));
1408
1408
  return t.lastIndex = e.lastIndex, t;
1409
1409
  }
1410
1410
  var La = ut ? ut.prototype : void 0, Da = La ? La.valueOf : void 0;
@@ -1415,7 +1415,7 @@ function Sc(e, t) {
1415
1415
  var n = t ? Ei(e.buffer) : e.buffer;
1416
1416
  return new e.constructor(n, e.byteOffset, e.length);
1417
1417
  }
1418
- var Tc = "[object Boolean]", Mc = "[object Date]", wc = "[object Map]", Ec = "[object Number]", Ac = "[object RegExp]", Ic = "[object Set]", Cc = "[object String]", Oc = "[object Symbol]", kc = "[object ArrayBuffer]", Rc = "[object DataView]", Fc = "[object Float32Array]", Uc = "[object Float64Array]", Nc = "[object Int8Array]", Lc = "[object Int16Array]", Dc = "[object Int32Array]", Pc = "[object Uint8Array]", Vc = "[object Uint8ClampedArray]", Kc = "[object Uint16Array]", jc = "[object Uint32Array]";
1418
+ var Tc = "[object Boolean]", Mc = "[object Date]", wc = "[object Map]", Ec = "[object Number]", Ac = "[object RegExp]", Ic = "[object Set]", Cc = "[object String]", Oc = "[object Symbol]", kc = "[object ArrayBuffer]", Rc = "[object DataView]", Fc = "[object Float32Array]", Nc = "[object Float64Array]", Uc = "[object Int8Array]", Lc = "[object Int16Array]", Dc = "[object Int32Array]", Pc = "[object Uint8Array]", Vc = "[object Uint8ClampedArray]", Kc = "[object Uint16Array]", jc = "[object Uint32Array]";
1419
1419
  function $c(e, t, n) {
1420
1420
  var o = e.constructor;
1421
1421
  switch (t) {
@@ -1427,8 +1427,8 @@ function $c(e, t, n) {
1427
1427
  case Rc:
1428
1428
  return yc(e, n);
1429
1429
  case Fc:
1430
- case Uc:
1431
1430
  case Nc:
1431
+ case Uc:
1432
1432
  case Lc:
1433
1433
  case Dc:
1434
1434
  case Pc:
@@ -1442,7 +1442,7 @@ function $c(e, t, n) {
1442
1442
  case Cc:
1443
1443
  return new o(e);
1444
1444
  case Ac:
1445
- return bc(e);
1445
+ return vc(e);
1446
1446
  case Ic:
1447
1447
  return new o();
1448
1448
  case Oc:
@@ -1453,7 +1453,7 @@ var Pa = Object.create, xc = /* @__PURE__ */ function() {
1453
1453
  function e() {
1454
1454
  }
1455
1455
  return function(t) {
1456
- if (!Ne(t))
1456
+ if (!Ue(t))
1457
1457
  return {};
1458
1458
  if (Pa)
1459
1459
  return Pa(t);
@@ -1469,28 +1469,28 @@ var qc = "[object Map]";
1469
1469
  function Bc(e) {
1470
1470
  return ft(e) && Je(e) == qc;
1471
1471
  }
1472
- var Va = Dt && Dt.isMap, Hc = Va ? bi(Va) : Bc, Gc = "[object Set]";
1472
+ var Va = Dt && Dt.isMap, Hc = Va ? vi(Va) : Bc, Gc = "[object Set]";
1473
1473
  function Yc(e) {
1474
1474
  return ft(e) && Je(e) == Gc;
1475
1475
  }
1476
- var Ka = Dt && Dt.isSet, Wc = Ka ? bi(Ka) : Yc, Zc = 1, Xc = 2, Jc = 4, Uo = "[object Arguments]", Qc = "[object Array]", eu = "[object Boolean]", tu = "[object Date]", nu = "[object Error]", No = "[object Function]", iu = "[object GeneratorFunction]", au = "[object Map]", ou = "[object Number]", Lo = "[object Object]", su = "[object RegExp]", ru = "[object Set]", lu = "[object String]", du = "[object Symbol]", cu = "[object WeakMap]", uu = "[object ArrayBuffer]", mu = "[object DataView]", fu = "[object Float32Array]", hu = "[object Float64Array]", pu = "[object Int8Array]", gu = "[object Int16Array]", yu = "[object Int32Array]", vu = "[object Uint8Array]", bu = "[object Uint8ClampedArray]", _u = "[object Uint16Array]", Su = "[object Uint32Array]", ie = {};
1477
- ie[Uo] = ie[Qc] = ie[uu] = ie[mu] = ie[eu] = ie[tu] = ie[fu] = ie[hu] = ie[pu] = ie[gu] = ie[yu] = ie[au] = ie[ou] = ie[Lo] = ie[su] = ie[ru] = ie[lu] = ie[du] = ie[vu] = ie[bu] = ie[_u] = ie[Su] = !0;
1478
- ie[nu] = ie[No] = ie[cu] = !1;
1476
+ var Ka = Dt && Dt.isSet, Wc = Ka ? vi(Ka) : Yc, Zc = 1, Xc = 2, Jc = 4, No = "[object Arguments]", Qc = "[object Array]", eu = "[object Boolean]", tu = "[object Date]", nu = "[object Error]", Uo = "[object Function]", iu = "[object GeneratorFunction]", au = "[object Map]", ou = "[object Number]", Lo = "[object Object]", su = "[object RegExp]", ru = "[object Set]", lu = "[object String]", du = "[object Symbol]", cu = "[object WeakMap]", uu = "[object ArrayBuffer]", mu = "[object DataView]", fu = "[object Float32Array]", hu = "[object Float64Array]", pu = "[object Int8Array]", gu = "[object Int16Array]", yu = "[object Int32Array]", bu = "[object Uint8Array]", vu = "[object Uint8ClampedArray]", _u = "[object Uint16Array]", Su = "[object Uint32Array]", ie = {};
1477
+ ie[No] = ie[Qc] = ie[uu] = ie[mu] = ie[eu] = ie[tu] = ie[fu] = ie[hu] = ie[pu] = ie[gu] = ie[yu] = ie[au] = ie[ou] = ie[Lo] = ie[su] = ie[ru] = ie[lu] = ie[du] = ie[bu] = ie[vu] = ie[_u] = ie[Su] = !0;
1478
+ ie[nu] = ie[Uo] = ie[cu] = !1;
1479
1479
  function tn(e, t, n, o, a, i) {
1480
1480
  var r, l = t & Zc, d = t & Xc, u = t & Jc;
1481
1481
  if (r !== void 0)
1482
1482
  return r;
1483
- if (!Ne(e))
1483
+ if (!Ue(e))
1484
1484
  return e;
1485
1485
  var y = ht(e);
1486
1486
  if (y) {
1487
1487
  if (r = gc(e), !l)
1488
1488
  return Qd(e, r);
1489
1489
  } else {
1490
- var f = Je(e), p = f == No || f == iu;
1490
+ var f = Je(e), p = f == Uo || f == iu;
1491
1491
  if (fo(e))
1492
1492
  return Jd(e, l);
1493
- if (f == Lo || f == Uo || p && !a) {
1493
+ if (f == Lo || f == No || p && !a) {
1494
1494
  if (r = d || p ? {} : zc(e), !l)
1495
1495
  return d ? oc(e, Zd(r, e)) : ic(e, Bd(r, e));
1496
1496
  } else {
@@ -1500,17 +1500,17 @@ function tn(e, t, n, o, a, i) {
1500
1500
  }
1501
1501
  }
1502
1502
  i || (i = new $t());
1503
- var b = i.get(e);
1504
- if (b)
1505
- return b;
1503
+ var v = i.get(e);
1504
+ if (v)
1505
+ return v;
1506
1506
  i.set(e, r), Wc(e) ? e.forEach(function(F) {
1507
1507
  r.add(tn(F, t, n, F, e, i));
1508
1508
  }) : Hc(e) && e.forEach(function(F, L) {
1509
1509
  r.set(L, tn(F, t, n, L, e, i));
1510
1510
  });
1511
- var A = u ? d ? rc : sc : d ? Un : In, v = y ? void 0 : A(e);
1512
- return ro(v || e, function(F, L) {
1513
- v && (L = F, F = e[L]), Ao(r, L, tn(F, t, n, L, e, i));
1511
+ var A = u ? d ? rc : sc : d ? Nn : In, b = y ? void 0 : A(e);
1512
+ return ro(b || e, function(F, L) {
1513
+ b && (L = F, F = e[L]), Ao(r, L, tn(F, t, n, L, e, i));
1514
1514
  }), r;
1515
1515
  }
1516
1516
  var Tu = 1, Mu = 4;
@@ -1519,7 +1519,7 @@ function Qe(e) {
1519
1519
  }
1520
1520
  const Ai = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), ja = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
1521
1521
  var wu = "[object String]";
1522
- function bt(e) {
1522
+ function vt(e) {
1523
1523
  return typeof e == "string" || !ht(e) && ft(e) && mt(e) == wu;
1524
1524
  }
1525
1525
  const Do = {
@@ -1534,26 +1534,26 @@ const Do = {
1534
1534
  featured: this.fieldFeatured(e),
1535
1535
  required: this.fieldRequired(e)
1536
1536
  };
1537
- return Array.isArray(e.styleClasses) ? Re(e.styleClasses, (o) => n[o] = !0) : bt(e.styleClasses) && (n[e.styleClasses] = !0), ve(e.type) || (n["field-" + e.type] = !0), n;
1537
+ return Array.isArray(e.styleClasses) ? Re(e.styleClasses, (o) => n[o] = !0) : vt(e.styleClasses) && (n[e.styleClasses] = !0), be(e.type) || (n["field-" + e.type] = !0), n;
1538
1538
  },
1539
1539
  fieldErrors(e) {
1540
1540
  return this.errors.filter((n) => n.field.fieldName === e.fieldName).map((n) => n.error);
1541
1541
  },
1542
1542
  // Get disabled attr of field
1543
1543
  fieldDisabled(e) {
1544
- return ne(e.disabled) ? e.disabled.call(this, this.model, e, this) : ve(e.disabled) ? !1 : e.disabled;
1544
+ return ne(e.disabled) ? e.disabled.call(this, this.model, e, this) : be(e.disabled) ? !1 : e.disabled;
1545
1545
  },
1546
1546
  // Get readonly prop of field
1547
1547
  fieldReadonly(e) {
1548
- return ne(e.readonly) ? e.readonly.call(this, this.model, e, this) : ve(e.readonly) ? !1 : e.readonly;
1548
+ return ne(e.readonly) ? e.readonly.call(this, this.model, e, this) : be(e.readonly) ? !1 : e.readonly;
1549
1549
  },
1550
1550
  // Get featured prop of field
1551
1551
  fieldFeatured(e) {
1552
- return ne(e.featured) ? e.featured.call(this, this.model, e, this) : ve(e.featured) ? !1 : e.featured;
1552
+ return ne(e.featured) ? e.featured.call(this, this.model, e, this) : be(e.featured) ? !1 : e.featured;
1553
1553
  },
1554
1554
  // Get required prop of field
1555
1555
  fieldRequired(e) {
1556
- return ne(e.required) ? e.required.call(this, this.model, e, this) : ve(e.required) ? !1 : e.required;
1556
+ return ne(e.required) ? e.required.call(this, this.model, e, this) : be(e.required) ? !1 : e.required;
1557
1557
  }
1558
1558
  }
1559
1559
  };
@@ -1575,9 +1575,9 @@ function pi(e) {
1575
1575
  return e;
1576
1576
  if (Cn(e))
1577
1577
  return $a;
1578
- if (Ne(e)) {
1578
+ if (Ue(e)) {
1579
1579
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
1580
- e = Ne(t) ? t + "" : t;
1580
+ e = Ue(t) ? t + "" : t;
1581
1581
  }
1582
1582
  if (typeof e != "string")
1583
1583
  return e === 0 ? e : +e;
@@ -1585,35 +1585,35 @@ function pi(e) {
1585
1585
  var n = ku.test(e);
1586
1586
  return n || Ru.test(e) ? Fu(e.slice(2), n ? 2 : 8) : Ou.test(e) ? $a : +e;
1587
1587
  }
1588
- var Uu = "Expected a function", Nu = Math.max, Lu = Math.min;
1588
+ var Nu = "Expected a function", Uu = Math.max, Lu = Math.min;
1589
1589
  function Pt(e, t, n) {
1590
1590
  var o, a, i, r, l, d, u = 0, y = !1, f = !1, p = !0;
1591
1591
  if (typeof e != "function")
1592
- throw new TypeError(Uu);
1593
- t = pi(t) || 0, Ne(n) && (y = !!n.leading, f = "maxWait" in n, i = f ? Nu(pi(n.maxWait) || 0, t) : i, p = "trailing" in n ? !!n.trailing : p);
1594
- function b(_) {
1595
- var T = o, N = a;
1596
- return o = a = void 0, u = _, r = e.apply(N, T), r;
1592
+ throw new TypeError(Nu);
1593
+ t = pi(t) || 0, Ue(n) && (y = !!n.leading, f = "maxWait" in n, i = f ? Uu(pi(n.maxWait) || 0, t) : i, p = "trailing" in n ? !!n.trailing : p);
1594
+ function v(_) {
1595
+ var T = o, U = a;
1596
+ return o = a = void 0, u = _, r = e.apply(U, T), r;
1597
1597
  }
1598
1598
  function A(_) {
1599
- return u = _, l = setTimeout(L, t), y ? b(_) : r;
1599
+ return u = _, l = setTimeout(L, t), y ? v(_) : r;
1600
1600
  }
1601
- function v(_) {
1602
- var T = _ - d, N = _ - u, D = t - T;
1603
- return f ? Lu(D, i - N) : D;
1601
+ function b(_) {
1602
+ var T = _ - d, U = _ - u, D = t - T;
1603
+ return f ? Lu(D, i - U) : D;
1604
1604
  }
1605
1605
  function F(_) {
1606
- var T = _ - d, N = _ - u;
1607
- return d === void 0 || T >= t || T < 0 || f && N >= i;
1606
+ var T = _ - d, U = _ - u;
1607
+ return d === void 0 || T >= t || T < 0 || f && U >= i;
1608
1608
  }
1609
1609
  function L() {
1610
1610
  var _ = si();
1611
1611
  if (F(_))
1612
1612
  return H(_);
1613
- l = setTimeout(L, v(_));
1613
+ l = setTimeout(L, b(_));
1614
1614
  }
1615
1615
  function H(_) {
1616
- return l = void 0, p && o ? b(_) : (o = a = void 0, r);
1616
+ return l = void 0, p && o ? v(_) : (o = a = void 0, r);
1617
1617
  }
1618
1618
  function K() {
1619
1619
  l !== void 0 && clearTimeout(l), u = 0, o = d = a = l = void 0;
@@ -1627,7 +1627,7 @@ function Pt(e, t, n) {
1627
1627
  if (l === void 0)
1628
1628
  return A(d);
1629
1629
  if (f)
1630
- return clearTimeout(l), l = setTimeout(L, t), b(d);
1630
+ return clearTimeout(l), l = setTimeout(L, t), v(d);
1631
1631
  }
1632
1632
  return l === void 0 && (l = setTimeout(L, t)), r;
1633
1633
  }
@@ -1640,13 +1640,13 @@ function Pu(e) {
1640
1640
  function Vu(e) {
1641
1641
  return this.__data__.has(e);
1642
1642
  }
1643
- function bn(e) {
1643
+ function vn(e) {
1644
1644
  var t = -1, n = e == null ? 0 : e.length;
1645
1645
  for (this.__data__ = new nt(); ++t < n; )
1646
1646
  this.add(e[t]);
1647
1647
  }
1648
- bn.prototype.add = bn.prototype.push = Pu;
1649
- bn.prototype.has = Vu;
1648
+ vn.prototype.add = vn.prototype.push = Pu;
1649
+ vn.prototype.has = Vu;
1650
1650
  function Ku(e, t, n, o) {
1651
1651
  for (var a = e.length, i = n + -1; ++i < a; )
1652
1652
  if (t(e[i], i, e))
@@ -1680,8 +1680,8 @@ function Po(e) {
1680
1680
  n[++t] = o;
1681
1681
  }), n;
1682
1682
  }
1683
- var Hu = 1 / 0, Gu = Nt && 1 / Po(new Nt([, -0]))[1] == Hu ? function(e) {
1684
- return new Nt(e);
1683
+ var Hu = 1 / 0, Gu = Ut && 1 / Po(new Ut([, -0]))[1] == Hu ? function(e) {
1684
+ return new Ut(e);
1685
1685
  } : Bu, Yu = 200;
1686
1686
  function Wu(e, t, n) {
1687
1687
  var o = -1, a = zu, i = e.length, r = !0, l = [], d = l;
@@ -1689,7 +1689,7 @@ function Wu(e, t, n) {
1689
1689
  var u = Gu(e);
1690
1690
  if (u)
1691
1691
  return Po(u);
1692
- r = !1, a = qu, d = new bn();
1692
+ r = !1, a = qu, d = new vn();
1693
1693
  } else
1694
1694
  d = l;
1695
1695
  e:
@@ -1770,7 +1770,7 @@ var zo = [
1770
1770
  return _n = _t(_n, e);
1771
1771
  }, za = function(e) {
1772
1772
  return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
1773
- }, Ue = function(e, t) {
1773
+ }, Ne = function(e, t) {
1774
1774
  for (t === void 0 && (t = 2), e = String(e); e.length < t; )
1775
1775
  e = "0" + e;
1776
1776
  return e;
@@ -1779,7 +1779,7 @@ var zo = [
1779
1779
  return String(e.getDate());
1780
1780
  },
1781
1781
  DD: function(e) {
1782
- return Ue(e.getDate());
1782
+ return Ne(e.getDate());
1783
1783
  },
1784
1784
  Do: function(e, t) {
1785
1785
  return t.DoFn(e.getDate());
@@ -1788,7 +1788,7 @@ var zo = [
1788
1788
  return String(e.getDay());
1789
1789
  },
1790
1790
  dd: function(e) {
1791
- return Ue(e.getDay());
1791
+ return Ne(e.getDay());
1792
1792
  },
1793
1793
  ddd: function(e, t) {
1794
1794
  return t.dayNamesShort[e.getDay()];
@@ -1800,7 +1800,7 @@ var zo = [
1800
1800
  return String(e.getMonth() + 1);
1801
1801
  },
1802
1802
  MM: function(e) {
1803
- return Ue(e.getMonth() + 1);
1803
+ return Ne(e.getMonth() + 1);
1804
1804
  },
1805
1805
  MMM: function(e, t) {
1806
1806
  return t.monthNamesShort[e.getMonth()];
@@ -1809,43 +1809,43 @@ var zo = [
1809
1809
  return t.monthNames[e.getMonth()];
1810
1810
  },
1811
1811
  YY: function(e) {
1812
- return Ue(String(e.getFullYear()), 4).substr(2);
1812
+ return Ne(String(e.getFullYear()), 4).substr(2);
1813
1813
  },
1814
1814
  YYYY: function(e) {
1815
- return Ue(e.getFullYear(), 4);
1815
+ return Ne(e.getFullYear(), 4);
1816
1816
  },
1817
1817
  h: function(e) {
1818
1818
  return String(e.getHours() % 12 || 12);
1819
1819
  },
1820
1820
  hh: function(e) {
1821
- return Ue(e.getHours() % 12 || 12);
1821
+ return Ne(e.getHours() % 12 || 12);
1822
1822
  },
1823
1823
  H: function(e) {
1824
1824
  return String(e.getHours());
1825
1825
  },
1826
1826
  HH: function(e) {
1827
- return Ue(e.getHours());
1827
+ return Ne(e.getHours());
1828
1828
  },
1829
1829
  m: function(e) {
1830
1830
  return String(e.getMinutes());
1831
1831
  },
1832
1832
  mm: function(e) {
1833
- return Ue(e.getMinutes());
1833
+ return Ne(e.getMinutes());
1834
1834
  },
1835
1835
  s: function(e) {
1836
1836
  return String(e.getSeconds());
1837
1837
  },
1838
1838
  ss: function(e) {
1839
- return Ue(e.getSeconds());
1839
+ return Ne(e.getSeconds());
1840
1840
  },
1841
1841
  S: function(e) {
1842
1842
  return String(Math.round(e.getMilliseconds() / 100));
1843
1843
  },
1844
1844
  SS: function(e) {
1845
- return Ue(Math.round(e.getMilliseconds() / 10), 2);
1845
+ return Ne(Math.round(e.getMilliseconds() / 10), 2);
1846
1846
  },
1847
1847
  SSS: function(e) {
1848
- return Ue(e.getMilliseconds(), 3);
1848
+ return Ne(e.getMilliseconds(), 3);
1849
1849
  },
1850
1850
  a: function(e, t) {
1851
1851
  return e.getHours() < 12 ? t.amPm[0] : t.amPm[1];
@@ -1855,11 +1855,11 @@ var zo = [
1855
1855
  },
1856
1856
  ZZ: function(e) {
1857
1857
  var t = e.getTimezoneOffset();
1858
- return (t > 0 ? "-" : "+") + Ue(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1858
+ return (t > 0 ? "-" : "+") + Ne(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1859
1859
  },
1860
1860
  Z: function(e) {
1861
1861
  var t = e.getTimezoneOffset();
1862
- return (t > 0 ? "-" : "+") + Ue(Math.floor(Math.abs(t) / 60), 2) + ":" + Ue(Math.abs(t) % 60, 2);
1862
+ return (t > 0 ? "-" : "+") + Ne(Math.floor(Math.abs(t) / 60), 2) + ":" + Ne(Math.abs(t) % 60, 2);
1863
1863
  }
1864
1864
  }, qa = function(e) {
1865
1865
  return +e - 1;
@@ -1970,10 +1970,10 @@ function sm(e, t, n) {
1970
1970
  return r.push(za(C)), "@@@";
1971
1971
  }), d = {}, u = {};
1972
1972
  l = za(l).replace(jo, function(O) {
1973
- var C = im[O], _ = C[0], T = C[1], N = C[3];
1973
+ var C = im[O], _ = C[0], T = C[1], U = C[3];
1974
1974
  if (d[_])
1975
1975
  throw new Error("Invalid format. " + _ + " specified twice in format");
1976
- return d[_] = !0, N && (u[N] = !0), i.push(C), "(" + T + ")";
1976
+ return d[_] = !0, U && (u[U] = !0), i.push(C), "(" + T + ")";
1977
1977
  }), Object.keys(u).forEach(function(O) {
1978
1978
  if (!d[O])
1979
1979
  throw new Error("Invalid format. " + O + " is required in specified format");
@@ -1984,7 +1984,7 @@ function sm(e, t, n) {
1984
1984
  if (!y)
1985
1985
  return null;
1986
1986
  for (var f = _t(_t({}, _n), n), p = 1; p < y.length; p++) {
1987
- var b = i[p - 1], A = b[0], v = b[2], F = v ? v(y[p], f) : +y[p];
1987
+ var v = i[p - 1], A = v[0], b = v[2], F = b ? b(y[p], f) : +y[p];
1988
1988
  if (F == null)
1989
1989
  return null;
1990
1990
  a[A] = F;
@@ -2042,8 +2042,8 @@ function dm(e) {
2042
2042
  return e;
2043
2043
  };
2044
2044
  }
2045
- var cm = vn ? function(e, t) {
2046
- return vn(e, "toString", {
2045
+ var cm = bn ? function(e, t) {
2046
+ return bn(e, "toString", {
2047
2047
  configurable: !0,
2048
2048
  enumerable: !1,
2049
2049
  value: dm(t),
@@ -2067,18 +2067,18 @@ function gm(e, t) {
2067
2067
  return pm(lm(e, t, Si), e + "");
2068
2068
  }
2069
2069
  function ym(e, t, n) {
2070
- if (!Ne(n))
2070
+ if (!Ue(n))
2071
2071
  return !1;
2072
2072
  var o = typeof t;
2073
2073
  return (o == "number" ? An(n) && ho(t, n.length) : o == "string" && t in n) ? On(n[t], e) : !1;
2074
2074
  }
2075
- var Ho = Object.prototype, vm = Ho.hasOwnProperty, bm = gm(function(e, t) {
2075
+ var Ho = Object.prototype, bm = Ho.hasOwnProperty, vm = gm(function(e, t) {
2076
2076
  e = Object(e);
2077
2077
  var n = -1, o = t.length, a = o > 2 ? t[2] : void 0;
2078
2078
  for (a && ym(t[0], t[1], a) && (o = 1); ++n < o; )
2079
- for (var i = t[n], r = Un(i), l = -1, d = r.length; ++l < d; ) {
2079
+ for (var i = t[n], r = Nn(i), l = -1, d = r.length; ++l < d; ) {
2080
2080
  var u = r[l], y = e[u];
2081
- (y === void 0 || On(y, Ho[u]) && !vm.call(e, u)) && (e[u] = i[u]);
2081
+ (y === void 0 || On(y, Ho[u]) && !bm.call(e, u)) && (e[u] = i[u]);
2082
2082
  }
2083
2083
  return e;
2084
2084
  }), _m = $e.isFinite;
@@ -2341,11 +2341,11 @@ const Am = {
2341
2341
  for (let n = 0; n < t.length; n++)
2342
2342
  e = e.replace("{" + (n - 1) + "}", String(t[n] || ""));
2343
2343
  return e;
2344
- }, Ke = (e, t, n = Ae) => ve(e) || e === "" ? t ? [le(n.fieldIsRequired)] : [] : null, St = {
2344
+ }, Ke = (e, t, n = Ae) => be(e) || e === "" ? t ? [le(n.fieldIsRequired)] : [] : null, St = {
2345
2345
  required: (e, t, n, o = Ae) => Ke(e, t.required, o) || [],
2346
2346
  number: (e, t, n, o = Ae) => {
2347
2347
  let a = Ke(e, t.required, o);
2348
- return a != null || (a = [], Go(e) ? (!ve(t.min) && e < t.min, (o = Ae) && a.push(le(o.numberTooSmall, t.min)), !ve(t.max) && e > t.max, (o = Ae) && a.push(le(o.numberTooBig, t.max))) : a.push(le(o.invalidNumber))), a;
2348
+ return a != null || (a = [], Go(e) ? (!be(t.min) && e < t.min, (o = Ae) && a.push(le(o.numberTooSmall, t.min)), !be(t.max) && e > t.max, (o = Ae) && a.push(le(o.numberTooBig, t.max))) : a.push(le(o.invalidNumber))), a;
2349
2349
  },
2350
2350
  integer: (e, t, n, o = Ae) => {
2351
2351
  let a = Ke(e, t.required, o);
@@ -2357,7 +2357,7 @@ const Am = {
2357
2357
  },
2358
2358
  string: (e, t, n, o = Ae) => {
2359
2359
  let a = Ke(e, t.required, o);
2360
- return a != null || (a = [], bt(e) ? (!ve(t.min) && e.length < t.min && a.push(le(o.textTooSmall, e.length, t.min)), !ve(t.max) && e.length > t.max && a.push(le(o.textTooBig, e.length, t.max))) : a.push(le(o.thisNotText))), a;
2360
+ return a != null || (a = [], vt(e) ? (!be(t.min) && e.length < t.min && a.push(le(o.textTooSmall, e.length, t.min)), !be(t.max) && e.length > t.max && a.push(le(o.textTooBig, e.length, t.max))) : a.push(le(o.thisNotText))), a;
2361
2361
  },
2362
2362
  array: (e, t, n, o = Ae) => {
2363
2363
  if (t.required) {
@@ -2366,10 +2366,10 @@ const Am = {
2366
2366
  if (e.length === 0)
2367
2367
  return [le(o.fieldIsRequired)];
2368
2368
  }
2369
- if (!ve(e)) {
2370
- if (!ve(t.min) && e.length < t.min)
2369
+ if (!be(e)) {
2370
+ if (!be(t.min) && e.length < t.min)
2371
2371
  return [le(o.selectMinItems, t.min)];
2372
- if (!ve(t.max) && e.length > t.max)
2372
+ if (!be(t.max) && e.length > t.max)
2373
2373
  return [le(o.selectMaxItems, t.max)];
2374
2374
  }
2375
2375
  return [];
@@ -2381,11 +2381,11 @@ const Am = {
2381
2381
  const i = new Date(e);
2382
2382
  if (isNaN(i.getDate()))
2383
2383
  return [le(o.invalidDate)];
2384
- if (!ve(t.min)) {
2384
+ if (!be(t.min)) {
2385
2385
  const r = new Date(t.min);
2386
2386
  i.valueOf() < r.valueOf() && a.push(le(o.dateIsEarly, Ft.format(i), Ft.format(r)));
2387
2387
  }
2388
- if (!ve(t.max)) {
2388
+ if (!be(t.max)) {
2389
2389
  const r = new Date(t.max);
2390
2390
  i.valueOf() > r.valueOf() && a.push(le(o.dateIsLate, Ft.format(i), Ft.format(r)));
2391
2391
  }
@@ -2393,7 +2393,7 @@ const Am = {
2393
2393
  },
2394
2394
  regexp: (e, t, n, o = Ae) => {
2395
2395
  const a = Ke(e, t.required, o);
2396
- return a ?? (!ve(t.pattern) && !new RegExp(t.pattern).test(e) ? [le(o.invalidFormat)] : []);
2396
+ return a ?? (!be(t.pattern) && !new RegExp(t.pattern).test(e) ? [le(o.invalidFormat)] : []);
2397
2397
  },
2398
2398
  email: (e, t, n, o = Ae) => {
2399
2399
  const a = Ke(e, t.required, o);
@@ -2425,15 +2425,15 @@ const Am = {
2425
2425
  };
2426
2426
  Object.keys(St).forEach((e) => {
2427
2427
  const t = St[e];
2428
- ne(t) && (t.locale = (n) => (o, a, i) => t(o, a, i, bm(n, Ae)));
2428
+ ne(t) && (t.locale = (n) => (o, a, i) => t(o, a, i, vm(n, Ae)));
2429
2429
  });
2430
2430
  function Xa(e) {
2431
- return bt(e) ? St[e] != null ? St[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
2431
+ return vt(e) ? St[e] != null ? St[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
2432
2432
  }
2433
2433
  function ri(e, t, n) {
2434
2434
  let o = ee(n.context, "schema.attributes", {});
2435
2435
  const a = t.value || "input";
2436
- bt(a) && (o = ee(o, a) || o), Re(o, (i, r) => {
2436
+ vt(a) && (o = ee(o, a) || o), Re(o, (i, r) => {
2437
2437
  e.setAttribute(r, i);
2438
2438
  });
2439
2439
  }
@@ -2493,7 +2493,7 @@ const qe = {
2493
2493
  const o = (a) => {
2494
2494
  let i = [];
2495
2495
  Re(Vo(a), (l) => {
2496
- Array.isArray(l) && l.length > 0 ? i = i.concat(l) : bt(l) && i.push(l);
2496
+ Array.isArray(l) && l.length > 0 ? i = i.concat(l) : vt(l) && i.push(l);
2497
2497
  }), ne(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, i, this.schema);
2498
2498
  const r = i.length === 0;
2499
2499
  return e || this.$emit("validated", r, i, this), this.errors = i, i;
@@ -2559,7 +2559,7 @@ const qe = {
2559
2559
  }, Fm = {
2560
2560
  class: "advanced-field-dropdown-wrapper",
2561
2561
  "data-testid": "advanced-field-dropdown-wrapper"
2562
- }, Um = { class: "material-icons" }, Nm = {
2562
+ }, Nm = { class: "material-icons" }, Um = {
2563
2563
  mixins: [qe],
2564
2564
  emits: ["model-updated"],
2565
2565
  expose: ["validate", "clearValidationErrors", "schema"],
@@ -2587,7 +2587,7 @@ const qe = {
2587
2587
  this.$emit("model-updated", e, t);
2588
2588
  }
2589
2589
  }
2590
- }, Lm = /* @__PURE__ */ Object.assign(Nm, {
2590
+ }, Lm = /* @__PURE__ */ Object.assign(Um, {
2591
2591
  __name: "FieldAdvanced",
2592
2592
  setup(e) {
2593
2593
  return (t, n) => (c(), M("div", Fm, [
@@ -2596,7 +2596,7 @@ const qe = {
2596
2596
  type: "button",
2597
2597
  onClick: n[0] || (n[0] = (...o) => t.handleOpen && t.handleOpen(...o))
2598
2598
  }, [
2599
- m("i", Um, x(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
2599
+ m("i", Nm, x(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
2600
2600
  m("span", null, x(t.titleText), 1)
2601
2601
  ]),
2602
2602
  m("div", {
@@ -2611,7 +2611,7 @@ const qe = {
2611
2611
  ], 2)
2612
2612
  ]));
2613
2613
  }
2614
- }), Dm = /* @__PURE__ */ X(Lm, [["__scopeId", "data-v-e8f66c8a"]]), Pm = { class: "array-card-container" }, Vm = /* @__PURE__ */ be({
2614
+ }), Dm = /* @__PURE__ */ X(Lm, [["__scopeId", "data-v-e8f66c8a"]]), Pm = { class: "array-card-container" }, Vm = /* @__PURE__ */ ve({
2615
2615
  __name: "FieldArrayCardContainer",
2616
2616
  props: {
2617
2617
  model: {
@@ -2651,7 +2651,7 @@ const qe = {
2651
2651
  ]);
2652
2652
  };
2653
2653
  }
2654
- }), Yo = /* @__PURE__ */ X(Vm, [["__scopeId", "data-v-a8366ec5"]]), Km = { class: "array-item-wrapper" }, jm = { class: "array-item" }, $m = { class: "array-item-after" }, xm = /* @__PURE__ */ be({
2654
+ }), Yo = /* @__PURE__ */ X(Vm, [["__scopeId", "data-v-a8366ec5"]]), Km = { class: "array-item-wrapper" }, jm = { class: "array-item" }, $m = { class: "array-item-after" }, xm = /* @__PURE__ */ ve({
2655
2655
  __name: "FieldArrayItem",
2656
2656
  props: {
2657
2657
  model: {
@@ -2683,7 +2683,7 @@ const qe = {
2683
2683
  ]);
2684
2684
  };
2685
2685
  }
2686
- }), Wo = /* @__PURE__ */ X(xm, [["__scopeId", "data-v-e6b6837c"]]), zm = { class: "multi-item-wrapper" }, qm = /* @__PURE__ */ be({
2686
+ }), Wo = /* @__PURE__ */ X(xm, [["__scopeId", "data-v-e6b6837c"]]), zm = { class: "multi-item-wrapper" }, qm = /* @__PURE__ */ ve({
2687
2687
  __name: "FieldArrayMultiItem",
2688
2688
  emits: ["remove-item"],
2689
2689
  setup(e) {
@@ -2710,7 +2710,7 @@ var Bm = 4;
2710
2710
  function Ja(e) {
2711
2711
  return tn(e, Bm);
2712
2712
  }
2713
- const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid", "data-testlabel"], Wm = { class: "item-label" }, Zm = { class: "autosuggest__results_message" }, Xm = /* @__PURE__ */ be({
2713
+ const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid", "data-testlabel"], Wm = { class: "item-label" }, Zm = { class: "autosuggest__results_message" }, Xm = /* @__PURE__ */ ve({
2714
2714
  __name: "AutoSuggest",
2715
2715
  props: /* @__PURE__ */ ea({
2716
2716
  placeholder: { default: "" },
@@ -2778,7 +2778,7 @@ const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid"
2778
2778
  ]), 1032, ["id", "modelValue", "disabled", "error", "help", "items", "loading", "placeholder"]);
2779
2779
  };
2780
2780
  }
2781
- }), Jm = /* @__PURE__ */ X(Xm, [["__scopeId", "data-v-1e9151dd"]]), Qm = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", gi = (e) => e ? e.length === 36 && new RegExp(`^${Qm}$`).test(e) : !1, ef = { class: "selected-entity-item" }, tf = { class: "selected-entity-label" }, nf = { class: "entity-suggestion-item" }, af = { class: "entity-label" }, of = { class: "entity-id" }, sf = 500, rf = 50, lf = 1e3, df = /* @__PURE__ */ be({
2781
+ }), Jm = /* @__PURE__ */ X(Xm, [["__scopeId", "data-v-1e9151dd"]]), Qm = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", gi = (e) => e ? e.length === 36 && new RegExp(`^${Qm}$`).test(e) : !1, ef = { class: "selected-entity-item" }, tf = { class: "selected-entity-label" }, nf = { class: "entity-suggestion-item" }, af = { class: "entity-label" }, of = { class: "entity-id" }, sf = 500, rf = 50, lf = 1e3, df = /* @__PURE__ */ ve({
2782
2782
  __name: "FieldScopedEntitySelect",
2783
2783
  props: {
2784
2784
  transformItem: { type: Function },
@@ -2815,11 +2815,11 @@ const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid"
2815
2815
  ...g,
2816
2816
  label: g[e.labelField],
2817
2817
  value: g.id
2818
- })), r = se(""), l = se(!1), d = se(!1), u = se(""), y = se([]), f = se([]), p = se([]), { t: b } = De("en-us", Pe), A = se(null);
2819
- let v = null;
2818
+ })), r = se(""), l = se(!1), d = se(!1), u = se(""), y = se([]), f = se([]), p = se([]), { t: v } = De("en-us", Pe), A = se(null);
2819
+ let b = null;
2820
2820
  const F = async (g, S) => {
2821
2821
  if (!e.fieldDisabled) {
2822
- clearTimeout(v), v = setTimeout(() => {
2822
+ clearTimeout(b), b = setTimeout(() => {
2823
2823
  l.value = !0;
2824
2824
  }, 1500);
2825
2825
  try {
@@ -2834,7 +2834,7 @@ const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid"
2834
2834
  }
2835
2835
  r.value = I.message;
2836
2836
  } finally {
2837
- clearTimeout(v), l.value = !1;
2837
+ clearTimeout(b), l.value = !1;
2838
2838
  }
2839
2839
  }
2840
2840
  }, L = Pt((g) => {
@@ -2853,17 +2853,17 @@ const Hm = "#6c7489", Xo = "12px", Gm = "16px", Jo = "20px", Ym = ["data-testid"
2853
2853
  const { data: { data: g, next: S, offset: I } } = await o(rf);
2854
2854
  return (!S || !I) && (d.value = !0), f.value = g, p.value = g.map((j) => ({
2855
2855
  ...i(j),
2856
- group: b("fields.auto_suggest.recently_created", { entity: e.entity })
2856
+ group: v("fields.auto_suggest.recently_created", { entity: e.entity })
2857
2857
  })), g;
2858
2858
  }, O = async (g) => [await a(g)], C = (g, S) => {
2859
2859
  gi(g) && e.allowUuidSearch ? F(async () => await O(g)) : F(async () => await H(g, S.signal), S.signal);
2860
2860
  }, _ = (g) => {
2861
2861
  let S = [];
2862
2862
  S = T(p.value), g != null && g.trim() ? y.value = S.filter((I) => e.fields.some((j) => (I[j] || "").includes(g))) : y.value = S;
2863
- }, T = (g) => e.selectedItem ? g.some((S) => S.value === e.selectedItem.value) ? g : [e.selectedItem, ...g] : g, N = (g) => {
2863
+ }, T = (g) => e.selectedItem ? g.some((S) => S.value === e.selectedItem.value) ? g : [e.selectedItem, ...g] : g, U = (g) => {
2864
2864
  y.value = p.value.filter((S) => S.id === g);
2865
2865
  }, D = (g) => {
2866
- gi(g) && e.allowUuidSearch ? N(g) : _(g);
2866
+ gi(g) && e.allowUuidSearch ? U(g) : _(g);
2867
2867
  };
2868
2868
  return yi(async () => {
2869
2869
  await F(K);
@@ -3226,18 +3226,18 @@ function yf(e, t, n, o, a, i) {
3226
3226
  }, 8, ["text"]);
3227
3227
  }
3228
3228
  const ts = /* @__PURE__ */ X(ff, [["render", yf], ["__scopeId", "data-v-433129a3"]]);
3229
- function vf(e) {
3230
- const t = se([]), n = se(null), o = (v) => bt(v) ? St[v] != null ? St[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a = B({
3229
+ function bf(e) {
3230
+ const t = se([]), n = se(null), o = (b) => vt(b) ? St[b] != null ? St[b] : (console.warn(`'${b}' is not a validator function!`), null) : b, a = B({
3231
3231
  get() {
3232
3232
  var F, L;
3233
- let v;
3234
- return ne(ee(e.schema, "get")) ? v = e.schema.get((F = e.model) == null ? void 0 : F.value) : v = ee((L = e.model) == null ? void 0 : L.value, e.schema.model), b(v);
3233
+ let b;
3234
+ return ne(ee(e.schema, "get")) ? b = e.schema.get((F = e.model) == null ? void 0 : F.value) : b = ee((L = e.model) == null ? void 0 : L.value, e.schema.model), v(b);
3235
3235
  },
3236
- set(v) {
3236
+ set(b) {
3237
3237
  const F = a;
3238
- v = A(v), ne(v) ? v(v, F) : l(v, F);
3238
+ b = A(b), ne(b) ? b(b, F) : l(b, F);
3239
3239
  }
3240
- }), i = (v) => {
3240
+ }), i = (b) => {
3241
3241
  var K;
3242
3242
  d();
3243
3243
  const F = ee(e.formOptions, "validateAsync", !1);
@@ -3247,11 +3247,11 @@ function vf(e) {
3247
3247
  C && (Array.isArray(C) ? Re(C, (_) => {
3248
3248
  O.push(o(_));
3249
3249
  }) : O.push(o(C))), ne(e.externalValidator) && O.push(e.externalValidator), Re(O, (_) => {
3250
- var T, N;
3250
+ var T, U;
3251
3251
  if (F)
3252
3252
  L.push(_(a.value, e.schema, (T = e.model) == null ? void 0 : T.value));
3253
3253
  else {
3254
- const D = _(a.value, e.schema, (N = e.model) == null ? void 0 : N.value);
3254
+ const D = _(a.value, e.schema, (U = e.model) == null ? void 0 : U.value);
3255
3255
  D && ne(D.then) ? D.then((g) => {
3256
3256
  g && (t.value = t.value.concat(g));
3257
3257
  const S = t.value.length === 0;
@@ -3263,11 +3263,11 @@ function vf(e) {
3263
3263
  const H = (O) => {
3264
3264
  var _, T;
3265
3265
  let C = [];
3266
- if (Re(Vo(O), (N) => {
3267
- Array.isArray(N) && N.length > 0 ? C = C.concat(N) : bt(N) && C.push(N);
3268
- }), ne((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((T = e.model) == null ? void 0 : T.value, C, e.schema), !v) {
3269
- const N = C.length === 0;
3270
- e.emitValidated && e.emitValidated({ isValid: N, errors: C, field: e.schema });
3266
+ if (Re(Vo(O), (U) => {
3267
+ Array.isArray(U) && U.length > 0 ? C = C.concat(U) : vt(U) && C.push(U);
3268
+ }), ne((_ = e.schema) == null ? void 0 : _.onValidated) && e.schema.onValidated((T = e.model) == null ? void 0 : T.value, C, e.schema), !b) {
3269
+ const U = C.length === 0;
3270
+ e.emitValidated && e.emitValidated({ isValid: U, errors: C, field: e.schema });
3271
3271
  }
3272
3272
  return O = C, C;
3273
3273
  };
@@ -3277,15 +3277,15 @@ function vf(e) {
3277
3277
  i,
3278
3278
  ee(e.schema, "validateDebounceTime", ee(e.formOptions, "validateDebounceTime", 500))
3279
3279
  );
3280
- }, l = (v, F) => {
3280
+ }, l = (b, F) => {
3281
3281
  var H, K, O;
3282
3282
  let L = !1;
3283
- ne(e.schema.set) ? (e.schema.set((H = e.model) == null ? void 0 : H.value, v), L = !0) : e.schema.model && (u(e.schema.model, v), L = !0), L && (e.emitModelUpdated && ((K = e.model) != null && K.value) && e.emitModelUpdated({ value: v, model: e.schema.model }), ne(e.schema.onChanged) && e.schema.onChanged((O = e.model) == null ? void 0 : O.value, v, F, e.schema), ee(e.formOptions, "validateAfterChanged", !1) === !0 && (ee(e.schema, "validateDebounceTime", ee(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : i()));
3283
+ ne(e.schema.set) ? (e.schema.set((H = e.model) == null ? void 0 : H.value, b), L = !0) : e.schema.model && (u(e.schema.model, b), L = !0), L && (e.emitModelUpdated && ((K = e.model) != null && K.value) && e.emitModelUpdated({ value: b, model: e.schema.model }), ne(e.schema.onChanged) && e.schema.onChanged((O = e.model) == null ? void 0 : O.value, b, F, e.schema), ee(e.formOptions, "validateAfterChanged", !1) === !0 && (ee(e.schema, "validateDebounceTime", ee(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : i()));
3284
3284
  }, d = () => {
3285
3285
  t.value.splice(0);
3286
- }, u = (v, F) => {
3286
+ }, u = (b, F) => {
3287
3287
  var _;
3288
- let L = v.replace(/\[(\w+)\]/g, ".$1");
3288
+ let L = b.replace(/\[(\w+)\]/g, ".$1");
3289
3289
  L = L.replace(/^\./, "");
3290
3290
  let H = ((_ = e.model) == null ? void 0 : _.value) || {}, K = 0;
3291
3291
  const O = L.split("."), C = O.length;
@@ -3299,10 +3299,10 @@ function vf(e) {
3299
3299
  }
3300
3300
  ++K;
3301
3301
  }
3302
- }, y = (v, F = !1) => {
3302
+ }, y = (b, F = !1) => {
3303
3303
  const L = ee(e.formOptions, "fieldIdPrefix", "");
3304
- return Ai(v, L) + (F ? "-" + Ko() : "");
3305
- }, f = (v) => `${y(v)}-label`, p = () => ee(e.schema, "fieldClasses", []), b = (v) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(v) : v, A = (v) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(v) : v;
3304
+ return Ai(b, L) + (F ? "-" + Ko() : "");
3305
+ }, f = (b) => `${y(b)}-label`, p = () => ee(e.schema, "fieldClasses", []), v = (b) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(b) : b, A = (b) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(b) : b;
3306
3306
  return {
3307
3307
  value: a,
3308
3308
  clearValidationErrors: d,
@@ -3312,7 +3312,7 @@ function vf(e) {
3312
3312
  updateModelValue: l
3313
3313
  };
3314
3314
  }
3315
- function bf(e) {
3315
+ function vf(e) {
3316
3316
  const t = [], n = (o) => {
3317
3317
  const a = ["cluster-cache", "cluster_cache"];
3318
3318
  for (const i of a)
@@ -3349,10 +3349,10 @@ function _f(e, t) {
3349
3349
  });
3350
3350
  }
3351
3351
  const Be = {
3352
- useAbstractFields: vf,
3353
- useRedisPartial: bf,
3352
+ useAbstractFields: bf,
3353
+ useRedisPartial: vf,
3354
3354
  useRedisNonStandardFields: _f
3355
- }, Sf = { class: "form-field-wrapper" }, Tf = /* @__PURE__ */ be({
3355
+ }, Sf = { class: "form-field-wrapper" }, Tf = /* @__PURE__ */ ve({
3356
3356
  __name: "FieldInput",
3357
3357
  props: {
3358
3358
  disabled: {
@@ -3420,14 +3420,14 @@ const Be = {
3420
3420
  date: "YYYY-MM-DD",
3421
3421
  datetime: "YYYY-MM-DD HH:mm:ss",
3422
3422
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
3423
- }, b = (K, O) => {
3424
- var N, D;
3423
+ }, v = (K, O) => {
3424
+ var U, D;
3425
3425
  let C = K;
3426
3426
  const _ = p[f.value] || "", T = Ft.parse(K, _);
3427
- T && ((N = o.schema) != null && N.format ? C = Ft.format(T, (D = o.schema) == null ? void 0 : D.format) : C = T.valueOf()), l(C, O);
3427
+ T && ((U = o.schema) != null && U.format ? C = Ft.format(T, (D = o.schema) == null ? void 0 : D.format) : C = T.valueOf()), l(C, O);
3428
3428
  }, A = (K, O) => {
3429
3429
  Ii(K) || (K = NaN), l(K, O);
3430
- }, v = (K) => {
3430
+ }, b = (K) => {
3431
3431
  let O = K;
3432
3432
  switch (o.schema.inputType) {
3433
3433
  case "number":
@@ -3462,7 +3462,7 @@ const Be = {
3462
3462
  case "datetime-local":
3463
3463
  L.value = Pt(
3464
3464
  (K, O) => {
3465
- b(K, O);
3465
+ v(K, O);
3466
3466
  },
3467
3467
  parseInt(ee(o.schema, "debounceFormatTimeout", 1e3)),
3468
3468
  {
@@ -3472,7 +3472,7 @@ const Be = {
3472
3472
  );
3473
3473
  break;
3474
3474
  }
3475
- }), vi(() => {
3475
+ }), bi(() => {
3476
3476
  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.");
3477
3477
  }), (K, O) => {
3478
3478
  const C = k("KInput");
@@ -3497,7 +3497,7 @@ const Be = {
3497
3497
  type: f.value,
3498
3498
  width: e.schema.width,
3499
3499
  onBlur: H,
3500
- "onUpdate:modelValue": v
3500
+ "onUpdate:modelValue": b
3501
3501
  }), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
3502
3502
  (c(), P(re(V(r)), {
3503
3503
  schema: e.schema,
@@ -3533,7 +3533,7 @@ function Ef(e, t, n, o, a, i) {
3533
3533
  Z(x(e.model.name ? e.model.name : "New Item") + " ", 1),
3534
3534
  w(r, { class: "metric-add-icon" })
3535
3535
  ]),
3536
- w(Us, { name: "slide-fade" }, {
3536
+ w(Ns, { name: "slide-fade" }, {
3537
3537
  default: E(() => [
3538
3538
  a.contentVisible ? (c(), M("div", wf, [
3539
3539
  we(e.$slots, "default"),
@@ -3553,7 +3553,7 @@ function Ef(e, t, n, o, a, i) {
3553
3553
  })
3554
3554
  ], 2);
3555
3555
  }
3556
- const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-container" }, If = { key: 1 }, Cf = ["id"], Of = { key: 0 }, kf = ["onUpdate:modelValue"], Rf = { key: 1 }, Ff = ["onUpdate:modelValue"], Uf = { key: 2 }, Nf = ["onUpdate:modelValue"], Lf = ["onClick"], Df = {
3556
+ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-container" }, If = { key: 1 }, Cf = ["id"], Of = { key: 0 }, kf = ["onUpdate:modelValue"], Rf = { key: 1 }, Ff = ["onUpdate:modelValue"], Nf = { key: 2 }, Uf = ["onUpdate:modelValue"], Lf = ["onClick"], Df = {
3557
3557
  mixins: [qe],
3558
3558
  emits: ["modelUpdated"],
3559
3559
  expose: ["validate", "clearValidationErrors", "schema"],
@@ -3623,14 +3623,14 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
3623
3623
  "onUpdate:modelValue": (r) => t.value[i] = r,
3624
3624
  type: "checkbox"
3625
3625
  }, null, 8, Ff), [
3626
- [Ns, t.value[i]]
3626
+ [Us, t.value[i]]
3627
3627
  ])
3628
3628
  ])) : q("", !0),
3629
- t.keyTypes[i] === "number" ? (c(), M("td", Uf, [
3629
+ t.keyTypes[i] === "number" ? (c(), M("td", Nf, [
3630
3630
  Fe(m("input", {
3631
3631
  "onUpdate:modelValue": (r) => t.value[i] = r,
3632
3632
  type: "number"
3633
- }, null, 8, Nf), [
3633
+ }, null, 8, Uf), [
3634
3634
  [Qt, t.value[i]]
3635
3635
  ])
3636
3636
  ])) : q("", !0),
@@ -3865,7 +3865,7 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
3865
3865
  ], 10, Vf);
3866
3866
  };
3867
3867
  }
3868
- }), os = /* @__PURE__ */ X(Zf, [["__scopeId", "data-v-0faeec4d"]]), Xf = { class: "radio-selection-group" }, Jf = /* @__PURE__ */ be({
3868
+ }), os = /* @__PURE__ */ X(Zf, [["__scopeId", "data-v-0faeec4d"]]), Xf = { class: "radio-selection-group" }, Jf = /* @__PURE__ */ ve({
3869
3869
  __name: "FieldRadio",
3870
3870
  props: {
3871
3871
  disabled: {
@@ -3923,22 +3923,22 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
3923
3923
  return (y, f) => {
3924
3924
  const p = k("KRadio");
3925
3925
  return c(), M("div", Xf, [
3926
- (c(!0), M(Y, null, oe(e.schema.values, (b, A) => (c(), P(p, {
3926
+ (c(!0), M(Y, null, oe(e.schema.values, (v, A) => (c(), P(p, {
3927
3927
  id: e.schema.name + "-" + A,
3928
- key: b.value,
3928
+ key: v.value,
3929
3929
  modelValue: V(l),
3930
- "onUpdate:modelValue": f[0] || (f[0] = (v) => Vt(l) ? l.value = v : null),
3931
- label: b.name,
3930
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => Vt(l) ? l.value = b : null),
3931
+ label: v.name,
3932
3932
  "label-attributes": { info: e.schema.help },
3933
3933
  name: e.schema.name,
3934
3934
  required: e.schema.required || void 0,
3935
- "selected-value": b.value,
3935
+ "selected-value": v.value,
3936
3936
  onChange: u
3937
3937
  }, null, 8, ["id", "modelValue", "label", "label-attributes", "name", "required", "selected-value"]))), 128))
3938
3938
  ]);
3939
3939
  };
3940
3940
  }
3941
- }), ss = /* @__PURE__ */ X(Jf, [["__scopeId", "data-v-a070103e"]]), rs = /* @__PURE__ */ be({
3941
+ }), ss = /* @__PURE__ */ X(Jf, [["__scopeId", "data-v-a070103e"]]), rs = /* @__PURE__ */ ve({
3942
3942
  __name: "FieldSelect",
3943
3943
  props: {
3944
3944
  disabled: {
@@ -3978,51 +3978,51 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
3978
3978
  },
3979
3979
  emits: ["modelUpdated"],
3980
3980
  setup(e, { expose: t, emit: n }) {
3981
- const o = e, a = n, i = B(() => o.schema.selectOptions || {}), r = (v) => ve(v) ? null : v, l = Tt(o), { getFieldID: d, clearValidationErrors: u, value: y } = Be.useAbstractFields({
3981
+ const o = e, a = n, i = B(() => o.schema.selectOptions || {}), r = (b) => be(b) ? null : b, l = Tt(o), { getFieldID: d, clearValidationErrors: u, value: y } = Be.useAbstractFields({
3982
3982
  model: l.model,
3983
3983
  schema: o.schema,
3984
3984
  formOptions: o.formOptions,
3985
3985
  formatValueToField: r,
3986
- emitModelUpdated: (v) => {
3987
- a("modelUpdated", v.value, v.model);
3986
+ emitModelUpdated: (b) => {
3987
+ a("modelUpdated", b.value, b.model);
3988
3988
  }
3989
3989
  });
3990
3990
  t({
3991
3991
  clearValidationErrors: u
3992
3992
  });
3993
3993
  const f = B(() => {
3994
- const v = o.schema.values;
3995
- return p(typeof v == "function" ? v.apply(this, [o.model, o.schema]) : v);
3996
- }), p = (v) => {
3994
+ const b = o.schema.values;
3995
+ return p(typeof b == "function" ? b.apply(this, [o.model, o.schema]) : b);
3996
+ }), p = (b) => {
3997
3997
  const F = [];
3998
- return v.forEach((L) => {
3998
+ return b.forEach((L) => {
3999
3999
  F.push({
4000
4000
  label: A(L),
4001
- value: b(L),
4001
+ value: v(L),
4002
4002
  disabled: typeof L == "object" && L.disabled || void 0,
4003
4003
  group: typeof L == "object" && String(L.group || "").toUpperCase() || void 0
4004
4004
  });
4005
4005
  }), F;
4006
- }, b = (v) => {
4007
- if (Ne(v)) {
4006
+ }, v = (b) => {
4007
+ if (Ue(b)) {
4008
4008
  if (i.value && typeof i.value.value < "u")
4009
- return v[i.value.value];
4010
- if (typeof v.id < "u")
4011
- return String(v.id);
4009
+ return b[i.value.value];
4010
+ if (typeof b.id < "u")
4011
+ return String(b.id);
4012
4012
  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");
4013
4013
  } else
4014
- return v;
4015
- }, A = (v) => {
4016
- if (Ne(v)) {
4014
+ return b;
4015
+ }, A = (b) => {
4016
+ if (Ue(b)) {
4017
4017
  if (i.value && typeof i.value.name < "u")
4018
- return v[i.value.name];
4019
- if (typeof v.name < "u")
4020
- return String(v.name);
4018
+ return b[i.value.name];
4019
+ if (typeof b.name < "u")
4020
+ return String(b.name);
4021
4021
  throw new Error("`name` is not defined. If you want to use another key name, add a `name` property under `selectOptions` in the schema. https://icebob.gitbooks.io/vueformgenerator/content/fields/select.html#select-field-with-object-items");
4022
4022
  } else
4023
- return String(v);
4023
+ return String(b);
4024
4024
  };
4025
- return (v, F) => {
4025
+ return (b, F) => {
4026
4026
  const L = k("KSelect");
4027
4027
  return c(), P(L, {
4028
4028
  id: V(d)(e.schema),
@@ -4041,7 +4041,7 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
4041
4041
  }, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
4042
4042
  };
4043
4043
  }
4044
- }), Qf = { class: "field-string-array" }, eh = /* @__PURE__ */ be({
4044
+ }), Qf = { class: "field-string-array" }, eh = /* @__PURE__ */ ve({
4045
4045
  __name: "FieldStringArray",
4046
4046
  props: {
4047
4047
  formOptions: {},
@@ -4054,32 +4054,32 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
4054
4054
  model: so(() => e.model),
4055
4055
  schema: e.schema,
4056
4056
  formOptions: e.formOptions,
4057
- emitModelUpdated: (b) => {
4058
- o("modelUpdated", b.value, b.model);
4057
+ emitModelUpdated: (v) => {
4058
+ o("modelUpdated", v.value, v.model);
4059
4059
  }
4060
4060
  });
4061
4061
  t({
4062
4062
  clearValidationErrors: l
4063
4063
  });
4064
4064
  const u = se("");
4065
- function y(b) {
4066
- return Array.isArray(b) ? b.map((A) => String(A).trim()).filter(Boolean).join(", ") : "";
4065
+ function y(v) {
4066
+ return Array.isArray(v) ? v.map((A) => String(A).trim()).filter(Boolean).join(", ") : "";
4067
4067
  }
4068
- function f(b) {
4069
- return b ? b.trim().split(",").map((A) => A.trim()).filter(Boolean) : [];
4068
+ function f(v) {
4069
+ return v ? v.trim().split(",").map((A) => A.trim()).filter(Boolean) : [];
4070
4070
  }
4071
- function p(b) {
4072
- u.value = b;
4073
- const A = f(b);
4071
+ function p(v) {
4072
+ u.value = v;
4073
+ const A = f(v);
4074
4074
  a(A, d.value);
4075
4075
  }
4076
- return ln(d, (b) => {
4077
- const A = b ? y(b) : "";
4076
+ return ln(d, (v) => {
4077
+ const A = v ? y(v) : "";
4078
4078
  y(f(u.value)) !== A && (u.value = A);
4079
- }, { immediate: !0 }), (b, A) => {
4080
- const v = k("KInput");
4079
+ }, { immediate: !0 }), (v, A) => {
4080
+ const b = k("KInput");
4081
4081
  return c(), M("div", Qf, [
4082
- w(v, et(b.$attrs, {
4082
+ w(b, et(v.$attrs, {
4083
4083
  id: V(i)(e.schema),
4084
4084
  "aria-labelledby": V(r)(e.schema),
4085
4085
  class: e.schema.fieldClasses,
@@ -4132,9 +4132,9 @@ const is = /* @__PURE__ */ X(Mf, [["render", Ef]]), Af = { class: "field-object-
4132
4132
  var a, i, r, l, d, u, y;
4133
4133
  let o;
4134
4134
  return t && (o = JSON.parse(JSON.stringify(t)), (a = t.schema) != null && a.fields && ((l = (r = (i = o.schema) == null ? void 0 : i.fields) == null ? void 0 : r.forEach) == null || l.call(r, (f, p) => {
4135
- const b = t.schema.fields[p];
4136
- b && Object.keys(b).forEach((A) => {
4137
- typeof b[A] == "function" && (f[A] = b[A]);
4135
+ const v = t.schema.fields[p];
4136
+ v && Object.keys(v).forEach((A) => {
4137
+ typeof v[A] == "function" && (f[A] = v[A]);
4138
4138
  });
4139
4139
  })), (y = (u = (d = o.schema) == null ? void 0 : d.fields) == null ? void 0 : u.map) == null || y.call(u, (f) => (f.id = `${f.id || f.model}-${n}`, f))), {
4140
4140
  ...o,
@@ -4204,13 +4204,13 @@ function rh(e, t, n, o, a, i) {
4204
4204
  "form-options": e.formOptions,
4205
4205
  model: e.value,
4206
4206
  schema: i.generateStringArraySchema(p),
4207
- onModelUpdated: (b) => i.handleStringArrayUpdate(b, p)
4207
+ onModelUpdated: (v) => i.handleStringArrayUpdate(v, p)
4208
4208
  }, null, 8, ["form-options", "model", "schema", "onModelUpdated"]),
4209
4209
  w(d, {
4210
4210
  appearance: "tertiary",
4211
4211
  class: "string-array-remove-btn",
4212
4212
  icon: "",
4213
- onClick: (b) => i.removeElement(p)
4213
+ onClick: (v) => i.removeElement(p)
4214
4214
  }, {
4215
4215
  default: E(() => [
4216
4216
  w(l, { decorative: "" })
@@ -4222,7 +4222,7 @@ function rh(e, t, n, o, a, i) {
4222
4222
  index: p,
4223
4223
  model: f,
4224
4224
  schema: i.generateSchema(e.value, e.schema.items, p),
4225
- onRemoveItem: (b) => i.removeElement(p)
4225
+ onRemoveItem: (v) => i.removeElement(p)
4226
4226
  }, {
4227
4227
  default: E(() => [
4228
4228
  (c(), P(re(i.getFieldComponent(e.schema.items)), {
@@ -4245,17 +4245,17 @@ function rh(e, t, n, o, a, i) {
4245
4245
  "data-testid": `${e.getFieldID(e.schema)}-item-${p}`,
4246
4246
  model: f,
4247
4247
  schema: i.generateSchema(e.value, e.schema.items, p),
4248
- onRemoveItem: (b) => i.removeElement(p)
4248
+ onRemoveItem: (v) => i.removeElement(p)
4249
4249
  }, {
4250
4250
  after: E(() => [
4251
4251
  (c(), P(re(i.autofillSlot), {
4252
4252
  schema: e.schema,
4253
- update: (b) => e.value[p] = b,
4253
+ update: (v) => e.value[p] = v,
4254
4254
  value: e.value[p]
4255
4255
  }, null, 8, ["schema", "update", "value"]))
4256
4256
  ]),
4257
4257
  default: E(() => {
4258
- var b;
4258
+ var v;
4259
4259
  return [
4260
4260
  e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (c(), P(u, et({
4261
4261
  key: 0,
@@ -4290,7 +4290,7 @@ function rh(e, t, n, o, a, i) {
4290
4290
  "onUpdate:modelValue": (A) => e.value[p] = A,
4291
4291
  "aria-labelledby": e.getLabelId(e.schema)
4292
4292
  }, { ref_for: !0 }, e.schema.inputAttributes, {
4293
- type: ((b = e.schema.inputAttributes) == null ? void 0 : b.type) || "text"
4293
+ type: ((v = e.schema.inputAttributes) == null ? void 0 : v.type) || "text"
4294
4294
  }), null, 16, oh)), [
4295
4295
  [oo, e.value[p]]
4296
4296
  ])
@@ -4299,7 +4299,7 @@ function rh(e, t, n, o, a, i) {
4299
4299
  _: 2
4300
4300
  }, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (c(), M(Y, { key: 4 }, [
4301
4301
  Fe(m("input", et({ ref_for: !0 }, e.schema.inputAttributes, {
4302
- "onUpdate:modelValue": (b) => e.value[p] = b,
4302
+ "onUpdate:modelValue": (v) => e.value[p] = v,
4303
4303
  "aria-labelledby": e.getLabelId(e.schema),
4304
4304
  type: "text"
4305
4305
  }), null, 16, sh), [
@@ -4307,7 +4307,7 @@ function rh(e, t, n, o, a, i) {
4307
4307
  ]),
4308
4308
  (c(), P(re(i.autofillSlot), {
4309
4309
  schema: e.schema,
4310
- update: (b) => e.value[p] = b,
4310
+ update: (v) => e.value[p] = v,
4311
4311
  value: e.value[p]
4312
4312
  }, null, 8, ["schema", "update", "value"]))
4313
4313
  ], 64))
@@ -4326,7 +4326,7 @@ function rh(e, t, n, o, a, i) {
4326
4326
  }, 8, ["class", "data-testid", "onClick"])
4327
4327
  ], 10, nh)) : q("", !0);
4328
4328
  }
4329
- const lh = /* @__PURE__ */ X(th, [["render", rh], ["__scopeId", "data-v-64e1f575"]]), dh = { class: "form-field-wrapper field-checkbox" }, ch = ["innerHTML"], uh = /* @__PURE__ */ be({
4329
+ const lh = /* @__PURE__ */ X(th, [["render", rh], ["__scopeId", "data-v-64e1f575"]]), dh = { class: "form-field-wrapper field-checkbox" }, ch = ["innerHTML"], uh = /* @__PURE__ */ ve({
4330
4330
  __name: "FieldCheckbox",
4331
4331
  props: {
4332
4332
  disabled: {
@@ -4380,9 +4380,9 @@ const lh = /* @__PURE__ */ X(th, [["render", rh], ["__scopeId", "data-v-64e1f575
4380
4380
  return t({
4381
4381
  clearValidationErrors: d
4382
4382
  }), (f, p) => {
4383
- const b = k("KCheckbox");
4383
+ const v = k("KCheckbox");
4384
4384
  return c(), M("div", dh, [
4385
- w(b, et(f.$attrs, {
4385
+ w(v, et(f.$attrs, {
4386
4386
  id: V(r)(e.schema),
4387
4387
  modelValue: V(l),
4388
4388
  "onUpdate:modelValue": p[0] || (p[0] = (A) => Vt(l) ? l.value = A : null),
@@ -4409,7 +4409,7 @@ const lh = /* @__PURE__ */ X(th, [["render", rh], ["__scopeId", "data-v-64e1f575
4409
4409
  ]);
4410
4410
  };
4411
4411
  }
4412
- }), mh = /* @__PURE__ */ X(uh, [["__scopeId", "data-v-39c92a17"]]), fh = { class: "wrapper" }, hh = ["disabled"], ph = ["id", "checked", "disabled", "onChange", "name"], gh = ["disabled"], yh = { class: "info" }, vh = { class: "dropList" }, bh = ["id", "checked", "disabled", "onChange", "name"];
4412
+ }), mh = /* @__PURE__ */ X(uh, [["__scopeId", "data-v-39c92a17"]]), fh = { class: "wrapper" }, hh = ["disabled"], ph = ["id", "checked", "disabled", "onChange", "name"], gh = ["disabled"], yh = { class: "info" }, bh = { class: "dropList" }, vh = ["id", "checked", "disabled", "onChange", "name"];
4413
4413
  function _h(e, t, n, o, a, i) {
4414
4414
  const r = ao("attributes");
4415
4415
  return Fe((c(), M("div", fh, [
@@ -4448,7 +4448,7 @@ function _h(e, t, n, o, a, i) {
4448
4448
  m("div", yh, x(i.selectedCount) + " selected", 1),
4449
4449
  t[1] || (t[1] = m("div", { class: "arrow" }, null, -1))
4450
4450
  ], 2),
4451
- m("div", vh, [
4451
+ m("div", bh, [
4452
4452
  a.comboExpanded ? (c(!0), M(Y, { key: 0 }, oe(i.items, (l) => (c(), M("div", {
4453
4453
  class: te(["list-row", { "is-checked": i.isItemChecked(l) }])
4454
4454
  }, [
@@ -4460,7 +4460,7 @@ function _h(e, t, n, o, a, i) {
4460
4460
  disabled: e.disabled || null,
4461
4461
  onChange: (d) => i.onChanged(d, l),
4462
4462
  name: i.getInputName(l)
4463
- }, null, 40, bh), [
4463
+ }, null, 40, vh), [
4464
4464
  [r, "input"]
4465
4465
  ]),
4466
4466
  Z(x(i.getItemName(l)), 1)
@@ -4493,7 +4493,7 @@ const Sh = {
4493
4493
  return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? ja(this.schema.inputName + "_" + this.getItemValue(e)) : ja(this.getItemValue(e));
4494
4494
  },
4495
4495
  getItemValue(e) {
4496
- if (Ne(e)) {
4496
+ if (Ue(e)) {
4497
4497
  if (typeof this.schema.checklistOptions < "u" && typeof this.schema.checklistOptions.value < "u")
4498
4498
  return e[this.schema.checklistOptions.value];
4499
4499
  if (typeof e.value < "u")
@@ -4503,7 +4503,7 @@ const Sh = {
4503
4503
  return e;
4504
4504
  },
4505
4505
  getItemName(e) {
4506
- if (Ne(e)) {
4506
+ if (Ue(e)) {
4507
4507
  if (typeof this.schema.checklistOptions < "u" && typeof this.schema.checklistOptions.name < "u")
4508
4508
  return e[this.schema.checklistOptions.name];
4509
4509
  if (typeof e.name < "u")
@@ -4516,7 +4516,7 @@ const Sh = {
4516
4516
  return this.value && this.value.indexOf(this.getItemValue(e)) !== -1;
4517
4517
  },
4518
4518
  onChanged(e, t) {
4519
- if ((ve(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
4519
+ if ((be(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
4520
4520
  const n = Ja(this.value);
4521
4521
  n.push(this.getItemValue(t)), this.value = n;
4522
4522
  } else {
@@ -4651,7 +4651,7 @@ function Oh(e, t, n, o, a, i) {
4651
4651
  }, 8, ["class", "data-testid", "onClick"])
4652
4652
  ]);
4653
4653
  }
4654
- const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c"]]), Rh = /* @__PURE__ */ be({
4654
+ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c"]]), Rh = /* @__PURE__ */ ve({
4655
4655
  __name: "FieldLabel",
4656
4656
  props: {
4657
4657
  disabled: {
@@ -4699,7 +4699,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4699
4699
  ], 2);
4700
4700
  };
4701
4701
  }
4702
- }), Fh = /* @__PURE__ */ X(Rh, [["__scopeId", "data-v-e3423a11"]]), Uh = /* @__PURE__ */ be({
4702
+ }), Fh = /* @__PURE__ */ X(Rh, [["__scopeId", "data-v-e3423a11"]]), Nh = /* @__PURE__ */ ve({
4703
4703
  __name: "FieldMultiselect",
4704
4704
  props: {
4705
4705
  disabled: {
@@ -4752,11 +4752,11 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4752
4752
  });
4753
4753
  const y = B(() => {
4754
4754
  var f, p;
4755
- return o.schema.values ? o.schema.values : (p = (f = o.schema.elements) == null ? void 0 : f.one_of) != null && p.length ? o.schema.elements.one_of.map((b) => ({ label: String(b), value: String(b) })) : [];
4755
+ return o.schema.values ? o.schema.values : (p = (f = o.schema.elements) == null ? void 0 : f.one_of) != null && p.length ? o.schema.elements.one_of.map((v) => ({ label: String(v), value: String(v) })) : [];
4756
4756
  });
4757
4757
  return (f, p) => {
4758
- const b = k("KMultiselect");
4759
- return c(), P(b, {
4758
+ const v = k("KMultiselect");
4759
+ return c(), P(v, {
4760
4760
  id: V(l)(e.schema),
4761
4761
  modelValue: V(u),
4762
4762
  "onUpdate:modelValue": p[0] || (p[0] = (A) => Vt(u) ? u.value = A : null),
@@ -4774,7 +4774,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4774
4774
  }, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
4775
4775
  };
4776
4776
  }
4777
- }), Nh = { class: "selection-group" }, Lh = { class: "form-group horizontal-radios" }, Dh = { class: "radio-group" }, Ph = ["disabled", "value"], Vh = { class: "control-help" }, Kh = {
4777
+ }), Uh = { class: "selection-group" }, Lh = { class: "form-group horizontal-radios" }, Dh = { class: "radio-group" }, Ph = ["disabled", "value"], Vh = { class: "control-help" }, Kh = {
4778
4778
  key: 0,
4779
4779
  class: "option-field"
4780
4780
  }, jh = { class: "option-field-container" }, $h = {
@@ -4826,7 +4826,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4826
4826
  __name: "FieldSelectionGroup",
4827
4827
  setup(e) {
4828
4828
  const { t } = De("en-us", Pe);
4829
- return (n, o) => (c(), M("div", Nh, [
4829
+ return (n, o) => (c(), M("div", Uh, [
4830
4830
  (c(), P(re(n.$props.disabled ? "k-tooltip" : "div"), {
4831
4831
  "max-width": "300",
4832
4832
  text: V(t)("general.disable_global_radio", { scope: n.scope })
@@ -4878,7 +4878,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4878
4878
  ]))), 128))
4879
4879
  ]));
4880
4880
  }
4881
- }), zh = /* @__PURE__ */ X(xh, [["__scopeId", "data-v-0b44571b"]]), qh = { class: "form-field-wrapper" }, Bh = /* @__PURE__ */ be({
4881
+ }), zh = /* @__PURE__ */ X(xh, [["__scopeId", "data-v-0b44571b"]]), qh = { class: "form-field-wrapper" }, Bh = /* @__PURE__ */ ve({
4882
4882
  __name: "FieldSwitch",
4883
4883
  props: {
4884
4884
  disabled: {
@@ -4930,13 +4930,13 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4930
4930
  });
4931
4931
  return t({
4932
4932
  clearValidationErrors: f
4933
- }), (p, b) => {
4933
+ }), (p, v) => {
4934
4934
  const A = k("KInputSwitch");
4935
4935
  return c(), M("div", qh, [
4936
4936
  w(A, {
4937
4937
  id: V(u)(e.schema),
4938
4938
  modelValue: V(y),
4939
- "onUpdate:modelValue": b[0] || (b[0] = (v) => Vt(y) ? y.value = v : null),
4939
+ "onUpdate:modelValue": v[0] || (v[0] = (b) => Vt(y) ? y.value = b : null),
4940
4940
  autocomplete: e.schema.autocomplete,
4941
4941
  class: te(e.schema.fieldClasses),
4942
4942
  disabled: e.disabled || void 0,
@@ -4948,7 +4948,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
4948
4948
  ]);
4949
4949
  };
4950
4950
  }
4951
- }), Hh = { class: "field-textarea" }, Gh = /* @__PURE__ */ be({
4951
+ }), Hh = { class: "field-textarea" }, Gh = /* @__PURE__ */ ve({
4952
4952
  __name: "FieldTextArea",
4953
4953
  props: {
4954
4954
  disabled: {
@@ -5002,13 +5002,13 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
5002
5002
  const f = (p) => {
5003
5003
  y.value = p, l(p, p);
5004
5004
  };
5005
- return (p, b) => {
5005
+ return (p, v) => {
5006
5006
  const A = k("KTextArea");
5007
5007
  return c(), M("div", Hh, [
5008
5008
  w(A, et(p.$attrs, {
5009
5009
  id: V(d)(e.schema),
5010
5010
  modelValue: V(y),
5011
- "onUpdate:modelValue": b[0] || (b[0] = (v) => Vt(y) ? y.value = v : null),
5011
+ "onUpdate:modelValue": v[0] || (v[0] = (b) => Vt(y) ? y.value = b : null),
5012
5012
  autosize: "",
5013
5013
  "character-limit": e.schema.max ?? !1,
5014
5014
  class: e.schema.fieldClasses,
@@ -5045,7 +5045,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
5045
5045
  FieldKeyValuePairs: kh,
5046
5046
  FieldLabel: Fh,
5047
5047
  FieldMetric: is,
5048
- FieldMultiselect: Uh,
5048
+ FieldMultiselect: Nh,
5049
5049
  FieldObject: as,
5050
5050
  FieldObjectAdvanced: os,
5051
5051
  FieldRadio: ss,
@@ -5119,7 +5119,7 @@ const kh = /* @__PURE__ */ X(Mh, [["render", Oh], ["__scopeId", "data-v-be99d00c
5119
5119
  },
5120
5120
  // Should field type have a label?
5121
5121
  fieldTypeHasLabel(e) {
5122
- if (ve(e.label)) return !1;
5122
+ if (be(e.label)) return !1;
5123
5123
  let t = "";
5124
5124
  switch (e.type === "input" ? t = e.inputType : t = e.type, t) {
5125
5125
  case "button":
@@ -5283,7 +5283,7 @@ function dp(e) {
5283
5283
  const n = (Array.isArray(e.tags) ? e.tags : []).filter((o) => typeof o == "string").map((o) => o.toLowerCase());
5284
5284
  return n.includes(Lt.KONNECT_MANAGED) || n.includes(lp) ? Lt.KONNECT_MANAGED : Lt.SELF_MANAGED;
5285
5285
  }
5286
- const cp = { class: "partial-config-card" }, up = { class: "config-card-row-label" }, mp = { class: "label-text" }, fp = ["data-testid"], hp = ["data-testid"], pp = { key: 1 }, gp = ["data-testid"], yp = ["data-testid"], vp = /* @__PURE__ */ be({
5286
+ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-label" }, mp = { class: "label-text" }, fp = ["data-testid"], hp = ["data-testid"], pp = { key: 1 }, gp = ["data-testid"], yp = ["data-testid"], bp = /* @__PURE__ */ ve({
5287
5287
  __name: "RedisConfigCard",
5288
5288
  props: {
5289
5289
  configFields: {
@@ -5319,25 +5319,25 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5319
5319
  order: 3
5320
5320
  }
5321
5321
  }, a = e, i = (f) => f != null, r = (f, p) => i(p) && ["password", "sentinel_password"].includes(f) ? "password" : "text", { convertKeyToTitle: l } = Gs(), d = B(() => Object.entries(a.configFields).map(([f, p]) => {
5322
- var b, A, v, F;
5322
+ var v, A, b, F;
5323
5323
  return {
5324
5324
  key: f,
5325
- label: ((b = o[f]) == null ? void 0 : b.label) ?? l(f),
5325
+ label: ((v = o[f]) == null ? void 0 : v.label) ?? l(f),
5326
5326
  value: (A = o[f]) != null && A.formatter ? o[f].formatter(p) : p,
5327
- type: ((v = o[f]) == null ? void 0 : v.type) ?? r(f, p),
5327
+ type: ((b = o[f]) == null ? void 0 : b.type) ?? r(f, p),
5328
5328
  order: ((F = o[f]) == null ? void 0 : F.order) ?? 100
5329
5329
  // attrs: value.attrs,
5330
5330
  };
5331
5331
  }).sort((f, p) => f.order - p.order).filter((f) => f.type !== "hidden")), u = Be.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), y = B(() => d.value.concat(u));
5332
5332
  return (f, p) => {
5333
- const b = k("KCopy");
5333
+ const v = k("KCopy");
5334
5334
  return c(), M("div", cp, [
5335
- (c(!0), M(Y, null, oe(y.value, ({ key: A, label: v, value: F, type: L }) => (c(), M("div", {
5335
+ (c(!0), M(Y, null, oe(y.value, ({ key: A, label: b, value: F, type: L }) => (c(), M("div", {
5336
5336
  key: A,
5337
5337
  class: "partial-config-card-row"
5338
5338
  }, [
5339
5339
  m("div", up, [
5340
- m("div", mp, x(v), 1)
5340
+ m("div", mp, x(b), 1)
5341
5341
  ]),
5342
5342
  m("div", {
5343
5343
  class: "config-card-row-value",
@@ -5348,7 +5348,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5348
5348
  key: 0,
5349
5349
  "data-testid": `${A}-copy-password`
5350
5350
  }, [
5351
- w(b, {
5351
+ w(v, {
5352
5352
  format: "redacted",
5353
5353
  text: String(F)
5354
5354
  }, null, 8, ["text"])
@@ -5365,7 +5365,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5365
5365
  ]);
5366
5366
  };
5367
5367
  }
5368
- }), bp = /* @__PURE__ */ X(vp, [["__scopeId", "data-v-57f78095"]]), _p = {
5368
+ }), vp = /* @__PURE__ */ X(bp, [["__scopeId", "data-v-57f78095"]]), _p = {
5369
5369
  class: "redis-config-select",
5370
5370
  "data-testid": "redis-config-select"
5371
5371
  }, Sp = { class: "selected-redis-config" }, Tp = ["data-testid"], Mp = {
@@ -5378,7 +5378,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5378
5378
  key: 1,
5379
5379
  class: "redis-shared-config-error-message",
5380
5380
  "data-testid": "redis-config-fetch-error"
5381
- }, Ap = "1000", Ip = /* @__PURE__ */ be({
5381
+ }, Ap = "1000", Ip = /* @__PURE__ */ ve({
5382
5382
  __name: "RedisConfigSelect",
5383
5383
  props: {
5384
5384
  defaultRedisConfigItem: {
@@ -5428,21 +5428,21 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5428
5428
  } = Ws(l, o[l.app].getAll, Ap, {
5429
5429
  fetchedItemsKey: "data",
5430
5430
  searchKeys: ["id", "name"]
5431
- }), b = B(() => y.value ? r(y.value) : ""), A = B(
5431
+ }), v = B(() => y.value ? r(y.value) : ""), A = B(
5432
5432
  () => a.isCustomPlugin ? t("redis.custom_plugin.tooltip") : t("redis.shared_configuration.tooltip", { type: Qa(a.redisType) })
5433
- ), v = B(
5433
+ ), b = B(
5434
5434
  () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.title") : t("redis.shared_configuration.title")
5435
5435
  ), F = B(
5436
5436
  () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.selector.placeholder") : t("redis.shared_configuration.selector.placeholder")
5437
5437
  ), L = B(
5438
5438
  () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.create_new_configuration") : t("redis.shared_configuration.create_new_configuration", { type: Qa(a.redisType) })
5439
5439
  ), H = B(
5440
- () => b.value || t("redis.shared_configuration.error")
5441
- ), K = (N) => {
5440
+ () => v.value || t("redis.shared_configuration.error")
5441
+ ), K = (U) => {
5442
5442
  let D = `${l.apiBaseUrl}${o[l.app].getOne}`;
5443
- return l.app === "konnect" && (D = D.replace(/{controlPlaneId}/gi, (l == null ? void 0 : l.controlPlaneId) || "")), D = D.replace(/\/{workspace}/gi, l != null && l.workspace ? `/${l.workspace}` : "").replace(/{id}/gi, String(N)), D;
5443
+ return l.app === "konnect" && (D = D.replace(/{controlPlaneId}/gi, (l == null ? void 0 : l.controlPlaneId) || "")), D = D.replace(/\/{workspace}/gi, l != null && l.workspace ? `/${l.workspace}` : "").replace(/{id}/gi, String(U)), D;
5444
5444
  }, O = B(() => {
5445
- const N = (p.value || []).map((D) => {
5445
+ const U = (p.value || []).map((D) => {
5446
5446
  const g = D, S = a.isKonnectManagedRedisEnabled ? dp(g) : void 0, I = S === Lt.KONNECT_MANAGED;
5447
5447
  return {
5448
5448
  ...a.isKonnectManagedRedisEnabled && S ? { source: S } : {},
@@ -5454,12 +5454,12 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5454
5454
  tag: a.isKonnectManagedRedisEnabled && I ? void 0 : sp(g)
5455
5455
  };
5456
5456
  }).filter((D) => D.type === "redis-ce" || D.type === "redis-ee");
5457
- return a.redisType !== "all" ? N.filter((D) => D.type === a.redisType) : N;
5457
+ return a.redisType !== "all" ? U.filter((D) => D.type === a.redisType) : U;
5458
5458
  }), C = B(() => {
5459
- const N = O.value;
5459
+ const U = O.value;
5460
5460
  if (!a.isKonnectManagedRedisEnabled)
5461
- return N;
5462
- const D = N.filter((I) => I.source === Lt.KONNECT_MANAGED), g = N.filter((I) => I.source === Lt.SELF_MANAGED), S = [];
5461
+ return U;
5462
+ const D = U.filter((I) => I.source === Lt.KONNECT_MANAGED), g = U.filter((I) => I.source === Lt.SELF_MANAGED), S = [];
5463
5463
  return D.length > 0 && S.push({
5464
5464
  label: t("redis.managed_ui.groups.konnect_managed"),
5465
5465
  items: D
@@ -5467,11 +5467,11 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5467
5467
  label: t("redis.managed_ui.groups.self_managed"),
5468
5468
  items: g
5469
5469
  }), S;
5470
- }), { axiosInstance: _ } = yn(l == null ? void 0 : l.axiosRequestConfig), T = async (N) => {
5471
- if (N) {
5472
- a.updateRedisModel(N);
5470
+ }), { axiosInstance: _ } = yn(l == null ? void 0 : l.axiosRequestConfig), T = async (U) => {
5471
+ if (U) {
5472
+ a.updateRedisModel(U);
5473
5473
  try {
5474
- const D = await _.get(K(N));
5474
+ const D = await _.get(K(U));
5475
5475
  if (D.data.config) {
5476
5476
  const g = Object.assign(D.data, D.data.config);
5477
5477
  delete g.config, i.value = g;
@@ -5481,11 +5481,11 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5481
5481
  }
5482
5482
  }
5483
5483
  };
5484
- return ln(() => n == null ? void 0 : n.value, async (N) => {
5485
- N && await f();
5486
- }), vi(() => {
5484
+ return ln(() => n == null ? void 0 : n.value, async (U) => {
5485
+ U && await f();
5486
+ }), bi(() => {
5487
5487
  f(), a.defaultRedisConfigItem && T(a.defaultRedisConfigItem);
5488
- }), (N, D) => {
5488
+ }), (U, D) => {
5489
5489
  const g = k("KLabel"), S = k("KBadge"), I = k("KSelect");
5490
5490
  return c(), M(Y, null, [
5491
5491
  m("div", _p, [
@@ -5497,7 +5497,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5497
5497
  }
5498
5498
  }, {
5499
5499
  default: E(() => [
5500
- Z(x(v.value), 1)
5500
+ Z(x(b.value), 1)
5501
5501
  ]),
5502
5502
  _: 1
5503
5503
  }, 8, ["info"]),
@@ -5542,7 +5542,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5542
5542
  m("div", {
5543
5543
  class: "new-redis-config-area",
5544
5544
  "data-testid": "new-redis-config-area",
5545
- onClick: D[0] || (D[0] = (j) => N.$emit("showNewPartialModal"))
5545
+ onClick: D[0] || (D[0] = (j) => U.$emit("showNewPartialModal"))
5546
5546
  }, [
5547
5547
  w(V(En), {
5548
5548
  size: `var(--kui-icon-size-20, ${V(Xo)})`
@@ -5553,12 +5553,12 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5553
5553
  _: 1
5554
5554
  }, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
5555
5555
  ]),
5556
- i.value ? (c(), P(bp, {
5556
+ i.value ? (c(), P(vp, {
5557
5557
  key: 0,
5558
5558
  "config-fields": i.value,
5559
5559
  "plugin-redis-fields": e.pluginRedisFields
5560
5560
  }, null, 8, ["config-fields", "plugin-redis-fields"])) : q("", !0),
5561
- b.value ? (c(), M("p", Ep, x(H.value), 1)) : q("", !0)
5561
+ v.value ? (c(), M("p", Ep, x(H.value), 1)) : q("", !0)
5562
5562
  ], 64);
5563
5563
  };
5564
5564
  }
@@ -5571,7 +5571,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5571
5571
  }, Rp = {
5572
5572
  key: 1,
5573
5573
  class: "dedicated-redis-config"
5574
- }, Fp = { class: "dedicated-redis-config-title" }, Up = /* @__PURE__ */ be({
5574
+ }, Fp = { class: "dedicated-redis-config-title" }, Np = /* @__PURE__ */ ve({
5575
5575
  __name: "FormRedis",
5576
5576
  props: {
5577
5577
  tag: {
@@ -5634,25 +5634,25 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5634
5634
  () => n.isKonnectManagedRedisEnabled ? a("redis.managed_ui.dedicated_configuration.description") : a("redis.dedicated_configuration.description")
5635
5635
  ), u = B(
5636
5636
  () => n.isKonnectManagedRedisEnabled ? a("redis.managed_ui.dedicated_configuration.label") : a("redis.dedicated_configuration.label")
5637
- ), y = B(() => n.field.pluginType === "custom"), f = se(!n.isEditing), p = se(), b = se({}), A = se(), v = (O) => ne(O.visible) ? O.visible.call(this, n.model, O, this) : ve(O.visible) ? !0 : O.visible, F = async (O) => {
5637
+ ), y = B(() => n.field.pluginType === "custom"), f = se(!n.isEditing), p = se(), v = se({}), A = se(), b = (O) => ne(O.visible) ? O.visible.call(this, n.model, O, this) : be(O.visible) ? !0 : O.visible, F = async (O) => {
5638
5638
  o("modelUpdated", [{ id: O, path: n.redisPath }], "partials"), A.value = [{ id: O, path: n.redisPath }], p.value = O;
5639
5639
  }, L = (O, C) => {
5640
- b.value = { ...b.value, [C]: O }, o("modelUpdated", O, C);
5640
+ v.value = { ...v.value, [C]: O }, o("modelUpdated", O, C);
5641
5641
  }, H = () => {
5642
5642
  o("refreshModel");
5643
5643
  }, K = (O, C, _) => {
5644
5644
  o("validated", O, C, _);
5645
5645
  };
5646
5646
  return ln(() => f.value, (O) => {
5647
- O ? A.value && o("partialToggled", "redis", { partials: A.value }) : o("partialToggled", "partials", b.value);
5648
- }), vi(() => {
5647
+ O ? A.value && o("partialToggled", "redis", { partials: A.value }) : o("partialToggled", "partials", v.value);
5648
+ }), bi(() => {
5649
5649
  var O, C, _;
5650
- if (n.model && (b.value = n.field.fields.reduce((T, N) => (Object.keys(n.model).includes(N.model) && (T[N.model] = n.model[N.model]), T), {})), (_ = (C = (O = n == null ? void 0 : n.model) == null ? void 0 : O.partials) == null ? void 0 : C[0]) != null && _.id) {
5650
+ if (n.model && (v.value = n.field.fields.reduce((T, U) => (Object.keys(n.model).includes(U.model) && (T[U.model] = n.model[U.model]), T), {})), (_ = (C = (O = n == null ? void 0 : n.model) == null ? void 0 : O.partials) == null ? void 0 : C[0]) != null && _.id) {
5651
5651
  const T = n.model.partials[0].id;
5652
5652
  f.value = !0, p.value = T;
5653
5653
  }
5654
5654
  }), (O, C) => {
5655
- const _ = k("KAlert"), T = k("KBadge"), N = k("KRadio"), D = k("KCard");
5655
+ const _ = k("KAlert"), T = k("KBadge"), U = k("KRadio"), D = k("KCard");
5656
5656
  return c(), M("div", null, [
5657
5657
  y.value ? (c(), M("div", Cp, [
5658
5658
  w(_, {
@@ -5675,7 +5675,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5675
5675
  }, {
5676
5676
  default: E(() => [
5677
5677
  m("div", Op, [
5678
- w(N, {
5678
+ w(U, {
5679
5679
  modelValue: f.value,
5680
5680
  "onUpdate:modelValue": C[1] || (C[1] = (g) => f.value = g),
5681
5681
  card: "",
@@ -5698,7 +5698,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5698
5698
  ]),
5699
5699
  _: 1
5700
5700
  }, 8, ["modelValue", "description", "label"]),
5701
- w(N, {
5701
+ w(U, {
5702
5702
  modelValue: f.value,
5703
5703
  "onUpdate:modelValue": C[2] || (C[2] = (g) => f.value = g),
5704
5704
  card: "",
@@ -5725,7 +5725,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5725
5725
  (c(!0), M(Y, null, oe(e.field.fields, (g) => (c(), M(Y, {
5726
5726
  key: g.model
5727
5727
  }, [
5728
- v(g) ? (c(), P(ds, {
5728
+ b(g) ? (c(), P(ds, {
5729
5729
  key: 0,
5730
5730
  ref_for: !0,
5731
5731
  ref: "children",
@@ -5749,9 +5749,9 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5749
5749
  ]);
5750
5750
  };
5751
5751
  }
5752
- }), Np = /* @__PURE__ */ X(Up, [["__scopeId", "data-v-58023d89"]]), Lp = {
5752
+ }), Up = /* @__PURE__ */ X(Np, [["__scopeId", "data-v-58023d89"]]), Lp = {
5753
5753
  name: "VueFormGenerator",
5754
- components: { formGroup: ds, formRedis: Np },
5754
+ components: { formGroup: ds, formRedis: Up },
5755
5755
  mixins: [Do],
5756
5756
  inject: {
5757
5757
  // Inject AUTOFILL_SLOT for provide()
@@ -5867,7 +5867,7 @@ const cp = { class: "partial-config-card" }, up = { class: "config-card-row-labe
5867
5867
  methods: {
5868
5868
  // Get visible prop of field
5869
5869
  fieldVisible(e) {
5870
- return ne(e.visible) ? e.visible.call(this, this.model, e, this) : ve(e.visible) ? !0 : e.visible;
5870
+ return ne(e.visible) ? e.visible.call(this, this.model, e, this) : be(e.visible) ? !0 : e.visible;
5871
5871
  },
5872
5872
  // Child field executed validation
5873
5873
  onFieldValidated(e, t, n) {
@@ -5971,23 +5971,23 @@ function Vp(e, t, n, o, a, i) {
5971
5971
  title: u.collapsible.title
5972
5972
  }, Mn({
5973
5973
  default: E(() => {
5974
- var f, p, b, A;
5974
+ var f, p, v, A;
5975
5975
  return [
5976
5976
  (f = u.slots) != null && f.beforeContent ? we(e.$slots, (p = u.slots) == null ? void 0 : p.beforeContent, { key: 0 }) : q("", !0),
5977
- u.fields.length === 0 && ((b = u.slots) != null && b.emptyState) ? we(e.$slots, (A = u.slots) == null ? void 0 : A.emptyState, { key: 1 }) : (c(), P(re(n.tag), {
5977
+ u.fields.length === 0 && ((v = u.slots) != null && v.emptyState) ? we(e.$slots, (A = u.slots) == null ? void 0 : A.emptyState, { key: 1 }) : (c(), P(re(n.tag), {
5978
5978
  key: 2,
5979
5979
  class: te(e.getFieldRowClasses(u))
5980
5980
  }, {
5981
5981
  default: E(() => [
5982
- (c(!0), M(Y, null, oe(u.fields, (v) => (c(), M(Y, {
5983
- key: v.model
5982
+ (c(!0), M(Y, null, oe(u.fields, (b) => (c(), M(Y, {
5983
+ key: b.model
5984
5984
  }, [
5985
- i.fieldVisible(v) ? (c(), P(l, {
5985
+ i.fieldVisible(b) ? (c(), P(l, {
5986
5986
  key: 0,
5987
5987
  ref_for: !0,
5988
5988
  ref: "children",
5989
5989
  errors: a.errors,
5990
- field: v,
5990
+ field: b,
5991
5991
  model: n.model,
5992
5992
  options: n.options,
5993
5993
  vfg: a.vfg,
@@ -6005,20 +6005,20 @@ function Vp(e, t, n, o, a, i) {
6005
6005
  "model-value": a.collapseStates[`group-${y}-nested`] ?? !0,
6006
6006
  "trigger-alignment": "leading",
6007
6007
  "trigger-label": a.collapseStates[`group-${y}-nested`] ?? !0 ? u.collapsible.nestedCollapsible.triggerLabel.expand : u.collapsible.nestedCollapsible.triggerLabel.collapse,
6008
- "onUpdate:modelValue": (v) => a.collapseStates[`group-${y}-nested`] = v
6008
+ "onUpdate:modelValue": (b) => a.collapseStates[`group-${y}-nested`] = b
6009
6009
  }, {
6010
6010
  default: E(() => [
6011
6011
  (c(), P(re(n.tag), {
6012
6012
  class: te(e.getFieldRowClasses(u))
6013
6013
  }, {
6014
6014
  default: E(() => [
6015
- (c(!0), M(Y, null, oe(u.collapsible.nestedCollapsible.fields, (v) => (c(), M(Y, {
6016
- key: v.model
6015
+ (c(!0), M(Y, null, oe(u.collapsible.nestedCollapsible.fields, (b) => (c(), M(Y, {
6016
+ key: b.model
6017
6017
  }, [
6018
- v.model === "__redis_partial" && n.enableRedisPartial ? (c(), P(r, {
6018
+ b.model === "__redis_partial" && n.enableRedisPartial ? (c(), P(r, {
6019
6019
  key: 0,
6020
6020
  errors: a.errors,
6021
- field: v,
6021
+ field: b,
6022
6022
  "is-editing": n.isEditing,
6023
6023
  "is-konnect-managed-redis-enabled": n.isKonnectManagedRedisEnabled,
6024
6024
  model: n.model,
@@ -6027,14 +6027,14 @@ function Vp(e, t, n, o, a, i) {
6027
6027
  vfg: a.vfg,
6028
6028
  onModelUpdated: i.onModelUpdated,
6029
6029
  onPartialToggled: i.onPartialToggled,
6030
- onShowNewPartialModal: (F) => e.$emit("showNewPartialModal", v.redisType),
6030
+ onShowNewPartialModal: (F) => e.$emit("showNewPartialModal", b.redisType),
6031
6031
  onValidated: i.onFieldValidated
6032
- }, null, 8, ["errors", "field", "is-editing", "is-konnect-managed-redis-enabled", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : i.fieldVisible(v) ? (c(), P(l, {
6032
+ }, null, 8, ["errors", "field", "is-editing", "is-konnect-managed-redis-enabled", "model", "options", "tag", "vfg", "onModelUpdated", "onPartialToggled", "onShowNewPartialModal", "onValidated"])) : i.fieldVisible(b) ? (c(), P(l, {
6033
6033
  key: 1,
6034
6034
  ref_for: !0,
6035
6035
  ref: "children",
6036
6036
  errors: a.errors,
6037
- field: v,
6037
+ field: b,
6038
6038
  model: n.model,
6039
6039
  options: n.options,
6040
6040
  vfg: a.vfg,
@@ -6145,21 +6145,22 @@ const he = /* @__PURE__ */ X(Lp, [["render", Vp]]), Kp = [
6145
6145
  return this.disabled || !this.lookupEnabled;
6146
6146
  },
6147
6147
  // principal_claim is the value source in both modes (default `sub`), but in
6148
- // custom-identity mode that value is matched against the Custom Identity name,
6148
+ // custom-identity mode that value is matched against the Custom identity name,
6149
6149
  // so call out the pairing there.
6150
- identifierClaimHelp() {
6151
- return `${this.selectedLookupMethod === "custom-identity" ? "The token claim whose value is matched against the Custom Identity name below." : "The token claim used to look up the principal."} Leave empty to use the subject (sub) claim. Use dot notation for nested claims (for example, workload.id); escape literal periods with \\ (for example, workload\\.id).`;
6150
+ tokenClaimHelp() {
6151
+ const e = "Use dot notation for nested claims (for example, workload.id); escape literal periods with \\ (for example, workload\\.id).";
6152
+ return this.selectedLookupMethod === "custom-identity" ? `The token claim whose value is matched against the Custom identity name. Defaults to the subject (sub) claim, but you can specify a different claim if needed. ${e}` : `Defaults to the subject (sub) claim, but you can specify a different token claim if needed. ${e}`;
6152
6153
  }
6153
6154
  },
6154
6155
  methods: {
6155
6156
  handleEnableToggle(e) {
6156
6157
  this.onEnabledChange && this.onEnabledChange(e);
6157
6158
  },
6158
- getIdentifierClaimInputValue() {
6159
+ getTokenClaimInputValue() {
6159
6160
  const e = this.formModel["config-principals-principal_claim"];
6160
- return Array.isArray(e) ? e.map((t) => t.replace(/\./g, "\\.")).join(".") : e || "";
6161
+ return Array.isArray(e) && e.length > 0 ? e.map((t) => t.replace(/\./g, "\\.")).join(".") : typeof e == "string" && e ? e : "sub";
6161
6162
  },
6162
- handleIdentifierClaimChange(e) {
6163
+ handleTokenClaimChange(e) {
6163
6164
  const t = typeof e == "string" ? e.trim() : "";
6164
6165
  if (!t) {
6165
6166
  this.updateField("config-principals-principal_claim", []);
@@ -6211,35 +6212,35 @@ function Xp(e, t, n, o, a, i) {
6211
6212
  placeholder: "Select a lookup method",
6212
6213
  "onUpdate:modelValue": i.handleLookupMethodChange
6213
6214
  }, {
6214
- "item-template": E(({ item: b }) => [
6215
+ "item-template": E(({ item: v }) => [
6215
6216
  m("div", Bp, [
6216
- m("div", Hp, x(b.label), 1),
6217
- m("div", Gp, x(b.description), 1)
6217
+ m("div", Hp, x(v.label), 1),
6218
+ m("div", Gp, x(v.description), 1)
6218
6219
  ])
6219
6220
  ]),
6220
6221
  _: 1
6221
6222
  }, 8, ["disabled", "items", "model-value", "onUpdate:modelValue"]),
6222
- w(d, {
6223
- class: "principals-identifier-claim-input",
6224
- "data-testid": "principals-identifier-claim",
6225
- disabled: i.fieldsDisabled,
6226
- help: i.identifierClaimHelp,
6227
- label: "Identifier claim",
6228
- "model-value": i.getIdentifierClaimInputValue(),
6229
- placeholder: "e.g., user.employee_id",
6230
- "onUpdate:modelValue": t[0] || (t[0] = (b) => i.handleIdentifierClaimChange(b))
6231
- }, null, 8, ["disabled", "help", "model-value"]),
6232
6223
  a.selectedLookupMethod === "custom-identity" ? (c(), P(d, {
6233
6224
  key: 0,
6234
6225
  class: "principals-custom-identity-name-input",
6235
6226
  "data-testid": "principals-custom-identity-name",
6236
6227
  disabled: i.fieldsDisabled,
6237
6228
  help: "Enter the custom identity name used to look up the principal. Kong matches the value from the token claim to a principal with the same custom identity name and value.",
6238
- label: "Custom Identity name",
6229
+ label: "Custom identity name",
6239
6230
  "model-value": n.formModel["config-principals-principal_by"],
6240
6231
  placeholder: "e.g., Customer_ID",
6241
- "onUpdate:modelValue": t[1] || (t[1] = (b) => i.updateField("config-principals-principal_by", b))
6242
- }, null, 8, ["disabled", "model-value"])) : q("", !0)
6232
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => i.updateField("config-principals-principal_by", v))
6233
+ }, null, 8, ["disabled", "model-value"])) : q("", !0),
6234
+ w(d, {
6235
+ class: "principals-token-claim-input",
6236
+ "data-testid": "principals-token-claim",
6237
+ disabled: i.fieldsDisabled,
6238
+ help: i.tokenClaimHelp,
6239
+ label: "Token claim",
6240
+ "model-value": i.getTokenClaimInputValue(),
6241
+ placeholder: "e.g., user.employee_id",
6242
+ "onUpdate:modelValue": t[1] || (t[1] = (v) => i.handleTokenClaimChange(v))
6243
+ }, null, 8, ["disabled", "help", "model-value"])
6243
6244
  ]),
6244
6245
  m("div", Yp, [
6245
6246
  w(u, null, {
@@ -6255,7 +6256,7 @@ function Xp(e, t, n, o, a, i) {
6255
6256
  label: "Reject the request",
6256
6257
  "model-value": n.formModel["config-principals-error_on_miss"],
6257
6258
  "selected-value": !0,
6258
- onChange: t[2] || (t[2] = (b) => i.updateField("config-principals-error_on_miss", !0))
6259
+ onChange: t[2] || (t[2] = (v) => i.updateField("config-principals-error_on_miss", !0))
6259
6260
  }, null, 8, ["disabled", "model-value"]),
6260
6261
  w(y, {
6261
6262
  "data-testid": "principals-error-on-miss-false",
@@ -6264,7 +6265,7 @@ function Xp(e, t, n, o, a, i) {
6264
6265
  label: "Continue without a principal",
6265
6266
  "model-value": n.formModel["config-principals-error_on_miss"],
6266
6267
  "selected-value": !1,
6267
- onChange: t[3] || (t[3] = (b) => i.updateField("config-principals-error_on_miss", !1))
6268
+ onChange: t[3] || (t[3] = (v) => i.updateField("config-principals-error_on_miss", !1))
6268
6269
  }, null, 8, ["disabled", "model-value"])
6269
6270
  ]),
6270
6271
  m("div", Wp, [
@@ -6272,7 +6273,7 @@ function Xp(e, t, n, o, a, i) {
6272
6273
  "data-testid": "principals-match-consumer",
6273
6274
  disabled: i.fieldsDisabled,
6274
6275
  "model-value": n.formModel["config-principals-match_consumer"],
6275
- "onUpdate:modelValue": t[4] || (t[4] = (b) => i.handleMatchConsumerChange(b))
6276
+ "onUpdate:modelValue": t[4] || (t[4] = (v) => i.handleMatchConsumerChange(v))
6276
6277
  }, {
6277
6278
  description: E(() => [...t[7] || (t[7] = [
6278
6279
  Z(" Use the consumer linked to the authenticated principal so existing consumer-based plugins and policies continue to work. ", -1),
@@ -6293,7 +6294,7 @@ function Xp(e, t, n, o, a, i) {
6293
6294
  "data-testid": "principals-match-consumer-groups",
6294
6295
  disabled: i.fieldsDisabled || !n.formModel["config-principals-match_consumer"],
6295
6296
  "model-value": n.formModel["config-principals-match_consumer_groups"],
6296
- "onUpdate:modelValue": t[5] || (t[5] = (b) => i.updateField("config-principals-match_consumer_groups", b))
6297
+ "onUpdate:modelValue": t[5] || (t[5] = (v) => i.updateField("config-principals-match_consumer_groups", v))
6297
6298
  }, {
6298
6299
  description: E(() => [...t[9] || (t[9] = [
6299
6300
  Z(" Use consumer groups linked to the authenticated principal so existing consumer group policies and plugins continue to work. Consumer groups can be linked through principal metadata. ", -1),
@@ -6314,7 +6315,7 @@ function Xp(e, t, n, o, a, i) {
6314
6315
  _: 3
6315
6316
  });
6316
6317
  }
6317
- const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-d97ad727"]]), Ut = "kong-identity", cs = "external", Qp = "/v1/auth-servers/_computed", eg = "identity.konghq", tg = (e) => typeof e == "string" && e.includes(eg), ng = (e, t) => t ? tg(e["config-issuer"]) ? Ut : cs : Ut, ig = {
6318
+ const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-7255b7db"]]), Nt = "kong-identity", cs = "external", Qp = "/v1/auth-servers/_computed", eg = "identity.konghq", tg = (e) => typeof e == "string" && e.includes(eg), ng = (e, t) => t ? tg(e["config-issuer"]) ? Nt : cs : Nt, ig = {
6318
6319
  name: "OIDCPrincipals",
6319
6320
  components: { VueFormGenerator: he, PrincipalLookupSettings: Jp, AddIcon: En, BookIcon: qs, CloseIcon: zs, KeyIcon: xs, WorldIcon: $s },
6320
6321
  inject: {
@@ -6356,7 +6357,7 @@ const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-d97ad727
6356
6357
  emits: ["mode-change", "click:learn-more", "click:create-entity"],
6357
6358
  data() {
6358
6359
  return {
6359
- MODE_KONG_IDENTITY: Ut,
6360
+ MODE_KONG_IDENTITY: Nt,
6360
6361
  MODE_EXTERNAL: cs,
6361
6362
  KUI_ICON_SIZE_20: Xo,
6362
6363
  KUI_ICON_SIZE_30: Gm,
@@ -6437,7 +6438,7 @@ const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-d97ad727
6437
6438
  }
6438
6439
  },
6439
6440
  mounted() {
6440
- this.isEditing || (this.selectedMode === Ut && (this.formModel["config-principals-enabled"] = !0), this.$nextTick(() => this.$emit("mode-change", this.selectedMode))), this.fetchKongIdentityServers(), this.fetchPrincipalsState({ setDirectory: !this.isEditing && this.selectedMode === Ut });
6441
+ this.isEditing || (this.selectedMode === Nt && (this.formModel["config-principals-enabled"] = !0), this.$nextTick(() => this.$emit("mode-change", this.selectedMode))), this.fetchKongIdentityServers(), this.fetchPrincipalsState({ setDirectory: !this.isEditing && this.selectedMode === Nt });
6441
6442
  },
6442
6443
  methods: {
6443
6444
  // `setDirectory` is true on create/switch into Kong Identity (we adopt the directory
@@ -6543,7 +6544,7 @@ const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-d97ad727
6543
6544
  this.leavePromptType = null, e === "authServer" ? this.$emit("click:create-entity", { type: "auth-server" }) : e === "client" ? this.$emit("click:create-entity", { type: "client", authServerId: (t = this.selectedServer) == null ? void 0 : t.id }) : e === "principal" && this.$emit("click:create-entity", { type: "principal" });
6544
6545
  },
6545
6546
  handleModeChange(e) {
6546
- e === Ut ? (this.formModel["config-client_id"] = null, this.formModel["config-client_secret"] = null, this.formModel["config-issuer"] = null, this.formModel["config-principals-enabled"] = !0, this.formModel["config-principals-error_on_miss"] = !0, this.formModel["config-principals-match_consumer"] = !0, this.formModel["config-principals-match_consumer_groups"] = !0, this.fetchPrincipalsState({ setDirectory: !0 })) : (this.formModel["config-principals-enabled"] = !1, this.formModel["config-principals-directory"] = "default", this.formModel["config-principals-error_on_miss"] = !0, this.formModel["config-principals-match_consumer"] = !0, this.formModel["config-principals-match_consumer_groups"] = !0, this.formModel["config-client_id"] = null, this.formModel["config-client_secret"] = null, this.formModel["config-issuer"] = null, this.selectedServer = null, this.clients = []), this.onModelUpdated(), this.$emit("mode-change", e);
6547
+ e === Nt ? (this.formModel["config-client_id"] = null, this.formModel["config-client_secret"] = null, this.formModel["config-issuer"] = null, this.formModel["config-principals-enabled"] = !0, this.formModel["config-principals-error_on_miss"] = !0, this.formModel["config-principals-match_consumer"] = !0, this.formModel["config-principals-match_consumer_groups"] = !0, this.fetchPrincipalsState({ setDirectory: !0 })) : (this.formModel["config-principals-enabled"] = !1, this.formModel["config-principals-directory"] = "default", this.formModel["config-principals-error_on_miss"] = !0, this.formModel["config-principals-match_consumer"] = !0, this.formModel["config-principals-match_consumer_groups"] = !0, this.formModel["config-client_id"] = null, this.formModel["config-client_secret"] = null, this.formModel["config-issuer"] = null, this.selectedServer = null, this.clients = []), this.onModelUpdated(), this.$emit("mode-change", e);
6547
6548
  }
6548
6549
  }
6549
6550
  }, ag = {
@@ -6561,9 +6562,9 @@ const Jp = /* @__PURE__ */ X(xp, [["render", Xp], ["__scopeId", "data-v-d97ad727
6561
6562
  class: "principals-create-guide",
6562
6563
  "data-testid": "principals-create-guide"
6563
6564
  }, yg = { class: "principals-create-guide-actions" };
6564
- function vg(e, t, n, o, a, i) {
6565
+ function bg(e, t, n, o, a, i) {
6565
6566
  var O;
6566
- const r = k("KExternalLink"), l = k("KeyIcon"), d = k("KRadio"), u = k("WorldIcon"), y = k("KSkeleton"), f = k("AddIcon"), p = k("KButton"), b = k("BookIcon"), A = k("KSelect"), v = k("KInput"), F = k("CloseIcon"), L = k("PrincipalLookupSettings"), H = k("VueFormGenerator"), K = k("KPrompt");
6567
+ const r = k("KExternalLink"), l = k("KeyIcon"), d = k("KRadio"), u = k("WorldIcon"), y = k("KSkeleton"), f = k("AddIcon"), p = k("KButton"), v = k("BookIcon"), A = k("KSelect"), b = k("KInput"), F = k("CloseIcon"), L = k("PrincipalLookupSettings"), H = k("VueFormGenerator"), K = k("KPrompt");
6567
6568
  return c(), M("div", ag, [
6568
6569
  t[27] || (t[27] = m("div", { class: "principals-header" }, " Who should manage authentication and credentials? ", -1)),
6569
6570
  m("div", og, [
@@ -6642,7 +6643,7 @@ function vg(e, t, n, o, a, i) {
6642
6643
  onClick: t[3] || (t[3] = (C) => e.$emit("click:learn-more", "kong-identity"))
6643
6644
  }, {
6644
6645
  default: E(() => [
6645
- w(b, { decorative: "" }),
6646
+ w(v, { decorative: "" }),
6646
6647
  t[18] || (t[18] = Z(" Learn more ", -1))
6647
6648
  ]),
6648
6649
  _: 1
@@ -6713,7 +6714,7 @@ function vg(e, t, n, o, a, i) {
6713
6714
  _: 1
6714
6715
  }, 8, ["disabled", "items", "label", "loading", "model-value", "onUpdate:modelValue"]),
6715
6716
  m("div", ug, [
6716
- w(v, {
6717
+ w(b, {
6717
6718
  class: "principals-client-secret",
6718
6719
  "data-testid": "principals-client-secret",
6719
6720
  disabled: !a.selectedServer,
@@ -6761,13 +6762,13 @@ function vg(e, t, n, o, a, i) {
6761
6762
  }, 8, ["disabled", "form-model", "on-model-updated"])
6762
6763
  ], 64)) : (c(), M(Y, { key: 3 }, [
6763
6764
  (c(!0), M(Y, null, oe(i.clientIdArray, (C, _) => {
6764
- var T, N;
6765
+ var T, U;
6765
6766
  return c(), M("div", {
6766
6767
  key: _,
6767
6768
  class: te(["client-row", { "client-row-with-label": _ === 0 }])
6768
6769
  }, [
6769
6770
  m("div", fg, [
6770
- w(v, {
6771
+ w(b, {
6771
6772
  class: "external-client-input",
6772
6773
  "data-testid": "external-client-id",
6773
6774
  label: _ === 0 ? "Client id" : void 0,
@@ -6784,11 +6785,11 @@ function vg(e, t, n, o, a, i) {
6784
6785
  }, null, 8, ["update", "value"])) : q("", !0)
6785
6786
  ]),
6786
6787
  m("div", hg, [
6787
- w(v, {
6788
+ w(b, {
6788
6789
  class: "external-client-input",
6789
6790
  "data-testid": "external-client-secret",
6790
6791
  label: _ === 0 ? "Client secret" : void 0,
6791
- "label-attributes": { info: (N = i.externalClientSecretField) == null ? void 0 : N.help },
6792
+ "label-attributes": { info: (U = i.externalClientSecretField) == null ? void 0 : U.help },
6792
6793
  "model-value": i.clientSecretArray[_],
6793
6794
  placeholder: "e.g., your-client-secret",
6794
6795
  "show-password-mask-toggle": "",
@@ -6860,7 +6861,7 @@ function vg(e, t, n, o, a, i) {
6860
6861
  onClick: t[9] || (t[9] = (C) => e.$emit("click:learn-more", "kong-identity"))
6861
6862
  }, {
6862
6863
  default: E(() => [
6863
- w(b, { decorative: "" }),
6864
+ w(v, { decorative: "" }),
6864
6865
  t[24] || (t[24] = Z(" Learn more ", -1))
6865
6866
  ]),
6866
6867
  _: 1
@@ -6884,7 +6885,7 @@ function vg(e, t, n, o, a, i) {
6884
6885
  }, null, 8, ["visible", "onProceed"])
6885
6886
  ]);
6886
6887
  }
6887
- const bg = /* @__PURE__ */ X(ig, [["render", vg], ["__scopeId", "data-v-d7c0f1c8"]]), _g = {
6888
+ const vg = /* @__PURE__ */ X(ig, [["render", bg], ["__scopeId", "data-v-d7c0f1c8"]]), _g = {
6888
6889
  name: "OIDCAuthMethods",
6889
6890
  props: {
6890
6891
  authMethodItems: {
@@ -6984,7 +6985,7 @@ const Eg = /* @__PURE__ */ X(_g, [["render", wg], ["__scopeId", "data-v-8c1cdc7c
6984
6985
  "config-authenticated_groups_claim"
6985
6986
  ]), di = ["bearer", "client_credentials", "introspection", "userinfo"], Ag = "identity.konghq", Ig = (e) => typeof e == "string" && e.includes(Ag), Cg = {
6986
6987
  name: "OIDCForm",
6987
- components: { VueFormGenerator: he, OIDCPrincipals: bg, OIDCAuthMethods: Eg },
6988
+ components: { VueFormGenerator: he, OIDCPrincipals: vg, OIDCAuthMethods: Eg },
6988
6989
  provide() {
6989
6990
  var e;
6990
6991
  return {
@@ -7140,22 +7141,22 @@ const Eg = /* @__PURE__ */ X(_g, [["render", wg], ["__scopeId", "data-v-8c1cdc7c
7140
7141
  switch (r.model) {
7141
7142
  case "config-client_jwk": {
7142
7143
  if (Array.isArray((d = (l = r.items) == null ? void 0 : l.schema) == null ? void 0 : d.fields))
7143
- for (const b of r.items.schema.fields)
7144
- b.label = b.model;
7144
+ for (const v of r.items.schema.fields)
7145
+ v.label = v.model;
7145
7146
  i.push({
7146
7147
  ...r,
7147
7148
  link: this.openIdConnectJWKLink,
7148
7149
  newElementButtonLabel: "+ Add Client JWK",
7149
- ...Array.isArray((y = (u = r.items) == null ? void 0 : u.schema) == null ? void 0 : y.fields) && r.items.schema.fields.map((b) => ({ ...b, label: b.model }))
7150
+ ...Array.isArray((y = (u = r.items) == null ? void 0 : u.schema) == null ? void 0 : y.fields) && r.items.schema.fields.map((v) => ({ ...v, label: v.model }))
7150
7151
  });
7151
7152
  break;
7152
7153
  }
7153
7154
  case "config-token_exchange-subject_token_issuers": {
7154
7155
  if (Array.isArray((p = (f = r.items) == null ? void 0 : f.schema) == null ? void 0 : p.fields)) {
7155
- const b = r.items.schema.fields, A = b.find((F) => F.model === "verify_signature"), v = b.find((F) => F.model === "jwks_uri");
7156
- if (A && (A.checkboxLabel = A.label, A.label = void 0, A.checkboxDescription = (F) => F.verify_signature === !0 ? "JSON Web Keys are automatically fetched from the issuer's well-known endpoint. Enter a JWKS URI below to override this." : void 0), v && (v.visible = (F) => F.verify_signature === !0), A && v) {
7157
- const F = b.indexOf(A), L = b.indexOf(v);
7158
- L !== F + 1 && (b.splice(L, 1), b.splice(F + 1, 0, v));
7156
+ const v = r.items.schema.fields, A = v.find((F) => F.model === "verify_signature"), b = v.find((F) => F.model === "jwks_uri");
7157
+ if (A && (A.checkboxLabel = A.label, A.label = void 0, A.checkboxDescription = (F) => F.verify_signature === !0 ? "JSON Web Keys are automatically fetched from the issuer's well-known endpoint. Enter a JWKS URI below to override this." : void 0), b && (b.visible = (F) => F.verify_signature === !0), A && b) {
7158
+ const F = v.indexOf(A), L = v.indexOf(b);
7159
+ L !== F + 1 && (v.splice(L, 1), v.splice(F + 1, 0, b));
7159
7160
  }
7160
7161
  }
7161
7162
  i.push(r);
@@ -7272,9 +7273,9 @@ const Eg = /* @__PURE__ */ X(_g, [["render", wg], ["__scopeId", "data-v-8c1cdc7c
7272
7273
  }
7273
7274
  }
7274
7275
  }
7275
- }, Og = { class: "general-settings" }, kg = { class: "link-wrapper" }, Rg = { class: "auth-method-container" }, Fg = { class: "general-settings" }, Ug = { class: "link-wrapper" }, Ng = { class: "general-settings" }, Lg = { class: "link-wrapper" };
7276
+ }, Og = { class: "general-settings" }, kg = { class: "link-wrapper" }, Rg = { class: "auth-method-container" }, Fg = { class: "general-settings" }, Ng = { class: "link-wrapper" }, Ug = { class: "general-settings" }, Lg = { class: "link-wrapper" };
7276
7277
  function Dg(e, t, n, o, a, i) {
7277
- const r = k("VueFormGenerator"), l = k("KExternalLink"), d = k("OIDCAuthMethods"), u = k("OIDCPrincipals"), y = k("KLabel"), f = k("KCheckbox"), p = k("KInputSwitch"), b = k("KTabs");
7278
+ const r = k("VueFormGenerator"), l = k("KExternalLink"), d = k("OIDCAuthMethods"), u = k("OIDCPrincipals"), y = k("KLabel"), f = k("KCheckbox"), p = k("KInputSwitch"), v = k("KTabs");
7278
7279
  return c(), M("div", null, [
7279
7280
  n.formModel.id && n.isEditing || !n.isEditing ? (c(), P(r, {
7280
7281
  key: 0,
@@ -7284,7 +7285,7 @@ function Dg(e, t, n, o, a, i) {
7284
7285
  schema: a.globalFields,
7285
7286
  onModelUpdated: n.onModelUpdated
7286
7287
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : q("", !0),
7287
- w(b, { tabs: a.tabs }, {
7288
+ w(v, { tabs: a.tabs }, {
7288
7289
  common: E(() => [
7289
7290
  m("div", Og, [
7290
7291
  m("div", kg, [
@@ -7349,9 +7350,9 @@ function Dg(e, t, n, o, a, i) {
7349
7350
  }, [
7350
7351
  w(f, {
7351
7352
  modelValue: A.prop,
7352
- "onUpdate:modelValue": (v) => A.prop = v,
7353
+ "onUpdate:modelValue": (b) => A.prop = b,
7353
7354
  "data-testid": `auth-method-checkbox-${A.value}`,
7354
- onChange: (v) => i.handleUpdate(v, A.value)
7355
+ onChange: (b) => i.handleUpdate(b, A.value)
7355
7356
  }, {
7356
7357
  default: E(() => [
7357
7358
  Z(x(A.label), 1)
@@ -7373,7 +7374,7 @@ function Dg(e, t, n, o, a, i) {
7373
7374
  ]),
7374
7375
  authorization: E(() => [
7375
7376
  m("div", Fg, [
7376
- m("div", Ug, [
7377
+ m("div", Ng, [
7377
7378
  w(l, { href: a.openIdAuthorizationDocs }, {
7378
7379
  default: E(() => [...t[7] || (t[7] = [
7379
7380
  m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
@@ -7397,7 +7398,7 @@ function Dg(e, t, n, o, a, i) {
7397
7398
  ])
7398
7399
  ]),
7399
7400
  advanced: E(() => [
7400
- m("div", Ng, [
7401
+ m("div", Ug, [
7401
7402
  m("div", Lg, [
7402
7403
  w(l, { href: a.openIdConnectLink }, {
7403
7404
  default: E(() => [...t[9] || (t[9] = [
@@ -7425,7 +7426,7 @@ function Dg(e, t, n, o, a, i) {
7425
7426
  }, 8, ["tabs"])
7426
7427
  ]);
7427
7428
  }
7428
- const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5"]]), Vg = /* @__PURE__ */ be({
7429
+ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5"]]), Vg = /* @__PURE__ */ ve({
7429
7430
  __name: "PostFunction",
7430
7431
  props: {
7431
7432
  formModel: {
@@ -7468,7 +7469,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7468
7469
  onModelUpdated: e.onModelUpdated
7469
7470
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : q("", !0);
7470
7471
  }
7471
- }), Kg = /* @__PURE__ */ X(Vg, [["__scopeId", "data-v-f54f37ae"]]), jg = /* @__PURE__ */ be({
7472
+ }), Kg = /* @__PURE__ */ X(Vg, [["__scopeId", "data-v-f54f37ae"]]), jg = /* @__PURE__ */ ve({
7472
7473
  __name: "ExitTransformer",
7473
7474
  props: {
7474
7475
  formModel: {
@@ -7599,7 +7600,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7599
7600
  disabled: !1
7600
7601
  }
7601
7602
  ]
7602
- }, Bg = { class: "general-settings" }, Hg = { class: "sub-form" }, Gg = { class: "general-settings" }, Yg = { class: "sub-form" }, Wg = { class: "general-settings" }, Zg = /* @__PURE__ */ be({
7603
+ }, Bg = { class: "general-settings" }, Hg = { class: "sub-form" }, Gg = { class: "general-settings" }, Yg = { class: "sub-form" }, Wg = { class: "general-settings" }, Zg = /* @__PURE__ */ ve({
7603
7604
  __name: "ACMEForm",
7604
7605
  props: {
7605
7606
  formModel: {
@@ -7631,38 +7632,38 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7631
7632
  var T;
7632
7633
  const _ = {};
7633
7634
  if ((T = t.formSchema) != null && T.fields)
7634
- for (const N of t.formSchema.fields)
7635
- _[N.model] = N;
7635
+ for (const U of t.formSchema.fields)
7636
+ _[U.model] = U;
7636
7637
  return _;
7637
7638
  }), i = B(() => {
7638
7639
  var T;
7639
7640
  const _ = Qe(xg);
7640
- for (const N of _.fields) {
7641
- const D = (T = a.value[N.model]) == null ? void 0 : T.help;
7642
- N.help === void 0 && typeof D == "string" && (N.help = D);
7641
+ for (const U of _.fields) {
7642
+ const D = (T = a.value[U.model]) == null ? void 0 : T.help;
7643
+ U.help === void 0 && typeof D == "string" && (U.help = D);
7643
7644
  }
7644
7645
  return _;
7645
7646
  }), r = B(() => {
7646
7647
  var T;
7647
7648
  const _ = Qe(zg);
7648
- for (const N of _.fields) {
7649
- const D = (T = a.value[N.model]) == null ? void 0 : T.help;
7650
- N.help === void 0 && typeof D == "string" && (N.help = D);
7649
+ for (const U of _.fields) {
7650
+ const D = (T = a.value[U.model]) == null ? void 0 : T.help;
7651
+ U.help === void 0 && typeof D == "string" && (U.help = D);
7651
7652
  }
7652
7653
  return _;
7653
7654
  }), l = B(() => {
7654
7655
  var T;
7655
7656
  const _ = Qe(qg);
7656
- for (const N of _.fields) {
7657
- const D = (T = a.value[N.model]) == null ? void 0 : T.help;
7658
- N.help === void 0 && typeof D == "string" && (N.help = D);
7657
+ for (const U of _.fields) {
7658
+ const D = (T = a.value[U.model]) == null ? void 0 : T.help;
7659
+ U.help === void 0 && typeof D == "string" && (U.help = D);
7659
7660
  }
7660
7661
  return _;
7661
7662
  }), d = B(() => ({
7662
7663
  fields: t.formSchema.fields.filter((_) => !_.model.startsWith("config") && _.model !== "tags")
7663
7664
  })), u = B(() => ({
7664
7665
  fields: i.value.fields.filter(
7665
- (T) => !r.value.fields.some((N) => N.model === T.model) && !l.value.fields.some((N) => N.model === T.model)
7666
+ (T) => !r.value.fields.some((U) => U.model === T.model) && !l.value.fields.some((U) => U.model === T.model)
7666
7667
  )
7667
7668
  })), y = B(() => ({
7668
7669
  fields: t.formSchema.fields.filter((T) => T.model.startsWith("config-storage") && !T.model.startsWith("config-storage_config-consul") && !T.model.startsWith("config-storage_config-redis") && !T.model.startsWith("config-storage_config-shm") && !T.model.startsWith("config-storage_config-vault"))
@@ -7670,11 +7671,11 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7670
7671
  fields: t.formSchema.fields.filter((T) => T.model.startsWith("config-storage_config-consul"))
7671
7672
  })), p = B(() => ({
7672
7673
  fields: t.formSchema.fields.filter((T) => T.model.startsWith("config-storage_config-redis"))
7673
- })), b = B(() => ({
7674
+ })), v = B(() => ({
7674
7675
  fields: t.formSchema.fields.filter((T) => T.model.startsWith("config-storage_config-shm"))
7675
7676
  })), A = B(() => ({
7676
7677
  fields: t.formSchema.fields.filter((T) => T.model.startsWith("config-storage_config-vault"))
7677
- })), v = B(() => ({
7678
+ })), b = B(() => ({
7678
7679
  fields: t.formSchema.fields.filter((_) => _.model.startsWith("config") && !u.value.fields.filter((T) => T.model === _.model).length && !y.value.fields.filter((T) => T.model === _.model).length || _.model === "tags")
7679
7680
  })), F = B(() => t.formModel.id && t.isEditing || !t.isEditing), L = [
7680
7681
  {
@@ -7713,7 +7714,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7713
7714
  T === "config-storage" && (o.value = _), t.onModelUpdated();
7714
7715
  };
7715
7716
  return (_, T) => {
7716
- const N = k("KSelect"), D = k("KTabs");
7717
+ const U = k("KSelect"), D = k("KTabs");
7717
7718
  return c(), M("div", null, [
7718
7719
  e.formModel.id && e.isEditing || !e.isEditing ? (c(), P(he, {
7719
7720
  key: 0,
@@ -7738,7 +7739,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7738
7739
  onModelUpdated: e.onModelUpdated
7739
7740
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : q("", !0),
7740
7741
  T[2] || (T[2] = m("hr", null, null, -1)),
7741
- w(N, {
7742
+ w(U, {
7742
7743
  class: "issuer-select",
7743
7744
  items: H,
7744
7745
  label: "Issuer",
@@ -7794,7 +7795,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7794
7795
  key: 2,
7795
7796
  model: e.formModel,
7796
7797
  options: e.formOptions,
7797
- schema: b.value,
7798
+ schema: v.value,
7798
7799
  onModelUpdated: e.onModelUpdated
7799
7800
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : q("", !0),
7800
7801
  o.value === "vault" ? (c(), P(he, {
@@ -7817,7 +7818,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7817
7818
  key: 0,
7818
7819
  model: e.formModel,
7819
7820
  options: e.formOptions,
7820
- schema: v.value,
7821
+ schema: b.value,
7821
7822
  onModelUpdated: e.onModelUpdated
7822
7823
  }, null, 8, ["model", "options", "schema", "onModelUpdated"])) : q("", !0)
7823
7824
  ])
@@ -7833,7 +7834,7 @@ const Pg = /* @__PURE__ */ X(Cg, [["render", Dg], ["__scopeId", "data-v-db66dea5
7833
7834
  }, dy = { class: "rla-form-request-limits-examples-badges" }, cy = ["innerHTML"], uy = {
7834
7835
  id: "rla-form-error-legend",
7835
7836
  class: "rla-form-error-inputs"
7836
- }, my = /* @__PURE__ */ be({
7837
+ }, my = /* @__PURE__ */ ve({
7837
7838
  __name: "RLAForm",
7838
7839
  props: {
7839
7840
  formSchema: {},
@@ -7946,7 +7947,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
7946
7947
  value: j
7947
7948
  }));
7948
7949
  }
7949
- ), f = se(), p = se(!0), b = B(
7950
+ ), f = se(), p = se(!0), v = B(
7950
7951
  () => {
7951
7952
  var g, S, I;
7952
7953
  return i.formModel["config-window_type"] ?? ((I = (S = (g = i.formSchema) == null ? void 0 : g.fields) == null ? void 0 : S.find((j) => j.model === "config-window_type")) == null ? void 0 : I.default);
@@ -7955,7 +7956,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
7955
7956
  var S, I, j, Q, pe, xe;
7956
7957
  const g = (j = (I = (S = i.formSchema) == null ? void 0 : S.fields) == null ? void 0 : I.find((ge) => ge.model === "config-window_type")) == null ? void 0 : j.default;
7957
7958
  return (((xe = (pe = (Q = i.formSchema) == null ? void 0 : Q.fields) == null ? void 0 : pe.find((ge) => ge.model === "config-window_type")) == null ? void 0 : xe.values) ?? []).sort((ge, it) => ge === g ? -1 : it === g ? 1 : 0);
7958
- }), v = B(() => {
7959
+ }), b = B(() => {
7959
7960
  var S;
7960
7961
  const g = (S = i.formModel["config-limit"]) == null ? void 0 : S.map((I, j) => {
7961
7962
  var Q, pe;
@@ -8007,9 +8008,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8007
8008
  f.value !== void 0 && (f.value = void 0);
8008
8009
  const S = Qe(((j = i.formModel) == null ? void 0 : j["config-limit"]) ?? []), I = Qe(((Q = i.formModel) == null ? void 0 : Q["config-window_size"]) ?? []);
8009
8010
  S.length === 0 && S.push(void 0), I.length === 0 && I.push(void 0), S.splice(g + 1, 0, void 0), I.splice(g + 1, 0, void 0), i.onModelUpdated(S, "config-limit"), i.onModelUpdated(I, "config-window_size");
8010
- }, N = (g) => {
8011
+ }, U = (g) => {
8011
8012
  var S, I;
8012
- if (v.value.length > 1) {
8013
+ if (b.value.length > 1) {
8013
8014
  f.value !== void 0 && (f.value = void 0);
8014
8015
  const j = Qe(((S = i.formModel) == null ? void 0 : S["config-limit"]) ?? []), Q = Qe(((I = i.formModel) == null ? void 0 : I["config-window_size"]) ?? []);
8015
8016
  j.length === 0 && j.push(void 0), Q.length === 0 && Q.push(void 0), j.splice(g, 1), Q.splice(g, 1), i.onModelUpdated(j, "config-limit"), i.onModelUpdated(Q, "config-window_size");
@@ -8018,7 +8019,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8018
8019
  return ln(() => i.formModel["config-strategy"], (g) => {
8019
8020
  g !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
8020
8021
  }), (g, S) => {
8021
- const I = k("KLabel"), j = k("KRadio"), Q = k("KInput"), pe = k("KButton"), xe = k("KBadge"), ge = k("KTooltip"), it = k("KCard"), Nn = k("KSelect"), Ln = k("KCollapse");
8022
+ const I = k("KLabel"), j = k("KRadio"), Q = k("KInput"), pe = k("KButton"), xe = k("KBadge"), ge = k("KTooltip"), it = k("KCard"), Un = k("KSelect"), Ln = k("KCollapse");
8022
8023
  return c(), M(Y, null, [
8023
8024
  m("div", Jg, [
8024
8025
  w(he, {
@@ -8064,7 +8065,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8064
8065
  m("div", iy, [
8065
8066
  (c(!0), M(Y, null, oe(A.value, (z) => (c(), P(j, {
8066
8067
  key: `window-type-${z}`,
8067
- "model-value": b.value,
8068
+ "model-value": v.value,
8068
8069
  name: z,
8069
8070
  "selected-value": z,
8070
8071
  "onUpdate:modelValue": O
@@ -8077,7 +8078,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8077
8078
  ])
8078
8079
  ]),
8079
8080
  m("div", ay, [
8080
- (c(!0), M(Y, null, oe(v.value, (z, de) => (c(), M("div", {
8081
+ (c(!0), M(Y, null, oe(b.value, (z, de) => (c(), M("div", {
8081
8082
  key: de.toString()
8082
8083
  }, [
8083
8084
  w(I, {
@@ -8111,8 +8112,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8111
8112
  m("div", ry, [
8112
8113
  w(pe, {
8113
8114
  appearance: "tertiary",
8114
- disabled: v.value.length <= 1,
8115
- onClick: () => N(de)
8115
+ disabled: b.value.length <= 1,
8116
+ onClick: () => U(de)
8116
8117
  }, {
8117
8118
  default: E(() => [
8118
8119
  w(V(Bs))
@@ -8147,9 +8148,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8147
8148
  ]),
8148
8149
  default: E(() => [
8149
8150
  w(xe, {
8150
- appearance: f.value === `${b.value}-${de}` ? "info" : "decorative",
8151
+ appearance: f.value === `${v.value}-${de}` ? "info" : "decorative",
8151
8152
  class: "rla-form-request-limits-examples-badge",
8152
- onClick: () => K(z, `${b.value}-${de}`)
8153
+ onClick: () => K(z, `${v.value}-${de}`)
8153
8154
  }, {
8154
8155
  default: E(() => [
8155
8156
  Z(x(z.label), 1)
@@ -8165,7 +8166,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
8165
8166
  ]),
8166
8167
  _: 1
8167
8168
  }),
8168
- w(Nn, {
8169
+ w(Un, {
8169
8170
  modelValue: F.value,
8170
8171
  "onUpdate:modelValue": S[1] || (S[1] = (z) => F.value = z),
8171
8172
  class: "rla-form-identifiers",
@@ -8296,7 +8297,7 @@ export {
8296
8297
  cf as FieldScopedEntitySelect,
8297
8298
  Tn as PartialType,
8298
8299
  nd as REDIS_PARTIAL_FETCHER_KEY,
8299
- by as REDIS_PARTIAL_INFO,
8300
+ vy as REDIS_PARTIAL_INFO,
8300
8301
  he as VueFormGenerator,
8301
8302
  _y as abstractField,
8302
8303
  Be as composables,