@kong-ui-public/forms 4.18.4-pr.2608.1724f2f3d.0 → 4.18.4

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 { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as C, defineComponent as he, provide as Bt, resolveComponent as D, withCtx as E, renderSlot as Oe, unref as A, createTextVNode as ce, mergeModels as Oi, useModel as Po, createBlock as U, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as B, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as K, resolveDirective as Aa, withDirectives as we, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as xo, vShow as qo, normalizeProps as Ko, guardReactiveProps as Bo, useSlots as fn, nextTick as Fi } from "vue";
1
+ import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as L, normalizeClass as ee, createVNode as C, defineComponent as he, provide as Bt, resolveComponent as D, withCtx as E, renderSlot as Oe, unref as A, createTextVNode as ce, mergeModels as Oi, useModel as Po, createBlock as U, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as B, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as K, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as xo, vShow as qo, normalizeProps as Ko, guardReactiveProps as Bo, useSlots as fn, nextTick as Fi } from "vue";
2
2
  import { createI18n as ke } from "@kong-ui-public/i18n";
3
3
  import { TrashIcon as zt, SearchIcon as zo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
4
4
  import { isAxiosError as Yo } from "axios";
@@ -152,7 +152,7 @@ function ni(e) {
152
152
  function ss(e) {
153
153
  return typeof e == "function" ? e : ni;
154
154
  }
155
- function Se(e, t) {
155
+ function we(e, t) {
156
156
  var n = at(e) ? Ca : rs;
157
157
  return n(e, ss(t));
158
158
  }
@@ -396,7 +396,7 @@ function G(e, t, n) {
396
396
  function de(e) {
397
397
  return e == null;
398
398
  }
399
- const Ce = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key", vp = "redis-partial-info", Mt = "autofill", Le = "autofillSlot", je = {
399
+ const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key", vp = "redis-partial-info", Mt = "autofill", Le = "autofillSlot", je = {
400
400
  CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
401
401
  CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
402
402
  UPDATE_ENTITY: "UPDATE_ENTITY",
@@ -411,14 +411,14 @@ const {
411
411
  getOwnPropertyDescriptor: dl
412
412
  } = Object;
413
413
  let {
414
- freeze: Ee,
414
+ freeze: Me,
415
415
  seal: Ne,
416
416
  create: qa
417
417
  } = Object, {
418
418
  apply: Bn,
419
419
  construct: zn
420
420
  } = typeof Reflect < "u" && Reflect;
421
- Ee || (Ee = function(t) {
421
+ Me || (Me = function(t) {
422
422
  return t;
423
423
  });
424
424
  Ne || (Ne = function(t) {
@@ -430,8 +430,8 @@ Bn || (Bn = function(t, n, i) {
430
430
  zn || (zn = function(t, n) {
431
431
  return new t(...n);
432
432
  });
433
- const en = Me(Array.prototype.forEach), ul = Me(Array.prototype.lastIndexOf), ji = Me(Array.prototype.pop), Rt = Me(Array.prototype.push), cl = Me(Array.prototype.splice), nn = Me(String.prototype.toLowerCase), Pn = Me(String.prototype.toString), xi = Me(String.prototype.match), Ut = Me(String.prototype.replace), ml = Me(String.prototype.indexOf), fl = Me(String.prototype.trim), De = Me(Object.prototype.hasOwnProperty), Te = Me(RegExp.prototype.test), Lt = hl(TypeError);
434
- function Me(e) {
433
+ const en = Ae(Array.prototype.forEach), ul = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), cl = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), xi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), ml = Ae(String.prototype.indexOf), fl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Lt = hl(TypeError);
434
+ function Ae(e) {
435
435
  return function(t) {
436
436
  t instanceof RegExp && (t.lastIndex = 0);
437
437
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
@@ -476,9 +476,9 @@ function Nt(e, t) {
476
476
  const i = dl(e, t);
477
477
  if (i) {
478
478
  if (i.get)
479
- return Me(i.get);
479
+ return Ae(i.get);
480
480
  if (typeof i.value == "function")
481
- return Me(i.value);
481
+ return Ae(i.value);
482
482
  }
483
483
  e = ll(e);
484
484
  }
@@ -487,7 +487,7 @@ function Nt(e, t) {
487
487
  }
488
488
  return n;
489
489
  }
490
- const qi = Ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ki = Ee(["#text"]), Bi = Ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Ee(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), zi = Ee(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ka = Ne(
490
+ const qi = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ki = Me(["#text"]), Bi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), zi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ka = Ne(
491
491
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
492
492
  // eslint-disable-line no-useless-escape
493
493
  ), wl = Ne(/^(?:\w+script|data):/i), El = Ne(
@@ -646,7 +646,7 @@ function za() {
646
646
  O = l.TRUSTED_TYPES_POLICY, v = O.createHTML("");
647
647
  } else
648
648
  O === void 0 && (O = Il(F, a)), O !== null && typeof v == "string" && (v = O.createHTML(""));
649
- Ee && Ee(l), vt = l;
649
+ Me && Me(l), vt = l;
650
650
  }
651
651
  }, vi = z({}, [...Dn, ...$n, ...gl]), bi = z({}, [...Vn, ...yl]), Lo = function(l) {
652
652
  let S = T(l);
@@ -747,8 +747,8 @@ function za() {
747
747
  const te = T(l) || l.parentNode, be = N(l) || l.childNodes;
748
748
  if (be && te) {
749
749
  const pe = be.length;
750
- for (let Ae = pe - 1; Ae >= 0; --Ae) {
751
- const He = h(be[Ae], !0);
750
+ for (let Ie = pe - 1; Ie >= 0; --Ie) {
751
+ const He = h(be[Ie], !0);
752
752
  He.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(He, I(l));
753
753
  }
754
754
  }
@@ -807,7 +807,7 @@ function za() {
807
807
  for (; te--; ) {
808
808
  const be = S[te], {
809
809
  name: pe,
810
- namespaceURI: Ae,
810
+ namespaceURI: Ie,
811
811
  value: He
812
812
  } = be, Ft = ye(pe), Un = He;
813
813
  let _e = pe === "value" ? Un : fl(Un);
@@ -833,7 +833,7 @@ function za() {
833
833
  bt(pe, l);
834
834
  continue;
835
835
  }
836
- if (O && typeof F == "object" && typeof F.getAttributeType == "function" && !Ae)
836
+ if (O && typeof F == "object" && typeof F.getAttributeType == "function" && !Ie)
837
837
  switch (F.getAttributeType(Ii, Ft)) {
838
838
  case "TrustedHTML": {
839
839
  _e = O.createHTML(_e);
@@ -846,7 +846,7 @@ function za() {
846
846
  }
847
847
  if (_e !== Un)
848
848
  try {
849
- Ae ? l.setAttributeNS(Ae, pe, _e) : l.setAttribute(pe, _e), Rn(l) ? Ve(l) : ji(t.removed);
849
+ Ie ? l.setAttributeNS(Ie, pe, _e) : l.setAttribute(pe, _e), Rn(l) ? Ve(l) : ji(t.removed);
850
850
  } catch {
851
851
  bt(pe, l);
852
852
  }
@@ -898,11 +898,11 @@ function za() {
898
898
  be = S;
899
899
  return (re.shadowroot || re.shadowrootmode) && (be = k.call(i, be, !0)), be;
900
900
  }
901
- let Ae = ot ? S.outerHTML : S.innerHTML;
902
- return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(Ba, S.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
903
- ` + Ae), ft && en([j, q, H], (He) => {
904
- Ae = Ut(Ae, He, " ");
905
- }), O && Wt ? O.createHTML(Ae) : Ae;
901
+ let Ie = ot ? S.outerHTML : S.innerHTML;
902
+ return ot && $["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(Ba, S.ownerDocument.doctype.name) && (Ie = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
903
+ ` + Ie), ft && en([j, q, H], (He) => {
904
+ Ie = Ut(Ie, He, " ");
905
+ }), O && Wt ? O.createHTML(Ie) : Ie;
906
906
  }, t.setConfig = function() {
907
907
  let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
908
908
  kn(P), Mn = !0;
@@ -1232,7 +1232,7 @@ const io = {
1232
1232
  featured: this.fieldFeatured(e),
1233
1233
  required: this.fieldRequired(e)
1234
1234
  };
1235
- return Array.isArray(e.styleClasses) ? Se(e.styleClasses, (i) => n[i] = !0) : st(e.styleClasses) && (n[e.styleClasses] = !0), de(e.type) || (n["field-" + e.type] = !0), n;
1235
+ return Array.isArray(e.styleClasses) ? we(e.styleClasses, (i) => n[i] = !0) : st(e.styleClasses) && (n[e.styleClasses] = !0), de(e.type) || (n["field-" + e.type] = !0), n;
1236
1236
  },
1237
1237
  fieldErrors(e) {
1238
1238
  return this.errors.filter((n) => n.field.fieldName === e.fieldName).map((n) => n.error);
@@ -1468,7 +1468,7 @@ var co = [
1468
1468
  return sn = lt(sn, e);
1469
1469
  }, ma = function(e) {
1470
1470
  return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
1471
- }, Ie = function(e, t) {
1471
+ }, Ce = function(e, t) {
1472
1472
  for (t === void 0 && (t = 2), e = String(e); e.length < t; )
1473
1473
  e = "0" + e;
1474
1474
  return e;
@@ -1477,7 +1477,7 @@ var co = [
1477
1477
  return String(e.getDate());
1478
1478
  },
1479
1479
  DD: function(e) {
1480
- return Ie(e.getDate());
1480
+ return Ce(e.getDate());
1481
1481
  },
1482
1482
  Do: function(e, t) {
1483
1483
  return t.DoFn(e.getDate());
@@ -1486,7 +1486,7 @@ var co = [
1486
1486
  return String(e.getDay());
1487
1487
  },
1488
1488
  dd: function(e) {
1489
- return Ie(e.getDay());
1489
+ return Ce(e.getDay());
1490
1490
  },
1491
1491
  ddd: function(e, t) {
1492
1492
  return t.dayNamesShort[e.getDay()];
@@ -1498,7 +1498,7 @@ var co = [
1498
1498
  return String(e.getMonth() + 1);
1499
1499
  },
1500
1500
  MM: function(e) {
1501
- return Ie(e.getMonth() + 1);
1501
+ return Ce(e.getMonth() + 1);
1502
1502
  },
1503
1503
  MMM: function(e, t) {
1504
1504
  return t.monthNamesShort[e.getMonth()];
@@ -1507,43 +1507,43 @@ var co = [
1507
1507
  return t.monthNames[e.getMonth()];
1508
1508
  },
1509
1509
  YY: function(e) {
1510
- return Ie(String(e.getFullYear()), 4).substr(2);
1510
+ return Ce(String(e.getFullYear()), 4).substr(2);
1511
1511
  },
1512
1512
  YYYY: function(e) {
1513
- return Ie(e.getFullYear(), 4);
1513
+ return Ce(e.getFullYear(), 4);
1514
1514
  },
1515
1515
  h: function(e) {
1516
1516
  return String(e.getHours() % 12 || 12);
1517
1517
  },
1518
1518
  hh: function(e) {
1519
- return Ie(e.getHours() % 12 || 12);
1519
+ return Ce(e.getHours() % 12 || 12);
1520
1520
  },
1521
1521
  H: function(e) {
1522
1522
  return String(e.getHours());
1523
1523
  },
1524
1524
  HH: function(e) {
1525
- return Ie(e.getHours());
1525
+ return Ce(e.getHours());
1526
1526
  },
1527
1527
  m: function(e) {
1528
1528
  return String(e.getMinutes());
1529
1529
  },
1530
1530
  mm: function(e) {
1531
- return Ie(e.getMinutes());
1531
+ return Ce(e.getMinutes());
1532
1532
  },
1533
1533
  s: function(e) {
1534
1534
  return String(e.getSeconds());
1535
1535
  },
1536
1536
  ss: function(e) {
1537
- return Ie(e.getSeconds());
1537
+ return Ce(e.getSeconds());
1538
1538
  },
1539
1539
  S: function(e) {
1540
1540
  return String(Math.round(e.getMilliseconds() / 100));
1541
1541
  },
1542
1542
  SS: function(e) {
1543
- return Ie(Math.round(e.getMilliseconds() / 10), 2);
1543
+ return Ce(Math.round(e.getMilliseconds() / 10), 2);
1544
1544
  },
1545
1545
  SSS: function(e) {
1546
- return Ie(e.getMilliseconds(), 3);
1546
+ return Ce(e.getMilliseconds(), 3);
1547
1547
  },
1548
1548
  a: function(e, t) {
1549
1549
  return e.getHours() < 12 ? t.amPm[0] : t.amPm[1];
@@ -1553,11 +1553,11 @@ var co = [
1553
1553
  },
1554
1554
  ZZ: function(e) {
1555
1555
  var t = e.getTimezoneOffset();
1556
- return (t > 0 ? "-" : "+") + Ie(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1556
+ return (t > 0 ? "-" : "+") + Ce(Math.floor(Math.abs(t) / 60) * 100 + Math.abs(t) % 60, 4);
1557
1557
  },
1558
1558
  Z: function(e) {
1559
1559
  var t = e.getTimezoneOffset();
1560
- return (t > 0 ? "-" : "+") + Ie(Math.floor(Math.abs(t) / 60), 2) + ":" + Ie(Math.abs(t) % 60, 2);
1560
+ return (t > 0 ? "-" : "+") + Ce(Math.floor(Math.abs(t) / 60), 2) + ":" + Ce(Math.abs(t) % 60, 2);
1561
1561
  }
1562
1562
  }, fa = function(e) {
1563
1563
  return +e - 1;
@@ -2110,7 +2110,7 @@ function _a(e) {
2110
2110
  function qn(e, t, n) {
2111
2111
  let i = G(n.context, "schema.attributes", {});
2112
2112
  const a = t.value || "input";
2113
- st(a) && (i = G(i, a) || i), Se(i, (o, s) => {
2113
+ st(a) && (i = G(i, a) || i), we(i, (o, s) => {
2114
2114
  e.setAttribute(s, o);
2115
2115
  });
2116
2116
  }
@@ -2152,9 +2152,9 @@ const $e = {
2152
2152
  let n = [];
2153
2153
  if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
2154
2154
  const a = [];
2155
- Array.isArray(this.schema.validator) ? Se(this.schema.validator, (o) => {
2155
+ Array.isArray(this.schema.validator) ? we(this.schema.validator, (o) => {
2156
2156
  a.push(_a(o).bind(this));
2157
- }) : a.push(_a(this.schema.validator).bind(this)), Se(a, (o) => {
2157
+ }) : a.push(_a(this.schema.validator).bind(this)), we(a, (o) => {
2158
2158
  if (t)
2159
2159
  n.push(o(this.value, this.schema, this.model));
2160
2160
  else {
@@ -2169,7 +2169,7 @@ const $e = {
2169
2169
  }
2170
2170
  const i = (a) => {
2171
2171
  let o = [];
2172
- Se(oo(a), (r) => {
2172
+ we(oo(a), (r) => {
2173
2173
  Array.isArray(r) && r.length > 0 ? o = o.concat(r) : st(r) && o.push(r);
2174
2174
  }), X(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, o, this.schema);
2175
2175
  const s = o.length === 0;
@@ -2395,8 +2395,7 @@ const qc = ["data-testid", "data-testlabel"], Kc = { class: "item-label" }, Bc =
2395
2395
  disabled: { type: Boolean, default: !1 },
2396
2396
  loading: { type: Boolean, default: !1 },
2397
2397
  emptyMessage: { default: "" },
2398
- domId: {},
2399
- error: {}
2398
+ domId: {}
2400
2399
  }, {
2401
2400
  id: { required: !0 },
2402
2401
  idModifiers: {}
@@ -2414,9 +2413,7 @@ const qc = ["data-testid", "data-testlabel"], Kc = { class: "item-label" }, Bc =
2414
2413
  clearable: "",
2415
2414
  disabled: e.disabled,
2416
2415
  "enable-filtering": "",
2417
- error: e.error !== null,
2418
2416
  "filter-function": () => !0,
2419
- help: e.error !== null ? e.error : void 0,
2420
2417
  items: e.suggestions,
2421
2418
  loading: e.loading,
2422
2419
  placeholder: e.placeholder,
@@ -2452,10 +2449,10 @@ const qc = ["data-testid", "data-testlabel"], Kc = { class: "item-label" }, Bc =
2452
2449
  ]),
2453
2450
  key: "0"
2454
2451
  } : void 0
2455
- ]), 1032, ["id", "modelValue", "disabled", "error", "help", "items", "loading", "placeholder"]);
2452
+ ]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
2456
2453
  };
2457
2454
  }
2458
- }), Hc = /* @__PURE__ */ W(zc, [["__scopeId", "data-v-9f6760b4"]]), Yc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${Yc}$`).test(e) : !1, Gc = (e) => ({
2455
+ }), Hc = /* @__PURE__ */ W(zc, [["__scopeId", "data-v-baeb3bb0"]]), Yc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${Yc}$`).test(e) : !1, Gc = (e) => ({
2459
2456
  ...e,
2460
2457
  label: e.name,
2461
2458
  value: e.id
@@ -2478,7 +2475,6 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2478
2475
  entity: {},
2479
2476
  disabled: { type: Boolean },
2480
2477
  fieldDisabled: { type: Boolean },
2481
- error: {},
2482
2478
  getAll: { type: Function },
2483
2479
  getPartial: { type: Function },
2484
2480
  getOne: { type: Function }
@@ -2546,7 +2542,6 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2546
2542
  disabled: e.fieldDisabled,
2547
2543
  "dom-id": e.domId,
2548
2544
  "empty-message": t.value,
2549
- error: e.error,
2550
2545
  loading: e.selectedItemLoading || n.value,
2551
2546
  placeholder: e.placeholder,
2552
2547
  readonly: e.disabled,
@@ -2569,7 +2564,7 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2569
2564
  ]),
2570
2565
  key: "0"
2571
2566
  } : void 0
2572
- ]), 1032, ["id", "disabled", "dom-id", "empty-message", "error", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
2567
+ ]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
2573
2568
  }
2574
2569
  }), Jc = 1e3, Qc = {
2575
2570
  components: {
@@ -2577,7 +2572,7 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2577
2572
  SearchIcon: zo
2578
2573
  },
2579
2574
  mixins: [$e],
2580
- inject: [Ce],
2575
+ inject: [Se],
2581
2576
  emits: ["model-updated"],
2582
2577
  setup() {
2583
2578
  const { t: e } = ke("en-us", Re);
@@ -2593,7 +2588,6 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2593
2588
  suggestions: [],
2594
2589
  idValue: "",
2595
2590
  message: "Type something to search",
2596
- error: null,
2597
2591
  items: [],
2598
2592
  initialItem: null,
2599
2593
  selectedItem: null,
@@ -2635,15 +2629,14 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2635
2629
  async created() {
2636
2630
  await this.$nextTick();
2637
2631
  let e, t;
2638
- this.error = null;
2639
2632
  try {
2640
2633
  switch (this.fieldState) {
2641
2634
  case je.UPDATE_ENTITY:
2642
- if (!this[Ce]) {
2635
+ if (!this[Se]) {
2643
2636
  console.warn("[@kong-ui-public/forms] No API service provided");
2644
2637
  break;
2645
2638
  }
2646
- this.loading = !0, t = await this.getOne(this.model[this.schema.model]), e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2639
+ this.loading = !0, t = (await this[Se].getOne(this.entity, this.model[this.schema.model])).data, e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2647
2640
  break;
2648
2641
  case je.CREATE_FROM_ENTITY:
2649
2642
  this.idValue = this.associatedEntity.id;
@@ -2651,30 +2644,20 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2651
2644
  case je.SET_REFERRAL_VALUE:
2652
2645
  this.idValue = this.value;
2653
2646
  }
2654
- e && (this.initialItem = this.transformItem(e), this.selectedItem = this.initialItem);
2647
+ e && (this.initialItem = this.transformItem(e), this.selectedItem = this.initialItem), this.loading = !1;
2655
2648
  } catch (n) {
2656
- this.message = this.t("fields.auto_suggest.error.load_entity", { entity: this.schema.entity }), this.error = n.message || this.message, console.error("err!", n);
2657
- } finally {
2658
- this.loading = !1;
2649
+ this.message = this.t("fields.auto_suggest.error.load_entity", { entity: this.schema.entity }), console.error("err!", n);
2659
2650
  }
2660
2651
  },
2661
2652
  methods: {
2662
2653
  getPartial(e) {
2663
- return this[Ce].peek(this.entity, e);
2654
+ return this[Se].peek(this.entity, e);
2664
2655
  },
2665
2656
  async getAll(e, t) {
2666
2657
  return await this.fetchSuggestions(e, "name", t);
2667
2658
  },
2668
2659
  async getOne(e) {
2669
- if (!this[Ce])
2670
- return console.warn("[@kong-ui-public/forms] No API service provided"), {};
2671
- const t = await this[Ce].getOne(this.entity, e, {
2672
- // Avoid full screen 404 error
2673
- validateStatus: (n) => n >= 200 && n < 300 || n === 404
2674
- });
2675
- if (t.status === 404)
2676
- throw new Error(`Entity of type ${this.entity} with id ${e} not found`);
2677
- return t.data;
2660
+ return this[Se] ? (await this[Se].getOne(this.entity, e)).data : (console.warn("[@kong-ui-public/forms] No API service provided"), {});
2678
2661
  },
2679
2662
  transformItem(e) {
2680
2663
  return {
@@ -2688,9 +2671,9 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2688
2671
  return e.data ? e.data.length > 0 ? e.data[0] : [] : e;
2689
2672
  },
2690
2673
  async fetchUntilLimit(e, t) {
2691
- if (!this[Ce])
2674
+ if (!this[Se])
2692
2675
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2693
- const n = this[Ce].getAllV2, { data: i } = await n(this.entity, {
2676
+ const n = this[Se].getAllV2, { data: i } = await n(this.entity, {
2694
2677
  size: Jc,
2695
2678
  ...e
2696
2679
  }, t);
@@ -2708,7 +2691,7 @@ const Wc = 500, Zc = 50, Xc = /* @__PURE__ */ he({
2708
2691
  this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
2709
2692
  },
2710
2693
  onSelected(e) {
2711
- this.error = null, this.idValue = e && e.id, this.selectedItem = e, this.updateModel(this.getReturnValue(e || {}));
2694
+ this.idValue = e && e.id, this.selectedItem = e, this.updateModel(this.getReturnValue(e || {}));
2712
2695
  },
2713
2696
  getReturnValue(e) {
2714
2697
  var n;
@@ -2731,7 +2714,6 @@ function om(e, t, n, i, a, o) {
2731
2714
  disabled: a.loading,
2732
2715
  "dom-id": e.schema.model,
2733
2716
  entity: o.entity,
2734
- error: a.error,
2735
2717
  "field-disabled": e.schema.disabled,
2736
2718
  fields: o.inputFieldsWithoutId,
2737
2719
  "get-all": o.getAll,
@@ -2762,14 +2744,14 @@ function om(e, t, n, i, a, o) {
2762
2744
  ])
2763
2745
  ]),
2764
2746
  _: 1
2765
- }, 8, ["id", "allow-uuid-search", "disabled", "dom-id", "entity", "error", "field-disabled", "fields", "get-all", "get-one", "get-partial", "initial-item-selected", "placeholder", "selected-item", "selected-item-loading", "transform-item", "onChange"])
2747
+ }, 8, ["id", "allow-uuid-search", "disabled", "dom-id", "entity", "field-disabled", "fields", "get-all", "get-one", "get-partial", "initial-item-selected", "placeholder", "selected-item", "selected-item-loading", "transform-item", "onChange"])
2766
2748
  ]),
2767
2749
  _: 1
2768
2750
  }, 8, ["text"]);
2769
2751
  }
2770
- const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-9b96a776"]]), Kn = 50, rm = {
2752
+ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-94561d0b"]]), Kn = 50, rm = {
2771
2753
  mixins: [$e],
2772
- inject: [Ce],
2754
+ inject: [Se],
2773
2755
  emits: ["model-updated"],
2774
2756
  setup() {
2775
2757
  const { t: e } = ke("en-us", Re);
@@ -2809,11 +2791,11 @@ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-9b96a776
2809
2791
  let e, t;
2810
2792
  switch (this.fieldState) {
2811
2793
  case je.UPDATE_ENTITY:
2812
- if (!this[Ce]) {
2794
+ if (!this[Se]) {
2813
2795
  console.warn("[@kong-ui-public/forms] No API service provided");
2814
2796
  break;
2815
2797
  }
2816
- t = (await this[Ce].getOne(this.entity, this.model[this.schema.model])).data, e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2798
+ t = (await this[Se].getOne(this.entity, this.model[this.schema.model])).data, e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2817
2799
  break;
2818
2800
  case je.CREATE_FROM_ENTITY:
2819
2801
  this.idValue = this.associatedEntity.id;
@@ -2854,10 +2836,10 @@ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-9b96a776
2854
2836
  async fetchUntilLimit(e) {
2855
2837
  const t = [];
2856
2838
  let n = null;
2857
- if (!this[Ce])
2839
+ if (!this[Se])
2858
2840
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2859
2841
  for (; t.length < Kn; ) {
2860
- const i = await this[Ce].getAll(this.entity, {
2842
+ const i = await this[Se].getAll(this.entity, {
2861
2843
  size: Kn,
2862
2844
  offset: n,
2863
2845
  ...e
@@ -2870,7 +2852,7 @@ const bo = /* @__PURE__ */ W(Qc, [["render", om], ["__scopeId", "data-v-9b96a776
2870
2852
  return this.fetchUntilLimit({ [t]: e });
2871
2853
  },
2872
2854
  async fetchExact(e) {
2873
- return this[Ce] ? (await this[Ce].getOne(this.entity, e)).data : (console.warn("[@kong-ui-public/forms] No API service provided"), {});
2855
+ return this[Se] ? (await this[Se].getOne(this.entity, e)).data : (console.warn("[@kong-ui-public/forms] No API service provided"), {});
2874
2856
  },
2875
2857
  getInputFields() {
2876
2858
  var e, t;
@@ -2959,9 +2941,9 @@ function cm(e) {
2959
2941
  let I = [];
2960
2942
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2961
2943
  const O = [], v = (T = e.schema) == null ? void 0 : T.validator;
2962
- v && (Array.isArray(v) ? Se(v, (y) => {
2944
+ v && (Array.isArray(v) ? we(v, (y) => {
2963
2945
  O.push(i(y));
2964
- }) : O.push(i(v))), X(e.externalValidator) && O.push(e.externalValidator), Se(O, (y) => {
2946
+ }) : O.push(i(v))), X(e.externalValidator) && O.push(e.externalValidator), we(O, (y) => {
2965
2947
  var g, V;
2966
2948
  if (M)
2967
2949
  I.push(y(a.value, e.schema, (g = e.model) == null ? void 0 : g.value));
@@ -2978,7 +2960,7 @@ function cm(e) {
2978
2960
  const N = (O) => {
2979
2961
  var y, g;
2980
2962
  let v = [];
2981
- if (Se(oo(O), (V) => {
2963
+ if (we(oo(O), (V) => {
2982
2964
  Array.isArray(V) && V.length > 0 ? v = v.concat(V) : st(V) && v.push(V);
2983
2965
  }), X((y = e.schema) == null ? void 0 : y.onValidated) && e.schema.onValidated((g = e.model) == null ? void 0 : g.value, v, e.schema), !h) {
2984
2966
  const V = v.length === 0;
@@ -3309,7 +3291,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3309
3291
  setup(e) {
3310
3292
  return (t, n) => {
3311
3293
  const i = Aa("attributes");
3312
- return we((c(), _("div", bm, [
3294
+ return Ee((c(), _("div", bm, [
3313
3295
  t.schema.schema ? (c(), U(ue, {
3314
3296
  key: 0,
3315
3297
  model: t.value,
@@ -3324,7 +3306,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3324
3306
  (c(!0), _(Y, null, oe(t.value, (a, o) => (c(), _("tr", { key: o }, [
3325
3307
  m("td", null, L(o), 1),
3326
3308
  t.keyTypes[o] === "string" ? (c(), _("td", Sm, [
3327
- we(m("input", {
3309
+ Ee(m("input", {
3328
3310
  "onUpdate:modelValue": (s) => t.value[o] = s,
3329
3311
  type: "text"
3330
3312
  }, null, 8, wm), [
@@ -3332,7 +3314,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3332
3314
  ])
3333
3315
  ])) : K("", !0),
3334
3316
  t.keyTypes[o] === "boolean" ? (c(), _("td", Em, [
3335
- we(m("input", {
3317
+ Ee(m("input", {
3336
3318
  "onUpdate:modelValue": (s) => t.value[o] = s,
3337
3319
  type: "checkbox"
3338
3320
  }, null, 8, Mm), [
@@ -3340,7 +3322,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3340
3322
  ])
3341
3323
  ])) : K("", !0),
3342
3324
  t.keyTypes[o] === "number" ? (c(), _("td", Am, [
3343
- we(m("input", {
3325
+ Ee(m("input", {
3344
3326
  "onUpdate:modelValue": (s) => t.value[o] = s,
3345
3327
  type: "number"
3346
3328
  }, null, 8, Im), [
@@ -3356,7 +3338,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3356
3338
  ])
3357
3339
  ]))), 128))
3358
3340
  ], 10, Tm),
3359
- we(m("select", {
3341
+ Ee(m("select", {
3360
3342
  "onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
3361
3343
  }, [...n[3] || (n[3] = [
3362
3344
  m("option", { value: "string" }, " String ", -1),
@@ -3365,7 +3347,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3365
3347
  ])], 512), [
3366
3348
  [Vo, t.newKeyType]
3367
3349
  ]),
3368
- we(m("input", {
3350
+ Ee(m("input", {
3369
3351
  "onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
3370
3352
  type: "text"
3371
3353
  }, null, 512), [
@@ -3528,7 +3510,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3528
3510
  onModelUpdated: t.updateModel
3529
3511
  }, null, 8, ["model", "schema", "onModelUpdated"])
3530
3512
  ])) : (c(), _("div", Pm, [
3531
- we(m("input", {
3513
+ Ee(m("input", {
3532
3514
  "onUpdate:modelValue": (s) => t.value[o] = s,
3533
3515
  class: "form-control",
3534
3516
  placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
@@ -3552,7 +3534,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
3552
3534
  class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
3553
3535
  }, [
3554
3536
  m("div", Vm, [
3555
- we(m("input", {
3537
+ Ee(m("input", {
3556
3538
  "onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
3557
3539
  class: "form-control",
3558
3540
  "data-testid": "keyname-input",
@@ -3900,7 +3882,7 @@ function Xm(e, t, n, i, a, o) {
3900
3882
  onInput: (b) => {
3901
3883
  o.handleInput(b, p);
3902
3884
  }
3903
- }), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : we((c(), _("input", et({
3885
+ }), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Ee((c(), _("input", et({
3904
3886
  key: 2,
3905
3887
  "onUpdate:modelValue": (b) => e.value[p] = b,
3906
3888
  "aria-labelledby": e.getLabelId(e.schema)
@@ -3913,7 +3895,7 @@ function Xm(e, t, n, i, a, o) {
3913
3895
  }),
3914
3896
  _: 2
3915
3897
  }, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (c(), _(Y, { key: 3 }, [
3916
- we(m("input", et({ ref_for: !0 }, e.schema.inputAttributes, {
3898
+ Ee(m("input", et({ ref_for: !0 }, e.schema.inputAttributes, {
3917
3899
  "onUpdate:modelValue": (f) => e.value[p] = f,
3918
3900
  "aria-labelledby": e.getLabelId(e.schema),
3919
3901
  type: "text"
@@ -4013,7 +3995,7 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-d6740b2b
4013
3995
  }), tf = /* @__PURE__ */ W(ef, [["__scopeId", "data-v-6b4ee1cd"]]), nf = { class: "wrapper" }, af = ["disabled"], of = ["id", "checked", "disabled", "onChange", "name"], rf = ["disabled"], sf = { class: "info" }, lf = { class: "dropList" }, df = ["id", "checked", "disabled", "onChange", "name"];
4014
3996
  function uf(e, t, n, i, a, o) {
4015
3997
  const s = Aa("attributes");
4016
- return we((c(), _("div", nf, [
3998
+ return Ee((c(), _("div", nf, [
4017
3999
  e.schema.listBox ? (c(), _("div", {
4018
4000
  key: 0,
4019
4001
  class: "listbox form-control",
@@ -4023,7 +4005,7 @@ function uf(e, t, n, i, a, o) {
4023
4005
  class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
4024
4006
  }, [
4025
4007
  m("label", null, [
4026
- we(m("input", {
4008
+ Ee(m("input", {
4027
4009
  id: e.getFieldID(e.schema, !0),
4028
4010
  type: "checkbox",
4029
4011
  checked: o.isItemChecked(r) || null,
@@ -4054,7 +4036,7 @@ function uf(e, t, n, i, a, o) {
4054
4036
  class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
4055
4037
  }, [
4056
4038
  m("label", null, [
4057
- we(m("input", {
4039
+ Ee(m("input", {
4058
4040
  id: e.getFieldID(e.schema, !0),
4059
4041
  type: "checkbox",
4060
4042
  checked: o.isItemChecked(r) || null,
@@ -4442,7 +4424,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4442
4424
  m("label", {
4443
4425
  class: ee(["k-label", `${a.label}-check`])
4444
4426
  }, [
4445
- we(m("input", {
4427
+ Ee(m("input", {
4446
4428
  "onUpdate:modelValue": i[0] || (i[0] = (s) => n.checkedGroup = s),
4447
4429
  class: "k-input",
4448
4430
  disabled: n.$props.disabled,
@@ -4464,7 +4446,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
4464
4446
  key: o,
4465
4447
  class: "option-group"
4466
4448
  }, [
4467
- n.renderedTrack[o] ? we((c(), _("div", Of, [
4449
+ n.renderedTrack[o] ? Ee((c(), _("div", Of, [
4468
4450
  m("div", Ff, [
4469
4451
  C(ue, {
4470
4452
  model: n.model,
@@ -5363,13 +5345,13 @@ const Zf = (e) => {
5363
5345
  computed: {
5364
5346
  fields() {
5365
5347
  const e = [];
5366
- return this.schema && this.schema.fields && Se(this.schema.fields, (t) => {
5348
+ return this.schema && this.schema.fields && we(this.schema.fields, (t) => {
5367
5349
  (!this.multiple || t.multi === !0) && e.push(t);
5368
5350
  }), e;
5369
5351
  },
5370
5352
  groups() {
5371
5353
  const e = [];
5372
- return this.schema && this.schema.groups && Se(this.schema.groups.slice(0), (t) => {
5354
+ return this.schema && this.schema.groups && we(this.schema.groups.slice(0), (t) => {
5373
5355
  e.push(t);
5374
5356
  }), e;
5375
5357
  }
@@ -5397,7 +5379,7 @@ const Zf = (e) => {
5397
5379
  },
5398
5380
  // Child field executed validation
5399
5381
  onFieldValidated(e, t, n) {
5400
- this.errors = this.errors.filter((a) => a.field.fieldName !== n.schema.fieldName), !e && t && t.length > 0 && Se(t, (a) => {
5382
+ this.errors = this.errors.filter((a) => a.field.fieldName !== n.schema.fieldName), !e && t && t.length > 0 && we(t, (a) => {
5401
5383
  this.errors.push({
5402
5384
  field: n.schema,
5403
5385
  error: a
@@ -5419,13 +5401,13 @@ const Zf = (e) => {
5419
5401
  validate(e = null) {
5420
5402
  e === null && (e = G(this.options, "validateAsync", !1)), this.clearValidationErrors();
5421
5403
  const t = [], n = [];
5422
- Se(this.$refs.children, (a) => {
5404
+ we(this.$refs.children, (a) => {
5423
5405
  X(a.validate) && (t.push(a.$refs.child), n.push(a.$refs.child.validate(!0)));
5424
5406
  });
5425
5407
  const i = (a) => {
5426
5408
  const o = [];
5427
- Se(a, (r, d) => {
5428
- Array.isArray(r) && r.length > 0 && Se(r, (u) => {
5409
+ we(a, (r, d) => {
5410
+ Array.isArray(r) && r.length > 0 && we(r, (u) => {
5429
5411
  o.push({
5430
5412
  field: t[d].schema,
5431
5413
  error: u
@@ -5439,7 +5421,7 @@ const Zf = (e) => {
5439
5421
  },
5440
5422
  // Clear validation errors
5441
5423
  clearValidationErrors() {
5442
- this.errors.splice(0), Se(this.$refs.children, (e) => {
5424
+ this.errors.splice(0), we(this.$refs.children, (e) => {
5443
5425
  e.clearValidationErrors();
5444
5426
  });
5445
5427
  }
@@ -6817,7 +6799,7 @@ export {
6817
6799
  Mt as AUTOFILL_SLOT_NAME,
6818
6800
  rl as EMPTY_VALUE_PLACEHOLDER,
6819
6801
  je as FIELD_STATES,
6820
- Ce as FORMS_API_KEY,
6802
+ Se as FORMS_API_KEY,
6821
6803
  al as FORMS_CONFIG,
6822
6804
  un as PartialType,
6823
6805
  ol as REDIS_PARTIAL_FETCHER_KEY,