@kong-ui-public/forms 4.17.7-pr.2502.847a8cd63.0 → 4.17.7
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 +599 -602
- package/dist/forms.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +1 -1
- package/dist/types/components/fields/FieldAutoSuggestV2.vue.d.ts +1 -1
- package/dist/types/const.d.ts +1 -0
- package/dist/types/const.d.ts.map +1 -1
- package/package.json +3 -3
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 L, normalizeClass as ee, createVNode as O, defineComponent as he, provide as zt, resolveComponent as D, withCtx as M, renderSlot as Oe, unref as I, createTextVNode as ce, 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, Li = pr ? Pe.Buffer : void 0, gr = Li ? Li.isBuffer : void 0, Ua = gr || hr, yr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
|
|
62
|
+
function La(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 Na(e) {
|
|
68
68
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= br;
|
|
69
69
|
}
|
|
70
|
-
var _r = "[object Arguments]", Tr = "[object Array]", Sr = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Mr = "[object Function]", Ar = "[object Map]", Ir = "[object Number]", Cr = "[object Object]", Or = "[object RegExp]", Fr = "[object Set]", kr = "[object String]", Rr = "[object WeakMap]", Ur = "[object ArrayBuffer]",
|
|
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]", Lr = "[object DataView]", Nr = "[object Float32Array]", Pr = "[object Float64Array]", Dr = "[object Int8Array]", $r = "[object Int16Array]", Vr = "[object Int32Array]", jr = "[object Uint8Array]", qr = "[object Uint8ClampedArray]", Kr = "[object Uint16Array]", Br = "[object Uint32Array]", Q = {};
|
|
71
|
+
Q[Nr] = Q[Pr] = Q[Dr] = Q[$r] = Q[Vr] = Q[jr] = Q[qr] = Q[Kr] = Q[Br] = !0;
|
|
72
|
+
Q[_r] = Q[Tr] = Q[Ur] = Q[Sr] = Q[Lr] = Q[wr] = Q[Er] = Q[Mr] = Q[Ar] = Q[Ir] = Q[Cr] = Q[Or] = Q[Fr] = Q[kr] = Q[Rr] = !1;
|
|
73
73
|
function zr(e) {
|
|
74
|
-
return it(e) &&
|
|
74
|
+
return it(e) && Na(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, Ln = 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 || Ln && Ln.binding && Ln.binding("util");
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
|
-
}(),
|
|
87
|
+
}(), Ni = St && St.isTypedArray, Hr = Ni ? ei(Ni) : 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
|
+
La(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 && Na(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 Nn = Pe["__core-js_shared__"], Pi = function() {
|
|
171
|
+
var e = /[^.]+$/.exec(Nn && Nn.keys && Nn.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 Ls(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 = Ls;
|
|
246
|
+
function Ns() {
|
|
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 = Ns;
|
|
285
285
|
Ze.prototype.delete = $s;
|
|
286
286
|
Ze.prototype.get = Vs;
|
|
287
287
|
Ze.prototype.has = js;
|
|
@@ -396,23 +396,23 @@ 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", vp = "redis-partial-info", Mt = "autofill", Le = "autofillSlot", je = {
|
|
400
400
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
401
401
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
402
402
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
403
403
|
SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
|
|
404
|
-
};
|
|
404
|
+
}, rl = "—";
|
|
405
405
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
406
406
|
const {
|
|
407
407
|
entries: qa,
|
|
408
408
|
setPrototypeOf: Vi,
|
|
409
|
-
isFrozen:
|
|
410
|
-
getPrototypeOf:
|
|
411
|
-
getOwnPropertyDescriptor:
|
|
409
|
+
isFrozen: sl,
|
|
410
|
+
getPrototypeOf: ll,
|
|
411
|
+
getOwnPropertyDescriptor: dl
|
|
412
412
|
} = Object;
|
|
413
413
|
let {
|
|
414
414
|
freeze: Me,
|
|
415
|
-
seal:
|
|
415
|
+
seal: Ne,
|
|
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
|
+
Ne || (Ne = 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),
|
|
433
|
+
const en = Ae(Array.prototype.forEach), ul = Ae(Array.prototype.lastIndexOf), ji = Ae(Array.prototype.pop), Rt = Ae(Array.prototype.push), cl = Ae(Array.prototype.splice), nn = Ae(String.prototype.toLowerCase), Pn = Ae(String.prototype.toString), qi = Ae(String.prototype.match), Ut = Ae(String.prototype.replace), ml = Ae(String.prototype.indexOf), fl = Ae(String.prototype.trim), De = Ae(Object.prototype.hasOwnProperty), Te = Ae(RegExp.prototype.test), Lt = hl(TypeError);
|
|
434
434
|
function Ae(e) {
|
|
435
435
|
return function(t) {
|
|
436
436
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -439,7 +439,7 @@ function Ae(e) {
|
|
|
439
439
|
return zn(e, t, i);
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function hl(e) {
|
|
443
443
|
return function() {
|
|
444
444
|
for (var t = arguments.length, n = new Array(t), i = 0; i < t; i++)
|
|
445
445
|
n[i] = arguments[i];
|
|
@@ -454,13 +454,13 @@ function x(e, t) {
|
|
|
454
454
|
let a = t[i];
|
|
455
455
|
if (typeof a == "string") {
|
|
456
456
|
const o = n(a);
|
|
457
|
-
o !== a && (
|
|
457
|
+
o !== a && (sl(t) || (t[i] = o), a = o);
|
|
458
458
|
}
|
|
459
459
|
e[a] = !0;
|
|
460
460
|
}
|
|
461
461
|
return e;
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function pl(e) {
|
|
464
464
|
for (let t = 0; t < e.length; t++)
|
|
465
465
|
De(e, t) || (e[t] = null);
|
|
466
466
|
return e;
|
|
@@ -468,44 +468,44 @@ function hl(e) {
|
|
|
468
468
|
function Ye(e) {
|
|
469
469
|
const t = Ka(null);
|
|
470
470
|
for (const [n, i] of qa(e))
|
|
471
|
-
De(e, n) && (Array.isArray(i) ? t[n] =
|
|
471
|
+
De(e, n) && (Array.isArray(i) ? t[n] = pl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Ye(i) : t[n] = i);
|
|
472
472
|
return t;
|
|
473
473
|
}
|
|
474
|
-
function
|
|
474
|
+
function Nt(e, t) {
|
|
475
475
|
for (; e !== null; ) {
|
|
476
|
-
const i =
|
|
476
|
+
const i = dl(e, t);
|
|
477
477
|
if (i) {
|
|
478
478
|
if (i.get)
|
|
479
479
|
return Ae(i.get);
|
|
480
480
|
if (typeof i.value == "function")
|
|
481
481
|
return Ae(i.value);
|
|
482
482
|
}
|
|
483
|
-
e =
|
|
483
|
+
e = ll(e);
|
|
484
484
|
}
|
|
485
485
|
function n() {
|
|
486
486
|
return null;
|
|
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"]),
|
|
490
|
+
const Ki = Me(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Dn = Me(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), $n = Me(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), gl = Me(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Vn = Me(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), yl = Me(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Bi = Me(["#text"]), zi = Me(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), jn = Me(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), xi = Me(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), tn = Me(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vl = Ne(/\{\{[\w\W]*|[\w\W]*\}\}/gm), bl = Ne(/<%[\w\W]*|[\w\W]*%>/gm), _l = Ne(/\$\{[\w\W]*/gm), Tl = Ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Sl = Ne(/^aria-[\-\w]+$/), Ba = Ne(
|
|
491
491
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
492
492
|
// eslint-disable-line no-useless-escape
|
|
493
|
-
),
|
|
493
|
+
), wl = Ne(/^(?:\w+script|data):/i), El = Ne(
|
|
494
494
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
495
495
|
// eslint-disable-line no-control-regex
|
|
496
|
-
), za =
|
|
496
|
+
), za = Ne(/^html$/i), Ml = Ne(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
497
497
|
var Hi = /* @__PURE__ */ Object.freeze({
|
|
498
498
|
__proto__: null,
|
|
499
|
-
ARIA_ATTR:
|
|
500
|
-
ATTR_WHITESPACE:
|
|
501
|
-
CUSTOM_ELEMENT:
|
|
502
|
-
DATA_ATTR:
|
|
499
|
+
ARIA_ATTR: Sl,
|
|
500
|
+
ATTR_WHITESPACE: El,
|
|
501
|
+
CUSTOM_ELEMENT: Ml,
|
|
502
|
+
DATA_ATTR: Tl,
|
|
503
503
|
DOCTYPE_NAME: za,
|
|
504
|
-
ERB_EXPR:
|
|
504
|
+
ERB_EXPR: bl,
|
|
505
505
|
IS_ALLOWED_URI: Ba,
|
|
506
|
-
IS_SCRIPT_OR_DATA:
|
|
507
|
-
MUSTACHE_EXPR:
|
|
508
|
-
TMPLIT_EXPR:
|
|
506
|
+
IS_SCRIPT_OR_DATA: wl,
|
|
507
|
+
MUSTACHE_EXPR: vl,
|
|
508
|
+
TMPLIT_EXPR: _l
|
|
509
509
|
});
|
|
510
510
|
const Pt = {
|
|
511
511
|
element: 1,
|
|
@@ -514,9 +514,9 @@ const Pt = {
|
|
|
514
514
|
progressingInstruction: 7,
|
|
515
515
|
comment: 8,
|
|
516
516
|
document: 9
|
|
517
|
-
},
|
|
517
|
+
}, Al = function() {
|
|
518
518
|
return typeof window > "u" ? null : window;
|
|
519
|
-
},
|
|
519
|
+
}, Il = function(t, n) {
|
|
520
520
|
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
521
521
|
return null;
|
|
522
522
|
let i = null;
|
|
@@ -549,7 +549,7 @@ const Pt = {
|
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
551
|
function xa() {
|
|
552
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
552
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Al();
|
|
553
553
|
const t = (P) => xa(P);
|
|
554
554
|
if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== Pt.document || !e.Element)
|
|
555
555
|
return t.isSupported = !1, t;
|
|
@@ -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 = Nt(q, "cloneNode"), A = Nt(q, "remove"), C = Nt(q, "nextSibling"), N = Nt(q, "childNodes"), T = Nt(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 Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
644
644
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
645
|
-
throw
|
|
645
|
+
throw Lt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
646
646
|
F = l.TRUSTED_TYPES_POLICY, y = F.createHTML("");
|
|
647
647
|
} else
|
|
648
|
-
F === void 0 && (F =
|
|
648
|
+
F === void 0 && (F = Il(k, a)), F !== null && typeof y == "string" && (y = F.createHTML(""));
|
|
649
649
|
Me && Me(l), vt = l;
|
|
650
650
|
}
|
|
651
|
-
}, vi = x({}, [...Dn, ...$n, ...
|
|
651
|
+
}, vi = x({}, [...Dn, ...$n, ...gl]), bi = x({}, [...Vn, ...yl]), Lo = 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 = N(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 && !Lo(l) || (R === "noscript" || R === "noembed" || R === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ve(l), !0) : (ft && l.nodeType === Pt.text && (S = l.textContent, en([j, K, H], (te) => {
|
|
759
759
|
S = Ut(S, te, " ");
|
|
760
760
|
}), l.textContent !== S && (Rt(t.removed, {
|
|
761
761
|
element: l.cloneNode()
|
|
@@ -776,7 +776,7 @@ function xa() {
|
|
|
776
776
|
) return !1;
|
|
777
777
|
} else if (!Cn[S]) {
|
|
778
778
|
if (!Te(Ht, Ut(R, Be, ""))) {
|
|
779
|
-
if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" &&
|
|
779
|
+
if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && ml(R, "data:") === 0 && hi[l])) {
|
|
780
780
|
if (!(di && !Te(fe, Ut(R, Be, "")))) {
|
|
781
781
|
if (R)
|
|
782
782
|
return !1;
|
|
@@ -810,7 +810,7 @@ function xa() {
|
|
|
810
810
|
namespaceURI: Ie,
|
|
811
811
|
value: He
|
|
812
812
|
} = be, Ft = ye(pe), Un = He;
|
|
813
|
-
let _e = pe === "value" ? Un :
|
|
813
|
+
let _e = pe === "value" ? Un : fl(Un);
|
|
814
814
|
if (R.attrName = Ft, R.attrValue = _e, R.keepAttr = !0, R.forceKeepAttr = void 0, xe(w.uponSanitizeAttribute, l, R), _e = R.attrValue, mi && (Ft === "id" || Ft === "name") && (bt(pe, l), _e = Co + _e), Yt && Te(/((--!?|])>)|<\/(style|title)/i, _e)) {
|
|
815
815
|
bt(pe, l);
|
|
816
816
|
continue;
|
|
@@ -852,7 +852,7 @@ function xa() {
|
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
xe(w.afterSanitizeAttributes, l, null);
|
|
855
|
-
},
|
|
855
|
+
}, No = 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 Lt("dirty is not a string, aborting");
|
|
868
868
|
} else
|
|
869
|
-
throw
|
|
869
|
+
throw Lt("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 Lt("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 && No(te.content);
|
|
891
891
|
if (Ct)
|
|
892
892
|
return P;
|
|
893
893
|
if (ht) {
|
|
@@ -916,8 +916,8 @@ function xa() {
|
|
|
916
916
|
typeof l == "function" && Rt(w[P], l);
|
|
917
917
|
}, t.removeHook = function(P, l) {
|
|
918
918
|
if (l !== void 0) {
|
|
919
|
-
const S =
|
|
920
|
-
return S === -1 ? void 0 :
|
|
919
|
+
const S = ul(w[P], l);
|
|
920
|
+
return S === -1 ? void 0 : cl(w[P], S, 1)[0];
|
|
921
921
|
}
|
|
922
922
|
return ji(w[P]);
|
|
923
923
|
}, t.removeHooks = function(P) {
|
|
@@ -926,26 +926,26 @@ function xa() {
|
|
|
926
926
|
w = Yi();
|
|
927
927
|
}, t;
|
|
928
928
|
}
|
|
929
|
-
var
|
|
930
|
-
function
|
|
929
|
+
var Cl = xa();
|
|
930
|
+
function Ol() {
|
|
931
931
|
this.__data__ = new Ze(), this.size = 0;
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Fl(e) {
|
|
934
934
|
var t = this.__data__, n = t.delete(e);
|
|
935
935
|
return this.size = t.size, n;
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function kl(e) {
|
|
938
938
|
return this.__data__.get(e);
|
|
939
939
|
}
|
|
940
|
-
function
|
|
940
|
+
function Rl(e) {
|
|
941
941
|
return this.__data__.has(e);
|
|
942
942
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
943
|
+
var Ul = 200;
|
|
944
|
+
function Ll(e, t) {
|
|
945
945
|
var n = this.__data__;
|
|
946
946
|
if (n instanceof Ze) {
|
|
947
947
|
var i = n.__data__;
|
|
948
|
-
if (!Bt || i.length <
|
|
948
|
+
if (!Bt || i.length < Ul - 1)
|
|
949
949
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
950
950
|
n = this.__data__ = new Xe(i);
|
|
951
951
|
}
|
|
@@ -955,11 +955,11 @@ function At(e) {
|
|
|
955
955
|
var t = this.__data__ = new Ze(e);
|
|
956
956
|
this.size = t.size;
|
|
957
957
|
}
|
|
958
|
-
At.prototype.clear =
|
|
959
|
-
At.prototype.delete =
|
|
960
|
-
At.prototype.get =
|
|
961
|
-
At.prototype.has =
|
|
962
|
-
At.prototype.set =
|
|
958
|
+
At.prototype.clear = Ol;
|
|
959
|
+
At.prototype.delete = Fl;
|
|
960
|
+
At.prototype.get = kl;
|
|
961
|
+
At.prototype.has = Rl;
|
|
962
|
+
At.prototype.set = Ll;
|
|
963
963
|
var on = function() {
|
|
964
964
|
try {
|
|
965
965
|
var e = mt(Object, "defineProperty");
|
|
@@ -975,10 +975,10 @@ function Ha(e, t, n) {
|
|
|
975
975
|
writable: !0
|
|
976
976
|
}) : e[t] = n;
|
|
977
977
|
}
|
|
978
|
-
var Nl = Object.prototype,
|
|
978
|
+
var Nl = Object.prototype, Pl = Nl.hasOwnProperty;
|
|
979
979
|
function Ya(e, t, n) {
|
|
980
980
|
var i = e[t];
|
|
981
|
-
(!(
|
|
981
|
+
(!(Pl.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;
|
|
@@ -989,45 +989,45 @@ function _n(e, t, n, i) {
|
|
|
989
989
|
}
|
|
990
990
|
return n;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function Dl(e, t) {
|
|
993
993
|
return e && _n(t, pn(t), e);
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function $l(e) {
|
|
996
996
|
var t = [];
|
|
997
997
|
if (e != null)
|
|
998
998
|
for (var n in Object(e))
|
|
999
999
|
t.push(n);
|
|
1000
1000
|
return t;
|
|
1001
1001
|
}
|
|
1002
|
-
var
|
|
1003
|
-
function
|
|
1002
|
+
var Vl = Object.prototype, jl = Vl.hasOwnProperty;
|
|
1003
|
+
function ql(e) {
|
|
1004
1004
|
if (!Fe(e))
|
|
1005
|
-
return
|
|
1005
|
+
return $l(e);
|
|
1006
1006
|
var t = ti(e), n = [];
|
|
1007
1007
|
for (var i in e)
|
|
1008
|
-
i == "constructor" && (t || !
|
|
1008
|
+
i == "constructor" && (t || !jl.call(e, i)) || n.push(i);
|
|
1009
1009
|
return n;
|
|
1010
1010
|
}
|
|
1011
1011
|
function Tn(e) {
|
|
1012
|
-
return hn(e) ? Da(e, !0) :
|
|
1012
|
+
return hn(e) ? Da(e, !0) : ql(e);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function Kl(e, t) {
|
|
1015
1015
|
return e && _n(t, Tn(t), e);
|
|
1016
1016
|
}
|
|
1017
|
-
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module,
|
|
1018
|
-
function
|
|
1017
|
+
var Ga = typeof exports == "object" && exports && !exports.nodeType && exports, Gi = Ga && typeof module == "object" && module && !module.nodeType && module, Bl = Gi && Gi.exports === Ga, Wi = Bl ? Pe.Buffer : void 0, Zi = Wi ? Wi.allocUnsafe : void 0;
|
|
1018
|
+
function zl(e, t) {
|
|
1019
1019
|
if (t)
|
|
1020
1020
|
return e.slice();
|
|
1021
1021
|
var n = e.length, i = Zi ? Zi(n) : new e.constructor(n);
|
|
1022
1022
|
return e.copy(i), i;
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1024
|
+
function xl(e, t) {
|
|
1025
1025
|
var n = -1, i = e.length;
|
|
1026
1026
|
for (t || (t = Array(i)); ++n < i; )
|
|
1027
1027
|
t[n] = e[n];
|
|
1028
1028
|
return t;
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function Hl(e, t) {
|
|
1031
1031
|
for (var n = -1, i = e == null ? 0 : e.length, a = 0, o = []; ++n < i; ) {
|
|
1032
1032
|
var s = e[n];
|
|
1033
1033
|
t(s, n, e) && (o[a++] = s);
|
|
@@ -1037,12 +1037,12 @@ function xl(e, t) {
|
|
|
1037
1037
|
function Wa() {
|
|
1038
1038
|
return [];
|
|
1039
1039
|
}
|
|
1040
|
-
var
|
|
1041
|
-
return e == null ? [] : (e = Object(e),
|
|
1042
|
-
return
|
|
1040
|
+
var Yl = Object.prototype, Gl = Yl.propertyIsEnumerable, Xi = Object.getOwnPropertySymbols, ai = Xi ? function(e) {
|
|
1041
|
+
return e == null ? [] : (e = Object(e), Hl(Xi(e), function(t) {
|
|
1042
|
+
return Gl.call(e, t);
|
|
1043
1043
|
}));
|
|
1044
1044
|
} : Wa;
|
|
1045
|
-
function
|
|
1045
|
+
function Wl(e, t) {
|
|
1046
1046
|
return _n(e, ai(e), t);
|
|
1047
1047
|
}
|
|
1048
1048
|
function Za(e, t) {
|
|
@@ -1050,81 +1050,80 @@ function Za(e, t) {
|
|
|
1050
1050
|
e[a + n] = t[n];
|
|
1051
1051
|
return e;
|
|
1052
1052
|
}
|
|
1053
|
-
var Xa = $a(Object.getPrototypeOf, Object),
|
|
1053
|
+
var Xa = $a(Object.getPrototypeOf, Object), Zl = Object.getOwnPropertySymbols, Ja = Zl ? function(e) {
|
|
1054
1054
|
for (var t = []; e; )
|
|
1055
1055
|
Za(t, ai(e)), e = Xa(e);
|
|
1056
1056
|
return t;
|
|
1057
1057
|
} : Wa;
|
|
1058
|
-
function
|
|
1058
|
+
function Xl(e, t) {
|
|
1059
1059
|
return _n(e, Ja(e), t);
|
|
1060
1060
|
}
|
|
1061
1061
|
function Qa(e, t, n) {
|
|
1062
1062
|
var i = t(e);
|
|
1063
1063
|
return at(e) ? i : Za(i, n(e));
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function Jl(e) {
|
|
1066
1066
|
return Qa(e, pn, ai);
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function Ql(e) {
|
|
1069
1069
|
return Qa(e, Tn, Ja);
|
|
1070
1070
|
}
|
|
1071
|
-
var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]",
|
|
1071
|
+
var Hn = mt(Pe, "DataView"), Yn = mt(Pe, "Promise"), Tt = mt(Pe, "Set"), Gn = mt(Pe, "WeakMap"), Ji = "[object Map]", ed = "[object Object]", Qi = "[object Promise]", ea = "[object Set]", ta = "[object WeakMap]", na = "[object DataView]", td = ct(Hn), nd = ct(Bt), id = ct(Yn), ad = ct(Tt), od = ct(Gn), Ge = nt;
|
|
1072
1072
|
(Hn && Ge(new Hn(new ArrayBuffer(1))) != na || Bt && Ge(new Bt()) != Ji || Yn && Ge(Yn.resolve()) != Qi || Tt && Ge(new Tt()) != ea || Gn && Ge(new Gn()) != ta) && (Ge = function(e) {
|
|
1073
|
-
var t = nt(e), n = t ==
|
|
1073
|
+
var t = nt(e), n = t == ed ? e.constructor : void 0, i = n ? ct(n) : "";
|
|
1074
1074
|
if (i)
|
|
1075
1075
|
switch (i) {
|
|
1076
|
-
case ed:
|
|
1077
|
-
return na;
|
|
1078
1076
|
case td:
|
|
1079
|
-
return
|
|
1077
|
+
return na;
|
|
1080
1078
|
case nd:
|
|
1081
|
-
return
|
|
1079
|
+
return Ji;
|
|
1082
1080
|
case id:
|
|
1083
|
-
return
|
|
1081
|
+
return Qi;
|
|
1084
1082
|
case ad:
|
|
1083
|
+
return ea;
|
|
1084
|
+
case od:
|
|
1085
1085
|
return ta;
|
|
1086
1086
|
}
|
|
1087
1087
|
return t;
|
|
1088
1088
|
});
|
|
1089
|
-
var
|
|
1090
|
-
function
|
|
1089
|
+
var rd = Object.prototype, sd = rd.hasOwnProperty;
|
|
1090
|
+
function ld(e) {
|
|
1091
1091
|
var t = e.length, n = new e.constructor(t);
|
|
1092
|
-
return t && typeof e[0] == "string" &&
|
|
1092
|
+
return t && typeof e[0] == "string" && sd.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
1093
1093
|
}
|
|
1094
1094
|
var ia = Pe.Uint8Array;
|
|
1095
1095
|
function oi(e) {
|
|
1096
1096
|
var t = new e.constructor(e.byteLength);
|
|
1097
1097
|
return new ia(t).set(new ia(e)), t;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function dd(e, t) {
|
|
1100
1100
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1101
1101
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
1102
1102
|
}
|
|
1103
|
-
var
|
|
1104
|
-
function
|
|
1105
|
-
var t = new e.constructor(e.source,
|
|
1103
|
+
var ud = /\w*$/;
|
|
1104
|
+
function cd(e) {
|
|
1105
|
+
var t = new e.constructor(e.source, ud.exec(e));
|
|
1106
1106
|
return t.lastIndex = e.lastIndex, t;
|
|
1107
1107
|
}
|
|
1108
1108
|
var aa = tt ? tt.prototype : void 0, oa = aa ? aa.valueOf : void 0;
|
|
1109
|
-
function
|
|
1109
|
+
function md(e) {
|
|
1110
1110
|
return oa ? Object(oa.call(e)) : {};
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function fd(e, t) {
|
|
1113
1113
|
var n = t ? oi(e.buffer) : e.buffer;
|
|
1114
1114
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1115
1115
|
}
|
|
1116
|
-
var
|
|
1117
|
-
function
|
|
1116
|
+
var hd = "[object Boolean]", pd = "[object Date]", gd = "[object Map]", yd = "[object Number]", vd = "[object RegExp]", bd = "[object Set]", _d = "[object String]", Td = "[object Symbol]", Sd = "[object ArrayBuffer]", wd = "[object DataView]", Ed = "[object Float32Array]", Md = "[object Float64Array]", Ad = "[object Int8Array]", Id = "[object Int16Array]", Cd = "[object Int32Array]", Od = "[object Uint8Array]", Fd = "[object Uint8ClampedArray]", kd = "[object Uint16Array]", Rd = "[object Uint32Array]";
|
|
1117
|
+
function Ud(e, t, n) {
|
|
1118
1118
|
var i = e.constructor;
|
|
1119
1119
|
switch (t) {
|
|
1120
|
-
case
|
|
1120
|
+
case Sd:
|
|
1121
1121
|
return oi(e);
|
|
1122
|
-
case fd:
|
|
1123
1122
|
case hd:
|
|
1123
|
+
case pd:
|
|
1124
1124
|
return new i(+e);
|
|
1125
|
-
case Sd:
|
|
1126
|
-
return ld(e, n);
|
|
1127
1125
|
case wd:
|
|
1126
|
+
return dd(e, n);
|
|
1128
1127
|
case Ed:
|
|
1129
1128
|
case Md:
|
|
1130
1129
|
case Ad:
|
|
@@ -1133,21 +1132,22 @@ function Rd(e, t, n) {
|
|
|
1133
1132
|
case Od:
|
|
1134
1133
|
case Fd:
|
|
1135
1134
|
case kd:
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
return new i();
|
|
1135
|
+
case Rd:
|
|
1136
|
+
return fd(e, n);
|
|
1139
1137
|
case gd:
|
|
1140
|
-
case bd:
|
|
1141
|
-
return new i(e);
|
|
1142
|
-
case yd:
|
|
1143
|
-
return ud(e);
|
|
1144
|
-
case vd:
|
|
1145
1138
|
return new i();
|
|
1139
|
+
case yd:
|
|
1146
1140
|
case _d:
|
|
1141
|
+
return new i(e);
|
|
1142
|
+
case vd:
|
|
1147
1143
|
return cd(e);
|
|
1144
|
+
case bd:
|
|
1145
|
+
return new i();
|
|
1146
|
+
case Td:
|
|
1147
|
+
return md(e);
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
var ra = Object.create,
|
|
1150
|
+
var ra = Object.create, Ld = /* @__PURE__ */ function() {
|
|
1151
1151
|
function e() {
|
|
1152
1152
|
}
|
|
1153
1153
|
return function(t) {
|
|
@@ -1161,64 +1161,64 @@ var ra = Object.create, Ud = /* @__PURE__ */ function() {
|
|
|
1161
1161
|
};
|
|
1162
1162
|
}();
|
|
1163
1163
|
function Nd(e) {
|
|
1164
|
-
return typeof e.constructor == "function" && !ti(e) ?
|
|
1164
|
+
return typeof e.constructor == "function" && !ti(e) ? Ld(Xa(e)) : {};
|
|
1165
1165
|
}
|
|
1166
|
-
var
|
|
1167
|
-
function
|
|
1168
|
-
return it(e) && Ge(e) ==
|
|
1166
|
+
var Pd = "[object Map]";
|
|
1167
|
+
function Dd(e) {
|
|
1168
|
+
return it(e) && Ge(e) == Pd;
|
|
1169
1169
|
}
|
|
1170
|
-
var sa = St && St.isMap,
|
|
1171
|
-
function
|
|
1172
|
-
return it(e) && Ge(e) ==
|
|
1170
|
+
var sa = St && St.isMap, $d = sa ? ei(sa) : Dd, Vd = "[object Set]";
|
|
1171
|
+
function jd(e) {
|
|
1172
|
+
return it(e) && Ge(e) == Vd;
|
|
1173
1173
|
}
|
|
1174
|
-
var la = St && St.isSet,
|
|
1175
|
-
J[eo] = J[
|
|
1176
|
-
J[
|
|
1174
|
+
var la = St && St.isSet, qd = la ? ei(la) : jd, Kd = 1, Bd = 2, zd = 4, eo = "[object Arguments]", xd = "[object Array]", Hd = "[object Boolean]", Yd = "[object Date]", Gd = "[object Error]", to = "[object Function]", Wd = "[object GeneratorFunction]", Zd = "[object Map]", Xd = "[object Number]", no = "[object Object]", Jd = "[object RegExp]", Qd = "[object Set]", eu = "[object String]", tu = "[object Symbol]", nu = "[object WeakMap]", iu = "[object ArrayBuffer]", au = "[object DataView]", ou = "[object Float32Array]", ru = "[object Float64Array]", su = "[object Int8Array]", lu = "[object Int16Array]", du = "[object Int32Array]", uu = "[object Uint8Array]", cu = "[object Uint8ClampedArray]", mu = "[object Uint16Array]", fu = "[object Uint32Array]", J = {};
|
|
1175
|
+
J[eo] = J[xd] = J[iu] = J[au] = J[Hd] = J[Yd] = J[ou] = J[ru] = J[su] = J[lu] = J[du] = J[Zd] = J[Xd] = J[no] = J[Jd] = J[Qd] = J[eu] = J[tu] = J[uu] = J[cu] = J[mu] = J[fu] = !0;
|
|
1176
|
+
J[Gd] = J[to] = J[nu] = !1;
|
|
1177
1177
|
function jt(e, t, n, i, a, o) {
|
|
1178
|
-
var s, r = t &
|
|
1178
|
+
var s, r = t & Kd, d = t & Bd, u = t & zd;
|
|
1179
1179
|
if (s !== void 0)
|
|
1180
1180
|
return s;
|
|
1181
1181
|
if (!Fe(e))
|
|
1182
1182
|
return e;
|
|
1183
1183
|
var p = at(e);
|
|
1184
1184
|
if (p) {
|
|
1185
|
-
if (s =
|
|
1186
|
-
return
|
|
1185
|
+
if (s = ld(e), !r)
|
|
1186
|
+
return xl(e, s);
|
|
1187
1187
|
} else {
|
|
1188
|
-
var f = Ge(e), b = f == to || f ==
|
|
1188
|
+
var f = Ge(e), b = f == to || f == Wd;
|
|
1189
1189
|
if (Ua(e))
|
|
1190
|
-
return
|
|
1190
|
+
return zl(e, r);
|
|
1191
1191
|
if (f == no || f == eo || b && !a) {
|
|
1192
1192
|
if (s = d || b ? {} : Nd(e), !r)
|
|
1193
|
-
return d ?
|
|
1193
|
+
return d ? Xl(e, Kl(s, e)) : Wl(e, Dl(s, e));
|
|
1194
1194
|
} else {
|
|
1195
1195
|
if (!J[f])
|
|
1196
1196
|
return a ? e : {};
|
|
1197
|
-
s =
|
|
1197
|
+
s = Ud(e, f, r);
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
o || (o = new At());
|
|
1201
1201
|
var k = o.get(e);
|
|
1202
1202
|
if (k)
|
|
1203
1203
|
return k;
|
|
1204
|
-
o.set(e, s),
|
|
1204
|
+
o.set(e, s), qd(e) ? e.forEach(function(A) {
|
|
1205
1205
|
s.add(jt(A, t, n, A, e, o));
|
|
1206
|
-
}) :
|
|
1206
|
+
}) : $d(e) && e.forEach(function(A, C) {
|
|
1207
1207
|
s.set(C, jt(A, t, n, C, e, o));
|
|
1208
1208
|
});
|
|
1209
|
-
var q = u ? d ?
|
|
1209
|
+
var q = u ? d ? Ql : Jl : d ? Tn : pn, h = p ? void 0 : q(e);
|
|
1210
1210
|
return Ca(h || e, function(A, C) {
|
|
1211
1211
|
h && (C = A, A = e[C]), Ya(s, C, jt(A, t, n, C, e, o));
|
|
1212
1212
|
}), s;
|
|
1213
1213
|
}
|
|
1214
|
-
var
|
|
1214
|
+
var hu = 1, pu = 4;
|
|
1215
1215
|
function We(e) {
|
|
1216
|
-
return jt(e,
|
|
1216
|
+
return jt(e, hu | pu);
|
|
1217
1217
|
}
|
|
1218
1218
|
const ri = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), da = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
1219
|
-
var
|
|
1219
|
+
var gu = "[object String]";
|
|
1220
1220
|
function st(e) {
|
|
1221
|
-
return typeof e == "string" || !at(e) && it(e) && nt(e) ==
|
|
1221
|
+
return typeof e == "string" || !at(e) && it(e) && nt(e) == gu;
|
|
1222
1222
|
}
|
|
1223
1223
|
const io = {
|
|
1224
1224
|
methods: {
|
|
@@ -1257,17 +1257,17 @@ const io = {
|
|
|
1257
1257
|
};
|
|
1258
1258
|
var qn = function() {
|
|
1259
1259
|
return Pe.Date.now();
|
|
1260
|
-
},
|
|
1261
|
-
function
|
|
1262
|
-
for (var t = e.length; t-- &&
|
|
1260
|
+
}, yu = /\s/;
|
|
1261
|
+
function vu(e) {
|
|
1262
|
+
for (var t = e.length; t-- && yu.test(e.charAt(t)); )
|
|
1263
1263
|
;
|
|
1264
1264
|
return t;
|
|
1265
1265
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1268
|
-
return e && e.slice(0,
|
|
1266
|
+
var bu = /^\s+/;
|
|
1267
|
+
function _u(e) {
|
|
1268
|
+
return e && e.slice(0, vu(e) + 1).replace(bu, "");
|
|
1269
1269
|
}
|
|
1270
|
-
var ua = NaN,
|
|
1270
|
+
var ua = NaN, Tu = /^[-+]0x[0-9a-f]+$/i, Su = /^0b[01]+$/i, wu = /^0o[0-7]+$/i, Eu = parseInt;
|
|
1271
1271
|
function Wn(e) {
|
|
1272
1272
|
if (typeof e == "number")
|
|
1273
1273
|
return e;
|
|
@@ -1279,16 +1279,16 @@ function Wn(e) {
|
|
|
1279
1279
|
}
|
|
1280
1280
|
if (typeof e != "string")
|
|
1281
1281
|
return e === 0 ? e : +e;
|
|
1282
|
-
e =
|
|
1283
|
-
var n =
|
|
1284
|
-
return n ||
|
|
1282
|
+
e = _u(e);
|
|
1283
|
+
var n = Su.test(e);
|
|
1284
|
+
return n || wu.test(e) ? Eu(e.slice(2), n ? 2 : 8) : Tu.test(e) ? ua : +e;
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var Mu = "Expected a function", Au = Math.max, Iu = Math.min;
|
|
1287
1287
|
function wt(e, t, n) {
|
|
1288
1288
|
var i, a, o, s, r, d, u = 0, p = !1, f = !1, b = !0;
|
|
1289
1289
|
if (typeof e != "function")
|
|
1290
|
-
throw new TypeError(
|
|
1291
|
-
t = Wn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ?
|
|
1290
|
+
throw new TypeError(Mu);
|
|
1291
|
+
t = Wn(t) || 0, Fe(n) && (p = !!n.leading, f = "maxWait" in n, o = f ? Au(Wn(n.maxWait) || 0, t) : o, b = "trailing" in n ? !!n.trailing : b);
|
|
1292
1292
|
function k(v) {
|
|
1293
1293
|
var g = i, V = a;
|
|
1294
1294
|
return i = a = void 0, u = v, s = e.apply(V, g), s;
|
|
@@ -1298,7 +1298,7 @@ function wt(e, t, n) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
function h(v) {
|
|
1300
1300
|
var g = v - d, V = v - u, Z = t - g;
|
|
1301
|
-
return f ?
|
|
1301
|
+
return f ? Iu(Z, o - V) : Z;
|
|
1302
1302
|
}
|
|
1303
1303
|
function A(v) {
|
|
1304
1304
|
var g = v - d, V = v - u;
|
|
@@ -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 N(v);
|
|
1311
1311
|
r = setTimeout(C, h(v));
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function N(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 : N(qn());
|
|
1321
1321
|
}
|
|
1322
1322
|
function y() {
|
|
1323
1323
|
var v = qn(), g = A(v);
|
|
@@ -1331,11 +1331,11 @@ function wt(e, t, n) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
return y.cancel = T, y.flush = F, y;
|
|
1333
1333
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function Cu(e) {
|
|
1336
|
-
return this.__data__.set(e, Iu), this;
|
|
1337
|
-
}
|
|
1334
|
+
var Cu = "__lodash_hash_undefined__";
|
|
1338
1335
|
function Ou(e) {
|
|
1336
|
+
return this.__data__.set(e, Cu), this;
|
|
1337
|
+
}
|
|
1338
|
+
function Fu(e) {
|
|
1339
1339
|
return this.__data__.has(e);
|
|
1340
1340
|
}
|
|
1341
1341
|
function rn(e) {
|
|
@@ -1343,34 +1343,34 @@ function rn(e) {
|
|
|
1343
1343
|
for (this.__data__ = new Xe(); ++t < n; )
|
|
1344
1344
|
this.add(e[t]);
|
|
1345
1345
|
}
|
|
1346
|
-
rn.prototype.add = rn.prototype.push =
|
|
1347
|
-
rn.prototype.has =
|
|
1348
|
-
function
|
|
1346
|
+
rn.prototype.add = rn.prototype.push = Ou;
|
|
1347
|
+
rn.prototype.has = Fu;
|
|
1348
|
+
function ku(e, t, n, i) {
|
|
1349
1349
|
for (var a = e.length, o = n + -1; ++o < a; )
|
|
1350
1350
|
if (t(e[o], o, e))
|
|
1351
1351
|
return o;
|
|
1352
1352
|
return -1;
|
|
1353
1353
|
}
|
|
1354
|
-
function
|
|
1354
|
+
function Ru(e) {
|
|
1355
1355
|
return e !== e;
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Uu(e, t, n) {
|
|
1358
1358
|
for (var i = n - 1, a = e.length; ++i < a; )
|
|
1359
1359
|
if (e[i] === t)
|
|
1360
1360
|
return i;
|
|
1361
1361
|
return -1;
|
|
1362
1362
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return t === t ?
|
|
1363
|
+
function Lu(e, t, n) {
|
|
1364
|
+
return t === t ? Uu(e, t, n) : ku(e, Ru, n);
|
|
1365
1365
|
}
|
|
1366
1366
|
function Nu(e, t) {
|
|
1367
1367
|
var n = e == null ? 0 : e.length;
|
|
1368
|
-
return !!n &&
|
|
1368
|
+
return !!n && Lu(e, t, 0) > -1;
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Pu(e, t) {
|
|
1371
1371
|
return e.has(t);
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Du() {
|
|
1374
1374
|
}
|
|
1375
1375
|
function ao(e) {
|
|
1376
1376
|
var t = -1, n = Array(e.size);
|
|
@@ -1378,16 +1378,16 @@ function ao(e) {
|
|
|
1378
1378
|
n[++t] = i;
|
|
1379
1379
|
}), n;
|
|
1380
1380
|
}
|
|
1381
|
-
var
|
|
1381
|
+
var $u = 1 / 0, Vu = Tt && 1 / ao(new Tt([, -0]))[1] == $u ? function(e) {
|
|
1382
1382
|
return new Tt(e);
|
|
1383
|
-
} :
|
|
1384
|
-
function
|
|
1383
|
+
} : Du, ju = 200;
|
|
1384
|
+
function qu(e, t, n) {
|
|
1385
1385
|
var i = -1, a = Nu, o = e.length, s = !0, r = [], d = r;
|
|
1386
|
-
if (o >=
|
|
1387
|
-
var u =
|
|
1386
|
+
if (o >= ju) {
|
|
1387
|
+
var u = Vu(e);
|
|
1388
1388
|
if (u)
|
|
1389
1389
|
return ao(u);
|
|
1390
|
-
s = !1, a =
|
|
1390
|
+
s = !1, a = Pu, d = new rn();
|
|
1391
1391
|
} else
|
|
1392
1392
|
d = r;
|
|
1393
1393
|
e:
|
|
@@ -1403,14 +1403,14 @@ function ju(e, t, n) {
|
|
|
1403
1403
|
return r;
|
|
1404
1404
|
}
|
|
1405
1405
|
function oo(e) {
|
|
1406
|
-
return e && e.length ?
|
|
1406
|
+
return e && e.length ? qu(e) : [];
|
|
1407
1407
|
}
|
|
1408
|
-
var
|
|
1408
|
+
var Ku = 0;
|
|
1409
1409
|
function ro(e) {
|
|
1410
|
-
var t = ++
|
|
1410
|
+
var t = ++Ku;
|
|
1411
1411
|
return ja(e) + t;
|
|
1412
1412
|
}
|
|
1413
|
-
var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d",
|
|
1413
|
+
var so = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Qe = "\\d\\d?", Je = "\\d\\d", Bu = "\\d{3}", zu = "\\d{4}", qt = "[^\\s]+", lo = /\[([^]*?)\]/gm;
|
|
1414
1414
|
function uo(e, t) {
|
|
1415
1415
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
1416
1416
|
n.push(e[i].substr(0, t));
|
|
@@ -1455,16 +1455,16 @@ var co = [
|
|
|
1455
1455
|
"October",
|
|
1456
1456
|
"November",
|
|
1457
1457
|
"December"
|
|
1458
|
-
],
|
|
1459
|
-
dayNamesShort:
|
|
1458
|
+
], xu = uo(mo, 3), Hu = uo(co, 3), fo = {
|
|
1459
|
+
dayNamesShort: Hu,
|
|
1460
1460
|
dayNames: co,
|
|
1461
|
-
monthNamesShort:
|
|
1461
|
+
monthNamesShort: xu,
|
|
1462
1462
|
monthNames: mo,
|
|
1463
1463
|
amPm: ["am", "pm"],
|
|
1464
1464
|
DoFn: function(e) {
|
|
1465
1465
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
1466
1466
|
}
|
|
1467
|
-
}, sn = lt({}, fo),
|
|
1467
|
+
}, sn = lt({}, fo), Yu = function(e) {
|
|
1468
1468
|
return sn = lt(sn, e);
|
|
1469
1469
|
}, ma = function(e) {
|
|
1470
1470
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
@@ -1472,7 +1472,7 @@ var co = [
|
|
|
1472
1472
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
1473
1473
|
e = "0" + e;
|
|
1474
1474
|
return e;
|
|
1475
|
-
},
|
|
1475
|
+
}, Gu = {
|
|
1476
1476
|
D: function(e) {
|
|
1477
1477
|
return String(e.getDate());
|
|
1478
1478
|
},
|
|
@@ -1579,7 +1579,7 @@ var co = [
|
|
|
1579
1579
|
}
|
|
1580
1580
|
return 0;
|
|
1581
1581
|
}
|
|
1582
|
-
],
|
|
1582
|
+
], Wu = {
|
|
1583
1583
|
D: ["day", Qe],
|
|
1584
1584
|
DD: ["day", Je],
|
|
1585
1585
|
Do: ["day", Qe + qt, function(e) {
|
|
@@ -1603,14 +1603,14 @@ var co = [
|
|
|
1603
1603
|
mm: ["minute", Je],
|
|
1604
1604
|
s: ["second", Qe],
|
|
1605
1605
|
ss: ["second", Je],
|
|
1606
|
-
YYYY: ["year",
|
|
1606
|
+
YYYY: ["year", zu],
|
|
1607
1607
|
S: ["millisecond", "\\d", function(e) {
|
|
1608
1608
|
return +e * 100;
|
|
1609
1609
|
}],
|
|
1610
1610
|
SS: ["millisecond", Je, function(e) {
|
|
1611
1611
|
return +e * 10;
|
|
1612
1612
|
}],
|
|
1613
|
-
SSS: ["millisecond",
|
|
1613
|
+
SSS: ["millisecond", Bu],
|
|
1614
1614
|
d: ha,
|
|
1615
1615
|
dd: ha,
|
|
1616
1616
|
ddd: pa,
|
|
@@ -1632,9 +1632,9 @@ var co = [
|
|
|
1632
1632
|
shortTime: "HH:mm",
|
|
1633
1633
|
mediumTime: "HH:mm:ss",
|
|
1634
1634
|
longTime: "HH:mm:ss.SSS"
|
|
1635
|
-
},
|
|
1635
|
+
}, Zu = function(e) {
|
|
1636
1636
|
return lt(ln, e);
|
|
1637
|
-
},
|
|
1637
|
+
}, Xu = function(e, t, n) {
|
|
1638
1638
|
if (t === void 0 && (t = ln.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
1639
1639
|
throw new Error("Invalid Date pass to format");
|
|
1640
1640
|
t = ln[t] || t;
|
|
@@ -1644,12 +1644,12 @@ var co = [
|
|
|
1644
1644
|
});
|
|
1645
1645
|
var a = lt(lt({}, sn), n);
|
|
1646
1646
|
return t = t.replace(so, function(o) {
|
|
1647
|
-
return
|
|
1647
|
+
return Gu[o](e, a);
|
|
1648
1648
|
}), t.replace(/@@@/g, function() {
|
|
1649
1649
|
return i.shift();
|
|
1650
1650
|
});
|
|
1651
1651
|
};
|
|
1652
|
-
function
|
|
1652
|
+
function Ju(e, t, n) {
|
|
1653
1653
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
1654
1654
|
throw new Error("Invalid format in fecha parse");
|
|
1655
1655
|
if (t = ln[t] || t, e.length > 1e3)
|
|
@@ -1668,7 +1668,7 @@ function Xu(e, t, n) {
|
|
|
1668
1668
|
return s.push(ma(y)), "@@@";
|
|
1669
1669
|
}), d = {}, u = {};
|
|
1670
1670
|
r = ma(r).replace(so, function(F) {
|
|
1671
|
-
var y =
|
|
1671
|
+
var y = Wu[F], v = y[0], g = y[1], V = y[3];
|
|
1672
1672
|
if (d[v])
|
|
1673
1673
|
throw new Error("Invalid format. " + v + " specified twice in format");
|
|
1674
1674
|
return d[v] = !0, V && (u[V] = !0), o.push(y), "(" + g + ")";
|
|
@@ -1691,27 +1691,27 @@ 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 N = [
|
|
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 = N.length; b < T; b++)
|
|
1701
|
+
if (d[N[b][0]] && a[N[b][0]] !== C[N[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;
|
|
1705
1705
|
return C;
|
|
1706
1706
|
}
|
|
1707
1707
|
var _t = {
|
|
1708
|
-
format:
|
|
1709
|
-
parse:
|
|
1708
|
+
format: Xu,
|
|
1709
|
+
parse: Ju,
|
|
1710
1710
|
defaultI18n: fo,
|
|
1711
|
-
setGlobalDateI18n:
|
|
1712
|
-
setGlobalDateMasks:
|
|
1711
|
+
setGlobalDateI18n: Yu,
|
|
1712
|
+
setGlobalDateMasks: Zu
|
|
1713
1713
|
};
|
|
1714
|
-
function
|
|
1714
|
+
function Qu(e, t, n) {
|
|
1715
1715
|
switch (n.length) {
|
|
1716
1716
|
case 0:
|
|
1717
1717
|
return e.call(t);
|
|
@@ -1725,90 +1725,90 @@ function Ju(e, t, n) {
|
|
|
1725
1725
|
return e.apply(t, n);
|
|
1726
1726
|
}
|
|
1727
1727
|
var va = Math.max;
|
|
1728
|
-
function
|
|
1728
|
+
function ec(e, t, n) {
|
|
1729
1729
|
return t = va(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
1730
1730
|
for (var i = arguments, a = -1, o = va(i.length - t, 0), s = Array(o); ++a < o; )
|
|
1731
1731
|
s[a] = i[t + a];
|
|
1732
1732
|
a = -1;
|
|
1733
1733
|
for (var r = Array(t + 1); ++a < t; )
|
|
1734
1734
|
r[a] = i[a];
|
|
1735
|
-
return r[t] = n(s),
|
|
1735
|
+
return r[t] = n(s), Qu(e, this, r);
|
|
1736
1736
|
};
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function tc(e) {
|
|
1739
1739
|
return function() {
|
|
1740
1740
|
return e;
|
|
1741
1741
|
};
|
|
1742
1742
|
}
|
|
1743
|
-
var
|
|
1743
|
+
var nc = on ? function(e, t) {
|
|
1744
1744
|
return on(e, "toString", {
|
|
1745
1745
|
configurable: !0,
|
|
1746
1746
|
enumerable: !1,
|
|
1747
|
-
value:
|
|
1747
|
+
value: tc(t),
|
|
1748
1748
|
writable: !0
|
|
1749
1749
|
});
|
|
1750
|
-
} : ni,
|
|
1751
|
-
function
|
|
1750
|
+
} : ni, ic = 800, ac = 16, oc = Date.now;
|
|
1751
|
+
function rc(e) {
|
|
1752
1752
|
var t = 0, n = 0;
|
|
1753
1753
|
return function() {
|
|
1754
|
-
var i =
|
|
1754
|
+
var i = oc(), a = ac - (i - n);
|
|
1755
1755
|
if (n = i, a > 0) {
|
|
1756
|
-
if (++t >=
|
|
1756
|
+
if (++t >= ic)
|
|
1757
1757
|
return arguments[0];
|
|
1758
1758
|
} else
|
|
1759
1759
|
t = 0;
|
|
1760
1760
|
return e.apply(void 0, arguments);
|
|
1761
1761
|
};
|
|
1762
1762
|
}
|
|
1763
|
-
var
|
|
1764
|
-
function
|
|
1765
|
-
return
|
|
1763
|
+
var sc = rc(nc);
|
|
1764
|
+
function lc(e, t) {
|
|
1765
|
+
return sc(ec(e, t, ni), e + "");
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function dc(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) && La(t, n.length) : i == "string" && t in n) ? yn(n[t], e) : !1;
|
|
1772
1772
|
}
|
|
1773
|
-
var ho = Object.prototype,
|
|
1773
|
+
var ho = Object.prototype, uc = ho.hasOwnProperty, cc = lc(function(e, t) {
|
|
1774
1774
|
e = Object(e);
|
|
1775
1775
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
1776
|
-
for (a &&
|
|
1776
|
+
for (a && dc(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
1777
1777
|
for (var o = t[n], s = Tn(o), r = -1, d = s.length; ++r < d; ) {
|
|
1778
1778
|
var u = s[r], p = e[u];
|
|
1779
|
-
(p === void 0 || yn(p, ho[u]) && !
|
|
1779
|
+
(p === void 0 || yn(p, ho[u]) && !uc.call(e, u)) && (e[u] = o[u]);
|
|
1780
1780
|
}
|
|
1781
1781
|
return e;
|
|
1782
|
-
}),
|
|
1783
|
-
function
|
|
1784
|
-
return typeof e == "number" &&
|
|
1782
|
+
}), mc = Pe.isFinite;
|
|
1783
|
+
function fc(e) {
|
|
1784
|
+
return typeof e == "number" && mc(e);
|
|
1785
1785
|
}
|
|
1786
|
-
var ba = 1 / 0,
|
|
1787
|
-
function
|
|
1786
|
+
var ba = 1 / 0, hc = 17976931348623157e292;
|
|
1787
|
+
function pc(e) {
|
|
1788
1788
|
if (!e)
|
|
1789
1789
|
return e === 0 ? e : 0;
|
|
1790
1790
|
if (e = Wn(e), e === ba || e === -ba) {
|
|
1791
1791
|
var t = e < 0 ? -1 : 1;
|
|
1792
|
-
return t *
|
|
1792
|
+
return t * hc;
|
|
1793
1793
|
}
|
|
1794
1794
|
return e === e ? e : 0;
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1797
|
-
var t =
|
|
1796
|
+
function gc(e) {
|
|
1797
|
+
var t = pc(e), n = t % 1;
|
|
1798
1798
|
return t === t ? n ? t - n : t : 0;
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1801
|
-
return typeof e == "number" && e ==
|
|
1800
|
+
function yc(e) {
|
|
1801
|
+
return typeof e == "number" && e == gc(e);
|
|
1802
1802
|
}
|
|
1803
|
-
var
|
|
1803
|
+
var vc = "[object Number]";
|
|
1804
1804
|
function dn(e) {
|
|
1805
|
-
return typeof e == "number" || it(e) && nt(e) ==
|
|
1805
|
+
return typeof e == "number" || it(e) && nt(e) == vc;
|
|
1806
1806
|
}
|
|
1807
|
-
const
|
|
1807
|
+
const bc = {
|
|
1808
1808
|
packageName: "forms",
|
|
1809
1809
|
disable_global_radio: "The plugin is set to 'Scoped' by default when configured under a {scope}. To configure a global plugin, navigate to the global plugin list page.",
|
|
1810
1810
|
disable_source_scope_change: "Changing the {scope} is not allowed when configuring a plugin under it."
|
|
1811
|
-
},
|
|
1811
|
+
}, _c = {
|
|
1812
1812
|
view_advanced: "View advanced parameters",
|
|
1813
1813
|
window_type: {
|
|
1814
1814
|
label: "Rate Limit Window Type",
|
|
@@ -1852,7 +1852,7 @@ const vc = {
|
|
|
1852
1852
|
title: "Configure your Redis",
|
|
1853
1853
|
address_example: "e.g. localhost:6379"
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, Tc = {
|
|
1856
1856
|
field_is_required: "This field is required",
|
|
1857
1857
|
invalid_format: "Invalid format",
|
|
1858
1858
|
number_too_small: "The number is too small. Minimum: {0}",
|
|
@@ -1874,7 +1874,7 @@ const vc = {
|
|
|
1874
1874
|
invalid_card_number: "Invalid card number",
|
|
1875
1875
|
invalid_text_contain_number: "Invalid text - cannot contains numbers or special characters",
|
|
1876
1876
|
invalid_tex_contain_spec: "Invalid text - cannot contains special characters"
|
|
1877
|
-
},
|
|
1877
|
+
}, Sc = {
|
|
1878
1878
|
title: "Redis Configuration",
|
|
1879
1879
|
shared_configuration: {
|
|
1880
1880
|
label: "Use shared configuration",
|
|
@@ -1909,7 +1909,7 @@ const vc = {
|
|
|
1909
1909
|
alert: "Note: For custom plugins, we cannot determine the correct Redis configuration type. Please ensure you select the appropriate option manually.",
|
|
1910
1910
|
tooltip: "To apply a shared redis configuration, the redis fields must defined as Kong plugins in plugin schema."
|
|
1911
1911
|
}
|
|
1912
|
-
},
|
|
1912
|
+
}, wc = {
|
|
1913
1913
|
auto_suggest: {
|
|
1914
1914
|
error: {
|
|
1915
1915
|
load_entity: "There was an error loading {entity}"
|
|
@@ -1919,13 +1919,13 @@ const vc = {
|
|
|
1919
1919
|
no_results: "No results",
|
|
1920
1920
|
loading: "Loading..."
|
|
1921
1921
|
}
|
|
1922
|
-
},
|
|
1922
|
+
}, Ec = {
|
|
1923
1923
|
labels: {
|
|
1924
1924
|
on: "On",
|
|
1925
1925
|
off: "Off"
|
|
1926
1926
|
}
|
|
1927
1927
|
}, Re = {
|
|
1928
|
-
general:
|
|
1928
|
+
general: bc,
|
|
1929
1929
|
"post-function": {
|
|
1930
1930
|
tags: {
|
|
1931
1931
|
hint: "e.g. tag1, tag2, tag3",
|
|
@@ -1986,11 +1986,11 @@ const vc = {
|
|
|
1986
1986
|
newElementButtonLabel: "+ Add"
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
1989
|
-
rla:
|
|
1990
|
-
validators:
|
|
1991
|
-
redis:
|
|
1992
|
-
fields:
|
|
1993
|
-
vfg:
|
|
1989
|
+
rla: _c,
|
|
1990
|
+
validators: Tc,
|
|
1991
|
+
redis: Sc,
|
|
1992
|
+
fields: wc,
|
|
1993
|
+
vfg: Ec
|
|
1994
1994
|
}, { t: le } = ke("en-us", Re), ve = {
|
|
1995
1995
|
fieldIsRequired: le("validators.field_is_required"),
|
|
1996
1996
|
invalidFormat: le("validators.invalid_format"),
|
|
@@ -2022,11 +2022,11 @@ const vc = {
|
|
|
2022
2022
|
required: (e, t, n, i = ve) => Ue(e, t.required, i) || [],
|
|
2023
2023
|
number: (e, t, n, i = ve) => {
|
|
2024
2024
|
let a = Ue(e, t.required, i);
|
|
2025
|
-
return a != null || (a = [],
|
|
2025
|
+
return a != null || (a = [], fc(e) ? (!de(t.min) && e < t.min, (i = ve) && a.push(ie(i.numberTooSmall, t.min)), !de(t.max) && e > t.max, (i = ve) && a.push(ie(i.numberTooBig, t.max))) : a.push(ie(i.invalidNumber))), a;
|
|
2026
2026
|
},
|
|
2027
2027
|
integer: (e, t, n, i = ve) => {
|
|
2028
2028
|
let a = Ue(e, t.required, i);
|
|
2029
|
-
return a != null || (a = [], a.concat(dt.number(e, t, n, i)),
|
|
2029
|
+
return a != null || (a = [], a.concat(dt.number(e, t, n, i)), yc(e) || a.push(ie(i.invalidInteger))), a;
|
|
2030
2030
|
},
|
|
2031
2031
|
double: (e, t, n, i = ve) => {
|
|
2032
2032
|
const a = Ue(e, t.required, i);
|
|
@@ -2102,7 +2102,7 @@ const vc = {
|
|
|
2102
2102
|
};
|
|
2103
2103
|
Object.keys(dt).forEach((e) => {
|
|
2104
2104
|
const t = dt[e];
|
|
2105
|
-
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o,
|
|
2105
|
+
X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o, cc(n, ve)));
|
|
2106
2106
|
});
|
|
2107
2107
|
function _a(e) {
|
|
2108
2108
|
return st(e) ? dt[e] != null ? dt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
@@ -2225,7 +2225,7 @@ const $e = {
|
|
|
2225
2225
|
return e;
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
|
-
},
|
|
2228
|
+
}, bp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2229
2229
|
__proto__: null,
|
|
2230
2230
|
default: $e
|
|
2231
2231
|
}, Symbol.toStringTag, { value: "Module" })), W = (e, t) => {
|
|
@@ -2233,10 +2233,10 @@ const $e = {
|
|
|
2233
2233
|
for (const [i, a] of t)
|
|
2234
2234
|
n[i] = a;
|
|
2235
2235
|
return n;
|
|
2236
|
-
},
|
|
2236
|
+
}, Mc = {
|
|
2237
2237
|
class: "advanced-field-dropdown-wrapper",
|
|
2238
2238
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2239
|
-
},
|
|
2239
|
+
}, Ac = { class: "material-icons" }, Ic = {
|
|
2240
2240
|
mixins: [$e],
|
|
2241
2241
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2242
2242
|
emits: ["model-updated"],
|
|
@@ -2264,17 +2264,17 @@ const $e = {
|
|
|
2264
2264
|
this.$emit("model-updated", e, t);
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
|
-
},
|
|
2267
|
+
}, Cc = /* @__PURE__ */ Object.assign(Ic, {
|
|
2268
2268
|
__name: "FieldAdvanced",
|
|
2269
2269
|
setup(e) {
|
|
2270
|
-
return (t, n) => (c(), _("div",
|
|
2270
|
+
return (t, n) => (c(), _("div", Mc, [
|
|
2271
2271
|
m("button", {
|
|
2272
2272
|
class: "advanced-field-title",
|
|
2273
2273
|
type: "button",
|
|
2274
2274
|
onClick: n[0] || (n[0] = (...i) => t.handleOpen && t.handleOpen(...i))
|
|
2275
2275
|
}, [
|
|
2276
|
-
m("i",
|
|
2277
|
-
m("span", null,
|
|
2276
|
+
m("i", Ac, L(t.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_right"), 1),
|
|
2277
|
+
m("span", null, L(t.titleText), 1)
|
|
2278
2278
|
]),
|
|
2279
2279
|
m("div", {
|
|
2280
2280
|
class: ee(["advanced-field-dropdown", t.openClass])
|
|
@@ -2288,7 +2288,7 @@ const $e = {
|
|
|
2288
2288
|
], 2)
|
|
2289
2289
|
]));
|
|
2290
2290
|
}
|
|
2291
|
-
}),
|
|
2291
|
+
}), Oc = /* @__PURE__ */ W(Cc, [["__scopeId", "data-v-9bb032dd"]]), Fc = { class: "array-card-container" }, kc = /* @__PURE__ */ he({
|
|
2292
2292
|
__name: "FieldArrayCardContainer",
|
|
2293
2293
|
props: {
|
|
2294
2294
|
model: {
|
|
@@ -2308,7 +2308,7 @@ const $e = {
|
|
|
2308
2308
|
setup(e) {
|
|
2309
2309
|
return zt("vfg-array-item-index", e.index), (n, i) => {
|
|
2310
2310
|
const a = D("KCard"), o = D("KButton");
|
|
2311
|
-
return c(), _("div",
|
|
2311
|
+
return c(), _("div", Fc, [
|
|
2312
2312
|
O(a, { class: "card" }, {
|
|
2313
2313
|
default: M(() => [
|
|
2314
2314
|
Oe(n.$slots, "default", {}, void 0, !0)
|
|
@@ -2328,7 +2328,7 @@ const $e = {
|
|
|
2328
2328
|
]);
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
|
-
}), po = /* @__PURE__ */ W(
|
|
2331
|
+
}), po = /* @__PURE__ */ W(kc, [["__scopeId", "data-v-97302224"]]), Rc = { class: "array-item-wrapper" }, Uc = { class: "array-item" }, Lc = { class: "array-item-after" }, Nc = /* @__PURE__ */ he({
|
|
2332
2332
|
__name: "FieldArrayItem",
|
|
2333
2333
|
props: {
|
|
2334
2334
|
model: {
|
|
@@ -2340,8 +2340,8 @@ const $e = {
|
|
|
2340
2340
|
setup(e) {
|
|
2341
2341
|
return (t, n) => {
|
|
2342
2342
|
const i = D("KButton");
|
|
2343
|
-
return c(), _("div",
|
|
2344
|
-
m("div",
|
|
2343
|
+
return c(), _("div", Rc, [
|
|
2344
|
+
m("div", Uc, [
|
|
2345
2345
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2346
2346
|
O(i, {
|
|
2347
2347
|
appearance: "tertiary",
|
|
@@ -2354,19 +2354,19 @@ const $e = {
|
|
|
2354
2354
|
_: 1
|
|
2355
2355
|
})
|
|
2356
2356
|
]),
|
|
2357
|
-
m("div",
|
|
2357
|
+
m("div", Lc, [
|
|
2358
2358
|
Oe(t.$slots, "after", {}, void 0, !0)
|
|
2359
2359
|
])
|
|
2360
2360
|
]);
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
|
-
}), go = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-51d79db2"]]),
|
|
2363
|
+
}), go = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-51d79db2"]]), Pc = { class: "multi-item-wrapper" }, Dc = /* @__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", Pc, [
|
|
2370
2370
|
Oe(t.$slots, "default", {}, void 0, !0),
|
|
2371
2371
|
O(i, {
|
|
2372
2372
|
appearance: "danger",
|
|
@@ -2383,7 +2383,7 @@ const $e = {
|
|
|
2383
2383
|
]);
|
|
2384
2384
|
};
|
|
2385
2385
|
}
|
|
2386
|
-
}), yo = /* @__PURE__ */ W(
|
|
2386
|
+
}), yo = /* @__PURE__ */ W(Dc, [["__scopeId", "data-v-b4fcf731"]]), $c = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Zn = (e) => e ? e.length === 36 && new RegExp(`^${$c}$`).test(e) : !1, Vc = (e) => ({
|
|
2387
2387
|
...e,
|
|
2388
2388
|
label: e.name,
|
|
2389
2389
|
value: e.id
|
|
@@ -2391,7 +2391,7 @@ const $e = {
|
|
|
2391
2391
|
function vo(e, t, n) {
|
|
2392
2392
|
return n ? je.SET_REFERRAL_VALUE : e && !t || !e && t ? je.UPDATE_ENTITY : e && t ? je.CREATE_FROM_ENTITY : je.CREATE_NOT_FROM_ENTITY;
|
|
2393
2393
|
}
|
|
2394
|
-
const Bn = 50,
|
|
2394
|
+
const Bn = 50, jc = {
|
|
2395
2395
|
mixins: [$e],
|
|
2396
2396
|
inject: [Se],
|
|
2397
2397
|
emits: ["model-updated"],
|
|
@@ -2516,8 +2516,8 @@ const Bn = 50, Vc = {
|
|
|
2516
2516
|
return t ? e[t] : e.id;
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
|
-
},
|
|
2520
|
-
function
|
|
2519
|
+
}, qc = ["data-testid", "data-testlabel"], Kc = ["data-testid"], Bc = { class: "autosuggest__results_message" };
|
|
2520
|
+
function zc(e, t, n, i, a, o) {
|
|
2521
2521
|
const s = D("KSelect");
|
|
2522
2522
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2523
2523
|
class: "field-wrap autosuggest",
|
|
@@ -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
|
+
}, L(o.getSuggestionLabel(r).split(" - ")[0]), 9, qc),
|
|
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
|
+
}, L(d), 9, Kc))), 128))
|
|
2555
2555
|
]),
|
|
2556
2556
|
empty: M(() => [
|
|
2557
|
-
m("div",
|
|
2558
|
-
m("span", null,
|
|
2557
|
+
m("div", Bc, [
|
|
2558
|
+
m("span", null, L(a.message), 1)
|
|
2559
2559
|
])
|
|
2560
2560
|
]),
|
|
2561
2561
|
_: 1
|
|
@@ -2564,12 +2564,12 @@ function Bc(e, t, n, i, a, o) {
|
|
|
2564
2564
|
_: 1
|
|
2565
2565
|
}, 8, ["text"]);
|
|
2566
2566
|
}
|
|
2567
|
-
const bo = /* @__PURE__ */ W(
|
|
2568
|
-
var
|
|
2567
|
+
const bo = /* @__PURE__ */ W(jc, [["render", zc], ["__scopeId", "data-v-9b7636bc"]]), xc = "#6c7489", Hc = "12px", Yc = "20px";
|
|
2568
|
+
var Gc = 4;
|
|
2569
2569
|
function Ta(e) {
|
|
2570
|
-
return jt(e,
|
|
2570
|
+
return jt(e, Gc);
|
|
2571
2571
|
}
|
|
2572
|
-
const
|
|
2572
|
+
const Wc = ["data-testid", "data-testlabel"], Zc = { class: "item-label" }, Xc = { class: "autosuggest__results_message" }, Jc = /* @__PURE__ */ he({
|
|
2573
2573
|
__name: "AutoSuggest",
|
|
2574
2574
|
props: /* @__PURE__ */ Oi({
|
|
2575
2575
|
placeholder: { default: "" },
|
|
@@ -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
|
+
}, L(s.label), 9, Wc)
|
|
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",
|
|
2617
|
+
m("span", Zc, L(s.label), 1)
|
|
2618
2618
|
], !0)
|
|
2619
2619
|
]),
|
|
2620
2620
|
empty: M(() => [
|
|
2621
|
-
m("div",
|
|
2622
|
-
m("span", null,
|
|
2621
|
+
m("div", Xc, [
|
|
2622
|
+
m("span", null, L(i.emptyMessage || I(t)("fields.auto_suggest.no_results")), 1)
|
|
2623
2623
|
])
|
|
2624
2624
|
]),
|
|
2625
2625
|
_: 2
|
|
@@ -2634,10 +2634,10 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2634
2634
|
]), 1032, ["id", "modelValue", "disabled", "items", "loading", "placeholder"]);
|
|
2635
2635
|
};
|
|
2636
2636
|
}
|
|
2637
|
-
}),
|
|
2637
|
+
}), Qc = /* @__PURE__ */ W(Jc, [["__scopeId", "data-v-baeb3bb0"]]), em = 500, tm = 50, nm = /* @__PURE__ */ he({
|
|
2638
2638
|
__name: "FieldScopedEntitySelect",
|
|
2639
2639
|
props: {
|
|
2640
|
-
transformItem: { type: Function, default:
|
|
2640
|
+
transformItem: { type: Function, default: Vc },
|
|
2641
2641
|
allowUuidSearch: { type: Boolean, default: !1 },
|
|
2642
2642
|
placeholder: {},
|
|
2643
2643
|
fields: { default: () => [] },
|
|
@@ -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 = N(r.value);
|
|
2683
2683
|
return;
|
|
2684
2684
|
}
|
|
2685
2685
|
u.value && u.value.abort();
|
|
@@ -2689,8 +2689,8 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2689
2689
|
return;
|
|
2690
2690
|
}
|
|
2691
2691
|
A(y, v);
|
|
2692
|
-
},
|
|
2693
|
-
const { data: { data: y, next: v, offset: g } } = await e.getPartial(
|
|
2692
|
+
}, em, { leading: !0 }), k = async (y, v) => await e.getAll(y, v), q = async () => {
|
|
2693
|
+
const { data: { data: y, next: v, offset: g } } = await e.getPartial(tm);
|
|
2694
2694
|
return (!v || !g) && (i.value = !0), s.value = y, r.value = y.map((V) => ({
|
|
2695
2695
|
...e.transformItem(V),
|
|
2696
2696
|
group: d("fields.auto_suggest.recently_created", { entity: e.entity })
|
|
@@ -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 = N(r.value), y != null && y.trim() ? o.value = v.filter((g) => e.fields.some((V) => (g[V] || "").includes(y))) : o.value = v;
|
|
2703
|
+
}, N = (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,10 +2708,10 @@ 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 = N(r.value)), y();
|
|
2712
2712
|
});
|
|
2713
|
-
o.value =
|
|
2714
|
-
}), (y, v) => (c(), U(
|
|
2713
|
+
o.value = N(r.value);
|
|
2714
|
+
}), (y, v) => (c(), U(Qc, {
|
|
2715
2715
|
id: y.id,
|
|
2716
2716
|
disabled: y.fieldDisabled,
|
|
2717
2717
|
"dom-id": y.domId,
|
|
@@ -2740,9 +2740,9 @@ 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
|
-
}),
|
|
2743
|
+
}), im = 1e3, am = {
|
|
2744
2744
|
components: {
|
|
2745
|
-
FieldScopedEntitySelect:
|
|
2745
|
+
FieldScopedEntitySelect: nm,
|
|
2746
2746
|
SearchIcon: xo
|
|
2747
2747
|
},
|
|
2748
2748
|
mixins: [$e],
|
|
@@ -2752,8 +2752,9 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2752
2752
|
const { t: e } = ke("en-us", Re);
|
|
2753
2753
|
return {
|
|
2754
2754
|
t: e,
|
|
2755
|
-
KUI_ICON_SIZE_40:
|
|
2756
|
-
KUI_COLOR_TEXT_NEUTRAL:
|
|
2755
|
+
KUI_ICON_SIZE_40: Yc,
|
|
2756
|
+
KUI_COLOR_TEXT_NEUTRAL: xc,
|
|
2757
|
+
EMPTY_VALUE_PLACEHOLDER: rl
|
|
2757
2758
|
};
|
|
2758
2759
|
},
|
|
2759
2760
|
data() {
|
|
@@ -2835,16 +2836,11 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2835
2836
|
transformItem(e) {
|
|
2836
2837
|
return {
|
|
2837
2838
|
...e,
|
|
2839
|
+
// This field is for select dropdown item first column.
|
|
2838
2840
|
label: this.getSuggestionLabel(e),
|
|
2839
2841
|
value: e.id
|
|
2840
2842
|
};
|
|
2841
2843
|
},
|
|
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
|
-
},
|
|
2848
2844
|
getItem(e) {
|
|
2849
2845
|
return e.data ? e.data.length > 0 ? e.data[0] : [] : e;
|
|
2850
2846
|
},
|
|
@@ -2852,7 +2848,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2852
2848
|
if (!this[Se])
|
|
2853
2849
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2854
2850
|
const n = this[Se].getAllV2, { data: i } = await n(this.entity, {
|
|
2855
|
-
size:
|
|
2851
|
+
size: im,
|
|
2856
2852
|
...e
|
|
2857
2853
|
}, t);
|
|
2858
2854
|
return i.data;
|
|
@@ -2863,7 +2859,7 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2863
2859
|
getSuggestionLabel(e) {
|
|
2864
2860
|
var n;
|
|
2865
2861
|
const t = ((n = this.schema) == null ? void 0 : n.labelField) || "id";
|
|
2866
|
-
return
|
|
2862
|
+
return t && e ? e[t] : "";
|
|
2867
2863
|
},
|
|
2868
2864
|
updateModel(e) {
|
|
2869
2865
|
this.$emit("model-updated", e != null && e.length ? e : null, this.schema.model);
|
|
@@ -2877,8 +2873,8 @@ const Gc = ["data-testid", "data-testlabel"], Wc = { class: "item-label" }, Zc =
|
|
|
2877
2873
|
return t ? e[t] : e.id;
|
|
2878
2874
|
}
|
|
2879
2875
|
}
|
|
2880
|
-
},
|
|
2881
|
-
function
|
|
2876
|
+
}, om = { class: "entity-suggestion-item" }, rm = { class: "entity-label" }, sm = { class: "entity-id" }, lm = { class: "selected-entity-item" }, dm = { class: "selected-entity-label" };
|
|
2877
|
+
function um(e, t, n, i, a, o) {
|
|
2882
2878
|
const s = D("SearchIcon"), r = D("FieldScopedEntitySelect");
|
|
2883
2879
|
return c(), U(me(e.schema.disabled ? "k-tooltip" : "div"), {
|
|
2884
2880
|
class: "field-wrap autosuggest",
|
|
@@ -2911,14 +2907,14 @@ function dm(e, t, n, i, a, o) {
|
|
|
2911
2907
|
}, null, 8, ["color", "size"])
|
|
2912
2908
|
]),
|
|
2913
2909
|
item: M(({ item: d }) => [
|
|
2914
|
-
m("div",
|
|
2915
|
-
m("span",
|
|
2916
|
-
m("span",
|
|
2910
|
+
m("div", om, [
|
|
2911
|
+
m("span", rm, L(d.label ?? i.EMPTY_VALUE_PLACEHOLDER), 1),
|
|
2912
|
+
m("span", sm, L(d.id), 1)
|
|
2917
2913
|
])
|
|
2918
2914
|
]),
|
|
2919
2915
|
"selected-item": M(({ item: d }) => [
|
|
2920
|
-
m("span",
|
|
2921
|
-
m("span",
|
|
2916
|
+
m("span", lm, [
|
|
2917
|
+
m("span", dm, L(d.label ?? d.id), 1)
|
|
2922
2918
|
])
|
|
2923
2919
|
]),
|
|
2924
2920
|
_: 1
|
|
@@ -2927,8 +2923,8 @@ function dm(e, t, n, i, a, o) {
|
|
|
2927
2923
|
_: 1
|
|
2928
2924
|
}, 8, ["text"]);
|
|
2929
2925
|
}
|
|
2930
|
-
const _o = /* @__PURE__ */ W(
|
|
2931
|
-
function
|
|
2926
|
+
const _o = /* @__PURE__ */ W(am, [["render", um], ["__scopeId", "data-v-704a3e4e"]]);
|
|
2927
|
+
function cm(e) {
|
|
2932
2928
|
const t = ae([]), n = ae(null), i = (h) => st(h) ? dt[h] != null ? dt[h] : (console.warn(`'${h}' is not a validator function!`), null) : h, a = z({
|
|
2933
2929
|
get() {
|
|
2934
2930
|
var A, C;
|
|
@@ -2962,7 +2958,7 @@ function um(e) {
|
|
|
2962
2958
|
}
|
|
2963
2959
|
});
|
|
2964
2960
|
}
|
|
2965
|
-
const
|
|
2961
|
+
const N = (F) => {
|
|
2966
2962
|
var v, g;
|
|
2967
2963
|
let y = [];
|
|
2968
2964
|
if (we(oo(F), (V) => {
|
|
@@ -2973,30 +2969,30 @@ function um(e) {
|
|
|
2973
2969
|
}
|
|
2974
2970
|
return F = y, y;
|
|
2975
2971
|
};
|
|
2976
|
-
return A ? Promise.all(C).then(
|
|
2972
|
+
return A ? Promise.all(C).then(N) : N(C);
|
|
2977
2973
|
}, s = () => {
|
|
2978
2974
|
X(n.value) ? n.value() : n.value = wt(
|
|
2979
2975
|
o,
|
|
2980
2976
|
G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 500))
|
|
2981
2977
|
);
|
|
2982
2978
|
}, r = (h, A) => {
|
|
2983
|
-
var
|
|
2979
|
+
var N, T, F;
|
|
2984
2980
|
let C = !1;
|
|
2985
|
-
X(e.schema.set) ? (e.schema.set((
|
|
2981
|
+
X(e.schema.set) ? (e.schema.set((N = e.model) == null ? void 0 : N.value, h), C = !0) : e.schema.model && (u(e.schema.model, h), C = !0), C && (e.emitModelUpdated && ((T = e.model) != null && T.value) && e.emitModelUpdated({ value: h, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((F = e.model) == null ? void 0 : F.value, h, A, e.schema), G(e.formOptions, "validateAfterChanged", !1) === !0 && (G(e.schema, "validateDebounceTime", G(e.formOptions, "validateDebounceTime", 0)) > 0 ? s() : o()));
|
|
2986
2982
|
}, d = () => {
|
|
2987
2983
|
t.value.splice(0);
|
|
2988
2984
|
}, u = (h, A) => {
|
|
2989
2985
|
var v;
|
|
2990
2986
|
let C = h.replace(/\[(\w+)\]/g, ".$1");
|
|
2991
2987
|
C = C.replace(/^\./, "");
|
|
2992
|
-
let
|
|
2988
|
+
let N = ((v = e.model) == null ? void 0 : v.value) || {}, T = 0;
|
|
2993
2989
|
const F = C.split("."), y = F.length;
|
|
2994
2990
|
for (; T < y; ) {
|
|
2995
2991
|
const g = F[T];
|
|
2996
2992
|
if (T < y - 1)
|
|
2997
|
-
|
|
2993
|
+
N[g] !== void 0 || (N[g] = {}), N = N[g];
|
|
2998
2994
|
else {
|
|
2999
|
-
|
|
2995
|
+
N[g] = A;
|
|
3000
2996
|
return;
|
|
3001
2997
|
}
|
|
3002
2998
|
++T;
|
|
@@ -3014,7 +3010,7 @@ function um(e) {
|
|
|
3014
3010
|
updateModelValue: r
|
|
3015
3011
|
};
|
|
3016
3012
|
}
|
|
3017
|
-
function
|
|
3013
|
+
function mm(e) {
|
|
3018
3014
|
const t = [], n = (i) => {
|
|
3019
3015
|
const a = ["cluster-cache", "cluster_cache"];
|
|
3020
3016
|
for (const o of a)
|
|
@@ -3035,7 +3031,7 @@ function cm(e) {
|
|
|
3035
3031
|
redisModels: t.map((i) => i.model)
|
|
3036
3032
|
};
|
|
3037
3033
|
}
|
|
3038
|
-
function
|
|
3034
|
+
function fm(e, t) {
|
|
3039
3035
|
const n = new RegExp("(?<=config-redis-).*"), i = /Config\.Redis.*/;
|
|
3040
3036
|
return t.filter((o) => {
|
|
3041
3037
|
const s = o.model.match(n);
|
|
@@ -3051,10 +3047,10 @@ function mm(e, t) {
|
|
|
3051
3047
|
});
|
|
3052
3048
|
}
|
|
3053
3049
|
const qe = {
|
|
3054
|
-
useAbstractFields:
|
|
3055
|
-
useRedisPartial:
|
|
3056
|
-
useRedisNonStandardFields:
|
|
3057
|
-
},
|
|
3050
|
+
useAbstractFields: cm,
|
|
3051
|
+
useRedisPartial: mm,
|
|
3052
|
+
useRedisNonStandardFields: fm
|
|
3053
|
+
}, hm = { class: "form-field-wrapper" }, pm = /* @__PURE__ */ he({
|
|
3058
3054
|
__name: "FieldInput",
|
|
3059
3055
|
props: {
|
|
3060
3056
|
disabled: {
|
|
@@ -3094,7 +3090,7 @@ const qe = {
|
|
|
3094
3090
|
},
|
|
3095
3091
|
emits: ["modelUpdated"],
|
|
3096
3092
|
setup(e, { expose: t, emit: n }) {
|
|
3097
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
3093
|
+
const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
3098
3094
|
model: o.model,
|
|
3099
3095
|
schema: i.schema,
|
|
3100
3096
|
formOptions: i.formOptions,
|
|
@@ -3138,7 +3134,7 @@ const qe = {
|
|
|
3138
3134
|
p.value = F, r(F, T);
|
|
3139
3135
|
}, A = (T) => {
|
|
3140
3136
|
p.value = T, r(T, T);
|
|
3141
|
-
}, C = ae(null),
|
|
3137
|
+
}, C = ae(null), N = () => {
|
|
3142
3138
|
var T;
|
|
3143
3139
|
X(C.value) && ((T = C.value) == null || T.flush());
|
|
3144
3140
|
};
|
|
@@ -3176,7 +3172,7 @@ const qe = {
|
|
|
3176
3172
|
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.");
|
|
3177
3173
|
}), (T, F) => {
|
|
3178
3174
|
const y = D("KInput");
|
|
3179
|
-
return c(), _("div",
|
|
3175
|
+
return c(), _("div", hm, [
|
|
3180
3176
|
O(y, et(T.$attrs, {
|
|
3181
3177
|
id: I(d)(e.schema),
|
|
3182
3178
|
autocomplete: e.schema.autocomplete,
|
|
@@ -3196,7 +3192,7 @@ const qe = {
|
|
|
3196
3192
|
"show-password-mask-toggle": f.value === "password",
|
|
3197
3193
|
type: f.value,
|
|
3198
3194
|
width: e.schema.width,
|
|
3199
|
-
onBlur:
|
|
3195
|
+
onBlur: N,
|
|
3200
3196
|
"onUpdate:modelValue": h
|
|
3201
3197
|
}), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
|
|
3202
3198
|
(c(), U(me(I(s)), {
|
|
@@ -3207,7 +3203,7 @@ const qe = {
|
|
|
3207
3203
|
]);
|
|
3208
3204
|
};
|
|
3209
3205
|
}
|
|
3210
|
-
}), To = /* @__PURE__ */ W(
|
|
3206
|
+
}), To = /* @__PURE__ */ W(pm, [["__scopeId", "data-v-fe1132bb"]]), gm = {
|
|
3211
3207
|
name: "FieldMetric",
|
|
3212
3208
|
components: { AddIcon: Qn, TrashIcon: xt },
|
|
3213
3209
|
mixins: [$e],
|
|
@@ -3217,11 +3213,11 @@ const qe = {
|
|
|
3217
3213
|
contentVisible: !1
|
|
3218
3214
|
};
|
|
3219
3215
|
}
|
|
3220
|
-
},
|
|
3216
|
+
}, ym = {
|
|
3221
3217
|
key: 0,
|
|
3222
3218
|
class: "content"
|
|
3223
3219
|
};
|
|
3224
|
-
function
|
|
3220
|
+
function vm(e, t, n, i, a, o) {
|
|
3225
3221
|
const s = D("AddIcon"), r = D("TrashIcon"), d = D("KButton");
|
|
3226
3222
|
return c(), _("div", {
|
|
3227
3223
|
class: ee(["field-dropdown", { active: a.contentVisible }])
|
|
@@ -3230,12 +3226,12 @@ function ym(e, t, n, i, a, o) {
|
|
|
3230
3226
|
class: "title",
|
|
3231
3227
|
onClick: t[0] || (t[0] = (u) => a.contentVisible = !a.contentVisible)
|
|
3232
3228
|
}, [
|
|
3233
|
-
ce(
|
|
3229
|
+
ce(L(e.model.name ? e.model.name : "New Item") + " ", 1),
|
|
3234
3230
|
O(s, { class: "metric-add-icon" })
|
|
3235
3231
|
]),
|
|
3236
3232
|
O(Do, { name: "slide-fade" }, {
|
|
3237
3233
|
default: M(() => [
|
|
3238
|
-
a.contentVisible ? (c(), _("div",
|
|
3234
|
+
a.contentVisible ? (c(), _("div", ym, [
|
|
3239
3235
|
Oe(e.$slots, "default"),
|
|
3240
3236
|
O(d, {
|
|
3241
3237
|
appearance: "tertiary",
|
|
@@ -3253,7 +3249,7 @@ function ym(e, t, n, i, a, o) {
|
|
|
3253
3249
|
})
|
|
3254
3250
|
], 2);
|
|
3255
3251
|
}
|
|
3256
|
-
const So = /* @__PURE__ */ W(
|
|
3252
|
+
const So = /* @__PURE__ */ W(gm, [["render", vm]]), bm = { class: "field-object-container" }, _m = { key: 1 }, Tm = ["id"], Sm = { key: 0 }, wm = ["onUpdate:modelValue"], Em = { key: 1 }, Mm = ["onUpdate:modelValue"], Am = { key: 2 }, Im = ["onUpdate:modelValue"], Cm = ["onClick"], Om = {
|
|
3257
3253
|
mixins: [$e],
|
|
3258
3254
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3259
3255
|
emits: ["modelUpdated"],
|
|
@@ -3291,46 +3287,46 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3291
3287
|
this.$emit("modelUpdated", e, t);
|
|
3292
3288
|
}
|
|
3293
3289
|
}
|
|
3294
|
-
},
|
|
3290
|
+
}, Fm = /* @__PURE__ */ Object.assign(Om, {
|
|
3295
3291
|
__name: "FieldObject",
|
|
3296
3292
|
setup(e) {
|
|
3297
3293
|
return (t, n) => {
|
|
3298
3294
|
const i = Aa("attributes");
|
|
3299
|
-
return Ee((c(), _("div",
|
|
3295
|
+
return Ee((c(), _("div", bm, [
|
|
3300
3296
|
t.schema.schema ? (c(), U(ue, {
|
|
3301
3297
|
key: 0,
|
|
3302
3298
|
model: t.value,
|
|
3303
3299
|
options: t.formOptions,
|
|
3304
3300
|
schema: t.schema.schema,
|
|
3305
3301
|
onModelUpdated: t.updateModel
|
|
3306
|
-
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div",
|
|
3302
|
+
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : (c(), _("div", _m, [
|
|
3307
3303
|
m("table", {
|
|
3308
3304
|
id: t.getFieldID(t.schema),
|
|
3309
3305
|
class: ee(t.schema.fieldClasses)
|
|
3310
3306
|
}, [
|
|
3311
3307
|
(c(!0), _(Y, null, oe(t.value, (a, o) => (c(), _("tr", { key: o }, [
|
|
3312
|
-
m("td", null,
|
|
3313
|
-
t.keyTypes[o] === "string" ? (c(), _("td",
|
|
3308
|
+
m("td", null, L(o), 1),
|
|
3309
|
+
t.keyTypes[o] === "string" ? (c(), _("td", Sm, [
|
|
3314
3310
|
Ee(m("input", {
|
|
3315
3311
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3316
3312
|
type: "text"
|
|
3317
|
-
}, null, 8,
|
|
3313
|
+
}, null, 8, wm), [
|
|
3318
3314
|
[$t, t.value[o]]
|
|
3319
3315
|
])
|
|
3320
3316
|
])) : B("", !0),
|
|
3321
|
-
t.keyTypes[o] === "boolean" ? (c(), _("td",
|
|
3317
|
+
t.keyTypes[o] === "boolean" ? (c(), _("td", Em, [
|
|
3322
3318
|
Ee(m("input", {
|
|
3323
3319
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3324
3320
|
type: "checkbox"
|
|
3325
|
-
}, null, 8,
|
|
3321
|
+
}, null, 8, Mm), [
|
|
3326
3322
|
[$o, t.value[o]]
|
|
3327
3323
|
])
|
|
3328
3324
|
])) : B("", !0),
|
|
3329
|
-
t.keyTypes[o] === "number" ? (c(), _("td",
|
|
3325
|
+
t.keyTypes[o] === "number" ? (c(), _("td", Am, [
|
|
3330
3326
|
Ee(m("input", {
|
|
3331
3327
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3332
3328
|
type: "number"
|
|
3333
|
-
}, null, 8,
|
|
3329
|
+
}, null, 8, Im), [
|
|
3334
3330
|
[$t, t.value[o]]
|
|
3335
3331
|
])
|
|
3336
3332
|
])) : B("", !0),
|
|
@@ -3339,10 +3335,10 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3339
3335
|
type: "button",
|
|
3340
3336
|
value: "x",
|
|
3341
3337
|
onClick: (s) => t.removeElement(o)
|
|
3342
|
-
}, null, 8,
|
|
3338
|
+
}, null, 8, Cm)
|
|
3343
3339
|
])
|
|
3344
3340
|
]))), 128))
|
|
3345
|
-
], 10,
|
|
3341
|
+
], 10, Tm),
|
|
3346
3342
|
Ee(m("select", {
|
|
3347
3343
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyType = a)
|
|
3348
3344
|
}, n[3] || (n[3] = [
|
|
@@ -3369,18 +3365,18 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3369
3365
|
]);
|
|
3370
3366
|
};
|
|
3371
3367
|
}
|
|
3372
|
-
}), wo = /* @__PURE__ */ W(
|
|
3368
|
+
}), wo = /* @__PURE__ */ W(Fm, [["__scopeId", "data-v-4ace4106"]]), km = ["id"], Rm = ["data-testid"], Um = { class: "item-wrapper" }, Lm = { class: "index-wrapper" }, Nm = { key: 0 }, Pm = { key: 1 }, Dm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], $m = {
|
|
3373
3369
|
key: 0,
|
|
3374
3370
|
class: "hint"
|
|
3375
|
-
},
|
|
3371
|
+
}, Vm = { class: "input-item" }, jm = ["placeholder"], qm = {
|
|
3376
3372
|
key: 0,
|
|
3377
3373
|
class: "hint"
|
|
3378
|
-
},
|
|
3374
|
+
}, Km = {
|
|
3379
3375
|
mixins: [$e],
|
|
3380
3376
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3381
3377
|
inject: {
|
|
3382
3378
|
autofillSlot: {
|
|
3383
|
-
from:
|
|
3379
|
+
from: Le,
|
|
3384
3380
|
default: void 0
|
|
3385
3381
|
}
|
|
3386
3382
|
},
|
|
@@ -3474,7 +3470,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3474
3470
|
this.$emit("model-updated", this.model[this.schema.model], t);
|
|
3475
3471
|
}
|
|
3476
3472
|
}
|
|
3477
|
-
},
|
|
3473
|
+
}, Bm = /* @__PURE__ */ Object.assign(Km, {
|
|
3478
3474
|
__name: "FieldObjectAdvanced",
|
|
3479
3475
|
setup(e) {
|
|
3480
3476
|
return (t, n) => {
|
|
@@ -3488,9 +3484,9 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3488
3484
|
"data-testid": `field-object-key-${o}`
|
|
3489
3485
|
}, [
|
|
3490
3486
|
m("div", null, [
|
|
3491
|
-
m("div",
|
|
3492
|
-
m("div",
|
|
3493
|
-
m("strong", null,
|
|
3487
|
+
m("div", Um, [
|
|
3488
|
+
m("div", Lm, [
|
|
3489
|
+
m("strong", null, L(o), 1),
|
|
3494
3490
|
m("div", null, [
|
|
3495
3491
|
O(i, {
|
|
3496
3492
|
appearance: "tertiary",
|
|
@@ -3514,17 +3510,17 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3514
3510
|
schema: t.subSchema,
|
|
3515
3511
|
onModelUpdated: t.updateModel
|
|
3516
3512
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
3517
|
-
])) : (c(), _("div",
|
|
3513
|
+
])) : (c(), _("div", Pm, [
|
|
3518
3514
|
Ee(m("input", {
|
|
3519
3515
|
"onUpdate:modelValue": (s) => t.value[o] = s,
|
|
3520
3516
|
class: "form-control",
|
|
3521
3517
|
placeholder: t.schema.fields && t.schema.fields[0].schema.placeholder,
|
|
3522
3518
|
type: t.valueInputType,
|
|
3523
3519
|
onInput: (s) => t.updateModel(t.value[o], t.model[t.schema.model])
|
|
3524
|
-
}, null, 40,
|
|
3520
|
+
}, null, 40, Dm), [
|
|
3525
3521
|
[Ia, t.value[o]]
|
|
3526
3522
|
]),
|
|
3527
|
-
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p",
|
|
3523
|
+
t.schema.fields && t.schema.fields[0].schema.hint ? (c(), _("p", $m, L(t.schema.fields[0].schema.hint), 1)) : B("", !0),
|
|
3528
3524
|
(c(), U(me(t.autofillSlot), {
|
|
3529
3525
|
schema: t.schema.fields && t.schema.fields[0].schema || t.schema.values,
|
|
3530
3526
|
update: (s) => t.value[o] = s,
|
|
@@ -3534,18 +3530,18 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3534
3530
|
n[2] || (n[2] = m("hr", { class: "wide-divider" }, null, -1))
|
|
3535
3531
|
])
|
|
3536
3532
|
])
|
|
3537
|
-
], 8,
|
|
3533
|
+
], 8, Rm))), 128)),
|
|
3538
3534
|
m("div", {
|
|
3539
3535
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3540
3536
|
}, [
|
|
3541
|
-
m("div",
|
|
3537
|
+
m("div", Vm, [
|
|
3542
3538
|
Ee(m("input", {
|
|
3543
3539
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => t.newKeyName = a),
|
|
3544
3540
|
class: "form-control",
|
|
3545
3541
|
"data-testid": "keyname-input",
|
|
3546
3542
|
placeholder: t.schema.placeholder,
|
|
3547
3543
|
type: "text"
|
|
3548
|
-
}, null, 8,
|
|
3544
|
+
}, null, 8, jm), [
|
|
3549
3545
|
[$t, t.newKeyName]
|
|
3550
3546
|
]),
|
|
3551
3547
|
O(i, {
|
|
@@ -3555,17 +3551,17 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3555
3551
|
onClick: t.addKey
|
|
3556
3552
|
}, {
|
|
3557
3553
|
default: M(() => [
|
|
3558
|
-
ce(" + Add " +
|
|
3554
|
+
ce(" + Add " + L(t.schema.buttonLabel || t.schema.label), 1)
|
|
3559
3555
|
]),
|
|
3560
3556
|
_: 1
|
|
3561
3557
|
}, 8, ["disabled", "onClick"])
|
|
3562
3558
|
]),
|
|
3563
|
-
t.schema.hintText ? (c(), _("p",
|
|
3559
|
+
t.schema.hintText ? (c(), _("p", qm, L(t.schema.hintText), 1)) : B("", !0)
|
|
3564
3560
|
], 2)
|
|
3565
|
-
], 10,
|
|
3561
|
+
], 10, km);
|
|
3566
3562
|
};
|
|
3567
3563
|
}
|
|
3568
|
-
}), Eo = /* @__PURE__ */ W(
|
|
3564
|
+
}), Eo = /* @__PURE__ */ W(Bm, [["__scopeId", "data-v-41b00aff"]]), zm = { class: "radio-selection-group" }, xm = /* @__PURE__ */ he({
|
|
3569
3565
|
__name: "FieldRadio",
|
|
3570
3566
|
props: {
|
|
3571
3567
|
disabled: {
|
|
@@ -3622,7 +3618,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3622
3618
|
};
|
|
3623
3619
|
return (p, f) => {
|
|
3624
3620
|
const b = D("KRadio");
|
|
3625
|
-
return c(), _("div",
|
|
3621
|
+
return c(), _("div", zm, [
|
|
3626
3622
|
(c(!0), _(Y, null, oe(e.schema.values, (k, q) => (c(), U(b, {
|
|
3627
3623
|
id: e.schema.name + "-" + q,
|
|
3628
3624
|
key: k.value,
|
|
@@ -3638,7 +3634,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3638
3634
|
]);
|
|
3639
3635
|
};
|
|
3640
3636
|
}
|
|
3641
|
-
}), Mo = /* @__PURE__ */ W(
|
|
3637
|
+
}), Mo = /* @__PURE__ */ W(xm, [["__scopeId", "data-v-42b9c6ac"]]), Ao = /* @__PURE__ */ he({
|
|
3642
3638
|
__name: "FieldSelect",
|
|
3643
3639
|
props: {
|
|
3644
3640
|
disabled: {
|
|
@@ -3727,7 +3723,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3727
3723
|
return c(), U(C, {
|
|
3728
3724
|
id: I(d)(e.schema),
|
|
3729
3725
|
modelValue: I(p),
|
|
3730
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
3726
|
+
"onUpdate:modelValue": A[0] || (A[0] = (N) => Et(p) ? p.value = N : null),
|
|
3731
3727
|
class: ee(e.schema.fieldClasses),
|
|
3732
3728
|
clearable: !e.schema.required,
|
|
3733
3729
|
disabled: e.disabled || void 0,
|
|
@@ -3741,7 +3737,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3741
3737
|
}, null, 8, ["id", "modelValue", "class", "clearable", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
3742
3738
|
};
|
|
3743
3739
|
}
|
|
3744
|
-
}),
|
|
3740
|
+
}), Hm = {
|
|
3745
3741
|
name: "FieldArray",
|
|
3746
3742
|
components: {
|
|
3747
3743
|
FieldArrayItem: go,
|
|
@@ -3759,7 +3755,7 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3759
3755
|
mixins: [$e],
|
|
3760
3756
|
inject: {
|
|
3761
3757
|
autofillSlot: {
|
|
3762
|
-
from:
|
|
3758
|
+
from: Le,
|
|
3763
3759
|
default: void 0
|
|
3764
3760
|
}
|
|
3765
3761
|
},
|
|
@@ -3807,8 +3803,8 @@ const So = /* @__PURE__ */ W(pm, [["render", ym]]), vm = { class: "field-object-
|
|
|
3807
3803
|
((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);
|
|
3808
3804
|
}
|
|
3809
3805
|
}
|
|
3810
|
-
},
|
|
3811
|
-
function
|
|
3806
|
+
}, Ym = ["id"], Gm = { key: 1 }, Wm = ["onUpdate:modelValue", "aria-labelledby", "type"], Zm = ["onUpdate:modelValue", "aria-labelledby"];
|
|
3807
|
+
function Xm(e, t, n, i, a, o) {
|
|
3812
3808
|
const s = D("KTextArea"), r = D("KInput"), d = D("KButton");
|
|
3813
3809
|
return e.schema ? (c(), _("div", {
|
|
3814
3810
|
key: 0,
|
|
@@ -3835,7 +3831,7 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3835
3831
|
}, null, 40, ["form-options", "model", "schema", "onModelUpdated"]))
|
|
3836
3832
|
]),
|
|
3837
3833
|
_: 2
|
|
3838
|
-
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span",
|
|
3834
|
+
}, 1064, ["index", "model", "schema", "onRemoveItem"])) : e.schema.items ? (c(), _("span", Gm, [
|
|
3839
3835
|
(c(), U(me(o.getFieldComponent(e.schema.items)), {
|
|
3840
3836
|
"form-options": e.formOptions,
|
|
3841
3837
|
model: u,
|
|
@@ -3893,7 +3889,7 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3893
3889
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
3894
3890
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
3895
3891
|
type: ((f = e.schema.inputAttributes) == null ? void 0 : f.type) || "text"
|
|
3896
|
-
}), null, 16,
|
|
3892
|
+
}), null, 16, Wm)), [
|
|
3897
3893
|
[Ia, e.value[p]]
|
|
3898
3894
|
])
|
|
3899
3895
|
];
|
|
@@ -3904,7 +3900,7 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3904
3900
|
"onUpdate:modelValue": (f) => e.value[p] = f,
|
|
3905
3901
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
3906
3902
|
type: "text"
|
|
3907
|
-
}), null, 16,
|
|
3903
|
+
}), null, 16, Zm), [
|
|
3908
3904
|
[$t, e.value[p]]
|
|
3909
3905
|
]),
|
|
3910
3906
|
(c(), U(me(o.autofillSlot), {
|
|
@@ -3922,13 +3918,13 @@ function Zm(e, t, n, i, a, o) {
|
|
|
3922
3918
|
onClick: o.newElement
|
|
3923
3919
|
}, {
|
|
3924
3920
|
default: M(() => [
|
|
3925
|
-
ce(
|
|
3921
|
+
ce(L(e.schema.newElementButtonLabel || n.newElementButtonLabel), 1)
|
|
3926
3922
|
]),
|
|
3927
3923
|
_: 1
|
|
3928
3924
|
}, 8, ["class", "data-testid", "onClick"])
|
|
3929
|
-
], 10,
|
|
3925
|
+
], 10, Ym)) : B("", !0);
|
|
3930
3926
|
}
|
|
3931
|
-
const
|
|
3927
|
+
const Jm = /* @__PURE__ */ W(Hm, [["render", Xm], ["__scopeId", "data-v-ae802bb2"]]), Qm = { class: "form-field-wrapper field-checkbox" }, ef = /* @__PURE__ */ he({
|
|
3932
3928
|
__name: "FieldCheckbox",
|
|
3933
3929
|
props: {
|
|
3934
3930
|
disabled: {
|
|
@@ -3980,7 +3976,7 @@ const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2
|
|
|
3980
3976
|
clearValidationErrors: d
|
|
3981
3977
|
}), (u, p) => {
|
|
3982
3978
|
const f = D("KCheckbox");
|
|
3983
|
-
return c(), _("div",
|
|
3979
|
+
return c(), _("div", Qm, [
|
|
3984
3980
|
O(f, et(u.$attrs, {
|
|
3985
3981
|
id: I(s)(e.schema),
|
|
3986
3982
|
modelValue: I(r),
|
|
@@ -3997,10 +3993,10 @@ const Xm = /* @__PURE__ */ W(xm, [["render", Zm], ["__scopeId", "data-v-ae802bb2
|
|
|
3997
3993
|
]);
|
|
3998
3994
|
};
|
|
3999
3995
|
}
|
|
4000
|
-
}),
|
|
4001
|
-
function
|
|
3996
|
+
}), tf = /* @__PURE__ */ W(ef, [["__scopeId", "data-v-6b4ee1cd"]]), nf = { class: "wrapper" }, af = ["disabled"], of = ["id", "checked", "disabled", "onChange", "name"], rf = ["disabled"], sf = { class: "info" }, lf = { class: "dropList" }, df = ["id", "checked", "disabled", "onChange", "name"];
|
|
3997
|
+
function uf(e, t, n, i, a, o) {
|
|
4002
3998
|
const s = Aa("attributes");
|
|
4003
|
-
return Ee((c(), _("div",
|
|
3999
|
+
return Ee((c(), _("div", nf, [
|
|
4004
4000
|
e.schema.listBox ? (c(), _("div", {
|
|
4005
4001
|
key: 0,
|
|
4006
4002
|
class: "listbox form-control",
|
|
@@ -4017,13 +4013,13 @@ function df(e, t, n, i, a, o) {
|
|
|
4017
4013
|
disabled: e.disabled || null,
|
|
4018
4014
|
onChange: (d) => o.onChanged(d, r),
|
|
4019
4015
|
name: o.getInputName(r)
|
|
4020
|
-
}, null, 40,
|
|
4016
|
+
}, null, 40, of), [
|
|
4021
4017
|
[s, "input"]
|
|
4022
4018
|
]),
|
|
4023
|
-
ce(
|
|
4019
|
+
ce(L(o.getItemName(r)), 1)
|
|
4024
4020
|
])
|
|
4025
4021
|
], 2))), 256))
|
|
4026
|
-
], 8,
|
|
4022
|
+
], 8, af)) : B("", !0),
|
|
4027
4023
|
e.schema.listBox ? B("", !0) : (c(), _("div", {
|
|
4028
4024
|
key: 1,
|
|
4029
4025
|
class: "combobox form-control",
|
|
@@ -4033,10 +4029,10 @@ function df(e, t, n, i, a, o) {
|
|
|
4033
4029
|
class: ee(["mainRow", { expanded: a.comboExpanded }]),
|
|
4034
4030
|
onClick: t[0] || (t[0] = (...r) => o.onExpandCombo && o.onExpandCombo(...r))
|
|
4035
4031
|
}, [
|
|
4036
|
-
m("div",
|
|
4032
|
+
m("div", sf, L(o.selectedCount) + " selected", 1),
|
|
4037
4033
|
t[1] || (t[1] = m("div", { class: "arrow" }, null, -1))
|
|
4038
4034
|
], 2),
|
|
4039
|
-
m("div",
|
|
4035
|
+
m("div", lf, [
|
|
4040
4036
|
a.comboExpanded ? (c(!0), _(Y, { key: 0 }, oe(o.items, (r) => (c(), _("div", {
|
|
4041
4037
|
class: ee(["list-row", { "is-checked": o.isItemChecked(r) }])
|
|
4042
4038
|
}, [
|
|
@@ -4048,19 +4044,19 @@ function df(e, t, n, i, a, o) {
|
|
|
4048
4044
|
disabled: e.disabled || null,
|
|
4049
4045
|
onChange: (d) => o.onChanged(d, r),
|
|
4050
4046
|
name: o.getInputName(r)
|
|
4051
|
-
}, null, 40,
|
|
4047
|
+
}, null, 40, df), [
|
|
4052
4048
|
[s, "input"]
|
|
4053
4049
|
]),
|
|
4054
|
-
ce(
|
|
4050
|
+
ce(L(o.getItemName(r)), 1)
|
|
4055
4051
|
])
|
|
4056
4052
|
], 2))), 256)) : B("", !0)
|
|
4057
4053
|
])
|
|
4058
|
-
], 8,
|
|
4054
|
+
], 8, rf))
|
|
4059
4055
|
])), [
|
|
4060
4056
|
[s, "wrapper"]
|
|
4061
4057
|
]);
|
|
4062
4058
|
}
|
|
4063
|
-
const
|
|
4059
|
+
const cf = {
|
|
4064
4060
|
mixins: [$e],
|
|
4065
4061
|
data() {
|
|
4066
4062
|
return {
|
|
@@ -4116,13 +4112,13 @@ const uf = {
|
|
|
4116
4112
|
this.comboExpanded = !this.comboExpanded;
|
|
4117
4113
|
}
|
|
4118
4114
|
}
|
|
4119
|
-
},
|
|
4115
|
+
}, mf = /* @__PURE__ */ W(cf, [["render", uf]]), ff = {
|
|
4120
4116
|
name: "FieldKeyValuePairs",
|
|
4121
4117
|
components: { TrashIcon: xt },
|
|
4122
4118
|
mixins: [$e],
|
|
4123
4119
|
inject: {
|
|
4124
4120
|
autofillSlot: {
|
|
4125
|
-
from:
|
|
4121
|
+
from: Le,
|
|
4126
4122
|
default: void 0
|
|
4127
4123
|
}
|
|
4128
4124
|
},
|
|
@@ -4170,15 +4166,15 @@ const uf = {
|
|
|
4170
4166
|
this.pairs.splice(e, 1);
|
|
4171
4167
|
}
|
|
4172
4168
|
}
|
|
4173
|
-
},
|
|
4174
|
-
function
|
|
4169
|
+
}, hf = { class: "key-value-pairs-editor" }, pf = { class: "pair-item-cell" }, gf = ["data-testid", "placeholder", "value", "onInput"], yf = { class: "pair-item-cell" }, vf = ["data-testid", "placeholder", "value", "onInput"];
|
|
4170
|
+
function bf(e, t, n, i, a, o) {
|
|
4175
4171
|
const s = D("TrashIcon"), r = D("KButton");
|
|
4176
|
-
return c(), _("div",
|
|
4172
|
+
return c(), _("div", hf, [
|
|
4177
4173
|
(c(!0), _(Y, null, oe(a.pairs, (d, u) => (c(), _("div", {
|
|
4178
4174
|
key: u,
|
|
4179
4175
|
class: "pair-item"
|
|
4180
4176
|
}, [
|
|
4181
|
-
m("div",
|
|
4177
|
+
m("div", pf, [
|
|
4182
4178
|
m("input", {
|
|
4183
4179
|
class: "form-control",
|
|
4184
4180
|
"data-testid": `${e.getFieldID(e.schema)}-pair-key-${u}`,
|
|
@@ -4188,14 +4184,14 @@ function vf(e, t, n, i, a, o) {
|
|
|
4188
4184
|
onInput: (p) => {
|
|
4189
4185
|
o.onInput(p, u, "key");
|
|
4190
4186
|
}
|
|
4191
|
-
}, null, 40,
|
|
4187
|
+
}, null, 40, gf),
|
|
4192
4188
|
(c(), U(me(o.autofillSlot), {
|
|
4193
4189
|
schema: e.schema,
|
|
4194
4190
|
update: (p) => o.onInput({ target: { value: p } }, u, "key"),
|
|
4195
4191
|
value: d.key
|
|
4196
4192
|
}, null, 8, ["schema", "update", "value"]))
|
|
4197
4193
|
]),
|
|
4198
|
-
m("div",
|
|
4194
|
+
m("div", yf, [
|
|
4199
4195
|
m("input", {
|
|
4200
4196
|
class: "form-control",
|
|
4201
4197
|
"data-testid": `${e.getFieldID(e.schema)}-pair-value-${u}`,
|
|
@@ -4205,7 +4201,7 @@ function vf(e, t, n, i, a, o) {
|
|
|
4205
4201
|
onInput: (p) => {
|
|
4206
4202
|
o.onInput(p, u, "value");
|
|
4207
4203
|
}
|
|
4208
|
-
}, null, 40,
|
|
4204
|
+
}, null, 40, vf),
|
|
4209
4205
|
(c(), U(me(o.autofillSlot), {
|
|
4210
4206
|
schema: e.schema,
|
|
4211
4207
|
update: (p) => o.onInput({ target: { value: p } }, u, "value"),
|
|
@@ -4233,13 +4229,13 @@ function vf(e, t, n, i, a, o) {
|
|
|
4233
4229
|
onClick: o.addPair
|
|
4234
4230
|
}, {
|
|
4235
4231
|
default: M(() => [
|
|
4236
|
-
ce(
|
|
4232
|
+
ce(L(e.schema.newElementButtonLabel ?? "+ Add Pair"), 1)
|
|
4237
4233
|
]),
|
|
4238
4234
|
_: 1
|
|
4239
4235
|
}, 8, ["class", "data-testid", "onClick"])
|
|
4240
4236
|
]);
|
|
4241
4237
|
}
|
|
4242
|
-
const
|
|
4238
|
+
const _f = /* @__PURE__ */ W(ff, [["render", bf], ["__scopeId", "data-v-9a9650ac"]]), Tf = /* @__PURE__ */ he({
|
|
4243
4239
|
__name: "FieldLabel",
|
|
4244
4240
|
props: {
|
|
4245
4241
|
disabled: {
|
|
@@ -4280,14 +4276,14 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4280
4276
|
id: I(i)(e.schema)
|
|
4281
4277
|
}, {
|
|
4282
4278
|
default: M(() => [
|
|
4283
|
-
ce(
|
|
4279
|
+
ce(L(I(a)), 1)
|
|
4284
4280
|
]),
|
|
4285
4281
|
_: 1
|
|
4286
4282
|
}, 8, ["id"])
|
|
4287
4283
|
], 2);
|
|
4288
4284
|
};
|
|
4289
4285
|
}
|
|
4290
|
-
}),
|
|
4286
|
+
}), Sf = /* @__PURE__ */ W(Tf, [["__scopeId", "data-v-d046a15a"]]), wf = /* @__PURE__ */ he({
|
|
4291
4287
|
__name: "FieldMultiselect",
|
|
4292
4288
|
props: {
|
|
4293
4289
|
disabled: {
|
|
@@ -4362,10 +4358,10 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4362
4358
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4363
4359
|
};
|
|
4364
4360
|
}
|
|
4365
|
-
}),
|
|
4361
|
+
}), Ef = { class: "selection-group" }, Mf = { class: "form-group horizontal-radios" }, Af = { class: "radio-group" }, If = ["disabled", "value"], Cf = { class: "control-help" }, Of = {
|
|
4366
4362
|
key: 0,
|
|
4367
4363
|
class: "option-field"
|
|
4368
|
-
},
|
|
4364
|
+
}, Ff = { class: "option-field-container" }, kf = {
|
|
4369
4365
|
mixins: [$e],
|
|
4370
4366
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4371
4367
|
emits: ["model-updated"],
|
|
@@ -4410,18 +4406,18 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4410
4406
|
this.$emit("model-updated", e, t);
|
|
4411
4407
|
}
|
|
4412
4408
|
}
|
|
4413
|
-
},
|
|
4409
|
+
}, Rf = /* @__PURE__ */ Object.assign(kf, {
|
|
4414
4410
|
__name: "FieldSelectionGroup",
|
|
4415
4411
|
setup(e) {
|
|
4416
4412
|
const { t } = ke("en-us", Re);
|
|
4417
|
-
return (n, i) => (c(), _("div",
|
|
4413
|
+
return (n, i) => (c(), _("div", Ef, [
|
|
4418
4414
|
(c(), U(me(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4419
4415
|
"max-width": "300",
|
|
4420
4416
|
text: I(t)("general.disable_global_radio", { scope: n.scope })
|
|
4421
4417
|
}, {
|
|
4422
4418
|
default: M(() => [
|
|
4423
|
-
m("div",
|
|
4424
|
-
m("div",
|
|
4419
|
+
m("div", Mf, [
|
|
4420
|
+
m("div", Af, [
|
|
4425
4421
|
(c(!0), _(Y, null, oe(n.schema.fields, (a, o) => (c(), _("div", {
|
|
4426
4422
|
key: o,
|
|
4427
4423
|
class: ee(["option-group", { "radio-disabled": n.$props.disabled }])
|
|
@@ -4435,11 +4431,11 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4435
4431
|
disabled: n.$props.disabled,
|
|
4436
4432
|
type: "radio",
|
|
4437
4433
|
value: o
|
|
4438
|
-
}, null, 8,
|
|
4434
|
+
}, null, 8, If), [
|
|
4439
4435
|
[qo, n.checkedGroup]
|
|
4440
4436
|
]),
|
|
4441
|
-
ce(" " +
|
|
4442
|
-
m("div",
|
|
4437
|
+
ce(" " + L(a.label) + " ", 1),
|
|
4438
|
+
m("div", Cf, L(a.description), 1)
|
|
4443
4439
|
], 2)
|
|
4444
4440
|
], 2))), 128))
|
|
4445
4441
|
])
|
|
@@ -4451,8 +4447,8 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4451
4447
|
key: o,
|
|
4452
4448
|
class: "option-group"
|
|
4453
4449
|
}, [
|
|
4454
|
-
n.renderedTrack[o] ? Ee((c(), _("div",
|
|
4455
|
-
m("div",
|
|
4450
|
+
n.renderedTrack[o] ? Ee((c(), _("div", Of, [
|
|
4451
|
+
m("div", Ff, [
|
|
4456
4452
|
O(ue, {
|
|
4457
4453
|
model: n.model,
|
|
4458
4454
|
options: { helpAsHtml: !0 },
|
|
@@ -4466,7 +4462,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4466
4462
|
]))), 128))
|
|
4467
4463
|
]));
|
|
4468
4464
|
}
|
|
4469
|
-
}),
|
|
4465
|
+
}), Uf = /* @__PURE__ */ W(Rf, [["__scopeId", "data-v-65b91ac7"]]), Lf = { class: "form-field-wrapper" }, Nf = /* @__PURE__ */ he({
|
|
4470
4466
|
__name: "FieldSwitch",
|
|
4471
4467
|
props: {
|
|
4472
4468
|
disabled: {
|
|
@@ -4520,7 +4516,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4520
4516
|
clearValidationErrors: f
|
|
4521
4517
|
}), (b, k) => {
|
|
4522
4518
|
const q = D("KInputSwitch");
|
|
4523
|
-
return c(), _("div",
|
|
4519
|
+
return c(), _("div", Lf, [
|
|
4524
4520
|
O(q, {
|
|
4525
4521
|
id: I(u)(e.schema),
|
|
4526
4522
|
modelValue: I(p),
|
|
@@ -4536,7 +4532,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4536
4532
|
]);
|
|
4537
4533
|
};
|
|
4538
4534
|
}
|
|
4539
|
-
}),
|
|
4535
|
+
}), Pf = { class: "field-textarea" }, Df = /* @__PURE__ */ he({
|
|
4540
4536
|
__name: "FieldTextArea",
|
|
4541
4537
|
props: {
|
|
4542
4538
|
disabled: {
|
|
@@ -4576,7 +4572,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4576
4572
|
},
|
|
4577
4573
|
emits: ["modelUpdated"],
|
|
4578
4574
|
setup(e, { expose: t, emit: n }) {
|
|
4579
|
-
const i = e, a = n, o = ut(i), s = an(
|
|
4575
|
+
const i = e, a = n, o = ut(i), s = an(Le, void 0), { updateModelValue: r, getFieldID: d, clearValidationErrors: u, value: p } = qe.useAbstractFields({
|
|
4580
4576
|
model: o.model,
|
|
4581
4577
|
schema: i.schema,
|
|
4582
4578
|
formOptions: i.formOptions,
|
|
@@ -4592,7 +4588,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4592
4588
|
};
|
|
4593
4589
|
return (b, k) => {
|
|
4594
4590
|
const q = D("KTextArea");
|
|
4595
|
-
return c(), _("div",
|
|
4591
|
+
return c(), _("div", Pf, [
|
|
4596
4592
|
O(q, et(b.$attrs, {
|
|
4597
4593
|
id: I(d)(e.schema),
|
|
4598
4594
|
modelValue: I(p),
|
|
@@ -4618,32 +4614,32 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4618
4614
|
]);
|
|
4619
4615
|
};
|
|
4620
4616
|
}
|
|
4621
|
-
}),
|
|
4617
|
+
}), $f = /* @__PURE__ */ W(Df, [["__scopeId", "data-v-0e146fba"]]), Vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4622
4618
|
__proto__: null,
|
|
4623
|
-
FieldAdvanced:
|
|
4624
|
-
FieldArray:
|
|
4619
|
+
FieldAdvanced: Oc,
|
|
4620
|
+
FieldArray: Jm,
|
|
4625
4621
|
FieldArrayCardContainer: po,
|
|
4626
4622
|
FieldArrayItem: go,
|
|
4627
4623
|
FieldArrayMultiItem: yo,
|
|
4628
4624
|
FieldAutoSuggest: bo,
|
|
4629
4625
|
FieldAutoSuggestV2: _o,
|
|
4630
|
-
FieldCheckbox:
|
|
4631
|
-
FieldChecklist:
|
|
4626
|
+
FieldCheckbox: tf,
|
|
4627
|
+
FieldChecklist: mf,
|
|
4632
4628
|
FieldInput: To,
|
|
4633
|
-
FieldKeyValuePairs:
|
|
4634
|
-
FieldLabel:
|
|
4629
|
+
FieldKeyValuePairs: _f,
|
|
4630
|
+
FieldLabel: Sf,
|
|
4635
4631
|
FieldMetric: So,
|
|
4636
|
-
FieldMultiselect:
|
|
4632
|
+
FieldMultiselect: wf,
|
|
4637
4633
|
FieldObject: wo,
|
|
4638
4634
|
FieldObjectAdvanced: Eo,
|
|
4639
4635
|
FieldRadio: Mo,
|
|
4640
4636
|
FieldSelect: Ao,
|
|
4641
|
-
FieldSelectionGroup:
|
|
4637
|
+
FieldSelectionGroup: Uf,
|
|
4642
4638
|
FieldSwitch: Nf,
|
|
4643
|
-
FieldTextArea:
|
|
4644
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4639
|
+
FieldTextArea: $f
|
|
4640
|
+
}, Symbol.toStringTag, { value: "Module" })), jf = {
|
|
4645
4641
|
name: "FormGroup",
|
|
4646
|
-
components:
|
|
4642
|
+
components: Vf,
|
|
4647
4643
|
mixins: [io],
|
|
4648
4644
|
inject: {
|
|
4649
4645
|
"vfg-array-item-index": {
|
|
@@ -4702,7 +4698,7 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4702
4698
|
},
|
|
4703
4699
|
methods: {
|
|
4704
4700
|
sanitize(e) {
|
|
4705
|
-
return
|
|
4701
|
+
return Cl.sanitize(e);
|
|
4706
4702
|
},
|
|
4707
4703
|
// Should field type have a label?
|
|
4708
4704
|
fieldTypeHasLabel(e) {
|
|
@@ -4768,20 +4764,20 @@ const bf = /* @__PURE__ */ W(mf, [["render", vf], ["__scopeId", "data-v-9a9650ac
|
|
|
4768
4764
|
return e ? e.replace(/^[cC]onfig\./, "") : "";
|
|
4769
4765
|
}
|
|
4770
4766
|
}
|
|
4771
|
-
},
|
|
4767
|
+
}, qf = ["innerHTML"], Kf = { class: "icon-wrapper" }, Bf = {
|
|
4772
4768
|
key: 0,
|
|
4773
4769
|
class: "link-wrapper"
|
|
4774
|
-
},
|
|
4770
|
+
}, zf = { class: "field-wrap" }, xf = {
|
|
4775
4771
|
key: 0,
|
|
4776
4772
|
class: "buttons"
|
|
4777
|
-
},
|
|
4773
|
+
}, Hf = ["type", "onClick", "textContent"], Yf = {
|
|
4778
4774
|
key: 1,
|
|
4779
4775
|
class: "hint"
|
|
4780
|
-
},
|
|
4776
|
+
}, Gf = {
|
|
4781
4777
|
key: 2,
|
|
4782
4778
|
class: "errors help-block"
|
|
4783
4779
|
};
|
|
4784
|
-
function
|
|
4780
|
+
function Wf(e, t, n, i, a, o) {
|
|
4785
4781
|
const s = D("KExternalLink"), r = D("KLabel");
|
|
4786
4782
|
return c(), _("div", {
|
|
4787
4783
|
class: ee(["form-group", e.getFieldRowClasses(n.field)])
|
|
@@ -4799,10 +4795,10 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4799
4795
|
} : void 0
|
|
4800
4796
|
}, cn({
|
|
4801
4797
|
default: M(() => [
|
|
4802
|
-
m("div",
|
|
4803
|
-
m("span", null,
|
|
4798
|
+
m("div", Kf, [
|
|
4799
|
+
m("span", null, L(o.formattedLabel(n.field.label)), 1)
|
|
4804
4800
|
]),
|
|
4805
|
-
n.field.link ? (c(), _("div",
|
|
4801
|
+
n.field.link ? (c(), _("div", Bf, [
|
|
4806
4802
|
O(s, {
|
|
4807
4803
|
href: n.field.link
|
|
4808
4804
|
}, {
|
|
@@ -4821,12 +4817,12 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4821
4817
|
fn: M(() => [
|
|
4822
4818
|
m("div", {
|
|
4823
4819
|
innerHTML: o.sanitize(n.field.help)
|
|
4824
|
-
}, null, 8,
|
|
4820
|
+
}, null, 8, qf)
|
|
4825
4821
|
]),
|
|
4826
4822
|
key: "0"
|
|
4827
4823
|
} : void 0
|
|
4828
4824
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : B("", !0),
|
|
4829
|
-
m("div",
|
|
4825
|
+
m("div", zf, [
|
|
4830
4826
|
(c(), U(me(o.getFieldComponent(n.field)), et(e.$attrs, {
|
|
4831
4827
|
ref: "child",
|
|
4832
4828
|
disabled: e.fieldDisabled(n.field) || null,
|
|
@@ -4839,31 +4835,31 @@ function Gf(e, t, n, i, a, o) {
|
|
|
4839
4835
|
onRefreshModel: o.onRefreshModel,
|
|
4840
4836
|
onValidated: o.onFieldValidated
|
|
4841
4837
|
}), null, 16, ["disabled", "form-options", "hint", "model", "schema", "vfg", "onModelUpdated", "onRefreshModel", "onValidated"])),
|
|
4842
|
-
o.buttonVisibility(n.field) ? (c(), _("div",
|
|
4838
|
+
o.buttonVisibility(n.field) ? (c(), _("div", xf, [
|
|
4843
4839
|
(c(!0), _(Y, null, oe(n.field.buttons, (d, u) => (c(), _("button", {
|
|
4844
4840
|
key: u,
|
|
4845
4841
|
class: ee(d.classes),
|
|
4846
4842
|
type: o.getButtonType(d),
|
|
4847
4843
|
onClick: (p) => o.buttonClickHandler(d, n.field, p),
|
|
4848
|
-
textContent:
|
|
4849
|
-
}, null, 10,
|
|
4844
|
+
textContent: L(d.label)
|
|
4845
|
+
}, null, 10, Hf))), 128))
|
|
4850
4846
|
])) : B("", !0)
|
|
4851
4847
|
]),
|
|
4852
|
-
n.field.hint && n.field.type !== "input" ? (c(), _("div",
|
|
4853
|
-
o.fieldErrors(n.field).length > 0 ? (c(), _("div",
|
|
4854
|
-
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u },
|
|
4848
|
+
n.field.hint && n.field.type !== "input" ? (c(), _("div", Yf, L(o.fieldHint(n.field)), 1)) : B("", !0),
|
|
4849
|
+
o.fieldErrors(n.field).length > 0 ? (c(), _("div", Gf, [
|
|
4850
|
+
(c(!0), _(Y, null, oe(o.fieldErrors(n.field), (d, u) => (c(), _("span", { key: u }, L(d), 1))), 128))
|
|
4855
4851
|
])) : B("", !0)
|
|
4856
4852
|
], 2);
|
|
4857
4853
|
}
|
|
4858
|
-
const Io = /* @__PURE__ */ W(
|
|
4854
|
+
const Io = /* @__PURE__ */ W(jf, [["render", Wf], ["__scopeId", "data-v-fe02085f"]]);
|
|
4859
4855
|
var un = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(un || {});
|
|
4860
|
-
const
|
|
4856
|
+
const Zf = (e) => {
|
|
4861
4857
|
var t, n;
|
|
4862
4858
|
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";
|
|
4863
|
-
},
|
|
4859
|
+
}, Xf = {
|
|
4864
4860
|
[un.REDIS_CE]: "open source",
|
|
4865
4861
|
[un.REDIS_EE]: "enterprise"
|
|
4866
|
-
}, Sa = (e) =>
|
|
4862
|
+
}, Sa = (e) => Xf[e] ?? "", Jf = { class: "partial-config-card" }, Qf = { class: "config-card-row-label" }, eh = { class: "label-text" }, th = ["data-testid"], nh = ["data-testid"], ih = { key: 1 }, ah = ["data-testid"], oh = ["data-testid"], rh = /* @__PURE__ */ he({
|
|
4867
4863
|
__name: "RedisConfigCard",
|
|
4868
4864
|
props: {
|
|
4869
4865
|
configFields: {
|
|
@@ -4911,19 +4907,19 @@ const Wf = (e) => {
|
|
|
4911
4907
|
}).sort((f, b) => f.order - b.order).filter((f) => f.type !== "hidden")), u = qe.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), p = z(() => d.value.concat(u));
|
|
4912
4908
|
return (f, b) => {
|
|
4913
4909
|
const k = D("KCopy");
|
|
4914
|
-
return c(), _("div",
|
|
4910
|
+
return c(), _("div", Jf, [
|
|
4915
4911
|
(c(!0), _(Y, null, oe(p.value, ({ key: q, label: h, value: A, type: C }) => (c(), _("div", {
|
|
4916
4912
|
key: q,
|
|
4917
4913
|
class: "partial-config-card-row"
|
|
4918
4914
|
}, [
|
|
4919
|
-
m("div",
|
|
4920
|
-
m("div",
|
|
4915
|
+
m("div", Qf, [
|
|
4916
|
+
m("div", eh, L(h), 1)
|
|
4921
4917
|
]),
|
|
4922
4918
|
m("div", {
|
|
4923
4919
|
class: "config-card-row-value",
|
|
4924
4920
|
"data-testid": `${q}-property-value`
|
|
4925
4921
|
}, [
|
|
4926
|
-
o(A) ? (c(), _("div",
|
|
4922
|
+
o(A) ? (c(), _("div", ih, [
|
|
4927
4923
|
C === "password" ? (c(), _("div", {
|
|
4928
4924
|
key: 0,
|
|
4929
4925
|
"data-testid": `${q}-copy-password`
|
|
@@ -4932,33 +4928,33 @@ const Wf = (e) => {
|
|
|
4932
4928
|
format: "redacted",
|
|
4933
4929
|
text: String(A)
|
|
4934
4930
|
}, null, 8, ["text"])
|
|
4935
|
-
], 8,
|
|
4931
|
+
], 8, ah)) : (c(), _("div", {
|
|
4936
4932
|
key: 1,
|
|
4937
4933
|
"data-testid": `${q}-plain-text`
|
|
4938
|
-
},
|
|
4934
|
+
}, L(A), 9, oh))
|
|
4939
4935
|
])) : (c(), _("div", {
|
|
4940
4936
|
key: 0,
|
|
4941
4937
|
"data-testid": `${q}-no-value`
|
|
4942
|
-
}, " – ", 8,
|
|
4943
|
-
], 8,
|
|
4938
|
+
}, " – ", 8, nh))
|
|
4939
|
+
], 8, th)
|
|
4944
4940
|
]))), 128))
|
|
4945
4941
|
]);
|
|
4946
4942
|
};
|
|
4947
4943
|
}
|
|
4948
|
-
}),
|
|
4944
|
+
}), sh = /* @__PURE__ */ W(rh, [["__scopeId", "data-v-40b3d7b5"]]), lh = {
|
|
4949
4945
|
class: "redis-config-select",
|
|
4950
4946
|
"data-testid": "redis-config-select"
|
|
4951
|
-
},
|
|
4947
|
+
}, dh = { class: "selected-redis-config" }, uh = ["data-testid"], ch = {
|
|
4952
4948
|
class: "select-item-name",
|
|
4953
4949
|
"data-testid": "selected-redis-config"
|
|
4954
|
-
},
|
|
4950
|
+
}, mh = {
|
|
4955
4951
|
class: "empty-redis-config",
|
|
4956
4952
|
"data-testid": "empty-redis-config"
|
|
4957
|
-
},
|
|
4953
|
+
}, fh = {
|
|
4958
4954
|
key: 1,
|
|
4959
4955
|
class: "redis-shared-config-error-message",
|
|
4960
4956
|
"data-testid": "redis-config-fetch-error"
|
|
4961
|
-
},
|
|
4957
|
+
}, hh = "1000", ph = /* @__PURE__ */ he({
|
|
4962
4958
|
__name: "RedisConfigSelect",
|
|
4963
4959
|
props: {
|
|
4964
4960
|
defaultRedisConfigItem: {
|
|
@@ -5000,20 +4996,20 @@ const Wf = (e) => {
|
|
|
5000
4996
|
error: p,
|
|
5001
4997
|
loadItems: f,
|
|
5002
4998
|
results: b
|
|
5003
|
-
} = Zo(r, i[r.app].getAll,
|
|
4999
|
+
} = Zo(r, i[r.app].getAll, hh, {
|
|
5004
5000
|
fetchedItemsKey: "data",
|
|
5005
5001
|
searchKeys: ["id", "name"]
|
|
5006
|
-
}), k = z(() => p.value ? s(p.value) : ""), q = (
|
|
5002
|
+
}), k = z(() => p.value ? s(p.value) : ""), q = (N) => {
|
|
5007
5003
|
let T = `${r.apiBaseUrl}${i[r.app].getOne}`;
|
|
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(
|
|
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(N)), T;
|
|
5009
5005
|
}, h = z(() => {
|
|
5010
|
-
const
|
|
5011
|
-
return a.redisType !== "all" ?
|
|
5012
|
-
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (
|
|
5013
|
-
if (
|
|
5014
|
-
a.updateRedisModel(
|
|
5006
|
+
const N = (b.value || []).map((T) => ({ label: T.id, name: T.name, value: T.id, type: T.type, tag: Zf(T) })).filter((T) => T.type === "redis-ce" || T.type === "redis-ee");
|
|
5007
|
+
return a.redisType !== "all" ? N.filter((T) => T.type === a.redisType) : N;
|
|
5008
|
+
}), { axiosInstance: A } = Xo(r == null ? void 0 : r.axiosRequestConfig), C = async (N) => {
|
|
5009
|
+
if (N) {
|
|
5010
|
+
a.updateRedisModel(N);
|
|
5015
5011
|
try {
|
|
5016
|
-
const T = await A.get(q(
|
|
5012
|
+
const T = await A.get(q(N));
|
|
5017
5013
|
if (T.data.config) {
|
|
5018
5014
|
const F = Object.assign(T.data, T.data.config);
|
|
5019
5015
|
delete F.config, o.value = F;
|
|
@@ -5023,14 +5019,14 @@ const Wf = (e) => {
|
|
|
5023
5019
|
}
|
|
5024
5020
|
}
|
|
5025
5021
|
};
|
|
5026
|
-
return mn(() => n == null ? void 0 : n.value, async (
|
|
5027
|
-
|
|
5022
|
+
return mn(() => n == null ? void 0 : n.value, async (N) => {
|
|
5023
|
+
N && await f();
|
|
5028
5024
|
}), Jn(() => {
|
|
5029
5025
|
f(), a.defaultRedisConfigItem && C(a.defaultRedisConfigItem);
|
|
5030
|
-
}), (
|
|
5026
|
+
}), (N, T) => {
|
|
5031
5027
|
const F = D("KLabel"), y = D("KBadge"), v = D("KSelect");
|
|
5032
5028
|
return c(), _(Y, null, [
|
|
5033
|
-
m("div",
|
|
5029
|
+
m("div", lh, [
|
|
5034
5030
|
O(F, {
|
|
5035
5031
|
info: e.isCustomPlugin ? I(t)("redis.custom_plugin.tooltip") : I(t)("redis.shared_configuration.tooltip", { type: I(Sa)(e.redisType) }),
|
|
5036
5032
|
"tooltip-attributes": {
|
|
@@ -5039,7 +5035,7 @@ const Wf = (e) => {
|
|
|
5039
5035
|
}
|
|
5040
5036
|
}, {
|
|
5041
5037
|
default: M(() => [
|
|
5042
|
-
ce(
|
|
5038
|
+
ce(L(I(t)("redis.shared_configuration.title")), 1)
|
|
5043
5039
|
]),
|
|
5044
5040
|
_: 1
|
|
5045
5041
|
}, 8, ["info"]),
|
|
@@ -5057,60 +5053,60 @@ const Wf = (e) => {
|
|
|
5057
5053
|
onQueryChange: I(d)
|
|
5058
5054
|
}, {
|
|
5059
5055
|
"selected-item-template": M(({ item: g }) => [
|
|
5060
|
-
m("div",
|
|
5056
|
+
m("div", dh, L(g.name), 1)
|
|
5061
5057
|
]),
|
|
5062
5058
|
"item-template": M(({ item: g }) => [
|
|
5063
5059
|
m("div", {
|
|
5064
5060
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5065
5061
|
"data-testid": `redis-configuration-dropdown-item-${g.name}`
|
|
5066
5062
|
}, [
|
|
5067
|
-
m("span",
|
|
5063
|
+
m("span", ch, L(g.name), 1),
|
|
5068
5064
|
O(y, {
|
|
5069
5065
|
appearance: "info",
|
|
5070
5066
|
class: "select-item-label"
|
|
5071
5067
|
}, {
|
|
5072
5068
|
default: M(() => [
|
|
5073
|
-
ce(
|
|
5069
|
+
ce(L(g.tag), 1)
|
|
5074
5070
|
]),
|
|
5075
5071
|
_: 2
|
|
5076
5072
|
}, 1024)
|
|
5077
|
-
], 8,
|
|
5073
|
+
], 8, uh)
|
|
5078
5074
|
]),
|
|
5079
5075
|
empty: M(() => [
|
|
5080
|
-
m("div",
|
|
5076
|
+
m("div", mh, L(I(t)("redis.shared_configuration.empty_state")), 1)
|
|
5081
5077
|
]),
|
|
5082
5078
|
"dropdown-footer-text": M(() => [
|
|
5083
5079
|
m("div", {
|
|
5084
5080
|
class: "new-redis-config-area",
|
|
5085
5081
|
"data-testid": "new-redis-config-area",
|
|
5086
|
-
onClick: T[0] || (T[0] = (g) =>
|
|
5082
|
+
onClick: T[0] || (T[0] = (g) => N.$emit("showNewPartialModal"))
|
|
5087
5083
|
}, [
|
|
5088
|
-
O(I(Qn), { size: I(
|
|
5089
|
-
m("span", null,
|
|
5084
|
+
O(I(Qn), { size: I(Hc) }, null, 8, ["size"]),
|
|
5085
|
+
m("span", null, L(I(t)("redis.shared_configuration.create_new_configuration", { type: I(Sa)(e.redisType) })), 1)
|
|
5090
5086
|
])
|
|
5091
5087
|
]),
|
|
5092
5088
|
_: 1
|
|
5093
5089
|
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5094
5090
|
]),
|
|
5095
|
-
o.value ? (c(), U(
|
|
5091
|
+
o.value ? (c(), U(sh, {
|
|
5096
5092
|
key: 0,
|
|
5097
5093
|
"config-fields": o.value,
|
|
5098
5094
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5099
5095
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : B("", !0),
|
|
5100
|
-
k.value ? (c(), _("p",
|
|
5096
|
+
k.value ? (c(), _("p", fh, L(k.value || I(t)("redis.shared_configuration.error")), 1)) : B("", !0)
|
|
5101
5097
|
], 64);
|
|
5102
5098
|
};
|
|
5103
5099
|
}
|
|
5104
|
-
}), wa = /* @__PURE__ */ W(
|
|
5100
|
+
}), wa = /* @__PURE__ */ W(ph, [["__scopeId", "data-v-cfbe2781"]]), gh = { key: 0 }, yh = {
|
|
5105
5101
|
class: "redis-config-radio-group",
|
|
5106
5102
|
"data-testid": "redis-config-radio-group"
|
|
5107
|
-
},
|
|
5103
|
+
}, vh = {
|
|
5108
5104
|
key: 0,
|
|
5109
5105
|
class: "shared-redis-config"
|
|
5110
|
-
},
|
|
5106
|
+
}, bh = {
|
|
5111
5107
|
key: 1,
|
|
5112
5108
|
class: "dedicated-redis-config"
|
|
5113
|
-
},
|
|
5109
|
+
}, _h = { class: "dedicated-redis-config-title" }, Th = /* @__PURE__ */ he({
|
|
5114
5110
|
__name: "FormRedis",
|
|
5115
5111
|
props: {
|
|
5116
5112
|
tag: {
|
|
@@ -5171,14 +5167,14 @@ const Wf = (e) => {
|
|
|
5171
5167
|
h ? u.value && i("partialToggled", "redis", { partials: u.value }) : i("partialToggled", "partials", d.value);
|
|
5172
5168
|
}), Jn(() => {
|
|
5173
5169
|
var h, A, C;
|
|
5174
|
-
if (n.model && (d.value = n.field.fields.reduce((
|
|
5175
|
-
const
|
|
5176
|
-
s.value = !0, r.value =
|
|
5170
|
+
if (n.model && (d.value = n.field.fields.reduce((N, T) => (Object.keys(n.model).includes(T.model) && (N[T.model] = n.model[T.model]), N), {})), (C = (A = (h = n == null ? void 0 : n.model) == null ? void 0 : h.partials) == null ? void 0 : A[0]) != null && C.id) {
|
|
5171
|
+
const N = n.model.partials[0].id;
|
|
5172
|
+
s.value = !0, r.value = N;
|
|
5177
5173
|
}
|
|
5178
5174
|
}), (h, A) => {
|
|
5179
|
-
const C = D("KAlert"),
|
|
5175
|
+
const C = D("KAlert"), N = D("KBadge"), T = D("KRadio"), F = D("KCard");
|
|
5180
5176
|
return c(), _("div", null, [
|
|
5181
|
-
o.value ? (c(), _("div",
|
|
5177
|
+
o.value ? (c(), _("div", gh, [
|
|
5182
5178
|
O(C, {
|
|
5183
5179
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5184
5180
|
message: I(a)("redis.custom_plugin.alert")
|
|
@@ -5197,7 +5193,7 @@ const Wf = (e) => {
|
|
|
5197
5193
|
title: I(a)("redis.title")
|
|
5198
5194
|
}, {
|
|
5199
5195
|
default: M(() => [
|
|
5200
|
-
m("div",
|
|
5196
|
+
m("div", yh, [
|
|
5201
5197
|
O(T, {
|
|
5202
5198
|
modelValue: s.value,
|
|
5203
5199
|
"onUpdate:modelValue": A[1] || (A[1] = (y) => s.value = y),
|
|
@@ -5209,9 +5205,9 @@ const Wf = (e) => {
|
|
|
5209
5205
|
"selected-value": !0
|
|
5210
5206
|
}, {
|
|
5211
5207
|
default: M(() => [
|
|
5212
|
-
O(
|
|
5208
|
+
O(N, { appearance: "success" }, {
|
|
5213
5209
|
default: M(() => [
|
|
5214
|
-
ce(
|
|
5210
|
+
ce(L(I(a)("redis.shared_configuration.badge")), 1)
|
|
5215
5211
|
]),
|
|
5216
5212
|
_: 1
|
|
5217
5213
|
})
|
|
@@ -5229,7 +5225,7 @@ const Wf = (e) => {
|
|
|
5229
5225
|
"selected-value": !1
|
|
5230
5226
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5231
5227
|
]),
|
|
5232
|
-
s.value ? (c(), _("div",
|
|
5228
|
+
s.value ? (c(), _("div", vh, [
|
|
5233
5229
|
O(wa, {
|
|
5234
5230
|
"default-redis-config-item": r.value,
|
|
5235
5231
|
"plugin-redis-fields": e.field.fields,
|
|
@@ -5237,8 +5233,8 @@ const Wf = (e) => {
|
|
|
5237
5233
|
"update-redis-model": f,
|
|
5238
5234
|
onShowNewPartialModal: A[3] || (A[3] = (y) => h.$emit("showNewPartialModal"))
|
|
5239
5235
|
}, null, 8, ["default-redis-config-item", "plugin-redis-fields", "redis-type"])
|
|
5240
|
-
])) : (c(), _("div",
|
|
5241
|
-
m("div",
|
|
5236
|
+
])) : (c(), _("div", bh, [
|
|
5237
|
+
m("div", _h, L(I(a)("redis.dedicated_configuration.title")), 1),
|
|
5242
5238
|
(c(), U(me(e.tag), null, {
|
|
5243
5239
|
default: M(() => [
|
|
5244
5240
|
(c(!0), _(Y, null, oe(e.field.fields, (y) => (c(), _(Y, {
|
|
@@ -5268,14 +5264,14 @@ const Wf = (e) => {
|
|
|
5268
5264
|
]);
|
|
5269
5265
|
};
|
|
5270
5266
|
}
|
|
5271
|
-
}),
|
|
5267
|
+
}), Sh = /* @__PURE__ */ W(Th, [["__scopeId", "data-v-addd6536"]]), wh = {
|
|
5272
5268
|
name: "VueFormGenerator",
|
|
5273
|
-
components: { formGroup: Io, formRedis:
|
|
5269
|
+
components: { formGroup: Io, formRedis: Sh },
|
|
5274
5270
|
mixins: [io],
|
|
5275
5271
|
inject: {
|
|
5276
5272
|
// Inject AUTOFILL_SLOT for provide()
|
|
5277
5273
|
autofillSlot: {
|
|
5278
|
-
from:
|
|
5274
|
+
from: Le,
|
|
5279
5275
|
default: void 0
|
|
5280
5276
|
}
|
|
5281
5277
|
},
|
|
@@ -5284,7 +5280,7 @@ const Wf = (e) => {
|
|
|
5284
5280
|
return {
|
|
5285
5281
|
// Provide AUTOFILL_SLOT only if it is not already provided
|
|
5286
5282
|
...!this.autofillSlot && {
|
|
5287
|
-
[
|
|
5283
|
+
[Le]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5288
5284
|
}
|
|
5289
5285
|
};
|
|
5290
5286
|
},
|
|
@@ -5432,13 +5428,13 @@ const Wf = (e) => {
|
|
|
5432
5428
|
});
|
|
5433
5429
|
}
|
|
5434
5430
|
}
|
|
5435
|
-
},
|
|
5431
|
+
}, Eh = {
|
|
5436
5432
|
key: 0,
|
|
5437
5433
|
class: "vue-form-generator"
|
|
5438
|
-
},
|
|
5439
|
-
function
|
|
5434
|
+
}, Mh = { key: 0 };
|
|
5435
|
+
function Ah(e, t, n, i, a, o) {
|
|
5440
5436
|
const s = D("form-redis"), r = D("form-group"), d = D("KCollapse");
|
|
5441
|
-
return n.schema != null ? (c(), _("div",
|
|
5437
|
+
return n.schema != null ? (c(), _("div", Eh, [
|
|
5442
5438
|
n.schema.fields ? (c(), U(me(n.tag), { key: 0 }, {
|
|
5443
5439
|
default: M(() => [
|
|
5444
5440
|
(c(!0), _(Y, null, oe(o.fields, (u) => (c(), _(Y, {
|
|
@@ -5568,7 +5564,7 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5568
5564
|
u.collapsible.description ? {
|
|
5569
5565
|
name: "visible-content",
|
|
5570
5566
|
fn: M(() => [
|
|
5571
|
-
ce(
|
|
5567
|
+
ce(L(u.collapsible.description), 1)
|
|
5572
5568
|
]),
|
|
5573
5569
|
key: "0"
|
|
5574
5570
|
} : void 0
|
|
@@ -5577,7 +5573,7 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5577
5573
|
class: ee(e.getFieldRowClasses(u))
|
|
5578
5574
|
}, {
|
|
5579
5575
|
default: M(() => [
|
|
5580
|
-
u.legend ? (c(), _("legend",
|
|
5576
|
+
u.legend ? (c(), _("legend", Mh, L(u.legend), 1)) : B("", !0),
|
|
5581
5577
|
(c(!0), _(Y, null, oe(u.fields, (f) => (c(), _(Y, {
|
|
5582
5578
|
key: f.model
|
|
5583
5579
|
}, [
|
|
@@ -5601,7 +5597,7 @@ function Mh(e, t, n, i, a, o) {
|
|
|
5601
5597
|
], 64))), 128))
|
|
5602
5598
|
])) : B("", !0);
|
|
5603
5599
|
}
|
|
5604
|
-
const ue = /* @__PURE__ */ W(
|
|
5600
|
+
const ue = /* @__PURE__ */ W(wh, [["render", Ah]]), Dt = {
|
|
5605
5601
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
5606
5602
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
5607
5603
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -5621,13 +5617,13 @@ const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
|
5621
5617
|
"config-groups_claim",
|
|
5622
5618
|
"config-groups_required",
|
|
5623
5619
|
"config-authenticated_groups_claim"
|
|
5624
|
-
]),
|
|
5620
|
+
]), Ih = {
|
|
5625
5621
|
name: "OIDCForm",
|
|
5626
5622
|
components: { VueFormGenerator: ue },
|
|
5627
5623
|
provide() {
|
|
5628
5624
|
var e;
|
|
5629
5625
|
return {
|
|
5630
|
-
[
|
|
5626
|
+
[Le]: (e = this.$slots) == null ? void 0 : e[Mt]
|
|
5631
5627
|
};
|
|
5632
5628
|
},
|
|
5633
5629
|
props: {
|
|
@@ -5826,7 +5822,7 @@ const ue = /* @__PURE__ */ W(Sh, [["render", Mh]]), Dt = {
|
|
|
5826
5822
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
5827
5823
|
}
|
|
5828
5824
|
}
|
|
5829
|
-
},
|
|
5825
|
+
}, Ch = { class: "general-settings" }, Oh = { class: "link-wrapper" }, Fh = { class: "auth-method-container" }, kh = { class: "general-settings" }, Rh = { class: "link-wrapper" }, Uh = { class: "general-settings" }, Lh = { class: "link-wrapper" };
|
|
5830
5826
|
function Nh(e, t, n, i, a, o) {
|
|
5831
5827
|
const s = D("VueFormGenerator"), r = D("KExternalLink"), d = D("KLabel"), u = D("KCheckbox"), p = D("KInputSwitch"), f = D("KTabs");
|
|
5832
5828
|
return c(), _("div", null, [
|
|
@@ -5840,8 +5836,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5840
5836
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
5841
5837
|
O(f, { tabs: a.tabs }, {
|
|
5842
5838
|
common: M(() => [
|
|
5843
|
-
m("div",
|
|
5844
|
-
m("div",
|
|
5839
|
+
m("div", Ch, [
|
|
5840
|
+
m("div", Oh, [
|
|
5845
5841
|
O(r, { href: a.openIdConfigurationDocs }, {
|
|
5846
5842
|
default: M(() => t[2] || (t[2] = [
|
|
5847
5843
|
m("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -5865,7 +5861,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5865
5861
|
_: 1,
|
|
5866
5862
|
__: [3]
|
|
5867
5863
|
}),
|
|
5868
|
-
m("div",
|
|
5864
|
+
m("div", Fh, [
|
|
5869
5865
|
(c(!0), _(Y, null, oe(a.authMethods, (b) => (c(), _("div", {
|
|
5870
5866
|
key: b.value,
|
|
5871
5867
|
class: "auth-method"
|
|
@@ -5876,7 +5872,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5876
5872
|
onChange: (k) => o.handleUpdate(k, b.value)
|
|
5877
5873
|
}, {
|
|
5878
5874
|
default: M(() => [
|
|
5879
|
-
ce(
|
|
5875
|
+
ce(L(b.label), 1)
|
|
5880
5876
|
]),
|
|
5881
5877
|
_: 2
|
|
5882
5878
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])
|
|
@@ -5891,8 +5887,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5891
5887
|
])
|
|
5892
5888
|
]),
|
|
5893
5889
|
authorization: M(() => [
|
|
5894
|
-
m("div",
|
|
5895
|
-
m("div",
|
|
5890
|
+
m("div", kh, [
|
|
5891
|
+
m("div", Rh, [
|
|
5896
5892
|
O(r, { href: a.openIdAuthorizationDocs }, {
|
|
5897
5893
|
default: M(() => t[5] || (t[5] = [
|
|
5898
5894
|
m("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -5917,8 +5913,8 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5917
5913
|
])
|
|
5918
5914
|
]),
|
|
5919
5915
|
advanced: M(() => [
|
|
5920
|
-
m("div",
|
|
5921
|
-
m("div",
|
|
5916
|
+
m("div", Uh, [
|
|
5917
|
+
m("div", Lh, [
|
|
5922
5918
|
O(r, { href: a.openIdConnectLink }, {
|
|
5923
5919
|
default: M(() => t[7] || (t[7] = [
|
|
5924
5920
|
m("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -5945,7 +5941,7 @@ function Nh(e, t, n, i, a, o) {
|
|
|
5945
5941
|
}, 8, ["tabs"])
|
|
5946
5942
|
]);
|
|
5947
5943
|
}
|
|
5948
|
-
const
|
|
5944
|
+
const Ph = /* @__PURE__ */ W(Ih, [["render", Nh], ["__scopeId", "data-v-741bf3cb"]]), Dh = /* @__PURE__ */ he({
|
|
5949
5945
|
__name: "PostFunction",
|
|
5950
5946
|
props: {
|
|
5951
5947
|
formModel: {
|
|
@@ -5972,7 +5968,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5972
5968
|
},
|
|
5973
5969
|
setup(e) {
|
|
5974
5970
|
var s;
|
|
5975
|
-
zt(
|
|
5971
|
+
zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
|
|
5976
5972
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
5977
5973
|
const r = i.formSchema;
|
|
5978
5974
|
return r.fields.map((d) => {
|
|
@@ -5988,7 +5984,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
5988
5984
|
onModelUpdated: e.onModelUpdated
|
|
5989
5985
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
5990
5986
|
}
|
|
5991
|
-
}),
|
|
5987
|
+
}), $h = /* @__PURE__ */ W(Dh, [["__scopeId", "data-v-f54f37ae"]]), Vh = /* @__PURE__ */ he({
|
|
5992
5988
|
__name: "ExitTransformer",
|
|
5993
5989
|
props: {
|
|
5994
5990
|
formModel: {
|
|
@@ -6015,7 +6011,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6015
6011
|
},
|
|
6016
6012
|
setup(e) {
|
|
6017
6013
|
var s;
|
|
6018
|
-
zt(
|
|
6014
|
+
zt(Le, (s = fn()) == null ? void 0 : s[Mt]);
|
|
6019
6015
|
const { t, te: n } = ke("en-us", Re), i = e, a = z(() => i.formModel.id && i.isEditing || !i.isEditing), o = z(() => {
|
|
6020
6016
|
const r = i.formSchema;
|
|
6021
6017
|
return r.fields.map((d) => {
|
|
@@ -6031,7 +6027,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6031
6027
|
onModelUpdated: e.onModelUpdated
|
|
6032
6028
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0);
|
|
6033
6029
|
}
|
|
6034
|
-
}),
|
|
6030
|
+
}), jh = /* @__PURE__ */ W(Vh, [["__scopeId", "data-v-0d5c541f"]]), qh = {
|
|
6035
6031
|
fields: [
|
|
6036
6032
|
{
|
|
6037
6033
|
inputType: "text",
|
|
@@ -6066,7 +6062,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6066
6062
|
disabled: !1
|
|
6067
6063
|
}
|
|
6068
6064
|
]
|
|
6069
|
-
},
|
|
6065
|
+
}, Kh = {
|
|
6070
6066
|
fields: [
|
|
6071
6067
|
{
|
|
6072
6068
|
type: "input",
|
|
@@ -6088,7 +6084,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6088
6084
|
disabled: !1
|
|
6089
6085
|
}
|
|
6090
6086
|
]
|
|
6091
|
-
},
|
|
6087
|
+
}, Bh = {
|
|
6092
6088
|
fields: [
|
|
6093
6089
|
{
|
|
6094
6090
|
type: "input",
|
|
@@ -6119,7 +6115,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6119
6115
|
disabled: !1
|
|
6120
6116
|
}
|
|
6121
6117
|
]
|
|
6122
|
-
},
|
|
6118
|
+
}, zh = { class: "general-settings" }, xh = { class: "sub-form" }, Hh = { class: "general-settings" }, Yh = { class: "sub-form" }, Gh = { class: "general-settings" }, Wh = /* @__PURE__ */ he({
|
|
6123
6119
|
__name: "ACMEForm",
|
|
6124
6120
|
props: {
|
|
6125
6121
|
formModel: {
|
|
@@ -6146,7 +6142,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6146
6142
|
},
|
|
6147
6143
|
setup(e) {
|
|
6148
6144
|
var y;
|
|
6149
|
-
zt(
|
|
6145
|
+
zt(Le, (y = fn()) == null ? void 0 : y[Mt]);
|
|
6150
6146
|
const t = e, n = ae("zeroSsl"), i = ae("shm"), a = z(() => {
|
|
6151
6147
|
var g;
|
|
6152
6148
|
const v = {};
|
|
@@ -6156,7 +6152,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6156
6152
|
return v;
|
|
6157
6153
|
}), o = z(() => {
|
|
6158
6154
|
var g;
|
|
6159
|
-
const v = We(
|
|
6155
|
+
const v = We(qh);
|
|
6160
6156
|
for (const V of v.fields) {
|
|
6161
6157
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6162
6158
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6164,7 +6160,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6164
6160
|
return v;
|
|
6165
6161
|
}), s = z(() => {
|
|
6166
6162
|
var g;
|
|
6167
|
-
const v = We(
|
|
6163
|
+
const v = We(Kh);
|
|
6168
6164
|
for (const V of v.fields) {
|
|
6169
6165
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6170
6166
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6172,7 +6168,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6172
6168
|
return v;
|
|
6173
6169
|
}), r = z(() => {
|
|
6174
6170
|
var g;
|
|
6175
|
-
const v = We(
|
|
6171
|
+
const v = We(Bh);
|
|
6176
6172
|
for (const V of v.fields) {
|
|
6177
6173
|
const Z = (g = a.value[V.model]) == null ? void 0 : g.help;
|
|
6178
6174
|
V.help === void 0 && typeof Z == "string" && (V.help = Z);
|
|
@@ -6209,7 +6205,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6209
6205
|
hash: "#advanced",
|
|
6210
6206
|
title: "Advanced"
|
|
6211
6207
|
}
|
|
6212
|
-
],
|
|
6208
|
+
], N = [
|
|
6213
6209
|
{
|
|
6214
6210
|
label: "Lets Encrypt",
|
|
6215
6211
|
value: "letsEncrypt"
|
|
@@ -6245,7 +6241,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6245
6241
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : B("", !0),
|
|
6246
6242
|
O(Z, { tabs: C }, {
|
|
6247
6243
|
general: M(() => [
|
|
6248
|
-
m("div",
|
|
6244
|
+
m("div", zh, [
|
|
6249
6245
|
g[0] || (g[0] = m("div", { class: "header-wrapper" }, [
|
|
6250
6246
|
m("span", { class: "section-header" }, "General Configuration Settings")
|
|
6251
6247
|
], -1)),
|
|
@@ -6260,11 +6256,11 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6260
6256
|
g[2] || (g[2] = m("hr", null, null, -1)),
|
|
6261
6257
|
O(V, {
|
|
6262
6258
|
class: "issuer-select",
|
|
6263
|
-
items:
|
|
6259
|
+
items: N,
|
|
6264
6260
|
label: "Issuer",
|
|
6265
6261
|
onChange: T
|
|
6266
6262
|
}),
|
|
6267
|
-
m("div",
|
|
6263
|
+
m("div", xh, [
|
|
6268
6264
|
n.value === "letsEncrypt" ? (c(), U(ue, {
|
|
6269
6265
|
key: 0,
|
|
6270
6266
|
model: e.formModel,
|
|
@@ -6283,7 +6279,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6283
6279
|
])
|
|
6284
6280
|
]),
|
|
6285
6281
|
storage: M(() => [
|
|
6286
|
-
m("div",
|
|
6282
|
+
m("div", Hh, [
|
|
6287
6283
|
g[3] || (g[3] = m("div", { class: "header-wrapper" }, [
|
|
6288
6284
|
m("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
6289
6285
|
], -1)),
|
|
@@ -6295,7 +6291,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6295
6291
|
schema: p.value,
|
|
6296
6292
|
onModelUpdated: F
|
|
6297
6293
|
}, null, 8, ["model", "options", "schema"])) : B("", !0),
|
|
6298
|
-
m("div",
|
|
6294
|
+
m("div", Yh, [
|
|
6299
6295
|
i.value === "consul" ? (c(), U(ue, {
|
|
6300
6296
|
key: 0,
|
|
6301
6297
|
model: e.formModel,
|
|
@@ -6328,7 +6324,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6328
6324
|
])
|
|
6329
6325
|
]),
|
|
6330
6326
|
advanced: M(() => [
|
|
6331
|
-
m("div",
|
|
6327
|
+
m("div", Gh, [
|
|
6332
6328
|
g[5] || (g[5] = m("div", { class: "header-wrapper" }, [
|
|
6333
6329
|
m("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
6334
6330
|
], -1)),
|
|
@@ -6347,13 +6343,13 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6347
6343
|
]);
|
|
6348
6344
|
};
|
|
6349
6345
|
}
|
|
6350
|
-
}),
|
|
6346
|
+
}), Zh = /* @__PURE__ */ W(Wh, [["__scopeId", "data-v-07cecf5b"]]), Xh = { class: "rla-form-basic-fields" }, Jh = { class: "rla-form-request-limits-subtitle" }, Qh = { class: "rla-form-request-limits-content" }, ep = { class: "rla-form-window-type" }, tp = ["innerHTML"], np = { class: "rla-form-window-type-radios" }, ip = { class: "rla-form-request-limits-items" }, ap = { class: "rla-form-request-limits-row" }, op = ["id"], rp = { class: "rla-form-request-limits-actions" }, sp = {
|
|
6351
6347
|
key: 0,
|
|
6352
6348
|
class: "rla-form-request-limits-examples"
|
|
6353
|
-
},
|
|
6349
|
+
}, lp = { class: "rla-form-request-limits-examples-badges" }, dp = ["innerHTML"], up = {
|
|
6354
6350
|
id: "rla-form-error-legend",
|
|
6355
6351
|
class: "rla-form-error-inputs"
|
|
6356
|
-
},
|
|
6352
|
+
}, cp = /* @__PURE__ */ he({
|
|
6357
6353
|
__name: "RLAForm",
|
|
6358
6354
|
props: {
|
|
6359
6355
|
formSchema: {},
|
|
@@ -6367,7 +6363,7 @@ const Lh = /* @__PURE__ */ W(Ah, [["render", Nh], ["__scopeId", "data-v-741bf3cb
|
|
|
6367
6363
|
},
|
|
6368
6364
|
setup(e) {
|
|
6369
6365
|
var Z;
|
|
6370
|
-
zt(
|
|
6366
|
+
zt(Le, (Z = fn()) == null ? void 0 : Z[Mt]);
|
|
6371
6367
|
const t = {
|
|
6372
6368
|
fixed: [
|
|
6373
6369
|
{
|
|
@@ -6494,7 +6490,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6494
6490
|
var E, w, j, K;
|
|
6495
6491
|
return ((E = o.formModel) == null ? void 0 : E["config-error_code"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_code")) == null ? void 0 : K.default);
|
|
6496
6492
|
}
|
|
6497
|
-
),
|
|
6493
|
+
), N = z(
|
|
6498
6494
|
() => {
|
|
6499
6495
|
var E, w, j, K;
|
|
6500
6496
|
return ((E = o.formModel) == null ? void 0 : E["config-error_message"]) ?? ((K = (j = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : j.find((H) => H.model === "config-error_message")) == null ? void 0 : K.default);
|
|
@@ -6539,7 +6535,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6539
6535
|
}), (E, w) => {
|
|
6540
6536
|
const j = D("KLabel"), K = D("KRadio"), H = D("KInput"), ge = D("KButton"), Ke = D("KBadge"), fe = D("KTooltip"), Be = D("KCard"), Sn = D("KSelect"), Ht = D("KCollapse");
|
|
6541
6537
|
return c(), _(Y, null, [
|
|
6542
|
-
m("div",
|
|
6538
|
+
m("div", Xh, [
|
|
6543
6539
|
O(ue, {
|
|
6544
6540
|
model: E.formModel,
|
|
6545
6541
|
options: E.formOptions,
|
|
@@ -6554,15 +6550,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6554
6550
|
required: ""
|
|
6555
6551
|
}, {
|
|
6556
6552
|
default: M(() => [
|
|
6557
|
-
ce(
|
|
6553
|
+
ce(L(I(a)("rla.request_limits.title")), 1)
|
|
6558
6554
|
]),
|
|
6559
6555
|
_: 1
|
|
6560
6556
|
}),
|
|
6561
|
-
m("div",
|
|
6557
|
+
m("div", Jh, L(I(a)("rla.request_limits.subtitle")), 1)
|
|
6562
6558
|
]),
|
|
6563
6559
|
default: M(() => [
|
|
6564
|
-
m("div",
|
|
6565
|
-
m("div",
|
|
6560
|
+
m("div", Qh, [
|
|
6561
|
+
m("div", ep, [
|
|
6566
6562
|
O(j, {
|
|
6567
6563
|
class: "rla-form-window-type-label",
|
|
6568
6564
|
"tooltip-attributes": {
|
|
@@ -6573,14 +6569,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6573
6569
|
tooltip: M(() => [
|
|
6574
6570
|
m("div", {
|
|
6575
6571
|
innerHTML: I(a)("rla.window_type.help")
|
|
6576
|
-
}, null, 8,
|
|
6572
|
+
}, null, 8, tp)
|
|
6577
6573
|
]),
|
|
6578
6574
|
default: M(() => [
|
|
6579
|
-
ce(
|
|
6575
|
+
ce(L(I(a)("rla.window_type.label")) + " ", 1)
|
|
6580
6576
|
]),
|
|
6581
6577
|
_: 1
|
|
6582
6578
|
}),
|
|
6583
|
-
m("div",
|
|
6579
|
+
m("div", np, [
|
|
6584
6580
|
(c(!0), _(Y, null, oe(q.value, ($) => (c(), U(K, {
|
|
6585
6581
|
key: `window-type-${$}`,
|
|
6586
6582
|
"model-value": k.value,
|
|
@@ -6589,13 +6585,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6589
6585
|
"onUpdate:modelValue": F
|
|
6590
6586
|
}, {
|
|
6591
6587
|
default: M(() => [
|
|
6592
|
-
ce(
|
|
6588
|
+
ce(L(I(a)(`rla.window_type.options.${$}`)), 1)
|
|
6593
6589
|
]),
|
|
6594
6590
|
_: 2
|
|
6595
6591
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
6596
6592
|
])
|
|
6597
6593
|
]),
|
|
6598
|
-
m("div",
|
|
6594
|
+
m("div", ip, [
|
|
6599
6595
|
(c(!0), _(Y, null, oe(h.value, ($, ne) => (c(), _("div", {
|
|
6600
6596
|
key: ne.toString()
|
|
6601
6597
|
}, [
|
|
@@ -6603,11 +6599,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6603
6599
|
for: `rla-form-request-limits-item-${ne}-legend`
|
|
6604
6600
|
}, {
|
|
6605
6601
|
default: M(() => [
|
|
6606
|
-
ce(
|
|
6602
|
+
ce(L(I(a)("rla.request_limits.label_index", { index: ne + 1 })), 1)
|
|
6607
6603
|
]),
|
|
6608
6604
|
_: 2
|
|
6609
6605
|
}, 1032, ["for"]),
|
|
6610
|
-
m("div",
|
|
6606
|
+
m("div", ap, [
|
|
6611
6607
|
m("legend", {
|
|
6612
6608
|
id: `rla-form-request-limits-item-${ne}-legend`,
|
|
6613
6609
|
class: "rla-form-request-limits-inputs"
|
|
@@ -6618,16 +6614,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6618
6614
|
type: "number",
|
|
6619
6615
|
"onUpdate:modelValue": (re) => y(ne, Number.parseInt(re))
|
|
6620
6616
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6621
|
-
m("div", null,
|
|
6617
|
+
m("div", null, L(I(a)("rla.request_limits.interval_determiner")), 1),
|
|
6622
6618
|
O(H, {
|
|
6623
6619
|
"model-value": $.windowSize && $.windowSize.toString(),
|
|
6624
6620
|
placeholder: I(a)("rla.request_limits.time_interval"),
|
|
6625
6621
|
type: "number",
|
|
6626
6622
|
"onUpdate:modelValue": (re) => v(ne, Number.parseInt(re))
|
|
6627
6623
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
6628
|
-
m("div", null,
|
|
6629
|
-
], 8,
|
|
6630
|
-
m("div",
|
|
6624
|
+
m("div", null, L(I(a)("rla.request_limits.seconds")), 1)
|
|
6625
|
+
], 8, op),
|
|
6626
|
+
m("div", rp, [
|
|
6631
6627
|
O(ge, {
|
|
6632
6628
|
appearance: "tertiary",
|
|
6633
6629
|
disabled: h.value.length <= 1,
|
|
@@ -6651,18 +6647,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6651
6647
|
])
|
|
6652
6648
|
]))), 128))
|
|
6653
6649
|
]),
|
|
6654
|
-
d.value.length > 0 ? (c(), _("div",
|
|
6655
|
-
m("div", null,
|
|
6656
|
-
m("div",
|
|
6650
|
+
d.value.length > 0 ? (c(), _("div", sp, [
|
|
6651
|
+
m("div", null, L(I(a)("rla.start_with_a_use_case")), 1),
|
|
6652
|
+
m("div", lp, [
|
|
6657
6653
|
(c(!0), _(Y, null, oe(d.value, ($, ne) => (c(), U(fe, {
|
|
6658
6654
|
key: `use-case-${ne}`,
|
|
6659
6655
|
"max-width": "300"
|
|
6660
6656
|
}, {
|
|
6661
6657
|
content: M(() => [
|
|
6662
|
-
m("div", null,
|
|
6658
|
+
m("div", null, L($.description), 1),
|
|
6663
6659
|
w[10] || (w[10] = m("br", null, null, -1)),
|
|
6664
|
-
m("div", null,
|
|
6665
|
-
m("div", null,
|
|
6660
|
+
m("div", null, L(I(a)("rla.request_limits.label")) + ": " + L($.config.limit), 1),
|
|
6661
|
+
m("div", null, L(I(a)("rla.request_limits.time_interval")) + ": " + L($.config.window_size), 1)
|
|
6666
6662
|
]),
|
|
6667
6663
|
default: M(() => [
|
|
6668
6664
|
O(Ke, {
|
|
@@ -6671,7 +6667,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6671
6667
|
onClick: () => T($, `${k.value}-${ne}`)
|
|
6672
6668
|
}, {
|
|
6673
6669
|
default: M(() => [
|
|
6674
|
-
ce(
|
|
6670
|
+
ce(L($.label), 1)
|
|
6675
6671
|
]),
|
|
6676
6672
|
_: 2
|
|
6677
6673
|
}, 1032, ["appearance", "onClick"])
|
|
@@ -6702,7 +6698,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6702
6698
|
"label-tooltip": M(() => [
|
|
6703
6699
|
m("div", {
|
|
6704
6700
|
innerHTML: u.value && u.value.help
|
|
6705
|
-
}, null, 8,
|
|
6701
|
+
}, null, 8, dp)
|
|
6706
6702
|
]),
|
|
6707
6703
|
_: 1
|
|
6708
6704
|
}, 8, ["modelValue", "items", "label"]),
|
|
@@ -6717,11 +6713,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6717
6713
|
}
|
|
6718
6714
|
}, {
|
|
6719
6715
|
default: M(() => [
|
|
6720
|
-
ce(
|
|
6716
|
+
ce(L(I(a)("rla.error_message.label")), 1)
|
|
6721
6717
|
]),
|
|
6722
6718
|
_: 1
|
|
6723
6719
|
}, 8, ["info"]),
|
|
6724
|
-
m("legend",
|
|
6720
|
+
m("legend", up, [
|
|
6725
6721
|
O(H, {
|
|
6726
6722
|
class: "input-error-code",
|
|
6727
6723
|
"model-value": C.value && C.value.toString(),
|
|
@@ -6731,7 +6727,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6731
6727
|
}, null, 8, ["model-value", "placeholder"]),
|
|
6732
6728
|
w[11] || (w[11] = m("div", null, ":", -1)),
|
|
6733
6729
|
O(H, {
|
|
6734
|
-
"model-value":
|
|
6730
|
+
"model-value": N.value,
|
|
6735
6731
|
placeholder: I(a)("rla.error_message.message_placeholder"),
|
|
6736
6732
|
"onUpdate:modelValue": w[4] || (w[4] = ($) => E.onModelUpdated($, "config-error_message"))
|
|
6737
6733
|
}, null, 8, ["model-value", "placeholder"])
|
|
@@ -6783,20 +6779,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6783
6779
|
], 64);
|
|
6784
6780
|
};
|
|
6785
6781
|
}
|
|
6786
|
-
}),
|
|
6782
|
+
}), mp = /* @__PURE__ */ W(cp, [["__scopeId", "data-v-dc7ac5da"]]), _p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6787
6783
|
__proto__: null,
|
|
6788
|
-
ACMEForm:
|
|
6789
|
-
ExitTransformer:
|
|
6790
|
-
OIDCForm:
|
|
6791
|
-
PostFunction:
|
|
6792
|
-
RLAForm:
|
|
6793
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6784
|
+
ACMEForm: Zh,
|
|
6785
|
+
ExitTransformer: jh,
|
|
6786
|
+
OIDCForm: Ph,
|
|
6787
|
+
PostFunction: $h,
|
|
6788
|
+
RLAForm: mp
|
|
6789
|
+
}, Symbol.toStringTag, { value: "Module" })), Tp = [
|
|
6794
6790
|
"array",
|
|
6795
6791
|
"metric",
|
|
6796
6792
|
"advanced",
|
|
6797
6793
|
"selectionGroup",
|
|
6798
6794
|
"object-advanced"
|
|
6799
|
-
],
|
|
6795
|
+
], Sp = (e) => ({
|
|
6800
6796
|
"openid-connect": "OIDCForm",
|
|
6801
6797
|
"post-function": "PostFunction",
|
|
6802
6798
|
// Pre and Post function plugins are using same component
|
|
@@ -6805,18 +6801,19 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
6805
6801
|
"rate-limiting-advanced": "RLAForm"
|
|
6806
6802
|
})[e];
|
|
6807
6803
|
export {
|
|
6808
|
-
|
|
6804
|
+
Le as AUTOFILL_SLOT,
|
|
6809
6805
|
Mt as AUTOFILL_SLOT_NAME,
|
|
6806
|
+
rl as EMPTY_VALUE_PLACEHOLDER,
|
|
6810
6807
|
je as FIELD_STATES,
|
|
6811
6808
|
Se as FORMS_API_KEY,
|
|
6812
6809
|
al as FORMS_CONFIG,
|
|
6813
6810
|
un as PartialType,
|
|
6814
6811
|
ol as REDIS_PARTIAL_FETCHER_KEY,
|
|
6815
|
-
|
|
6812
|
+
vp as REDIS_PARTIAL_INFO,
|
|
6816
6813
|
ue as VueFormGenerator,
|
|
6817
|
-
|
|
6814
|
+
bp as abstractField,
|
|
6818
6815
|
qe as composables,
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6816
|
+
Tp as customFields,
|
|
6817
|
+
Sp as getSharedFormName,
|
|
6818
|
+
_p as sharedForms
|
|
6822
6819
|
};
|