@kong-ui-public/forms 4.31.1 → 4.31.2
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 +372 -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/utils/hideNewRedisConfiguration.d.ts +7 -0
- package/dist/types/utils/hideNewRedisConfiguration.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as
|
|
1
|
+
import { openBlock as d, createElementBlock as M, createElementVNode as u, toDisplayString as $, normalizeClass as ne, createVNode as A, defineComponent as be, provide as ln, resolveComponent as k, withCtx as E, renderSlot as we, unref as 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,
|
|
@@ -6324,7 +6332,7 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6324
6332
|
_: 1
|
|
6325
6333
|
}, 8, ["disabled", "model-value"])
|
|
6326
6334
|
]),
|
|
6327
|
-
u("div",
|
|
6335
|
+
u("div", Jp, [
|
|
6328
6336
|
A(g, {
|
|
6329
6337
|
"data-testid": "principals-match-consumer-groups",
|
|
6330
6338
|
disabled: i.fieldsDisabled || !n.formModel["config-principals-match_consumer"],
|
|
@@ -6351,12 +6359,12 @@ function Jp(e, t, n, o, a, i) {
|
|
|
6351
6359
|
_: 3
|
|
6352
6360
|
});
|
|
6353
6361
|
}
|
|
6354
|
-
const
|
|
6362
|
+
const eg = /* @__PURE__ */ J(qp, [["render", Qp], ["__scopeId", "data-v-2e99588b"]]), 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
6363
|
const [t, n] = e.split(".").map(Number);
|
|
6356
6364
|
return Number.isNaN(t) || Number.isNaN(n) ? !1 : t !== li.major ? t < li.major : n < li.minor;
|
|
6357
|
-
},
|
|
6365
|
+
}, og = (e, t) => t ? ig(e["config-issuer"]) ? an : us : an, sg = {
|
|
6358
6366
|
name: "OIDCPrincipals",
|
|
6359
|
-
components: { VueFormGenerator: pe, PrincipalLookupSettings:
|
|
6367
|
+
components: { VueFormGenerator: pe, PrincipalLookupSettings: eg, AddIcon: wn, BookIcon: Bs, CloseIcon: qs, KeyIcon: zs, WorldIcon: $s },
|
|
6360
6368
|
inject: {
|
|
6361
6369
|
formsConfig: {
|
|
6362
6370
|
from: wi,
|
|
@@ -6395,7 +6403,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6395
6403
|
},
|
|
6396
6404
|
emits: ["mode-change", "click:learn-more", "click:create-entity"],
|
|
6397
6405
|
data() {
|
|
6398
|
-
const e =
|
|
6406
|
+
const e = og(this.formModel, this.isEditing);
|
|
6399
6407
|
return {
|
|
6400
6408
|
MODE_KONG_IDENTITY: an,
|
|
6401
6409
|
MODE_EXTERNAL: us,
|
|
@@ -6469,7 +6477,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6469
6477
|
// principals (Gateway 3.15+ required). Drives a warning alert, not field hiding.
|
|
6470
6478
|
hasIncompatibleDataPlane() {
|
|
6471
6479
|
var e;
|
|
6472
|
-
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(
|
|
6480
|
+
return (((e = this.formsConfig) == null ? void 0 : e.dataPlaneVersions) ?? []).some(ag);
|
|
6473
6481
|
},
|
|
6474
6482
|
// Whether principal lookup is on. Kong Identity mode pins this true; External mode
|
|
6475
6483
|
// controls it with the "Use principal lookup" toggle (config-principals-enabled).
|
|
@@ -6508,7 +6516,7 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6508
6516
|
if (((e = this.formsConfig) == null ? void 0 : e.isKongIdentityAuthServersAvailable) !== !1)
|
|
6509
6517
|
try {
|
|
6510
6518
|
this.kongIdentityServersLoading = !0;
|
|
6511
|
-
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${
|
|
6519
|
+
const { axiosInstance: o } = ci((t = this.formsConfig) == null ? void 0 : t.axiosRequestConfig), a = `${this.formsConfig.apiBaseUrl}${tg}`, i = await o.get(a);
|
|
6512
6520
|
this.kongIdentityServers = ((n = i.data) == null ? void 0 : n.data) ?? [];
|
|
6513
6521
|
const r = this.formModel["config-issuer"];
|
|
6514
6522
|
if (r && !this.selectedServer) {
|
|
@@ -6596,27 +6604,27 @@ const Qp = /* @__PURE__ */ J(zp, [["render", Jp], ["__scopeId", "data-v-2e99588b
|
|
|
6596
6604
|
this.onModelUpdated(), this.$emit("mode-change", e);
|
|
6597
6605
|
}
|
|
6598
6606
|
}
|
|
6599
|
-
},
|
|
6607
|
+
}, rg = {
|
|
6600
6608
|
class: "oidc-principals-section",
|
|
6601
6609
|
"data-testid": "oidc-principals-section"
|
|
6602
|
-
},
|
|
6610
|
+
}, lg = { class: "principals-description" }, dg = {
|
|
6603
6611
|
class: "oidc-auth-mode-radio-group",
|
|
6604
6612
|
"data-testid": "oidc-auth-mode-radio-group"
|
|
6605
|
-
},
|
|
6613
|
+
}, cg = { class: "auth-mode-card-content" }, ug = { class: "auth-mode-card-content" }, mg = {
|
|
6606
6614
|
key: 1,
|
|
6607
6615
|
class: "principals-create-guide",
|
|
6608
6616
|
"data-testid": "principals-create-guide"
|
|
6609
|
-
},
|
|
6617
|
+
}, 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
6618
|
key: 1,
|
|
6611
6619
|
class: "principals-create-guide",
|
|
6612
6620
|
"data-testid": "principals-create-guide"
|
|
6613
|
-
},
|
|
6614
|
-
function
|
|
6621
|
+
}, Tg = { class: "principals-create-guide-actions" };
|
|
6622
|
+
function Mg(e, t, n, o, a, i) {
|
|
6615
6623
|
var O;
|
|
6616
6624
|
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",
|
|
6625
|
+
return d(), M("div", rg, [
|
|
6618
6626
|
t[28] || (t[28] = u("div", { class: "principals-header" }, " Who should manage authentication and credentials? ", -1)),
|
|
6619
|
-
u("div",
|
|
6627
|
+
u("div", lg, [
|
|
6620
6628
|
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
6629
|
A(r, { href: "https://developer.konghq.com/plugins/openid-connect/" }, {
|
|
6622
6630
|
default: E(() => [...t[12] || (t[12] = [
|
|
@@ -6625,7 +6633,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6625
6633
|
_: 1
|
|
6626
6634
|
})
|
|
6627
6635
|
]),
|
|
6628
|
-
u("div",
|
|
6636
|
+
u("div", dg, [
|
|
6629
6637
|
A(c, {
|
|
6630
6638
|
modelValue: a.selectedMode,
|
|
6631
6639
|
"onUpdate:modelValue": t[0] || (t[0] = (C) => a.selectedMode = C),
|
|
@@ -6636,7 +6644,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6636
6644
|
onChange: i.handleModeChange
|
|
6637
6645
|
}, {
|
|
6638
6646
|
default: E(() => [
|
|
6639
|
-
u("div",
|
|
6647
|
+
u("div", cg, [
|
|
6640
6648
|
A(l, {
|
|
6641
6649
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6642
6650
|
}, null, 8, ["size"]),
|
|
@@ -6656,7 +6664,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6656
6664
|
onChange: i.handleModeChange
|
|
6657
6665
|
}, {
|
|
6658
6666
|
default: E(() => [
|
|
6659
|
-
u("div",
|
|
6667
|
+
u("div", ug, [
|
|
6660
6668
|
A(m, {
|
|
6661
6669
|
size: `var(--kui-icon-size-40, ${a.KUI_ICON_SIZE_40})`
|
|
6662
6670
|
}, null, 8, ["size"]),
|
|
@@ -6671,10 +6679,10 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6671
6679
|
key: 0,
|
|
6672
6680
|
class: "principals-create-guide-skeleton",
|
|
6673
6681
|
"data-testid": "principals-create-guide-loading"
|
|
6674
|
-
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div",
|
|
6682
|
+
})) : i.principalsGuideVisible && a.selectedMode === a.MODE_KONG_IDENTITY ? (d(), M("div", mg, [
|
|
6675
6683
|
t[20] || (t[20] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6676
6684
|
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",
|
|
6685
|
+
u("div", fg, [
|
|
6678
6686
|
A(g, {
|
|
6679
6687
|
appearance: "primary",
|
|
6680
6688
|
"data-testid": "principals-create-principal",
|
|
@@ -6716,7 +6724,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6716
6724
|
placeholder: "Select an Authorization Server",
|
|
6717
6725
|
required: "",
|
|
6718
6726
|
"onUpdate:modelValue": i.handleServerChange
|
|
6719
|
-
},
|
|
6727
|
+
}, et({ _: 2 }, [
|
|
6720
6728
|
i.canCreateAuthServer ? {
|
|
6721
6729
|
name: "dropdown-footer-text",
|
|
6722
6730
|
fn: E(() => [
|
|
@@ -6766,7 +6774,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6766
6774
|
"model-value": C,
|
|
6767
6775
|
placeholder: "Select a client",
|
|
6768
6776
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6769
|
-
},
|
|
6777
|
+
}, et({ _: 2 }, [
|
|
6770
6778
|
i.canCreateAuthServerClient ? {
|
|
6771
6779
|
name: "dropdown-footer-text",
|
|
6772
6780
|
fn: E(() => [
|
|
@@ -6795,7 +6803,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6795
6803
|
placeholder: "e.g., kong-gateway-client",
|
|
6796
6804
|
"onUpdate:modelValue": (S) => i.handleClientChange(y, S)
|
|
6797
6805
|
}, null, 8, ["label", "model-value", "onUpdate:modelValue"])),
|
|
6798
|
-
u("div",
|
|
6806
|
+
u("div", hg, [
|
|
6799
6807
|
A(v, {
|
|
6800
6808
|
class: "principals-client-secret",
|
|
6801
6809
|
"data-testid": "principals-client-secret",
|
|
@@ -6825,7 +6833,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6825
6833
|
A(F, {
|
|
6826
6834
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6827
6835
|
}, null, 8, ["size"])
|
|
6828
|
-
], 8,
|
|
6836
|
+
], 8, pg)
|
|
6829
6837
|
], 2))), 128)),
|
|
6830
6838
|
u("div", {
|
|
6831
6839
|
class: ne(["add-client-inline", { "add-client-inline-disabled": i.hasAuthServersAccess && !a.selectedServer }]),
|
|
@@ -6846,12 +6854,12 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6846
6854
|
}, 8, ["data-plane-incompatible", "form-model", "on-enabled-change", "on-model-updated"])
|
|
6847
6855
|
], 64)) : (d(), M(Y, { key: 3 }, [
|
|
6848
6856
|
(d(!0), M(Y, null, se(i.clientIdArray, (C, y) => {
|
|
6849
|
-
var S, U,
|
|
6857
|
+
var S, U, V, p, _, I, K, W;
|
|
6850
6858
|
return d(), M("div", {
|
|
6851
6859
|
key: y,
|
|
6852
6860
|
class: ne(["client-row", { "client-row-with-label": y === 0 }])
|
|
6853
6861
|
}, [
|
|
6854
|
-
u("div",
|
|
6862
|
+
u("div", gg, [
|
|
6855
6863
|
A(v, {
|
|
6856
6864
|
class: "external-client-input",
|
|
6857
6865
|
"data-testid": "external-client-id",
|
|
@@ -6863,13 +6871,13 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6863
6871
|
"model-value": i.clientIdArray[y],
|
|
6864
6872
|
placeholder: "e.g., kong-gateway-client",
|
|
6865
6873
|
"onUpdate:modelValue": (ee) => i.handleClientChange(y, ee)
|
|
6866
|
-
},
|
|
6867
|
-
(
|
|
6874
|
+
}, et({ _: 2 }, [
|
|
6875
|
+
(V = n.formOptions) != null && V.helpAsHtml && ((p = i.externalClientIdField) != null && p.help) ? {
|
|
6868
6876
|
name: "label-tooltip",
|
|
6869
6877
|
fn: E(() => [
|
|
6870
6878
|
u("div", {
|
|
6871
6879
|
innerHTML: i.sanitize(i.externalClientIdField.help)
|
|
6872
|
-
}, null, 8,
|
|
6880
|
+
}, null, 8, yg)
|
|
6873
6881
|
]),
|
|
6874
6882
|
key: "0"
|
|
6875
6883
|
} : void 0
|
|
@@ -6881,7 +6889,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6881
6889
|
value: i.clientIdArray[y]
|
|
6882
6890
|
}, null, 8, ["update", "value"])) : z("", !0)
|
|
6883
6891
|
]),
|
|
6884
|
-
u("div",
|
|
6892
|
+
u("div", vg, [
|
|
6885
6893
|
A(v, {
|
|
6886
6894
|
class: "external-client-input",
|
|
6887
6895
|
"data-testid": "external-client-secret",
|
|
@@ -6895,13 +6903,13 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6895
6903
|
"show-password-mask-toggle": "",
|
|
6896
6904
|
type: "password",
|
|
6897
6905
|
"onUpdate:modelValue": (ee) => i.handleClientSecretChange(y, ee)
|
|
6898
|
-
},
|
|
6906
|
+
}, et({ _: 2 }, [
|
|
6899
6907
|
(K = n.formOptions) != null && K.helpAsHtml && ((W = i.externalClientSecretField) != null && W.help) ? {
|
|
6900
6908
|
name: "label-tooltip",
|
|
6901
6909
|
fn: E(() => [
|
|
6902
6910
|
u("div", {
|
|
6903
6911
|
innerHTML: i.sanitize(i.externalClientSecretField.help)
|
|
6904
|
-
}, null, 8,
|
|
6912
|
+
}, null, 8, bg)
|
|
6905
6913
|
]),
|
|
6906
6914
|
key: "0"
|
|
6907
6915
|
} : void 0
|
|
@@ -6924,7 +6932,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6924
6932
|
A(F, {
|
|
6925
6933
|
size: `var(--kui-icon-size-30, ${a.KUI_ICON_SIZE_30})`
|
|
6926
6934
|
}, null, 8, ["size"])
|
|
6927
|
-
], 8,
|
|
6935
|
+
], 8, _g)
|
|
6928
6936
|
], 2);
|
|
6929
6937
|
}), 128)),
|
|
6930
6938
|
u("div", {
|
|
@@ -6952,10 +6960,10 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6952
6960
|
key: 0,
|
|
6953
6961
|
class: "principals-create-guide-skeleton",
|
|
6954
6962
|
"data-testid": "principals-create-guide-loading"
|
|
6955
|
-
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div",
|
|
6963
|
+
})) : i.isKonnect && ((y = i.formsConfig) != null && y.principalsCreationGuideVisible) ? (d(), M("div", Sg, [
|
|
6956
6964
|
t[26] || (t[26] = u("div", { class: "principals-create-guide-title" }, " Add principals ", -1)),
|
|
6957
6965
|
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",
|
|
6966
|
+
u("div", Tg, [
|
|
6959
6967
|
A(g, {
|
|
6960
6968
|
appearance: "primary",
|
|
6961
6969
|
"data-testid": "principals-create-principal",
|
|
@@ -6998,7 +7006,7 @@ function Tg(e, t, n, o, a, i) {
|
|
|
6998
7006
|
}, null, 8, ["visible", "onProceed"])
|
|
6999
7007
|
]);
|
|
7000
7008
|
}
|
|
7001
|
-
const
|
|
7009
|
+
const wg = /* @__PURE__ */ J(sg, [["render", Mg], ["__scopeId", "data-v-0f745511"]]), Ag = {
|
|
7002
7010
|
name: "OIDCAuthMethods",
|
|
7003
7011
|
props: {
|
|
7004
7012
|
authMethodItems: {
|
|
@@ -7020,10 +7028,10 @@ const Mg = /* @__PURE__ */ J(og, [["render", Tg], ["__scopeId", "data-v-0f745511
|
|
|
7020
7028
|
}
|
|
7021
7029
|
},
|
|
7022
7030
|
emits: ["select", "session-change"]
|
|
7023
|
-
},
|
|
7024
|
-
function
|
|
7031
|
+
}, Eg = { class: "oidc-auth-methods" }, Ig = { class: "session-management-section" }, Cg = { class: "session-radio-group" };
|
|
7032
|
+
function Og(e, t, n, o, a, i) {
|
|
7025
7033
|
const r = k("KLabel"), l = k("KMultiselect"), c = k("KRadio");
|
|
7026
|
-
return d(), M("div",
|
|
7034
|
+
return d(), M("div", Eg, [
|
|
7027
7035
|
A(r, null, {
|
|
7028
7036
|
default: E(() => [...t[3] || (t[3] = [
|
|
7029
7037
|
Z("Authentication methods", -1)
|
|
@@ -7040,14 +7048,14 @@ function Cg(e, t, n, o, a, i) {
|
|
|
7040
7048
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.$emit("select", m))
|
|
7041
7049
|
}, null, 8, ["items", "model-value"])),
|
|
7042
7050
|
t[5] || (t[5] = u("p", { class: "auth-methods-hint" }, " Configure which OAuth and OpenID Connect features are supported. ", -1)),
|
|
7043
|
-
u("div",
|
|
7051
|
+
u("div", Ig, [
|
|
7044
7052
|
A(r, null, {
|
|
7045
7053
|
default: E(() => [...t[4] || (t[4] = [
|
|
7046
7054
|
Z("Session management", -1)
|
|
7047
7055
|
])]),
|
|
7048
7056
|
_: 1
|
|
7049
7057
|
}),
|
|
7050
|
-
u("div",
|
|
7058
|
+
u("div", Cg, [
|
|
7051
7059
|
A(c, {
|
|
7052
7060
|
"data-testid": "session-radio-use",
|
|
7053
7061
|
description: "Issue a session cookie after successful authentication. Subsequent requests use the session instead of re-authenticating with the identity provider.",
|
|
@@ -7068,7 +7076,7 @@ function Cg(e, t, n, o, a, i) {
|
|
|
7068
7076
|
])
|
|
7069
7077
|
]);
|
|
7070
7078
|
}
|
|
7071
|
-
const
|
|
7079
|
+
const kg = /* @__PURE__ */ J(Ag, [["render", Og], ["__scopeId", "data-v-8c1cdc7c"]]), Xt = {
|
|
7072
7080
|
openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
|
|
7073
7081
|
openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
|
|
7074
7082
|
openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
|
|
@@ -7096,9 +7104,9 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7096
7104
|
"config-groups_claim",
|
|
7097
7105
|
"config-groups_required",
|
|
7098
7106
|
"config-authenticated_groups_claim"
|
|
7099
|
-
]), di = ["bearer", "client_credentials", "introspection", "userinfo"],
|
|
7107
|
+
]), di = ["bearer", "client_credentials", "introspection", "userinfo"], Rg = "identity.konghq", Fg = (e) => typeof e == "string" && e.includes(Rg), Ng = {
|
|
7100
7108
|
name: "OIDCForm",
|
|
7101
|
-
components: { VueFormGenerator: pe, OIDCPrincipals:
|
|
7109
|
+
components: { VueFormGenerator: pe, OIDCPrincipals: wg, OIDCAuthMethods: kg },
|
|
7102
7110
|
provide() {
|
|
7103
7111
|
var e;
|
|
7104
7112
|
return {
|
|
@@ -7215,7 +7223,7 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7215
7223
|
return this.isKonnect;
|
|
7216
7224
|
},
|
|
7217
7225
|
authMethodItems() {
|
|
7218
|
-
return ((this.principalsMode !== null ? this.principalsMode === "kong-identity" :
|
|
7226
|
+
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
7227
|
label: n.label,
|
|
7220
7228
|
value: n.value
|
|
7221
7229
|
}));
|
|
@@ -7388,8 +7396,8 @@ const Og = /* @__PURE__ */ J(wg, [["render", Cg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7388
7396
|
}
|
|
7389
7397
|
}
|
|
7390
7398
|
}
|
|
7391
|
-
},
|
|
7392
|
-
function
|
|
7399
|
+
}, 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" };
|
|
7400
|
+
function xg(e, t, n, o, a, i) {
|
|
7393
7401
|
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
7402
|
return d(), M("div", null, [
|
|
7395
7403
|
n.formModel.id && n.isEditing || !n.isEditing ? (d(), L(r, {
|
|
@@ -7402,8 +7410,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7402
7410
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7403
7411
|
A(T, { tabs: a.tabs }, {
|
|
7404
7412
|
common: E(() => [
|
|
7405
|
-
u("div",
|
|
7406
|
-
u("div",
|
|
7413
|
+
u("div", Ug, [
|
|
7414
|
+
u("div", Lg, [
|
|
7407
7415
|
A(l, { href: a.openIdConfigurationDocs }, {
|
|
7408
7416
|
default: E(() => [...t[4] || (t[4] = [
|
|
7409
7417
|
u("span", { class: "section-header" }, "Common Configuration Settings", -1)
|
|
@@ -7458,7 +7466,7 @@ function jg(e, t, n, o, a, i) {
|
|
|
7458
7466
|
])]),
|
|
7459
7467
|
_: 1
|
|
7460
7468
|
}),
|
|
7461
|
-
u("div",
|
|
7469
|
+
u("div", Dg, [
|
|
7462
7470
|
(d(!0), M(Y, null, se(a.authMethods, (w) => (d(), M("div", {
|
|
7463
7471
|
key: w.value,
|
|
7464
7472
|
class: "auth-method"
|
|
@@ -7488,8 +7496,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7488
7496
|
])
|
|
7489
7497
|
]),
|
|
7490
7498
|
authorization: E(() => [
|
|
7491
|
-
u("div",
|
|
7492
|
-
u("div",
|
|
7499
|
+
u("div", Pg, [
|
|
7500
|
+
u("div", Vg, [
|
|
7493
7501
|
A(l, { href: a.openIdAuthorizationDocs }, {
|
|
7494
7502
|
default: E(() => [...t[7] || (t[7] = [
|
|
7495
7503
|
u("span", { class: "section-header" }, "Authorization Configuration Settings", -1)
|
|
@@ -7513,8 +7521,8 @@ function jg(e, t, n, o, a, i) {
|
|
|
7513
7521
|
])
|
|
7514
7522
|
]),
|
|
7515
7523
|
advanced: E(() => [
|
|
7516
|
-
u("div",
|
|
7517
|
-
u("div",
|
|
7524
|
+
u("div", Kg, [
|
|
7525
|
+
u("div", jg, [
|
|
7518
7526
|
A(l, { href: a.openIdConnectLink }, {
|
|
7519
7527
|
default: E(() => [...t[9] || (t[9] = [
|
|
7520
7528
|
u("span", { class: "section-header" }, "Advanced Configuration Settings", -1)
|
|
@@ -7541,7 +7549,7 @@ function jg(e, t, n, o, a, i) {
|
|
|
7541
7549
|
}, 8, ["tabs"])
|
|
7542
7550
|
]);
|
|
7543
7551
|
}
|
|
7544
|
-
const
|
|
7552
|
+
const $g = /* @__PURE__ */ J(Ng, [["render", xg], ["__scopeId", "data-v-e20914ca"]]), zg = /* @__PURE__ */ be({
|
|
7545
7553
|
__name: "PostFunction",
|
|
7546
7554
|
props: {
|
|
7547
7555
|
formModel: {
|
|
@@ -7584,7 +7592,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7584
7592
|
onModelUpdated: e.onModelUpdated
|
|
7585
7593
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7586
7594
|
}
|
|
7587
|
-
}),
|
|
7595
|
+
}), qg = /* @__PURE__ */ J(zg, [["__scopeId", "data-v-f54f37ae"]]), Bg = /* @__PURE__ */ be({
|
|
7588
7596
|
__name: "ExitTransformer",
|
|
7589
7597
|
props: {
|
|
7590
7598
|
formModel: {
|
|
@@ -7627,7 +7635,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7627
7635
|
onModelUpdated: e.onModelUpdated
|
|
7628
7636
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0);
|
|
7629
7637
|
}
|
|
7630
|
-
}),
|
|
7638
|
+
}), Hg = /* @__PURE__ */ J(Bg, [["__scopeId", "data-v-0d5c541f"]]), Gg = {
|
|
7631
7639
|
fields: [
|
|
7632
7640
|
{
|
|
7633
7641
|
inputType: "text",
|
|
@@ -7662,7 +7670,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7662
7670
|
disabled: !1
|
|
7663
7671
|
}
|
|
7664
7672
|
]
|
|
7665
|
-
},
|
|
7673
|
+
}, Yg = {
|
|
7666
7674
|
fields: [
|
|
7667
7675
|
{
|
|
7668
7676
|
type: "input",
|
|
@@ -7684,7 +7692,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7684
7692
|
disabled: !1
|
|
7685
7693
|
}
|
|
7686
7694
|
]
|
|
7687
|
-
},
|
|
7695
|
+
}, Wg = {
|
|
7688
7696
|
fields: [
|
|
7689
7697
|
{
|
|
7690
7698
|
type: "input",
|
|
@@ -7715,7 +7723,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7715
7723
|
disabled: !1
|
|
7716
7724
|
}
|
|
7717
7725
|
]
|
|
7718
|
-
},
|
|
7726
|
+
}, Zg = { class: "general-settings" }, Xg = { class: "sub-form" }, Jg = { class: "general-settings" }, Qg = { class: "sub-form" }, ey = { class: "general-settings" }, ty = /* @__PURE__ */ be({
|
|
7719
7727
|
__name: "ACMEForm",
|
|
7720
7728
|
props: {
|
|
7721
7729
|
formModel: {
|
|
@@ -7752,26 +7760,26 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7752
7760
|
return y;
|
|
7753
7761
|
}), i = B(() => {
|
|
7754
7762
|
var S;
|
|
7755
|
-
const y = Qe(
|
|
7763
|
+
const y = Qe(Gg);
|
|
7756
7764
|
for (const U of y.fields) {
|
|
7757
|
-
const
|
|
7758
|
-
U.help === void 0 && typeof
|
|
7765
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7766
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7759
7767
|
}
|
|
7760
7768
|
return y;
|
|
7761
7769
|
}), r = B(() => {
|
|
7762
7770
|
var S;
|
|
7763
|
-
const y = Qe(
|
|
7771
|
+
const y = Qe(Yg);
|
|
7764
7772
|
for (const U of y.fields) {
|
|
7765
|
-
const
|
|
7766
|
-
U.help === void 0 && typeof
|
|
7773
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7774
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7767
7775
|
}
|
|
7768
7776
|
return y;
|
|
7769
7777
|
}), l = B(() => {
|
|
7770
7778
|
var S;
|
|
7771
|
-
const y = Qe(
|
|
7779
|
+
const y = Qe(Wg);
|
|
7772
7780
|
for (const U of y.fields) {
|
|
7773
|
-
const
|
|
7774
|
-
U.help === void 0 && typeof
|
|
7781
|
+
const V = (S = a.value[U.model]) == null ? void 0 : S.help;
|
|
7782
|
+
U.help === void 0 && typeof V == "string" && (U.help = V);
|
|
7775
7783
|
}
|
|
7776
7784
|
return y;
|
|
7777
7785
|
}), c = B(() => ({
|
|
@@ -7829,7 +7837,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7829
7837
|
S === "config-storage" && (o.value = y), t.onModelUpdated();
|
|
7830
7838
|
};
|
|
7831
7839
|
return (y, S) => {
|
|
7832
|
-
const U = k("KSelect"),
|
|
7840
|
+
const U = k("KSelect"), V = k("KTabs");
|
|
7833
7841
|
return d(), M("div", null, [
|
|
7834
7842
|
e.formModel.id && e.isEditing || !e.isEditing ? (d(), L(pe, {
|
|
7835
7843
|
key: 0,
|
|
@@ -7839,9 +7847,9 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7839
7847
|
schema: c.value,
|
|
7840
7848
|
onModelUpdated: e.onModelUpdated
|
|
7841
7849
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : z("", !0),
|
|
7842
|
-
A(
|
|
7850
|
+
A(V, { tabs: D }, {
|
|
7843
7851
|
general: E(() => [
|
|
7844
|
-
u("div",
|
|
7852
|
+
u("div", Zg, [
|
|
7845
7853
|
S[0] || (S[0] = u("div", { class: "header-wrapper" }, [
|
|
7846
7854
|
u("span", { class: "section-header" }, "General Configuration Settings")
|
|
7847
7855
|
], -1)),
|
|
@@ -7860,7 +7868,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7860
7868
|
label: "Issuer",
|
|
7861
7869
|
onChange: j
|
|
7862
7870
|
}),
|
|
7863
|
-
u("div",
|
|
7871
|
+
u("div", Xg, [
|
|
7864
7872
|
n.value === "letsEncrypt" ? (d(), L(pe, {
|
|
7865
7873
|
key: 0,
|
|
7866
7874
|
model: e.formModel,
|
|
@@ -7879,7 +7887,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7879
7887
|
])
|
|
7880
7888
|
]),
|
|
7881
7889
|
storage: E(() => [
|
|
7882
|
-
u("div",
|
|
7890
|
+
u("div", Jg, [
|
|
7883
7891
|
S[3] || (S[3] = u("div", { class: "header-wrapper" }, [
|
|
7884
7892
|
u("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
7885
7893
|
], -1)),
|
|
@@ -7891,7 +7899,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7891
7899
|
schema: b.value,
|
|
7892
7900
|
onModelUpdated: O
|
|
7893
7901
|
}, null, 8, ["model", "options", "schema"])) : z("", !0),
|
|
7894
|
-
u("div",
|
|
7902
|
+
u("div", Qg, [
|
|
7895
7903
|
o.value === "consul" ? (d(), L(pe, {
|
|
7896
7904
|
key: 0,
|
|
7897
7905
|
model: e.formModel,
|
|
@@ -7924,7 +7932,7 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7924
7932
|
])
|
|
7925
7933
|
]),
|
|
7926
7934
|
advanced: E(() => [
|
|
7927
|
-
u("div",
|
|
7935
|
+
u("div", ey, [
|
|
7928
7936
|
S[5] || (S[5] = u("div", { class: "header-wrapper" }, [
|
|
7929
7937
|
u("span", { class: "section-header" }, "Advanced Configuration Settings")
|
|
7930
7938
|
], -1)),
|
|
@@ -7943,13 +7951,13 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7943
7951
|
]);
|
|
7944
7952
|
};
|
|
7945
7953
|
}
|
|
7946
|
-
}),
|
|
7954
|
+
}), 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
7955
|
key: 0,
|
|
7948
7956
|
class: "rla-form-request-limits-examples"
|
|
7949
|
-
},
|
|
7957
|
+
}, hy = { class: "rla-form-request-limits-examples-badges" }, py = ["innerHTML"], gy = {
|
|
7950
7958
|
id: "rla-form-error-legend",
|
|
7951
7959
|
class: "rla-form-error-inputs"
|
|
7952
|
-
},
|
|
7960
|
+
}, yy = /* @__PURE__ */ be({
|
|
7953
7961
|
__name: "RLAForm",
|
|
7954
7962
|
props: {
|
|
7955
7963
|
formSchema: {},
|
|
@@ -7963,8 +7971,8 @@ const xg = /* @__PURE__ */ J(Fg, [["render", jg], ["__scopeId", "data-v-e20914ca
|
|
|
7963
7971
|
isKonnectManagedRedisEnabled: { type: Boolean }
|
|
7964
7972
|
},
|
|
7965
7973
|
setup(e) {
|
|
7966
|
-
var
|
|
7967
|
-
ln(Le, (
|
|
7974
|
+
var V;
|
|
7975
|
+
ln(Le, (V = Mn()) == null ? void 0 : V[jt]);
|
|
7968
7976
|
const t = {
|
|
7969
7977
|
fixed: [
|
|
7970
7978
|
{
|
|
@@ -8034,9 +8042,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8034
8042
|
const p = (($e = (ee = i.formSchema) == null ? void 0 : ee.fields) == null ? void 0 : $e.filter((ge) => !o(ge.model))) ?? [], _ = [], I = [], K = [];
|
|
8035
8043
|
let W = !1;
|
|
8036
8044
|
for (const ge of p) {
|
|
8037
|
-
const
|
|
8038
|
-
if (
|
|
8039
|
-
if (
|
|
8045
|
+
const at = ge.model;
|
|
8046
|
+
if (at !== void 0) {
|
|
8047
|
+
if (at.startsWith("config-redis-")) {
|
|
8040
8048
|
(ge.model === "config-redis-cluster_addresses" || ge.model === "config-redis-sentinel_addresses") && (ge.inputAttributes.help = a("rla.redis.address_example")), I.push(ge);
|
|
8041
8049
|
continue;
|
|
8042
8050
|
}
|
|
@@ -8070,7 +8078,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8070
8078
|
), w = B(() => {
|
|
8071
8079
|
var _, I, K, W, ee, $e;
|
|
8072
8080
|
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,
|
|
8081
|
+
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
8082
|
}), v = B(() => {
|
|
8075
8083
|
var _;
|
|
8076
8084
|
const p = (_ = i.formModel["config-limit"]) == null ? void 0 : _.map((I, K) => {
|
|
@@ -8134,16 +8142,16 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8134
8142
|
return dn(() => i.formModel["config-strategy"], (p) => {
|
|
8135
8143
|
p !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
|
|
8136
8144
|
}), (p, _) => {
|
|
8137
|
-
const I = k("KLabel"), K = k("KRadio"), W = k("KInput"), ee = k("KButton"), $e = k("KBadge"), ge = k("KTooltip"),
|
|
8145
|
+
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
8146
|
return d(), M(Y, null, [
|
|
8139
|
-
u("div",
|
|
8147
|
+
u("div", iy, [
|
|
8140
8148
|
A(pe, {
|
|
8141
8149
|
model: e.formModel,
|
|
8142
8150
|
options: e.formOptions,
|
|
8143
8151
|
schema: r.value,
|
|
8144
8152
|
onModelUpdated: _[0] || (_[0] = (q, ce) => e.onModelUpdated(q, ce))
|
|
8145
8153
|
}, null, 8, ["model", "options", "schema"]),
|
|
8146
|
-
A(
|
|
8154
|
+
A(at, { class: "rla-form-request-limits" }, {
|
|
8147
8155
|
title: E(() => [
|
|
8148
8156
|
A(I, {
|
|
8149
8157
|
class: "rla-form-request-limits-title",
|
|
@@ -8151,15 +8159,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8151
8159
|
required: ""
|
|
8152
8160
|
}, {
|
|
8153
8161
|
default: E(() => [
|
|
8154
|
-
Z($(
|
|
8162
|
+
Z($(P(a)("rla.request_limits.title")), 1)
|
|
8155
8163
|
]),
|
|
8156
8164
|
_: 1
|
|
8157
8165
|
}),
|
|
8158
|
-
u("div",
|
|
8166
|
+
u("div", ay, $(P(a)("rla.request_limits.subtitle")), 1)
|
|
8159
8167
|
]),
|
|
8160
8168
|
default: E(() => [
|
|
8161
|
-
u("div",
|
|
8162
|
-
u("div",
|
|
8169
|
+
u("div", oy, [
|
|
8170
|
+
u("div", sy, [
|
|
8163
8171
|
A(I, {
|
|
8164
8172
|
class: "rla-form-window-type-label",
|
|
8165
8173
|
"tooltip-attributes": {
|
|
@@ -8169,15 +8177,15 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8169
8177
|
}, {
|
|
8170
8178
|
tooltip: E(() => [
|
|
8171
8179
|
u("div", {
|
|
8172
|
-
innerHTML:
|
|
8173
|
-
}, null, 8,
|
|
8180
|
+
innerHTML: P(a)("rla.window_type.help")
|
|
8181
|
+
}, null, 8, ry)
|
|
8174
8182
|
]),
|
|
8175
8183
|
default: E(() => [
|
|
8176
|
-
Z($(
|
|
8184
|
+
Z($(P(a)("rla.window_type.label")) + " ", 1)
|
|
8177
8185
|
]),
|
|
8178
8186
|
_: 1
|
|
8179
8187
|
}),
|
|
8180
|
-
u("div",
|
|
8188
|
+
u("div", ly, [
|
|
8181
8189
|
(d(!0), M(Y, null, se(w.value, (q) => (d(), L(K, {
|
|
8182
8190
|
key: `window-type-${q}`,
|
|
8183
8191
|
"model-value": T.value,
|
|
@@ -8186,13 +8194,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8186
8194
|
"onUpdate:modelValue": O
|
|
8187
8195
|
}, {
|
|
8188
8196
|
default: E(() => [
|
|
8189
|
-
Z($(
|
|
8197
|
+
Z($(P(a)(`rla.window_type.options.${q}`)), 1)
|
|
8190
8198
|
]),
|
|
8191
8199
|
_: 2
|
|
8192
8200
|
}, 1032, ["model-value", "name", "selected-value"]))), 128))
|
|
8193
8201
|
])
|
|
8194
8202
|
]),
|
|
8195
|
-
u("div",
|
|
8203
|
+
u("div", dy, [
|
|
8196
8204
|
(d(!0), M(Y, null, se(v.value, (q, ce) => (d(), M("div", {
|
|
8197
8205
|
key: ce.toString()
|
|
8198
8206
|
}, [
|
|
@@ -8200,38 +8208,38 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8200
8208
|
for: `rla-form-request-limits-item-${ce}-legend`
|
|
8201
8209
|
}, {
|
|
8202
8210
|
default: E(() => [
|
|
8203
|
-
Z($(
|
|
8211
|
+
Z($(P(a)("rla.request_limits.label_index", { index: ce + 1 })), 1)
|
|
8204
8212
|
]),
|
|
8205
8213
|
_: 2
|
|
8206
8214
|
}, 1032, ["for"]),
|
|
8207
|
-
u("div",
|
|
8215
|
+
u("div", cy, [
|
|
8208
8216
|
u("legend", {
|
|
8209
8217
|
id: `rla-form-request-limits-item-${ce}-legend`,
|
|
8210
8218
|
class: "rla-form-request-limits-inputs"
|
|
8211
8219
|
}, [
|
|
8212
8220
|
A(W, {
|
|
8213
8221
|
"model-value": q.limit && q.limit.toString(),
|
|
8214
|
-
placeholder:
|
|
8222
|
+
placeholder: P(a)("rla.request_limits.request_number"),
|
|
8215
8223
|
type: "number",
|
|
8216
8224
|
"onUpdate:modelValue": ($t) => C(ce, Number.parseInt($t))
|
|
8217
8225
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8218
|
-
u("div", null, $(
|
|
8226
|
+
u("div", null, $(P(a)("rla.request_limits.interval_determiner")), 1),
|
|
8219
8227
|
A(W, {
|
|
8220
8228
|
"model-value": q.windowSize && q.windowSize.toString(),
|
|
8221
|
-
placeholder:
|
|
8229
|
+
placeholder: P(a)("rla.request_limits.time_interval"),
|
|
8222
8230
|
type: "number",
|
|
8223
8231
|
"onUpdate:modelValue": ($t) => y(ce, Number.parseInt($t))
|
|
8224
8232
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
8225
|
-
u("div", null, $(
|
|
8226
|
-
], 8,
|
|
8227
|
-
u("div",
|
|
8233
|
+
u("div", null, $(P(a)("rla.request_limits.seconds")), 1)
|
|
8234
|
+
], 8, uy),
|
|
8235
|
+
u("div", my, [
|
|
8228
8236
|
A(ee, {
|
|
8229
8237
|
appearance: "tertiary",
|
|
8230
8238
|
disabled: v.value.length <= 1,
|
|
8231
8239
|
onClick: () => U(ce)
|
|
8232
8240
|
}, {
|
|
8233
8241
|
default: E(() => [
|
|
8234
|
-
A(
|
|
8242
|
+
A(P(Hs))
|
|
8235
8243
|
]),
|
|
8236
8244
|
_: 1
|
|
8237
8245
|
}, 8, ["disabled", "onClick"]),
|
|
@@ -8240,7 +8248,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8240
8248
|
onClick: () => S(ce)
|
|
8241
8249
|
}, {
|
|
8242
8250
|
default: E(() => [
|
|
8243
|
-
A(
|
|
8251
|
+
A(P(wn))
|
|
8244
8252
|
]),
|
|
8245
8253
|
_: 1
|
|
8246
8254
|
}, 8, ["onClick"])
|
|
@@ -8248,9 +8256,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8248
8256
|
])
|
|
8249
8257
|
]))), 128))
|
|
8250
8258
|
]),
|
|
8251
|
-
c.value.length > 0 ? (d(), M("div",
|
|
8252
|
-
u("div", null, $(
|
|
8253
|
-
u("div",
|
|
8259
|
+
c.value.length > 0 ? (d(), M("div", fy, [
|
|
8260
|
+
u("div", null, $(P(a)("rla.start_with_a_use_case")), 1),
|
|
8261
|
+
u("div", hy, [
|
|
8254
8262
|
(d(!0), M(Y, null, se(c.value, (q, ce) => (d(), L(ge, {
|
|
8255
8263
|
key: `use-case-${ce}`,
|
|
8256
8264
|
"max-width": "300"
|
|
@@ -8258,8 +8266,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8258
8266
|
content: E(() => [
|
|
8259
8267
|
u("div", null, $(q.description), 1),
|
|
8260
8268
|
_[10] || (_[10] = u("br", null, null, -1)),
|
|
8261
|
-
u("div", null, $(
|
|
8262
|
-
u("div", null, $(
|
|
8269
|
+
u("div", null, $(P(a)("rla.request_limits.label")) + ": " + $(q.config.limit), 1),
|
|
8270
|
+
u("div", null, $(P(a)("rla.request_limits.time_interval")) + ": " + $(q.config.window_size), 1)
|
|
8263
8271
|
]),
|
|
8264
8272
|
default: E(() => [
|
|
8265
8273
|
A($e, {
|
|
@@ -8286,7 +8294,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8286
8294
|
"onUpdate:modelValue": _[1] || (_[1] = (q) => F.value = q),
|
|
8287
8295
|
class: "rla-form-identifiers",
|
|
8288
8296
|
items: b.value,
|
|
8289
|
-
label:
|
|
8297
|
+
label: P(a)("rla.identifiers.label"),
|
|
8290
8298
|
"label-attributes": {
|
|
8291
8299
|
tooltipAttributes: {
|
|
8292
8300
|
maxWidth: "300",
|
|
@@ -8299,14 +8307,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8299
8307
|
"label-tooltip": E(() => [
|
|
8300
8308
|
u("div", {
|
|
8301
8309
|
innerHTML: m.value && m.value.help
|
|
8302
|
-
}, null, 8,
|
|
8310
|
+
}, null, 8, py)
|
|
8303
8311
|
]),
|
|
8304
8312
|
_: 1
|
|
8305
8313
|
}, 8, ["modelValue", "items", "label"]),
|
|
8306
8314
|
u("div", null, [
|
|
8307
8315
|
A(I, {
|
|
8308
8316
|
for: "rla-form-error-legend",
|
|
8309
|
-
info:
|
|
8317
|
+
info: P(a)("rla.error_message.help"),
|
|
8310
8318
|
required: "",
|
|
8311
8319
|
"tooltip-attributes": {
|
|
8312
8320
|
maxWidth: "300",
|
|
@@ -8314,22 +8322,22 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8314
8322
|
}
|
|
8315
8323
|
}, {
|
|
8316
8324
|
default: E(() => [
|
|
8317
|
-
Z($(
|
|
8325
|
+
Z($(P(a)("rla.error_message.label")), 1)
|
|
8318
8326
|
]),
|
|
8319
8327
|
_: 1
|
|
8320
8328
|
}, 8, ["info"]),
|
|
8321
|
-
u("legend",
|
|
8329
|
+
u("legend", gy, [
|
|
8322
8330
|
A(W, {
|
|
8323
8331
|
class: "input-error-code",
|
|
8324
8332
|
"model-value": D.value && D.value.toString(),
|
|
8325
|
-
placeholder:
|
|
8333
|
+
placeholder: P(a)("rla.error_message.code_placeholder"),
|
|
8326
8334
|
type: "number",
|
|
8327
8335
|
"onUpdate:modelValue": _[3] || (_[3] = (q) => e.onModelUpdated(Number.parseInt(q), "config-error_code"))
|
|
8328
8336
|
}, null, 8, ["model-value", "placeholder"]),
|
|
8329
8337
|
_[11] || (_[11] = u("div", null, ":", -1)),
|
|
8330
8338
|
A(W, {
|
|
8331
8339
|
"model-value": H.value,
|
|
8332
|
-
placeholder:
|
|
8340
|
+
placeholder: P(a)("rla.error_message.message_placeholder"),
|
|
8333
8341
|
"onUpdate:modelValue": _[4] || (_[4] = (q) => e.onModelUpdated(q, "config-error_message"))
|
|
8334
8342
|
}, null, 8, ["model-value", "placeholder"])
|
|
8335
8343
|
])
|
|
@@ -8339,7 +8347,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8339
8347
|
modelValue: g.value,
|
|
8340
8348
|
"onUpdate:modelValue": _[9] || (_[9] = (q) => g.value = q),
|
|
8341
8349
|
"data-testid": "view-advanced",
|
|
8342
|
-
"trigger-label":
|
|
8350
|
+
"trigger-label": P(a)("rla.view_advanced")
|
|
8343
8351
|
}, {
|
|
8344
8352
|
default: E(() => [
|
|
8345
8353
|
A(pe, {
|
|
@@ -8351,7 +8359,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8351
8359
|
e.formModel["config-strategy"] === "redis" ? (d(), L(le(e.enableRedisPartial ? "div" : "KCard"), {
|
|
8352
8360
|
key: 0,
|
|
8353
8361
|
class: "rla-form-redis-card",
|
|
8354
|
-
title:
|
|
8362
|
+
title: P(a)("rla.redis.title")
|
|
8355
8363
|
}, {
|
|
8356
8364
|
default: E(() => [
|
|
8357
8365
|
A(pe, {
|
|
@@ -8381,20 +8389,20 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8381
8389
|
], 64);
|
|
8382
8390
|
};
|
|
8383
8391
|
}
|
|
8384
|
-
}),
|
|
8392
|
+
}), vy = /* @__PURE__ */ J(yy, [["__scopeId", "data-v-c304263d"]]), Ey = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8385
8393
|
__proto__: null,
|
|
8386
|
-
ACMEForm:
|
|
8387
|
-
ExitTransformer:
|
|
8388
|
-
OIDCForm:
|
|
8389
|
-
PostFunction:
|
|
8390
|
-
RLAForm:
|
|
8391
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8394
|
+
ACMEForm: ny,
|
|
8395
|
+
ExitTransformer: Hg,
|
|
8396
|
+
OIDCForm: $g,
|
|
8397
|
+
PostFunction: qg,
|
|
8398
|
+
RLAForm: vy
|
|
8399
|
+
}, Symbol.toStringTag, { value: "Module" })), Iy = [
|
|
8392
8400
|
"array",
|
|
8393
8401
|
"metric",
|
|
8394
8402
|
"advanced",
|
|
8395
8403
|
"selectionGroup",
|
|
8396
8404
|
"object-advanced"
|
|
8397
|
-
],
|
|
8405
|
+
], Cy = (e) => ({
|
|
8398
8406
|
"openid-connect": "OIDCForm",
|
|
8399
8407
|
"post-function": "PostFunction",
|
|
8400
8408
|
// Pre and Post function plugins are using same component
|
|
@@ -8412,11 +8420,11 @@ export {
|
|
|
8412
8420
|
uf as FieldScopedEntitySelect,
|
|
8413
8421
|
Tn as PartialType,
|
|
8414
8422
|
id as REDIS_PARTIAL_FETCHER_KEY,
|
|
8415
|
-
|
|
8423
|
+
wy as REDIS_PARTIAL_INFO,
|
|
8416
8424
|
pe as VueFormGenerator,
|
|
8417
|
-
|
|
8425
|
+
Ay as abstractField,
|
|
8418
8426
|
Be as composables,
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8427
|
+
Iy as customFields,
|
|
8428
|
+
Cy as getSharedFormName,
|
|
8429
|
+
Ey as sharedForms
|
|
8422
8430
|
};
|