@kong-ui-public/forms 4.31.1-pr.3549.13c306604.0 → 4.31.1
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 +364 -374
- package/dist/forms.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/types/components/RedisConfigSelect.vue.d.ts.map +1 -1
- package/dist/types/components/forms/PrincipalLookupSettings.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/dist/types/utils/hideNewRedisConfiguration.d.ts +0 -7
- package/dist/types/utils/hideNewRedisConfiguration.d.ts.map +0 -1
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
|
|
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 ut, 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 et, 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 tt(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
|
+
tt.prototype.clear = Ul;
|
|
285
|
+
tt.prototype.delete = Pl;
|
|
286
|
+
tt.prototype.get = Vl;
|
|
287
|
+
tt.prototype.has = Kl;
|
|
288
|
+
tt.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 || tt)(),
|
|
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 nt(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
|
+
nt.prototype.clear = xl;
|
|
327
|
+
nt.prototype.delete = zl;
|
|
328
|
+
nt.prototype.get = ql;
|
|
329
|
+
nt.prototype.has = Bl;
|
|
330
|
+
nt.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 || nt)(), n;
|
|
343
343
|
}
|
|
344
|
-
Mi.Cache =
|
|
344
|
+
Mi.Cache = nt;
|
|
345
345
|
var Yl = 500;
|
|
346
346
|
function Wl(e) {
|
|
347
347
|
var t = Mi(e, function(o) {
|
|
@@ -396,7 +396,7 @@ function te(e, t, n) {
|
|
|
396
396
|
function ve(e) {
|
|
397
397
|
return e == null;
|
|
398
398
|
}
|
|
399
|
-
const je = "kong-ui-forms-api", wi = "kong-ui-forms-config", id = "redis-partial-list-fetcher-key",
|
|
399
|
+
const je = "kong-ui-forms-api", wi = "kong-ui-forms-config", id = "redis-partial-list-fetcher-key", My = "redis-partial-info", jt = "autofill", Le = "autofillSlot", Ze = {
|
|
400
400
|
CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
|
|
401
401
|
CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
|
|
402
402
|
UPDATE_ENTITY: "UPDATE_ENTITY",
|
|
@@ -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), ct = 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), !ct(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) && (ct(i) ? t[a] = bd(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
|
|
506
506
|
}
|
|
507
507
|
return t;
|
|
508
508
|
}
|
|
@@ -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
|
+
}, rt = function(t, n, o, a) {
|
|
617
|
+
return Me(t, n) && ct(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();
|
|
@@ -631,7 +631,7 @@ function Ao() {
|
|
|
631
631
|
const N = n.createElement("template");
|
|
632
632
|
N.content && N.content.ownerDocument && (n = N.content.ownerDocument);
|
|
633
633
|
}
|
|
634
|
-
let y, S = "", U,
|
|
634
|
+
let y, S = "", U, P = !1, p = 0;
|
|
635
635
|
const _ = function() {
|
|
636
636
|
if (p > 0)
|
|
637
637
|
throw vt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
|
|
@@ -650,8 +650,8 @@ function Ao() {
|
|
|
650
650
|
p--;
|
|
651
651
|
}
|
|
652
652
|
}, W = function() {
|
|
653
|
-
return
|
|
654
|
-
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator,
|
|
653
|
+
return P || (U = Pd(f, a), P = !0), U;
|
|
654
|
+
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator, it = 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 at = 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, ot = !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 = rt(s, "ALLOWED_TAGS", Fi, {
|
|
757
757
|
transform: he
|
|
758
|
-
}), me =
|
|
758
|
+
}), me = rt(s, "ALLOWED_ATTR", Ni, {
|
|
759
759
|
transform: he
|
|
760
|
-
}), Bn =
|
|
760
|
+
}), Bn = rt(s, "ALLOWED_NAMESPACES", ys, {
|
|
761
761
|
transform: ei
|
|
762
|
-
}), zn =
|
|
762
|
+
}), zn = rt(s, "ADD_URI_SAFE_ATTR", zi, {
|
|
763
763
|
transform: he,
|
|
764
764
|
base: zi
|
|
765
|
-
}), xi =
|
|
765
|
+
}), xi = rt(s, "ADD_DATA_URI_TAGS", $i, {
|
|
766
766
|
transform: he,
|
|
767
767
|
base: $i
|
|
768
|
-
}), He =
|
|
768
|
+
}), He = rt(s, "FORBID_CONTENTS", $n, {
|
|
769
769
|
transform: he
|
|
770
|
-
}), zt =
|
|
770
|
+
}), zt = rt(s, "FORBID_TAGS", ke({}), {
|
|
771
771
|
transform: he
|
|
772
|
-
}), Ui =
|
|
772
|
+
}), Ui = rt(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, ot = 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), ot && (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))), at.tagCheck = null, at.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? at.tagCheck = s.ADD_TAGS : ct(s.ADD_TAGS) && (ue === Fi && (ue = ke(ue)), X(ue, s.ADD_TAGS, he))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? at.attributeCheck = s.ADD_ATTR : ct(s.ADD_ATTR) && (me === Ni && (me = ke(me)), X(me, s.ADD_ATTR, he))), Me(s, "ADD_URI_SAFE_ATTR") && ct(s.ADD_URI_SAFE_ATTR) && X(zn, s.ADD_URI_SAFE_ATTR, he), Me(s, "FORBID_CONTENTS") && ct(s.FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.FORBID_CONTENTS, he)), Me(s, "ADD_FORBID_CONTENTS") && ct(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
|
+
}, st = 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
|
+
st(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 st(s), !0;
|
|
996
996
|
}, Ji = function(s) {
|
|
997
997
|
if (Xe(q.beforeSanitizeElements, s, null), pn(s))
|
|
998
|
-
return
|
|
998
|
+
return st(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 st(s), !0;
|
|
1005
|
+
if (zt[h] || !(at.tagCheck instanceof Function && at.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 st(s), !0;
|
|
1009
|
+
if (ot && 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] || at.attributeCheck instanceof Function && at.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) ? st(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 (ot && (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 && !ot && !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 && st(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
|
+
}), ot && Wn(N), N;
|
|
1195
1195
|
if (Et) {
|
|
1196
|
-
if (
|
|
1197
|
-
for (G =
|
|
1196
|
+
if (ot && Wn(h), cn)
|
|
1197
|
+
for (G = it.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), ot && (_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 tt(), 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 tt) {
|
|
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 nt(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 tt(e);
|
|
1258
1258
|
this.size = t.size;
|
|
1259
1259
|
}
|
|
1260
1260
|
xt.prototype.clear = Vd;
|
|
@@ -1599,8 +1599,8 @@ function Pt(e, t, n) {
|
|
|
1599
1599
|
return m = y, l = setTimeout(D, t), b ? T(y) : r;
|
|
1600
1600
|
}
|
|
1601
1601
|
function v(y) {
|
|
1602
|
-
var S = y - c, U = y - m,
|
|
1603
|
-
return f ? Du(
|
|
1602
|
+
var S = y - c, U = y - m, P = t - S;
|
|
1603
|
+
return f ? Du(P, i - U) : P;
|
|
1604
1604
|
}
|
|
1605
1605
|
function F(y) {
|
|
1606
1606
|
var S = y - c, U = y - m;
|
|
@@ -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 nt(); ++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, dt = "\\d\\d?", lt = "\\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, dt], 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", dt],
|
|
1886
|
+
DD: ["day", lt],
|
|
1887
|
+
Do: ["day", dt + nn, function(e) {
|
|
1888
1888
|
return parseInt(e, 10);
|
|
1889
1889
|
}],
|
|
1890
|
-
M: ["month",
|
|
1891
|
-
MM: ["month",
|
|
1890
|
+
M: ["month", dt, Ha],
|
|
1891
|
+
MM: ["month", lt, Ha],
|
|
1892
1892
|
YY: [
|
|
1893
1893
|
"year",
|
|
1894
|
-
|
|
1894
|
+
lt,
|
|
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", dt, void 0, "isPm"],
|
|
1901
|
+
hh: ["hour", lt, void 0, "isPm"],
|
|
1902
|
+
H: ["hour", dt],
|
|
1903
|
+
HH: ["hour", lt],
|
|
1904
|
+
m: ["minute", dt],
|
|
1905
|
+
mm: ["minute", lt],
|
|
1906
|
+
s: ["second", dt],
|
|
1907
|
+
ss: ["second", lt],
|
|
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", lt, function(e) {
|
|
1913
1913
|
return +e * 10;
|
|
1914
1914
|
}],
|
|
1915
1915
|
SSS: ["millisecond", Ju],
|
|
@@ -2548,7 +2548,7 @@ const qe = {
|
|
|
2548
2548
|
return e;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
},
|
|
2551
|
+
}, wy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2552
2552
|
__proto__: null,
|
|
2553
2553
|
default: qe
|
|
2554
2554
|
}, Symbol.toStringTag, { value: "Module" })), J = (e, t) => {
|
|
@@ -2644,7 +2644,7 @@ const qe = {
|
|
|
2644
2644
|
onClick: o[0] || (o[0] = (r) => n.$emit("remove-item"))
|
|
2645
2645
|
}, {
|
|
2646
2646
|
default: E(() => [
|
|
2647
|
-
A(
|
|
2647
|
+
A(V(Kt))
|
|
2648
2648
|
]),
|
|
2649
2649
|
_: 1
|
|
2650
2650
|
})
|
|
@@ -2672,7 +2672,7 @@ const qe = {
|
|
|
2672
2672
|
onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
|
|
2673
2673
|
}, {
|
|
2674
2674
|
default: E(() => [
|
|
2675
|
-
A(
|
|
2675
|
+
A(V(Kt))
|
|
2676
2676
|
]),
|
|
2677
2677
|
_: 1
|
|
2678
2678
|
})
|
|
@@ -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
|
+
}, ut({
|
|
2750
2750
|
"item-template": E(({ item: r }) => [
|
|
2751
2751
|
we(o.$slots, "item", { item: r }, () => [
|
|
2752
2752
|
u("span", {
|
|
@@ -2763,7 +2763,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2763
2763
|
]),
|
|
2764
2764
|
empty: E(() => [
|
|
2765
2765
|
u("div", Xm, [
|
|
2766
|
-
u("span", null, $(e.emptyMessage ||
|
|
2766
|
+
u("span", null, $(e.emptyMessage || V(t)("fields.auto_suggest.no_results")), 1)
|
|
2767
2767
|
])
|
|
2768
2768
|
]),
|
|
2769
2769
|
_: 2
|
|
@@ -2845,7 +2845,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2845
2845
|
w.value && w.value.abort();
|
|
2846
2846
|
const _ = new AbortController();
|
|
2847
2847
|
if (w.value = _, c.value) {
|
|
2848
|
-
|
|
2848
|
+
P(p);
|
|
2849
2849
|
return;
|
|
2850
2850
|
}
|
|
2851
2851
|
C(p, _);
|
|
@@ -2862,7 +2862,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2862
2862
|
_ = S(g.value), p != null && p.trim() ? b.value = _.filter((I) => e.fields.some((K) => (I[K] || "").includes(p))) : b.value = _;
|
|
2863
2863
|
}, S = (p) => e.selectedItem ? p.some((_) => _.value === e.selectedItem.value) ? p : [e.selectedItem, ...p] : p, U = (p) => {
|
|
2864
2864
|
b.value = g.value.filter((_) => _.id === p);
|
|
2865
|
-
},
|
|
2865
|
+
}, P = (p) => {
|
|
2866
2866
|
yi(p) && e.allowUuidSearch ? U(p) : y(p);
|
|
2867
2867
|
};
|
|
2868
2868
|
return vi(async () => {
|
|
@@ -2882,13 +2882,13 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2882
2882
|
readonly: e.disabled,
|
|
2883
2883
|
suggestions: b.value,
|
|
2884
2884
|
onChange: _[0] || (_[0] = (I) => p.$emit("change", I)),
|
|
2885
|
-
onQueryChange:
|
|
2885
|
+
onQueryChange: V(D)
|
|
2886
2886
|
}, {
|
|
2887
2887
|
before: E(() => [
|
|
2888
2888
|
we(p.$slots, "before", {}, () => [
|
|
2889
|
-
A(
|
|
2890
|
-
color: `var(--kui-color-text-neutral, ${
|
|
2891
|
-
size: `var(--kui-icon-size-40, ${
|
|
2889
|
+
A(V(xs), {
|
|
2890
|
+
color: `var(--kui-color-text-neutral, ${V(Gm)})`,
|
|
2891
|
+
size: `var(--kui-icon-size-40, ${V(Qo)})`
|
|
2892
2892
|
}, null, 8, ["color", "size"])
|
|
2893
2893
|
], !0)
|
|
2894
2894
|
]),
|
|
@@ -2902,7 +2902,7 @@ const Gm = "#6c7489", Jo = "12px", Ym = "16px", Qo = "20px", Wm = ["data-testid"
|
|
|
2902
2902
|
item: E(({ item: I }) => [
|
|
2903
2903
|
we(p.$slots, "item", { item: I }, () => [
|
|
2904
2904
|
u("div", af, [
|
|
2905
|
-
u("span", of, $(I.label ??
|
|
2905
|
+
u("span", of, $(I.label ?? V(ad)), 1),
|
|
2906
2906
|
u("span", sf, $(I.id), 1)
|
|
2907
2907
|
])
|
|
2908
2908
|
], !0)
|
|
@@ -3251,12 +3251,12 @@ function bf(e) {
|
|
|
3251
3251
|
if (F)
|
|
3252
3252
|
D.push(y(a.value, e.schema, (S = e.model) == null ? void 0 : S.value));
|
|
3253
3253
|
else {
|
|
3254
|
-
const
|
|
3255
|
-
|
|
3254
|
+
const P = y(a.value, e.schema, (U = e.model) == null ? void 0 : U.value);
|
|
3255
|
+
P && ie(P.then) ? P.then((p) => {
|
|
3256
3256
|
p && (t.value = t.value.concat(p));
|
|
3257
3257
|
const _ = t.value.length === 0;
|
|
3258
3258
|
e.emitValidated && e.emitValidated({ isValid: _, errors: t.value, field: e.schema });
|
|
3259
|
-
}) :
|
|
3259
|
+
}) : P && (D = D.concat(P));
|
|
3260
3260
|
}
|
|
3261
3261
|
});
|
|
3262
3262
|
}
|
|
@@ -3421,10 +3421,10 @@ const Be = {
|
|
|
3421
3421
|
datetime: "YYYY-MM-DD HH:mm:ss",
|
|
3422
3422
|
"datetime-local": "YYYY-MM-DDTHH:mm:ss"
|
|
3423
3423
|
}, T = (j, O) => {
|
|
3424
|
-
var U,
|
|
3424
|
+
var U, P;
|
|
3425
3425
|
let C = j;
|
|
3426
3426
|
const y = g[f.value] || "", S = Nt.parse(j, y);
|
|
3427
|
-
S && ((U = o.schema) != null && U.format ? C = Nt.format(S, (
|
|
3427
|
+
S && ((U = o.schema) != null && U.format ? C = Nt.format(S, (P = o.schema) == null ? void 0 : P.format) : C = S.valueOf()), l(C, O);
|
|
3428
3428
|
}, w = (j, O) => {
|
|
3429
3429
|
Oi(j) || (j = NaN), l(j, O);
|
|
3430
3430
|
}, v = (j) => {
|
|
@@ -3477,17 +3477,17 @@ const Be = {
|
|
|
3477
3477
|
}), (j, O) => {
|
|
3478
3478
|
const C = k("KInput");
|
|
3479
3479
|
return d(), M("div", Tf, [
|
|
3480
|
-
A(C,
|
|
3481
|
-
id:
|
|
3480
|
+
A(C, et(j.$attrs, {
|
|
3481
|
+
id: V(c)(e.schema),
|
|
3482
3482
|
autocomplete: e.schema.autocomplete,
|
|
3483
3483
|
class: e.schema.fieldClasses,
|
|
3484
3484
|
disabled: e.disabled || void 0,
|
|
3485
|
-
help: e.hint ? e.hint : f.value === "color" || f.value === "range" ?
|
|
3485
|
+
help: e.hint ? e.hint : f.value === "color" || f.value === "range" ? V(b) : void 0,
|
|
3486
3486
|
max: e.schema.max,
|
|
3487
3487
|
maxlength: e.schema.maxlength,
|
|
3488
3488
|
min: e.schema.min,
|
|
3489
3489
|
minlength: e.schema.minlength,
|
|
3490
|
-
"model-value":
|
|
3490
|
+
"model-value": V(b),
|
|
3491
3491
|
name: e.schema.inputName,
|
|
3492
3492
|
pattern: e.schema.pattern,
|
|
3493
3493
|
placeholder: e.schema.placeholder,
|
|
@@ -3499,10 +3499,10 @@ const Be = {
|
|
|
3499
3499
|
onBlur: H,
|
|
3500
3500
|
"onUpdate:modelValue": v
|
|
3501
3501
|
}), null, 16, ["id", "autocomplete", "class", "disabled", "help", "max", "maxlength", "min", "minlength", "model-value", "name", "pattern", "placeholder", "readonly", "required", "show-password-mask-toggle", "type", "width"]),
|
|
3502
|
-
(d(), L(le(
|
|
3502
|
+
(d(), L(le(V(r)), {
|
|
3503
3503
|
schema: e.schema,
|
|
3504
3504
|
update: F,
|
|
3505
|
-
value:
|
|
3505
|
+
value: V(b)
|
|
3506
3506
|
}, null, 8, ["schema", "value"]))
|
|
3507
3507
|
]);
|
|
3508
3508
|
};
|
|
@@ -3800,7 +3800,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3800
3800
|
onClick: (r) => t.removeElement(i)
|
|
3801
3801
|
}, {
|
|
3802
3802
|
default: E(() => [
|
|
3803
|
-
A(
|
|
3803
|
+
A(V(Kt))
|
|
3804
3804
|
]),
|
|
3805
3805
|
_: 1
|
|
3806
3806
|
}, 8, ["onClick"])
|
|
@@ -3926,7 +3926,7 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
3926
3926
|
(d(!0), M(Y, null, se(e.schema.values, (T, w) => (d(), L(g, {
|
|
3927
3927
|
id: e.schema.name + "-" + w,
|
|
3928
3928
|
key: T.value,
|
|
3929
|
-
modelValue:
|
|
3929
|
+
modelValue: V(l),
|
|
3930
3930
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => Vt(l) ? l.value = v : null),
|
|
3931
3931
|
label: T.name,
|
|
3932
3932
|
"label-attributes": { info: e.schema.help },
|
|
@@ -4025,14 +4025,14 @@ const as = /* @__PURE__ */ J(wf, [["render", Ef]]), If = { class: "field-object-
|
|
|
4025
4025
|
return (v, F) => {
|
|
4026
4026
|
const D = k("KSelect");
|
|
4027
4027
|
return d(), L(D, {
|
|
4028
|
-
id:
|
|
4029
|
-
modelValue:
|
|
4028
|
+
id: V(c)(e.schema),
|
|
4029
|
+
modelValue: V(b),
|
|
4030
4030
|
"onUpdate:modelValue": F[0] || (F[0] = (H) => Vt(b) ? b.value = H : null),
|
|
4031
4031
|
class: ne(e.schema.fieldClasses),
|
|
4032
4032
|
clearable: !e.schema.required,
|
|
4033
4033
|
disabled: e.disabled || void 0,
|
|
4034
4034
|
items: f.value,
|
|
4035
|
-
"kpop-attributes": { "data-testid": `${
|
|
4035
|
+
"kpop-attributes": { "data-testid": `${V(c)(e.schema)}-items` },
|
|
4036
4036
|
"label-attributes": { info: e.schema.help },
|
|
4037
4037
|
name: e.schema.inputName,
|
|
4038
4038
|
placeholder: i.value.hideNoneSelectedText ? void 0 : i.value.noneSelectedText || "Nothing Selected",
|
|
@@ -4079,9 +4079,9 @@ 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,
|
|
4083
|
-
id:
|
|
4084
|
-
"aria-labelledby":
|
|
4082
|
+
A(v, et(T.$attrs, {
|
|
4083
|
+
id: V(i)(e.schema),
|
|
4084
|
+
"aria-labelledby": V(r)(e.schema),
|
|
4085
4085
|
class: e.schema.fieldClasses,
|
|
4086
4086
|
help: "Use comma to separate values. eg: value1, value2",
|
|
4087
4087
|
"model-value": m.value,
|
|
@@ -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, et({
|
|
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, et({
|
|
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", et({
|
|
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", et({ 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,9 +4382,9 @@ 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,
|
|
4386
|
-
id:
|
|
4387
|
-
modelValue:
|
|
4385
|
+
A(T, et(f.$attrs, {
|
|
4386
|
+
id: V(r)(e.schema),
|
|
4387
|
+
modelValue: V(l),
|
|
4388
4388
|
"onUpdate:modelValue": g[0] || (g[0] = (w) => Vt(l) ? l.value = w : null),
|
|
4389
4389
|
autocomplete: e.schema.autocomplete,
|
|
4390
4390
|
class: e.schema.fieldClasses,
|
|
@@ -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
|
+
}), ut({ _: 2 }, [
|
|
4401
4401
|
e.schema.checkboxLabel && e.schema.help ? {
|
|
4402
4402
|
name: "tooltip",
|
|
4403
4403
|
fn: E(() => [
|
|
@@ -4689,10 +4689,10 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4689
4689
|
class: ne(["field-label", e.schema.fieldClasses])
|
|
4690
4690
|
}, [
|
|
4691
4691
|
A(l, {
|
|
4692
|
-
id:
|
|
4692
|
+
id: V(o)(e.schema)
|
|
4693
4693
|
}, {
|
|
4694
4694
|
default: E(() => [
|
|
4695
|
-
Z($(
|
|
4695
|
+
Z($(V(a)), 1)
|
|
4696
4696
|
]),
|
|
4697
4697
|
_: 1
|
|
4698
4698
|
}, 8, ["id"])
|
|
@@ -4757,15 +4757,15 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4757
4757
|
return (f, g) => {
|
|
4758
4758
|
const T = k("KMultiselect");
|
|
4759
4759
|
return d(), L(T, {
|
|
4760
|
-
id:
|
|
4761
|
-
modelValue:
|
|
4760
|
+
id: V(l)(e.schema),
|
|
4761
|
+
modelValue: V(m),
|
|
4762
4762
|
"onUpdate:modelValue": g[0] || (g[0] = (w) => Vt(m) ? m.value = w : null),
|
|
4763
|
-
"aria-labelledby":
|
|
4763
|
+
"aria-labelledby": V(r)(e.schema),
|
|
4764
4764
|
class: ne(e.schema.fieldClasses),
|
|
4765
4765
|
"data-testid": "field-multiselect",
|
|
4766
4766
|
disabled: e.disabled || void 0,
|
|
4767
4767
|
items: b.value,
|
|
4768
|
-
"kpop-attributes": { "data-testid": `${
|
|
4768
|
+
"kpop-attributes": { "data-testid": `${V(l)(e.schema)}-items` },
|
|
4769
4769
|
"label-attributes": { info: e.schema.help },
|
|
4770
4770
|
name: e.schema.inputName,
|
|
4771
4771
|
placeholder: e.schema.placeholder,
|
|
@@ -4829,7 +4829,7 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4829
4829
|
return (n, o) => (d(), M("div", Lh, [
|
|
4830
4830
|
(d(), L(le(n.$props.disabled ? "k-tooltip" : "div"), {
|
|
4831
4831
|
"max-width": "300",
|
|
4832
|
-
text:
|
|
4832
|
+
text: V(t)("general.disable_global_radio", { scope: n.scope })
|
|
4833
4833
|
}, {
|
|
4834
4834
|
default: E(() => [
|
|
4835
4835
|
u("div", Dh, [
|
|
@@ -4934,13 +4934,13 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
4934
4934
|
const w = k("KInputSwitch");
|
|
4935
4935
|
return d(), M("div", Bh, [
|
|
4936
4936
|
A(w, {
|
|
4937
|
-
id:
|
|
4938
|
-
modelValue:
|
|
4937
|
+
id: V(m)(e.schema),
|
|
4938
|
+
modelValue: V(b),
|
|
4939
4939
|
"onUpdate:modelValue": T[0] || (T[0] = (v) => Vt(b) ? b.value = v : null),
|
|
4940
4940
|
autocomplete: e.schema.autocomplete,
|
|
4941
4941
|
class: ne(e.schema.fieldClasses),
|
|
4942
4942
|
disabled: e.disabled || void 0,
|
|
4943
|
-
label:
|
|
4943
|
+
label: V(b) ? e.schema.textOn || V(i)("vfg.labels.on") : e.schema.textOff || V(i)("vfg.labels.off"),
|
|
4944
4944
|
"label-attributes": { info: e.schema.help },
|
|
4945
4945
|
name: e.schema.inputName,
|
|
4946
4946
|
required: e.schema.required || void 0
|
|
@@ -5005,9 +5005,9 @@ 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,
|
|
5009
|
-
id:
|
|
5010
|
-
modelValue:
|
|
5008
|
+
A(w, et(g.$attrs, {
|
|
5009
|
+
id: V(c)(e.schema),
|
|
5010
|
+
modelValue: V(b),
|
|
5011
5011
|
"onUpdate:modelValue": T[0] || (T[0] = (v) => Vt(b) ? b.value = v : null),
|
|
5012
5012
|
autosize: "",
|
|
5013
5013
|
"character-limit": e.schema.max ?? !1,
|
|
@@ -5022,10 +5022,10 @@ const Rh = /* @__PURE__ */ J(wh, [["render", kh], ["__scopeId", "data-v-be99d00c
|
|
|
5022
5022
|
resizable: "",
|
|
5023
5023
|
rows: e.schema.rows || 3
|
|
5024
5024
|
}), null, 16, ["id", "modelValue", "character-limit", "class", "disabled", "help", "minlength", "name", "placeholder", "readonly", "required", "rows"]),
|
|
5025
|
-
(d(), L(le(
|
|
5025
|
+
(d(), L(le(V(r)), {
|
|
5026
5026
|
schema: e.schema,
|
|
5027
5027
|
update: f,
|
|
5028
|
-
value:
|
|
5028
|
+
value: V(b)
|
|
5029
5029
|
}, null, 8, ["schema", "value"]))
|
|
5030
5030
|
]);
|
|
5031
5031
|
};
|
|
@@ -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
|
+
}, ut({
|
|
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)), et(e.$attrs, {
|
|
5243
5243
|
ref: "child",
|
|
5244
5244
|
disabled: e.fieldDisabled(n.field) || null,
|
|
5245
5245
|
"form-options": n.options,
|
|
@@ -5283,10 +5283,7 @@ function cp(e) {
|
|
|
5283
5283
|
const n = (Array.isArray(e.tags) ? e.tags : []).filter((o) => typeof o == "string").map((o) => o.toLowerCase());
|
|
5284
5284
|
return n.includes(Lt.KONNECT_MANAGED) || n.includes(dp) ? Lt.KONNECT_MANAGED : Lt.SELF_MANAGED;
|
|
5285
5285
|
}
|
|
5286
|
-
|
|
5287
|
-
return e.app === "konnect" && !!e.isKonnectManagedRedisEnabled;
|
|
5288
|
-
}
|
|
5289
|
-
const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-label" }, hp = { class: "label-text" }, pp = ["data-testid"], gp = ["data-testid"], yp = { key: 1 }, vp = ["data-testid"], bp = ["data-testid"], _p = /* @__PURE__ */ be({
|
|
5286
|
+
const up = { class: "partial-config-card" }, mp = { class: "config-card-row-label" }, fp = { class: "label-text" }, hp = ["data-testid"], pp = ["data-testid"], gp = { key: 1 }, yp = ["data-testid"], vp = ["data-testid"], bp = /* @__PURE__ */ be({
|
|
5290
5287
|
__name: "RedisConfigCard",
|
|
5291
5288
|
props: {
|
|
5292
5289
|
configFields: {
|
|
@@ -5334,19 +5331,19 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5334
5331
|
}).sort((f, g) => f.order - g.order).filter((f) => f.type !== "hidden")), m = Be.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), b = B(() => c.value.concat(m));
|
|
5335
5332
|
return (f, g) => {
|
|
5336
5333
|
const T = k("KCopy");
|
|
5337
|
-
return d(), M("div",
|
|
5334
|
+
return d(), M("div", up, [
|
|
5338
5335
|
(d(!0), M(Y, null, se(b.value, ({ key: w, label: v, value: F, type: D }) => (d(), M("div", {
|
|
5339
5336
|
key: w,
|
|
5340
5337
|
class: "partial-config-card-row"
|
|
5341
5338
|
}, [
|
|
5342
|
-
u("div",
|
|
5343
|
-
u("div",
|
|
5339
|
+
u("div", mp, [
|
|
5340
|
+
u("div", fp, $(v), 1)
|
|
5344
5341
|
]),
|
|
5345
5342
|
u("div", {
|
|
5346
5343
|
class: "config-card-row-value",
|
|
5347
5344
|
"data-testid": `${w}-property-value`
|
|
5348
5345
|
}, [
|
|
5349
|
-
i(F) ? (d(), M("div",
|
|
5346
|
+
i(F) ? (d(), M("div", gp, [
|
|
5350
5347
|
D === "password" ? (d(), M("div", {
|
|
5351
5348
|
key: 0,
|
|
5352
5349
|
"data-testid": `${w}-copy-password`
|
|
@@ -5355,33 +5352,33 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5355
5352
|
format: "redacted",
|
|
5356
5353
|
text: String(F)
|
|
5357
5354
|
}, null, 8, ["text"])
|
|
5358
|
-
], 8,
|
|
5355
|
+
], 8, yp)) : (d(), M("div", {
|
|
5359
5356
|
key: 1,
|
|
5360
5357
|
"data-testid": `${w}-plain-text`
|
|
5361
|
-
}, $(F), 9,
|
|
5358
|
+
}, $(F), 9, vp))
|
|
5362
5359
|
])) : (d(), M("div", {
|
|
5363
5360
|
key: 0,
|
|
5364
5361
|
"data-testid": `${w}-no-value`
|
|
5365
|
-
}, " – ", 8,
|
|
5366
|
-
], 8,
|
|
5362
|
+
}, " – ", 8, pp))
|
|
5363
|
+
], 8, hp)
|
|
5367
5364
|
]))), 128))
|
|
5368
5365
|
]);
|
|
5369
5366
|
};
|
|
5370
5367
|
}
|
|
5371
|
-
}),
|
|
5368
|
+
}), _p = /* @__PURE__ */ J(bp, [["__scopeId", "data-v-57f78095"]]), Sp = {
|
|
5372
5369
|
class: "redis-config-select",
|
|
5373
5370
|
"data-testid": "redis-config-select"
|
|
5374
|
-
},
|
|
5371
|
+
}, Tp = { class: "selected-redis-config" }, Mp = ["data-testid"], wp = {
|
|
5375
5372
|
class: "select-item-name",
|
|
5376
5373
|
"data-testid": "selected-redis-config"
|
|
5377
|
-
},
|
|
5374
|
+
}, Ap = {
|
|
5378
5375
|
class: "empty-redis-config",
|
|
5379
5376
|
"data-testid": "empty-redis-config"
|
|
5380
|
-
},
|
|
5377
|
+
}, Ep = {
|
|
5381
5378
|
key: 1,
|
|
5382
5379
|
class: "redis-shared-config-error-message",
|
|
5383
5380
|
"data-testid": "redis-config-fetch-error"
|
|
5384
|
-
},
|
|
5381
|
+
}, Ip = "1000", Cp = /* @__PURE__ */ be({
|
|
5385
5382
|
__name: "RedisConfigSelect",
|
|
5386
5383
|
props: {
|
|
5387
5384
|
defaultRedisConfigItem: {
|
|
@@ -5428,7 +5425,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5428
5425
|
error: b,
|
|
5429
5426
|
loadItems: f,
|
|
5430
5427
|
results: g
|
|
5431
|
-
} = Zs(l, o[l.app].getAll,
|
|
5428
|
+
} = Zs(l, o[l.app].getAll, Ip, {
|
|
5432
5429
|
fetchedItemsKey: "data",
|
|
5433
5430
|
searchKeys: ["id", "name"]
|
|
5434
5431
|
}), T = B(() => b.value ? r(b.value) : ""), w = B(
|
|
@@ -5442,30 +5439,30 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5442
5439
|
), H = B(
|
|
5443
5440
|
() => T.value || t("redis.shared_configuration.error")
|
|
5444
5441
|
), j = (U) => {
|
|
5445
|
-
let
|
|
5446
|
-
return l.app === "konnect" && (
|
|
5442
|
+
let P = `${l.apiBaseUrl}${o[l.app].getOne}`;
|
|
5443
|
+
return l.app === "konnect" && (P = P.replace(/{controlPlaneId}/gi, (l == null ? void 0 : l.controlPlaneId) || "")), P = P.replace(/\/{workspace}/gi, l != null && l.workspace ? `/${l.workspace}` : "").replace(/{id}/gi, String(U)), P;
|
|
5447
5444
|
}, O = B(() => {
|
|
5448
|
-
const U = (g.value || []).map((
|
|
5449
|
-
const p =
|
|
5445
|
+
const U = (g.value || []).map((P) => {
|
|
5446
|
+
const p = P, _ = a.isKonnectManagedRedisEnabled ? cp(p) : void 0, I = _ === Lt.KONNECT_MANAGED;
|
|
5450
5447
|
return {
|
|
5451
5448
|
...a.isKonnectManagedRedisEnabled && _ ? { source: _ } : {},
|
|
5452
5449
|
// only attach `source` in managed mode
|
|
5453
|
-
label:
|
|
5454
|
-
name:
|
|
5455
|
-
value:
|
|
5456
|
-
type:
|
|
5450
|
+
label: P.id,
|
|
5451
|
+
name: P.name,
|
|
5452
|
+
value: P.id,
|
|
5453
|
+
type: P.type,
|
|
5457
5454
|
tag: a.isKonnectManagedRedisEnabled && I ? void 0 : rp(p)
|
|
5458
5455
|
};
|
|
5459
|
-
}).filter((
|
|
5460
|
-
return a.redisType !== "all" ? U.filter((
|
|
5456
|
+
}).filter((P) => P.type === "redis-ce" || P.type === "redis-ee");
|
|
5457
|
+
return a.redisType !== "all" ? U.filter((P) => P.type === a.redisType) : U;
|
|
5461
5458
|
}), C = B(() => {
|
|
5462
5459
|
const U = O.value;
|
|
5463
5460
|
if (!a.isKonnectManagedRedisEnabled)
|
|
5464
5461
|
return U;
|
|
5465
|
-
const
|
|
5466
|
-
return
|
|
5462
|
+
const P = U.filter((I) => I.source === Lt.KONNECT_MANAGED), p = U.filter((I) => I.source === Lt.SELF_MANAGED), _ = [];
|
|
5463
|
+
return P.length > 0 && _.push({
|
|
5467
5464
|
label: t("redis.managed_ui.groups.konnect_managed"),
|
|
5468
|
-
items:
|
|
5465
|
+
items: P
|
|
5469
5466
|
}), p.length > 0 && _.push({
|
|
5470
5467
|
label: t("redis.managed_ui.groups.self_managed"),
|
|
5471
5468
|
items: p
|
|
@@ -5474,13 +5471,13 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5474
5471
|
if (U) {
|
|
5475
5472
|
a.updateRedisModel(U);
|
|
5476
5473
|
try {
|
|
5477
|
-
const
|
|
5478
|
-
if (
|
|
5479
|
-
const p = Object.assign(
|
|
5474
|
+
const P = await y.get(j(U));
|
|
5475
|
+
if (P.data.config) {
|
|
5476
|
+
const p = Object.assign(P.data, P.data.config);
|
|
5480
5477
|
delete p.config, i.value = p;
|
|
5481
5478
|
}
|
|
5482
|
-
} catch (
|
|
5483
|
-
console.error(
|
|
5479
|
+
} catch (P) {
|
|
5480
|
+
console.error(P);
|
|
5484
5481
|
}
|
|
5485
5482
|
}
|
|
5486
5483
|
};
|
|
@@ -5488,10 +5485,10 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5488
5485
|
U && await f();
|
|
5489
5486
|
}), bi(() => {
|
|
5490
5487
|
f(), a.defaultRedisConfigItem && S(a.defaultRedisConfigItem);
|
|
5491
|
-
}), (U,
|
|
5488
|
+
}), (U, P) => {
|
|
5492
5489
|
const p = k("KLabel"), _ = k("KBadge"), I = k("KSelect");
|
|
5493
5490
|
return d(), M(Y, null, [
|
|
5494
|
-
u("div",
|
|
5491
|
+
u("div", Sp, [
|
|
5495
5492
|
A(p, {
|
|
5496
5493
|
info: w.value,
|
|
5497
5494
|
"tooltip-attributes": {
|
|
@@ -5504,28 +5501,28 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5504
5501
|
]),
|
|
5505
5502
|
_: 1
|
|
5506
5503
|
}, 8, ["info"]),
|
|
5507
|
-
|
|
5504
|
+
P[2] || (P[2] = u("div", { class: "shared-redis-config-title" }, null, -1)),
|
|
5508
5505
|
A(I, {
|
|
5509
5506
|
class: "redis-config-select-trigger",
|
|
5510
5507
|
"data-testid": "redis-config-select-trigger",
|
|
5511
5508
|
"enable-filtering": "",
|
|
5512
5509
|
"filter-function": () => !0,
|
|
5513
5510
|
items: C.value,
|
|
5514
|
-
loading:
|
|
5511
|
+
loading: V(m),
|
|
5515
5512
|
"model-value": e.defaultRedisConfigItem,
|
|
5516
5513
|
placeholder: F.value,
|
|
5517
|
-
onChange:
|
|
5518
|
-
onQueryChange:
|
|
5519
|
-
},
|
|
5514
|
+
onChange: P[1] || (P[1] = (K) => S(K == null ? void 0 : K.value)),
|
|
5515
|
+
onQueryChange: V(c)
|
|
5516
|
+
}, {
|
|
5520
5517
|
"selected-item-template": E(({ item: K }) => [
|
|
5521
|
-
u("div",
|
|
5518
|
+
u("div", Tp, $(K.name), 1)
|
|
5522
5519
|
]),
|
|
5523
5520
|
"item-template": E(({ item: K }) => [
|
|
5524
5521
|
u("div", {
|
|
5525
5522
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5526
5523
|
"data-testid": `redis-configuration-dropdown-item-${K.name}`
|
|
5527
5524
|
}, [
|
|
5528
|
-
u("span",
|
|
5525
|
+
u("span", wp, $(K.name), 1),
|
|
5529
5526
|
K.tag ? (d(), L(_, {
|
|
5530
5527
|
key: 0,
|
|
5531
5528
|
appearance: "info",
|
|
@@ -5536,50 +5533,45 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5536
5533
|
]),
|
|
5537
5534
|
_: 2
|
|
5538
5535
|
}, 1024)) : z("", !0)
|
|
5539
|
-
], 8,
|
|
5536
|
+
], 8, Mp)
|
|
5540
5537
|
]),
|
|
5541
5538
|
empty: E(() => [
|
|
5542
|
-
u("div",
|
|
5539
|
+
u("div", Ap, $(V(t)("redis.shared_configuration.empty_state")), 1)
|
|
5543
5540
|
]),
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
])
|
|
5559
|
-
]),
|
|
5560
|
-
key: "0"
|
|
5561
|
-
}
|
|
5562
|
-
]), 1032, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5541
|
+
"dropdown-footer-text": E(() => [
|
|
5542
|
+
u("div", {
|
|
5543
|
+
class: "new-redis-config-area",
|
|
5544
|
+
"data-testid": "new-redis-config-area",
|
|
5545
|
+
onClick: P[0] || (P[0] = (K) => U.$emit("showNewPartialModal"))
|
|
5546
|
+
}, [
|
|
5547
|
+
A(V(wn), {
|
|
5548
|
+
size: `var(--kui-icon-size-20, ${V(Jo)})`
|
|
5549
|
+
}, null, 8, ["size"]),
|
|
5550
|
+
u("span", null, $(D.value), 1)
|
|
5551
|
+
])
|
|
5552
|
+
]),
|
|
5553
|
+
_: 1
|
|
5554
|
+
}, 8, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5563
5555
|
]),
|
|
5564
|
-
i.value ? (d(), L(
|
|
5556
|
+
i.value ? (d(), L(_p, {
|
|
5565
5557
|
key: 0,
|
|
5566
5558
|
"config-fields": i.value,
|
|
5567
5559
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5568
5560
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : z("", !0),
|
|
5569
|
-
T.value ? (d(), M("p",
|
|
5561
|
+
T.value ? (d(), M("p", Ep, $(H.value), 1)) : z("", !0)
|
|
5570
5562
|
], 64);
|
|
5571
5563
|
};
|
|
5572
5564
|
}
|
|
5573
|
-
}), no = /* @__PURE__ */ J(
|
|
5565
|
+
}), no = /* @__PURE__ */ J(Cp, [["__scopeId", "data-v-1a2a3d47"]]), Op = { key: 0 }, kp = {
|
|
5574
5566
|
class: "redis-config-radio-group",
|
|
5575
5567
|
"data-testid": "redis-config-radio-group"
|
|
5576
|
-
},
|
|
5568
|
+
}, Rp = {
|
|
5577
5569
|
key: 0,
|
|
5578
5570
|
class: "shared-redis-config"
|
|
5579
|
-
},
|
|
5571
|
+
}, Fp = {
|
|
5580
5572
|
key: 1,
|
|
5581
5573
|
class: "dedicated-redis-config"
|
|
5582
|
-
},
|
|
5574
|
+
}, Np = { class: "dedicated-redis-config-title" }, Up = /* @__PURE__ */ be({
|
|
5583
5575
|
__name: "FormRedis",
|
|
5584
5576
|
props: {
|
|
5585
5577
|
tag: {
|
|
@@ -5660,12 +5652,12 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5660
5652
|
f.value = !0, g.value = S;
|
|
5661
5653
|
}
|
|
5662
5654
|
}), (O, C) => {
|
|
5663
|
-
const y = k("KAlert"), S = k("KBadge"), U = k("KRadio"),
|
|
5655
|
+
const y = k("KAlert"), S = k("KBadge"), U = k("KRadio"), P = k("KCard");
|
|
5664
5656
|
return d(), M("div", null, [
|
|
5665
|
-
b.value ? (d(), M("div",
|
|
5657
|
+
b.value ? (d(), M("div", Op, [
|
|
5666
5658
|
A(y, {
|
|
5667
5659
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5668
|
-
message:
|
|
5660
|
+
message: V(a)("redis.custom_plugin.alert")
|
|
5669
5661
|
}, null, 8, ["message"]),
|
|
5670
5662
|
A(no, {
|
|
5671
5663
|
"default-redis-config-item": g.value,
|
|
@@ -5675,14 +5667,14 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5675
5667
|
"update-redis-model": F,
|
|
5676
5668
|
onShowNewPartialModal: C[0] || (C[0] = (p) => O.$emit("showNewPartialModal"))
|
|
5677
5669
|
}, null, 8, ["default-redis-config-item", "is-konnect-managed-redis-enabled", "plugin-redis-fields"])
|
|
5678
|
-
])) : (d(), L(
|
|
5670
|
+
])) : (d(), L(P, {
|
|
5679
5671
|
key: 1,
|
|
5680
5672
|
class: "redis-config-card",
|
|
5681
5673
|
"data-testid": "redis-config-card",
|
|
5682
5674
|
title: i.value
|
|
5683
5675
|
}, {
|
|
5684
5676
|
default: E(() => [
|
|
5685
|
-
u("div",
|
|
5677
|
+
u("div", kp, [
|
|
5686
5678
|
A(U, {
|
|
5687
5679
|
modelValue: f.value,
|
|
5688
5680
|
"onUpdate:modelValue": C[1] || (C[1] = (p) => f.value = p),
|
|
@@ -5699,7 +5691,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5699
5691
|
appearance: "success"
|
|
5700
5692
|
}, {
|
|
5701
5693
|
default: E(() => [
|
|
5702
|
-
Z($(
|
|
5694
|
+
Z($(V(a)("redis.managed_ui.shared_configuration.badge")), 1)
|
|
5703
5695
|
]),
|
|
5704
5696
|
_: 1
|
|
5705
5697
|
})) : z("", !0)
|
|
@@ -5717,7 +5709,7 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5717
5709
|
"selected-value": !1
|
|
5718
5710
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5719
5711
|
]),
|
|
5720
|
-
f.value ? (d(), M("div",
|
|
5712
|
+
f.value ? (d(), M("div", Rp, [
|
|
5721
5713
|
A(no, {
|
|
5722
5714
|
"default-redis-config-item": g.value,
|
|
5723
5715
|
"is-konnect-managed-redis-enabled": e.isKonnectManagedRedisEnabled,
|
|
@@ -5726,8 +5718,8 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5726
5718
|
"update-redis-model": F,
|
|
5727
5719
|
onShowNewPartialModal: C[3] || (C[3] = (p) => O.$emit("showNewPartialModal"))
|
|
5728
5720
|
}, null, 8, ["default-redis-config-item", "is-konnect-managed-redis-enabled", "plugin-redis-fields", "redis-type"])
|
|
5729
|
-
])) : (d(), M("div",
|
|
5730
|
-
u("div",
|
|
5721
|
+
])) : (d(), M("div", Fp, [
|
|
5722
|
+
u("div", Np, $(V(a)("redis.dedicated_configuration.title")), 1),
|
|
5731
5723
|
(d(), L(le(e.tag), null, {
|
|
5732
5724
|
default: E(() => [
|
|
5733
5725
|
(d(!0), M(Y, null, se(e.field.fields, (p) => (d(), M(Y, {
|
|
@@ -5757,9 +5749,9 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5757
5749
|
]);
|
|
5758
5750
|
};
|
|
5759
5751
|
}
|
|
5760
|
-
}),
|
|
5752
|
+
}), Lp = /* @__PURE__ */ J(Up, [["__scopeId", "data-v-58023d89"]]), Dp = {
|
|
5761
5753
|
name: "VueFormGenerator",
|
|
5762
|
-
components: { formGroup: cs, formRedis:
|
|
5754
|
+
components: { formGroup: cs, formRedis: Lp },
|
|
5763
5755
|
mixins: [Po],
|
|
5764
5756
|
inject: {
|
|
5765
5757
|
// Inject AUTOFILL_SLOT for provide()
|
|
@@ -5926,13 +5918,13 @@ const mp = { class: "partial-config-card" }, fp = { class: "config-card-row-labe
|
|
|
5926
5918
|
});
|
|
5927
5919
|
}
|
|
5928
5920
|
}
|
|
5929
|
-
},
|
|
5921
|
+
}, Pp = {
|
|
5930
5922
|
key: 0,
|
|
5931
5923
|
class: "vue-form-generator"
|
|
5932
|
-
},
|
|
5933
|
-
function
|
|
5924
|
+
}, Vp = { key: 0 };
|
|
5925
|
+
function Kp(e, t, n, o, a, i) {
|
|
5934
5926
|
const r = k("form-redis"), l = k("form-group"), c = k("KCollapse");
|
|
5935
|
-
return n.schema != null ? (d(), M("div",
|
|
5927
|
+
return n.schema != null ? (d(), M("div", Pp, [
|
|
5936
5928
|
n.schema.fields ? (d(), L(le(n.tag), { key: 0 }, {
|
|
5937
5929
|
default: E(() => [
|
|
5938
5930
|
(d(!0), M(Y, null, se(i.fields, (m) => (d(), M(Y, {
|
|
@@ -5977,7 +5969,7 @@ function jp(e, t, n, o, a, i) {
|
|
|
5977
5969
|
class: "root-level-collapse",
|
|
5978
5970
|
"model-value": !1,
|
|
5979
5971
|
title: m.collapsible.title
|
|
5980
|
-
},
|
|
5972
|
+
}, ut({
|
|
5981
5973
|
default: E(() => {
|
|
5982
5974
|
var f, g, T, w;
|
|
5983
5975
|
return [
|
|
@@ -6073,7 +6065,7 @@ function jp(e, t, n, o, a, i) {
|
|
|
6073
6065
|
class: ne(e.getFieldRowClasses(m))
|
|
6074
6066
|
}, {
|
|
6075
6067
|
default: E(() => [
|
|
6076
|
-
m.legend ? (d(), M("legend",
|
|
6068
|
+
m.legend ? (d(), M("legend", Vp, $(m.legend), 1)) : z("", !0),
|
|
6077
6069
|
(d(!0), M(Y, null, se(m.fields, (f) => (d(), M(Y, {
|
|
6078
6070
|
key: f.model
|
|
6079
6071
|
}, [
|
|
@@ -6097,7 +6089,7 @@ function jp(e, t, n, o, a, i) {
|
|
|
6097
6089
|
], 64))), 128))
|
|
6098
6090
|
])) : z("", !0);
|
|
6099
6091
|
}
|
|
6100
|
-
const pe = /* @__PURE__ */ J(
|
|
6092
|
+
const pe = /* @__PURE__ */ J(Dp, [["render", Kp]]), jp = [
|
|
6101
6093
|
{
|
|
6102
6094
|
label: "Kong Identity client",
|
|
6103
6095
|
value: "kong-identity",
|
|
@@ -6108,7 +6100,7 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6108
6100
|
value: "custom-identity",
|
|
6109
6101
|
description: "Match principals using a custom JWT claim."
|
|
6110
6102
|
}
|
|
6111
|
-
],
|
|
6103
|
+
], xp = (e) => e == null || e === "" ? !1 : Array.isArray(e) ? e.length > 0 : !0, $p = (e) => xp(e["config-principals-principal_by"]) ? "custom-identity" : "kong-identity", zp = {
|
|
6112
6104
|
name: "PrincipalLookupSettings",
|
|
6113
6105
|
props: {
|
|
6114
6106
|
formModel: {
|
|
@@ -6153,8 +6145,8 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6153
6145
|
},
|
|
6154
6146
|
data() {
|
|
6155
6147
|
return {
|
|
6156
|
-
lookupMethodItems:
|
|
6157
|
-
selectedLookupMethod:
|
|
6148
|
+
lookupMethodItems: jp,
|
|
6149
|
+
selectedLookupMethod: $p(this.formModel)
|
|
6158
6150
|
};
|
|
6159
6151
|
},
|
|
6160
6152
|
computed: {
|
|
@@ -6200,11 +6192,11 @@ const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
|
6200
6192
|
this.formModel[e] = t, this.onModelUpdated();
|
|
6201
6193
|
}
|
|
6202
6194
|
}
|
|
6203
|
-
},
|
|
6195
|
+
}, qp = {
|
|
6204
6196
|
key: 1,
|
|
6205
6197
|
class: "principals-field-group"
|
|
6206
|
-
},
|
|
6207
|
-
function
|
|
6198
|
+
}, Bp = { class: "principals-field-group" }, Hp = { class: "lookup-method-item" }, Gp = { class: "lookup-method-item-label" }, Yp = { class: "lookup-method-item-description" }, Wp = { class: "principals-field-group" }, Zp = { class: "principals-field-group" }, Xp = { class: "principals-field-group" };
|
|
6199
|
+
function Jp(e, t, n, o, a, i) {
|
|
6208
6200
|
const r = k("KAlert"), l = k("KLabel"), c = k("KInputSwitch"), m = k("KSelect"), b = k("KInput"), f = k("KRadio"), g = k("KCheckbox"), T = k("KCollapse");
|
|
6209
6201
|
return d(), L(T, {
|
|
6210
6202
|
class: "principals-advanced-settings",
|
|
@@ -6222,7 +6214,7 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6222
6214
|
message: "We detected that one or more data plane nodes are running a version earlier than 3.15. If principal lookup is enabled, requests handled by those data plane nodes will fail.",
|
|
6223
6215
|
"show-icon": ""
|
|
6224
6216
|
})) : z("", !0),
|
|
6225
|
-
n.showEnableToggle ? (d(), M("div",
|
|
6217
|
+
n.showEnableToggle ? (d(), M("div", qp, [
|
|
6226
6218
|
A(c, {
|
|
6227
6219
|
"data-testid": "use-principal-lookup",
|
|
6228
6220
|
disabled: n.disabled,
|
|
@@ -6243,7 +6235,7 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6243
6235
|
_: 1
|
|
6244
6236
|
}, 8, ["disabled", "model-value", "onUpdate:modelValue"])
|
|
6245
6237
|
])) : z("", !0),
|
|
6246
|
-
u("div",
|
|
6238
|
+
u("div", Bp, [
|
|
6247
6239
|
A(m, {
|
|
6248
6240
|
class: "principals-lookup-method-select",
|
|
6249
6241
|
"data-testid": "principals-lookup-method",
|
|
@@ -6256,9 +6248,9 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6256
6248
|
"onUpdate:modelValue": i.handleLookupMethodChange
|
|
6257
6249
|
}, {
|
|
6258
6250
|
"item-template": E(({ item: w }) => [
|
|
6259
|
-
u("div",
|
|
6260
|
-
u("div",
|
|
6261
|
-
u("div",
|
|
6251
|
+
u("div", Hp, [
|
|
6252
|
+
u("div", Gp, $(w.label), 1),
|
|
6253
|
+
u("div", Yp, $(w.description), 1)
|
|
6262
6254
|
])
|
|
6263
6255
|
]),
|
|
6264
6256
|
_: 1
|
|
@@ -6285,7 +6277,7 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6285
6277
|
"onUpdate:modelValue": t[1] || (t[1] = (w) => i.handleTokenClaimChange(w))
|
|
6286
6278
|
}, null, 8, ["disabled", "help", "model-value"])
|
|
6287
6279
|
]),
|
|
6288
|
-
u("div",
|
|
6280
|
+
u("div", Wp, [
|
|
6289
6281
|
A(l, null, {
|
|
6290
6282
|
default: E(() => [...t[7] || (t[7] = [
|
|
6291
6283
|
Z("If principal lookup fails", -1)
|
|
@@ -6311,7 +6303,7 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6311
6303
|
onChange: t[3] || (t[3] = (w) => i.updateField("config-principals-error_on_miss", !1))
|
|
6312
6304
|
}, null, 8, ["disabled", "model-value"])
|
|
6313
6305
|
]),
|
|
6314
|
-
u("div",
|
|
6306
|
+
u("div", Zp, [
|
|
6315
6307
|
A(g, {
|
|
6316
6308
|
"data-testid": "principals-match-consumer",
|
|
6317
6309
|
disabled: i.fieldsDisabled,
|
|
@@ -6321,7 +6313,6 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6321
6313
|
description: E(() => [...t[8] || (t[8] = [
|
|
6322
6314
|
Z(" Use the consumer linked to the authenticated principal so existing consumer-based plugins and policies continue to work. ", -1),
|
|
6323
6315
|
u("a", {
|
|
6324
|
-
class: "principals-learn-more-link",
|
|
6325
6316
|
href: "https://developer.konghq.com/identity/principals/",
|
|
6326
6317
|
rel: "noopener noreferrer",
|
|
6327
6318
|
target: "_blank"
|
|
@@ -6333,7 +6324,7 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6333
6324
|
_: 1
|
|
6334
6325
|
}, 8, ["disabled", "model-value"])
|
|
6335
6326
|
]),
|
|
6336
|
-
u("div",
|
|
6327
|
+
u("div", Xp, [
|
|
6337
6328
|
A(g, {
|
|
6338
6329
|
"data-testid": "principals-match-consumer-groups",
|
|
6339
6330
|
disabled: i.fieldsDisabled || !n.formModel["config-principals-match_consumer"],
|
|
@@ -6343,7 +6334,6 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6343
6334
|
description: E(() => [...t[10] || (t[10] = [
|
|
6344
6335
|
Z(" Use consumer groups linked to the authenticated principal so existing consumer group policies and plugins continue to work. Consumer groups can be linked through principal metadata. ", -1),
|
|
6345
6336
|
u("a", {
|
|
6346
|
-
class: "principals-learn-more-link",
|
|
6347
6337
|
href: "https://developer.konghq.com/identity/principals/",
|
|
6348
6338
|
rel: "noopener noreferrer",
|
|
6349
6339
|
target: "_blank"
|
|
@@ -6361,12 +6351,12 @@ function Qp(e, t, n, o, a, i) {
|
|
|
6361
6351
|
_: 3
|
|
6362
6352
|
});
|
|
6363
6353
|
}
|
|
6364
|
-
const
|
|
6354
|
+
const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b"]]), an = "kong-identity", us = "external", eg = "/v1/auth-servers/_computed", tg = "identity.konghq", ng = (e) => typeof e == "string" && e.includes(tg), li = { major: 3, minor: 15 }, ig = (e) => {
|
|
6365
6355
|
const [t, n] = e.split(".").map(Number);
|
|
6366
6356
|
return Number.isNaN(t) || Number.isNaN(n) ? !1 : t !== li.major ? t < li.major : n < li.minor;
|
|
6367
|
-
},
|
|
6357
|
+
}, ag = (e, t) => t ? ng(e["config-issuer"]) ? an : us : an, og = {
|
|
6368
6358
|
name: "OIDCPrincipals",
|
|
6369
|
-
components: { VueFormGenerator: pe, PrincipalLookupSettings:
|
|
6359
|
+
components: { VueFormGenerator: pe, PrincipalLookupSettings: Qp, AddIcon: wn, BookIcon: Bs, CloseIcon: qs, KeyIcon: zs, WorldIcon: $s },
|
|
6370
6360
|
inject: {
|
|
6371
6361
|
formsConfig: {
|
|
6372
6362
|
from: wi,
|
|
@@ -6405,7 +6395,7 @@ const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95
|
|
|
6405
6395
|
},
|
|
6406
6396
|
emits: ["mode-change", "click:learn-more", "click:create-entity"],
|
|
6407
6397
|
data() {
|
|
6408
|
-
const e =
|
|
6398
|
+
const e = ag(this.formModel, this.isEditing);
|
|
6409
6399
|
return {
|
|
6410
6400
|
MODE_KONG_IDENTITY: an,
|
|
6411
6401
|
MODE_EXTERNAL: us,
|
|
@@ -6479,7 +6469,7 @@ const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95
|
|
|
6479
6469
|
// principals (Gateway 3.15+ required). Drives a warning alert, not field hiding.
|
|
6480
6470
|
hasIncompatibleDataPlane() {
|
|
6481
6471
|
var e;
|
|
6482
|
-
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(
|
|
6472
|
+
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(ig);
|
|
6483
6473
|
},
|
|
6484
6474
|
// Whether principal lookup is on. Kong Identity mode pins this true; External mode
|
|
6485
6475
|
// controls it with the "Use principal lookup" toggle (config-principals-enabled).
|
|
@@ -6518,7 +6508,7 @@ const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95
|
|
|
6518
6508
|
if (((e = this.formsConfig) == null ? void 0 : e.isKongIdentityAuthServersAvailable) !== !1)
|
|
6519
6509
|
try {
|
|
6520
6510
|
this.kongIdentityServersLoading = !0;
|
|
6521
|
-
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${
|
|
6511
|
+
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${eg}`, i = await o.get(a);
|
|
6522
6512
|
this.kongIdentityServers = ((n = i.data) == null ? void 0 : n.data) ?? [];
|
|
6523
6513
|
const r = this.formModel["config-issuer"];
|
|
6524
6514
|
if (r && !this.selectedServer) {
|
|
@@ -6606,27 +6596,27 @@ const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95
|
|
|
6606
6596
|
this.onModelUpdated(), this.$emit("mode-change", e);
|
|
6607
6597
|
}
|
|
6608
6598
|
}
|
|
6609
|
-
},
|
|
6599
|
+
}, sg = {
|
|
6610
6600
|
class: "oidc-principals-section",
|
|
6611
6601
|
"data-testid": "oidc-principals-section"
|
|
6612
|
-
},
|
|
6602
|
+
}, rg = { class: "principals-description" }, lg = {
|
|
6613
6603
|
class: "oidc-auth-mode-radio-group",
|
|
6614
6604
|
"data-testid": "oidc-auth-mode-radio-group"
|
|
6615
|
-
},
|
|
6605
|
+
}, dg = { class: "auth-mode-card-content" }, cg = { class: "auth-mode-card-content" }, ug = {
|
|
6616
6606
|
key: 1,
|
|
6617
6607
|
class: "principals-create-guide",
|
|
6618
6608
|
"data-testid": "principals-create-guide"
|
|
6619
|
-
},
|
|
6609
|
+
}, mg = { class: "principals-create-guide-actions" }, fg = { class: "principals-client-secret-wrapper" }, hg = ["disabled", "onClick"], pg = { class: "external-client-field" }, gg = ["innerHTML"], yg = { class: "external-client-field" }, vg = ["innerHTML"], bg = ["disabled", "onClick"], _g = {
|
|
6620
6610
|
key: 1,
|
|
6621
6611
|
class: "principals-create-guide",
|
|
6622
6612
|
"data-testid": "principals-create-guide"
|
|
6623
|
-
},
|
|
6624
|
-
function
|
|
6613
|
+
}, Sg = { class: "principals-create-guide-actions" };
|
|
6614
|
+
function Tg(e, t, n, o, a, i) {
|
|
6625
6615
|
var O;
|
|
6626
6616
|
const r = k("KExternalLink"), l = k("KeyIcon"), c = k("KRadio"), m = k("WorldIcon"), b = k("KSkeleton"), f = k("AddIcon"), g = k("KButton"), T = k("BookIcon"), w = k("KSelect"), v = k("KInput"), F = k("CloseIcon"), D = k("PrincipalLookupSettings"), H = k("VueFormGenerator"), j = k("KPrompt");
|
|
6627
|
-
return d(), M("div",
|
|
6617
|
+
return d(), M("div", sg, [
|
|
6628
6618
|
t[28] || (t[28] = u("div", { class: "principals-header" }, " Who should manage authentication and credentials? ", -1)),
|
|
6629
|
-
u("div",
|
|
6619
|
+
u("div", rg, [
|
|
6630
6620
|
t[13] || (t[13] = Z(" Use External auth server to continue using your existing OAuth provider and authentication workflows. Use Kong Identity to adopt a newer principal-based model that centralizes and simplifies identity and authentication management. ", -1)),
|
|
6631
6621
|
A(r, { href: "https://developer.konghq.com/plugins/openid-connect/" }, {
|
|
6632
6622
|
default: E(() => [...t[12] || (t[12] = [
|
|
@@ -6635,7 +6625,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6635
6625
|
_: 1
|
|
6636
6626
|
})
|
|
6637
6627
|
]),
|
|
6638
|
-
u("div",
|
|
6628
|
+
u("div", lg, [
|
|
6639
6629
|
A(c, {
|
|
6640
6630
|
modelValue: a.selectedMode,
|
|
6641
6631
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => a.selectedMode = C),
|
|
@@ -6646,7 +6636,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6646
6636
|
onChange: i.handleModeChange
|
|
6647
6637
|
}, {
|
|
6648
6638
|
default: E(() => [
|
|
6649
|
-
u("div",
|
|
6639
|
+
u("div", dg, [
|
|
6650
6640
|
A(l, {
|
|
6651
6641
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6652
6642
|
}, null, 8, ["size"]),
|
|
@@ -6666,7 +6656,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6666
6656
|
onChange: i.handleModeChange
|
|
6667
6657
|
}, {
|
|
6668
6658
|
default: E(() => [
|
|
6669
|
-
u("div",
|
|
6659
|
+
u("div", cg, [
|
|
6670
6660
|
A(m, {
|
|
6671
6661
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6672
6662
|
}, null, 8, ["size"]),
|
|
@@ -6681,10 +6671,10 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6681
6671
|
key: 0,
|
|
6682
6672
|
class: "principals-create-guide-skeleton",
|
|
6683
6673
|
"data-testid": "principals-create-guide-loading"
|
|
6684
|
-
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div",
|
|
6674
|
+
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div", ug, [
|
|
6685
6675
|
t[20] || (t[20] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6686
6676
|
t[21] || (t[21] = u("div", { class: "principals-create-guide-description" }, " Get more value from OAuth 2.0 integration by creating principals in Kong Identity. Associate principals with this authorization server and its clients to enable principal-based authentication across Kong products. ", -1)),
|
|
6687
|
-
u("div",
|
|
6677
|
+
u("div", mg, [
|
|
6688
6678
|
A(g, {
|
|
6689
6679
|
appearance: "primary",
|
|
6690
6680
|
"data-testid": "principals-create-principal",
|
|
@@ -6726,7 +6716,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6726
6716
|
placeholder: "Select an Authorization Server",
|
|
6727
6717
|
required: "",
|
|
6728
6718
|
"onUpdate:modelValue": i.handleServerChange
|
|
6729
|
-
},
|
|
6719
|
+
}, ut({ _: 2 }, [
|
|
6730
6720
|
i.canCreateAuthServer ? {
|
|
6731
6721
|
name: "dropdown-footer-text",
|
|
6732
6722
|
fn: E(() => [
|
|
@@ -6776,7 +6766,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6776
6766
|
"model-value": C,
|
|
6777
6767
|
placeholder: "Select a client",
|
|
6778
6768
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6779
|
-
},
|
|
6769
|
+
}, ut({ _: 2 }, [
|
|
6780
6770
|
i.canCreateAuthServerClient ? {
|
|
6781
6771
|
name: "dropdown-footer-text",
|
|
6782
6772
|
fn: E(() => [
|
|
@@ -6805,7 +6795,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6805
6795
|
placeholder: "e.g., kong-gateway-client",
|
|
6806
6796
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6807
6797
|
}, null, 8, ["label", "model-value", "onUpdate:modelValue"])),
|
|
6808
|
-
u("div",
|
|
6798
|
+
u("div", fg, [
|
|
6809
6799
|
A(v, {
|
|
6810
6800
|
class: "principals-client-secret",
|
|
6811
6801
|
"data-testid": "principals-client-secret",
|
|
@@ -6835,7 +6825,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6835
6825
|
A(F, {
|
|
6836
6826
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6837
6827
|
}, null, 8, ["size"])
|
|
6838
|
-
], 8,
|
|
6828
|
+
], 8, hg)
|
|
6839
6829
|
], 2))), 128)),
|
|
6840
6830
|
u("div", {
|
|
6841
6831
|
class: ne(["add-client-inline", { "add-client-inline-disabled": i.hasAuthServersAccess && !a.selectedServer }]),
|
|
@@ -6856,12 +6846,12 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6856
6846
|
}, 8, ["data-plane-incompatible", "form-model", "on-enabled-change", "on-model-updated"])
|
|
6857
6847
|
], 64)) : (d(), M(Y, { key: 3 }, [
|
|
6858
6848
|
(d(!0), M(Y, null, se(i.clientIdArray, (C, y) => {
|
|
6859
|
-
var S, U,
|
|
6849
|
+
var S, U, P, p, _, I, K, W;
|
|
6860
6850
|
return d(), M("div", {
|
|
6861
6851
|
key: y,
|
|
6862
6852
|
class: ne(["client-row", { "client-row-with-label": y === 0 }])
|
|
6863
6853
|
}, [
|
|
6864
|
-
u("div",
|
|
6854
|
+
u("div", pg, [
|
|
6865
6855
|
A(v, {
|
|
6866
6856
|
class: "external-client-input",
|
|
6867
6857
|
"data-testid": "external-client-id",
|
|
@@ -6873,13 +6863,13 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6873
6863
|
"model-value": i.clientIdArray[y],
|
|
6874
6864
|
placeholder: "e.g., kong-gateway-client",
|
|
6875
6865
|
"onUpdate:modelValue": (ee) => i.handleClientChange(y, ee)
|
|
6876
|
-
},
|
|
6877
|
-
(
|
|
6866
|
+
}, ut({ _: 2 }, [
|
|
6867
|
+
(P = n.formOptions) != null && P.helpAsHtml && ((p = i.externalClientIdField) != null && p.help) ? {
|
|
6878
6868
|
name: "label-tooltip",
|
|
6879
6869
|
fn: E(() => [
|
|
6880
6870
|
u("div", {
|
|
6881
6871
|
innerHTML: i.sanitize(i.externalClientIdField.help)
|
|
6882
|
-
}, null, 8,
|
|
6872
|
+
}, null, 8, gg)
|
|
6883
6873
|
]),
|
|
6884
6874
|
key: "0"
|
|
6885
6875
|
} : void 0
|
|
@@ -6891,7 +6881,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6891
6881
|
value: i.clientIdArray[y]
|
|
6892
6882
|
}, null, 8, ["update", "value"])) : z("", !0)
|
|
6893
6883
|
]),
|
|
6894
|
-
u("div",
|
|
6884
|
+
u("div", yg, [
|
|
6895
6885
|
A(v, {
|
|
6896
6886
|
class: "external-client-input",
|
|
6897
6887
|
"data-testid": "external-client-secret",
|
|
@@ -6905,13 +6895,13 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6905
6895
|
"show-password-mask-toggle": "",
|
|
6906
6896
|
type: "password",
|
|
6907
6897
|
"onUpdate:modelValue": (ee) => i.handleClientSecretChange(y, ee)
|
|
6908
|
-
},
|
|
6898
|
+
}, ut({ _: 2 }, [
|
|
6909
6899
|
(K = n.formOptions) != null && K.helpAsHtml && ((W = i.externalClientSecretField) != null && W.help) ? {
|
|
6910
6900
|
name: "label-tooltip",
|
|
6911
6901
|
fn: E(() => [
|
|
6912
6902
|
u("div", {
|
|
6913
6903
|
innerHTML: i.sanitize(i.externalClientSecretField.help)
|
|
6914
|
-
}, null, 8,
|
|
6904
|
+
}, null, 8, vg)
|
|
6915
6905
|
]),
|
|
6916
6906
|
key: "0"
|
|
6917
6907
|
} : void 0
|
|
@@ -6934,7 +6924,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6934
6924
|
A(F, {
|
|
6935
6925
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6936
6926
|
}, null, 8, ["size"])
|
|
6937
|
-
], 8,
|
|
6927
|
+
], 8, bg)
|
|
6938
6928
|
], 2);
|
|
6939
6929
|
}), 128)),
|
|
6940
6930
|
u("div", {
|
|
@@ -6962,10 +6952,10 @@ function Mg(e, t, n, o, a, i) {
|
|
|
6962
6952
|
key: 0,
|
|
6963
6953
|
class: "principals-create-guide-skeleton",
|
|
6964
6954
|
"data-testid": "principals-create-guide-loading"
|
|
6965
|
-
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div",
|
|
6955
|
+
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div", _g, [
|
|
6966
6956
|
t[26] || (t[26] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6967
6957
|
t[27] || (t[27] = u("div", { class: "principals-create-guide-description" }, " Get more value from OAuth 2.0 integration by creating principals in Kong Identity. Associate principals with this authorization server and its clients to enable principal-based authentication across Kong products. Requires data plane nodes to be running version 3.15 or later. ", -1)),
|
|
6968
|
-
u("div",
|
|
6958
|
+
u("div", Sg, [
|
|
6969
6959
|
A(g, {
|
|
6970
6960
|
appearance: "primary",
|
|
6971
6961
|
"data-testid": "principals-create-principal",
|
|
@@ -7008,7 +6998,7 @@ function Mg(e, t, n, o, a, i) {
|
|
|
7008
6998
|
}, null, 8, ["visible", "onProceed"])
|
|
7009
6999
|
]);
|
|
7010
7000
|
}
|
|
7011
|
-
const
|
|
7001
|
+
const Mg = /* @__PURE__ */ J(og, [["render", Tg], ["__scopeId", "data-v-0f745511"]]), wg = {
|
|
7012
7002
|
name: "OIDCAuthMethods",
|
|
7013
7003
|
props: {
|
|
7014
7004
|
authMethodItems: {
|
|
@@ -7030,10 +7020,10 @@ const wg = /* @__PURE__ */ J(sg, [["render", Mg], ["__scopeId", "data-v-0f745511
|
|
|
7030
7020
|
}
|
|
7031
7021
|
},
|
|
7032
7022
|
emits: ["select", "session-change"]
|
|
7033
|
-
},
|
|
7034
|
-
function
|
|
7023
|
+
}, Ag = { class: "oidc-auth-methods" }, Eg = { class: "session-management-section" }, Ig = { class: "session-radio-group" };
|
|
7024
|
+
function Cg(e, t, n, o, a, i) {
|
|
7035
7025
|
const r = k("KLabel"), l = k("KMultiselect"), c = k("KRadio");
|
|
7036
|
-
return d(), M("div",
|
|
7026
|
+
return d(), M("div", Ag, [
|
|
7037
7027
|
A(r, null, {
|
|
7038
7028
|
default: E(() => [...t[3] || (t[3] = [
|
|
7039
7029
|
Z("Authentication methods", -1)
|
|
@@ -7050,14 +7040,14 @@ function Og(e, t, n, o, a, i) {
|
|
|
7050
7040
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.$emit("select", m))
|
|
7051
7041
|
}, null, 8, ["items", "model-value"])),
|
|
7052
7042
|
t[5] || (t[5] = u("p", { class: "auth-methods-hint" }, " Configure which OAuth and OpenID Connect features are supported. ", -1)),
|
|
7053
|
-
u("div",
|
|
7043
|
+
u("div", Eg, [
|
|
7054
7044
|
A(r, null, {
|
|
7055
7045
|
default: E(() => [...t[4] || (t[4] = [
|
|
7056
7046
|
Z("Session management", -1)
|
|
7057
7047
|
])]),
|
|
7058
7048
|
_: 1
|
|
7059
7049
|
}),
|
|
7060
|
-
u("div",
|
|
7050
|
+
u("div", Ig, [
|
|
7061
7051
|
A(c, {
|
|
7062
7052
|
"data-testid": "session-radio-use",
|
|
7063
7053
|
description: "Issue a session cookie after successful authentication. Subsequent requests use the session instead of re-authenticating with the identity provider.",
|
|
@@ -7078,7 +7068,7 @@ function Og(e, t, n, o, a, i) {
|
|
|
7078
7068
|
])
|
|
7079
7069
|
]);
|
|
7080
7070
|
}
|
|
7081
|
-
const
|
|
7071
|
+
const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c"]]), Xt = {
|
|
7082
7072
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
7083
7073
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
7084
7074
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -7106,9 +7096,9 @@ const kg = /* @__PURE__ */ J(Ag, [["render", Og], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7106
7096
|
"config-groups_claim",
|
|
7107
7097
|
"config-groups_required",
|
|
7108
7098
|
"config-authenticated_groups_claim"
|
|
7109
|
-
]), di = ["bearer", "client_credentials", "introspection", "userinfo"],
|
|
7099
|
+
]), di = ["bearer", "client_credentials", "introspection", "userinfo"], kg = "identity.konghq", Rg = (e) => typeof e == "string" && e.includes(kg), Fg = {
|
|
7110
7100
|
name: "OIDCForm",
|
|
7111
|
-
components: { VueFormGenerator: pe, OIDCPrincipals:
|
|
7101
|
+
components: { VueFormGenerator: pe, OIDCPrincipals: Mg, OIDCAuthMethods: Og },
|
|
7112
7102
|
provide() {
|
|
7113
7103
|
var e;
|
|
7114
7104
|
return {
|
|
@@ -7225,7 +7215,7 @@ const kg = /* @__PURE__ */ J(Ag, [["render", Og], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7225
7215
|
return this.isKonnect;
|
|
7226
7216
|
},
|
|
7227
7217
|
authMethodItems() {
|
|
7228
|
-
return ((this.principalsMode !== null ? this.principalsMode === "kong-identity" :
|
|
7218
|
+
return ((this.principalsMode !== null ? this.principalsMode === "kong-identity" : Rg(this.formModel["config-issuer"])) ? this.authMethods.filter((n) => di.includes(n.value)) : this.authMethods).map((n) => ({
|
|
7229
7219
|
label: n.label,
|
|
7230
7220
|
value: n.value
|
|
7231
7221
|
}));
|
|
@@ -7398,8 +7388,8 @@ const kg = /* @__PURE__ */ J(Ag, [["render", Og], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7398
7388
|
}
|
|
7399
7389
|
}
|
|
7400
7390
|
}
|
|
7401
|
-
},
|
|
7402
|
-
function
|
|
7391
|
+
}, Ng = { class: "general-settings" }, Ug = { class: "link-wrapper" }, Lg = { class: "auth-method-container" }, Dg = { class: "general-settings" }, Pg = { class: "link-wrapper" }, Vg = { class: "general-settings" }, Kg = { class: "link-wrapper" };
|
|
7392
|
+
function jg(e, t, n, o, a, i) {
|
|
7403
7393
|
const r = k("VueFormGenerator"), l = k("KExternalLink"), c = k("OIDCAuthMethods"), m = k("OIDCPrincipals"), b = k("KLabel"), f = k("KCheckbox"), g = k("KInputSwitch"), T = k("KTabs");
|
|
7404
7394
|
return d(), M("div", null, [
|
|
7405
7395
|
n.formModel.id && n.isEditing || !n.isEditing ? (d(), L(r, {
|
|
@@ -7412,8 +7402,8 @@ function xg(e, t, n, o, a, i) {
|
|
|
7412
7402
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7413
7403
|
A(T, { tabs: a.tabs }, {
|
|
7414
7404
|
common: E(() => [
|
|
7415
|
-
u("div",
|
|
7416
|
-
u("div",
|
|
7405
|
+
u("div", Ng, [
|
|
7406
|
+
u("div", Ug, [
|
|
7417
7407
|
A(l, { href: a.openIdConfigurationDocs }, {
|
|
7418
7408
|
default: E(() => [...t[4] || (t[4] = [
|
|
7419
7409
|
u("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -7468,7 +7458,7 @@ function xg(e, t, n, o, a, i) {
|
|
|
7468
7458
|
])]),
|
|
7469
7459
|
_: 1
|
|
7470
7460
|
}),
|
|
7471
|
-
u("div",
|
|
7461
|
+
u("div", Lg, [
|
|
7472
7462
|
(d(!0), M(Y, null, se(a.authMethods, (w) => (d(), M("div", {
|
|
7473
7463
|
key: w.value,
|
|
7474
7464
|
class: "auth-method"
|
|
@@ -7498,8 +7488,8 @@ function xg(e, t, n, o, a, i) {
|
|
|
7498
7488
|
])
|
|
7499
7489
|
]),
|
|
7500
7490
|
authorization: E(() => [
|
|
7501
|
-
u("div",
|
|
7502
|
-
u("div",
|
|
7491
|
+
u("div", Dg, [
|
|
7492
|
+
u("div", Pg, [
|
|
7503
7493
|
A(l, { href: a.openIdAuthorizationDocs }, {
|
|
7504
7494
|
default: E(() => [...t[7] || (t[7] = [
|
|
7505
7495
|
u("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -7523,8 +7513,8 @@ function xg(e, t, n, o, a, i) {
|
|
|
7523
7513
|
])
|
|
7524
7514
|
]),
|
|
7525
7515
|
advanced: E(() => [
|
|
7526
|
-
u("div",
|
|
7527
|
-
u("div",
|
|
7516
|
+
u("div", Vg, [
|
|
7517
|
+
u("div", Kg, [
|
|
7528
7518
|
A(l, { href: a.openIdConnectLink }, {
|
|
7529
7519
|
default: E(() => [...t[9] || (t[9] = [
|
|
7530
7520
|
u("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -7551,7 +7541,7 @@ function xg(e, t, n, o, a, i) {
|
|
|
7551
7541
|
}, 8, ["tabs"])
|
|
7552
7542
|
]);
|
|
7553
7543
|
}
|
|
7554
|
-
const
|
|
7544
|
+
const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca"]]), $g = /* @__PURE__ */ be({
|
|
7555
7545
|
__name: "PostFunction",
|
|
7556
7546
|
props: {
|
|
7557
7547
|
formModel: {
|
|
@@ -7594,7 +7584,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7594
7584
|
onModelUpdated: e.onModelUpdated
|
|
7595
7585
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7596
7586
|
}
|
|
7597
|
-
}),
|
|
7587
|
+
}), zg = /* @__PURE__ */ J($g, [["__scopeId", "data-v-f54f37ae"]]), qg = /* @__PURE__ */ be({
|
|
7598
7588
|
__name: "ExitTransformer",
|
|
7599
7589
|
props: {
|
|
7600
7590
|
formModel: {
|
|
@@ -7637,7 +7627,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7637
7627
|
onModelUpdated: e.onModelUpdated
|
|
7638
7628
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7639
7629
|
}
|
|
7640
|
-
}),
|
|
7630
|
+
}), Bg = /* @__PURE__ */ J(qg, [["__scopeId", "data-v-0d5c541f"]]), Hg = {
|
|
7641
7631
|
fields: [
|
|
7642
7632
|
{
|
|
7643
7633
|
inputType: "text",
|
|
@@ -7672,7 +7662,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7672
7662
|
disabled: !1
|
|
7673
7663
|
}
|
|
7674
7664
|
]
|
|
7675
|
-
},
|
|
7665
|
+
}, Gg = {
|
|
7676
7666
|
fields: [
|
|
7677
7667
|
{
|
|
7678
7668
|
type: "input",
|
|
@@ -7694,7 +7684,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7694
7684
|
disabled: !1
|
|
7695
7685
|
}
|
|
7696
7686
|
]
|
|
7697
|
-
},
|
|
7687
|
+
}, Yg = {
|
|
7698
7688
|
fields: [
|
|
7699
7689
|
{
|
|
7700
7690
|
type: "input",
|
|
@@ -7725,7 +7715,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7725
7715
|
disabled: !1
|
|
7726
7716
|
}
|
|
7727
7717
|
]
|
|
7728
|
-
},
|
|
7718
|
+
}, Wg = { class: "general-settings" }, Zg = { class: "sub-form" }, Xg = { class: "general-settings" }, Jg = { class: "sub-form" }, Qg = { class: "general-settings" }, ey = /* @__PURE__ */ be({
|
|
7729
7719
|
__name: "ACMEForm",
|
|
7730
7720
|
props: {
|
|
7731
7721
|
formModel: {
|
|
@@ -7762,26 +7752,26 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7762
7752
|
return y;
|
|
7763
7753
|
}), i = B(() => {
|
|
7764
7754
|
var S;
|
|
7765
|
-
const y = Qe(
|
|
7755
|
+
const y = Qe(Hg);
|
|
7766
7756
|
for (const U of y.fields) {
|
|
7767
|
-
const
|
|
7768
|
-
U.help === void 0 && typeof
|
|
7757
|
+
const P = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7758
|
+
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
7769
7759
|
}
|
|
7770
7760
|
return y;
|
|
7771
7761
|
}), r = B(() => {
|
|
7772
7762
|
var S;
|
|
7773
|
-
const y = Qe(
|
|
7763
|
+
const y = Qe(Gg);
|
|
7774
7764
|
for (const U of y.fields) {
|
|
7775
|
-
const
|
|
7776
|
-
U.help === void 0 && typeof
|
|
7765
|
+
const P = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7766
|
+
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
7777
7767
|
}
|
|
7778
7768
|
return y;
|
|
7779
7769
|
}), l = B(() => {
|
|
7780
7770
|
var S;
|
|
7781
|
-
const y = Qe(
|
|
7771
|
+
const y = Qe(Yg);
|
|
7782
7772
|
for (const U of y.fields) {
|
|
7783
|
-
const
|
|
7784
|
-
U.help === void 0 && typeof
|
|
7773
|
+
const P = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7774
|
+
U.help === void 0 && typeof P == "string" && (U.help = P);
|
|
7785
7775
|
}
|
|
7786
7776
|
return y;
|
|
7787
7777
|
}), c = B(() => ({
|
|
@@ -7839,7 +7829,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7839
7829
|
S === "config-storage" && (o.value = y), t.onModelUpdated();
|
|
7840
7830
|
};
|
|
7841
7831
|
return (y, S) => {
|
|
7842
|
-
const U = k("KSelect"),
|
|
7832
|
+
const U = k("KSelect"), P = k("KTabs");
|
|
7843
7833
|
return d(), M("div", null, [
|
|
7844
7834
|
e.formModel.id && e.isEditing || !e.isEditing ? (d(), L(pe, {
|
|
7845
7835
|
key: 0,
|
|
@@ -7849,9 +7839,9 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7849
7839
|
schema: c.value,
|
|
7850
7840
|
onModelUpdated: e.onModelUpdated
|
|
7851
7841
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7852
|
-
A(
|
|
7842
|
+
A(P, { tabs: D }, {
|
|
7853
7843
|
general: E(() => [
|
|
7854
|
-
u("div",
|
|
7844
|
+
u("div", Wg, [
|
|
7855
7845
|
S[0] || (S[0] = u("div", { class: "header-wrapper" }, [
|
|
7856
7846
|
u("span", { class: "section-header" }, "General Configuration Settings")
|
|
7857
7847
|
], -1)),
|
|
@@ -7870,7 +7860,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7870
7860
|
label: "Issuer",
|
|
7871
7861
|
onChange: j
|
|
7872
7862
|
}),
|
|
7873
|
-
u("div",
|
|
7863
|
+
u("div", Zg, [
|
|
7874
7864
|
n.value === "letsEncrypt" ? (d(), L(pe, {
|
|
7875
7865
|
key: 0,
|
|
7876
7866
|
model: e.formModel,
|
|
@@ -7889,7 +7879,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7889
7879
|
])
|
|
7890
7880
|
]),
|
|
7891
7881
|
storage: E(() => [
|
|
7892
|
-
u("div",
|
|
7882
|
+
u("div", Xg, [
|
|
7893
7883
|
S[3] || (S[3] = u("div", { class: "header-wrapper" }, [
|
|
7894
7884
|
u("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
7895
7885
|
], -1)),
|
|
@@ -7901,7 +7891,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7901
7891
|
schema: b.value,
|
|
7902
7892
|
onModelUpdated: O
|
|
7903
7893
|
}, null, 8, ["model", "options", "schema"])) : z("", !0),
|
|
7904
|
-
u("div",
|
|
7894
|
+
u("div", Jg, [
|
|
7905
7895
|
o.value === "consul" ? (d(), L(pe, {
|
|
7906
7896
|
key: 0,
|
|
7907
7897
|
model: e.formModel,
|
|
@@ -7934,7 +7924,7 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7934
7924
|
])
|
|
7935
7925
|
]),
|
|
7936
7926
|
advanced: E(() => [
|
|
7937
|
-
u("div",
|
|
7927
|
+
u("div", Qg, [
|
|
7938
7928
|
S[5] || (S[5] = u("div", { class: "header-wrapper" }, [
|
|
7939
7929
|
u("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
7940
7930
|
], -1)),
|
|
@@ -7953,13 +7943,13 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7953
7943
|
]);
|
|
7954
7944
|
};
|
|
7955
7945
|
}
|
|
7956
|
-
}),
|
|
7946
|
+
}), ty = /* @__PURE__ */ J(ey, [["__scopeId", "data-v-07cecf5b"]]), ny = { class: "rla-form-basic-fields" }, iy = { class: "rla-form-request-limits-subtitle" }, ay = { class: "rla-form-request-limits-content" }, oy = { class: "rla-form-window-type" }, sy = ["innerHTML"], ry = { class: "rla-form-window-type-radios" }, ly = { class: "rla-form-request-limits-items" }, dy = { class: "rla-form-request-limits-row" }, cy = ["id"], uy = { class: "rla-form-request-limits-actions" }, my = {
|
|
7957
7947
|
key: 0,
|
|
7958
7948
|
class: "rla-form-request-limits-examples"
|
|
7959
|
-
},
|
|
7949
|
+
}, fy = { class: "rla-form-request-limits-examples-badges" }, hy = ["innerHTML"], py = {
|
|
7960
7950
|
id: "rla-form-error-legend",
|
|
7961
7951
|
class: "rla-form-error-inputs"
|
|
7962
|
-
},
|
|
7952
|
+
}, gy = /* @__PURE__ */ be({
|
|
7963
7953
|
__name: "RLAForm",
|
|
7964
7954
|
props: {
|
|
7965
7955
|
formSchema: {},
|
|
@@ -7973,8 +7963,8 @@ const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca
|
|
|
7973
7963
|
isKonnectManagedRedisEnabled: { type: Boolean }
|
|
7974
7964
|
},
|
|
7975
7965
|
setup(e) {
|
|
7976
|
-
var
|
|
7977
|
-
ln(Le, (
|
|
7966
|
+
var P;
|
|
7967
|
+
ln(Le, (P = Mn()) == null ? void 0 : P[jt]);
|
|
7978
7968
|
const t = {
|
|
7979
7969
|
fixed: [
|
|
7980
7970
|
{
|
|
@@ -8044,9 +8034,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8044
8034
|
const p = (($e = (ee = i.formSchema) == null ? void 0 : ee.fields) == null ? void 0 : $e.filter((ge) => !o(ge.model))) ?? [], _ = [], I = [], K = [];
|
|
8045
8035
|
let W = !1;
|
|
8046
8036
|
for (const ge of p) {
|
|
8047
|
-
const
|
|
8048
|
-
if (
|
|
8049
|
-
if (
|
|
8037
|
+
const it = ge.model;
|
|
8038
|
+
if (it !== void 0) {
|
|
8039
|
+
if (it.startsWith("config-redis-")) {
|
|
8050
8040
|
(ge.model === "config-redis-cluster_addresses" || ge.model === "config-redis-sentinel_addresses") && (ge.inputAttributes.help = a("rla.redis.address_example")), I.push(ge);
|
|
8051
8041
|
continue;
|
|
8052
8042
|
}
|
|
@@ -8080,7 +8070,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8080
8070
|
), w = B(() => {
|
|
8081
8071
|
var _, I, K, W, ee, $e;
|
|
8082
8072
|
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;
|
|
8083
|
-
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,
|
|
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, it) => ge === p ? -1 : it === p ? 1 : 0);
|
|
8084
8074
|
}), v = B(() => {
|
|
8085
8075
|
var _;
|
|
8086
8076
|
const p = (_ = i.formModel["config-limit"]) == null ? void 0 : _.map((I, K) => {
|
|
@@ -8144,16 +8134,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8144
8134
|
return dn(() => i.formModel["config-strategy"], (p) => {
|
|
8145
8135
|
p !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
|
|
8146
8136
|
}), (p, _) => {
|
|
8147
|
-
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"),
|
|
8137
|
+
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"), it = k("KCard"), Nn = k("KSelect"), Un = k("KCollapse");
|
|
8148
8138
|
return d(), M(Y, null, [
|
|
8149
|
-
u("div",
|
|
8139
|
+
u("div", ny, [
|
|
8150
8140
|
A(pe, {
|
|
8151
8141
|
model: e.formModel,
|
|
8152
8142
|
options: e.formOptions,
|
|
8153
8143
|
schema: r.value,
|
|
8154
8144
|
onModelUpdated: _[0] || (_[0] = (q, ce) => e.onModelUpdated(q, ce))
|
|
8155
8145
|
}, null, 8, ["model", "options", "schema"]),
|
|
8156
|
-
A(
|
|
8146
|
+
A(it, { class: "rla-form-request-limits" }, {
|
|
8157
8147
|
title: E(() => [
|
|
8158
8148
|
A(I, {
|
|
8159
8149
|
class: "rla-form-request-limits-title",
|
|
@@ -8161,15 +8151,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8161
8151
|
required: ""
|
|
8162
8152
|
}, {
|
|
8163
8153
|
default: E(() => [
|
|
8164
|
-
Z($(
|
|
8154
|
+
Z($(V(a)("rla.request_limits.title")), 1)
|
|
8165
8155
|
]),
|
|
8166
8156
|
_: 1
|
|
8167
8157
|
}),
|
|
8168
|
-
u("div",
|
|
8158
|
+
u("div", iy, $(V(a)("rla.request_limits.subtitle")), 1)
|
|
8169
8159
|
]),
|
|
8170
8160
|
default: E(() => [
|
|
8171
|
-
u("div",
|
|
8172
|
-
u("div",
|
|
8161
|
+
u("div", ay, [
|
|
8162
|
+
u("div", oy, [
|
|
8173
8163
|
A(I, {
|
|
8174
8164
|
class: "rla-form-window-type-label",
|
|
8175
8165
|
"tooltip-attributes": {
|
|
@@ -8179,15 +8169,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8179
8169
|
}, {
|
|
8180
8170
|
tooltip: E(() => [
|
|
8181
8171
|
u("div", {
|
|
8182
|
-
innerHTML:
|
|
8183
|
-
}, null, 8,
|
|
8172
|
+
innerHTML: V(a)("rla.window_type.help")
|
|
8173
|
+
}, null, 8, sy)
|
|
8184
8174
|
]),
|
|
8185
8175
|
default: E(() => [
|
|
8186
|
-
Z($(
|
|
8176
|
+
Z($(V(a)("rla.window_type.label")) + " ", 1)
|
|
8187
8177
|
]),
|
|
8188
8178
|
_: 1
|
|
8189
8179
|
}),
|
|
8190
|
-
u("div",
|
|
8180
|
+
u("div", ry, [
|
|
8191
8181
|
(d(!0), M(Y, null, se(w.value, (q) => (d(), L(K, {
|
|
8192
8182
|
key: `window-type-${q}`,
|
|
8193
8183
|
"model-value": T.value,
|
|
@@ -8196,13 +8186,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8196
8186
|
"onUpdate:modelValue": O
|
|
8197
8187
|
}, {
|
|
8198
8188
|
default: E(() => [
|
|
8199
|
-
Z($(
|
|
8189
|
+
Z($(V(a)(`rla.window_type.options.${q}`)), 1)
|
|
8200
8190
|
]),
|
|
8201
8191
|
_: 2
|
|
8202
8192
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
8203
8193
|
])
|
|
8204
8194
|
]),
|
|
8205
|
-
u("div",
|
|
8195
|
+
u("div", ly, [
|
|
8206
8196
|
(d(!0), M(Y, null, se(v.value, (q, ce) => (d(), M("div", {
|
|
8207
8197
|
key: ce.toString()
|
|
8208
8198
|
}, [
|
|
@@ -8210,38 +8200,38 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8210
8200
|
for: `rla-form-request-limits-item-${ce}-legend`
|
|
8211
8201
|
}, {
|
|
8212
8202
|
default: E(() => [
|
|
8213
|
-
Z($(
|
|
8203
|
+
Z($(V(a)("rla.request_limits.label_index", { index: ce + 1 })), 1)
|
|
8214
8204
|
]),
|
|
8215
8205
|
_: 2
|
|
8216
8206
|
}, 1032, ["for"]),
|
|
8217
|
-
u("div",
|
|
8207
|
+
u("div", dy, [
|
|
8218
8208
|
u("legend", {
|
|
8219
8209
|
id: `rla-form-request-limits-item-${ce}-legend`,
|
|
8220
8210
|
class: "rla-form-request-limits-inputs"
|
|
8221
8211
|
}, [
|
|
8222
8212
|
A(W, {
|
|
8223
8213
|
"model-value": q.limit && q.limit.toString(),
|
|
8224
|
-
placeholder:
|
|
8214
|
+
placeholder: V(a)("rla.request_limits.request_number"),
|
|
8225
8215
|
type: "number",
|
|
8226
8216
|
"onUpdate:modelValue": ($t) => C(ce, Number.parseInt($t))
|
|
8227
8217
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8228
|
-
u("div", null, $(
|
|
8218
|
+
u("div", null, $(V(a)("rla.request_limits.interval_determiner")), 1),
|
|
8229
8219
|
A(W, {
|
|
8230
8220
|
"model-value": q.windowSize && q.windowSize.toString(),
|
|
8231
|
-
placeholder:
|
|
8221
|
+
placeholder: V(a)("rla.request_limits.time_interval"),
|
|
8232
8222
|
type: "number",
|
|
8233
8223
|
"onUpdate:modelValue": ($t) => y(ce, Number.parseInt($t))
|
|
8234
8224
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8235
|
-
u("div", null, $(
|
|
8236
|
-
], 8,
|
|
8237
|
-
u("div",
|
|
8225
|
+
u("div", null, $(V(a)("rla.request_limits.seconds")), 1)
|
|
8226
|
+
], 8, cy),
|
|
8227
|
+
u("div", uy, [
|
|
8238
8228
|
A(ee, {
|
|
8239
8229
|
appearance: "tertiary",
|
|
8240
8230
|
disabled: v.value.length <= 1,
|
|
8241
8231
|
onClick: () => U(ce)
|
|
8242
8232
|
}, {
|
|
8243
8233
|
default: E(() => [
|
|
8244
|
-
A(
|
|
8234
|
+
A(V(Hs))
|
|
8245
8235
|
]),
|
|
8246
8236
|
_: 1
|
|
8247
8237
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8250,7 +8240,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8250
8240
|
onClick: () => S(ce)
|
|
8251
8241
|
}, {
|
|
8252
8242
|
default: E(() => [
|
|
8253
|
-
A(
|
|
8243
|
+
A(V(wn))
|
|
8254
8244
|
]),
|
|
8255
8245
|
_: 1
|
|
8256
8246
|
}, 8, ["onClick"])
|
|
@@ -8258,9 +8248,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8258
8248
|
])
|
|
8259
8249
|
]))), 128))
|
|
8260
8250
|
]),
|
|
8261
|
-
c.value.length > 0 ? (d(), M("div",
|
|
8262
|
-
u("div", null, $(
|
|
8263
|
-
u("div",
|
|
8251
|
+
c.value.length > 0 ? (d(), M("div", my, [
|
|
8252
|
+
u("div", null, $(V(a)("rla.start_with_a_use_case")), 1),
|
|
8253
|
+
u("div", fy, [
|
|
8264
8254
|
(d(!0), M(Y, null, se(c.value, (q, ce) => (d(), L(ge, {
|
|
8265
8255
|
key: `use-case-${ce}`,
|
|
8266
8256
|
"max-width": "300"
|
|
@@ -8268,8 +8258,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8268
8258
|
content: E(() => [
|
|
8269
8259
|
u("div", null, $(q.description), 1),
|
|
8270
8260
|
_[10] || (_[10] = u("br", null, null, -1)),
|
|
8271
|
-
u("div", null, $(
|
|
8272
|
-
u("div", null, $(
|
|
8261
|
+
u("div", null, $(V(a)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
|
|
8262
|
+
u("div", null, $(V(a)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
|
|
8273
8263
|
]),
|
|
8274
8264
|
default: E(() => [
|
|
8275
8265
|
A($e, {
|
|
@@ -8296,7 +8286,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8296
8286
|
"onUpdate:modelValue": _[1] || (_[1] = (q) => F.value = q),
|
|
8297
8287
|
class: "rla-form-identifiers",
|
|
8298
8288
|
items: b.value,
|
|
8299
|
-
label:
|
|
8289
|
+
label: V(a)("rla.identifiers.label"),
|
|
8300
8290
|
"label-attributes": {
|
|
8301
8291
|
tooltipAttributes: {
|
|
8302
8292
|
maxWidth: "300",
|
|
@@ -8309,14 +8299,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8309
8299
|
"label-tooltip": E(() => [
|
|
8310
8300
|
u("div", {
|
|
8311
8301
|
innerHTML: m.value && m.value.help
|
|
8312
|
-
}, null, 8,
|
|
8302
|
+
}, null, 8, hy)
|
|
8313
8303
|
]),
|
|
8314
8304
|
_: 1
|
|
8315
8305
|
}, 8, ["modelValue", "items", "label"]),
|
|
8316
8306
|
u("div", null, [
|
|
8317
8307
|
A(I, {
|
|
8318
8308
|
for: "rla-form-error-legend",
|
|
8319
|
-
info:
|
|
8309
|
+
info: V(a)("rla.error_message.help"),
|
|
8320
8310
|
required: "",
|
|
8321
8311
|
"tooltip-attributes": {
|
|
8322
8312
|
maxWidth: "300",
|
|
@@ -8324,22 +8314,22 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8324
8314
|
}
|
|
8325
8315
|
}, {
|
|
8326
8316
|
default: E(() => [
|
|
8327
|
-
Z($(
|
|
8317
|
+
Z($(V(a)("rla.error_message.label")), 1)
|
|
8328
8318
|
]),
|
|
8329
8319
|
_: 1
|
|
8330
8320
|
}, 8, ["info"]),
|
|
8331
|
-
u("legend",
|
|
8321
|
+
u("legend", py, [
|
|
8332
8322
|
A(W, {
|
|
8333
8323
|
class: "input-error-code",
|
|
8334
8324
|
"model-value": D.value && D.value.toString(),
|
|
8335
|
-
placeholder:
|
|
8325
|
+
placeholder: V(a)("rla.error_message.code_placeholder"),
|
|
8336
8326
|
type: "number",
|
|
8337
8327
|
"onUpdate:modelValue": _[3] || (_[3] = (q) => e.onModelUpdated(Number.parseInt(q), "config-error_code"))
|
|
8338
8328
|
}, null, 8, ["model-value", "placeholder"]),
|
|
8339
8329
|
_[11] || (_[11] = u("div", null, ":", -1)),
|
|
8340
8330
|
A(W, {
|
|
8341
8331
|
"model-value": H.value,
|
|
8342
|
-
placeholder:
|
|
8332
|
+
placeholder: V(a)("rla.error_message.message_placeholder"),
|
|
8343
8333
|
"onUpdate:modelValue": _[4] || (_[4] = (q) => e.onModelUpdated(q, "config-error_message"))
|
|
8344
8334
|
}, null, 8, ["model-value", "placeholder"])
|
|
8345
8335
|
])
|
|
@@ -8349,7 +8339,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8349
8339
|
modelValue: g.value,
|
|
8350
8340
|
"onUpdate:modelValue": _[9] || (_[9] = (q) => g.value = q),
|
|
8351
8341
|
"data-testid": "view-advanced",
|
|
8352
|
-
"trigger-label":
|
|
8342
|
+
"trigger-label": V(a)("rla.view_advanced")
|
|
8353
8343
|
}, {
|
|
8354
8344
|
default: E(() => [
|
|
8355
8345
|
A(pe, {
|
|
@@ -8361,7 +8351,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8361
8351
|
e.formModel["config-strategy"] === "redis" ? (d(), L(le(e.enableRedisPartial ? "div" : "KCard"), {
|
|
8362
8352
|
key: 0,
|
|
8363
8353
|
class: "rla-form-redis-card",
|
|
8364
|
-
title:
|
|
8354
|
+
title: V(a)("rla.redis.title")
|
|
8365
8355
|
}, {
|
|
8366
8356
|
default: E(() => [
|
|
8367
8357
|
A(pe, {
|
|
@@ -8391,20 +8381,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8391
8381
|
], 64);
|
|
8392
8382
|
};
|
|
8393
8383
|
}
|
|
8394
|
-
}),
|
|
8384
|
+
}), yy = /* @__PURE__ */ J(gy, [["__scopeId", "data-v-c304263d"]]), Ay = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8395
8385
|
__proto__: null,
|
|
8396
|
-
ACMEForm:
|
|
8397
|
-
ExitTransformer:
|
|
8398
|
-
OIDCForm:
|
|
8399
|
-
PostFunction:
|
|
8400
|
-
RLAForm:
|
|
8401
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8386
|
+
ACMEForm: ty,
|
|
8387
|
+
ExitTransformer: Bg,
|
|
8388
|
+
OIDCForm: xg,
|
|
8389
|
+
PostFunction: zg,
|
|
8390
|
+
RLAForm: yy
|
|
8391
|
+
}, Symbol.toStringTag, { value: "Module" })), Ey = [
|
|
8402
8392
|
"array",
|
|
8403
8393
|
"metric",
|
|
8404
8394
|
"advanced",
|
|
8405
8395
|
"selectionGroup",
|
|
8406
8396
|
"object-advanced"
|
|
8407
|
-
],
|
|
8397
|
+
], Iy = (e) => ({
|
|
8408
8398
|
"openid-connect": "OIDCForm",
|
|
8409
8399
|
"post-function": "PostFunction",
|
|
8410
8400
|
// Pre and Post function plugins are using same component
|
|
@@ -8422,11 +8412,11 @@ export {
|
|
|
8422
8412
|
uf as FieldScopedEntitySelect,
|
|
8423
8413
|
Tn as PartialType,
|
|
8424
8414
|
id as REDIS_PARTIAL_FETCHER_KEY,
|
|
8425
|
-
|
|
8415
|
+
My as REDIS_PARTIAL_INFO,
|
|
8426
8416
|
pe as VueFormGenerator,
|
|
8427
|
-
|
|
8417
|
+
wy as abstractField,
|
|
8428
8418
|
Be as composables,
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8419
|
+
Ey as customFields,
|
|
8420
|
+
Iy as getSharedFormName,
|
|
8421
|
+
Ay as sharedForms
|
|
8432
8422
|
};
|