@kong-ui-public/forms 4.31.1 → 4.31.3
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 +374 -364
- 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/dist/types/utils/hideNewRedisConfiguration.d.ts +7 -0
- package/dist/types/utils/hideNewRedisConfiguration.d.ts.map +1 -0
- package/package.json +5 -5
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 P, createTextVNode as Z, useModel as Ns, createBlock as L, createSlots as et, mergeModels as na, inject as on, ref as re, onMounted as vi, watch as dn, resolveDynamicComponent as le, Fragment as Y, renderList as se, computed as B, toRefs as Mt, onBeforeMount as bi, mergeProps as tt, Transition as Us, createCommentVNode as z, resolveDirective as so, withDirectives as Fe, vModelText as Qt, vModelCheckbox as Ls, vModelSelect as Ds, vModelDynamic as ro, isRef as Vt, toRef as lo, vModelRadio as Ps, vShow as Vs, withModifiers as ia, normalizeProps as Ks, guardReactiveProps as js, useSlots as Mn, nextTick as aa } from "vue";
|
|
2
2
|
import { createI18n as De } from "@kong-ui-public/i18n";
|
|
3
3
|
import { TrashIcon as Kt, SearchIcon as xs, AddIcon as wn, WorldIcon as $s, KeyIcon as zs, CloseIcon as qs, BookIcon as Bs, RemoveIcon as Hs } from "@kong/icons";
|
|
4
4
|
import { isAxiosError as Gs } from "axios";
|
|
@@ -274,23 +274,23 @@ function jl(e, t) {
|
|
|
274
274
|
var n = this.__data__, o = On(n, e);
|
|
275
275
|
return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function nt(e) {
|
|
278
278
|
var t = -1, n = e == null ? 0 : e.length;
|
|
279
279
|
for (this.clear(); ++t < n; ) {
|
|
280
280
|
var o = e[t];
|
|
281
281
|
this.set(o[0], o[1]);
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
284
|
+
nt.prototype.clear = Ul;
|
|
285
|
+
nt.prototype.delete = Pl;
|
|
286
|
+
nt.prototype.get = Vl;
|
|
287
|
+
nt.prototype.has = Kl;
|
|
288
|
+
nt.prototype.set = jl;
|
|
289
289
|
var rn = At(xe, "Map");
|
|
290
290
|
function xl() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
292
292
|
hash: new bt(),
|
|
293
|
-
map: new (rn ||
|
|
293
|
+
map: new (rn || nt)(),
|
|
294
294
|
string: new bt()
|
|
295
295
|
};
|
|
296
296
|
}
|
|
@@ -316,18 +316,18 @@ function Hl(e, t) {
|
|
|
316
316
|
var n = kn(this, e), o = n.size;
|
|
317
317
|
return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function it(e) {
|
|
320
320
|
var t = -1, n = e == null ? 0 : e.length;
|
|
321
321
|
for (this.clear(); ++t < n; ) {
|
|
322
322
|
var o = e[t];
|
|
323
323
|
this.set(o[0], o[1]);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
it.prototype.clear = xl;
|
|
327
|
+
it.prototype.delete = zl;
|
|
328
|
+
it.prototype.get = ql;
|
|
329
|
+
it.prototype.has = Bl;
|
|
330
|
+
it.prototype.set = Hl;
|
|
331
331
|
var Gl = "Expected a function";
|
|
332
332
|
function Mi(e, t) {
|
|
333
333
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
@@ -339,9 +339,9 @@ function Mi(e, t) {
|
|
|
339
339
|
var r = e.apply(this, o);
|
|
340
340
|
return n.cache = i.set(a, r) || i, r;
|
|
341
341
|
};
|
|
342
|
-
return n.cache = new (Mi.Cache ||
|
|
342
|
+
return n.cache = new (Mi.Cache || it)(), n;
|
|
343
343
|
}
|
|
344
|
-
Mi.Cache =
|
|
344
|
+
Mi.Cache = it;
|
|
345
345
|
var Yl = 500;
|
|
346
346
|
function Wl(e) {
|
|
347
347
|
var t = Mi(e, function(o) {
|
|
@@ -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", wy = "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), ut = Array.isArray, Jt = Se(String.prototype.toLowerCase), ei = Se(String.prototype.toString), ga = Se(String.prototype.match), Wt = Se(String.prototype.replace), ya = Se(String.prototype.indexOf), pd = Se(String.prototype.trim), gd = Se(Number.prototype.toString), yd = Se(Boolean.prototype.toString), va = typeof BigInt > "u" ? null : Se(BigInt.prototype.toString), ba = typeof Symbol > "u" ? null : Se(Symbol.prototype.toString), Me = Se(Object.prototype.hasOwnProperty), Zt = Se(Object.prototype.toString), Ae = Se(RegExp.prototype.test), vt = vd(TypeError);
|
|
465
465
|
function Se(e) {
|
|
466
466
|
return function(t) {
|
|
467
467
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -479,7 +479,7 @@ function vd(e) {
|
|
|
479
479
|
}
|
|
480
480
|
function X(e, t) {
|
|
481
481
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Jt;
|
|
482
|
-
if (ha && ha(e, null), !
|
|
482
|
+
if (ha && ha(e, null), !ut(t))
|
|
483
483
|
return e;
|
|
484
484
|
let o = t.length;
|
|
485
485
|
for (; o--; ) {
|
|
@@ -502,7 +502,7 @@ function ke(e) {
|
|
|
502
502
|
for (const o of Mo(e)) {
|
|
503
503
|
var n = ld(o, 2);
|
|
504
504
|
const a = n[0], i = n[1];
|
|
505
|
-
Me(e, a) && (
|
|
505
|
+
Me(e, a) && (ut(i) ? t[a] = bd(i) : i && typeof i == "object" && i.constructor === Object ? t[a] = ke(i) : t[a] = i);
|
|
506
506
|
}
|
|
507
507
|
return t;
|
|
508
508
|
}
|
|
@@ -613,8 +613,8 @@ const _a = Ie(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
613
613
|
uponSanitizeElement: [],
|
|
614
614
|
uponSanitizeShadowNode: []
|
|
615
615
|
};
|
|
616
|
-
},
|
|
617
|
-
return Me(t, n) &&
|
|
616
|
+
}, lt = function(t, n, o, a) {
|
|
617
|
+
return Me(t, n) && ut(t[n]) ? X(a.base ? ke(a.base) : {}, t[n], a.transform) : o;
|
|
618
618
|
};
|
|
619
619
|
function Ao() {
|
|
620
620
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Dd();
|
|
@@ -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, V = !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 V || (U = Pd(f, a), V = !0), U;
|
|
654
|
+
}, ee = n, $e = ee.implementation, ge = ee.createNodeIterator, at = ee.createDocumentFragment, Nn = ee.getElementsByTagName, Un = o.importNode;
|
|
655
655
|
let q = Ea();
|
|
656
656
|
t.isSupported = typeof Mo == "function" && typeof D == "function" && $e && $e.createHTMLDocument !== void 0;
|
|
657
657
|
const ce = wd, $t = Ad, ms = Ed, fs = Id, hs = Cd, ps = Od, ki = kd, gs = Fd;
|
|
@@ -679,7 +679,7 @@ function Ao() {
|
|
|
679
679
|
value: !1
|
|
680
680
|
}
|
|
681
681
|
})), zt = null, Ui = null;
|
|
682
|
-
const
|
|
682
|
+
const ot = Object.seal(Ft(null, {
|
|
683
683
|
tagCheck: {
|
|
684
684
|
writable: !0,
|
|
685
685
|
configurable: !1,
|
|
@@ -693,7 +693,7 @@ function Ao() {
|
|
|
693
693
|
value: null
|
|
694
694
|
}
|
|
695
695
|
}));
|
|
696
|
-
let Li = !0, Ln = !0, Di = !1, Pi = !0,
|
|
696
|
+
let Li = !0, Ln = !0, Di = !1, Pi = !0, st = !1, qt = !0, gt = !1, Dn = !1, Pn = null, Vn = null, Kn = !1, Et = !1, cn = !1, un = !1, Vi = !0, Ki = !1;
|
|
697
697
|
const ji = "user-content-";
|
|
698
698
|
let jn = !0, xn = !1, It = {}, He = null;
|
|
699
699
|
const $n = X({}, [
|
|
@@ -753,27 +753,27 @@ function Ao() {
|
|
|
753
753
|
if (Ot && Ot === s)
|
|
754
754
|
return;
|
|
755
755
|
(!s || typeof s != "object") && (s = {}), s = ke(s), Bt = // eslint-disable-next-line unicorn/prefer-includes
|
|
756
|
-
bs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? _s : s.PARSER_MEDIA_TYPE, he = Bt === "application/xhtml+xml" ? ei : Jt, ue =
|
|
756
|
+
bs.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? _s : s.PARSER_MEDIA_TYPE, he = Bt === "application/xhtml+xml" ? ei : Jt, ue = lt(s, "ALLOWED_TAGS", Fi, {
|
|
757
757
|
transform: he
|
|
758
|
-
}), me =
|
|
758
|
+
}), me = lt(s, "ALLOWED_ATTR", Ni, {
|
|
759
759
|
transform: he
|
|
760
|
-
}), Bn =
|
|
760
|
+
}), Bn = lt(s, "ALLOWED_NAMESPACES", ys, {
|
|
761
761
|
transform: ei
|
|
762
|
-
}), zn =
|
|
762
|
+
}), zn = lt(s, "ADD_URI_SAFE_ATTR", zi, {
|
|
763
763
|
transform: he,
|
|
764
764
|
base: zi
|
|
765
|
-
}), xi =
|
|
765
|
+
}), xi = lt(s, "ADD_DATA_URI_TAGS", $i, {
|
|
766
766
|
transform: he,
|
|
767
767
|
base: $i
|
|
768
|
-
}), He =
|
|
768
|
+
}), He = lt(s, "FORBID_CONTENTS", $n, {
|
|
769
769
|
transform: he
|
|
770
|
-
}), zt =
|
|
770
|
+
}), zt = lt(s, "FORBID_TAGS", ke({}), {
|
|
771
771
|
transform: he
|
|
772
|
-
}), Ui =
|
|
772
|
+
}), Ui = lt(s, "FORBID_ATTR", ke({}), {
|
|
773
773
|
transform: he
|
|
774
|
-
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1,
|
|
774
|
+
}), It = Me(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? ke(s.USE_PROFILES) : s.USE_PROFILES : !1, Li = s.ALLOW_ARIA_ATTR !== !1, Ln = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Pi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = s.SAFE_FOR_TEMPLATES || !1, qt = s.SAFE_FOR_XML !== !1, gt = s.WHOLE_DOCUMENT || !1, Et = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, Kn = s.FORCE_BODY || !1, Vi = s.SANITIZE_DOM !== !1, Ki = s.SANITIZE_NAMED_PROPS || !1, jn = s.KEEP_CONTENT !== !1, xn = s.IN_PLACE || !1, Ri = Sd(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : wa, Ct = typeof s.NAMESPACE == "string" ? s.NAMESPACE : Ge, Hn = Me(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ke(s.MATHML_TEXT_INTEGRATION_POINTS) : X({}, qi), Gn = Me(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? ke(s.HTML_INTEGRATION_POINTS) : X({}, Bi);
|
|
775
775
|
const h = Me(s, "CUSTOM_ELEMENT_HANDLING") && s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING == "object" ? ke(s.CUSTOM_ELEMENT_HANDLING) : Ft(null);
|
|
776
|
-
if (fe = Ft(null), Me(h, "tagNameCheck") && Hi(h.tagNameCheck) && (fe.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && Hi(h.attributeNameCheck) && (fe.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(fe),
|
|
776
|
+
if (fe = Ft(null), Me(h, "tagNameCheck") && Hi(h.tagNameCheck) && (fe.tagNameCheck = h.tagNameCheck), Me(h, "attributeNameCheck") && Hi(h.attributeNameCheck) && (fe.attributeNameCheck = h.attributeNameCheck), Me(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (fe.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ce(fe), st && (Ln = !1), cn && (Et = !0), It && (ue = X({}, Sa), me = Ft(null), It.html === !0 && (X(ue, _a), X(me, Ta)), It.svg === !0 && (X(ue, ti), X(me, ai), X(me, yn)), It.svgFilters === !0 && (X(ue, ni), X(me, ai), X(me, yn)), It.mathMl === !0 && (X(ue, ii), X(me, Ma), X(me, yn))), ot.tagCheck = null, ot.attributeCheck = null, Me(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? ot.tagCheck = s.ADD_TAGS : ut(s.ADD_TAGS) && (ue === Fi && (ue = ke(ue)), X(ue, s.ADD_TAGS, he))), Me(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? ot.attributeCheck = s.ADD_ATTR : ut(s.ADD_ATTR) && (me === Ni && (me = ke(me)), X(me, s.ADD_ATTR, he))), Me(s, "ADD_URI_SAFE_ATTR") && ut(s.ADD_URI_SAFE_ATTR) && X(zn, s.ADD_URI_SAFE_ATTR, he), Me(s, "FORBID_CONTENTS") && ut(s.FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.FORBID_CONTENTS, he)), Me(s, "ADD_FORBID_CONTENTS") && ut(s.ADD_FORBID_CONTENTS) && (He === $n && (He = ke(He)), X(He, s.ADD_FORBID_CONTENTS, he)), jn && (ue["#text"] = !0), gt && X(ue, ["html", "head", "body"]), ue.table && (X(ue, ["tbody"]), delete zt.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
777
777
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
778
778
|
throw vt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
779
779
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -801,7 +801,7 @@ function Ao() {
|
|
|
801
801
|
});
|
|
802
802
|
const R = Jt(s.tagName), x = Jt(h.tagName);
|
|
803
803
|
return Bn[s.namespaceURI] ? s.namespaceURI === fn ? Ts(R, h, x) : s.namespaceURI === mn ? Ms(R, h, x) : s.namespaceURI === Ge ? ws(R, h, x) : !!(Bt === "application/xhtml+xml" && Bn[s.namespaceURI]) : !1;
|
|
804
|
-
},
|
|
804
|
+
}, rt = function(s) {
|
|
805
805
|
Rt(t.removed, {
|
|
806
806
|
element: s
|
|
807
807
|
});
|
|
@@ -849,7 +849,7 @@ function Ao() {
|
|
|
849
849
|
if (h.removeAttribute(s), s === "is")
|
|
850
850
|
if (Et || cn)
|
|
851
851
|
try {
|
|
852
|
-
|
|
852
|
+
rt(h);
|
|
853
853
|
} catch {
|
|
854
854
|
}
|
|
855
855
|
else
|
|
@@ -992,21 +992,21 @@ function Ao() {
|
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
994
|
}
|
|
995
|
-
return
|
|
995
|
+
return rt(s), !0;
|
|
996
996
|
}, Ji = function(s) {
|
|
997
997
|
if (Xe(q.beforeSanitizeElements, s, null), pn(s))
|
|
998
|
-
return
|
|
998
|
+
return rt(s), !0;
|
|
999
999
|
const h = he(C ? C(s) : s.nodeName);
|
|
1000
1000
|
if (Xe(q.uponSanitizeElement, s, {
|
|
1001
1001
|
tagName: h,
|
|
1002
1002
|
allowedTags: ue
|
|
1003
1003
|
}), Cs(s, h))
|
|
1004
|
-
return
|
|
1005
|
-
if (zt[h] || !(
|
|
1004
|
+
return rt(s), !0;
|
|
1005
|
+
if (zt[h] || !(ot.tagCheck instanceof Function && ot.tagCheck(h)) && !ue[h])
|
|
1006
1006
|
return Os(s, h);
|
|
1007
1007
|
if ((O ? O(s) : s.nodeType) === Ye.element && !As(s) || (h === "noscript" || h === "noembed" || h === "noframes") && Ae(Ud, s.innerHTML))
|
|
1008
|
-
return
|
|
1009
|
-
if (
|
|
1008
|
+
return rt(s), !0;
|
|
1009
|
+
if (st && s.nodeType === Ye.text) {
|
|
1010
1010
|
const x = hn(s.textContent);
|
|
1011
1011
|
s.textContent !== x && (Rt(t.removed, {
|
|
1012
1012
|
element: s.cloneNode()
|
|
@@ -1016,7 +1016,7 @@ function Ao() {
|
|
|
1016
1016
|
}, Qi = function(s, h, R) {
|
|
1017
1017
|
if (Ui[h] || Vi && (h === "id" || h === "name") && (R in n || R in Ss))
|
|
1018
1018
|
return !1;
|
|
1019
|
-
const x = me[h] ||
|
|
1019
|
+
const x = me[h] || ot.attributeCheck instanceof Function && ot.attributeCheck(h, s);
|
|
1020
1020
|
if (!(Ln && Ae(fs, h))) {
|
|
1021
1021
|
if (!(Li && Ae(hs, h))) {
|
|
1022
1022
|
if (x) {
|
|
@@ -1054,7 +1054,7 @@ function Ao() {
|
|
|
1054
1054
|
return x;
|
|
1055
1055
|
}, Fs = function(s, h, R, x) {
|
|
1056
1056
|
try {
|
|
1057
|
-
R ? s.setAttributeNS(R, h, x) : s.setAttribute(h, x), pn(s) ?
|
|
1057
|
+
R ? s.setAttributeNS(R, h, x) : s.setAttribute(h, x), pn(s) ? rt(s) : pa(t.removed);
|
|
1058
1058
|
} catch {
|
|
1059
1059
|
yt(h, s);
|
|
1060
1060
|
}
|
|
@@ -1092,7 +1092,7 @@ function Ao() {
|
|
|
1092
1092
|
yt(Te, s);
|
|
1093
1093
|
continue;
|
|
1094
1094
|
}
|
|
1095
|
-
if (
|
|
1095
|
+
if (st && (Oe = hn(Oe)), !Qi(G, ze, Oe)) {
|
|
1096
1096
|
yt(Te, s);
|
|
1097
1097
|
continue;
|
|
1098
1098
|
}
|
|
@@ -1174,13 +1174,13 @@ function Ao() {
|
|
|
1174
1174
|
} else if (Ht(N))
|
|
1175
1175
|
h = Zi("<!---->"), R = h.ownerDocument.importNode(N, !0), R.nodeType === Ye.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? h = R : h.appendChild(R), Zn(R);
|
|
1176
1176
|
else {
|
|
1177
|
-
if (!Et && !
|
|
1177
|
+
if (!Et && !st && !gt && // eslint-disable-next-line unicorn/prefer-includes
|
|
1178
1178
|
N.indexOf("<") === -1)
|
|
1179
1179
|
return y && un ? I(N) : N;
|
|
1180
1180
|
if (h = Zi(N), !h)
|
|
1181
1181
|
return Et ? null : un ? S : "";
|
|
1182
1182
|
}
|
|
1183
|
-
h && Kn &&
|
|
1183
|
+
h && Kn && rt(h.firstChild);
|
|
1184
1184
|
const Te = Xi(Q ? N : h);
|
|
1185
1185
|
try {
|
|
1186
1186
|
for (; x = Te.nextNode(); )
|
|
@@ -1191,10 +1191,10 @@ function Ao() {
|
|
|
1191
1191
|
if (Q)
|
|
1192
1192
|
return Yt(t.removed, (Ve) => {
|
|
1193
1193
|
Ve.element && Is(Ve.element);
|
|
1194
|
-
}),
|
|
1194
|
+
}), st && Wn(N), N;
|
|
1195
1195
|
if (Et) {
|
|
1196
|
-
if (
|
|
1197
|
-
for (G =
|
|
1196
|
+
if (st && Wn(h), cn)
|
|
1197
|
+
for (G = at.call(h.ownerDocument); h.firstChild; )
|
|
1198
1198
|
G.appendChild(h.firstChild);
|
|
1199
1199
|
else
|
|
1200
1200
|
G = h;
|
|
@@ -1202,7 +1202,7 @@ function Ao() {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
let _e = gt ? h.outerHTML : h.innerHTML;
|
|
1204
1204
|
return gt && ue["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && Ae(Rd, h.ownerDocument.doctype.name) && (_e = "<!DOCTYPE " + h.ownerDocument.doctype.name + `>
|
|
1205
|
-
` + _e),
|
|
1205
|
+
` + _e), st && (_e = hn(_e)), y && un ? I(_e) : _e;
|
|
1206
1206
|
}, t.setConfig = function() {
|
|
1207
1207
|
let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1208
1208
|
Yn(N), Dn = !0, Pn = ue, Vn = me;
|
|
@@ -1230,7 +1230,7 @@ function Ao() {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
var Ai = Ao();
|
|
1232
1232
|
function Vd() {
|
|
1233
|
-
this.__data__ = new
|
|
1233
|
+
this.__data__ = new nt(), this.size = 0;
|
|
1234
1234
|
}
|
|
1235
1235
|
function Kd(e) {
|
|
1236
1236
|
var t = this.__data__, n = t.delete(e);
|
|
@@ -1245,16 +1245,16 @@ function xd(e) {
|
|
|
1245
1245
|
var $d = 200;
|
|
1246
1246
|
function zd(e, t) {
|
|
1247
1247
|
var n = this.__data__;
|
|
1248
|
-
if (n instanceof
|
|
1248
|
+
if (n instanceof nt) {
|
|
1249
1249
|
var o = n.__data__;
|
|
1250
1250
|
if (!rn || o.length < $d - 1)
|
|
1251
1251
|
return o.push([e, t]), this.size = ++n.size, this;
|
|
1252
|
-
n = this.__data__ = new
|
|
1252
|
+
n = this.__data__ = new it(o);
|
|
1253
1253
|
}
|
|
1254
1254
|
return n.set(e, t), this.size = n.size, this;
|
|
1255
1255
|
}
|
|
1256
1256
|
function xt(e) {
|
|
1257
|
-
var t = this.__data__ = new
|
|
1257
|
+
var t = this.__data__ = new nt(e);
|
|
1258
1258
|
this.size = t.size;
|
|
1259
1259
|
}
|
|
1260
1260
|
xt.prototype.clear = Vd;
|
|
@@ -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, V = t - S;
|
|
1603
|
+
return f ? Du(V, i - U) : V;
|
|
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 it(); ++t < n; )
|
|
1646
1646
|
this.add(e[t]);
|
|
1647
1647
|
}
|
|
1648
1648
|
bn.prototype.add = bn.prototype.push = Vu;
|
|
@@ -1712,7 +1712,7 @@ function jo(e) {
|
|
|
1712
1712
|
var t = ++Xu;
|
|
1713
1713
|
return To(e) + t;
|
|
1714
1714
|
}
|
|
1715
|
-
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,
|
|
1715
|
+
var xo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, ct = "\\d\\d?", dt = "\\d\\d", Ju = "\\d{3}", Qu = "\\d{4}", nn = "[^\\s]+", $o = /\[([^]*?)\]/gm;
|
|
1716
1716
|
function zo(e, t) {
|
|
1717
1717
|
for (var n = [], o = 0, a = e.length; o < a; o++)
|
|
1718
1718
|
n.push(e[o].substr(0, t));
|
|
@@ -1863,7 +1863,7 @@ var qo = [
|
|
|
1863
1863
|
}
|
|
1864
1864
|
}, Ha = function(e) {
|
|
1865
1865
|
return +e - 1;
|
|
1866
|
-
}, Ga = [null,
|
|
1866
|
+
}, Ga = [null, ct], Ya = [null, nn], Wa = [
|
|
1867
1867
|
"isPm",
|
|
1868
1868
|
nn,
|
|
1869
1869
|
function(e, t) {
|
|
@@ -1882,34 +1882,34 @@ var qo = [
|
|
|
1882
1882
|
return 0;
|
|
1883
1883
|
}
|
|
1884
1884
|
], am = {
|
|
1885
|
-
D: ["day",
|
|
1886
|
-
DD: ["day",
|
|
1887
|
-
Do: ["day",
|
|
1885
|
+
D: ["day", ct],
|
|
1886
|
+
DD: ["day", dt],
|
|
1887
|
+
Do: ["day", ct + nn, function(e) {
|
|
1888
1888
|
return parseInt(e, 10);
|
|
1889
1889
|
}],
|
|
1890
|
-
M: ["month",
|
|
1891
|
-
MM: ["month",
|
|
1890
|
+
M: ["month", ct, Ha],
|
|
1891
|
+
MM: ["month", dt, Ha],
|
|
1892
1892
|
YY: [
|
|
1893
1893
|
"year",
|
|
1894
|
-
|
|
1894
|
+
dt,
|
|
1895
1895
|
function(e) {
|
|
1896
1896
|
var t = /* @__PURE__ */ new Date(), n = +("" + t.getFullYear()).substr(0, 2);
|
|
1897
1897
|
return +("" + (+e > 68 ? n - 1 : n) + e);
|
|
1898
1898
|
}
|
|
1899
1899
|
],
|
|
1900
|
-
h: ["hour",
|
|
1901
|
-
hh: ["hour",
|
|
1902
|
-
H: ["hour",
|
|
1903
|
-
HH: ["hour",
|
|
1904
|
-
m: ["minute",
|
|
1905
|
-
mm: ["minute",
|
|
1906
|
-
s: ["second",
|
|
1907
|
-
ss: ["second",
|
|
1900
|
+
h: ["hour", ct, void 0, "isPm"],
|
|
1901
|
+
hh: ["hour", dt, void 0, "isPm"],
|
|
1902
|
+
H: ["hour", ct],
|
|
1903
|
+
HH: ["hour", dt],
|
|
1904
|
+
m: ["minute", ct],
|
|
1905
|
+
mm: ["minute", dt],
|
|
1906
|
+
s: ["second", ct],
|
|
1907
|
+
ss: ["second", dt],
|
|
1908
1908
|
YYYY: ["year", Qu],
|
|
1909
1909
|
S: ["millisecond", "\\d", function(e) {
|
|
1910
1910
|
return +e * 100;
|
|
1911
1911
|
}],
|
|
1912
|
-
SS: ["millisecond",
|
|
1912
|
+
SS: ["millisecond", dt, function(e) {
|
|
1913
1913
|
return +e * 10;
|
|
1914
1914
|
}],
|
|
1915
1915
|
SSS: ["millisecond", Ju],
|
|
@@ -2548,7 +2548,7 @@ const qe = {
|
|
|
2548
2548
|
return e;
|
|
2549
2549
|
}
|
|
2550
2550
|
}
|
|
2551
|
-
},
|
|
2551
|
+
}, Ay = /* @__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(P(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(P(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
|
+
}, et({
|
|
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 || P(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
|
+
V(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
|
+
}, V = (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: P(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(P(xs), {
|
|
2890
|
+
color: `var(--kui-color-text-neutral, ${P(Gm)})`,
|
|
2891
|
+
size: `var(--kui-icon-size-40, ${P(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 ?? P(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 V = y(a.value, e.schema, (U = e.model) == null ? void 0 : U.value);
|
|
3255
|
+
V && ie(V.then) ? V.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
|
+
}) : V && (D = D.concat(V));
|
|
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, V;
|
|
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, (V = o.schema) == null ? void 0 : V.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, tt(j.$attrs, {
|
|
3481
|
+
id: P(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" ? P(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": P(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(P(r)), {
|
|
3503
3503
|
schema: e.schema,
|
|
3504
3504
|
update: F,
|
|
3505
|
-
value:
|
|
3505
|
+
value: P(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(P(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: P(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: P(c)(e.schema),
|
|
4029
|
+
modelValue: P(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": `${P(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, tt(T.$attrs, {
|
|
4083
|
+
id: P(i)(e.schema),
|
|
4084
|
+
"aria-labelledby": P(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, tt({
|
|
4261
4261
|
key: 0,
|
|
4262
4262
|
ref_for: !0
|
|
4263
4263
|
}, e.schema.inputAttributes, {
|
|
@@ -4276,7 +4276,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4276
4276
|
required: e.schema.required,
|
|
4277
4277
|
resizable: "",
|
|
4278
4278
|
rows: e.schema.rows || 3
|
|
4279
|
-
}), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (d(), L(b,
|
|
4279
|
+
}), null, 16, ["id", "modelValue", "onUpdate:modelValue", "aria-labelledby", "character-limit", "class", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows"])) : !e.schema.inputAttributes || !e.schema.inputAttributes.type || e.schema.inputAttributes.type === "text" || e.schema.inputAttributes.type === "number" ? (d(), L(b, tt({
|
|
4280
4280
|
key: 1,
|
|
4281
4281
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
4282
4282
|
}, { ref_for: !0 }, e.schema.inputAttributes, {
|
|
@@ -4285,7 +4285,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4285
4285
|
onInput: (w) => {
|
|
4286
4286
|
i.handleInput(w, g);
|
|
4287
4287
|
}
|
|
4288
|
-
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Fe((d(), M("input",
|
|
4288
|
+
}), null, 16, ["aria-labelledby", "model-value", "type", "onInput"])) : Fe((d(), M("input", tt({
|
|
4289
4289
|
key: 2,
|
|
4290
4290
|
"onUpdate:modelValue": (w) => e.value[g] = w,
|
|
4291
4291
|
"aria-labelledby": e.getLabelId(e.schema)
|
|
@@ -4298,7 +4298,7 @@ function lh(e, t, n, o, a, i) {
|
|
|
4298
4298
|
}),
|
|
4299
4299
|
_: 2
|
|
4300
4300
|
}, 1064, ["data-testid", "model", "schema", "onRemoveItem"])) : (d(), M(Y, { key: 4 }, [
|
|
4301
|
-
Fe(u("input",
|
|
4301
|
+
Fe(u("input", tt({ ref_for: !0 }, e.schema.inputAttributes, {
|
|
4302
4302
|
"onUpdate:modelValue": (T) => e.value[g] = T,
|
|
4303
4303
|
"aria-labelledby": e.getLabelId(e.schema),
|
|
4304
4304
|
type: "text"
|
|
@@ -4382,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, tt(f.$attrs, {
|
|
4386
|
+
id: P(r)(e.schema),
|
|
4387
|
+
modelValue: P(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
|
+
}), et({ _: 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: P(o)(e.schema)
|
|
4693
4693
|
}, {
|
|
4694
4694
|
default: E(() => [
|
|
4695
|
-
Z($(
|
|
4695
|
+
Z($(P(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: P(l)(e.schema),
|
|
4761
|
+
modelValue: P(m),
|
|
4762
4762
|
"onUpdate:modelValue": g[0] || (g[0] = (w) => Vt(m) ? m.value = w : null),
|
|
4763
|
-
"aria-labelledby":
|
|
4763
|
+
"aria-labelledby": P(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": `${P(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: P(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: P(m)(e.schema),
|
|
4938
|
+
modelValue: P(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: P(b) ? e.schema.textOn || P(i)("vfg.labels.on") : e.schema.textOff || P(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, tt(g.$attrs, {
|
|
5009
|
+
id: P(c)(e.schema),
|
|
5010
|
+
modelValue: P(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(P(r)), {
|
|
5026
5026
|
schema: e.schema,
|
|
5027
5027
|
update: f,
|
|
5028
|
-
value:
|
|
5028
|
+
value: P(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
|
+
}, et({
|
|
5214
5214
|
default: E(() => [
|
|
5215
5215
|
u("div", Qh, [
|
|
5216
5216
|
u("span", null, $(i.formattedLabel(n.field.label)), 1)
|
|
@@ -5239,7 +5239,7 @@ function sp(e, t, n, o, a, i) {
|
|
|
5239
5239
|
} : void 0
|
|
5240
5240
|
]), 1032, ["aria-describedby", "class", "for", "info", "tooltip-attributes"])) : z("", !0),
|
|
5241
5241
|
u("div", tp, [
|
|
5242
|
-
(d(), L(le(i.getFieldComponent(n.field)),
|
|
5242
|
+
(d(), L(le(i.getFieldComponent(n.field)), tt(e.$attrs, {
|
|
5243
5243
|
ref: "child",
|
|
5244
5244
|
disabled: e.fieldDisabled(n.field) || null,
|
|
5245
5245
|
"form-options": n.options,
|
|
@@ -5283,7 +5283,10 @@ 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
|
-
|
|
5286
|
+
function up(e) {
|
|
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({
|
|
5287
5290
|
__name: "RedisConfigCard",
|
|
5288
5291
|
props: {
|
|
5289
5292
|
configFields: {
|
|
@@ -5331,19 +5334,19 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5331
5334
|
}).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));
|
|
5332
5335
|
return (f, g) => {
|
|
5333
5336
|
const T = k("KCopy");
|
|
5334
|
-
return d(), M("div",
|
|
5337
|
+
return d(), M("div", mp, [
|
|
5335
5338
|
(d(!0), M(Y, null, se(b.value, ({ key: w, label: v, value: F, type: D }) => (d(), M("div", {
|
|
5336
5339
|
key: w,
|
|
5337
5340
|
class: "partial-config-card-row"
|
|
5338
5341
|
}, [
|
|
5339
|
-
u("div",
|
|
5340
|
-
u("div",
|
|
5342
|
+
u("div", fp, [
|
|
5343
|
+
u("div", hp, $(v), 1)
|
|
5341
5344
|
]),
|
|
5342
5345
|
u("div", {
|
|
5343
5346
|
class: "config-card-row-value",
|
|
5344
5347
|
"data-testid": `${w}-property-value`
|
|
5345
5348
|
}, [
|
|
5346
|
-
i(F) ? (d(), M("div",
|
|
5349
|
+
i(F) ? (d(), M("div", yp, [
|
|
5347
5350
|
D === "password" ? (d(), M("div", {
|
|
5348
5351
|
key: 0,
|
|
5349
5352
|
"data-testid": `${w}-copy-password`
|
|
@@ -5352,33 +5355,33 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5352
5355
|
format: "redacted",
|
|
5353
5356
|
text: String(F)
|
|
5354
5357
|
}, null, 8, ["text"])
|
|
5355
|
-
], 8,
|
|
5358
|
+
], 8, vp)) : (d(), M("div", {
|
|
5356
5359
|
key: 1,
|
|
5357
5360
|
"data-testid": `${w}-plain-text`
|
|
5358
|
-
}, $(F), 9,
|
|
5361
|
+
}, $(F), 9, bp))
|
|
5359
5362
|
])) : (d(), M("div", {
|
|
5360
5363
|
key: 0,
|
|
5361
5364
|
"data-testid": `${w}-no-value`
|
|
5362
|
-
}, " – ", 8,
|
|
5363
|
-
], 8,
|
|
5365
|
+
}, " – ", 8, gp))
|
|
5366
|
+
], 8, pp)
|
|
5364
5367
|
]))), 128))
|
|
5365
5368
|
]);
|
|
5366
5369
|
};
|
|
5367
5370
|
}
|
|
5368
|
-
}),
|
|
5371
|
+
}), Sp = /* @__PURE__ */ J(_p, [["__scopeId", "data-v-57f78095"]]), Tp = {
|
|
5369
5372
|
class: "redis-config-select",
|
|
5370
5373
|
"data-testid": "redis-config-select"
|
|
5371
|
-
},
|
|
5374
|
+
}, Mp = { class: "selected-redis-config" }, wp = ["data-testid"], Ap = {
|
|
5372
5375
|
class: "select-item-name",
|
|
5373
5376
|
"data-testid": "selected-redis-config"
|
|
5374
|
-
},
|
|
5377
|
+
}, Ep = {
|
|
5375
5378
|
class: "empty-redis-config",
|
|
5376
5379
|
"data-testid": "empty-redis-config"
|
|
5377
|
-
},
|
|
5380
|
+
}, Ip = {
|
|
5378
5381
|
key: 1,
|
|
5379
5382
|
class: "redis-shared-config-error-message",
|
|
5380
5383
|
"data-testid": "redis-config-fetch-error"
|
|
5381
|
-
},
|
|
5384
|
+
}, Cp = "1000", Op = /* @__PURE__ */ be({
|
|
5382
5385
|
__name: "RedisConfigSelect",
|
|
5383
5386
|
props: {
|
|
5384
5387
|
defaultRedisConfigItem: {
|
|
@@ -5425,7 +5428,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5425
5428
|
error: b,
|
|
5426
5429
|
loadItems: f,
|
|
5427
5430
|
results: g
|
|
5428
|
-
} = Zs(l, o[l.app].getAll,
|
|
5431
|
+
} = Zs(l, o[l.app].getAll, Cp, {
|
|
5429
5432
|
fetchedItemsKey: "data",
|
|
5430
5433
|
searchKeys: ["id", "name"]
|
|
5431
5434
|
}), T = B(() => b.value ? r(b.value) : ""), w = B(
|
|
@@ -5439,30 +5442,30 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5439
5442
|
), H = B(
|
|
5440
5443
|
() => T.value || t("redis.shared_configuration.error")
|
|
5441
5444
|
), j = (U) => {
|
|
5442
|
-
let
|
|
5443
|
-
return l.app === "konnect" && (
|
|
5445
|
+
let V = `${l.apiBaseUrl}${o[l.app].getOne}`;
|
|
5446
|
+
return l.app === "konnect" && (V = V.replace(/{controlPlaneId}/gi, (l == null ? void 0 : l.controlPlaneId) || "")), V = V.replace(/\/{workspace}/gi, l != null && l.workspace ? `/${l.workspace}` : "").replace(/{id}/gi, String(U)), V;
|
|
5444
5447
|
}, O = B(() => {
|
|
5445
|
-
const U = (g.value || []).map((
|
|
5446
|
-
const p =
|
|
5448
|
+
const U = (g.value || []).map((V) => {
|
|
5449
|
+
const p = V, _ = a.isKonnectManagedRedisEnabled ? cp(p) : void 0, I = _ === Lt.KONNECT_MANAGED;
|
|
5447
5450
|
return {
|
|
5448
5451
|
...a.isKonnectManagedRedisEnabled && _ ? { source: _ } : {},
|
|
5449
5452
|
// only attach `source` in managed mode
|
|
5450
|
-
label:
|
|
5451
|
-
name:
|
|
5452
|
-
value:
|
|
5453
|
-
type:
|
|
5453
|
+
label: V.id,
|
|
5454
|
+
name: V.name,
|
|
5455
|
+
value: V.id,
|
|
5456
|
+
type: V.type,
|
|
5454
5457
|
tag: a.isKonnectManagedRedisEnabled && I ? void 0 : rp(p)
|
|
5455
5458
|
};
|
|
5456
|
-
}).filter((
|
|
5457
|
-
return a.redisType !== "all" ? U.filter((
|
|
5459
|
+
}).filter((V) => V.type === "redis-ce" || V.type === "redis-ee");
|
|
5460
|
+
return a.redisType !== "all" ? U.filter((V) => V.type === a.redisType) : U;
|
|
5458
5461
|
}), C = B(() => {
|
|
5459
5462
|
const U = O.value;
|
|
5460
5463
|
if (!a.isKonnectManagedRedisEnabled)
|
|
5461
5464
|
return U;
|
|
5462
|
-
const
|
|
5463
|
-
return
|
|
5465
|
+
const V = U.filter((I) => I.source === Lt.KONNECT_MANAGED), p = U.filter((I) => I.source === Lt.SELF_MANAGED), _ = [];
|
|
5466
|
+
return V.length > 0 && _.push({
|
|
5464
5467
|
label: t("redis.managed_ui.groups.konnect_managed"),
|
|
5465
|
-
items:
|
|
5468
|
+
items: V
|
|
5466
5469
|
}), p.length > 0 && _.push({
|
|
5467
5470
|
label: t("redis.managed_ui.groups.self_managed"),
|
|
5468
5471
|
items: p
|
|
@@ -5471,13 +5474,13 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5471
5474
|
if (U) {
|
|
5472
5475
|
a.updateRedisModel(U);
|
|
5473
5476
|
try {
|
|
5474
|
-
const
|
|
5475
|
-
if (
|
|
5476
|
-
const p = Object.assign(
|
|
5477
|
+
const V = await y.get(j(U));
|
|
5478
|
+
if (V.data.config) {
|
|
5479
|
+
const p = Object.assign(V.data, V.data.config);
|
|
5477
5480
|
delete p.config, i.value = p;
|
|
5478
5481
|
}
|
|
5479
|
-
} catch (
|
|
5480
|
-
console.error(
|
|
5482
|
+
} catch (V) {
|
|
5483
|
+
console.error(V);
|
|
5481
5484
|
}
|
|
5482
5485
|
}
|
|
5483
5486
|
};
|
|
@@ -5485,10 +5488,10 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5485
5488
|
U && await f();
|
|
5486
5489
|
}), bi(() => {
|
|
5487
5490
|
f(), a.defaultRedisConfigItem && S(a.defaultRedisConfigItem);
|
|
5488
|
-
}), (U,
|
|
5491
|
+
}), (U, V) => {
|
|
5489
5492
|
const p = k("KLabel"), _ = k("KBadge"), I = k("KSelect");
|
|
5490
5493
|
return d(), M(Y, null, [
|
|
5491
|
-
u("div",
|
|
5494
|
+
u("div", Tp, [
|
|
5492
5495
|
A(p, {
|
|
5493
5496
|
info: w.value,
|
|
5494
5497
|
"tooltip-attributes": {
|
|
@@ -5501,28 +5504,28 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5501
5504
|
]),
|
|
5502
5505
|
_: 1
|
|
5503
5506
|
}, 8, ["info"]),
|
|
5504
|
-
|
|
5507
|
+
V[2] || (V[2] = u("div", { class: "shared-redis-config-title" }, null, -1)),
|
|
5505
5508
|
A(I, {
|
|
5506
5509
|
class: "redis-config-select-trigger",
|
|
5507
5510
|
"data-testid": "redis-config-select-trigger",
|
|
5508
5511
|
"enable-filtering": "",
|
|
5509
5512
|
"filter-function": () => !0,
|
|
5510
5513
|
items: C.value,
|
|
5511
|
-
loading:
|
|
5514
|
+
loading: P(m),
|
|
5512
5515
|
"model-value": e.defaultRedisConfigItem,
|
|
5513
5516
|
placeholder: F.value,
|
|
5514
|
-
onChange:
|
|
5515
|
-
onQueryChange:
|
|
5516
|
-
}, {
|
|
5517
|
+
onChange: V[1] || (V[1] = (K) => S(K == null ? void 0 : K.value)),
|
|
5518
|
+
onQueryChange: P(c)
|
|
5519
|
+
}, et({
|
|
5517
5520
|
"selected-item-template": E(({ item: K }) => [
|
|
5518
|
-
u("div",
|
|
5521
|
+
u("div", Mp, $(K.name), 1)
|
|
5519
5522
|
]),
|
|
5520
5523
|
"item-template": E(({ item: K }) => [
|
|
5521
5524
|
u("div", {
|
|
5522
5525
|
class: "plugin-form-redis-configuration-dropdown-item",
|
|
5523
5526
|
"data-testid": `redis-configuration-dropdown-item-${K.name}`
|
|
5524
5527
|
}, [
|
|
5525
|
-
u("span",
|
|
5528
|
+
u("span", Ap, $(K.name), 1),
|
|
5526
5529
|
K.tag ? (d(), L(_, {
|
|
5527
5530
|
key: 0,
|
|
5528
5531
|
appearance: "info",
|
|
@@ -5533,45 +5536,50 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5533
5536
|
]),
|
|
5534
5537
|
_: 2
|
|
5535
5538
|
}, 1024)) : z("", !0)
|
|
5536
|
-
], 8,
|
|
5539
|
+
], 8, wp)
|
|
5537
5540
|
]),
|
|
5538
5541
|
empty: E(() => [
|
|
5539
|
-
u("div",
|
|
5542
|
+
u("div", Ep, $(P(t)("redis.shared_configuration.empty_state")), 1)
|
|
5540
5543
|
]),
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5544
|
+
_: 2
|
|
5545
|
+
}, [
|
|
5546
|
+
P(up)(P(l)) ? void 0 : {
|
|
5547
|
+
name: "dropdown-footer-text",
|
|
5548
|
+
fn: E(() => [
|
|
5549
|
+
u("div", {
|
|
5550
|
+
class: "new-redis-config-area",
|
|
5551
|
+
"data-testid": "new-redis-config-area",
|
|
5552
|
+
onClick: V[0] || (V[0] = (K) => U.$emit("showNewPartialModal"))
|
|
5553
|
+
}, [
|
|
5554
|
+
A(P(wn), {
|
|
5555
|
+
size: `var(--kui-icon-size-20, ${P(Jo)})`
|
|
5556
|
+
}, null, 8, ["size"]),
|
|
5557
|
+
u("span", null, $(D.value), 1)
|
|
5558
|
+
])
|
|
5559
|
+
]),
|
|
5560
|
+
key: "0"
|
|
5561
|
+
}
|
|
5562
|
+
]), 1032, ["items", "loading", "model-value", "placeholder", "onQueryChange"])
|
|
5555
5563
|
]),
|
|
5556
|
-
i.value ? (d(), L(
|
|
5564
|
+
i.value ? (d(), L(Sp, {
|
|
5557
5565
|
key: 0,
|
|
5558
5566
|
"config-fields": i.value,
|
|
5559
5567
|
"plugin-redis-fields": e.pluginRedisFields
|
|
5560
5568
|
}, null, 8, ["config-fields", "plugin-redis-fields"])) : z("", !0),
|
|
5561
|
-
T.value ? (d(), M("p",
|
|
5569
|
+
T.value ? (d(), M("p", Ip, $(H.value), 1)) : z("", !0)
|
|
5562
5570
|
], 64);
|
|
5563
5571
|
};
|
|
5564
5572
|
}
|
|
5565
|
-
}), no = /* @__PURE__ */ J(
|
|
5573
|
+
}), no = /* @__PURE__ */ J(Op, [["__scopeId", "data-v-8017e218"]]), kp = { key: 0 }, Rp = {
|
|
5566
5574
|
class: "redis-config-radio-group",
|
|
5567
5575
|
"data-testid": "redis-config-radio-group"
|
|
5568
|
-
},
|
|
5576
|
+
}, Fp = {
|
|
5569
5577
|
key: 0,
|
|
5570
5578
|
class: "shared-redis-config"
|
|
5571
|
-
},
|
|
5579
|
+
}, Np = {
|
|
5572
5580
|
key: 1,
|
|
5573
5581
|
class: "dedicated-redis-config"
|
|
5574
|
-
},
|
|
5582
|
+
}, Up = { class: "dedicated-redis-config-title" }, Lp = /* @__PURE__ */ be({
|
|
5575
5583
|
__name: "FormRedis",
|
|
5576
5584
|
props: {
|
|
5577
5585
|
tag: {
|
|
@@ -5652,12 +5660,12 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5652
5660
|
f.value = !0, g.value = S;
|
|
5653
5661
|
}
|
|
5654
5662
|
}), (O, C) => {
|
|
5655
|
-
const y = k("KAlert"), S = k("KBadge"), U = k("KRadio"),
|
|
5663
|
+
const y = k("KAlert"), S = k("KBadge"), U = k("KRadio"), V = k("KCard");
|
|
5656
5664
|
return d(), M("div", null, [
|
|
5657
|
-
b.value ? (d(), M("div",
|
|
5665
|
+
b.value ? (d(), M("div", kp, [
|
|
5658
5666
|
A(y, {
|
|
5659
5667
|
"data-testid": "custom-plugin-redis-config-note",
|
|
5660
|
-
message:
|
|
5668
|
+
message: P(a)("redis.custom_plugin.alert")
|
|
5661
5669
|
}, null, 8, ["message"]),
|
|
5662
5670
|
A(no, {
|
|
5663
5671
|
"default-redis-config-item": g.value,
|
|
@@ -5667,14 +5675,14 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5667
5675
|
"update-redis-model": F,
|
|
5668
5676
|
onShowNewPartialModal: C[0] || (C[0] = (p) => O.$emit("showNewPartialModal"))
|
|
5669
5677
|
}, null, 8, ["default-redis-config-item", "is-konnect-managed-redis-enabled", "plugin-redis-fields"])
|
|
5670
|
-
])) : (d(), L(
|
|
5678
|
+
])) : (d(), L(V, {
|
|
5671
5679
|
key: 1,
|
|
5672
5680
|
class: "redis-config-card",
|
|
5673
5681
|
"data-testid": "redis-config-card",
|
|
5674
5682
|
title: i.value
|
|
5675
5683
|
}, {
|
|
5676
5684
|
default: E(() => [
|
|
5677
|
-
u("div",
|
|
5685
|
+
u("div", Rp, [
|
|
5678
5686
|
A(U, {
|
|
5679
5687
|
modelValue: f.value,
|
|
5680
5688
|
"onUpdate:modelValue": C[1] || (C[1] = (p) => f.value = p),
|
|
@@ -5691,7 +5699,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5691
5699
|
appearance: "success"
|
|
5692
5700
|
}, {
|
|
5693
5701
|
default: E(() => [
|
|
5694
|
-
Z($(
|
|
5702
|
+
Z($(P(a)("redis.managed_ui.shared_configuration.badge")), 1)
|
|
5695
5703
|
]),
|
|
5696
5704
|
_: 1
|
|
5697
5705
|
})) : z("", !0)
|
|
@@ -5709,7 +5717,7 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5709
5717
|
"selected-value": !1
|
|
5710
5718
|
}, null, 8, ["modelValue", "description", "label"])
|
|
5711
5719
|
]),
|
|
5712
|
-
f.value ? (d(), M("div",
|
|
5720
|
+
f.value ? (d(), M("div", Fp, [
|
|
5713
5721
|
A(no, {
|
|
5714
5722
|
"default-redis-config-item": g.value,
|
|
5715
5723
|
"is-konnect-managed-redis-enabled": e.isKonnectManagedRedisEnabled,
|
|
@@ -5718,8 +5726,8 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5718
5726
|
"update-redis-model": F,
|
|
5719
5727
|
onShowNewPartialModal: C[3] || (C[3] = (p) => O.$emit("showNewPartialModal"))
|
|
5720
5728
|
}, null, 8, ["default-redis-config-item", "is-konnect-managed-redis-enabled", "plugin-redis-fields", "redis-type"])
|
|
5721
|
-
])) : (d(), M("div",
|
|
5722
|
-
u("div",
|
|
5729
|
+
])) : (d(), M("div", Np, [
|
|
5730
|
+
u("div", Up, $(P(a)("redis.dedicated_configuration.title")), 1),
|
|
5723
5731
|
(d(), L(le(e.tag), null, {
|
|
5724
5732
|
default: E(() => [
|
|
5725
5733
|
(d(!0), M(Y, null, se(e.field.fields, (p) => (d(), M(Y, {
|
|
@@ -5749,9 +5757,9 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5749
5757
|
]);
|
|
5750
5758
|
};
|
|
5751
5759
|
}
|
|
5752
|
-
}),
|
|
5760
|
+
}), Dp = /* @__PURE__ */ J(Lp, [["__scopeId", "data-v-58023d89"]]), Pp = {
|
|
5753
5761
|
name: "VueFormGenerator",
|
|
5754
|
-
components: { formGroup: cs, formRedis:
|
|
5762
|
+
components: { formGroup: cs, formRedis: Dp },
|
|
5755
5763
|
mixins: [Po],
|
|
5756
5764
|
inject: {
|
|
5757
5765
|
// Inject AUTOFILL_SLOT for provide()
|
|
@@ -5918,13 +5926,13 @@ const up = { class: "partial-config-card" }, mp = { class: "config-card-row-labe
|
|
|
5918
5926
|
});
|
|
5919
5927
|
}
|
|
5920
5928
|
}
|
|
5921
|
-
},
|
|
5929
|
+
}, Vp = {
|
|
5922
5930
|
key: 0,
|
|
5923
5931
|
class: "vue-form-generator"
|
|
5924
|
-
},
|
|
5925
|
-
function
|
|
5932
|
+
}, Kp = { key: 0 };
|
|
5933
|
+
function jp(e, t, n, o, a, i) {
|
|
5926
5934
|
const r = k("form-redis"), l = k("form-group"), c = k("KCollapse");
|
|
5927
|
-
return n.schema != null ? (d(), M("div",
|
|
5935
|
+
return n.schema != null ? (d(), M("div", Vp, [
|
|
5928
5936
|
n.schema.fields ? (d(), L(le(n.tag), { key: 0 }, {
|
|
5929
5937
|
default: E(() => [
|
|
5930
5938
|
(d(!0), M(Y, null, se(i.fields, (m) => (d(), M(Y, {
|
|
@@ -5969,7 +5977,7 @@ function Kp(e, t, n, o, a, i) {
|
|
|
5969
5977
|
class: "root-level-collapse",
|
|
5970
5978
|
"model-value": !1,
|
|
5971
5979
|
title: m.collapsible.title
|
|
5972
|
-
},
|
|
5980
|
+
}, et({
|
|
5973
5981
|
default: E(() => {
|
|
5974
5982
|
var f, g, T, w;
|
|
5975
5983
|
return [
|
|
@@ -6065,7 +6073,7 @@ function Kp(e, t, n, o, a, i) {
|
|
|
6065
6073
|
class: ne(e.getFieldRowClasses(m))
|
|
6066
6074
|
}, {
|
|
6067
6075
|
default: E(() => [
|
|
6068
|
-
m.legend ? (d(), M("legend",
|
|
6076
|
+
m.legend ? (d(), M("legend", Kp, $(m.legend), 1)) : z("", !0),
|
|
6069
6077
|
(d(!0), M(Y, null, se(m.fields, (f) => (d(), M(Y, {
|
|
6070
6078
|
key: f.model
|
|
6071
6079
|
}, [
|
|
@@ -6089,7 +6097,7 @@ function Kp(e, t, n, o, a, i) {
|
|
|
6089
6097
|
], 64))), 128))
|
|
6090
6098
|
])) : z("", !0);
|
|
6091
6099
|
}
|
|
6092
|
-
const pe = /* @__PURE__ */ J(
|
|
6100
|
+
const pe = /* @__PURE__ */ J(Pp, [["render", jp]]), xp = [
|
|
6093
6101
|
{
|
|
6094
6102
|
label: "Kong Identity client",
|
|
6095
6103
|
value: "kong-identity",
|
|
@@ -6100,7 +6108,7 @@ const pe = /* @__PURE__ */ J(Dp, [["render", Kp]]), jp = [
|
|
|
6100
6108
|
value: "custom-identity",
|
|
6101
6109
|
description: "Match principals using a custom JWT claim."
|
|
6102
6110
|
}
|
|
6103
|
-
],
|
|
6111
|
+
], $p = (e) => e == null || e === "" ? !1 : Array.isArray(e) ? e.length > 0 : !0, zp = (e) => $p(e["config-principals-principal_by"]) ? "custom-identity" : "kong-identity", qp = {
|
|
6104
6112
|
name: "PrincipalLookupSettings",
|
|
6105
6113
|
props: {
|
|
6106
6114
|
formModel: {
|
|
@@ -6145,8 +6153,8 @@ const pe = /* @__PURE__ */ J(Dp, [["render", Kp]]), jp = [
|
|
|
6145
6153
|
},
|
|
6146
6154
|
data() {
|
|
6147
6155
|
return {
|
|
6148
|
-
lookupMethodItems:
|
|
6149
|
-
selectedLookupMethod:
|
|
6156
|
+
lookupMethodItems: xp,
|
|
6157
|
+
selectedLookupMethod: zp(this.formModel)
|
|
6150
6158
|
};
|
|
6151
6159
|
},
|
|
6152
6160
|
computed: {
|
|
@@ -6192,11 +6200,11 @@ const pe = /* @__PURE__ */ J(Dp, [["render", Kp]]), jp = [
|
|
|
6192
6200
|
this.formModel[e] = t, this.onModelUpdated();
|
|
6193
6201
|
}
|
|
6194
6202
|
}
|
|
6195
|
-
},
|
|
6203
|
+
}, Bp = {
|
|
6196
6204
|
key: 1,
|
|
6197
6205
|
class: "principals-field-group"
|
|
6198
|
-
},
|
|
6199
|
-
function
|
|
6206
|
+
}, Hp = { class: "principals-field-group" }, Gp = { class: "lookup-method-item" }, Yp = { class: "lookup-method-item-label" }, Wp = { class: "lookup-method-item-description" }, Zp = { class: "principals-field-group" }, Xp = { class: "principals-field-group" }, Jp = { class: "principals-field-group" };
|
|
6207
|
+
function Qp(e, t, n, o, a, i) {
|
|
6200
6208
|
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");
|
|
6201
6209
|
return d(), L(T, {
|
|
6202
6210
|
class: "principals-advanced-settings",
|
|
@@ -6214,7 +6222,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6214
6222
|
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.",
|
|
6215
6223
|
"show-icon": ""
|
|
6216
6224
|
})) : z("", !0),
|
|
6217
|
-
n.showEnableToggle ? (d(), M("div",
|
|
6225
|
+
n.showEnableToggle ? (d(), M("div", Bp, [
|
|
6218
6226
|
A(c, {
|
|
6219
6227
|
"data-testid": "use-principal-lookup",
|
|
6220
6228
|
disabled: n.disabled,
|
|
@@ -6235,7 +6243,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6235
6243
|
_: 1
|
|
6236
6244
|
}, 8, ["disabled", "model-value", "onUpdate:modelValue"])
|
|
6237
6245
|
])) : z("", !0),
|
|
6238
|
-
u("div",
|
|
6246
|
+
u("div", Hp, [
|
|
6239
6247
|
A(m, {
|
|
6240
6248
|
class: "principals-lookup-method-select",
|
|
6241
6249
|
"data-testid": "principals-lookup-method",
|
|
@@ -6248,9 +6256,9 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6248
6256
|
"onUpdate:modelValue": i.handleLookupMethodChange
|
|
6249
6257
|
}, {
|
|
6250
6258
|
"item-template": E(({ item: w }) => [
|
|
6251
|
-
u("div",
|
|
6252
|
-
u("div",
|
|
6253
|
-
u("div",
|
|
6259
|
+
u("div", Gp, [
|
|
6260
|
+
u("div", Yp, $(w.label), 1),
|
|
6261
|
+
u("div", Wp, $(w.description), 1)
|
|
6254
6262
|
])
|
|
6255
6263
|
]),
|
|
6256
6264
|
_: 1
|
|
@@ -6277,7 +6285,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6277
6285
|
"onUpdate:modelValue": t[1] || (t[1] = (w) => i.handleTokenClaimChange(w))
|
|
6278
6286
|
}, null, 8, ["disabled", "help", "model-value"])
|
|
6279
6287
|
]),
|
|
6280
|
-
u("div",
|
|
6288
|
+
u("div", Zp, [
|
|
6281
6289
|
A(l, null, {
|
|
6282
6290
|
default: E(() => [...t[7] || (t[7] = [
|
|
6283
6291
|
Z("If principal lookup fails", -1)
|
|
@@ -6303,7 +6311,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6303
6311
|
onChange: t[3] || (t[3] = (w) => i.updateField("config-principals-error_on_miss", !1))
|
|
6304
6312
|
}, null, 8, ["disabled", "model-value"])
|
|
6305
6313
|
]),
|
|
6306
|
-
u("div",
|
|
6314
|
+
u("div", Xp, [
|
|
6307
6315
|
A(g, {
|
|
6308
6316
|
"data-testid": "principals-match-consumer",
|
|
6309
6317
|
disabled: i.fieldsDisabled,
|
|
@@ -6313,6 +6321,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6313
6321
|
description: E(() => [...t[8] || (t[8] = [
|
|
6314
6322
|
Z(" Use the consumer linked to the authenticated principal so existing consumer-based plugins and policies continue to work. ", -1),
|
|
6315
6323
|
u("a", {
|
|
6324
|
+
class: "principals-learn-more-link",
|
|
6316
6325
|
href: "https://developer.konghq.com/identity/principals/",
|
|
6317
6326
|
rel: "noopener noreferrer",
|
|
6318
6327
|
target: "_blank"
|
|
@@ -6324,7 +6333,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6324
6333
|
_: 1
|
|
6325
6334
|
}, 8, ["disabled", "model-value"])
|
|
6326
6335
|
]),
|
|
6327
|
-
u("div",
|
|
6336
|
+
u("div", Jp, [
|
|
6328
6337
|
A(g, {
|
|
6329
6338
|
"data-testid": "principals-match-consumer-groups",
|
|
6330
6339
|
disabled: i.fieldsDisabled || !n.formModel["config-principals-match_consumer"],
|
|
@@ -6334,6 +6343,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6334
6343
|
description: E(() => [...t[10] || (t[10] = [
|
|
6335
6344
|
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),
|
|
6336
6345
|
u("a", {
|
|
6346
|
+
class: "principals-learn-more-link",
|
|
6337
6347
|
href: "https://developer.konghq.com/identity/principals/",
|
|
6338
6348
|
rel: "noopener noreferrer",
|
|
6339
6349
|
target: "_blank"
|
|
@@ -6351,12 +6361,12 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6351
6361
|
_: 3
|
|
6352
6362
|
});
|
|
6353
6363
|
}
|
|
6354
|
-
const
|
|
6364
|
+
const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-009e7e95"]]), an = "kong-identity", us = "external", tg = "/v1/auth-servers/_computed", ng = "identity.konghq", ig = (e) => typeof e == "string" && e.includes(ng), li = { major: 3, minor: 15 }, ag = (e) => {
|
|
6355
6365
|
const [t, n] = e.split(".").map(Number);
|
|
6356
6366
|
return Number.isNaN(t) || Number.isNaN(n) ? !1 : t !== li.major ? t < li.major : n < li.minor;
|
|
6357
|
-
},
|
|
6367
|
+
}, og = (e, t) => t ? ig(e["config-issuer"]) ? an : us : an, sg = {
|
|
6358
6368
|
name: "OIDCPrincipals",
|
|
6359
|
-
components: { VueFormGenerator: pe, PrincipalLookupSettings:
|
|
6369
|
+
components: { VueFormGenerator: pe, PrincipalLookupSettings: eg, AddIcon: wn, BookIcon: Bs, CloseIcon: qs, KeyIcon: zs, WorldIcon: $s },
|
|
6360
6370
|
inject: {
|
|
6361
6371
|
formsConfig: {
|
|
6362
6372
|
from: wi,
|
|
@@ -6395,7 +6405,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6395
6405
|
},
|
|
6396
6406
|
emits: ["mode-change", "click:learn-more", "click:create-entity"],
|
|
6397
6407
|
data() {
|
|
6398
|
-
const e =
|
|
6408
|
+
const e = og(this.formModel, this.isEditing);
|
|
6399
6409
|
return {
|
|
6400
6410
|
MODE_KONG_IDENTITY: an,
|
|
6401
6411
|
MODE_EXTERNAL: us,
|
|
@@ -6469,7 +6479,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6469
6479
|
// principals (Gateway 3.15+ required). Drives a warning alert, not field hiding.
|
|
6470
6480
|
hasIncompatibleDataPlane() {
|
|
6471
6481
|
var e;
|
|
6472
|
-
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(
|
|
6482
|
+
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(ag);
|
|
6473
6483
|
},
|
|
6474
6484
|
// Whether principal lookup is on. Kong Identity mode pins this true; External mode
|
|
6475
6485
|
// controls it with the "Use principal lookup" toggle (config-principals-enabled).
|
|
@@ -6508,7 +6518,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6508
6518
|
if (((e = this.formsConfig) == null ? void 0 : e.isKongIdentityAuthServersAvailable) !== !1)
|
|
6509
6519
|
try {
|
|
6510
6520
|
this.kongIdentityServersLoading = !0;
|
|
6511
|
-
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${
|
|
6521
|
+
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${tg}`, i = await o.get(a);
|
|
6512
6522
|
this.kongIdentityServers = ((n = i.data) == null ? void 0 : n.data) ?? [];
|
|
6513
6523
|
const r = this.formModel["config-issuer"];
|
|
6514
6524
|
if (r && !this.selectedServer) {
|
|
@@ -6596,27 +6606,27 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6596
6606
|
this.onModelUpdated(), this.$emit("mode-change", e);
|
|
6597
6607
|
}
|
|
6598
6608
|
}
|
|
6599
|
-
},
|
|
6609
|
+
}, rg = {
|
|
6600
6610
|
class: "oidc-principals-section",
|
|
6601
6611
|
"data-testid": "oidc-principals-section"
|
|
6602
|
-
},
|
|
6612
|
+
}, lg = { class: "principals-description" }, dg = {
|
|
6603
6613
|
class: "oidc-auth-mode-radio-group",
|
|
6604
6614
|
"data-testid": "oidc-auth-mode-radio-group"
|
|
6605
|
-
},
|
|
6615
|
+
}, cg = { class: "auth-mode-card-content" }, ug = { class: "auth-mode-card-content" }, mg = {
|
|
6606
6616
|
key: 1,
|
|
6607
6617
|
class: "principals-create-guide",
|
|
6608
6618
|
"data-testid": "principals-create-guide"
|
|
6609
|
-
},
|
|
6619
|
+
}, fg = { class: "principals-create-guide-actions" }, hg = { class: "principals-client-secret-wrapper" }, pg = ["disabled", "onClick"], gg = { class: "external-client-field" }, yg = ["innerHTML"], vg = { class: "external-client-field" }, bg = ["innerHTML"], _g = ["disabled", "onClick"], Sg = {
|
|
6610
6620
|
key: 1,
|
|
6611
6621
|
class: "principals-create-guide",
|
|
6612
6622
|
"data-testid": "principals-create-guide"
|
|
6613
|
-
},
|
|
6614
|
-
function
|
|
6623
|
+
}, Tg = { class: "principals-create-guide-actions" };
|
|
6624
|
+
function Mg(e, t, n, o, a, i) {
|
|
6615
6625
|
var O;
|
|
6616
6626
|
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");
|
|
6617
|
-
return d(), M("div",
|
|
6627
|
+
return d(), M("div", rg, [
|
|
6618
6628
|
t[28] || (t[28] = u("div", { class: "principals-header" }, " Who should manage authentication and credentials? ", -1)),
|
|
6619
|
-
u("div",
|
|
6629
|
+
u("div", lg, [
|
|
6620
6630
|
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)),
|
|
6621
6631
|
A(r, { href: "https://developer.konghq.com/plugins/openid-connect/" }, {
|
|
6622
6632
|
default: E(() => [...t[12] || (t[12] = [
|
|
@@ -6625,7 +6635,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6625
6635
|
_: 1
|
|
6626
6636
|
})
|
|
6627
6637
|
]),
|
|
6628
|
-
u("div",
|
|
6638
|
+
u("div", dg, [
|
|
6629
6639
|
A(c, {
|
|
6630
6640
|
modelValue: a.selectedMode,
|
|
6631
6641
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => a.selectedMode = C),
|
|
@@ -6636,7 +6646,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6636
6646
|
onChange: i.handleModeChange
|
|
6637
6647
|
}, {
|
|
6638
6648
|
default: E(() => [
|
|
6639
|
-
u("div",
|
|
6649
|
+
u("div", cg, [
|
|
6640
6650
|
A(l, {
|
|
6641
6651
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6642
6652
|
}, null, 8, ["size"]),
|
|
@@ -6656,7 +6666,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6656
6666
|
onChange: i.handleModeChange
|
|
6657
6667
|
}, {
|
|
6658
6668
|
default: E(() => [
|
|
6659
|
-
u("div",
|
|
6669
|
+
u("div", ug, [
|
|
6660
6670
|
A(m, {
|
|
6661
6671
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6662
6672
|
}, null, 8, ["size"]),
|
|
@@ -6671,10 +6681,10 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6671
6681
|
key: 0,
|
|
6672
6682
|
class: "principals-create-guide-skeleton",
|
|
6673
6683
|
"data-testid": "principals-create-guide-loading"
|
|
6674
|
-
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div",
|
|
6684
|
+
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div", mg, [
|
|
6675
6685
|
t[20] || (t[20] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6676
6686
|
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)),
|
|
6677
|
-
u("div",
|
|
6687
|
+
u("div", fg, [
|
|
6678
6688
|
A(g, {
|
|
6679
6689
|
appearance: "primary",
|
|
6680
6690
|
"data-testid": "principals-create-principal",
|
|
@@ -6716,7 +6726,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6716
6726
|
placeholder: "Select an Authorization Server",
|
|
6717
6727
|
required: "",
|
|
6718
6728
|
"onUpdate:modelValue": i.handleServerChange
|
|
6719
|
-
},
|
|
6729
|
+
}, et({ _: 2 }, [
|
|
6720
6730
|
i.canCreateAuthServer ? {
|
|
6721
6731
|
name: "dropdown-footer-text",
|
|
6722
6732
|
fn: E(() => [
|
|
@@ -6766,7 +6776,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6766
6776
|
"model-value": C,
|
|
6767
6777
|
placeholder: "Select a client",
|
|
6768
6778
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6769
|
-
},
|
|
6779
|
+
}, et({ _: 2 }, [
|
|
6770
6780
|
i.canCreateAuthServerClient ? {
|
|
6771
6781
|
name: "dropdown-footer-text",
|
|
6772
6782
|
fn: E(() => [
|
|
@@ -6795,7 +6805,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6795
6805
|
placeholder: "e.g., kong-gateway-client",
|
|
6796
6806
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6797
6807
|
}, null, 8, ["label", "model-value", "onUpdate:modelValue"])),
|
|
6798
|
-
u("div",
|
|
6808
|
+
u("div", hg, [
|
|
6799
6809
|
A(v, {
|
|
6800
6810
|
class: "principals-client-secret",
|
|
6801
6811
|
"data-testid": "principals-client-secret",
|
|
@@ -6825,7 +6835,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6825
6835
|
A(F, {
|
|
6826
6836
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6827
6837
|
}, null, 8, ["size"])
|
|
6828
|
-
], 8,
|
|
6838
|
+
], 8, pg)
|
|
6829
6839
|
], 2))), 128)),
|
|
6830
6840
|
u("div", {
|
|
6831
6841
|
class: ne(["add-client-inline", { "add-client-inline-disabled": i.hasAuthServersAccess && !a.selectedServer }]),
|
|
@@ -6846,12 +6856,12 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6846
6856
|
}, 8, ["data-plane-incompatible", "form-model", "on-enabled-change", "on-model-updated"])
|
|
6847
6857
|
], 64)) : (d(), M(Y, { key: 3 }, [
|
|
6848
6858
|
(d(!0), M(Y, null, se(i.clientIdArray, (C, y) => {
|
|
6849
|
-
var S, U,
|
|
6859
|
+
var S, U, V, p, _, I, K, W;
|
|
6850
6860
|
return d(), M("div", {
|
|
6851
6861
|
key: y,
|
|
6852
6862
|
class: ne(["client-row", { "client-row-with-label": y === 0 }])
|
|
6853
6863
|
}, [
|
|
6854
|
-
u("div",
|
|
6864
|
+
u("div", gg, [
|
|
6855
6865
|
A(v, {
|
|
6856
6866
|
class: "external-client-input",
|
|
6857
6867
|
"data-testid": "external-client-id",
|
|
@@ -6863,13 +6873,13 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6863
6873
|
"model-value": i.clientIdArray[y],
|
|
6864
6874
|
placeholder: "e.g., kong-gateway-client",
|
|
6865
6875
|
"onUpdate:modelValue": (ee) => i.handleClientChange(y, ee)
|
|
6866
|
-
},
|
|
6867
|
-
(
|
|
6876
|
+
}, et({ _: 2 }, [
|
|
6877
|
+
(V = n.formOptions) != null && V.helpAsHtml && ((p = i.externalClientIdField) != null && p.help) ? {
|
|
6868
6878
|
name: "label-tooltip",
|
|
6869
6879
|
fn: E(() => [
|
|
6870
6880
|
u("div", {
|
|
6871
6881
|
innerHTML: i.sanitize(i.externalClientIdField.help)
|
|
6872
|
-
}, null, 8,
|
|
6882
|
+
}, null, 8, yg)
|
|
6873
6883
|
]),
|
|
6874
6884
|
key: "0"
|
|
6875
6885
|
} : void 0
|
|
@@ -6881,7 +6891,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6881
6891
|
value: i.clientIdArray[y]
|
|
6882
6892
|
}, null, 8, ["update", "value"])) : z("", !0)
|
|
6883
6893
|
]),
|
|
6884
|
-
u("div",
|
|
6894
|
+
u("div", vg, [
|
|
6885
6895
|
A(v, {
|
|
6886
6896
|
class: "external-client-input",
|
|
6887
6897
|
"data-testid": "external-client-secret",
|
|
@@ -6895,13 +6905,13 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6895
6905
|
"show-password-mask-toggle": "",
|
|
6896
6906
|
type: "password",
|
|
6897
6907
|
"onUpdate:modelValue": (ee) => i.handleClientSecretChange(y, ee)
|
|
6898
|
-
},
|
|
6908
|
+
}, et({ _: 2 }, [
|
|
6899
6909
|
(K = n.formOptions) != null && K.helpAsHtml && ((W = i.externalClientSecretField) != null && W.help) ? {
|
|
6900
6910
|
name: "label-tooltip",
|
|
6901
6911
|
fn: E(() => [
|
|
6902
6912
|
u("div", {
|
|
6903
6913
|
innerHTML: i.sanitize(i.externalClientSecretField.help)
|
|
6904
|
-
}, null, 8,
|
|
6914
|
+
}, null, 8, bg)
|
|
6905
6915
|
]),
|
|
6906
6916
|
key: "0"
|
|
6907
6917
|
} : void 0
|
|
@@ -6924,7 +6934,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6924
6934
|
A(F, {
|
|
6925
6935
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6926
6936
|
}, null, 8, ["size"])
|
|
6927
|
-
], 8,
|
|
6937
|
+
], 8, _g)
|
|
6928
6938
|
], 2);
|
|
6929
6939
|
}), 128)),
|
|
6930
6940
|
u("div", {
|
|
@@ -6952,10 +6962,10 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6952
6962
|
key: 0,
|
|
6953
6963
|
class: "principals-create-guide-skeleton",
|
|
6954
6964
|
"data-testid": "principals-create-guide-loading"
|
|
6955
|
-
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div",
|
|
6965
|
+
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div", Sg, [
|
|
6956
6966
|
t[26] || (t[26] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6957
6967
|
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)),
|
|
6958
|
-
u("div",
|
|
6968
|
+
u("div", Tg, [
|
|
6959
6969
|
A(g, {
|
|
6960
6970
|
appearance: "primary",
|
|
6961
6971
|
"data-testid": "principals-create-principal",
|
|
@@ -6998,7 +7008,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6998
7008
|
}, null, 8, ["visible", "onProceed"])
|
|
6999
7009
|
]);
|
|
7000
7010
|
}
|
|
7001
|
-
const
|
|
7011
|
+
const wg = /* @__PURE__ */ J(sg, [["render", Mg], ["__scopeId", "data-v-0f745511"]]), Ag = {
|
|
7002
7012
|
name: "OIDCAuthMethods",
|
|
7003
7013
|
props: {
|
|
7004
7014
|
authMethodItems: {
|
|
@@ -7020,10 +7030,10 @@ const Mg = /* @__PURE__ */ J(og, [["render", Tg], ["__scopeId", "data-v-0f745511
|
|
|
7020
7030
|
}
|
|
7021
7031
|
},
|
|
7022
7032
|
emits: ["select", "session-change"]
|
|
7023
|
-
},
|
|
7024
|
-
function
|
|
7033
|
+
}, Eg = { class: "oidc-auth-methods" }, Ig = { class: "session-management-section" }, Cg = { class: "session-radio-group" };
|
|
7034
|
+
function Og(e, t, n, o, a, i) {
|
|
7025
7035
|
const r = k("KLabel"), l = k("KMultiselect"), c = k("KRadio");
|
|
7026
|
-
return d(), M("div",
|
|
7036
|
+
return d(), M("div", Eg, [
|
|
7027
7037
|
A(r, null, {
|
|
7028
7038
|
default: E(() => [...t[3] || (t[3] = [
|
|
7029
7039
|
Z("Authentication methods", -1)
|
|
@@ -7040,14 +7050,14 @@ function Cg(e, t, n, o, a, i) {
|
|
|
7040
7050
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.$emit("select", m))
|
|
7041
7051
|
}, null, 8, ["items", "model-value"])),
|
|
7042
7052
|
t[5] || (t[5] = u("p", { class: "auth-methods-hint" }, " Configure which OAuth and OpenID Connect features are supported. ", -1)),
|
|
7043
|
-
u("div",
|
|
7053
|
+
u("div", Ig, [
|
|
7044
7054
|
A(r, null, {
|
|
7045
7055
|
default: E(() => [...t[4] || (t[4] = [
|
|
7046
7056
|
Z("Session management", -1)
|
|
7047
7057
|
])]),
|
|
7048
7058
|
_: 1
|
|
7049
7059
|
}),
|
|
7050
|
-
u("div",
|
|
7060
|
+
u("div", Cg, [
|
|
7051
7061
|
A(c, {
|
|
7052
7062
|
"data-testid": "session-radio-use",
|
|
7053
7063
|
description: "Issue a session cookie after successful authentication. Subsequent requests use the session instead of re-authenticating with the identity provider.",
|
|
@@ -7068,7 +7078,7 @@ function Cg(e, t, n, o, a, i) {
|
|
|
7068
7078
|
])
|
|
7069
7079
|
]);
|
|
7070
7080
|
}
|
|
7071
|
-
const
|
|
7081
|
+
const kg = /* @__PURE__ */ J(Ag, [["render", Og], ["__scopeId", "data-v-8c1cdc7c"]]), Xt = {
|
|
7072
7082
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
7073
7083
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
7074
7084
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -7096,9 +7106,9 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7096
7106
|
"config-groups_claim",
|
|
7097
7107
|
"config-groups_required",
|
|
7098
7108
|
"config-authenticated_groups_claim"
|
|
7099
|
-
]), di = ["bearer", "client_credentials", "introspection", "userinfo"],
|
|
7109
|
+
]), di = ["bearer", "client_credentials", "introspection", "userinfo"], Rg = "identity.konghq", Fg = (e) => typeof e == "string" && e.includes(Rg), Ng = {
|
|
7100
7110
|
name: "OIDCForm",
|
|
7101
|
-
components: { VueFormGenerator: pe, OIDCPrincipals:
|
|
7111
|
+
components: { VueFormGenerator: pe, OIDCPrincipals: wg, OIDCAuthMethods: kg },
|
|
7102
7112
|
provide() {
|
|
7103
7113
|
var e;
|
|
7104
7114
|
return {
|
|
@@ -7215,7 +7225,7 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7215
7225
|
return this.isKonnect;
|
|
7216
7226
|
},
|
|
7217
7227
|
authMethodItems() {
|
|
7218
|
-
return ((this.principalsMode !== null ? this.principalsMode === "kong-identity" :
|
|
7228
|
+
return ((this.principalsMode !== null ? this.principalsMode === "kong-identity" : Fg(this.formModel["config-issuer"])) ? this.authMethods.filter((n) => di.includes(n.value)) : this.authMethods).map((n) => ({
|
|
7219
7229
|
label: n.label,
|
|
7220
7230
|
value: n.value
|
|
7221
7231
|
}));
|
|
@@ -7388,8 +7398,8 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7388
7398
|
}
|
|
7389
7399
|
}
|
|
7390
7400
|
}
|
|
7391
|
-
},
|
|
7392
|
-
function
|
|
7401
|
+
}, Ug = { class: "general-settings" }, Lg = { class: "link-wrapper" }, Dg = { class: "auth-method-container" }, Pg = { class: "general-settings" }, Vg = { class: "link-wrapper" }, Kg = { class: "general-settings" }, jg = { class: "link-wrapper" };
|
|
7402
|
+
function xg(e, t, n, o, a, i) {
|
|
7393
7403
|
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");
|
|
7394
7404
|
return d(), M("div", null, [
|
|
7395
7405
|
n.formModel.id && n.isEditing || !n.isEditing ? (d(), L(r, {
|
|
@@ -7402,8 +7412,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7402
7412
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7403
7413
|
A(T, { tabs: a.tabs }, {
|
|
7404
7414
|
common: E(() => [
|
|
7405
|
-
u("div",
|
|
7406
|
-
u("div",
|
|
7415
|
+
u("div", Ug, [
|
|
7416
|
+
u("div", Lg, [
|
|
7407
7417
|
A(l, { href: a.openIdConfigurationDocs }, {
|
|
7408
7418
|
default: E(() => [...t[4] || (t[4] = [
|
|
7409
7419
|
u("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -7458,7 +7468,7 @@ function jg(e, t, n, o, a, i) {
|
|
|
7458
7468
|
])]),
|
|
7459
7469
|
_: 1
|
|
7460
7470
|
}),
|
|
7461
|
-
u("div",
|
|
7471
|
+
u("div", Dg, [
|
|
7462
7472
|
(d(!0), M(Y, null, se(a.authMethods, (w) => (d(), M("div", {
|
|
7463
7473
|
key: w.value,
|
|
7464
7474
|
class: "auth-method"
|
|
@@ -7488,8 +7498,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7488
7498
|
])
|
|
7489
7499
|
]),
|
|
7490
7500
|
authorization: E(() => [
|
|
7491
|
-
u("div",
|
|
7492
|
-
u("div",
|
|
7501
|
+
u("div", Pg, [
|
|
7502
|
+
u("div", Vg, [
|
|
7493
7503
|
A(l, { href: a.openIdAuthorizationDocs }, {
|
|
7494
7504
|
default: E(() => [...t[7] || (t[7] = [
|
|
7495
7505
|
u("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -7513,8 +7523,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7513
7523
|
])
|
|
7514
7524
|
]),
|
|
7515
7525
|
advanced: E(() => [
|
|
7516
|
-
u("div",
|
|
7517
|
-
u("div",
|
|
7526
|
+
u("div", Kg, [
|
|
7527
|
+
u("div", jg, [
|
|
7518
7528
|
A(l, { href: a.openIdConnectLink }, {
|
|
7519
7529
|
default: E(() => [...t[9] || (t[9] = [
|
|
7520
7530
|
u("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -7541,7 +7551,7 @@ function jg(e, t, n, o, a, i) {
|
|
|
7541
7551
|
}, 8, ["tabs"])
|
|
7542
7552
|
]);
|
|
7543
7553
|
}
|
|
7544
|
-
const
|
|
7554
|
+
const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca"]]), zg = /* @__PURE__ */ be({
|
|
7545
7555
|
__name: "PostFunction",
|
|
7546
7556
|
props: {
|
|
7547
7557
|
formModel: {
|
|
@@ -7584,7 +7594,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7584
7594
|
onModelUpdated: e.onModelUpdated
|
|
7585
7595
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7586
7596
|
}
|
|
7587
|
-
}),
|
|
7597
|
+
}), qg = /* @__PURE__ */ J(zg, [["__scopeId", "data-v-f54f37ae"]]), Bg = /* @__PURE__ */ be({
|
|
7588
7598
|
__name: "ExitTransformer",
|
|
7589
7599
|
props: {
|
|
7590
7600
|
formModel: {
|
|
@@ -7627,7 +7637,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7627
7637
|
onModelUpdated: e.onModelUpdated
|
|
7628
7638
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7629
7639
|
}
|
|
7630
|
-
}),
|
|
7640
|
+
}), Hg = /* @__PURE__ */ J(Bg, [["__scopeId", "data-v-0d5c541f"]]), Gg = {
|
|
7631
7641
|
fields: [
|
|
7632
7642
|
{
|
|
7633
7643
|
inputType: "text",
|
|
@@ -7662,7 +7672,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7662
7672
|
disabled: !1
|
|
7663
7673
|
}
|
|
7664
7674
|
]
|
|
7665
|
-
},
|
|
7675
|
+
}, Yg = {
|
|
7666
7676
|
fields: [
|
|
7667
7677
|
{
|
|
7668
7678
|
type: "input",
|
|
@@ -7684,7 +7694,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7684
7694
|
disabled: !1
|
|
7685
7695
|
}
|
|
7686
7696
|
]
|
|
7687
|
-
},
|
|
7697
|
+
}, Wg = {
|
|
7688
7698
|
fields: [
|
|
7689
7699
|
{
|
|
7690
7700
|
type: "input",
|
|
@@ -7715,7 +7725,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7715
7725
|
disabled: !1
|
|
7716
7726
|
}
|
|
7717
7727
|
]
|
|
7718
|
-
},
|
|
7728
|
+
}, Zg = { class: "general-settings" }, Xg = { class: "sub-form" }, Jg = { class: "general-settings" }, Qg = { class: "sub-form" }, ey = { class: "general-settings" }, ty = /* @__PURE__ */ be({
|
|
7719
7729
|
__name: "ACMEForm",
|
|
7720
7730
|
props: {
|
|
7721
7731
|
formModel: {
|
|
@@ -7752,26 +7762,26 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7752
7762
|
return y;
|
|
7753
7763
|
}), i = B(() => {
|
|
7754
7764
|
var S;
|
|
7755
|
-
const y = Qe(
|
|
7765
|
+
const y = Qe(Gg);
|
|
7756
7766
|
for (const U of y.fields) {
|
|
7757
|
-
const
|
|
7758
|
-
U.help === void 0 && typeof
|
|
7767
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7768
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7759
7769
|
}
|
|
7760
7770
|
return y;
|
|
7761
7771
|
}), r = B(() => {
|
|
7762
7772
|
var S;
|
|
7763
|
-
const y = Qe(
|
|
7773
|
+
const y = Qe(Yg);
|
|
7764
7774
|
for (const U of y.fields) {
|
|
7765
|
-
const
|
|
7766
|
-
U.help === void 0 && typeof
|
|
7775
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7776
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7767
7777
|
}
|
|
7768
7778
|
return y;
|
|
7769
7779
|
}), l = B(() => {
|
|
7770
7780
|
var S;
|
|
7771
|
-
const y = Qe(
|
|
7781
|
+
const y = Qe(Wg);
|
|
7772
7782
|
for (const U of y.fields) {
|
|
7773
|
-
const
|
|
7774
|
-
U.help === void 0 && typeof
|
|
7783
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7784
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7775
7785
|
}
|
|
7776
7786
|
return y;
|
|
7777
7787
|
}), c = B(() => ({
|
|
@@ -7829,7 +7839,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7829
7839
|
S === "config-storage" && (o.value = y), t.onModelUpdated();
|
|
7830
7840
|
};
|
|
7831
7841
|
return (y, S) => {
|
|
7832
|
-
const U = k("KSelect"),
|
|
7842
|
+
const U = k("KSelect"), V = k("KTabs");
|
|
7833
7843
|
return d(), M("div", null, [
|
|
7834
7844
|
e.formModel.id && e.isEditing || !e.isEditing ? (d(), L(pe, {
|
|
7835
7845
|
key: 0,
|
|
@@ -7839,9 +7849,9 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7839
7849
|
schema: c.value,
|
|
7840
7850
|
onModelUpdated: e.onModelUpdated
|
|
7841
7851
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7842
|
-
A(
|
|
7852
|
+
A(V, { tabs: D }, {
|
|
7843
7853
|
general: E(() => [
|
|
7844
|
-
u("div",
|
|
7854
|
+
u("div", Zg, [
|
|
7845
7855
|
S[0] || (S[0] = u("div", { class: "header-wrapper" }, [
|
|
7846
7856
|
u("span", { class: "section-header" }, "General Configuration Settings")
|
|
7847
7857
|
], -1)),
|
|
@@ -7860,7 +7870,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7860
7870
|
label: "Issuer",
|
|
7861
7871
|
onChange: j
|
|
7862
7872
|
}),
|
|
7863
|
-
u("div",
|
|
7873
|
+
u("div", Xg, [
|
|
7864
7874
|
n.value === "letsEncrypt" ? (d(), L(pe, {
|
|
7865
7875
|
key: 0,
|
|
7866
7876
|
model: e.formModel,
|
|
@@ -7879,7 +7889,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7879
7889
|
])
|
|
7880
7890
|
]),
|
|
7881
7891
|
storage: E(() => [
|
|
7882
|
-
u("div",
|
|
7892
|
+
u("div", Jg, [
|
|
7883
7893
|
S[3] || (S[3] = u("div", { class: "header-wrapper" }, [
|
|
7884
7894
|
u("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
7885
7895
|
], -1)),
|
|
@@ -7891,7 +7901,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7891
7901
|
schema: b.value,
|
|
7892
7902
|
onModelUpdated: O
|
|
7893
7903
|
}, null, 8, ["model", "options", "schema"])) : z("", !0),
|
|
7894
|
-
u("div",
|
|
7904
|
+
u("div", Qg, [
|
|
7895
7905
|
o.value === "consul" ? (d(), L(pe, {
|
|
7896
7906
|
key: 0,
|
|
7897
7907
|
model: e.formModel,
|
|
@@ -7924,7 +7934,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7924
7934
|
])
|
|
7925
7935
|
]),
|
|
7926
7936
|
advanced: E(() => [
|
|
7927
|
-
u("div",
|
|
7937
|
+
u("div", ey, [
|
|
7928
7938
|
S[5] || (S[5] = u("div", { class: "header-wrapper" }, [
|
|
7929
7939
|
u("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
7930
7940
|
], -1)),
|
|
@@ -7943,13 +7953,13 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7943
7953
|
]);
|
|
7944
7954
|
};
|
|
7945
7955
|
}
|
|
7946
|
-
}),
|
|
7956
|
+
}), ny = /* @__PURE__ */ J(ty, [["__scopeId", "data-v-07cecf5b"]]), iy = { class: "rla-form-basic-fields" }, ay = { class: "rla-form-request-limits-subtitle" }, oy = { class: "rla-form-request-limits-content" }, sy = { class: "rla-form-window-type" }, ry = ["innerHTML"], ly = { class: "rla-form-window-type-radios" }, dy = { class: "rla-form-request-limits-items" }, cy = { class: "rla-form-request-limits-row" }, uy = ["id"], my = { class: "rla-form-request-limits-actions" }, fy = {
|
|
7947
7957
|
key: 0,
|
|
7948
7958
|
class: "rla-form-request-limits-examples"
|
|
7949
|
-
},
|
|
7959
|
+
}, hy = { class: "rla-form-request-limits-examples-badges" }, py = ["innerHTML"], gy = {
|
|
7950
7960
|
id: "rla-form-error-legend",
|
|
7951
7961
|
class: "rla-form-error-inputs"
|
|
7952
|
-
},
|
|
7962
|
+
}, yy = /* @__PURE__ */ be({
|
|
7953
7963
|
__name: "RLAForm",
|
|
7954
7964
|
props: {
|
|
7955
7965
|
formSchema: {},
|
|
@@ -7963,8 +7973,8 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7963
7973
|
isKonnectManagedRedisEnabled: { type: Boolean }
|
|
7964
7974
|
},
|
|
7965
7975
|
setup(e) {
|
|
7966
|
-
var
|
|
7967
|
-
ln(Le, (
|
|
7976
|
+
var V;
|
|
7977
|
+
ln(Le, (V = Mn()) == null ? void 0 : V[jt]);
|
|
7968
7978
|
const t = {
|
|
7969
7979
|
fixed: [
|
|
7970
7980
|
{
|
|
@@ -8034,9 +8044,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8034
8044
|
const p = (($e = (ee = i.formSchema) == null ? void 0 : ee.fields) == null ? void 0 : $e.filter((ge) => !o(ge.model))) ?? [], _ = [], I = [], K = [];
|
|
8035
8045
|
let W = !1;
|
|
8036
8046
|
for (const ge of p) {
|
|
8037
|
-
const
|
|
8038
|
-
if (
|
|
8039
|
-
if (
|
|
8047
|
+
const at = ge.model;
|
|
8048
|
+
if (at !== void 0) {
|
|
8049
|
+
if (at.startsWith("config-redis-")) {
|
|
8040
8050
|
(ge.model === "config-redis-cluster_addresses" || ge.model === "config-redis-sentinel_addresses") && (ge.inputAttributes.help = a("rla.redis.address_example")), I.push(ge);
|
|
8041
8051
|
continue;
|
|
8042
8052
|
}
|
|
@@ -8070,7 +8080,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8070
8080
|
), w = B(() => {
|
|
8071
8081
|
var _, I, K, W, ee, $e;
|
|
8072
8082
|
const p = (K = (I = (_ = i.formSchema) == null ? void 0 : _.fields) == null ? void 0 : I.find((ge) => ge.model === "config-window_type")) == null ? void 0 : K.default;
|
|
8073
|
-
return ((($e = (ee = (W = i.formSchema) == null ? void 0 : W.fields) == null ? void 0 : ee.find((ge) => ge.model === "config-window_type")) == null ? void 0 : $e.values) ?? []).sort((ge,
|
|
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, at) => ge === p ? -1 : at === p ? 1 : 0);
|
|
8074
8084
|
}), v = B(() => {
|
|
8075
8085
|
var _;
|
|
8076
8086
|
const p = (_ = i.formModel["config-limit"]) == null ? void 0 : _.map((I, K) => {
|
|
@@ -8134,16 +8144,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8134
8144
|
return dn(() => i.formModel["config-strategy"], (p) => {
|
|
8135
8145
|
p !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
|
|
8136
8146
|
}), (p, _) => {
|
|
8137
|
-
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"),
|
|
8147
|
+
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"), at = k("KCard"), Nn = k("KSelect"), Un = k("KCollapse");
|
|
8138
8148
|
return d(), M(Y, null, [
|
|
8139
|
-
u("div",
|
|
8149
|
+
u("div", iy, [
|
|
8140
8150
|
A(pe, {
|
|
8141
8151
|
model: e.formModel,
|
|
8142
8152
|
options: e.formOptions,
|
|
8143
8153
|
schema: r.value,
|
|
8144
8154
|
onModelUpdated: _[0] || (_[0] = (q, ce) => e.onModelUpdated(q, ce))
|
|
8145
8155
|
}, null, 8, ["model", "options", "schema"]),
|
|
8146
|
-
A(
|
|
8156
|
+
A(at, { class: "rla-form-request-limits" }, {
|
|
8147
8157
|
title: E(() => [
|
|
8148
8158
|
A(I, {
|
|
8149
8159
|
class: "rla-form-request-limits-title",
|
|
@@ -8151,15 +8161,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8151
8161
|
required: ""
|
|
8152
8162
|
}, {
|
|
8153
8163
|
default: E(() => [
|
|
8154
|
-
Z($(
|
|
8164
|
+
Z($(P(a)("rla.request_limits.title")), 1)
|
|
8155
8165
|
]),
|
|
8156
8166
|
_: 1
|
|
8157
8167
|
}),
|
|
8158
|
-
u("div",
|
|
8168
|
+
u("div", ay, $(P(a)("rla.request_limits.subtitle")), 1)
|
|
8159
8169
|
]),
|
|
8160
8170
|
default: E(() => [
|
|
8161
|
-
u("div",
|
|
8162
|
-
u("div",
|
|
8171
|
+
u("div", oy, [
|
|
8172
|
+
u("div", sy, [
|
|
8163
8173
|
A(I, {
|
|
8164
8174
|
class: "rla-form-window-type-label",
|
|
8165
8175
|
"tooltip-attributes": {
|
|
@@ -8169,15 +8179,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8169
8179
|
}, {
|
|
8170
8180
|
tooltip: E(() => [
|
|
8171
8181
|
u("div", {
|
|
8172
|
-
innerHTML:
|
|
8173
|
-
}, null, 8,
|
|
8182
|
+
innerHTML: P(a)("rla.window_type.help")
|
|
8183
|
+
}, null, 8, ry)
|
|
8174
8184
|
]),
|
|
8175
8185
|
default: E(() => [
|
|
8176
|
-
Z($(
|
|
8186
|
+
Z($(P(a)("rla.window_type.label")) + " ", 1)
|
|
8177
8187
|
]),
|
|
8178
8188
|
_: 1
|
|
8179
8189
|
}),
|
|
8180
|
-
u("div",
|
|
8190
|
+
u("div", ly, [
|
|
8181
8191
|
(d(!0), M(Y, null, se(w.value, (q) => (d(), L(K, {
|
|
8182
8192
|
key: `window-type-${q}`,
|
|
8183
8193
|
"model-value": T.value,
|
|
@@ -8186,13 +8196,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8186
8196
|
"onUpdate:modelValue": O
|
|
8187
8197
|
}, {
|
|
8188
8198
|
default: E(() => [
|
|
8189
|
-
Z($(
|
|
8199
|
+
Z($(P(a)(`rla.window_type.options.${q}`)), 1)
|
|
8190
8200
|
]),
|
|
8191
8201
|
_: 2
|
|
8192
8202
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
8193
8203
|
])
|
|
8194
8204
|
]),
|
|
8195
|
-
u("div",
|
|
8205
|
+
u("div", dy, [
|
|
8196
8206
|
(d(!0), M(Y, null, se(v.value, (q, ce) => (d(), M("div", {
|
|
8197
8207
|
key: ce.toString()
|
|
8198
8208
|
}, [
|
|
@@ -8200,38 +8210,38 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8200
8210
|
for: `rla-form-request-limits-item-${ce}-legend`
|
|
8201
8211
|
}, {
|
|
8202
8212
|
default: E(() => [
|
|
8203
|
-
Z($(
|
|
8213
|
+
Z($(P(a)("rla.request_limits.label_index", { index: ce + 1 })), 1)
|
|
8204
8214
|
]),
|
|
8205
8215
|
_: 2
|
|
8206
8216
|
}, 1032, ["for"]),
|
|
8207
|
-
u("div",
|
|
8217
|
+
u("div", cy, [
|
|
8208
8218
|
u("legend", {
|
|
8209
8219
|
id: `rla-form-request-limits-item-${ce}-legend`,
|
|
8210
8220
|
class: "rla-form-request-limits-inputs"
|
|
8211
8221
|
}, [
|
|
8212
8222
|
A(W, {
|
|
8213
8223
|
"model-value": q.limit && q.limit.toString(),
|
|
8214
|
-
placeholder:
|
|
8224
|
+
placeholder: P(a)("rla.request_limits.request_number"),
|
|
8215
8225
|
type: "number",
|
|
8216
8226
|
"onUpdate:modelValue": ($t) => C(ce, Number.parseInt($t))
|
|
8217
8227
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8218
|
-
u("div", null, $(
|
|
8228
|
+
u("div", null, $(P(a)("rla.request_limits.interval_determiner")), 1),
|
|
8219
8229
|
A(W, {
|
|
8220
8230
|
"model-value": q.windowSize && q.windowSize.toString(),
|
|
8221
|
-
placeholder:
|
|
8231
|
+
placeholder: P(a)("rla.request_limits.time_interval"),
|
|
8222
8232
|
type: "number",
|
|
8223
8233
|
"onUpdate:modelValue": ($t) => y(ce, Number.parseInt($t))
|
|
8224
8234
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8225
|
-
u("div", null, $(
|
|
8226
|
-
], 8,
|
|
8227
|
-
u("div",
|
|
8235
|
+
u("div", null, $(P(a)("rla.request_limits.seconds")), 1)
|
|
8236
|
+
], 8, uy),
|
|
8237
|
+
u("div", my, [
|
|
8228
8238
|
A(ee, {
|
|
8229
8239
|
appearance: "tertiary",
|
|
8230
8240
|
disabled: v.value.length <= 1,
|
|
8231
8241
|
onClick: () => U(ce)
|
|
8232
8242
|
}, {
|
|
8233
8243
|
default: E(() => [
|
|
8234
|
-
A(
|
|
8244
|
+
A(P(Hs))
|
|
8235
8245
|
]),
|
|
8236
8246
|
_: 1
|
|
8237
8247
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8240,7 +8250,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8240
8250
|
onClick: () => S(ce)
|
|
8241
8251
|
}, {
|
|
8242
8252
|
default: E(() => [
|
|
8243
|
-
A(
|
|
8253
|
+
A(P(wn))
|
|
8244
8254
|
]),
|
|
8245
8255
|
_: 1
|
|
8246
8256
|
}, 8, ["onClick"])
|
|
@@ -8248,9 +8258,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8248
8258
|
])
|
|
8249
8259
|
]))), 128))
|
|
8250
8260
|
]),
|
|
8251
|
-
c.value.length > 0 ? (d(), M("div",
|
|
8252
|
-
u("div", null, $(
|
|
8253
|
-
u("div",
|
|
8261
|
+
c.value.length > 0 ? (d(), M("div", fy, [
|
|
8262
|
+
u("div", null, $(P(a)("rla.start_with_a_use_case")), 1),
|
|
8263
|
+
u("div", hy, [
|
|
8254
8264
|
(d(!0), M(Y, null, se(c.value, (q, ce) => (d(), L(ge, {
|
|
8255
8265
|
key: `use-case-${ce}`,
|
|
8256
8266
|
"max-width": "300"
|
|
@@ -8258,8 +8268,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8258
8268
|
content: E(() => [
|
|
8259
8269
|
u("div", null, $(q.description), 1),
|
|
8260
8270
|
_[10] || (_[10] = u("br", null, null, -1)),
|
|
8261
|
-
u("div", null, $(
|
|
8262
|
-
u("div", null, $(
|
|
8271
|
+
u("div", null, $(P(a)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
|
|
8272
|
+
u("div", null, $(P(a)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
|
|
8263
8273
|
]),
|
|
8264
8274
|
default: E(() => [
|
|
8265
8275
|
A($e, {
|
|
@@ -8286,7 +8296,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8286
8296
|
"onUpdate:modelValue": _[1] || (_[1] = (q) => F.value = q),
|
|
8287
8297
|
class: "rla-form-identifiers",
|
|
8288
8298
|
items: b.value,
|
|
8289
|
-
label:
|
|
8299
|
+
label: P(a)("rla.identifiers.label"),
|
|
8290
8300
|
"label-attributes": {
|
|
8291
8301
|
tooltipAttributes: {
|
|
8292
8302
|
maxWidth: "300",
|
|
@@ -8299,14 +8309,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8299
8309
|
"label-tooltip": E(() => [
|
|
8300
8310
|
u("div", {
|
|
8301
8311
|
innerHTML: m.value && m.value.help
|
|
8302
|
-
}, null, 8,
|
|
8312
|
+
}, null, 8, py)
|
|
8303
8313
|
]),
|
|
8304
8314
|
_: 1
|
|
8305
8315
|
}, 8, ["modelValue", "items", "label"]),
|
|
8306
8316
|
u("div", null, [
|
|
8307
8317
|
A(I, {
|
|
8308
8318
|
for: "rla-form-error-legend",
|
|
8309
|
-
info:
|
|
8319
|
+
info: P(a)("rla.error_message.help"),
|
|
8310
8320
|
required: "",
|
|
8311
8321
|
"tooltip-attributes": {
|
|
8312
8322
|
maxWidth: "300",
|
|
@@ -8314,22 +8324,22 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8314
8324
|
}
|
|
8315
8325
|
}, {
|
|
8316
8326
|
default: E(() => [
|
|
8317
|
-
Z($(
|
|
8327
|
+
Z($(P(a)("rla.error_message.label")), 1)
|
|
8318
8328
|
]),
|
|
8319
8329
|
_: 1
|
|
8320
8330
|
}, 8, ["info"]),
|
|
8321
|
-
u("legend",
|
|
8331
|
+
u("legend", gy, [
|
|
8322
8332
|
A(W, {
|
|
8323
8333
|
class: "input-error-code",
|
|
8324
8334
|
"model-value": D.value && D.value.toString(),
|
|
8325
|
-
placeholder:
|
|
8335
|
+
placeholder: P(a)("rla.error_message.code_placeholder"),
|
|
8326
8336
|
type: "number",
|
|
8327
8337
|
"onUpdate:modelValue": _[3] || (_[3] = (q) => e.onModelUpdated(Number.parseInt(q), "config-error_code"))
|
|
8328
8338
|
}, null, 8, ["model-value", "placeholder"]),
|
|
8329
8339
|
_[11] || (_[11] = u("div", null, ":", -1)),
|
|
8330
8340
|
A(W, {
|
|
8331
8341
|
"model-value": H.value,
|
|
8332
|
-
placeholder:
|
|
8342
|
+
placeholder: P(a)("rla.error_message.message_placeholder"),
|
|
8333
8343
|
"onUpdate:modelValue": _[4] || (_[4] = (q) => e.onModelUpdated(q, "config-error_message"))
|
|
8334
8344
|
}, null, 8, ["model-value", "placeholder"])
|
|
8335
8345
|
])
|
|
@@ -8339,7 +8349,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8339
8349
|
modelValue: g.value,
|
|
8340
8350
|
"onUpdate:modelValue": _[9] || (_[9] = (q) => g.value = q),
|
|
8341
8351
|
"data-testid": "view-advanced",
|
|
8342
|
-
"trigger-label":
|
|
8352
|
+
"trigger-label": P(a)("rla.view_advanced")
|
|
8343
8353
|
}, {
|
|
8344
8354
|
default: E(() => [
|
|
8345
8355
|
A(pe, {
|
|
@@ -8351,7 +8361,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8351
8361
|
e.formModel["config-strategy"] === "redis" ? (d(), L(le(e.enableRedisPartial ? "div" : "KCard"), {
|
|
8352
8362
|
key: 0,
|
|
8353
8363
|
class: "rla-form-redis-card",
|
|
8354
|
-
title:
|
|
8364
|
+
title: P(a)("rla.redis.title")
|
|
8355
8365
|
}, {
|
|
8356
8366
|
default: E(() => [
|
|
8357
8367
|
A(pe, {
|
|
@@ -8381,20 +8391,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8381
8391
|
], 64);
|
|
8382
8392
|
};
|
|
8383
8393
|
}
|
|
8384
|
-
}),
|
|
8394
|
+
}), vy = /* @__PURE__ */ J(yy, [["__scopeId", "data-v-c304263d"]]), Ey = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8385
8395
|
__proto__: null,
|
|
8386
|
-
ACMEForm:
|
|
8387
|
-
ExitTransformer:
|
|
8388
|
-
OIDCForm:
|
|
8389
|
-
PostFunction:
|
|
8390
|
-
RLAForm:
|
|
8391
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8396
|
+
ACMEForm: ny,
|
|
8397
|
+
ExitTransformer: Hg,
|
|
8398
|
+
OIDCForm: $g,
|
|
8399
|
+
PostFunction: qg,
|
|
8400
|
+
RLAForm: vy
|
|
8401
|
+
}, Symbol.toStringTag, { value: "Module" })), Iy = [
|
|
8392
8402
|
"array",
|
|
8393
8403
|
"metric",
|
|
8394
8404
|
"advanced",
|
|
8395
8405
|
"selectionGroup",
|
|
8396
8406
|
"object-advanced"
|
|
8397
|
-
],
|
|
8407
|
+
], Cy = (e) => ({
|
|
8398
8408
|
"openid-connect": "OIDCForm",
|
|
8399
8409
|
"post-function": "PostFunction",
|
|
8400
8410
|
// Pre and Post function plugins are using same component
|
|
@@ -8412,11 +8422,11 @@ export {
|
|
|
8412
8422
|
uf as FieldScopedEntitySelect,
|
|
8413
8423
|
Tn as PartialType,
|
|
8414
8424
|
id as REDIS_PARTIAL_FETCHER_KEY,
|
|
8415
|
-
|
|
8425
|
+
wy as REDIS_PARTIAL_INFO,
|
|
8416
8426
|
pe as VueFormGenerator,
|
|
8417
|
-
|
|
8427
|
+
Ay as abstractField,
|
|
8418
8428
|
Be as composables,
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8429
|
+
Iy as customFields,
|
|
8430
|
+
Cy as getSharedFormName,
|
|
8431
|
+
Ey as sharedForms
|
|
8422
8432
|
};
|