@kong-ui-public/forms 4.17.6-pr.2490.fb976ae39.0 → 4.17.7-pr.2502.847a8cd63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as
|
|
1
|
+
import { createElementBlock as _, openBlock as c, createElementVNode as m, toDisplayString as N, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, createBlock as U, resolveDynamicComponent as me, Fragment as Y, renderList as oe, mergeModels as Oi, useModel as Po, createSlots as cn, ref as ae, onMounted as Xn, watch as mn, computed as z, toRefs as ut, inject as an, onBeforeMount as Jn, mergeProps as et, Transition as Do, createCommentVNode as B, resolveDirective as Aa, withDirectives as Ee, vModelText as $t, vModelCheckbox as $o, vModelSelect as Vo, vModelDynamic as Ia, isRef as Et, toRef as jo, vModelRadio as qo, vShow as Ko, normalizeProps as Bo, guardReactiveProps as zo, useSlots as fn, nextTick as Fi } from "vue";
|
|
2
2
|
import { createI18n as ke } from "@kong-ui-public/i18n";
|
|
3
3
|
import { TrashIcon as xt, SearchIcon as xo, AddIcon as Qn, RemoveIcon as Ho } from "@kong/icons";
|
|
4
4
|
import { isAxiosError as Yo } from "axios";
|
|
@@ -58,33 +58,33 @@ var ka = Object.prototype, cr = ka.hasOwnProperty, mr = ka.propertyIsEnumerable,
|
|
|
58
58
|
function hr() {
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
|
-
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module, pr = Ui && Ui.exports === Ra,
|
|
62
|
-
function
|
|
61
|
+
var Ra = typeof exports == "object" && exports && !exports.nodeType && exports, Ui = Ra && typeof module == "object" && module && !module.nodeType && module, pr = Ui && Ui.exports === Ra, Ni = pr ? Pe.Buffer : void 0, gr = Ni ? Ni.isBuffer : void 0, Ua = gr || hr, yr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
|
|
62
|
+
function Na(e, t) {
|
|
63
63
|
var n = typeof e;
|
|
64
64
|
return t = t ?? yr, !!t && (n == "number" || n != "symbol" && vr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
65
65
|
}
|
|
66
66
|
var br = 9007199254740991;
|
|
67
|
-
function
|
|
67
|
+
function La(e) {
|
|
68
68
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
|
|
69
69
|
}
|
|
70
|
-
var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]",
|
|
71
|
-
Q[
|
|
72
|
-
Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[
|
|
70
|
+
var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]", Nr = "[object DataView]", Lr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Kr = "[object Uint16Array]", Br = "[object Uint32Array]", Q = {};
|
|
71
|
+
Q[Lr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = !0;
|
|
72
|
+
Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[Nr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = !1;
|
|
73
73
|
function zr(e) {
|
|
74
|
-
return it(e) &&
|
|
74
|
+
return it(e) && La(e.length) && !!Q[nt(e)];
|
|
75
75
|
}
|
|
76
76
|
function ei(e) {
|
|
77
77
|
return function(t) {
|
|
78
78
|
return e(t);
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, xr = Vt && Vt.exports === Pa,
|
|
81
|
+
var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, Vt = Pa && typeof module == "object" && module && !module.nodeType && module, xr = Vt && Vt.exports === Pa, Nn = xr && Oa.process, St = function() {
|
|
82
82
|
try {
|
|
83
83
|
var e = Vt && Vt.require && Vt.require("util").types;
|
|
84
|
-
return e ||
|
|
84
|
+
return e || Nn && Nn.binding && Nn.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(),
|
|
87
|
+
}(), Li = St && St.isTypedArray, Hr = Li ? ei(Li) : zr, Yr = Object.prototype, Gr = Yr.hasOwnProperty;
|
|
88
88
|
function Da(e, t) {
|
|
89
89
|
var n = at(e), i = !n && fr(e), a = !n && !i && Ua(e), o = !n && !i && !a && Hr(e), s = n || i || a || o, r = s ? er(e.length, String) : [], d = r.length;
|
|
90
90
|
for (var u in e)
|
|
@@ -92,7 +92,7 @@ function Da(e, t) {
|
|
|
92
92
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
93
93
|
a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
94
94
|
o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
95
|
-
|
|
95
|
+
Na(u, d))) && r.push(u);
|
|
96
96
|
return r;
|
|
97
97
|
}
|
|
98
98
|
var Wr = Object.prototype;
|
|
@@ -126,7 +126,7 @@ function X(e) {
|
|
|
126
126
|
return t == ts || t == ns || t == es || t == is;
|
|
127
127
|
}
|
|
128
128
|
function hn(e) {
|
|
129
|
-
return e != null &&
|
|
129
|
+
return e != null && La(e.length) && !X(e);
|
|
130
130
|
}
|
|
131
131
|
function pn(e) {
|
|
132
132
|
return hn(e) ? Da(e) : Qr(e);
|
|
@@ -167,8 +167,8 @@ function cs(e, t) {
|
|
|
167
167
|
var n = typeof e;
|
|
168
168
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || gn(e) ? !0 : us.test(e) || !ds.test(e) || t != null && e in Object(t);
|
|
169
169
|
}
|
|
170
|
-
var
|
|
171
|
-
var e = /[^.]+$/.exec(
|
|
170
|
+
var Ln = Pe["__core-js_shared__"], Pi = function() {
|
|
171
|
+
var e = /[^.]+$/.exec(Ln && Ln.keys && Ln.keys.IE_PROTO || "");
|
|
172
172
|
return e ? "Symbol(src)_1." + e : "";
|
|
173
173
|
}();
|
|
174
174
|
function ms(e) {
|
|
@@ -227,7 +227,7 @@ function Rs(e) {
|
|
|
227
227
|
return Kt ? t[e] !== void 0 : ks.call(t, e);
|
|
228
228
|
}
|
|
229
229
|
var Us = "__lodash_hash_undefined__";
|
|
230
|
-
function
|
|
230
|
+
function Ns(e, t) {
|
|
231
231
|
var n = this.__data__;
|
|
232
232
|
return this.size += this.has(e) ? 0 : 1, n[e] = Kt && t === void 0 ? Us : t, this;
|
|
233
233
|
}
|
|
@@ -242,8 +242,8 @@ rt.prototype.clear = Es;
|
|
|
242
242
|
rt.prototype.delete = Ms;
|
|
243
243
|
rt.prototype.get = Os;
|
|
244
244
|
rt.prototype.has = Rs;
|
|
245
|
-
rt.prototype.set =
|
|
246
|
-
function
|
|
245
|
+
rt.prototype.set = Ns;
|
|
246
|
+
function Ls() {
|
|
247
247
|
this.__data__ = [], this.size = 0;
|
|
248
248
|
}
|
|
249
249
|
function yn(e, t) {
|
|
@@ -281,7 +281,7 @@ function Ze(e) {
|
|
|
281
281
|
this.set(i[0], i[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
Ze.prototype.clear =
|
|
284
|
+
Ze.prototype.clear = Ls;
|
|
285
285
|
Ze.prototype.delete = $s;
|
|
286
286
|
Ze.prototype.get = Vs;
|
|
287
287
|
Ze.prototype.has = js;
|
|
@@ -396,7 +396,7 @@ function G(e, t, n) {
|
|
|
396
396
|
function de(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key",
|
|
399
|
+
const Se = "kong-ui-forms-api", al = "kong-ui-forms-config", ol = "redis-partial-list-fetcher-key", yp = "redis-partial-info", Mt = "autofill", Ne = "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",
|
|
@@ -412,7 +412,7 @@ const {
|
|
|
412
412
|
} = Object;
|
|
413
413
|
let {
|
|
414
414
|
freeze: Me,
|
|
415
|
-
seal:
|
|
415
|
+
seal: Le,
|
|
416
416
|
create: Ka
|
|
417
417
|
} = Object, {
|
|
418
418
|
apply: zn,
|
|
@@ -421,7 +421,7 @@ let {
|
|
|
421
421
|
Me || (Me = function(t) {
|
|
422
422
|
return t;
|
|
423
423
|
});
|
|
424
|
-
|
|
424
|
+
Le || (Le = function(t) {
|
|
425
425
|
return t;
|
|
426
426
|
});
|
|
427
427
|
zn || (zn = function(t, n, i) {
|
|
@@ -430,7 +430,7 @@ zn || (zn = function(t, n, i) {
|
|
|
430
430
|
xn || (xn = function(t, n) {
|
|
431
431
|
return new t(...n);
|
|
432
432
|
});
|
|
433
|
-
const en = Ae(Array.prototype.forEach), dl = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), ul = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), cl = Ae(String.prototype.indexOf), ml = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test),
|
|
433
|
+
const en = Ae(Array.prototype.forEach), dl = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), ul = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), cl = Ae(String.prototype.indexOf), ml = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Nt = fl(TypeError);
|
|
434
434
|
function Ae(e) {
|
|
435
435
|
return function(t) {
|
|
436
436
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -471,7 +471,7 @@ function Ye(e) {
|
|
|
471
471
|
De(e, n) && (Array.isArray(i) ? t[n] = hl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
|
|
472
472
|
return t;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Lt(e, t) {
|
|
475
475
|
for (; e !== null; ) {
|
|
476
476
|
const i = ll(e, t);
|
|
477
477
|
if (i) {
|
|
@@ -487,13 +487,13 @@ function Nt(e, t) {
|
|
|
487
487
|
}
|
|
488
488
|
return n;
|
|
489
489
|
}
|
|
490
|
-
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), pl = 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"]), gl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), yl =
|
|
490
|
+
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), pl = 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"]), gl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), yl = Le(/\{\{[\w\W]*|[\w\W]*\}\}/gm), vl = Le(/<%[\w\W]*|[\w\W]*%>/gm), bl = Le(/\$\{[\w\W]*/gm), _l = Le(/^data-[\-\w.\u00B7-\uFFFF]+$/), Tl = Le(/^aria-[\-\w]+$/), Ba = Le(
|
|
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
|
-
), Sl =
|
|
493
|
+
), Sl = Le(/^(?:\w+script|data):/i), wl = Le(
|
|
494
494
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
495
495
|
// eslint-disable-line no-control-regex
|
|
496
|
-
), za =
|
|
496
|
+
), za = Le(/^html$/i), El = Le(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
497
497
|
var Hi = /* @__PURE__ */ Object.freeze({
|
|
498
498
|
__proto__: null,
|
|
499
499
|
ARIA_ATTR: Tl,
|
|
@@ -566,7 +566,7 @@ function xa() {
|
|
|
566
566
|
HTMLFormElement: f,
|
|
567
567
|
DOMParser: b,
|
|
568
568
|
trustedTypes: k
|
|
569
|
-
} = e, q = d.prototype, h =
|
|
569
|
+
} = e, q = d.prototype, h = Lt(q, "cloneNode"), A = Lt(q, "remove"), C = Lt(q, "nextSibling"), L = Lt(q, "childNodes"), T = Lt(q, "parentNode");
|
|
570
570
|
if (typeof s == "function") {
|
|
571
571
|
const P = n.createElement("template");
|
|
572
572
|
P.content && P.content.ownerDocument && (n = P.content.ownerDocument);
|
|
@@ -640,15 +640,15 @@ function xa() {
|
|
|
640
640
|
if ((!l || typeof l != "object") && (l = {}), l = Ye(l), Ot = // eslint-disable-next-line unicorn/prefer-includes
|
|
641
641
|
ko.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ro : l.PARSER_MEDIA_TYPE, ye = Ot === "application/xhtml+xml" ? Pn : nn, $ = De(l, "ALLOWED_TAGS") ? x({}, l.ALLOWED_TAGS, ye) : ne, re = De(l, "ALLOWED_ATTR") ? x({}, l.ALLOWED_ATTR, ye) : si, Fn = De(l, "ALLOWED_NAMESPACES") ? x({}, l.ALLOWED_NAMESPACES, Pn) : Oo, Cn = De(l, "ADD_URI_SAFE_ATTR") ? x(Ye(gi), l.ADD_URI_SAFE_ATTR, ye) : gi, hi = De(l, "ADD_DATA_URI_TAGS") ? x(Ye(pi), l.ADD_DATA_URI_TAGS, ye) : pi, gt = De(l, "FORBID_CONTENTS") ? x({}, l.FORBID_CONTENTS, ye) : fi, It = De(l, "FORBID_TAGS") ? x({}, l.FORBID_TAGS, ye) : Ye({}), wn = De(l, "FORBID_ATTR") ? x({}, l.FORBID_ATTR, ye) : Ye({}), pt = De(l, "USE_PROFILES") ? l.USE_PROFILES : !1, li = l.ALLOW_ARIA_ATTR !== !1, En = l.ALLOW_DATA_ATTR !== !1, di = l.ALLOW_UNKNOWN_PROTOCOLS || !1, ui = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ft = l.SAFE_FOR_TEMPLATES || !1, Yt = l.SAFE_FOR_XML !== !1, ot = l.WHOLE_DOCUMENT || !1, ht = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, Wt = l.RETURN_TRUSTED_TYPE || !1, An = l.FORCE_BODY || !1, ci = l.SANITIZE_DOM !== !1, mi = l.SANITIZE_NAMED_PROPS || !1, In = l.KEEP_CONTENT !== !1, Ct = l.IN_PLACE || !1, Ht = l.ALLOWED_URI_REGEXP || Ba, yt = l.NAMESPACE || ze, Jt = l.MATHML_TEXT_INTEGRATION_POINTS || Jt, Qt = l.HTML_INTEGRATION_POINTS || Qt, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && yi(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ft && (En = !1), Gt && (ht = !0), pt && ($ = x({}, Bi), re = [], pt.html === !0 && (x($, Ki), x(re, zi)), pt.svg === !0 && (x($, Dn), x(re, jn), x(re, tn)), pt.svgFilters === !0 && (x($, $n), x(re, jn), x(re, tn)), pt.mathMl === !0 && (x($, Vn), x(re, xi), x(re, tn))), l.ADD_TAGS && ($ === ne && ($ = Ye($)), x($, l.ADD_TAGS, ye)), l.ADD_ATTR && (re === si && (re = Ye(re)), x(re, l.ADD_ATTR, ye)), l.ADD_URI_SAFE_ATTR && x(Cn, l.ADD_URI_SAFE_ATTR, ye), l.FORBID_CONTENTS && (gt === fi && (gt = Ye(gt)), x(gt, l.FORBID_CONTENTS, ye)), In && ($["#text"] = !0), ot && x($, ["html", "head", "body"]), $.table && (x($, ["tbody"]), delete It.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
642
642
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
643
|
-
throw
|
|
643
|
+
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
644
644
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
645
|
-
throw
|
|
645
|
+
throw Nt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
646
646
|
F = l.TRUSTED_TYPES_POLICY, y = F.createHTML("");
|
|
647
647
|
} else
|
|
648
648
|
F === void 0 && (F = Al(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
|
|
649
649
|
Me && Me(l), vt = l;
|
|
650
650
|
}
|
|
651
|
-
}, vi = x({}, [...Dn, ...$n, ...pl]), bi = x({}, [...Vn, ...gl]),
|
|
651
|
+
}, vi = x({}, [...Dn, ...$n, ...pl]), bi = x({}, [...Vn, ...gl]), No = function(l) {
|
|
652
652
|
let S = T(l);
|
|
653
653
|
(!S || !S.tagName) && (S = {
|
|
654
654
|
namespaceURI: yt,
|
|
@@ -744,7 +744,7 @@ function xa() {
|
|
|
744
744
|
if (!It[R] && Mi(R) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, R) || se.tagNameCheck instanceof Function && se.tagNameCheck(R)))
|
|
745
745
|
return !1;
|
|
746
746
|
if (In && !gt[R]) {
|
|
747
|
-
const te = T(l) || l.parentNode, be =
|
|
747
|
+
const te = T(l) || l.parentNode, be = L(l) || l.childNodes;
|
|
748
748
|
if (be && te) {
|
|
749
749
|
const pe = be.length;
|
|
750
750
|
for (let Ie = pe - 1; Ie >= 0; --Ie) {
|
|
@@ -755,7 +755,7 @@ function xa() {
|
|
|
755
755
|
}
|
|
756
756
|
return Ve(l), !0;
|
|
757
757
|
}
|
|
758
|
-
return l instanceof d && !
|
|
758
|
+
return l instanceof d && !No(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, K, H], (te) => {
|
|
759
759
|
S = Ut(S, te, " ");
|
|
760
760
|
}), l.textContent !== S && (Rt(t.removed, {
|
|
761
761
|
element: l.cloneNode()
|
|
@@ -852,7 +852,7 @@ function xa() {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
xe(w.afterSanitizeAttributes, l, null);
|
|
855
|
-
},
|
|
855
|
+
}, Lo = function P(l) {
|
|
856
856
|
let S = null;
|
|
857
857
|
const R = Ti(l);
|
|
858
858
|
for (xe(w.beforeSanitizeShadowDOM, l, null); S = R.nextNode(); )
|
|
@@ -864,16 +864,16 @@ function xa() {
|
|
|
864
864
|
if (On = !P, On && (P = "<!-->"), typeof P != "string" && !Si(P))
|
|
865
865
|
if (typeof P.toString == "function") {
|
|
866
866
|
if (P = P.toString(), typeof P != "string")
|
|
867
|
-
throw
|
|
867
|
+
throw Nt("dirty is not a string, aborting");
|
|
868
868
|
} else
|
|
869
|
-
throw
|
|
869
|
+
throw Nt("toString is not a function");
|
|
870
870
|
if (!t.isSupported)
|
|
871
871
|
return P;
|
|
872
872
|
if (Mn || kn(l), t.removed = [], typeof P == "string" && (Ct = !1), Ct) {
|
|
873
873
|
if (P.nodeName) {
|
|
874
874
|
const He = ye(P.nodeName);
|
|
875
875
|
if (!$[He] || It[He])
|
|
876
|
-
throw
|
|
876
|
+
throw Nt("root node is forbidden and cannot be sanitized in-place");
|
|
877
877
|
}
|
|
878
878
|
} else if (P instanceof r)
|
|
879
879
|
S = _i("<!---->"), R = S.ownerDocument.importNode(P, !0), R.nodeType === Pt.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? S = R : S.appendChild(R);
|
|
@@ -887,7 +887,7 @@ function xa() {
|
|
|
887
887
|
S && An && Ve(S.firstChild);
|
|
888
888
|
const pe = Ti(Ct ? P : S);
|
|
889
889
|
for (; te = pe.nextNode(); )
|
|
890
|
-
wi(te), Ai(te), te.content instanceof o &&
|
|
890
|
+
wi(te), Ai(te), te.content instanceof o && Lo(te.content);
|
|
891
891
|
if (Ct)
|
|
892
892
|
return P;
|
|
893
893
|
if (ht) {
|
|
@@ -975,10 +975,10 @@ function Ha(e, t, n) {
|
|
|
975
975
|
writable: !0
|
|
976
976
|
}) : e[t] = n;
|
|
977
977
|
}
|
|
978
|
-
var
|
|
978
|
+
var Nl = Object.prototype, Ll = Nl.hasOwnProperty;
|
|
979
979
|
function Ya(e, t, n) {
|
|
980
980
|
var i = e[t];
|
|
981
|
-
(!(
|
|
981
|
+
(!(Ll.call(e, t) && yn(i, n)) || n === void 0 && !(t in e)) && Ha(e, t, n);
|
|
982
982
|
}
|
|
983
983
|
function _n(e, t, n, i) {
|
|
984
984
|
var a = !n;
|
|
@@ -1160,12 +1160,12 @@ var ra = Object.create, Ud = /* @__PURE__ */ function() {
|
|
|
1160
1160
|
return e.prototype = void 0, n;
|
|
1161
1161
|
};
|
|
1162
1162
|
}();
|
|
1163
|
-
function
|
|
1163
|
+
function Nd(e) {
|
|
1164
1164
|
return typeof e.constructor == "function" && !ti(e) ? Ud(Xa(e)) : {};
|
|
1165
1165
|
}
|
|
1166
|
-
var
|
|
1166
|
+
var Ld = "[object Map]";
|
|
1167
1167
|
function Pd(e) {
|
|
1168
|
-
return it(e) && Ge(e) ==
|
|
1168
|
+
return it(e) && Ge(e) == Ld;
|
|
1169
1169
|
}
|
|
1170
1170
|
var sa = St && St.isMap, Dd = sa ? ei(sa) : Pd, $d = "[object Set]";
|
|
1171
1171
|
function Vd(e) {
|
|
@@ -1189,7 +1189,7 @@ function jt(e, t, n, i, a, o) {
|
|
|
1189
1189
|
if (Ua(e))
|
|
1190
1190
|
return Bl(e, r);
|
|
1191
1191
|
if (f == no || f == eo || b && !a) {
|
|
1192
|
-
if (s = d || b ? {} :
|
|
1192
|
+
if (s = d || b ? {} : Nd(e), !r)
|
|
1193
1193
|
return d ? Zl(e, ql(s, e)) : Gl(e, Pl(s, e));
|
|
1194
1194
|
} else {
|
|
1195
1195
|
if (!J[f])
|
|
@@ -1307,17 +1307,17 @@ function wt(e, t, n) {
|
|
|
1307
1307
|
function C() {
|
|
1308
1308
|
var v = qn();
|
|
1309
1309
|
if (A(v))
|
|
1310
|
-
return
|
|
1310
|
+
return L(v);
|
|
1311
1311
|
r = setTimeout(C, h(v));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function L(v) {
|
|
1314
1314
|
return r = void 0, b && i ? k(v) : (i = a = void 0, s);
|
|
1315
1315
|
}
|
|
1316
1316
|
function T() {
|
|
1317
1317
|
r !== void 0 && clearTimeout(r), u = 0, i = d = a = r = void 0;
|
|
1318
1318
|
}
|
|
1319
1319
|
function F() {
|
|
1320
|
-
return r === void 0 ? s :
|
|
1320
|
+
return r === void 0 ? s : L(qn());
|
|
1321
1321
|
}
|
|
1322
1322
|
function y() {
|
|
1323
1323
|
var v = qn(), g = A(v);
|
|
@@ -1363,11 +1363,11 @@ function Ru(e, t, n) {
|
|
|
1363
1363
|
function Uu(e, t, n) {
|
|
1364
1364
|
return t === t ? Ru(e, t, n) : Fu(e, ku, n);
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function Nu(e, t) {
|
|
1367
1367
|
var n = e == null ? 0 : e.length;
|
|
1368
1368
|
return !!n && Uu(e, t, 0) > -1;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Lu(e, t) {
|
|
1371
1371
|
return e.has(t);
|
|
1372
1372
|
}
|
|
1373
1373
|
function Pu() {
|
|
@@ -1382,12 +1382,12 @@ var Du = 1 / 0, $u = Tt && 1 / ao(new Tt([, -0]))[1] == Du ? function(e) {
|
|
|
1382
1382
|
return new Tt(e);
|
|
1383
1383
|
} : Pu, Vu = 200;
|
|
1384
1384
|
function ju(e, t, n) {
|
|
1385
|
-
var i = -1, a =
|
|
1385
|
+
var i = -1, a = Nu, o = e.length, s = !0, r = [], d = r;
|
|
1386
1386
|
if (o >= Vu) {
|
|
1387
1387
|
var u = $u(e);
|
|
1388
1388
|
if (u)
|
|
1389
1389
|
return ao(u);
|
|
1390
|
-
s = !1, a =
|
|
1390
|
+
s = !1, a = Lu, d = new rn();
|
|
1391
1391
|
} else
|
|
1392
1392
|
d = r;
|
|
1393
1393
|
e:
|
|
@@ -1691,14 +1691,14 @@ function Xu(e, t, n) {
|
|
|
1691
1691
|
var C;
|
|
1692
1692
|
if (a.timezoneOffset == null) {
|
|
1693
1693
|
C = new Date(a.year, a.month, a.day, a.hour, a.minute, a.second, a.millisecond);
|
|
1694
|
-
for (var
|
|
1694
|
+
for (var L = [
|
|
1695
1695
|
["month", "getMonth"],
|
|
1696
1696
|
["day", "getDate"],
|
|
1697
1697
|
["hour", "getHours"],
|
|
1698
1698
|
["minute", "getMinutes"],
|
|
1699
1699
|
["second", "getSeconds"]
|
|
1700
|
-
], b = 0, T =
|
|
1701
|
-
if (d[
|
|
1700
|
+
], b = 0, T = L.length; b < T; b++)
|
|
1701
|
+
if (d[L[b][0]] && a[L[b][0]] !== C[L[b][1]]())
|
|
1702
1702
|
return null;
|
|
1703
1703
|
} else if (C = new Date(Date.UTC(a.year, a.month, a.day, a.hour, a.minute - a.timezoneOffset, a.second, a.millisecond)), a.month > 11 || a.month < 0 || a.day > 31 || a.day < 1 || a.hour > 23 || a.hour < 0 || a.minute > 59 || a.minute < 0 || a.second > 59 || a.second < 0)
|
|
1704
1704
|
return null;
|
|
@@ -1768,7 +1768,7 @@ function lc(e, t, n) {
|
|
|
1768
1768
|
if (!Fe(n))
|
|
1769
1769
|
return !1;
|
|
1770
1770
|
var i = typeof t;
|
|
1771
|
-
return (i == "number" ? hn(n) &&
|
|
1771
|
+
return (i == "number" ? hn(n) && Na(t, n.length) : i == "string" && t in n) ? yn(n[t], e) : !1;
|
|
1772
1772
|
}
|
|
1773
1773
|
var ho = Object.prototype, dc = ho.hasOwnProperty, uc = sc(function(e, t) {
|
|
1774
1774
|
e = Object(e);
|
|
@@ -2225,7 +2225,7 @@ const $e = {
|
|
|
2225
2225
|
return e;
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
|
-
},
|
|
2228
|
+
}, vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2229
2229
|
__proto__: null,
|
|
2230
2230
|
default: $e
|
|
2231
2231
|
}, Symbol.toStringTag, { value: "Module" })), W = (e, t) => {
|
|
@@ -2273,8 +2273,8 @@ const $e = {
|
|
|
2273
2273
|
type: "button",
|
|
2274
2274
|
onClick: n[0] || (n[0] = (...i) => t.handleOpen && t.handleOpen(...i))
|
|
2275
2275
|
}, [
|
|
2276
|
-
m("i", Mc,
|
|
2277
|
-
m("span", null,
|
|
2276
|
+
m("i", Mc, N(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2277
|
+
m("span", null, N(t.titleText), 1)
|
|
2278
2278
|
]),
|
|
2279
2279
|
m("div", {
|
|
2280
2280
|
class: ee(["advanced-field-dropdown", t.openClass])
|
|
@@ -2328,7 +2328,7 @@ const $e = {
|
|
|
2328
2328
|
]);
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
}), po = /* @__PURE__ */ W(Fc, [["__scopeId", "data-v-97302224"]]), kc = { class: "array-item-wrapper" }, Rc = { class: "array-item" }, Uc = { class: "array-item-after" },
|
|
2331
|
+
}), po = /* @__PURE__ */ W(Fc, [["__scopeId", "data-v-97302224"]]), kc = { class: "array-item-wrapper" }, Rc = { class: "array-item" }, Uc = { class: "array-item-after" }, Nc = /* @__PURE__ */ he({
|
|
2332
2332
|
__name: "FieldArrayItem",
|
|
2333
2333
|
props: {
|
|
2334
2334
|
model: {
|
|
@@ -2360,13 +2360,13 @@ const $e = {
|
|
|
2360
2360
|
]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}), go = /* @__PURE__ */ W(
|
|
2363
|
+
}), go = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-51d79db2"]]), Lc = { class: "multi-item-wrapper" }, Pc = /* @__PURE__ */ he({
|
|
2364
2364
|
__name: "FieldArrayMultiItem",
|
|
2365
2365
|
emits: ["remove-item"],
|
|
2366
2366
|
setup(e) {
|
|
2367
2367
|
return (t, n) => {
|
|
2368
2368
|
const i = D("KButton");
|
|
2369
|
-
return c(), _("div",
|
|
2369
|
+
return c(), _("div", Lc, [
|
|
2370
2370
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2371
2371
|
O(i, {
|
|
2372
2372
|
appearance: "danger",
|
|
@@ -2546,16 +2546,16 @@ function Bc(e, t, n, i, a, o) {
|
|
|
2546
2546
|
class: "first-part",
|
|
2547
2547
|
"data-testid": r.id && `${r.id}-0`,
|
|
2548
2548
|
"data-testlabel": r.label
|
|
2549
|
-
},
|
|
2549
|
+
}, N(o.getSuggestionLabel(r).split(" - ")[0]), 9, jc),
|
|
2550
2550
|
(c(!0), _(Y, null, oe(o.getSuggestionLabel(r).split(" - ").slice(1), (d, u) => (c(), _("span", {
|
|
2551
2551
|
key: u,
|
|
2552
2552
|
class: "field-span",
|
|
2553
2553
|
"data-testid": r.id && `${r.id}-${u + 1}` || u + 1
|
|
2554
|
-
},
|
|
2554
|
+
}, N(d), 9, qc))), 128))
|
|
2555
2555
|
]),
|
|
2556
2556
|
empty: M(() => [
|
|
2557
2557
|
m("div", Kc, [
|
|
2558
|
-
m("span", null,
|
|
2558
|
+
m("span", null, N(a.message), 1)
|
|
2559
2559
|
])
|
|
2560
2560
|
]),
|
|
2561
2561
|
_: 1
|
|
@@ -2609,17 +2609,17 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2609
2609
|
class: "item-label",
|
|
2610
2610
|
"data-testid": s.id && `${s.id}-0`,
|
|
2611
2611
|
"data-testlabel": s.label
|
|
2612
|
-
},
|
|
2612
|
+
}, N(s.label), 9, Gc)
|
|
2613
2613
|
], !0)
|
|
2614
2614
|
]),
|
|
2615
2615
|
"selected-item-template": M(({ item: s }) => [
|
|
2616
2616
|
Oe(i.$slots, "selected-item", { item: s }, () => [
|
|
2617
|
-
m("span", Wc,
|
|
2617
|
+
m("span", Wc, N(s.label), 1)
|
|
2618
2618
|
], !0)
|
|
2619
2619
|
]),
|
|
2620
2620
|
empty: M(() => [
|
|
2621
2621
|
m("div", Zc, [
|
|
2622
|
-
m("span", null,
|
|
2622
|
+
m("span", null, N(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
|
|
2623
2623
|
])
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 2
|
|
@@ -2679,7 +2679,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2679
2679
|
}
|
|
2680
2680
|
}, b = wt((y) => {
|
|
2681
2681
|
if (y = y || "", a.value = y, !y.trim() && !i.value) {
|
|
2682
|
-
o.value =
|
|
2682
|
+
o.value = L(r.value);
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
2685
|
u.value && u.value.abort();
|
|
@@ -2699,8 +2699,8 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2699
2699
|
Zn(y) && e.allowUuidSearch ? f(async () => await h(y)) : f(async () => await k(y, v.signal), v.signal);
|
|
2700
2700
|
}, C = (y) => {
|
|
2701
2701
|
let v = [];
|
|
2702
|
-
v =
|
|
2703
|
-
},
|
|
2702
|
+
v = L(r.value), y != null && y.trim() ? o.value = v.filter((g) => e.fields.some((V) => (g[V] || "").includes(y))) : o.value = v;
|
|
2703
|
+
}, L = (y) => e.selectedItem ? y.some((v) => v.value === e.selectedItem.value) ? y : [e.selectedItem, ...y] : y, T = (y) => {
|
|
2704
2704
|
o.value = r.value.filter((v) => v.id === y);
|
|
2705
2705
|
}, F = (y) => {
|
|
2706
2706
|
Zn(y) && e.allowUuidSearch ? T(y) : C(y);
|
|
@@ -2708,9 +2708,9 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2708
2708
|
return Xn(async () => {
|
|
2709
2709
|
await f(q);
|
|
2710
2710
|
const y = mn(() => e.selectedItem, (v) => {
|
|
2711
|
-
v && (o.value =
|
|
2711
|
+
v && (o.value = L(r.value)), y();
|
|
2712
2712
|
});
|
|
2713
|
-
o.value =
|
|
2713
|
+
o.value = L(r.value);
|
|
2714
2714
|
}), (y, v) => (c(), U(Jc, {
|
|
2715
2715
|
id: y.id,
|
|
2716
2716
|
disabled: y.fieldDisabled,
|
|
@@ -2740,7 +2740,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2740
2740
|
} : void 0
|
|
2741
2741
|
]), 1032, ["id", "disabled", "dom-id", "empty-message", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
|
|
2742
2742
|
}
|
|
2743
|
-
}), nm = 1e3, im =
|
|
2743
|
+
}), nm = 1e3, im = {
|
|
2744
2744
|
components: {
|
|
2745
2745
|
FieldScopedEntitySelect: tm,
|
|
2746
2746
|
SearchIcon: xo
|
|
@@ -2753,8 +2753,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2753
2753
|
return {
|
|
2754
2754
|
t: e,
|
|
2755
2755
|
KUI_ICON_SIZE_40: Hc,
|
|
2756
|
-
KUI_COLOR_TEXT_NEUTRAL: zc
|
|
2757
|
-
LABEL_PLACEHOLDER: im
|
|
2756
|
+
KUI_COLOR_TEXT_NEUTRAL: zc
|
|
2758
2757
|
};
|
|
2759
2758
|
},
|
|
2760
2759
|
data() {
|
|
@@ -2836,11 +2835,16 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2836
2835
|
transformItem(e) {
|
|
2837
2836
|
return {
|
|
2838
2837
|
...e,
|
|
2839
|
-
// This field is for select dropdown item first column.
|
|
2840
2838
|
label: this.getSuggestionLabel(e),
|
|
2841
2839
|
value: e.id
|
|
2842
2840
|
};
|
|
2843
2841
|
},
|
|
2842
|
+
dedupeSuggestions(e, t) {
|
|
2843
|
+
const n = [];
|
|
2844
|
+
return e.forEach((i) => {
|
|
2845
|
+
t.has(i.id) || (t.add(i.id), n.push(i));
|
|
2846
|
+
}), n;
|
|
2847
|
+
},
|
|
2844
2848
|
getItem(e) {
|
|
2845
2849
|
return e.data ? e.data.length > 0 ? e.data[0] : [] : e;
|
|
2846
2850
|
},
|
|
@@ -2859,7 +2863,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2859
2863
|
getSuggestionLabel(e) {
|
|
2860
2864
|
var n;
|
|
2861
2865
|
const t = ((n = this.schema) == null ? void 0 : n.labelField) || "id";
|
|
2862
|
-
return t && e ? e[t] : "";
|
|
2866
|
+
return (t && e ? e[t] : "") || "–";
|
|
2863
2867
|
},
|
|
2864
2868
|
updateModel(e) {
|
|
2865
2869
|
this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
|
|
@@ -2873,8 +2877,8 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2873
2877
|
return t ? e[t] : e.id;
|
|
2874
2878
|
}
|
|
2875
2879
|
}
|
|
2876
|
-
},
|
|
2877
|
-
function
|
|
2880
|
+
}, am = { class: "entity-suggestion-item" }, om = { class: "entity-label" }, rm = { class: "entity-id" }, sm = { class: "selected-entity-item" }, lm = { class: "selected-entity-label" };
|
|
2881
|
+
function dm(e, t, n, i, a, o) {
|
|
2878
2882
|
const s = D("SearchIcon"), r = D("FieldScopedEntitySelect");
|
|
2879
2883
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2880
2884
|
class: "field-wrap autosuggest",
|
|
@@ -2907,14 +2911,14 @@ function um(e, t, n, i, a, o) {
|
|
|
2907
2911
|
}, null, 8, ["color", "size"])
|
|
2908
2912
|
]),
|
|
2909
2913
|
item: M(({ item: d }) => [
|
|
2910
|
-
m("div",
|
|
2911
|
-
m("span",
|
|
2912
|
-
m("span",
|
|
2914
|
+
m("div", am, [
|
|
2915
|
+
m("span", om, N(d.label || "–"), 1),
|
|
2916
|
+
m("span", rm, N(d.id), 1)
|
|
2913
2917
|
])
|
|
2914
2918
|
]),
|
|
2915
2919
|
"selected-item": M(({ item: d }) => [
|
|
2916
|
-
m("span",
|
|
2917
|
-
m("span",
|
|
2920
|
+
m("span", sm, [
|
|
2921
|
+
m("span", lm, N(d.label || "–"), 1)
|
|
2918
2922
|
])
|
|
2919
2923
|
]),
|
|
2920
2924
|
_: 1
|
|
@@ -2923,8 +2927,8 @@ function um(e, t, n, i, a, o) {
|
|
|
2923
2927
|
_: 1
|
|
2924
2928
|
}, 8, ["text"]);
|
|
2925
2929
|
}
|
|
2926
|
-
const _o = /* @__PURE__ */ W(
|
|
2927
|
-
function
|
|
2930
|
+
const _o = /* @__PURE__ */ W(im, [["render", dm], ["__scopeId", "data-v-190658fd"]]);
|
|
2931
|
+
function um(e) {
|
|
2928
2932
|
const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = z({
|
|
2929
2933
|
get() {
|
|
2930
2934
|
var A, C;
|
|
@@ -2958,7 +2962,7 @@ function cm(e) {
|
|
|
2958
2962
|
}
|
|
2959
2963
|
});
|
|
2960
2964
|
}
|
|
2961
|
-
const
|
|
2965
|
+
const L = (F) => {
|
|
2962
2966
|
var v, g;
|
|
2963
2967
|
let y = [];
|
|
2964
2968
|
if (we(oo(F), (V) => {
|
|
@@ -2969,30 +2973,30 @@ function cm(e) {
|
|
|
2969
2973
|
}
|
|
2970
2974
|
return F = y, y;
|
|
2971
2975
|
};
|
|
2972
|
-
return A ? Promise.all(C).then(
|
|
2976
|
+
return A ? Promise.all(C).then(L) : L(C);
|
|
2973
2977
|
}, s = () => {
|
|
2974
2978
|
X(n.value) ? n.value() : n.value = wt(
|
|
2975
2979
|
o,
|
|
2976
2980
|
G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 500))
|
|
2977
2981
|
);
|
|
2978
2982
|
}, r = (h, A) => {
|
|
2979
|
-
var
|
|
2983
|
+
var L, T, F;
|
|
2980
2984
|
let C = !1;
|
|
2981
|
-
X(e.schema.set) ? (e.schema.set((
|
|
2985
|
+
X(e.schema.set) ? (e.schema.set((L = e.model) == null ? void 0 : L.value, h), C = !0) : e.schema.model && (u(e.schema.model, h), C = !0), C && (e.emitModelUpdated && ((T = e.model) != null && T.value) && e.emitModelUpdated({ value: h, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((F = e.model) == null ? void 0 : F.value, h, A, e.schema), G(e.formOptions, "validateAfterChanged", !1) === !0 && (G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : o()));
|
|
2982
2986
|
}, d = () => {
|
|
2983
2987
|
t.value.splice(0);
|
|
2984
2988
|
}, u = (h, A) => {
|
|
2985
2989
|
var v;
|
|
2986
2990
|
let C = h.replace(/\[(\w+)\]/g, ".$1");
|
|
2987
2991
|
C = C.replace(/^\./, "");
|
|
2988
|
-
let
|
|
2992
|
+
let L = ((v = e.model) == null ? void 0 : v.value) || {}, T = 0;
|
|
2989
2993
|
const F = C.split("."), y = F.length;
|
|
2990
2994
|
for (; T < y; ) {
|
|
2991
2995
|
const g = F[T];
|
|
2992
2996
|
if (T < y - 1)
|
|
2993
|
-
|
|
2997
|
+
L[g] !== void 0 || (L[g] = {}), L = L[g];
|
|
2994
2998
|
else {
|
|
2995
|
-
|
|
2999
|
+
L[g] = A;
|
|
2996
3000
|
return;
|
|
2997
3001
|
}
|
|
2998
3002
|
++T;
|
|
@@ -3010,7 +3014,7 @@ function cm(e) {
|
|
|
3010
3014
|
updateModelValue: r
|
|
3011
3015
|
};
|
|
3012
3016
|
}
|
|
3013
|
-
function
|
|
3017
|
+
function cm(e) {
|
|
3014
3018
|
const t = [], n = (i) => {
|
|
3015
3019
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3016
3020
|
for (const o of a)
|
|
@@ -3031,7 +3035,7 @@ function mm(e) {
|
|
|
3031
3035
|
redisModels: t.map((i) => i.model)
|
|
3032
3036
|
};
|
|
3033
3037
|
}
|
|
3034
|
-
function
|
|
3038
|
+
function mm(e, t) {
|
|
3035
3039
|
const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
|
|
3036
3040
|
return t.filter((o) => {
|
|
3037
3041
|
const s = o.model.match(n);
|
|
@@ -3047,10 +3051,10 @@ function fm(e, t) {
|
|
|
3047
3051
|
});
|
|
3048
3052
|
}
|
|
3049
3053
|
const qe = {
|
|
3050
|
-
useAbstractFields:
|
|
3051
|
-
useRedisPartial:
|
|
3052
|
-
useRedisNonStandardFields:
|
|
3053
|
-
},
|
|
3054
|
+
useAbstractFields: um,
|
|
3055
|
+
useRedisPartial: cm,
|
|
3056
|
+
useRedisNonStandardFields: mm
|
|
3057
|
+
}, fm = { class: "form-field-wrapper" }, hm = /* @__PURE__ */ he({
|
|
3054
3058
|
__name: "FieldInput",
|
|
3055
3059
|
props: {
|
|
3056
3060
|
disabled: {
|
|
@@ -3090,7 +3094,7 @@ const qe = {
|
|
|
3090
3094
|
},
|
|
3091
3095
|
emits: ["modelUpdated"],
|
|
3092
3096
|
setup(e, { expose: t, emit: n }) {
|
|
3093
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
3097
|
+
const i = e, a = n, o = ut(i), s = an(Ne, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
3094
3098
|
model: o.model,
|
|
3095
3099
|
schema: i.schema,
|
|
3096
3100
|
formOptions: i.formOptions,
|
|
@@ -3134,7 +3138,7 @@ const qe = {
|
|
|
3134
3138
|
p.value = F, r(F, T);
|
|
3135
3139
|
}, A = (T) => {
|
|
3136
3140
|
p.value = T, r(T, T);
|
|
3137
|
-
}, C = ae(null),
|
|
3141
|
+
}, C = ae(null), L = () => {
|
|
3138
3142
|
var T;
|
|
3139
3143
|
X(C.value) && ((T = C.value) == null || T.flush());
|
|
3140
3144
|
};
|
|
@@ -3172,7 +3176,7 @@ const qe = {
|
|
|
3172
3176
|
f.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : f.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : f.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
|
|
3173
3177
|
}), (T, F) => {
|
|
3174
3178
|
const y = D("KInput");
|
|
3175
|
-
return c(), _("div",
|
|
3179
|
+
return c(), _("div", fm, [
|
|
3176
3180
|
O(y, et(T.$attrs, {
|
|
3177
3181
|
id: I(d)(e.schema),
|
|
3178
3182
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3192,7 +3196,7 @@ const qe = {
|
|
|
3192
3196
|
"show-password-mask-toggle": f.value === "password",
|
|
3193
3197
|
type: f.value,
|
|
3194
3198
|
width: e.schema.width,
|
|
3195
|
-
onBlur:
|
|
3199
|
+
onBlur: L,
|
|
3196
3200
|
"onUpdate:modelValue": h
|
|
3197
3201
|
}), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
|
|
3198
3202
|
(c(), U(me(I(s)), {
|
|
@@ -3203,7 +3207,7 @@ const qe = {
|
|
|
3203
3207
|
]);
|
|
3204
3208
|
};
|
|
3205
3209
|
}
|
|
3206
|
-
}), To = /* @__PURE__ */ W(
|
|
3210
|
+
}), To = /* @__PURE__ */ W(hm, [["__scopeId", "data-v-fe1132bb"]]), pm = {
|
|
3207
3211
|
name: "FieldMetric",
|
|
3208
3212
|
components: { AddIcon: Qn, TrashIcon: xt },
|
|
3209
3213
|
mixins: [$e],
|
|
@@ -3213,11 +3217,11 @@ const qe = {
|
|
|
3213
3217
|
contentVisible: !1
|
|
3214
3218
|
};
|
|
3215
3219
|
}
|
|
3216
|
-
},
|
|
3220
|
+
}, gm = {
|
|
3217
3221
|
key: 0,
|
|
3218
3222
|
class: "content"
|
|
3219
3223
|
};
|
|
3220
|
-
function
|
|
3224
|
+
function ym(e, t, n, i, a, o) {
|
|
3221
3225
|
const s = D("AddIcon"), r = D("TrashIcon"), d = D("KButton");
|
|
3222
3226
|
return c(), _("div", {
|
|
3223
3227
|
class: ee(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3226,12 +3230,12 @@ function vm(e, t, n, i, a, o) {
|
|
|
3226
3230
|
class: "title",
|
|
3227
3231
|
onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
|
|
3228
3232
|
}, [
|
|
3229
|
-
ce(
|
|
3233
|
+
ce(N(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3230
3234
|
O(s, { class: "metric-add-icon" })
|
|
3231
3235
|
]),
|
|
3232
3236
|
O(Do, { name: "slide-fade" }, {
|
|
3233
3237
|
default: M(() => [
|
|
3234
|
-
a.contentVisible ? (c(), _("div",
|
|
3238
|
+
a.contentVisible ? (c(), _("div", gm, [
|
|
3235
3239
|
Oe(e.$slots, "default"),
|
|
3236
3240
|
O(d, {
|
|
3237
3241
|
appearance: "tertiary",
|
|
@@ -3249,7 +3253,7 @@ function vm(e, t, n, i, a, o) {
|
|
|
3249
3253
|
})
|
|
3250
3254
|
], 2);
|
|
3251
3255
|
}
|
|
3252
|
-
const So = /* @__PURE__ */ W(
|
|
3256
|
+
const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-container" }, bm = { key: 1 }, _m = ["id"], Tm = { key: 0 }, Sm = ["onUpdate:modelValue"], wm = { key: 1 }, Em = ["onUpdate:modelValue"], Mm = { key: 2 }, Am = ["onUpdate:modelValue"], Im = ["onClick"], Cm = {
|
|
3253
3257
|
mixins: [$e],
|
|
3254
3258
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3255
3259
|
emits: ["modelUpdated"],
|
|
@@ -3287,46 +3291,46 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3287
3291
|
this.$emit("modelUpdated", e, t);
|
|
3288
3292
|
}
|
|
3289
3293
|
}
|
|
3290
|
-
},
|
|
3294
|
+
}, Om = /* @__PURE__ */ Object.assign(Cm, {
|
|
3291
3295
|
__name: "FieldObject",
|
|
3292
3296
|
setup(e) {
|
|
3293
3297
|
return (t, n) => {
|
|
3294
3298
|
const i = Aa("attributes");
|
|
3295
|
-
return Ee((c(), _("div",
|
|
3299
|
+
return Ee((c(), _("div", vm, [
|
|
3296
3300
|
t.schema.schema ? (c(), U(ue, {
|
|
3297
3301
|
key: 0,
|
|
3298
3302
|
model: t.value,
|
|
3299
3303
|
options: t.formOptions,
|
|
3300
3304
|
schema: t.schema.schema,
|
|
3301
3305
|
onModelUpdated: t.updateModel
|
|
3302
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div",
|
|
3306
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div", bm, [
|
|
3303
3307
|
m("table", {
|
|
3304
3308
|
id: t.getFieldID(t.schema),
|
|
3305
3309
|
class: ee(t.schema.fieldClasses)
|
|
3306
3310
|
}, [
|
|
3307
3311
|
(c(!0), _(Y, null, oe(t.value, (a, o) => (c(), _("tr", { key: o }, [
|
|
3308
|
-
m("td", null,
|
|
3309
|
-
t.keyTypes[o] === "string" ? (c(), _("td",
|
|
3312
|
+
m("td", null, N(o), 1),
|
|
3313
|
+
t.keyTypes[o] === "string" ? (c(), _("td", Tm, [
|
|
3310
3314
|
Ee(m("input", {
|
|
3311
3315
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3312
3316
|
type: "text"
|
|
3313
|
-
}, null, 8,
|
|
3317
|
+
}, null, 8, Sm), [
|
|
3314
3318
|
[$t, t.value[o]]
|
|
3315
3319
|
])
|
|
3316
3320
|
])) : B("", !0),
|
|
3317
|
-
t.keyTypes[o] === "boolean" ? (c(), _("td",
|
|
3321
|
+
t.keyTypes[o] === "boolean" ? (c(), _("td", wm, [
|
|
3318
3322
|
Ee(m("input", {
|
|
3319
3323
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3320
3324
|
type: "checkbox"
|
|
3321
|
-
}, null, 8,
|
|
3325
|
+
}, null, 8, Em), [
|
|
3322
3326
|
[$o, t.value[o]]
|
|
3323
3327
|
])
|
|
3324
3328
|
])) : B("", !0),
|
|
3325
|
-
t.keyTypes[o] === "number" ? (c(), _("td",
|
|
3329
|
+
t.keyTypes[o] === "number" ? (c(), _("td", Mm, [
|
|
3326
3330
|
Ee(m("input", {
|
|
3327
3331
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3328
3332
|
type: "number"
|
|
3329
|
-
}, null, 8,
|
|
3333
|
+
}, null, 8, Am), [
|
|
3330
3334
|
[$t, t.value[o]]
|
|
3331
3335
|
])
|
|
3332
3336
|
])) : B("", !0),
|
|
@@ -3335,10 +3339,10 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3335
3339
|
type: "button",
|
|
3336
3340
|
value: "x",
|
|
3337
3341
|
onClick: (s) => t.removeElement(o)
|
|
3338
|
-
}, null, 8,
|
|
3342
|
+
}, null, 8, Im)
|
|
3339
3343
|
])
|
|
3340
3344
|
]))), 128))
|
|
3341
|
-
], 10,
|
|
3345
|
+
], 10, _m),
|
|
3342
3346
|
Ee(m("select", {
|
|
3343
3347
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3344
3348
|
}, n[3] || (n[3] = [
|
|
@@ -3365,18 +3369,18 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3365
3369
|
]);
|
|
3366
3370
|
};
|
|
3367
3371
|
}
|
|
3368
|
-
}), wo = /* @__PURE__ */ W(
|
|
3372
|
+
}), wo = /* @__PURE__ */ W(Om, [["__scopeId", "data-v-4ace4106"]]), Fm = ["id"], km = ["data-testid"], Rm = { class: "item-wrapper" }, Um = { class: "index-wrapper" }, Nm = { key: 0 }, Lm = { key: 1 }, Pm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Dm = {
|
|
3369
3373
|
key: 0,
|
|
3370
3374
|
class: "hint"
|
|
3371
|
-
},
|
|
3375
|
+
}, $m = { class: "input-item" }, Vm = ["placeholder"], jm = {
|
|
3372
3376
|
key: 0,
|
|
3373
3377
|
class: "hint"
|
|
3374
|
-
},
|
|
3378
|
+
}, qm = {
|
|
3375
3379
|
mixins: [$e],
|
|
3376
3380
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3377
3381
|
inject: {
|
|
3378
3382
|
autofillSlot: {
|
|
3379
|
-
from:
|
|
3383
|
+
from: Ne,
|
|
3380
3384
|
default: void 0
|
|
3381
3385
|
}
|
|
3382
3386
|
},
|
|
@@ -3470,7 +3474,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3470
3474
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3471
3475
|
}
|
|
3472
3476
|
}
|
|
3473
|
-
},
|
|
3477
|
+
}, Km = /* @__PURE__ */ Object.assign(qm, {
|
|
3474
3478
|
__name: "FieldObjectAdvanced",
|
|
3475
3479
|
setup(e) {
|
|
3476
3480
|
return (t, n) => {
|
|
@@ -3484,9 +3488,9 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3484
3488
|
"data-testid": `field-object-key-${o}`
|
|
3485
3489
|
}, [
|
|
3486
3490
|
m("div", null, [
|
|
3487
|
-
m("div",
|
|
3488
|
-
m("div",
|
|
3489
|
-
m("strong", null,
|
|
3491
|
+
m("div", Rm, [
|
|
3492
|
+
m("div", Um, [
|
|
3493
|
+
m("strong", null, N(o), 1),
|
|
3490
3494
|
m("div", null, [
|
|
3491
3495
|
O(i, {
|
|
3492
3496
|
appearance: "tertiary",
|
|
@@ -3510,17 +3514,17 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3510
3514
|
schema: t.subSchema,
|
|
3511
3515
|
onModelUpdated: t.updateModel
|
|
3512
3516
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3513
|
-
])) : (c(), _("div",
|
|
3517
|
+
])) : (c(), _("div", Lm, [
|
|
3514
3518
|
Ee(m("input", {
|
|
3515
3519
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3516
3520
|
class: "form-control",
|
|
3517
3521
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3518
3522
|
type: t.valueInputType,
|
|
3519
3523
|
onInput: (s) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3520
|
-
}, null, 40,
|
|
3524
|
+
}, null, 40, Pm), [
|
|
3521
3525
|
[Ia, t.value[o]]
|
|
3522
3526
|
]),
|
|
3523
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p",
|
|
3527
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", Dm, N(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3524
3528
|
(c(), U(me(t.autofillSlot), {
|
|
3525
3529
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3526
3530
|
update: (s) => t.value[o] = s,
|
|
@@ -3530,18 +3534,18 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3530
3534
|
n[2] || (n[2] = m("hr", { class: "wide-divider" }, null, -1))
|
|
3531
3535
|
])
|
|
3532
3536
|
])
|
|
3533
|
-
], 8,
|
|
3537
|
+
], 8, km))), 128)),
|
|
3534
3538
|
m("div", {
|
|
3535
3539
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3536
3540
|
}, [
|
|
3537
|
-
m("div",
|
|
3541
|
+
m("div", $m, [
|
|
3538
3542
|
Ee(m("input", {
|
|
3539
3543
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3540
3544
|
class: "form-control",
|
|
3541
3545
|
"data-testid": "keyname-input",
|
|
3542
3546
|
placeholder: t.schema.placeholder,
|
|
3543
3547
|
type: "text"
|
|
3544
|
-
}, null, 8,
|
|
3548
|
+
}, null, 8, Vm), [
|
|
3545
3549
|
[$t, t.newKeyName]
|
|
3546
3550
|
]),
|
|
3547
3551
|
O(i, {
|
|
@@ -3551,17 +3555,17 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3551
3555
|
onClick: t.addKey
|
|
3552
3556
|
}, {
|
|
3553
3557
|
default: M(() => [
|
|
3554
|
-
ce(" + Add " +
|
|
3558
|
+
ce(" + Add " + N(t.schema.buttonLabel || t.schema.label), 1)
|
|
3555
3559
|
]),
|
|
3556
3560
|
_: 1
|
|
3557
3561
|
}, 8, ["disabled", "onClick"])
|
|
3558
3562
|
]),
|
|
3559
|
-
t.schema.hintText ? (c(), _("p",
|
|
3563
|
+
t.schema.hintText ? (c(), _("p", jm, N(t.schema.hintText), 1)) : B("", !0)
|
|
3560
3564
|
], 2)
|
|
3561
|
-
], 10,
|
|
3565
|
+
], 10, Fm);
|
|
3562
3566
|
};
|
|
3563
3567
|
}
|
|
3564
|
-
}), Eo = /* @__PURE__ */ W(
|
|
3568
|
+
}), Eo = /* @__PURE__ */ W(Km, [["__scopeId", "data-v-41b00aff"]]), Bm = { class: "radio-selection-group" }, zm = /* @__PURE__ */ he({
|
|
3565
3569
|
__name: "FieldRadio",
|
|
3566
3570
|
props: {
|
|
3567
3571
|
disabled: {
|
|
@@ -3618,7 +3622,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3618
3622
|
};
|
|
3619
3623
|
return (p, f) => {
|
|
3620
3624
|
const b = D("KRadio");
|
|
3621
|
-
return c(), _("div",
|
|
3625
|
+
return c(), _("div", Bm, [
|
|
3622
3626
|
(c(!0), _(Y, null, oe(e.schema.values, (k, q) => (c(), U(b, {
|
|
3623
3627
|
id: e.schema.name + "-" + q,
|
|
3624
3628
|
key: k.value,
|
|
@@ -3634,7 +3638,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3634
3638
|
]);
|
|
3635
3639
|
};
|
|
3636
3640
|
}
|
|
3637
|
-
}), Mo = /* @__PURE__ */ W(
|
|
3641
|
+
}), Mo = /* @__PURE__ */ W(zm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
|
|
3638
3642
|
__name: "FieldSelect",
|
|
3639
3643
|
props: {
|
|
3640
3644
|
disabled: {
|
|
@@ -3723,7 +3727,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3723
3727
|
return c(), U(C, {
|
|
3724
3728
|
id: I(d)(e.schema),
|
|
3725
3729
|
modelValue: I(p),
|
|
3726
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
3730
|
+
"onUpdate:modelValue": A[0] || (A[0] = (L) => Et(p) ? p.value = L : null),
|
|
3727
3731
|
class: ee(e.schema.fieldClasses),
|
|
3728
3732
|
clearable: !e.schema.required,
|
|
3729
3733
|
disabled: e.disabled || void 0,
|
|
@@ -3737,7 +3741,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3737
3741
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3738
3742
|
};
|
|
3739
3743
|
}
|
|
3740
|
-
}),
|
|
3744
|
+
}), xm = {
|
|
3741
3745
|
name: "FieldArray",
|
|
3742
3746
|
components: {
|
|
3743
3747
|
FieldArrayItem: go,
|
|
@@ -3755,7 +3759,7 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3755
3759
|
mixins: [$e],
|
|
3756
3760
|
inject: {
|
|
3757
3761
|
autofillSlot: {
|
|
3758
|
-
from:
|
|
3762
|
+
from: Ne,
|
|
3759
3763
|
default: void 0
|
|
3760
3764
|
}
|
|
3761
3765
|
},
|
|
@@ -3803,8 +3807,8 @@ const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-
|
|
|
3803
3807
|
((a = (i = this.schema) == null ? void 0 : i.inputAttributes) == null ? void 0 : a.type) === "number" && dn(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((o, s) => s === t ? n : o);
|
|
3804
3808
|
}
|
|
3805
3809
|
}
|
|
3806
|
-
},
|
|
3807
|
-
function
|
|
3810
|
+
}, Hm = ["id"], Ym = { key: 1 }, Gm = ["onUpdate:modelValue", "aria-labelledby", "type"], Wm = ["onUpdate:modelValue", "aria-labelledby"];
|
|
3811
|
+
function Zm(e, t, n, i, a, o) {
|
|
3808
3812
|
const s = D("KTextArea"), r = D("KInput"), d = D("KButton");
|
|
3809
3813
|
return e.schema ? (c(), _("div", {
|
|
3810
3814
|
key: 0,
|
|
@@ -3831,7 +3835,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3831
3835
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
3832
3836
|
]),
|
|
3833
3837
|
_: 2
|
|
3834
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span",
|
|
3838
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span", Ym, [
|
|
3835
3839
|
(c(), U(me(o.getFieldComponent(e.schema.items)), {
|
|
3836
3840
|
"form-options": e.formOptions,
|
|
3837
3841
|
model: u,
|
|
@@ -3889,7 +3893,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3889
3893
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
3890
3894
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
3891
3895
|
type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
|
|
3892
|
-
}), null, 16,
|
|
3896
|
+
}), null, 16, Gm)), [
|
|
3893
3897
|
[Ia, e.value[p]]
|
|
3894
3898
|
])
|
|
3895
3899
|
];
|
|
@@ -3900,7 +3904,7 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3900
3904
|
"onUpdate:modelValue": (f) => e.value[p] = f,
|
|
3901
3905
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3902
3906
|
type: "text"
|
|
3903
|
-
}), null, 16,
|
|
3907
|
+
}), null, 16, Wm), [
|
|
3904
3908
|
[$t, e.value[p]]
|
|
3905
3909
|
]),
|
|
3906
3910
|
(c(), U(me(o.autofillSlot), {
|
|
@@ -3918,13 +3922,13 @@ function Xm(e, t, n, i, a, o) {
|
|
|
3918
3922
|
onClick: o.newElement
|
|
3919
3923
|
}, {
|
|
3920
3924
|
default: M(() => [
|
|
3921
|
-
ce(
|
|
3925
|
+
ce(N(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
|
|
3922
3926
|
]),
|
|
3923
3927
|
_: 1
|
|
3924
3928
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3925
|
-
], 10,
|
|
3929
|
+
], 10, Hm)) : B("", !0);
|
|
3926
3930
|
}
|
|
3927
|
-
const
|
|
3931
|
+
const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2"]]), Jm = { class: "form-field-wrapper field-checkbox" }, Qm = /* @__PURE__ */ he({
|
|
3928
3932
|
__name: "FieldCheckbox",
|
|
3929
3933
|
props: {
|
|
3930
3934
|
disabled: {
|
|
@@ -3976,7 +3980,7 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2
|
|
|
3976
3980
|
clearValidationErrors: d
|
|
3977
3981
|
}), (u, p) => {
|
|
3978
3982
|
const f = D("KCheckbox");
|
|
3979
|
-
return c(), _("div",
|
|
3983
|
+
return c(), _("div", Jm, [
|
|
3980
3984
|
O(f, et(u.$attrs, {
|
|
3981
3985
|
id: I(s)(e.schema),
|
|
3982
3986
|
modelValue: I(r),
|
|
@@ -3993,10 +3997,10 @@ const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2
|
|
|
3993
3997
|
]);
|
|
3994
3998
|
};
|
|
3995
3999
|
}
|
|
3996
|
-
}),
|
|
3997
|
-
function
|
|
4000
|
+
}), ef = /* @__PURE__ */ W(Qm, [["__scopeId", "data-v-6b4ee1cd"]]), tf = { class: "wrapper" }, nf = ["disabled"], af = ["id", "checked", "disabled", "onChange", "name"], of = ["disabled"], rf = { class: "info" }, sf = { class: "dropList" }, lf = ["id", "checked", "disabled", "onChange", "name"];
|
|
4001
|
+
function df(e, t, n, i, a, o) {
|
|
3998
4002
|
const s = Aa("attributes");
|
|
3999
|
-
return Ee((c(), _("div",
|
|
4003
|
+
return Ee((c(), _("div", tf, [
|
|
4000
4004
|
e.schema.listBox ? (c(), _("div", {
|
|
4001
4005
|
key: 0,
|
|
4002
4006
|
class: "listbox form-control",
|
|
@@ -4013,13 +4017,13 @@ function uf(e, t, n, i, a, o) {
|
|
|
4013
4017
|
disabled: e.disabled || null,
|
|
4014
4018
|
onChange: (d) => o.onChanged(d, r),
|
|
4015
4019
|
name: o.getInputName(r)
|
|
4016
|
-
}, null, 40,
|
|
4020
|
+
}, null, 40, af), [
|
|
4017
4021
|
[s, "input"]
|
|
4018
4022
|
]),
|
|
4019
|
-
ce(
|
|
4023
|
+
ce(N(o.getItemName(r)), 1)
|
|
4020
4024
|
])
|
|
4021
4025
|
], 2))), 256))
|
|
4022
|
-
], 8,
|
|
4026
|
+
], 8, nf)) : B("", !0),
|
|
4023
4027
|
e.schema.listBox ? B("", !0) : (c(), _("div", {
|
|
4024
4028
|
key: 1,
|
|
4025
4029
|
class: "combobox form-control",
|
|
@@ -4029,10 +4033,10 @@ function uf(e, t, n, i, a, o) {
|
|
|
4029
4033
|
class: ee(["mainRow", { expanded: a.comboExpanded }]),
|
|
4030
4034
|
onClick: t[0] || (t[0] = (...r) => o.onExpandCombo && o.onExpandCombo(...r))
|
|
4031
4035
|
}, [
|
|
4032
|
-
m("div",
|
|
4036
|
+
m("div", rf, N(o.selectedCount) + " selected", 1),
|
|
4033
4037
|
t[1] || (t[1] = m("div", { class: "arrow" }, null, -1))
|
|
4034
4038
|
], 2),
|
|
4035
|
-
m("div",
|
|
4039
|
+
m("div", sf, [
|
|
4036
4040
|
a.comboExpanded ? (c(!0), _(Y, { key: 0 }, oe(o.items, (r) => (c(), _("div", {
|
|
4037
4041
|
class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
|
|
4038
4042
|
}, [
|
|
@@ -4044,19 +4048,19 @@ function uf(e, t, n, i, a, o) {
|
|
|
4044
4048
|
disabled: e.disabled || null,
|
|
4045
4049
|
onChange: (d) => o.onChanged(d, r),
|
|
4046
4050
|
name: o.getInputName(r)
|
|
4047
|
-
}, null, 40,
|
|
4051
|
+
}, null, 40, lf), [
|
|
4048
4052
|
[s, "input"]
|
|
4049
4053
|
]),
|
|
4050
|
-
ce(
|
|
4054
|
+
ce(N(o.getItemName(r)), 1)
|
|
4051
4055
|
])
|
|
4052
4056
|
], 2))), 256)) : B("", !0)
|
|
4053
4057
|
])
|
|
4054
|
-
], 8,
|
|
4058
|
+
], 8, of))
|
|
4055
4059
|
])), [
|
|
4056
4060
|
[s, "wrapper"]
|
|
4057
4061
|
]);
|
|
4058
4062
|
}
|
|
4059
|
-
const
|
|
4063
|
+
const uf = {
|
|
4060
4064
|
mixins: [$e],
|
|
4061
4065
|
data() {
|
|
4062
4066
|
return {
|
|
@@ -4112,13 +4116,13 @@ const cf = {
|
|
|
4112
4116
|
this.comboExpanded = !this.comboExpanded;
|
|
4113
4117
|
}
|
|
4114
4118
|
}
|
|
4115
|
-
},
|
|
4119
|
+
}, cf = /* @__PURE__ */ W(uf, [["render", df]]), mf = {
|
|
4116
4120
|
name: "FieldKeyValuePairs",
|
|
4117
4121
|
components: { TrashIcon: xt },
|
|
4118
4122
|
mixins: [$e],
|
|
4119
4123
|
inject: {
|
|
4120
4124
|
autofillSlot: {
|
|
4121
|
-
from:
|
|
4125
|
+
from: Ne,
|
|
4122
4126
|
default: void 0
|
|
4123
4127
|
}
|
|
4124
4128
|
},
|
|
@@ -4166,15 +4170,15 @@ const cf = {
|
|
|
4166
4170
|
this.pairs.splice(e, 1);
|
|
4167
4171
|
}
|
|
4168
4172
|
}
|
|
4169
|
-
},
|
|
4170
|
-
function
|
|
4173
|
+
}, ff = { class: "key-value-pairs-editor" }, hf = { class: "pair-item-cell" }, pf = ["data-testid", "placeholder", "value", "onInput"], gf = { class: "pair-item-cell" }, yf = ["data-testid", "placeholder", "value", "onInput"];
|
|
4174
|
+
function vf(e, t, n, i, a, o) {
|
|
4171
4175
|
const s = D("TrashIcon"), r = D("KButton");
|
|
4172
|
-
return c(), _("div",
|
|
4176
|
+
return c(), _("div", ff, [
|
|
4173
4177
|
(c(!0), _(Y, null, oe(a.pairs, (d, u) => (c(), _("div", {
|
|
4174
4178
|
key: u,
|
|
4175
4179
|
class: "pair-item"
|
|
4176
4180
|
}, [
|
|
4177
|
-
m("div",
|
|
4181
|
+
m("div", hf, [
|
|
4178
4182
|
m("input", {
|
|
4179
4183
|
class: "form-control",
|
|
4180
4184
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
|
|
@@ -4184,14 +4188,14 @@ function bf(e, t, n, i, a, o) {
|
|
|
4184
4188
|
onInput: (p) => {
|
|
4185
4189
|
o.onInput(p, u, "key");
|
|
4186
4190
|
}
|
|
4187
|
-
}, null, 40,
|
|
4191
|
+
}, null, 40, pf),
|
|
4188
4192
|
(c(), U(me(o.autofillSlot), {
|
|
4189
4193
|
schema: e.schema,
|
|
4190
4194
|
update: (p) => o.onInput({ target: { value: p } }, u, "key"),
|
|
4191
4195
|
value: d.key
|
|
4192
4196
|
}, null, 8, ["schema", "update", "value"]))
|
|
4193
4197
|
]),
|
|
4194
|
-
m("div",
|
|
4198
|
+
m("div", gf, [
|
|
4195
4199
|
m("input", {
|
|
4196
4200
|
class: "form-control",
|
|
4197
4201
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
|
|
@@ -4201,7 +4205,7 @@ function bf(e, t, n, i, a, o) {
|
|
|
4201
4205
|
onInput: (p) => {
|
|
4202
4206
|
o.onInput(p, u, "value");
|
|
4203
4207
|
}
|
|
4204
|
-
}, null, 40,
|
|
4208
|
+
}, null, 40, yf),
|
|
4205
4209
|
(c(), U(me(o.autofillSlot), {
|
|
4206
4210
|
schema: e.schema,
|
|
4207
4211
|
update: (p) => o.onInput({ target: { value: p } }, u, "value"),
|
|
@@ -4229,13 +4233,13 @@ function bf(e, t, n, i, a, o) {
|
|
|
4229
4233
|
onClick: o.addPair
|
|
4230
4234
|
}, {
|
|
4231
4235
|
default: M(() => [
|
|
4232
|
-
ce(
|
|
4236
|
+
ce(N(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
|
|
4233
4237
|
]),
|
|
4234
4238
|
_: 1
|
|
4235
4239
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4236
4240
|
]);
|
|
4237
4241
|
}
|
|
4238
|
-
const
|
|
4242
|
+
const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac"]]), _f = /* @__PURE__ */ he({
|
|
4239
4243
|
__name: "FieldLabel",
|
|
4240
4244
|
props: {
|
|
4241
4245
|
disabled: {
|
|
@@ -4276,14 +4280,14 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4276
4280
|
id: I(i)(e.schema)
|
|
4277
4281
|
}, {
|
|
4278
4282
|
default: M(() => [
|
|
4279
|
-
ce(
|
|
4283
|
+
ce(N(I(a)), 1)
|
|
4280
4284
|
]),
|
|
4281
4285
|
_: 1
|
|
4282
4286
|
}, 8, ["id"])
|
|
4283
4287
|
], 2);
|
|
4284
4288
|
};
|
|
4285
4289
|
}
|
|
4286
|
-
}),
|
|
4290
|
+
}), Tf = /* @__PURE__ */ W(_f, [["__scopeId", "data-v-d046a15a"]]), Sf = /* @__PURE__ */ he({
|
|
4287
4291
|
__name: "FieldMultiselect",
|
|
4288
4292
|
props: {
|
|
4289
4293
|
disabled: {
|
|
@@ -4358,10 +4362,10 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4358
4362
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4359
4363
|
};
|
|
4360
4364
|
}
|
|
4361
|
-
}),
|
|
4365
|
+
}), wf = { class: "selection-group" }, Ef = { class: "form-group horizontal-radios" }, Mf = { class: "radio-group" }, Af = ["disabled", "value"], If = { class: "control-help" }, Cf = {
|
|
4362
4366
|
key: 0,
|
|
4363
4367
|
class: "option-field"
|
|
4364
|
-
},
|
|
4368
|
+
}, Of = { class: "option-field-container" }, Ff = {
|
|
4365
4369
|
mixins: [$e],
|
|
4366
4370
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4367
4371
|
emits: ["model-updated"],
|
|
@@ -4406,18 +4410,18 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4406
4410
|
this.$emit("model-updated", e, t);
|
|
4407
4411
|
}
|
|
4408
4412
|
}
|
|
4409
|
-
},
|
|
4413
|
+
}, kf = /* @__PURE__ */ Object.assign(Ff, {
|
|
4410
4414
|
__name: "FieldSelectionGroup",
|
|
4411
4415
|
setup(e) {
|
|
4412
4416
|
const { t } = ke("en-us", Re);
|
|
4413
|
-
return (n, i) => (c(), _("div",
|
|
4417
|
+
return (n, i) => (c(), _("div", wf, [
|
|
4414
4418
|
(c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4415
4419
|
"max-width": "300",
|
|
4416
4420
|
text: I(t)("general.disable_global_radio", { scope: n.scope })
|
|
4417
4421
|
}, {
|
|
4418
4422
|
default: M(() => [
|
|
4419
|
-
m("div",
|
|
4420
|
-
m("div",
|
|
4423
|
+
m("div", Ef, [
|
|
4424
|
+
m("div", Mf, [
|
|
4421
4425
|
(c(!0), _(Y, null, oe(n.schema.fields, (a, o) => (c(), _("div", {
|
|
4422
4426
|
key: o,
|
|
4423
4427
|
class: ee(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4431,11 +4435,11 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4431
4435
|
disabled: n.$props.disabled,
|
|
4432
4436
|
type: "radio",
|
|
4433
4437
|
value: o
|
|
4434
|
-
}, null, 8,
|
|
4438
|
+
}, null, 8, Af), [
|
|
4435
4439
|
[qo, n.checkedGroup]
|
|
4436
4440
|
]),
|
|
4437
|
-
ce(" " +
|
|
4438
|
-
m("div",
|
|
4441
|
+
ce(" " + N(a.label) + " ", 1),
|
|
4442
|
+
m("div", If, N(a.description), 1)
|
|
4439
4443
|
], 2)
|
|
4440
4444
|
], 2))), 128))
|
|
4441
4445
|
])
|
|
@@ -4447,8 +4451,8 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4447
4451
|
key: o,
|
|
4448
4452
|
class: "option-group"
|
|
4449
4453
|
}, [
|
|
4450
|
-
n.renderedTrack[o] ? Ee((c(), _("div",
|
|
4451
|
-
m("div",
|
|
4454
|
+
n.renderedTrack[o] ? Ee((c(), _("div", Cf, [
|
|
4455
|
+
m("div", Of, [
|
|
4452
4456
|
O(ue, {
|
|
4453
4457
|
model: n.model,
|
|
4454
4458
|
options: { helpAsHtml: !0 },
|
|
@@ -4462,7 +4466,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4462
4466
|
]))), 128))
|
|
4463
4467
|
]));
|
|
4464
4468
|
}
|
|
4465
|
-
}),
|
|
4469
|
+
}), Rf = /* @__PURE__ */ W(kf, [["__scopeId", "data-v-65b91ac7"]]), Uf = { class: "form-field-wrapper" }, Nf = /* @__PURE__ */ he({
|
|
4466
4470
|
__name: "FieldSwitch",
|
|
4467
4471
|
props: {
|
|
4468
4472
|
disabled: {
|
|
@@ -4516,7 +4520,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4516
4520
|
clearValidationErrors: f
|
|
4517
4521
|
}), (b, k) => {
|
|
4518
4522
|
const q = D("KInputSwitch");
|
|
4519
|
-
return c(), _("div",
|
|
4523
|
+
return c(), _("div", Uf, [
|
|
4520
4524
|
O(q, {
|
|
4521
4525
|
id: I(u)(e.schema),
|
|
4522
4526
|
modelValue: I(p),
|
|
@@ -4532,7 +4536,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4532
4536
|
]);
|
|
4533
4537
|
};
|
|
4534
4538
|
}
|
|
4535
|
-
}),
|
|
4539
|
+
}), Lf = { class: "field-textarea" }, Pf = /* @__PURE__ */ he({
|
|
4536
4540
|
__name: "FieldTextArea",
|
|
4537
4541
|
props: {
|
|
4538
4542
|
disabled: {
|
|
@@ -4572,7 +4576,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4572
4576
|
},
|
|
4573
4577
|
emits: ["modelUpdated"],
|
|
4574
4578
|
setup(e, { expose: t, emit: n }) {
|
|
4575
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
4579
|
+
const i = e, a = n, o = ut(i), s = an(Ne, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
4576
4580
|
model: o.model,
|
|
4577
4581
|
schema: i.schema,
|
|
4578
4582
|
formOptions: i.formOptions,
|
|
@@ -4588,7 +4592,7 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4588
4592
|
};
|
|
4589
4593
|
return (b, k) => {
|
|
4590
4594
|
const q = D("KTextArea");
|
|
4591
|
-
return c(), _("div",
|
|
4595
|
+
return c(), _("div", Lf, [
|
|
4592
4596
|
O(q, et(b.$attrs, {
|
|
4593
4597
|
id: I(d)(e.schema),
|
|
4594
4598
|
modelValue: I(p),
|
|
@@ -4614,32 +4618,32 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4614
4618
|
]);
|
|
4615
4619
|
};
|
|
4616
4620
|
}
|
|
4617
|
-
}),
|
|
4621
|
+
}), Df = /* @__PURE__ */ W(Pf, [["__scopeId", "data-v-0e146fba"]]), $f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4618
4622
|
__proto__: null,
|
|
4619
4623
|
FieldAdvanced: Cc,
|
|
4620
|
-
FieldArray:
|
|
4624
|
+
FieldArray: Xm,
|
|
4621
4625
|
FieldArrayCardContainer: po,
|
|
4622
4626
|
FieldArrayItem: go,
|
|
4623
4627
|
FieldArrayMultiItem: yo,
|
|
4624
4628
|
FieldAutoSuggest: bo,
|
|
4625
4629
|
FieldAutoSuggestV2: _o,
|
|
4626
|
-
FieldCheckbox:
|
|
4627
|
-
FieldChecklist:
|
|
4630
|
+
FieldCheckbox: ef,
|
|
4631
|
+
FieldChecklist: cf,
|
|
4628
4632
|
FieldInput: To,
|
|
4629
|
-
FieldKeyValuePairs:
|
|
4630
|
-
FieldLabel:
|
|
4633
|
+
FieldKeyValuePairs: bf,
|
|
4634
|
+
FieldLabel: Tf,
|
|
4631
4635
|
FieldMetric: So,
|
|
4632
|
-
FieldMultiselect:
|
|
4636
|
+
FieldMultiselect: Sf,
|
|
4633
4637
|
FieldObject: wo,
|
|
4634
4638
|
FieldObjectAdvanced: Eo,
|
|
4635
4639
|
FieldRadio: Mo,
|
|
4636
4640
|
FieldSelect: Ao,
|
|
4637
|
-
FieldSelectionGroup:
|
|
4641
|
+
FieldSelectionGroup: Rf,
|
|
4638
4642
|
FieldSwitch: Nf,
|
|
4639
|
-
FieldTextArea:
|
|
4640
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4643
|
+
FieldTextArea: Df
|
|
4644
|
+
}, Symbol.toStringTag, { value: "Module" })), Vf = {
|
|
4641
4645
|
name: "FormGroup",
|
|
4642
|
-
components:
|
|
4646
|
+
components: $f,
|
|
4643
4647
|
mixins: [io],
|
|
4644
4648
|
inject: {
|
|
4645
4649
|
"vfg-array-item-index": {
|
|
@@ -4764,20 +4768,20 @@ const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac
|
|
|
4764
4768
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4765
4769
|
}
|
|
4766
4770
|
}
|
|
4767
|
-
},
|
|
4771
|
+
}, jf = ["innerHTML"], qf = { class: "icon-wrapper" }, Kf = {
|
|
4768
4772
|
key: 0,
|
|
4769
4773
|
class: "link-wrapper"
|
|
4770
|
-
},
|
|
4774
|
+
}, Bf = { class: "field-wrap" }, zf = {
|
|
4771
4775
|
key: 0,
|
|
4772
4776
|
class: "buttons"
|
|
4773
|
-
},
|
|
4777
|
+
}, xf = ["type", "onClick", "textContent"], Hf = {
|
|
4774
4778
|
key: 1,
|
|
4775
4779
|
class: "hint"
|
|
4776
|
-
},
|
|
4780
|
+
}, Yf = {
|
|
4777
4781
|
key: 2,
|
|
4778
4782
|
class: "errors help-block"
|
|
4779
4783
|
};
|
|
4780
|
-
function
|
|
4784
|
+
function Gf(e, t, n, i, a, o) {
|
|
4781
4785
|
const s = D("KExternalLink"), r = D("KLabel");
|
|
4782
4786
|
return c(), _("div", {
|
|
4783
4787
|
class: ee(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -4795,10 +4799,10 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4795
4799
|
} : void 0
|
|
4796
4800
|
}, cn({
|
|
4797
4801
|
default: M(() => [
|
|
4798
|
-
m("div",
|
|
4799
|
-
m("span", null,
|
|
4802
|
+
m("div", qf, [
|
|
4803
|
+
m("span", null, N(o.formattedLabel(n.field.label)), 1)
|
|
4800
4804
|
]),
|
|
4801
|
-
n.field.link ? (c(), _("div",
|
|
4805
|
+
n.field.link ? (c(), _("div", Kf, [
|
|
4802
4806
|
O(s, {
|
|
4803
4807
|
href: n.field.link
|
|
4804
4808
|
}, {
|
|
@@ -4817,12 +4821,12 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4817
4821
|
fn: M(() => [
|
|
4818
4822
|
m("div", {
|
|
4819
4823
|
innerHTML: o.sanitize(n.field.help)
|
|
4820
|
-
}, null, 8,
|
|
4824
|
+
}, null, 8, jf)
|
|
4821
4825
|
]),
|
|
4822
4826
|
key: "0"
|
|
4823
4827
|
} : void 0
|
|
4824
4828
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
|
|
4825
|
-
m("div",
|
|
4829
|
+
m("div", Bf, [
|
|
4826
4830
|
(c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
|
|
4827
4831
|
ref: "child",
|
|
4828
4832
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -4835,31 +4839,31 @@ function Wf(e, t, n, i, a, o) {
|
|
|
4835
4839
|
onRefreshModel: o.onRefreshModel,
|
|
4836
4840
|
onValidated: o.onFieldValidated
|
|
4837
4841
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
4838
|
-
o.buttonVisibility(n.field) ? (c(), _("div",
|
|
4842
|
+
o.buttonVisibility(n.field) ? (c(), _("div", zf, [
|
|
4839
4843
|
(c(!0), _(Y, null, oe(n.field.buttons, (d, u) => (c(), _("button", {
|
|
4840
4844
|
key: u,
|
|
4841
4845
|
class: ee(d.classes),
|
|
4842
4846
|
type: o.getButtonType(d),
|
|
4843
4847
|
onClick: (p) => o.buttonClickHandler(d, n.field, p),
|
|
4844
|
-
textContent:
|
|
4845
|
-
}, null, 10,
|
|
4848
|
+
textContent: N(d.label)
|
|
4849
|
+
}, null, 10, xf))), 128))
|
|
4846
4850
|
])) : B("", !0)
|
|
4847
4851
|
]),
|
|
4848
|
-
n.field.hint && n.field.type !== "input" ? (c(), _("div",
|
|
4849
|
-
o.fieldErrors(n.field).length > 0 ? (c(), _("div",
|
|
4850
|
-
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u },
|
|
4852
|
+
n.field.hint && n.field.type !== "input" ? (c(), _("div", Hf, N(o.fieldHint(n.field)), 1)) : B("", !0),
|
|
4853
|
+
o.fieldErrors(n.field).length > 0 ? (c(), _("div", Yf, [
|
|
4854
|
+
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u }, N(d), 1))), 128))
|
|
4851
4855
|
])) : B("", !0)
|
|
4852
4856
|
], 2);
|
|
4853
4857
|
}
|
|
4854
|
-
const Io = /* @__PURE__ */ W(
|
|
4858
|
+
const Io = /* @__PURE__ */ W(Vf, [["render", Gf], ["__scopeId", "data-v-fe02085f"]]);
|
|
4855
4859
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4856
|
-
const
|
|
4860
|
+
const Wf = (e) => {
|
|
4857
4861
|
var t, n;
|
|
4858
4862
|
return e.type === un.REDIS_CE ? "Host/Port" : (t = e.config.sentinel_nodes) != null && t.length ? "Sentinel" : (n = e.config.cluster_nodes) != null && n.length ? "Cluster" : "Host/Port";
|
|
4859
|
-
},
|
|
4863
|
+
}, Zf = {
|
|
4860
4864
|
[un.REDIS_CE]: "open source",
|
|
4861
4865
|
[un.REDIS_EE]: "enterprise"
|
|
4862
|
-
}, Sa = (e) =>
|
|
4866
|
+
}, Sa = (e) => Zf[e] ?? "", Xf = { class: "partial-config-card" }, Jf = { class: "config-card-row-label" }, Qf = { class: "label-text" }, eh = ["data-testid"], th = ["data-testid"], nh = { key: 1 }, ih = ["data-testid"], ah = ["data-testid"], oh = /* @__PURE__ */ he({
|
|
4863
4867
|
__name: "RedisConfigCard",
|
|
4864
4868
|
props: {
|
|
4865
4869
|
configFields: {
|
|
@@ -4907,19 +4911,19 @@ const Zf = (e) => {
|
|
|
4907
4911
|
}).sort((f, b) => f.order - b.order).filter((f) => f.type !== "hidden")), u = qe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), p = z(() => d.value.concat(u));
|
|
4908
4912
|
return (f, b) => {
|
|
4909
4913
|
const k = D("KCopy");
|
|
4910
|
-
return c(), _("div",
|
|
4914
|
+
return c(), _("div", Xf, [
|
|
4911
4915
|
(c(!0), _(Y, null, oe(p.value, ({ key: q, label: h, value: A, type: C }) => (c(), _("div", {
|
|
4912
4916
|
key: q,
|
|
4913
4917
|
class: "partial-config-card-row"
|
|
4914
4918
|
}, [
|
|
4915
|
-
m("div",
|
|
4916
|
-
m("div",
|
|
4919
|
+
m("div", Jf, [
|
|
4920
|
+
m("div", Qf, N(h), 1)
|
|
4917
4921
|
]),
|
|
4918
4922
|
m("div", {
|
|
4919
4923
|
class: "config-card-row-value",
|
|
4920
4924
|
"data-testid": `${q}-property-value`
|
|
4921
4925
|
}, [
|
|
4922
|
-
o(A) ? (c(), _("div",
|
|
4926
|
+
o(A) ? (c(), _("div", nh, [
|
|
4923
4927
|
C === "password" ? (c(), _("div", {
|
|
4924
4928
|
key: 0,
|
|
4925
4929
|
"data-testid": `${q}-copy-password`
|
|
@@ -4928,33 +4932,33 @@ const Zf = (e) => {
|
|
|
4928
4932
|
format: "redacted",
|
|
4929
4933
|
text: String(A)
|
|
4930
4934
|
}, null, 8, ["text"])
|
|
4931
|
-
], 8,
|
|
4935
|
+
], 8, ih)) : (c(), _("div", {
|
|
4932
4936
|
key: 1,
|
|
4933
4937
|
"data-testid": `${q}-plain-text`
|
|
4934
|
-
},
|
|
4938
|
+
}, N(A), 9, ah))
|
|
4935
4939
|
])) : (c(), _("div", {
|
|
4936
4940
|
key: 0,
|
|
4937
4941
|
"data-testid": `${q}-no-value`
|
|
4938
|
-
}, " – ", 8,
|
|
4939
|
-
], 8,
|
|
4942
|
+
}, " – ", 8, th))
|
|
4943
|
+
], 8, eh)
|
|
4940
4944
|
]))), 128))
|
|
4941
4945
|
]);
|
|
4942
4946
|
};
|
|
4943
4947
|
}
|
|
4944
|
-
}),
|
|
4948
|
+
}), rh = /* @__PURE__ */ W(oh, [["__scopeId", "data-v-40b3d7b5"]]), sh = {
|
|
4945
4949
|
class: "redis-config-select",
|
|
4946
4950
|
"data-testid": "redis-config-select"
|
|
4947
|
-
},
|
|
4951
|
+
}, lh = { class: "selected-redis-config" }, dh = ["data-testid"], uh = {
|
|
4948
4952
|
class: "select-item-name",
|
|
4949
4953
|
"data-testid": "selected-redis-config"
|
|
4950
|
-
},
|
|
4954
|
+
}, ch = {
|
|
4951
4955
|
class: "empty-redis-config",
|
|
4952
4956
|
"data-testid": "empty-redis-config"
|
|
4953
|
-
},
|
|
4957
|
+
}, mh = {
|
|
4954
4958
|
key: 1,
|
|
4955
4959
|
class: "redis-shared-config-error-message",
|
|
4956
4960
|
"data-testid": "redis-config-fetch-error"
|
|
4957
|
-
},
|
|
4961
|
+
}, fh = "1000", hh = /* @__PURE__ */ he({
|
|
4958
4962
|
__name: "RedisConfigSelect",
|
|
4959
4963
|
props: {
|
|
4960
4964
|
defaultRedisConfigItem: {
|
|
@@ -4996,20 +5000,20 @@ const Zf = (e) => {
|
|
|
4996
5000
|
error: p,
|
|
4997
5001
|
loadItems: f,
|
|
4998
5002
|
results: b
|
|
4999
|
-
} = Zo(r, i[r.app].getAll,
|
|
5003
|
+
} = Zo(r, i[r.app].getAll, fh, {
|
|
5000
5004
|
fetchedItemsKey: "data",
|
|
5001
5005
|
searchKeys: ["id", "name"]
|
|
5002
|
-
}), k = z(() => p.value ? s(p.value) : ""), q = (
|
|
5006
|
+
}), k = z(() => p.value ? s(p.value) : ""), q = (L) => {
|
|
5003
5007
|
let T = `${r.apiBaseUrl}${i[r.app].getOne}`;
|
|
5004
|
-
return r.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (r == null ? void 0 : r.controlPlaneId) || "") : r.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, r != null && r.workspace ? `/${r.workspace}` : "")), T = T.replace(/{id}/gi, String(
|
|
5008
|
+
return r.app === "konnect" ? T = T.replace(/{controlPlaneId}/gi, (r == null ? void 0 : r.controlPlaneId) || "") : r.app === "kongManager" && (T = T.replace(/\/{workspace}/gi, r != null && r.workspace ? `/${r.workspace}` : "")), T = T.replace(/{id}/gi, String(L)), T;
|
|
5005
5009
|
}, h = z(() => {
|
|
5006
|
-
const
|
|
5007
|
-
return a.redisType !== "all" ?
|
|
5008
|
-
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (
|
|
5009
|
-
if (
|
|
5010
|
-
a.updateRedisModel(
|
|
5010
|
+
const L = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Wf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
|
|
5011
|
+
return a.redisType !== "all" ? L.filter((T) => T.type === a.redisType) : L;
|
|
5012
|
+
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (L) => {
|
|
5013
|
+
if (L) {
|
|
5014
|
+
a.updateRedisModel(L);
|
|
5011
5015
|
try {
|
|
5012
|
-
const T = await A.get(q(
|
|
5016
|
+
const T = await A.get(q(L));
|
|
5013
5017
|
if (T.data.config) {
|
|
5014
5018
|
const F = Object.assign(T.data, T.data.config);
|
|
5015
5019
|
delete F.config, o.value = F;
|
|
@@ -5019,14 +5023,14 @@ const Zf = (e) => {
|
|
|
5019
5023
|
}
|
|
5020
5024
|
}
|
|
5021
5025
|
};
|
|
5022
|
-
return mn(() => n == null ? void 0 : n.value, async (
|
|
5023
|
-
|
|
5026
|
+
return mn(() => n == null ? void 0 : n.value, async (L) => {
|
|
5027
|
+
L && await f();
|
|
5024
5028
|
}), Jn(() => {
|
|
5025
5029
|
f(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
|
|
5026
|
-
}), (
|
|
5030
|
+
}), (L, T) => {
|
|
5027
5031
|
const F = D("KLabel"), y = D("KBadge"), v = D("KSelect");
|
|
5028
5032
|
return c(), _(Y, null, [
|
|
5029
|
-
m("div",
|
|
5033
|
+
m("div", sh, [
|
|
5030
5034
|
O(F, {
|
|
5031
5035
|
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
|
|
5032
5036
|
"tooltip-attributes": {
|
|
@@ -5035,7 +5039,7 @@ const Zf = (e) => {
|
|
|
5035
5039
|
}
|
|
5036
5040
|
}, {
|
|
5037
5041
|
default: M(() => [
|
|
5038
|
-
ce(
|
|
5042
|
+
ce(N(I(t)("redis.shared_configuration.title")), 1)
|
|
5039
5043
|
]),
|
|
5040
5044
|
_: 1
|
|
5041
5045
|
}, 8, ["info"]),
|
|
@@ -5053,60 +5057,60 @@ const Zf = (e) => {
|
|
|
5053
5057
|
onQueryChange: I(d)
|
|
5054
5058
|
}, {
|
|
5055
5059
|
"selected-item-template": M(({ item: g }) => [
|
|
5056
|
-
m("div",
|
|
5060
|
+
m("div", lh, N(g.name), 1)
|
|
5057
5061
|
]),
|
|
5058
5062
|
"item-template": M(({ item: g }) => [
|
|
5059
5063
|
m("div", {
|
|
5060
5064
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5061
5065
|
"data-testid": `redis-configuration-dropdown-item-${g.name}`
|
|
5062
5066
|
}, [
|
|
5063
|
-
m("span",
|
|
5067
|
+
m("span", uh, N(g.name), 1),
|
|
5064
5068
|
O(y, {
|
|
5065
5069
|
appearance: "info",
|
|
5066
5070
|
class: "select-item-label"
|
|
5067
5071
|
}, {
|
|
5068
5072
|
default: M(() => [
|
|
5069
|
-
ce(
|
|
5073
|
+
ce(N(g.tag), 1)
|
|
5070
5074
|
]),
|
|
5071
5075
|
_: 2
|
|
5072
5076
|
}, 1024)
|
|
5073
|
-
], 8,
|
|
5077
|
+
], 8, dh)
|
|
5074
5078
|
]),
|
|
5075
5079
|
empty: M(() => [
|
|
5076
|
-
m("div",
|
|
5080
|
+
m("div", ch, N(I(t)("redis.shared_configuration.empty_state")), 1)
|
|
5077
5081
|
]),
|
|
5078
5082
|
"dropdown-footer-text": M(() => [
|
|
5079
5083
|
m("div", {
|
|
5080
5084
|
class: "new-redis-config-area",
|
|
5081
5085
|
"data-testid": "new-redis-config-area",
|
|
5082
|
-
onClick: T[0] || (T[0] = (g) =>
|
|
5086
|
+
onClick: T[0] || (T[0] = (g) => L.$emit("showNewPartialModal"))
|
|
5083
5087
|
}, [
|
|
5084
5088
|
O(I(Qn), { size: I(xc) }, null, 8, ["size"]),
|
|
5085
|
-
m("span", null,
|
|
5089
|
+
m("span", null, N(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
|
|
5086
5090
|
])
|
|
5087
5091
|
]),
|
|
5088
5092
|
_: 1
|
|
5089
5093
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5090
5094
|
]),
|
|
5091
|
-
o.value ? (c(), U(
|
|
5095
|
+
o.value ? (c(), U(rh, {
|
|
5092
5096
|
key: 0,
|
|
5093
5097
|
"config-fields": o.value,
|
|
5094
5098
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5095
5099
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
|
|
5096
|
-
k.value ? (c(), _("p",
|
|
5100
|
+
k.value ? (c(), _("p", mh, N(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
|
|
5097
5101
|
], 64);
|
|
5098
5102
|
};
|
|
5099
5103
|
}
|
|
5100
|
-
}), wa = /* @__PURE__ */ W(
|
|
5104
|
+
}), wa = /* @__PURE__ */ W(hh, [["__scopeId", "data-v-cfbe2781"]]), ph = { key: 0 }, gh = {
|
|
5101
5105
|
class: "redis-config-radio-group",
|
|
5102
5106
|
"data-testid": "redis-config-radio-group"
|
|
5103
|
-
},
|
|
5107
|
+
}, yh = {
|
|
5104
5108
|
key: 0,
|
|
5105
5109
|
class: "shared-redis-config"
|
|
5106
|
-
},
|
|
5110
|
+
}, vh = {
|
|
5107
5111
|
key: 1,
|
|
5108
5112
|
class: "dedicated-redis-config"
|
|
5109
|
-
},
|
|
5113
|
+
}, bh = { class: "dedicated-redis-config-title" }, _h = /* @__PURE__ */ he({
|
|
5110
5114
|
__name: "FormRedis",
|
|
5111
5115
|
props: {
|
|
5112
5116
|
tag: {
|
|
@@ -5167,14 +5171,14 @@ const Zf = (e) => {
|
|
|
5167
5171
|
h ? u.value && i("partialToggled", "redis", { partials: u.value }) : i("partialToggled", "partials", d.value);
|
|
5168
5172
|
}), Jn(() => {
|
|
5169
5173
|
var h, A, C;
|
|
5170
|
-
if (n.model && (d.value = n.field.fields.reduce((
|
|
5171
|
-
const
|
|
5172
|
-
s.value = !0, r.value =
|
|
5174
|
+
if (n.model && (d.value = n.field.fields.reduce((L, T) => (Object.keys(n.model).includes(T.model) && (L[T.model] = n.model[T.model]), L), {})), (C = (A = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : A[0]) != null && C.id) {
|
|
5175
|
+
const L = n.model.partials[0].id;
|
|
5176
|
+
s.value = !0, r.value = L;
|
|
5173
5177
|
}
|
|
5174
5178
|
}), (h, A) => {
|
|
5175
|
-
const C = D("KAlert"),
|
|
5179
|
+
const C = D("KAlert"), L = D("KBadge"), T = D("KRadio"), F = D("KCard");
|
|
5176
5180
|
return c(), _("div", null, [
|
|
5177
|
-
o.value ? (c(), _("div",
|
|
5181
|
+
o.value ? (c(), _("div", ph, [
|
|
5178
5182
|
O(C, {
|
|
5179
5183
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5180
5184
|
message: I(a)("redis.custom_plugin.alert")
|
|
@@ -5193,7 +5197,7 @@ const Zf = (e) => {
|
|
|
5193
5197
|
title: I(a)("redis.title")
|
|
5194
5198
|
}, {
|
|
5195
5199
|
default: M(() => [
|
|
5196
|
-
m("div",
|
|
5200
|
+
m("div", gh, [
|
|
5197
5201
|
O(T, {
|
|
5198
5202
|
modelValue: s.value,
|
|
5199
5203
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => s.value = y),
|
|
@@ -5205,9 +5209,9 @@ const Zf = (e) => {
|
|
|
5205
5209
|
"selected-value": !0
|
|
5206
5210
|
}, {
|
|
5207
5211
|
default: M(() => [
|
|
5208
|
-
O(
|
|
5212
|
+
O(L, { appearance: "success" }, {
|
|
5209
5213
|
default: M(() => [
|
|
5210
|
-
ce(
|
|
5214
|
+
ce(N(I(a)("redis.shared_configuration.badge")), 1)
|
|
5211
5215
|
]),
|
|
5212
5216
|
_: 1
|
|
5213
5217
|
})
|
|
@@ -5225,7 +5229,7 @@ const Zf = (e) => {
|
|
|
5225
5229
|
"selected-value": !1
|
|
5226
5230
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5227
5231
|
]),
|
|
5228
|
-
s.value ? (c(), _("div",
|
|
5232
|
+
s.value ? (c(), _("div", yh, [
|
|
5229
5233
|
O(wa, {
|
|
5230
5234
|
"default-redis-config-item": r.value,
|
|
5231
5235
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5233,8 +5237,8 @@ const Zf = (e) => {
|
|
|
5233
5237
|
"update-redis-model": f,
|
|
5234
5238
|
onShowNewPartialModal: A[3] || (A[3] = (y) => h.$emit("showNewPartialModal"))
|
|
5235
5239
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
5236
|
-
])) : (c(), _("div",
|
|
5237
|
-
m("div",
|
|
5240
|
+
])) : (c(), _("div", vh, [
|
|
5241
|
+
m("div", bh, N(I(a)("redis.dedicated_configuration.title")), 1),
|
|
5238
5242
|
(c(), U(me(e.tag), null, {
|
|
5239
5243
|
default: M(() => [
|
|
5240
5244
|
(c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
|
|
@@ -5264,14 +5268,14 @@ const Zf = (e) => {
|
|
|
5264
5268
|
]);
|
|
5265
5269
|
};
|
|
5266
5270
|
}
|
|
5267
|
-
}),
|
|
5271
|
+
}), Th = /* @__PURE__ */ W(_h, [["__scopeId", "data-v-addd6536"]]), Sh = {
|
|
5268
5272
|
name: "VueFormGenerator",
|
|
5269
|
-
components: { formGroup: Io, formRedis:
|
|
5273
|
+
components: { formGroup: Io, formRedis: Th },
|
|
5270
5274
|
mixins: [io],
|
|
5271
5275
|
inject: {
|
|
5272
5276
|
// Inject AUTOFILL_SLOT for provide()
|
|
5273
5277
|
autofillSlot: {
|
|
5274
|
-
from:
|
|
5278
|
+
from: Ne,
|
|
5275
5279
|
default: void 0
|
|
5276
5280
|
}
|
|
5277
5281
|
},
|
|
@@ -5280,7 +5284,7 @@ const Zf = (e) => {
|
|
|
5280
5284
|
return {
|
|
5281
5285
|
// Provide AUTOFILL_SLOT only if it is not already provided
|
|
5282
5286
|
...!this.autofillSlot && {
|
|
5283
|
-
[
|
|
5287
|
+
[Ne]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5284
5288
|
}
|
|
5285
5289
|
};
|
|
5286
5290
|
},
|
|
@@ -5428,13 +5432,13 @@ const Zf = (e) => {
|
|
|
5428
5432
|
});
|
|
5429
5433
|
}
|
|
5430
5434
|
}
|
|
5431
|
-
},
|
|
5435
|
+
}, wh = {
|
|
5432
5436
|
key: 0,
|
|
5433
5437
|
class: "vue-form-generator"
|
|
5434
|
-
},
|
|
5435
|
-
function
|
|
5438
|
+
}, Eh = { key: 0 };
|
|
5439
|
+
function Mh(e, t, n, i, a, o) {
|
|
5436
5440
|
const s = D("form-redis"), r = D("form-group"), d = D("KCollapse");
|
|
5437
|
-
return n.schema != null ? (c(), _("div",
|
|
5441
|
+
return n.schema != null ? (c(), _("div", wh, [
|
|
5438
5442
|
n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
|
|
5439
5443
|
default: M(() => [
|
|
5440
5444
|
(c(!0), _(Y, null, oe(o.fields, (u) => (c(), _(Y, {
|
|
@@ -5564,7 +5568,7 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5564
5568
|
u.collapsible.description ? {
|
|
5565
5569
|
name: "visible-content",
|
|
5566
5570
|
fn: M(() => [
|
|
5567
|
-
ce(
|
|
5571
|
+
ce(N(u.collapsible.description), 1)
|
|
5568
5572
|
]),
|
|
5569
5573
|
key: "0"
|
|
5570
5574
|
} : void 0
|
|
@@ -5573,7 +5577,7 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5573
5577
|
class: ee(e.getFieldRowClasses(u))
|
|
5574
5578
|
}, {
|
|
5575
5579
|
default: M(() => [
|
|
5576
|
-
u.legend ? (c(), _("legend",
|
|
5580
|
+
u.legend ? (c(), _("legend", Eh, N(u.legend), 1)) : B("", !0),
|
|
5577
5581
|
(c(!0), _(Y, null, oe(u.fields, (f) => (c(), _(Y, {
|
|
5578
5582
|
key: f.model
|
|
5579
5583
|
}, [
|
|
@@ -5597,7 +5601,7 @@ function Ah(e, t, n, i, a, o) {
|
|
|
5597
5601
|
], 64))), 128))
|
|
5598
5602
|
])) : B("", !0);
|
|
5599
5603
|
}
|
|
5600
|
-
const ue = /* @__PURE__ */ W(
|
|
5604
|
+
const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
5601
5605
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
5602
5606
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
5603
5607
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -5617,13 +5621,13 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5617
5621
|
"config-groups_claim",
|
|
5618
5622
|
"config-groups_required",
|
|
5619
5623
|
"config-authenticated_groups_claim"
|
|
5620
|
-
]),
|
|
5624
|
+
]), Ah = {
|
|
5621
5625
|
name: "OIDCForm",
|
|
5622
5626
|
components: { VueFormGenerator: ue },
|
|
5623
5627
|
provide() {
|
|
5624
5628
|
var e;
|
|
5625
5629
|
return {
|
|
5626
|
-
[
|
|
5630
|
+
[Ne]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5627
5631
|
};
|
|
5628
5632
|
},
|
|
5629
5633
|
props: {
|
|
@@ -5822,7 +5826,7 @@ const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
|
5822
5826
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5823
5827
|
}
|
|
5824
5828
|
}
|
|
5825
|
-
},
|
|
5829
|
+
}, Ih = { class: "general-settings" }, Ch = { class: "link-wrapper" }, Oh = { class: "auth-method-container" }, Fh = { class: "general-settings" }, kh = { class: "link-wrapper" }, Rh = { class: "general-settings" }, Uh = { class: "link-wrapper" };
|
|
5826
5830
|
function Nh(e, t, n, i, a, o) {
|
|
5827
5831
|
const s = D("VueFormGenerator"), r = D("KExternalLink"), d = D("KLabel"), u = D("KCheckbox"), p = D("KInputSwitch"), f = D("KTabs");
|
|
5828
5832
|
return c(), _("div", null, [
|
|
@@ -5836,8 +5840,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5836
5840
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
5837
5841
|
O(f, { tabs: a.tabs }, {
|
|
5838
5842
|
common: M(() => [
|
|
5839
|
-
m("div",
|
|
5840
|
-
m("div",
|
|
5843
|
+
m("div", Ih, [
|
|
5844
|
+
m("div", Ch, [
|
|
5841
5845
|
O(r, { href: a.openIdConfigurationDocs }, {
|
|
5842
5846
|
default: M(() => t[2] || (t[2] = [
|
|
5843
5847
|
m("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -5861,7 +5865,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5861
5865
|
_: 1,
|
|
5862
5866
|
__: [3]
|
|
5863
5867
|
}),
|
|
5864
|
-
m("div",
|
|
5868
|
+
m("div", Oh, [
|
|
5865
5869
|
(c(!0), _(Y, null, oe(a.authMethods, (b) => (c(), _("div", {
|
|
5866
5870
|
key: b.value,
|
|
5867
5871
|
class: "auth-method"
|
|
@@ -5872,7 +5876,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5872
5876
|
onChange: (k) => o.handleUpdate(k, b.value)
|
|
5873
5877
|
}, {
|
|
5874
5878
|
default: M(() => [
|
|
5875
|
-
ce(
|
|
5879
|
+
ce(N(b.label), 1)
|
|
5876
5880
|
]),
|
|
5877
5881
|
_: 2
|
|
5878
5882
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
@@ -5887,8 +5891,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5887
5891
|
])
|
|
5888
5892
|
]),
|
|
5889
5893
|
authorization: M(() => [
|
|
5890
|
-
m("div",
|
|
5891
|
-
m("div",
|
|
5894
|
+
m("div", Fh, [
|
|
5895
|
+
m("div", kh, [
|
|
5892
5896
|
O(r, { href: a.openIdAuthorizationDocs }, {
|
|
5893
5897
|
default: M(() => t[5] || (t[5] = [
|
|
5894
5898
|
m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5913,8 +5917,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5913
5917
|
])
|
|
5914
5918
|
]),
|
|
5915
5919
|
advanced: M(() => [
|
|
5916
|
-
m("div",
|
|
5917
|
-
m("div",
|
|
5920
|
+
m("div", Rh, [
|
|
5921
|
+
m("div", Uh, [
|
|
5918
5922
|
O(r, { href: a.openIdConnectLink }, {
|
|
5919
5923
|
default: M(() => t[7] || (t[7] = [
|
|
5920
5924
|
m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5941,7 +5945,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5941
5945
|
}, 8, ["tabs"])
|
|
5942
5946
|
]);
|
|
5943
5947
|
}
|
|
5944
|
-
const
|
|
5948
|
+
const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb"]]), Ph = /* @__PURE__ */ he({
|
|
5945
5949
|
__name: "PostFunction",
|
|
5946
5950
|
props: {
|
|
5947
5951
|
formModel: {
|
|
@@ -5968,7 +5972,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5968
5972
|
},
|
|
5969
5973
|
setup(e) {
|
|
5970
5974
|
var s;
|
|
5971
|
-
zt(
|
|
5975
|
+
zt(Ne, (s = fn()) == null ? void 0 : s[Mt]);
|
|
5972
5976
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
5973
5977
|
const r = i.formSchema;
|
|
5974
5978
|
return r.fields.map((d) => {
|
|
@@ -5984,7 +5988,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5984
5988
|
onModelUpdated: e.onModelUpdated
|
|
5985
5989
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
5986
5990
|
}
|
|
5987
|
-
}),
|
|
5991
|
+
}), Dh = /* @__PURE__ */ W(Ph, [["__scopeId", "data-v-f54f37ae"]]), $h = /* @__PURE__ */ he({
|
|
5988
5992
|
__name: "ExitTransformer",
|
|
5989
5993
|
props: {
|
|
5990
5994
|
formModel: {
|
|
@@ -6011,7 +6015,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6011
6015
|
},
|
|
6012
6016
|
setup(e) {
|
|
6013
6017
|
var s;
|
|
6014
|
-
zt(
|
|
6018
|
+
zt(Ne, (s = fn()) == null ? void 0 : s[Mt]);
|
|
6015
6019
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
6016
6020
|
const r = i.formSchema;
|
|
6017
6021
|
return r.fields.map((d) => {
|
|
@@ -6027,7 +6031,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6027
6031
|
onModelUpdated: e.onModelUpdated
|
|
6028
6032
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
6029
6033
|
}
|
|
6030
|
-
}),
|
|
6034
|
+
}), Vh = /* @__PURE__ */ W($h, [["__scopeId", "data-v-0d5c541f"]]), jh = {
|
|
6031
6035
|
fields: [
|
|
6032
6036
|
{
|
|
6033
6037
|
inputType: "text",
|
|
@@ -6062,7 +6066,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6062
6066
|
disabled: !1
|
|
6063
6067
|
}
|
|
6064
6068
|
]
|
|
6065
|
-
},
|
|
6069
|
+
}, qh = {
|
|
6066
6070
|
fields: [
|
|
6067
6071
|
{
|
|
6068
6072
|
type: "input",
|
|
@@ -6084,7 +6088,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6084
6088
|
disabled: !1
|
|
6085
6089
|
}
|
|
6086
6090
|
]
|
|
6087
|
-
},
|
|
6091
|
+
}, Kh = {
|
|
6088
6092
|
fields: [
|
|
6089
6093
|
{
|
|
6090
6094
|
type: "input",
|
|
@@ -6115,7 +6119,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6115
6119
|
disabled: !1
|
|
6116
6120
|
}
|
|
6117
6121
|
]
|
|
6118
|
-
},
|
|
6122
|
+
}, Bh = { class: "general-settings" }, zh = { class: "sub-form" }, xh = { class: "general-settings" }, Hh = { class: "sub-form" }, Yh = { class: "general-settings" }, Gh = /* @__PURE__ */ he({
|
|
6119
6123
|
__name: "ACMEForm",
|
|
6120
6124
|
props: {
|
|
6121
6125
|
formModel: {
|
|
@@ -6142,7 +6146,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6142
6146
|
},
|
|
6143
6147
|
setup(e) {
|
|
6144
6148
|
var y;
|
|
6145
|
-
zt(
|
|
6149
|
+
zt(Ne, (y = fn()) == null ? void 0 : y[Mt]);
|
|
6146
6150
|
const t = e, n = ae("zeroSsl"), i = ae("shm"), a = z(() => {
|
|
6147
6151
|
var g;
|
|
6148
6152
|
const v = {};
|
|
@@ -6152,7 +6156,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6152
6156
|
return v;
|
|
6153
6157
|
}), o = z(() => {
|
|
6154
6158
|
var g;
|
|
6155
|
-
const v = We(
|
|
6159
|
+
const v = We(jh);
|
|
6156
6160
|
for (const V of v.fields) {
|
|
6157
6161
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6158
6162
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6160,7 +6164,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6160
6164
|
return v;
|
|
6161
6165
|
}), s = z(() => {
|
|
6162
6166
|
var g;
|
|
6163
|
-
const v = We(
|
|
6167
|
+
const v = We(qh);
|
|
6164
6168
|
for (const V of v.fields) {
|
|
6165
6169
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6166
6170
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6168,7 +6172,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6168
6172
|
return v;
|
|
6169
6173
|
}), r = z(() => {
|
|
6170
6174
|
var g;
|
|
6171
|
-
const v = We(
|
|
6175
|
+
const v = We(Kh);
|
|
6172
6176
|
for (const V of v.fields) {
|
|
6173
6177
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6174
6178
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6205,7 +6209,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6205
6209
|
hash: "#advanced",
|
|
6206
6210
|
title: "Advanced"
|
|
6207
6211
|
}
|
|
6208
|
-
],
|
|
6212
|
+
], L = [
|
|
6209
6213
|
{
|
|
6210
6214
|
label: "Lets Encrypt",
|
|
6211
6215
|
value: "letsEncrypt"
|
|
@@ -6241,7 +6245,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6241
6245
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
6242
6246
|
O(Z, { tabs: C }, {
|
|
6243
6247
|
general: M(() => [
|
|
6244
|
-
m("div",
|
|
6248
|
+
m("div", Bh, [
|
|
6245
6249
|
g[0] || (g[0] = m("div", { class: "header-wrapper" }, [
|
|
6246
6250
|
m("span", { class: "section-header" }, "General Configuration Settings")
|
|
6247
6251
|
], -1)),
|
|
@@ -6256,11 +6260,11 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6256
6260
|
g[2] || (g[2] = m("hr", null, null, -1)),
|
|
6257
6261
|
O(V, {
|
|
6258
6262
|
class: "issuer-select",
|
|
6259
|
-
items:
|
|
6263
|
+
items: L,
|
|
6260
6264
|
label: "Issuer",
|
|
6261
6265
|
onChange: T
|
|
6262
6266
|
}),
|
|
6263
|
-
m("div",
|
|
6267
|
+
m("div", zh, [
|
|
6264
6268
|
n.value === "letsEncrypt" ? (c(), U(ue, {
|
|
6265
6269
|
key: 0,
|
|
6266
6270
|
model: e.formModel,
|
|
@@ -6279,7 +6283,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6279
6283
|
])
|
|
6280
6284
|
]),
|
|
6281
6285
|
storage: M(() => [
|
|
6282
|
-
m("div",
|
|
6286
|
+
m("div", xh, [
|
|
6283
6287
|
g[3] || (g[3] = m("div", { class: "header-wrapper" }, [
|
|
6284
6288
|
m("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
6285
6289
|
], -1)),
|
|
@@ -6291,7 +6295,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6291
6295
|
schema: p.value,
|
|
6292
6296
|
onModelUpdated: F
|
|
6293
6297
|
}, null, 8, ["model", "options", "schema"])) : B("", !0),
|
|
6294
|
-
m("div",
|
|
6298
|
+
m("div", Hh, [
|
|
6295
6299
|
i.value === "consul" ? (c(), U(ue, {
|
|
6296
6300
|
key: 0,
|
|
6297
6301
|
model: e.formModel,
|
|
@@ -6324,7 +6328,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6324
6328
|
])
|
|
6325
6329
|
]),
|
|
6326
6330
|
advanced: M(() => [
|
|
6327
|
-
m("div",
|
|
6331
|
+
m("div", Yh, [
|
|
6328
6332
|
g[5] || (g[5] = m("div", { class: "header-wrapper" }, [
|
|
6329
6333
|
m("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
6330
6334
|
], -1)),
|
|
@@ -6343,13 +6347,13 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6343
6347
|
]);
|
|
6344
6348
|
};
|
|
6345
6349
|
}
|
|
6346
|
-
}),
|
|
6350
|
+
}), Wh = /* @__PURE__ */ W(Gh, [["__scopeId", "data-v-07cecf5b"]]), Zh = { class: "rla-form-basic-fields" }, Xh = { class: "rla-form-request-limits-subtitle" }, Jh = { class: "rla-form-request-limits-content" }, Qh = { class: "rla-form-window-type" }, ep = ["innerHTML"], tp = { class: "rla-form-window-type-radios" }, np = { class: "rla-form-request-limits-items" }, ip = { class: "rla-form-request-limits-row" }, ap = ["id"], op = { class: "rla-form-request-limits-actions" }, rp = {
|
|
6347
6351
|
key: 0,
|
|
6348
6352
|
class: "rla-form-request-limits-examples"
|
|
6349
|
-
},
|
|
6353
|
+
}, sp = { class: "rla-form-request-limits-examples-badges" }, lp = ["innerHTML"], dp = {
|
|
6350
6354
|
id: "rla-form-error-legend",
|
|
6351
6355
|
class: "rla-form-error-inputs"
|
|
6352
|
-
},
|
|
6356
|
+
}, up = /* @__PURE__ */ he({
|
|
6353
6357
|
__name: "RLAForm",
|
|
6354
6358
|
props: {
|
|
6355
6359
|
formSchema: {},
|
|
@@ -6363,7 +6367,7 @@ const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6363
6367
|
},
|
|
6364
6368
|
setup(e) {
|
|
6365
6369
|
var Z;
|
|
6366
|
-
zt(
|
|
6370
|
+
zt(Ne, (Z = fn()) == null ? void 0 : Z[Mt]);
|
|
6367
6371
|
const t = {
|
|
6368
6372
|
fixed: [
|
|
6369
6373
|
{
|
|
@@ -6490,7 +6494,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6490
6494
|
var E, w, j, K;
|
|
6491
6495
|
return ((E = o.formModel) == null ? void 0 : E["config-error_code"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_code")) == null ? void 0 : K.default);
|
|
6492
6496
|
}
|
|
6493
|
-
),
|
|
6497
|
+
), L = z(
|
|
6494
6498
|
() => {
|
|
6495
6499
|
var E, w, j, K;
|
|
6496
6500
|
return ((E = o.formModel) == null ? void 0 : E["config-error_message"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_message")) == null ? void 0 : K.default);
|
|
@@ -6535,7 +6539,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6535
6539
|
}), (E, w) => {
|
|
6536
6540
|
const j = D("KLabel"), K = D("KRadio"), H = D("KInput"), ge = D("KButton"), Ke = D("KBadge"), fe = D("KTooltip"), Be = D("KCard"), Sn = D("KSelect"), Ht = D("KCollapse");
|
|
6537
6541
|
return c(), _(Y, null, [
|
|
6538
|
-
m("div",
|
|
6542
|
+
m("div", Zh, [
|
|
6539
6543
|
O(ue, {
|
|
6540
6544
|
model: E.formModel,
|
|
6541
6545
|
options: E.formOptions,
|
|
@@ -6550,15 +6554,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6550
6554
|
required: ""
|
|
6551
6555
|
}, {
|
|
6552
6556
|
default: M(() => [
|
|
6553
|
-
ce(
|
|
6557
|
+
ce(N(I(a)("rla.request_limits.title")), 1)
|
|
6554
6558
|
]),
|
|
6555
6559
|
_: 1
|
|
6556
6560
|
}),
|
|
6557
|
-
m("div",
|
|
6561
|
+
m("div", Xh, N(I(a)("rla.request_limits.subtitle")), 1)
|
|
6558
6562
|
]),
|
|
6559
6563
|
default: M(() => [
|
|
6560
|
-
m("div",
|
|
6561
|
-
m("div",
|
|
6564
|
+
m("div", Jh, [
|
|
6565
|
+
m("div", Qh, [
|
|
6562
6566
|
O(j, {
|
|
6563
6567
|
class: "rla-form-window-type-label",
|
|
6564
6568
|
"tooltip-attributes": {
|
|
@@ -6569,14 +6573,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6569
6573
|
tooltip: M(() => [
|
|
6570
6574
|
m("div", {
|
|
6571
6575
|
innerHTML: I(a)("rla.window_type.help")
|
|
6572
|
-
}, null, 8,
|
|
6576
|
+
}, null, 8, ep)
|
|
6573
6577
|
]),
|
|
6574
6578
|
default: M(() => [
|
|
6575
|
-
ce(
|
|
6579
|
+
ce(N(I(a)("rla.window_type.label")) + " ", 1)
|
|
6576
6580
|
]),
|
|
6577
6581
|
_: 1
|
|
6578
6582
|
}),
|
|
6579
|
-
m("div",
|
|
6583
|
+
m("div", tp, [
|
|
6580
6584
|
(c(!0), _(Y, null, oe(q.value, ($) => (c(), U(K, {
|
|
6581
6585
|
key: `window-type-${$}`,
|
|
6582
6586
|
"model-value": k.value,
|
|
@@ -6585,13 +6589,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6585
6589
|
"onUpdate:modelValue": F
|
|
6586
6590
|
}, {
|
|
6587
6591
|
default: M(() => [
|
|
6588
|
-
ce(
|
|
6592
|
+
ce(N(I(a)(`rla.window_type.options.${$}`)), 1)
|
|
6589
6593
|
]),
|
|
6590
6594
|
_: 2
|
|
6591
6595
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
6592
6596
|
])
|
|
6593
6597
|
]),
|
|
6594
|
-
m("div",
|
|
6598
|
+
m("div", np, [
|
|
6595
6599
|
(c(!0), _(Y, null, oe(h.value, ($, ne) => (c(), _("div", {
|
|
6596
6600
|
key: ne.toString()
|
|
6597
6601
|
}, [
|
|
@@ -6599,11 +6603,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6599
6603
|
for: `rla-form-request-limits-item-${ne}-legend`
|
|
6600
6604
|
}, {
|
|
6601
6605
|
default: M(() => [
|
|
6602
|
-
ce(
|
|
6606
|
+
ce(N(I(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
|
|
6603
6607
|
]),
|
|
6604
6608
|
_: 2
|
|
6605
6609
|
}, 1032, ["for"]),
|
|
6606
|
-
m("div",
|
|
6610
|
+
m("div", ip, [
|
|
6607
6611
|
m("legend", {
|
|
6608
6612
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
6609
6613
|
class: "rla-form-request-limits-inputs"
|
|
@@ -6614,16 +6618,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6614
6618
|
type: "number",
|
|
6615
6619
|
"onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
|
|
6616
6620
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6617
|
-
m("div", null,
|
|
6621
|
+
m("div", null, N(I(a)("rla.request_limits.interval_determiner")), 1),
|
|
6618
6622
|
O(H, {
|
|
6619
6623
|
"model-value": $.windowSize && $.windowSize.toString(),
|
|
6620
6624
|
placeholder: I(a)("rla.request_limits.time_interval"),
|
|
6621
6625
|
type: "number",
|
|
6622
6626
|
"onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
|
|
6623
6627
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6624
|
-
m("div", null,
|
|
6625
|
-
], 8,
|
|
6626
|
-
m("div",
|
|
6628
|
+
m("div", null, N(I(a)("rla.request_limits.seconds")), 1)
|
|
6629
|
+
], 8, ap),
|
|
6630
|
+
m("div", op, [
|
|
6627
6631
|
O(ge, {
|
|
6628
6632
|
appearance: "tertiary",
|
|
6629
6633
|
disabled: h.value.length <= 1,
|
|
@@ -6647,18 +6651,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6647
6651
|
])
|
|
6648
6652
|
]))), 128))
|
|
6649
6653
|
]),
|
|
6650
|
-
d.value.length > 0 ? (c(), _("div",
|
|
6651
|
-
m("div", null,
|
|
6652
|
-
m("div",
|
|
6654
|
+
d.value.length > 0 ? (c(), _("div", rp, [
|
|
6655
|
+
m("div", null, N(I(a)("rla.start_with_a_use_case")), 1),
|
|
6656
|
+
m("div", sp, [
|
|
6653
6657
|
(c(!0), _(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
|
|
6654
6658
|
key: `use-case-${ne}`,
|
|
6655
6659
|
"max-width": "300"
|
|
6656
6660
|
}, {
|
|
6657
6661
|
content: M(() => [
|
|
6658
|
-
m("div", null,
|
|
6662
|
+
m("div", null, N($.description), 1),
|
|
6659
6663
|
w[10] || (w[10] = m("br", null, null, -1)),
|
|
6660
|
-
m("div", null,
|
|
6661
|
-
m("div", null,
|
|
6664
|
+
m("div", null, N(I(a)("rla.request_limits.label")) + ": " + N($.config.limit), 1),
|
|
6665
|
+
m("div", null, N(I(a)("rla.request_limits.time_interval")) + ": " + N($.config.window_size), 1)
|
|
6662
6666
|
]),
|
|
6663
6667
|
default: M(() => [
|
|
6664
6668
|
O(Ke, {
|
|
@@ -6667,7 +6671,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6667
6671
|
onClick: () => T($, `${k.value}-${ne}`)
|
|
6668
6672
|
}, {
|
|
6669
6673
|
default: M(() => [
|
|
6670
|
-
ce(
|
|
6674
|
+
ce(N($.label), 1)
|
|
6671
6675
|
]),
|
|
6672
6676
|
_: 2
|
|
6673
6677
|
}, 1032, ["appearance", "onClick"])
|
|
@@ -6698,7 +6702,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6698
6702
|
"label-tooltip": M(() => [
|
|
6699
6703
|
m("div", {
|
|
6700
6704
|
innerHTML: u.value && u.value.help
|
|
6701
|
-
}, null, 8,
|
|
6705
|
+
}, null, 8, lp)
|
|
6702
6706
|
]),
|
|
6703
6707
|
_: 1
|
|
6704
6708
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -6713,11 +6717,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6713
6717
|
}
|
|
6714
6718
|
}, {
|
|
6715
6719
|
default: M(() => [
|
|
6716
|
-
ce(
|
|
6720
|
+
ce(N(I(a)("rla.error_message.label")), 1)
|
|
6717
6721
|
]),
|
|
6718
6722
|
_: 1
|
|
6719
6723
|
}, 8, ["info"]),
|
|
6720
|
-
m("legend",
|
|
6724
|
+
m("legend", dp, [
|
|
6721
6725
|
O(H, {
|
|
6722
6726
|
class: "input-error-code",
|
|
6723
6727
|
"model-value": C.value && C.value.toString(),
|
|
@@ -6727,7 +6731,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6727
6731
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6728
6732
|
w[11] || (w[11] = m("div", null, ":", -1)),
|
|
6729
6733
|
O(H, {
|
|
6730
|
-
"model-value":
|
|
6734
|
+
"model-value": L.value,
|
|
6731
6735
|
placeholder: I(a)("rla.error_message.message_placeholder"),
|
|
6732
6736
|
"onUpdate:modelValue": w[4] || (w[4] = ($) => E.onModelUpdated($, "config-error_message"))
|
|
6733
6737
|
}, null, 8, ["model-value", "placeholder"])
|
|
@@ -6779,20 +6783,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6779
6783
|
], 64);
|
|
6780
6784
|
};
|
|
6781
6785
|
}
|
|
6782
|
-
}),
|
|
6786
|
+
}), cp = /* @__PURE__ */ W(up, [["__scopeId", "data-v-dc7ac5da"]]), bp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6783
6787
|
__proto__: null,
|
|
6784
|
-
ACMEForm:
|
|
6785
|
-
ExitTransformer:
|
|
6786
|
-
OIDCForm:
|
|
6787
|
-
PostFunction:
|
|
6788
|
-
RLAForm:
|
|
6789
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6788
|
+
ACMEForm: Wh,
|
|
6789
|
+
ExitTransformer: Vh,
|
|
6790
|
+
OIDCForm: Lh,
|
|
6791
|
+
PostFunction: Dh,
|
|
6792
|
+
RLAForm: cp
|
|
6793
|
+
}, Symbol.toStringTag, { value: "Module" })), _p = [
|
|
6790
6794
|
"array",
|
|
6791
6795
|
"metric",
|
|
6792
6796
|
"advanced",
|
|
6793
6797
|
"selectionGroup",
|
|
6794
6798
|
"object-advanced"
|
|
6795
|
-
],
|
|
6799
|
+
], Tp = (e) => ({
|
|
6796
6800
|
"openid-connect": "OIDCForm",
|
|
6797
6801
|
"post-function": "PostFunction",
|
|
6798
6802
|
// Pre and Post function plugins are using same component
|
|
@@ -6801,18 +6805,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6801
6805
|
"rate-limiting-advanced": "RLAForm"
|
|
6802
6806
|
})[e];
|
|
6803
6807
|
export {
|
|
6804
|
-
|
|
6808
|
+
Ne as AUTOFILL_SLOT,
|
|
6805
6809
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6806
6810
|
je as FIELD_STATES,
|
|
6807
6811
|
Se as FORMS_API_KEY,
|
|
6808
6812
|
al as FORMS_CONFIG,
|
|
6809
6813
|
un as PartialType,
|
|
6810
6814
|
ol as REDIS_PARTIAL_FETCHER_KEY,
|
|
6811
|
-
|
|
6815
|
+
yp as REDIS_PARTIAL_INFO,
|
|
6812
6816
|
ue as VueFormGenerator,
|
|
6813
|
-
|
|
6817
|
+
vp as abstractField,
|
|
6814
6818
|
qe as composables,
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6819
|
+
_p as customFields,
|
|
6820
|
+
Tp as getSharedFormName,
|
|
6821
|
+
bp as sharedForms
|
|
6818
6822
|
};
|