@kong-ui-public/forms 4.31.0 → 4.31.1-pr.3543.849242e5e.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/forms.es.js +118 -113
- package/dist/forms.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/RedisConfigSelect.vue.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as V, createTextVNode as Z, useModel as Ns, createBlock as L, createSlots as
|
|
1
|
+
import { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as V, createTextVNode as Z, useModel as Ns, createBlock as L, createSlots as et, mergeModels as na, inject as on, ref as re, onMounted as vi, watch as dn, resolveDynamicComponent as le, Fragment as Y, renderList as se, computed as B, toRefs as Mt, onBeforeMount as bi, mergeProps as tt, Transition as Us, createCommentVNode as z, resolveDirective as so, withDirectives as Fe, vModelText as Qt, vModelCheckbox as Ls, vModelSelect as Ds, vModelDynamic as ro, isRef as Vt, toRef as lo, vModelRadio as Ps, vShow as Vs, withModifiers as ia, normalizeProps as Ks, guardReactiveProps as js, useSlots as Mn, nextTick as aa } from "vue";
|
|
2
2
|
import { createI18n as De } from "@kong-ui-public/i18n";
|
|
3
3
|
import { TrashIcon as Kt, SearchIcon as xs, AddIcon as wn, WorldIcon as $s, KeyIcon as zs, CloseIcon as qs, BookIcon as Bs, RemoveIcon as Hs } from "@kong/icons";
|
|
4
4
|
import { isAxiosError as Gs } from "axios";
|
|
@@ -274,23 +274,23 @@ function jl(e, t) {
|
|
|
274
274
|
var n = this.__data__, o = On(n, e);
|
|
275
275
|
return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function nt(e) {
|
|
278
278
|
var t = -1, n = e == null ? 0 : e.length;
|
|
279
279
|
for (this.clear(); ++t < n; ) {
|
|
280
280
|
var o = e[t];
|
|
281
281
|
this.set(o[0], o[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
284
|
+
nt.prototype.clear = Ul;
|
|
285
|
+
nt.prototype.delete = Pl;
|
|
286
|
+
nt.prototype.get = Vl;
|
|
287
|
+
nt.prototype.has = Kl;
|
|
288
|
+
nt.prototype.set = jl;
|
|
289
289
|
var rn = At(xe, "Map");
|
|
290
290
|
function xl() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
292
292
|
hash: new bt(),
|
|
293
|
-
map: new (rn ||
|
|
293
|
+
map: new (rn || nt)(),
|
|
294
294
|
string: new bt()
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -316,18 +316,18 @@ function Hl(e, t) {
|
|
|
316
316
|
var n = kn(this, e), o = n.size;
|
|
317
317
|
return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function it(e) {
|
|
320
320
|
var t = -1, n = e == null ? 0 : e.length;
|
|
321
321
|
for (this.clear(); ++t < n; ) {
|
|
322
322
|
var o = e[t];
|
|
323
323
|
this.set(o[0], o[1]);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
it.prototype.clear = xl;
|
|
327
|
+
it.prototype.delete = zl;
|
|
328
|
+
it.prototype.get = ql;
|
|
329
|
+
it.prototype.has = Bl;
|
|
330
|
+
it.prototype.set = Hl;
|
|
331
331
|
var Gl = "Expected a function";
|
|
332
332
|
function Mi(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
@@ -339,9 +339,9 @@ function Mi(e, t) {
|
|
|
339
339
|
var r = e.apply(this, o);
|
|
340
340
|
return n.cache = i.set(a, r) || i, r;
|
|
341
341
|
};
|
|
342
|
-
return n.cache = new (Mi.Cache ||
|
|
342
|
+
return n.cache = new (Mi.Cache || it)(), n;
|
|
343
343
|
}
|
|
344
|
-
Mi.Cache =
|
|
344
|
+
Mi.Cache = it;
|
|
345
345
|
var Yl = 500;
|
|
346
346
|
function Wl(e) {
|
|
347
347
|
var t = Mi(e, function(o) {
|
|
@@ -461,7 +461,7 @@ mi || (mi = function(t) {
|
|
|
461
461
|
o[a - 1] = arguments[a];
|
|
462
462
|
return new t(...o);
|
|
463
463
|
});
|
|
464
|
-
const Yt = Se(Array.prototype.forEach), fd = Se(Array.prototype.lastIndexOf), pa = Se(Array.prototype.pop), Rt = Se(Array.prototype.push), hd = Se(Array.prototype.splice),
|
|
464
|
+
const Yt = Se(Array.prototype.forEach), fd = Se(Array.prototype.lastIndexOf), pa = Se(Array.prototype.pop), Rt = Se(Array.prototype.push), hd = Se(Array.prototype.splice), ut = Array.isArray, Jt = Se(String.prototype.toLowerCase), ei = Se(String.prototype.toString), ga = Se(String.prototype.match), Wt = Se(String.prototype.replace), ya = Se(String.prototype.indexOf), pd = Se(String.prototype.trim), gd = Se(Number.prototype.toString), yd = Se(Boolean.prototype.toString), va = typeof BigInt > "u" ? null : Se(BigInt.prototype.toString), ba = typeof Symbol > "u" ? null : Se(Symbol.prototype.toString), Me = Se(Object.prototype.hasOwnProperty), Zt = Se(Object.prototype.toString), Ae = Se(RegExp.prototype.test), vt = vd(TypeError);
|
|
465
465
|
function Se(e) {
|
|
466
466
|
return function(t) {
|
|
467
467
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -479,7 +479,7 @@ function vd(e) {
|
|
|
479
479
|
}
|
|
480
480
|
function X(e, t) {
|
|
481
481
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Jt;
|
|
482
|
-
if (ha && ha(e, null), !
|
|
482
|
+
if (ha && ha(e, null), !ut(t))
|
|
483
483
|
return e;
|
|
484
484
|
let o = t.length;
|
|
485
485
|
for (; o--; ) {
|
|
@@ -502,7 +502,7 @@ function ke(e) {
|
|
|
502
502
|
for (const o of Mo(e)) {
|
|
503
503
|
var n = ld(o, 2);
|
|
504
504
|
const a = n[0], i = n[1];
|
|
505
|
-
Me(e, a) && (
|
|
505
|
+
Me(e, a) && (ut(i) ? t[a] = bd(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
|
|
506
506
|
}
|
|
507
507
|
return t;
|
|
508
508
|
}
|
|
@@ -613,8 +613,8 @@ const _a = Ie(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
613
613
|
uponSanitizeElement: [],
|
|
614
614
|
uponSanitizeShadowNode: []
|
|
615
615
|
};
|
|
616
|
-
},
|
|
617
|
-
return Me(t, n) &&
|
|
616
|
+
}, lt = function(t, n, o, a) {
|
|
617
|
+
return Me(t, n) && ut(t[n]) ? X(a.base ? ke(a.base) : {}, t[n], a.transform) : o;
|
|
618
618
|
};
|
|
619
619
|
function Ao() {
|
|
620
620
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Dd();
|
|
@@ -651,7 +651,7 @@ function Ao() {
|
|
|
651
651
|
}
|
|
652
652
|
}, W = function() {
|
|
653
653
|
return P || (U = Pd(f, a), P = !0), U;
|
|
654
|
-
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator,
|
|
654
|
+
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator, at = ee.createDocumentFragment, Nn = ee.getElementsByTagName, Un = o.importNode;
|
|
655
655
|
let q = Ea();
|
|
656
656
|
t.isSupported = typeof Mo == "function" && typeof D == "function" && $e && $e.createHTMLDocument !== void 0;
|
|
657
657
|
const ce = wd, $t = Ad, ms = Ed, fs = Id, hs = Cd, ps = Od, ki = kd, gs = Fd;
|
|
@@ -679,7 +679,7 @@ function Ao() {
|
|
|
679
679
|
value: !1
|
|
680
680
|
}
|
|
681
681
|
})), zt = null, Ui = null;
|
|
682
|
-
const
|
|
682
|
+
const ot = Object.seal(Ft(null, {
|
|
683
683
|
tagCheck: {
|
|
684
684
|
writable: !0,
|
|
685
685
|
configurable: !1,
|
|
@@ -693,7 +693,7 @@ function Ao() {
|
|
|
693
693
|
value: null
|
|
694
694
|
}
|
|
695
695
|
}));
|
|
696
|
-
let Li = !0, Ln = !0, Di = !1, Pi = !0,
|
|
696
|
+
let Li = !0, Ln = !0, Di = !1, Pi = !0, st = !1, qt = !0, gt = !1, Dn = !1, Pn = null, Vn = null, Kn = !1, Et = !1, cn = !1, un = !1, Vi = !0, Ki = !1;
|
|
697
697
|
const ji = "user-content-";
|
|
698
698
|
let jn = !0, xn = !1, It = {}, He = null;
|
|
699
699
|
const $n = X({}, [
|
|
@@ -753,27 +753,27 @@ function Ao() {
|
|
|
753
753
|
if (Ot && Ot === s)
|
|
754
754
|
return;
|
|
755
755
|
(!s || typeof s != "object") && (s = {}), s = ke(s), Bt = // eslint-disable-next-line unicorn/prefer-includes
|
|
756
|
-
bs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? _s : s.PARSER_MEDIA_TYPE, he = Bt === "application/xhtml+xml" ? ei : Jt, ue =
|
|
756
|
+
bs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? _s : s.PARSER_MEDIA_TYPE, he = Bt === "application/xhtml+xml" ? ei : Jt, ue = lt(s, "ALLOWED_TAGS", Fi, {
|
|
757
757
|
transform: he
|
|
758
|
-
}), me =
|
|
758
|
+
}), me = lt(s, "ALLOWED_ATTR", Ni, {
|
|
759
759
|
transform: he
|
|
760
|
-
}), Bn =
|
|
760
|
+
}), Bn = lt(s, "ALLOWED_NAMESPACES", ys, {
|
|
761
761
|
transform: ei
|
|
762
|
-
}), zn =
|
|
762
|
+
}), zn = lt(s, "ADD_URI_SAFE_ATTR", zi, {
|
|
763
763
|
transform: he,
|
|
764
764
|
base: zi
|
|
765
|
-
}), xi =
|
|
765
|
+
}), xi = lt(s, "ADD_DATA_URI_TAGS", $i, {
|
|
766
766
|
transform: he,
|
|
767
767
|
base: $i
|
|
768
|
-
}), He =
|
|
768
|
+
}), He = lt(s, "FORBID_CONTENTS", $n, {
|
|
769
769
|
transform: he
|
|
770
|
-
}), zt =
|
|
770
|
+
}), zt = lt(s, "FORBID_TAGS", ke({}), {
|
|
771
771
|
transform: he
|
|
772
|
-
}), Ui =
|
|
772
|
+
}), Ui = lt(s, "FORBID_ATTR", ke({}), {
|
|
773
773
|
transform: he
|
|
774
|
-
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1,
|
|
774
|
+
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, gt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, Kn = s.FORCE_BODY || !1, Vi = s.SANITIZE_DOM !== !1, Ki = s.SANITIZE_NAMED_PROPS || !1, jn = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Ri = Sd(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : wa, Ct = typeof s.NAMESPACE == "string" ? s.NAMESPACE : Ge, Hn = Me(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ke(s.MATHML_TEXT_INTEGRATION_POINTS) : X({}, qi), Gn = Me(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? ke(s.HTML_INTEGRATION_POINTS) : X({}, Bi);
|
|
775
775
|
const h = Me(s, "CUSTOM_ELEMENT_HANDLING") && s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING == "object" ? ke(s.CUSTOM_ELEMENT_HANDLING) : Ft(null);
|
|
776
|
-
if (fe = Ft(null), Me(h, "tagNameCheck") && Hi(h.tagNameCheck) && (fe.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && Hi(h.attributeNameCheck) && (fe.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(fe),
|
|
776
|
+
if (fe = Ft(null), Me(h, "tagNameCheck") && Hi(h.tagNameCheck) && (fe.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && Hi(h.attributeNameCheck) && (fe.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(fe), st && (Ln = !1), cn && (Et = !0), It && (ue = X({}, Sa), me = Ft(null), It.html === !0 && (X(ue, _a), X(me, Ta)), It.svg === !0 && (X(ue, ti), X(me, ai), X(me, yn)), It.svgFilters === !0 && (X(ue, ni), X(me, ai), X(me, yn)), It.mathMl === !0 && (X(ue, ii), X(me, Ma), X(me, yn))), ot.tagCheck = null, ot.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? ot.tagCheck = s.ADD_TAGS : ut(s.ADD_TAGS) && (ue === Fi && (ue = ke(ue)), X(ue, s.ADD_TAGS, he))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? ot.attributeCheck = s.ADD_ATTR : ut(s.ADD_ATTR) && (me === Ni && (me = ke(me)), X(me, s.ADD_ATTR, he))), Me(s, "ADD_URI_SAFE_ATTR") && ut(s.ADD_URI_SAFE_ATTR) && X(zn, s.ADD_URI_SAFE_ATTR, he), Me(s, "FORBID_CONTENTS") && ut(s.FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.FORBID_CONTENTS, he)), Me(s, "ADD_FORBID_CONTENTS") && ut(s.ADD_FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.ADD_FORBID_CONTENTS, he)), jn && (ue["#text"] = !0), gt && X(ue, ["html", "head", "body"]), ue.table && (X(ue, ["tbody"]), delete zt.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
777
777
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
778
778
|
throw vt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
779
779
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -801,7 +801,7 @@ function Ao() {
|
|
|
801
801
|
});
|
|
802
802
|
const R = Jt(s.tagName), x = Jt(h.tagName);
|
|
803
803
|
return Bn[s.namespaceURI] ? s.namespaceURI === fn ? Ts(R, h, x) : s.namespaceURI === mn ? Ms(R, h, x) : s.namespaceURI === Ge ? ws(R, h, x) : !!(Bt === "application/xhtml+xml" && Bn[s.namespaceURI]) : !1;
|
|
804
|
-
},
|
|
804
|
+
}, rt = function(s) {
|
|
805
805
|
Rt(t.removed, {
|
|
806
806
|
element: s
|
|
807
807
|
});
|
|
@@ -849,7 +849,7 @@ function Ao() {
|
|
|
849
849
|
if (h.removeAttribute(s), s === "is")
|
|
850
850
|
if (Et || cn)
|
|
851
851
|
try {
|
|
852
|
-
|
|
852
|
+
rt(h);
|
|
853
853
|
} catch {
|
|
854
854
|
}
|
|
855
855
|
else
|
|
@@ -992,21 +992,21 @@ function Ao() {
|
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
|
-
return
|
|
995
|
+
return rt(s), !0;
|
|
996
996
|
}, Ji = function(s) {
|
|
997
997
|
if (Xe(q.beforeSanitizeElements, s, null), pn(s))
|
|
998
|
-
return
|
|
998
|
+
return rt(s), !0;
|
|
999
999
|
const h = he(C ? C(s) : s.nodeName);
|
|
1000
1000
|
if (Xe(q.uponSanitizeElement, s, {
|
|
1001
1001
|
tagName: h,
|
|
1002
1002
|
allowedTags: ue
|
|
1003
1003
|
}), Cs(s, h))
|
|
1004
|
-
return
|
|
1005
|
-
if (zt[h] || !(
|
|
1004
|
+
return rt(s), !0;
|
|
1005
|
+
if (zt[h] || !(ot.tagCheck instanceof Function && ot.tagCheck(h)) && !ue[h])
|
|
1006
1006
|
return Os(s, h);
|
|
1007
1007
|
if ((O ? O(s) : s.nodeType) === Ye.element && !As(s) || (h === "noscript" || h === "noembed" || h === "noframes") && Ae(Ud, s.innerHTML))
|
|
1008
|
-
return
|
|
1009
|
-
if (
|
|
1008
|
+
return rt(s), !0;
|
|
1009
|
+
if (st && s.nodeType === Ye.text) {
|
|
1010
1010
|
const x = hn(s.textContent);
|
|
1011
1011
|
s.textContent !== x && (Rt(t.removed, {
|
|
1012
1012
|
element: s.cloneNode()
|
|
@@ -1016,7 +1016,7 @@ function Ao() {
|
|
|
1016
1016
|
}, Qi = function(s, h, R) {
|
|
1017
1017
|
if (Ui[h] || Vi && (h === "id" || h === "name") && (R in n || R in Ss))
|
|
1018
1018
|
return !1;
|
|
1019
|
-
const x = me[h] ||
|
|
1019
|
+
const x = me[h] || ot.attributeCheck instanceof Function && ot.attributeCheck(h, s);
|
|
1020
1020
|
if (!(Ln && Ae(fs, h))) {
|
|
1021
1021
|
if (!(Li && Ae(hs, h))) {
|
|
1022
1022
|
if (x) {
|
|
@@ -1054,7 +1054,7 @@ function Ao() {
|
|
|
1054
1054
|
return x;
|
|
1055
1055
|
}, Fs = function(s, h, R, x) {
|
|
1056
1056
|
try {
|
|
1057
|
-
R ? s.setAttributeNS(R, h, x) : s.setAttribute(h, x), pn(s) ?
|
|
1057
|
+
R ? s.setAttributeNS(R, h, x) : s.setAttribute(h, x), pn(s) ? rt(s) : pa(t.removed);
|
|
1058
1058
|
} catch {
|
|
1059
1059
|
yt(h, s);
|
|
1060
1060
|
}
|
|
@@ -1092,7 +1092,7 @@ function Ao() {
|
|
|
1092
1092
|
yt(Te, s);
|
|
1093
1093
|
continue;
|
|
1094
1094
|
}
|
|
1095
|
-
if (
|
|
1095
|
+
if (st && (Oe = hn(Oe)), !Qi(G, ze, Oe)) {
|
|
1096
1096
|
yt(Te, s);
|
|
1097
1097
|
continue;
|
|
1098
1098
|
}
|
|
@@ -1174,13 +1174,13 @@ function Ao() {
|
|
|
1174
1174
|
} else if (Ht(N))
|
|
1175
1175
|
h = Zi("<!---->"), R = h.ownerDocument.importNode(N, !0), R.nodeType === Ye.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? h = R : h.appendChild(R), Zn(R);
|
|
1176
1176
|
else {
|
|
1177
|
-
if (!Et && !
|
|
1177
|
+
if (!Et && !st && !gt && // eslint-disable-next-line unicorn/prefer-includes
|
|
1178
1178
|
N.indexOf("<") === -1)
|
|
1179
1179
|
return y && un ? I(N) : N;
|
|
1180
1180
|
if (h = Zi(N), !h)
|
|
1181
1181
|
return Et ? null : un ? S : "";
|
|
1182
1182
|
}
|
|
1183
|
-
h && Kn &&
|
|
1183
|
+
h && Kn && rt(h.firstChild);
|
|
1184
1184
|
const Te = Xi(Q ? N : h);
|
|
1185
1185
|
try {
|
|
1186
1186
|
for (; x = Te.nextNode(); )
|
|
@@ -1191,10 +1191,10 @@ function Ao() {
|
|
|
1191
1191
|
if (Q)
|
|
1192
1192
|
return Yt(t.removed, (Ve) => {
|
|
1193
1193
|
Ve.element && Is(Ve.element);
|
|
1194
|
-
}),
|
|
1194
|
+
}), st && Wn(N), N;
|
|
1195
1195
|
if (Et) {
|
|
1196
|
-
if (
|
|
1197
|
-
for (G =
|
|
1196
|
+
if (st && Wn(h), cn)
|
|
1197
|
+
for (G = at.call(h.ownerDocument); h.firstChild; )
|
|
1198
1198
|
G.appendChild(h.firstChild);
|
|
1199
1199
|
else
|
|
1200
1200
|
G = h;
|
|
@@ -1202,7 +1202,7 @@ function Ao() {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
let _e = gt ? h.outerHTML : h.innerHTML;
|
|
1204
1204
|
return gt && ue["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && Ae(Rd, h.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + h.ownerDocument.doctype.name + `>
|
|
1205
|
-
` + _e),
|
|
1205
|
+
` + _e), st && (_e = hn(_e)), y && un ? I(_e) : _e;
|
|
1206
1206
|
}, t.setConfig = function() {
|
|
1207
1207
|
let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1208
1208
|
Yn(N), Dn = !0, Pn = ue, Vn = me;
|
|
@@ -1230,7 +1230,7 @@ function Ao() {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
var Ai = Ao();
|
|
1232
1232
|
function Vd() {
|
|
1233
|
-
this.__data__ = new
|
|
1233
|
+
this.__data__ = new nt(), this.size = 0;
|
|
1234
1234
|
}
|
|
1235
1235
|
function Kd(e) {
|
|
1236
1236
|
var t = this.__data__, n = t.delete(e);
|
|
@@ -1245,16 +1245,16 @@ function xd(e) {
|
|
|
1245
1245
|
var $d = 200;
|
|
1246
1246
|
function zd(e, t) {
|
|
1247
1247
|
var n = this.__data__;
|
|
1248
|
-
if (n instanceof
|
|
1248
|
+
if (n instanceof nt) {
|
|
1249
1249
|
var o = n.__data__;
|
|
1250
1250
|
if (!rn || o.length < $d - 1)
|
|
1251
1251
|
return o.push([e, t]), this.size = ++n.size, this;
|
|
1252
|
-
n = this.__data__ = new
|
|
1252
|
+
n = this.__data__ = new it(o);
|
|
1253
1253
|
}
|
|
1254
1254
|
return n.set(e, t), this.size = n.size, this;
|
|
1255
1255
|
}
|
|
1256
1256
|
function xt(e) {
|
|
1257
|
-
var t = this.__data__ = new
|
|
1257
|
+
var t = this.__data__ = new nt(e);
|
|
1258
1258
|
this.size = t.size;
|
|
1259
1259
|
}
|
|
1260
1260
|
xt.prototype.clear = Vd;
|
|
@@ -1642,7 +1642,7 @@ function Ku(e) {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
function bn(e) {
|
|
1644
1644
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1645
|
-
for (this.__data__ = new
|
|
1645
|
+
for (this.__data__ = new it(); ++t < n; )
|
|
1646
1646
|
this.add(e[t]);
|
|
1647
1647
|
}
|
|
1648
1648
|
bn.prototype.add = bn.prototype.push = Vu;
|
|
@@ -1712,7 +1712,7 @@ function jo(e) {
|
|
|
1712
1712
|
var t = ++Xu;
|
|
1713
1713
|
return To(e) + t;
|
|
1714
1714
|
}
|
|
1715
|
-
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,
|
|
1715
|
+
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, ct = "\\d\\d?", dt = "\\d\\d", Ju = "\\d{3}", Qu = "\\d{4}", nn = "[^\\s]+", $o = /\[([^]*?)\]/gm;
|
|
1716
1716
|
function zo(e, t) {
|
|
1717
1717
|
for (var n = [], o = 0, a = e.length; o < a; o++)
|
|
1718
1718
|
n.push(e[o].substr(0, t));
|
|
@@ -1863,7 +1863,7 @@ var qo = [
|
|
|
1863
1863
|
}
|
|
1864
1864
|
}, Ha = function(e) {
|
|
1865
1865
|
return +e - 1;
|
|
1866
|
-
}, Ga = [null,
|
|
1866
|
+
}, Ga = [null, ct], Ya = [null, nn], Wa = [
|
|
1867
1867
|
"isPm",
|
|
1868
1868
|
nn,
|
|
1869
1869
|
function(e, t) {
|
|
@@ -1882,34 +1882,34 @@ var qo = [
|
|
|
1882
1882
|
return 0;
|
|
1883
1883
|
}
|
|
1884
1884
|
], am = {
|
|
1885
|
-
D: ["day",
|
|
1886
|
-
DD: ["day",
|
|
1887
|
-
Do: ["day",
|
|
1885
|
+
D: ["day", ct],
|
|
1886
|
+
DD: ["day", dt],
|
|
1887
|
+
Do: ["day", ct + nn, function(e) {
|
|
1888
1888
|
return parseInt(e, 10);
|
|
1889
1889
|
}],
|
|
1890
|
-
M: ["month",
|
|
1891
|
-
MM: ["month",
|
|
1890
|
+
M: ["month", ct, Ha],
|
|
1891
|
+
MM: ["month", dt, Ha],
|
|
1892
1892
|
YY: [
|
|
1893
1893
|
"year",
|
|
1894
|
-
|
|
1894
|
+
dt,
|
|
1895
1895
|
function(e) {
|
|
1896
1896
|
var t = /* @__PURE__ */ new Date(), n = +("" + t.getFullYear()).substr(0, 2);
|
|
1897
1897
|
return +("" + (+e > 68 ? n - 1 : n) + e);
|
|
1898
1898
|
}
|
|
1899
1899
|
],
|
|
1900
|
-
h: ["hour",
|
|
1901
|
-
hh: ["hour",
|
|
1902
|
-
H: ["hour",
|
|
1903
|
-
HH: ["hour",
|
|
1904
|
-
m: ["minute",
|
|
1905
|
-
mm: ["minute",
|
|
1906
|
-
s: ["second",
|
|
1907
|
-
ss: ["second",
|
|
1900
|
+
h: ["hour", ct, void 0, "isPm"],
|
|
1901
|
+
hh: ["hour", dt, void 0, "isPm"],
|
|
1902
|
+
H: ["hour", ct],
|
|
1903
|
+
HH: ["hour", dt],
|
|
1904
|
+
m: ["minute", ct],
|
|
1905
|
+
mm: ["minute", dt],
|
|
1906
|
+
s: ["second", ct],
|
|
1907
|
+
ss: ["second", dt],
|
|
1908
1908
|
YYYY: ["year", Qu],
|
|
1909
1909
|
S: ["millisecond", "\\d", function(e) {
|
|
1910
1910
|
return +e * 100;
|
|
1911
1911
|
}],
|
|
1912
|
-
SS: ["millisecond",
|
|
1912
|
+
SS: ["millisecond", dt, function(e) {
|
|
1913
1913
|
return +e * 10;
|
|
1914
1914
|
}],
|
|
1915
1915
|
SSS: ["millisecond", Ju],
|
|
@@ -2746,7 +2746,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2746
2746
|
width: "100%",
|
|
2747
2747
|
onChange: a[1] || (a[1] = (r) => o.$emit("change", r)),
|
|
2748
2748
|
onQueryChange: a[2] || (a[2] = (r) => o.$emit("query-change", r))
|
|
2749
|
-
},
|
|
2749
|
+
}, et({
|
|
2750
2750
|
"item-template": E(({ item: r }) => [
|
|
2751
2751
|
we(o.$slots, "item", { item: r }, () => [
|
|
2752
2752
|
u("span", {
|
|
@@ -3477,7 +3477,7 @@ const Be = {
|
|
|
3477
3477
|
}), (j, O) => {
|
|
3478
3478
|
const C = k("KInput");
|
|
3479
3479
|
return d(), M("div", Tf, [
|
|
3480
|
-
A(C,
|
|
3480
|
+
A(C, tt(j.$attrs, {
|
|
3481
3481
|
id: V(c)(e.schema),
|
|
3482
3482
|
autocomplete: e.schema.autocomplete,
|
|
3483
3483
|
class: e.schema.fieldClasses,
|
|
@@ -4079,7 +4079,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4079
4079
|
}, { immediate: !0 }), (T, w) => {
|
|
4080
4080
|
const v = k("KInput");
|
|
4081
4081
|
return d(), M("div", eh, [
|
|
4082
|
-
A(v,
|
|
4082
|
+
A(v, tt(T.$attrs, {
|
|
4083
4083
|
id: V(i)(e.schema),
|
|
4084
4084
|
"aria-labelledby": V(r)(e.schema),
|
|
4085
4085
|
class: e.schema.fieldClasses,
|
|
@@ -4257,7 +4257,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4257
4257
|
default: E(() => {
|
|
4258
4258
|
var T;
|
|
4259
4259
|
return [
|
|
4260
|
-
e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (d(), L(m,
|
|
4260
|
+
e.schema.inputAttributes && e.schema.inputAttributes.type === "textarea" ? (d(), L(m, tt({
|
|
4261
4261
|
key: 0,
|
|
4262
4262
|
ref_for: !0
|
|
4263
4263
|
}, e.schema.inputAttributes, {
|
|
@@ -4276,7 +4276,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4276
4276
|
required: e.schema.required,
|
|
4277
4277
|
resizable: "",
|
|
4278
4278
|
rows: e.schema.rows || 3
|
|
4279
|
-
}), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (d(), L(b,
|
|
4279
|
+
}), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (d(), L(b, tt({
|
|
4280
4280
|
key: 1,
|
|
4281
4281
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
4282
4282
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
@@ -4285,7 +4285,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4285
4285
|
onInput: (w) => {
|
|
4286
4286
|
i.handleInput(w, g);
|
|
4287
4287
|
}
|
|
4288
|
-
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Fe((d(), M("input",
|
|
4288
|
+
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Fe((d(), M("input", tt({
|
|
4289
4289
|
key: 2,
|
|
4290
4290
|
"onUpdate:modelValue": (w) => e.value[g] = w,
|
|
4291
4291
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
@@ -4298,7 +4298,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4298
4298
|
}),
|
|
4299
4299
|
_: 2
|
|
4300
4300
|
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (d(), M(Y, { key: 4 }, [
|
|
4301
|
-
Fe(u("input",
|
|
4301
|
+
Fe(u("input", tt({ ref_for: !0 }, e.schema.inputAttributes, {
|
|
4302
4302
|
"onUpdate:modelValue": (T) => e.value[g] = T,
|
|
4303
4303
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
4304
4304
|
type: "text"
|
|
@@ -4382,7 +4382,7 @@ const dh = /* @__PURE__ */ J(nh, [["render", lh], ["__scopeId", "data-v-64e1f575
|
|
|
4382
4382
|
}), (f, g) => {
|
|
4383
4383
|
const T = k("KCheckbox");
|
|
4384
4384
|
return d(), M("div", ch, [
|
|
4385
|
-
A(T,
|
|
4385
|
+
A(T, tt(f.$attrs, {
|
|
4386
4386
|
id: V(r)(e.schema),
|
|
4387
4387
|
modelValue: V(l),
|
|
4388
4388
|
"onUpdate:modelValue": g[0] || (g[0] = (w) => Vt(l) ? l.value = w : null),
|
|
@@ -4397,7 +4397,7 @@ const dh = /* @__PURE__ */ J(nh, [["render", lh], ["__scopeId", "data-v-64e1f575
|
|
|
4397
4397
|
readonly: e.schema.readonly,
|
|
4398
4398
|
required: e.schema.required,
|
|
4399
4399
|
width: e.schema.width
|
|
4400
|
-
}),
|
|
4400
|
+
}), et({ _: 2 }, [
|
|
4401
4401
|
e.schema.checkboxLabel && e.schema.help ? {
|
|
4402
4402
|
name: "tooltip",
|
|
4403
4403
|
fn: E(() => [
|
|
@@ -5005,7 +5005,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
5005
5005
|
return (g, T) => {
|
|
5006
5006
|
const w = k("KTextArea");
|
|
5007
5007
|
return d(), M("div", Gh, [
|
|
5008
|
-
A(w,
|
|
5008
|
+
A(w, tt(g.$attrs, {
|
|
5009
5009
|
id: V(c)(e.schema),
|
|
5010
5010
|
modelValue: V(b),
|
|
5011
5011
|
"onUpdate:modelValue": T[0] || (T[0] = (v) => Vt(b) ? b.value = v : null),
|
|
@@ -5210,7 +5210,7 @@ function sp(e, t, n, o, a, i) {
|
|
|
5210
5210
|
placement: "top",
|
|
5211
5211
|
tooltipId: i.getTooltipId(n.field)
|
|
5212
5212
|
} : void 0
|
|
5213
|
-
},
|
|
5213
|
+
}, et({
|
|
5214
5214
|
default: E(() => [
|
|
5215
5215
|
u("div", Qh, [
|
|
5216
5216
|
u("span", null, $(i.formattedLabel(n.field.label)), 1)
|
|
@@ -5239,7 +5239,7 @@ function sp(e, t, n, o, a, i) {
|
|
|
5239
5239
|
} : void 0
|
|
5240
5240
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : z("", !0),
|
|
5241
5241
|
u("div", tp, [
|
|
5242
|
-
(d(), L(le(i.getFieldComponent(n.field)),
|
|
5242
|
+
(d(), L(le(i.getFieldComponent(n.field)), tt(e.$attrs, {
|
|
5243
5243
|
ref: "child",
|
|
5244
5244
|
disabled: e.fieldDisabled(n.field) || null,
|
|
5245
5245
|
"form-options": n.options,
|
|
@@ -5435,7 +5435,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5435
5435
|
), F = B(
|
|
5436
5436
|
() => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.selector.placeholder") : t("redis.shared_configuration.selector.placeholder")
|
|
5437
5437
|
), D = B(
|
|
5438
|
-
() =>
|
|
5438
|
+
() => t("redis.shared_configuration.create_new_configuration", { type: to(a.redisType) })
|
|
5439
5439
|
), H = B(
|
|
5440
5440
|
() => T.value || t("redis.shared_configuration.error")
|
|
5441
5441
|
), j = (U) => {
|
|
@@ -5513,7 +5513,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5513
5513
|
placeholder: F.value,
|
|
5514
5514
|
onChange: P[1] || (P[1] = (K) => S(K == null ? void 0 : K.value)),
|
|
5515
5515
|
onQueryChange: V(c)
|
|
5516
|
-
}, {
|
|
5516
|
+
}, et({
|
|
5517
5517
|
"selected-item-template": E(({ item: K }) => [
|
|
5518
5518
|
u("div", Tp, $(K.name), 1)
|
|
5519
5519
|
]),
|
|
@@ -5538,20 +5538,25 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5538
5538
|
empty: E(() => [
|
|
5539
5539
|
u("div", Ap, $(V(t)("redis.shared_configuration.empty_state")), 1)
|
|
5540
5540
|
]),
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5541
|
+
_: 2
|
|
5542
|
+
}, [
|
|
5543
|
+
e.isKonnectManagedRedisEnabled ? void 0 : {
|
|
5544
|
+
name: "dropdown-footer-text",
|
|
5545
|
+
fn: E(() => [
|
|
5546
|
+
u("div", {
|
|
5547
|
+
class: "new-redis-config-area",
|
|
5548
|
+
"data-testid": "new-redis-config-area",
|
|
5549
|
+
onClick: P[0] || (P[0] = (K) => U.$emit("showNewPartialModal"))
|
|
5550
|
+
}, [
|
|
5551
|
+
A(V(wn), {
|
|
5552
|
+
size: `var(--kui-icon-size-20, ${V(Jo)})`
|
|
5553
|
+
}, null, 8, ["size"]),
|
|
5554
|
+
u("span", null, $(D.value), 1)
|
|
5555
|
+
])
|
|
5556
|
+
]),
|
|
5557
|
+
key: "0"
|
|
5558
|
+
}
|
|
5559
|
+
]), 1032, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5555
5560
|
]),
|
|
5556
5561
|
i.value ? (d(), L(_p, {
|
|
5557
5562
|
key: 0,
|
|
@@ -5562,7 +5567,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5562
5567
|
], 64);
|
|
5563
5568
|
};
|
|
5564
5569
|
}
|
|
5565
|
-
}), no = /* @__PURE__ */ J(Cp, [["__scopeId", "data-v-
|
|
5570
|
+
}), no = /* @__PURE__ */ J(Cp, [["__scopeId", "data-v-977b061a"]]), Op = { key: 0 }, kp = {
|
|
5566
5571
|
class: "redis-config-radio-group",
|
|
5567
5572
|
"data-testid": "redis-config-radio-group"
|
|
5568
5573
|
}, Rp = {
|
|
@@ -5969,7 +5974,7 @@ function Kp(e, t, n, o, a, i) {
|
|
|
5969
5974
|
class: "root-level-collapse",
|
|
5970
5975
|
"model-value": !1,
|
|
5971
5976
|
title: m.collapsible.title
|
|
5972
|
-
},
|
|
5977
|
+
}, et({
|
|
5973
5978
|
default: E(() => {
|
|
5974
5979
|
var f, g, T, w;
|
|
5975
5980
|
return [
|
|
@@ -6716,7 +6721,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6716
6721
|
placeholder: "Select an Authorization Server",
|
|
6717
6722
|
required: "",
|
|
6718
6723
|
"onUpdate:modelValue": i.handleServerChange
|
|
6719
|
-
},
|
|
6724
|
+
}, et({ _: 2 }, [
|
|
6720
6725
|
i.canCreateAuthServer ? {
|
|
6721
6726
|
name: "dropdown-footer-text",
|
|
6722
6727
|
fn: E(() => [
|
|
@@ -6766,7 +6771,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6766
6771
|
"model-value": C,
|
|
6767
6772
|
placeholder: "Select a client",
|
|
6768
6773
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6769
|
-
},
|
|
6774
|
+
}, et({ _: 2 }, [
|
|
6770
6775
|
i.canCreateAuthServerClient ? {
|
|
6771
6776
|
name: "dropdown-footer-text",
|
|
6772
6777
|
fn: E(() => [
|
|
@@ -6863,7 +6868,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6863
6868
|
"model-value": i.clientIdArray[y],
|
|
6864
6869
|
placeholder: "e.g., kong-gateway-client",
|
|
6865
6870
|
"onUpdate:modelValue": (ee) => i.handleClientChange(y, ee)
|
|
6866
|
-
},
|
|
6871
|
+
}, et({ _: 2 }, [
|
|
6867
6872
|
(P = n.formOptions) != null && P.helpAsHtml && ((p = i.externalClientIdField) != null && p.help) ? {
|
|
6868
6873
|
name: "label-tooltip",
|
|
6869
6874
|
fn: E(() => [
|
|
@@ -6895,7 +6900,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6895
6900
|
"show-password-mask-toggle": "",
|
|
6896
6901
|
type: "password",
|
|
6897
6902
|
"onUpdate:modelValue": (ee) => i.handleClientSecretChange(y, ee)
|
|
6898
|
-
},
|
|
6903
|
+
}, et({ _: 2 }, [
|
|
6899
6904
|
(K = n.formOptions) != null && K.helpAsHtml && ((W = i.externalClientSecretField) != null && W.help) ? {
|
|
6900
6905
|
name: "label-tooltip",
|
|
6901
6906
|
fn: E(() => [
|
|
@@ -8034,9 +8039,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8034
8039
|
const p = (($e = (ee = i.formSchema) == null ? void 0 : ee.fields) == null ? void 0 : $e.filter((ge) => !o(ge.model))) ?? [], _ = [], I = [], K = [];
|
|
8035
8040
|
let W = !1;
|
|
8036
8041
|
for (const ge of p) {
|
|
8037
|
-
const
|
|
8038
|
-
if (
|
|
8039
|
-
if (
|
|
8042
|
+
const at = ge.model;
|
|
8043
|
+
if (at !== void 0) {
|
|
8044
|
+
if (at.startsWith("config-redis-")) {
|
|
8040
8045
|
(ge.model === "config-redis-cluster_addresses" || ge.model === "config-redis-sentinel_addresses") && (ge.inputAttributes.help = a("rla.redis.address_example")), I.push(ge);
|
|
8041
8046
|
continue;
|
|
8042
8047
|
}
|
|
@@ -8070,7 +8075,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8070
8075
|
), w = B(() => {
|
|
8071
8076
|
var _, I, K, W, ee, $e;
|
|
8072
8077
|
const p = (K = (I = (_ = i.formSchema) == null ? void 0 : _.fields) == null ? void 0 : I.find((ge) => ge.model === "config-window_type")) == null ? void 0 : K.default;
|
|
8073
|
-
return ((($e = (ee = (W = i.formSchema) == null ? void 0 : W.fields) == null ? void 0 : ee.find((ge) => ge.model === "config-window_type")) == null ? void 0 : $e.values) ?? []).sort((ge,
|
|
8078
|
+
return ((($e = (ee = (W = i.formSchema) == null ? void 0 : W.fields) == null ? void 0 : ee.find((ge) => ge.model === "config-window_type")) == null ? void 0 : $e.values) ?? []).sort((ge, at) => ge === p ? -1 : at === p ? 1 : 0);
|
|
8074
8079
|
}), v = B(() => {
|
|
8075
8080
|
var _;
|
|
8076
8081
|
const p = (_ = i.formModel["config-limit"]) == null ? void 0 : _.map((I, K) => {
|
|
@@ -8134,7 +8139,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8134
8139
|
return dn(() => i.formModel["config-strategy"], (p) => {
|
|
8135
8140
|
p !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
|
|
8136
8141
|
}), (p, _) => {
|
|
8137
|
-
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"),
|
|
8142
|
+
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"), at = k("KCard"), Nn = k("KSelect"), Un = k("KCollapse");
|
|
8138
8143
|
return d(), M(Y, null, [
|
|
8139
8144
|
u("div", ny, [
|
|
8140
8145
|
A(pe, {
|
|
@@ -8143,7 +8148,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8143
8148
|
schema: r.value,
|
|
8144
8149
|
onModelUpdated: _[0] || (_[0] = (q, ce) => e.onModelUpdated(q, ce))
|
|
8145
8150
|
}, null, 8, ["model", "options", "schema"]),
|
|
8146
|
-
A(
|
|
8151
|
+
A(at, { class: "rla-form-request-limits" }, {
|
|
8147
8152
|
title: E(() => [
|
|
8148
8153
|
A(I, {
|
|
8149
8154
|
class: "rla-form-request-limits-title",
|