@kong-ui-public/forms 4.33.7-pr.3622.3577dc07f.0 → 4.33.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/forms.es.js +176 -160
- package/dist/forms.umd.js +4 -4
- package/dist/style.css +1 -1
- package/dist/types/components/fields/FieldArray.vue.d.ts +4 -4
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldAutoSuggest.vue.d.ts.map +1 -1
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts +2 -2
- package/dist/types/components/fields/FieldAutoSuggestLegacy.vue.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/forms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as d, createElementBlock as _, createElementVNode as c, toDisplayString as V, normalizeClass as ee, createVNode as S, defineComponent as ye, provide as rn, resolveComponent as k, withCtx as A, renderSlot as Se, unref as U, createTextVNode as Z, useModel as Ps, createBlock as F, createSlots as Qe, mergeModels as na, inject as an, ref as oe, onMounted as bi, watch as ln, resolveDynamicComponent as se, Fragment as G, renderList as ae, computed as x, toRefs as Tt, onBeforeMount as _i, mergeProps as et, Transition as Ds, createCommentVNode as K, resolveDirective as ro, withDirectives as ke, vModelText as Jt, vModelCheckbox as Vs, vModelSelect as Ks, vModelDynamic as lo, isRef as Vt, toRef as co, vModelRadio as js, vShow as xs, withModifiers as ia, normalizeProps as
|
|
1
|
+
import { openBlock as d, createElementBlock as _, createElementVNode as c, toDisplayString as V, normalizeClass as ee, createVNode as S, defineComponent as ye, provide as rn, resolveComponent as k, withCtx as A, renderSlot as Se, unref as U, createTextVNode as Z, useModel as Ps, createBlock as F, createSlots as Qe, mergeModels as na, inject as an, ref as oe, onMounted as bi, watch as ln, resolveDynamicComponent as se, Fragment as G, renderList as ae, computed as x, toRefs as Tt, onBeforeMount as _i, mergeProps as et, Transition as Ds, createCommentVNode as K, resolveDirective as ro, withDirectives as ke, vModelText as Jt, vModelCheckbox as Vs, vModelSelect as Ks, vModelDynamic as lo, isRef as Vt, toRef as co, vModelRadio as js, vShow as xs, withModifiers as ia, normalizeProps as zs, guardReactiveProps as $s, useSlots as An, nextTick as aa } from "vue";
|
|
2
2
|
import { createI18n as Pe } from "@kong-ui-public/i18n";
|
|
3
3
|
import { TrashIcon as Kt, SearchIcon as qs, AddIcon as wn, WorldIcon as Bs, KeyIcon as Hs, CloseIcon as Gs, BookIcon as Ys, RemoveIcon as Ws } from "@kong/icons";
|
|
4
4
|
import { isAxiosError as Zs } from "axios";
|
|
@@ -67,8 +67,8 @@ var Sr = 9007199254740991;
|
|
|
67
67
|
function vo(e) {
|
|
68
68
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Sr;
|
|
69
69
|
}
|
|
70
|
-
var Tr = "[object Arguments]", Mr = "[object Array]", Ar = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Ir = "[object Function]", Cr = "[object Map]", Or = "[object Number]", kr = "[object Object]", Rr = "[object RegExp]", Fr = "[object Set]", Nr = "[object String]", Ur = "[object WeakMap]", Lr = "[object ArrayBuffer]", Pr = "[object DataView]", Dr = "[object Float32Array]", Vr = "[object Float64Array]", Kr = "[object Int8Array]", jr = "[object Int16Array]", xr = "[object Int32Array]",
|
|
71
|
-
ie[Dr] = ie[Vr] = ie[Kr] = ie[jr] = ie[xr] = ie[
|
|
70
|
+
var Tr = "[object Arguments]", Mr = "[object Array]", Ar = "[object Boolean]", wr = "[object Date]", Er = "[object Error]", Ir = "[object Function]", Cr = "[object Map]", Or = "[object Number]", kr = "[object Object]", Rr = "[object RegExp]", Fr = "[object Set]", Nr = "[object String]", Ur = "[object WeakMap]", Lr = "[object ArrayBuffer]", Pr = "[object DataView]", Dr = "[object Float32Array]", Vr = "[object Float64Array]", Kr = "[object Int8Array]", jr = "[object Int16Array]", xr = "[object Int32Array]", zr = "[object Uint8Array]", $r = "[object Uint8ClampedArray]", qr = "[object Uint16Array]", Br = "[object Uint32Array]", ie = {};
|
|
71
|
+
ie[Dr] = ie[Vr] = ie[Kr] = ie[jr] = ie[xr] = ie[zr] = ie[$r] = ie[qr] = ie[Br] = !0;
|
|
72
72
|
ie[Tr] = ie[Mr] = ie[Lr] = ie[Ar] = ie[Pr] = ie[wr] = ie[Er] = ie[Ir] = ie[Cr] = ie[Or] = ie[kr] = ie[Rr] = ie[Fr] = ie[Nr] = ie[Ur] = !1;
|
|
73
73
|
function Hr(e) {
|
|
74
74
|
return ft(e) && vo(e.length) && !!ie[mt(e)];
|
|
@@ -267,10 +267,10 @@ function xl(e) {
|
|
|
267
267
|
var t = this.__data__, n = kn(t, e);
|
|
268
268
|
return n < 0 ? void 0 : t[n][1];
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function zl(e) {
|
|
271
271
|
return kn(this.__data__, e) > -1;
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function $l(e, t) {
|
|
274
274
|
var n = this.__data__, o = kn(n, e);
|
|
275
275
|
return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
|
|
276
276
|
}
|
|
@@ -284,8 +284,8 @@ function tt(e) {
|
|
|
284
284
|
tt.prototype.clear = Dl;
|
|
285
285
|
tt.prototype.delete = jl;
|
|
286
286
|
tt.prototype.get = xl;
|
|
287
|
-
tt.prototype.has =
|
|
288
|
-
tt.prototype.set =
|
|
287
|
+
tt.prototype.has = zl;
|
|
288
|
+
tt.prototype.set = $l;
|
|
289
289
|
var sn = At(je, "Map");
|
|
290
290
|
function ql() {
|
|
291
291
|
this.size = 0, this.__data__ = {
|
|
@@ -634,7 +634,7 @@ function Eo() {
|
|
|
634
634
|
const R = function() {
|
|
635
635
|
if (g > 0)
|
|
636
636
|
throw yt('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.');
|
|
637
|
-
},
|
|
637
|
+
}, $ = function(s) {
|
|
638
638
|
R(), g++;
|
|
639
639
|
try {
|
|
640
640
|
return p.createHTML(s);
|
|
@@ -650,10 +650,10 @@ function Eo() {
|
|
|
650
650
|
}
|
|
651
651
|
}, Ee = function() {
|
|
652
652
|
return E || (H = Kd(m, a), E = !0), H;
|
|
653
|
-
}, Ze = n,
|
|
653
|
+
}, Ze = n, zt = Ze.implementation, dn = Ze.createNodeIterator, Un = Ze.createDocumentFragment, Ln = Ze.getElementsByTagName, W = o.importNode;
|
|
654
654
|
let B = Ia();
|
|
655
|
-
t.isSupported = typeof Ao == "function" && typeof N == "function" &&
|
|
656
|
-
const
|
|
655
|
+
t.isSupported = typeof Ao == "function" && typeof N == "function" && zt && zt.createHTMLDocument !== void 0;
|
|
656
|
+
const $t = Id, hs = Cd, ps = Od, gs = kd, ys = Rd, vs = Fd, Ri = Nd, bs = Ld;
|
|
657
657
|
let Fi = Aa, ce = null;
|
|
658
658
|
const Ni = X({}, [..._a, ...ni, ...ii, ...ai, ...Sa]);
|
|
659
659
|
let ue = null;
|
|
@@ -694,8 +694,8 @@ function Eo() {
|
|
|
694
694
|
}));
|
|
695
695
|
let Pi = !0, Pn = !0, Di = !1, Vi = !0, at = !1, ot = !0, pt = !1, Dn = !1, Vn = null, Kn = null, jn = !1, wt = !1, cn = !1, un = !1, Ki = !0, ji = !1;
|
|
696
696
|
const xi = "user-content-";
|
|
697
|
-
let xn = !0,
|
|
698
|
-
const
|
|
697
|
+
let xn = !0, zn = !1, Et = {}, Be = null;
|
|
698
|
+
const $n = X({}, [
|
|
699
699
|
"annotation-xml",
|
|
700
700
|
"audio",
|
|
701
701
|
"colgroup",
|
|
@@ -732,8 +732,8 @@ function Eo() {
|
|
|
732
732
|
"video",
|
|
733
733
|
"xmp"
|
|
734
734
|
]);
|
|
735
|
-
let
|
|
736
|
-
const
|
|
735
|
+
let zi = null;
|
|
736
|
+
const $i = X({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
737
737
|
let qn = null;
|
|
738
738
|
const qi = X({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), mn = "http://www.w3.org/1998/Math/MathML", fn = "http://www.w3.org/2000/svg", He = "http://www.w3.org/1999/xhtml";
|
|
739
739
|
let It = He, Bn = !1, Hn = null;
|
|
@@ -761,18 +761,18 @@ function Eo() {
|
|
|
761
761
|
}), qn = rt(s, "ADD_URI_SAFE_ATTR", qi, {
|
|
762
762
|
transform: le,
|
|
763
763
|
base: qi
|
|
764
|
-
}),
|
|
764
|
+
}), zi = rt(s, "ADD_DATA_URI_TAGS", $i, {
|
|
765
765
|
transform: le,
|
|
766
|
-
base:
|
|
767
|
-
}), Be = rt(s, "FORBID_CONTENTS",
|
|
766
|
+
base: $i
|
|
767
|
+
}), Be = rt(s, "FORBID_CONTENTS", $n, {
|
|
768
768
|
transform: le
|
|
769
769
|
}), qt = rt(s, "FORBID_TAGS", Ce({}), {
|
|
770
770
|
transform: le
|
|
771
771
|
}), Li = rt(s, "FORBID_ATTR", Ce({}), {
|
|
772
772
|
transform: le
|
|
773
|
-
}), Et = _e(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? Ce(s.USE_PROFILES) : s.USE_PROFILES : !1, Pi = s.ALLOW_ARIA_ATTR !== !1, Pn = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Vi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, at = s.SAFE_FOR_TEMPLATES || !1, ot = s.SAFE_FOR_XML !== !1, pt = s.WHOLE_DOCUMENT || !1, wt = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, jn = s.FORCE_BODY || !1, Ki = s.SANITIZE_DOM !== !1, ji = s.SANITIZE_NAMED_PROPS || !1, xn = s.KEEP_CONTENT !== !1,
|
|
773
|
+
}), Et = _e(s, "USE_PROFILES") ? s.USE_PROFILES && typeof s.USE_PROFILES == "object" ? Ce(s.USE_PROFILES) : s.USE_PROFILES : !1, Pi = s.ALLOW_ARIA_ATTR !== !1, Pn = s.ALLOW_DATA_ATTR !== !1, Di = s.ALLOW_UNKNOWN_PROTOCOLS || !1, Vi = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, at = s.SAFE_FOR_TEMPLATES || !1, ot = s.SAFE_FOR_XML !== !1, pt = s.WHOLE_DOCUMENT || !1, wt = s.RETURN_DOM || !1, cn = s.RETURN_DOM_FRAGMENT || !1, un = s.RETURN_TRUSTED_TYPE || !1, jn = s.FORCE_BODY || !1, Ki = s.SANITIZE_DOM !== !1, ji = s.SANITIZE_NAMED_PROPS || !1, xn = s.KEEP_CONTENT !== !1, zn = s.IN_PLACE || !1, Fi = Ad(s.ALLOWED_URI_REGEXP) ? s.ALLOWED_URI_REGEXP : Aa, It = typeof s.NAMESPACE == "string" ? s.NAMESPACE : He, Gn = _e(s, "MATHML_TEXT_INTEGRATION_POINTS") && s.MATHML_TEXT_INTEGRATION_POINTS && typeof s.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Ce(s.MATHML_TEXT_INTEGRATION_POINTS) : X({}, Bi), Yn = _e(s, "HTML_INTEGRATION_POINTS") && s.HTML_INTEGRATION_POINTS && typeof s.HTML_INTEGRATION_POINTS == "object" ? Ce(s.HTML_INTEGRATION_POINTS) : X({}, Hi);
|
|
774
774
|
const h = _e(s, "CUSTOM_ELEMENT_HANDLING") && s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING == "object" ? Ce(s.CUSTOM_ELEMENT_HANDLING) : Ft(null);
|
|
775
|
-
if (me = Ft(null), _e(h, "tagNameCheck") && Gi(h.tagNameCheck) && (me.tagNameCheck = h.tagNameCheck), _e(h, "attributeNameCheck") && Gi(h.attributeNameCheck) && (me.attributeNameCheck = h.attributeNameCheck), _e(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ae(me), at && (Pn = !1), cn && (wt = !0), Et && (ce = X({}, Sa), ue = Ft(null), Et.html === !0 && (X(ce, _a), X(ue, Ta)), Et.svg === !0 && (X(ce, ni), X(ue, oi), X(ue, vn)), Et.svgFilters === !0 && (X(ce, ii), X(ue, oi), X(ue, vn)), Et.mathMl === !0 && (X(ce, ai), X(ue, Ma), X(ue, vn))), it.tagCheck = null, it.attributeCheck = null, _e(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? it.tagCheck = s.ADD_TAGS : ct(s.ADD_TAGS) && (ce === Ni && (ce = Ce(ce)), X(ce, s.ADD_TAGS, le))), _e(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? it.attributeCheck = s.ADD_ATTR : ct(s.ADD_ATTR) && (ue === Ui && (ue = Ce(ue)), X(ue, s.ADD_ATTR, le))), _e(s, "ADD_URI_SAFE_ATTR") && ct(s.ADD_URI_SAFE_ATTR) && X(qn, s.ADD_URI_SAFE_ATTR, le), _e(s, "FORBID_CONTENTS") && ct(s.FORBID_CONTENTS) && (Be ===
|
|
775
|
+
if (me = Ft(null), _e(h, "tagNameCheck") && Gi(h.tagNameCheck) && (me.tagNameCheck = h.tagNameCheck), _e(h, "attributeNameCheck") && Gi(h.attributeNameCheck) && (me.attributeNameCheck = h.attributeNameCheck), _e(h, "allowCustomizedBuiltInElements") && typeof h.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = h.allowCustomizedBuiltInElements), Ae(me), at && (Pn = !1), cn && (wt = !0), Et && (ce = X({}, Sa), ue = Ft(null), Et.html === !0 && (X(ce, _a), X(ue, Ta)), Et.svg === !0 && (X(ce, ni), X(ue, oi), X(ue, vn)), Et.svgFilters === !0 && (X(ce, ii), X(ue, oi), X(ue, vn)), Et.mathMl === !0 && (X(ce, ai), X(ue, Ma), X(ue, vn))), it.tagCheck = null, it.attributeCheck = null, _e(s, "ADD_TAGS") && (typeof s.ADD_TAGS == "function" ? it.tagCheck = s.ADD_TAGS : ct(s.ADD_TAGS) && (ce === Ni && (ce = Ce(ce)), X(ce, s.ADD_TAGS, le))), _e(s, "ADD_ATTR") && (typeof s.ADD_ATTR == "function" ? it.attributeCheck = s.ADD_ATTR : ct(s.ADD_ATTR) && (ue === Ui && (ue = Ce(ue)), X(ue, s.ADD_ATTR, le))), _e(s, "ADD_URI_SAFE_ATTR") && ct(s.ADD_URI_SAFE_ATTR) && X(qn, s.ADD_URI_SAFE_ATTR, le), _e(s, "FORBID_CONTENTS") && ct(s.FORBID_CONTENTS) && (Be === $n && (Be = Ce(Be)), X(Be, s.FORBID_CONTENTS, le)), _e(s, "ADD_FORBID_CONTENTS") && ct(s.ADD_FORBID_CONTENTS) && (Be === $n && (Be = Ce(Be)), X(Be, s.ADD_FORBID_CONTENTS, le)), xn && (ce["#text"] = !0), pt && X(ce, ["html", "head", "body"]), ce.table && (X(ce, ["tbody"]), delete qt.tbody), s.TRUSTED_TYPES_POLICY) {
|
|
776
776
|
if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
777
777
|
throw yt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
778
778
|
if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -780,11 +780,11 @@ function Eo() {
|
|
|
780
780
|
const w = p;
|
|
781
781
|
p = s.TRUSTED_TYPES_POLICY;
|
|
782
782
|
try {
|
|
783
|
-
j =
|
|
783
|
+
j = $("");
|
|
784
784
|
} catch (P) {
|
|
785
785
|
throw p = w, P;
|
|
786
786
|
}
|
|
787
|
-
} else s.TRUSTED_TYPES_POLICY === null ? (p = void 0, j = "") : (p === void 0 && (p = Ee()), p && typeof j == "string" && (j =
|
|
787
|
+
} else s.TRUSTED_TYPES_POLICY === null ? (p = void 0, j = "") : (p === void 0 && (p = Ee()), p && typeof j == "string" && (j = $("")));
|
|
788
788
|
Me && Me(s), Ct = s;
|
|
789
789
|
}, Yi = X({}, [...ni, ...ii, ...wd]), Wi = X({}, [...ai, ...Ed]), ws = function(s, h, w) {
|
|
790
790
|
return h.namespaceURI === He ? s === "svg" : h.namespaceURI === mn ? s === "svg" && (w === "annotation-xml" || Gn[w]) : !!Yi[s];
|
|
@@ -815,11 +815,11 @@ function Eo() {
|
|
|
815
815
|
const h = L(s);
|
|
816
816
|
if (h) {
|
|
817
817
|
const P = [];
|
|
818
|
-
kt(h, (
|
|
819
|
-
Rt(P,
|
|
820
|
-
}), kt(P, (
|
|
818
|
+
kt(h, (z) => {
|
|
819
|
+
Rt(P, z);
|
|
820
|
+
}), kt(P, (z) => {
|
|
821
821
|
try {
|
|
822
|
-
C(
|
|
822
|
+
C(z);
|
|
823
823
|
} catch {
|
|
824
824
|
}
|
|
825
825
|
});
|
|
@@ -827,7 +827,7 @@ function Eo() {
|
|
|
827
827
|
const w = D(s);
|
|
828
828
|
if (w)
|
|
829
829
|
for (let P = w.length - 1; P >= 0; --P) {
|
|
830
|
-
const
|
|
830
|
+
const z = w[P], q = z && z.name;
|
|
831
831
|
if (typeof q == "string")
|
|
832
832
|
try {
|
|
833
833
|
s.removeAttribute(q);
|
|
@@ -861,10 +861,10 @@ function Eo() {
|
|
|
861
861
|
const h = D(s);
|
|
862
862
|
if (h)
|
|
863
863
|
for (let w = h.length - 1; w >= 0; --w) {
|
|
864
|
-
const P = h[w],
|
|
865
|
-
if (!(typeof
|
|
864
|
+
const P = h[w], z = P && P.name;
|
|
865
|
+
if (!(typeof z != "string" || ue[le(z)]))
|
|
866
866
|
try {
|
|
867
|
-
s.removeAttribute(
|
|
867
|
+
s.removeAttribute(z);
|
|
868
868
|
} catch {
|
|
869
869
|
}
|
|
870
870
|
}
|
|
@@ -873,10 +873,10 @@ function Eo() {
|
|
|
873
873
|
for (; h.length > 0; ) {
|
|
874
874
|
const w = h.pop();
|
|
875
875
|
(M ? M(w) : w.nodeType) === Ne.element && Os(w);
|
|
876
|
-
const
|
|
877
|
-
if (
|
|
878
|
-
for (let q =
|
|
879
|
-
h.push(
|
|
876
|
+
const z = L(w);
|
|
877
|
+
if (z)
|
|
878
|
+
for (let q = z.length - 1; q >= 0; --q)
|
|
879
|
+
h.push(z[q]);
|
|
880
880
|
}
|
|
881
881
|
}, ks = function(s) {
|
|
882
882
|
if (!ot)
|
|
@@ -898,10 +898,10 @@ function Eo() {
|
|
|
898
898
|
} catch {
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
|
-
const
|
|
902
|
-
if (
|
|
903
|
-
for (let q =
|
|
904
|
-
h.push(
|
|
901
|
+
const z = L(w);
|
|
902
|
+
if (z)
|
|
903
|
+
for (let q = z.length - 1; q >= 0; --q)
|
|
904
|
+
h.push(z[q]);
|
|
905
905
|
}
|
|
906
906
|
}, Zi = function(s) {
|
|
907
907
|
let h = null, w = null;
|
|
@@ -912,21 +912,21 @@ function Eo() {
|
|
|
912
912
|
w = q && q[0];
|
|
913
913
|
}
|
|
914
914
|
Bt === "application/xhtml+xml" && It === He && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
|
|
915
|
-
const P = p ?
|
|
915
|
+
const P = p ? $(s) : s;
|
|
916
916
|
if (It === He)
|
|
917
917
|
try {
|
|
918
918
|
h = new b().parseFromString(P, Bt);
|
|
919
919
|
} catch {
|
|
920
920
|
}
|
|
921
921
|
if (!h || !h.documentElement) {
|
|
922
|
-
h =
|
|
922
|
+
h = zt.createDocument(It, "template", null);
|
|
923
923
|
try {
|
|
924
924
|
h.documentElement.innerHTML = Bn ? j : P;
|
|
925
925
|
} catch {
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
-
const
|
|
929
|
-
return s && w &&
|
|
928
|
+
const z = h.body || h.documentElement;
|
|
929
|
+
return s && w && z.insertBefore(n.createTextNode(w), z.childNodes[0] || null), It === He ? Ln.call(h, pt ? "html" : "body")[0] : pt ? h.documentElement : z;
|
|
930
930
|
}, Xi = function(s) {
|
|
931
931
|
return dn.call(
|
|
932
932
|
s.ownerDocument || s,
|
|
@@ -936,7 +936,7 @@ function Eo() {
|
|
|
936
936
|
null
|
|
937
937
|
);
|
|
938
938
|
}, pn = function(s) {
|
|
939
|
-
return s = Yt(s,
|
|
939
|
+
return s = Yt(s, $t, " "), s = Yt(s, hs, " "), s = Yt(s, ps, " "), s;
|
|
940
940
|
}, Xn = function(s) {
|
|
941
941
|
var h;
|
|
942
942
|
s.normalize();
|
|
@@ -950,8 +950,8 @@ function Eo() {
|
|
|
950
950
|
let P = w.nextNode();
|
|
951
951
|
for (; P; )
|
|
952
952
|
P.data = pn(P.data), P = w.nextNode();
|
|
953
|
-
const
|
|
954
|
-
|
|
953
|
+
const z = (h = s.querySelectorAll) === null || h === void 0 ? void 0 : h.call(s, "template");
|
|
954
|
+
z && kt(z, (q) => {
|
|
955
955
|
Ot(q.content) && Xn(q.content);
|
|
956
956
|
});
|
|
957
957
|
}, gn = function(s) {
|
|
@@ -1010,9 +1010,9 @@ function Eo() {
|
|
|
1010
1010
|
if (xn && !Be[h]) {
|
|
1011
1011
|
const w = N(s), P = L(s);
|
|
1012
1012
|
if (P && w) {
|
|
1013
|
-
const
|
|
1014
|
-
for (let q =
|
|
1015
|
-
const fe =
|
|
1013
|
+
const z = P.length;
|
|
1014
|
+
for (let q = z - 1; q >= 0; --q) {
|
|
1015
|
+
const fe = zn ? P[q] : I(P[q], !0);
|
|
1016
1016
|
w.insertBefore(fe, T(s));
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
@@ -1032,16 +1032,16 @@ function Eo() {
|
|
|
1032
1032
|
if (Rs(s, w))
|
|
1033
1033
|
return st(s), !0;
|
|
1034
1034
|
if (qt[w] || !(it.tagCheck instanceof Function && it.tagCheck(w)) && !ce[w]) {
|
|
1035
|
-
const
|
|
1036
|
-
return
|
|
1035
|
+
const z = Fs(s, w);
|
|
1036
|
+
return z === !1 && Ge(B.afterSanitizeElements, s, null), z;
|
|
1037
1037
|
}
|
|
1038
1038
|
if ((M ? M(s) : s.nodeType) === Ne.element && !Cs(s) || (w === "noscript" || w === "noembed" || w === "noframes") && be(Pd, s.innerHTML))
|
|
1039
1039
|
return st(s), !0;
|
|
1040
1040
|
if (at && s.nodeType === Ne.text) {
|
|
1041
|
-
const
|
|
1042
|
-
s.textContent !==
|
|
1041
|
+
const z = pn(s.textContent);
|
|
1042
|
+
s.textContent !== z && (Rt(t.removed, {
|
|
1043
1043
|
element: s.cloneNode()
|
|
1044
|
-
}), s.textContent =
|
|
1044
|
+
}), s.textContent = z);
|
|
1045
1045
|
}
|
|
1046
1046
|
return Ge(B.afterSanitizeElements, s, null), !1;
|
|
1047
1047
|
}, Qi = function(s, h, w) {
|
|
@@ -1053,7 +1053,7 @@ function Eo() {
|
|
|
1053
1053
|
if (P) {
|
|
1054
1054
|
if (!qn[h]) {
|
|
1055
1055
|
if (!be(Fi, Yt(w, Ri, ""))) {
|
|
1056
|
-
if (!((h === "src" || h === "xlink:href" || h === "href") && s !== "script" && ya(w, "data:") === 0 &&
|
|
1056
|
+
if (!((h === "src" || h === "xlink:href" || h === "href") && s !== "script" && ya(w, "data:") === 0 && zi[s])) {
|
|
1057
1057
|
if (!(Di && !be(vs, Yt(w, Ri, "")))) {
|
|
1058
1058
|
if (w)
|
|
1059
1059
|
return !1;
|
|
@@ -1078,7 +1078,7 @@ function Eo() {
|
|
|
1078
1078
|
if (p && typeof m == "object" && typeof m.getAttributeType == "function" && !w)
|
|
1079
1079
|
switch (m.getAttributeType(s, h)) {
|
|
1080
1080
|
case "TrustedHTML":
|
|
1081
|
-
return
|
|
1081
|
+
return $(P);
|
|
1082
1082
|
case "TrustedScriptURL":
|
|
1083
1083
|
return re(P);
|
|
1084
1084
|
}
|
|
@@ -1102,10 +1102,10 @@ function Eo() {
|
|
|
1102
1102
|
forceKeepAttr: void 0
|
|
1103
1103
|
};
|
|
1104
1104
|
let P = h.length;
|
|
1105
|
-
const
|
|
1105
|
+
const z = le(s.nodeName);
|
|
1106
1106
|
for (; P--; ) {
|
|
1107
|
-
const q = h[P], fe = q.name, we = q.namespaceURI, xe = q.value, Re = le(fe),
|
|
1108
|
-
let Ie = fe === "value" ?
|
|
1107
|
+
const q = h[P], fe = q.name, we = q.namespaceURI, xe = q.value, Re = le(fe), ze = xe;
|
|
1108
|
+
let Ie = fe === "value" ? ze : vd(ze);
|
|
1109
1109
|
if (w.attrName = Re, w.attrValue = Ie, w.keepAttr = !0, w.forceKeepAttr = void 0, Ge(B.uponSanitizeAttribute, s, w), Ie = w.attrValue, ji && (Re === "id" || Re === "name") && ya(Ie, xi) !== 0 && (gt(fe, s), Ie = xi + Ie), ot && be(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Ie)) {
|
|
1110
1110
|
gt(fe, s);
|
|
1111
1111
|
continue;
|
|
@@ -1123,11 +1123,11 @@ function Eo() {
|
|
|
1123
1123
|
gt(fe, s);
|
|
1124
1124
|
continue;
|
|
1125
1125
|
}
|
|
1126
|
-
if (at && (Ie = pn(Ie)), !Qi(
|
|
1126
|
+
if (at && (Ie = pn(Ie)), !Qi(z, Re, Ie)) {
|
|
1127
1127
|
gt(fe, s);
|
|
1128
1128
|
continue;
|
|
1129
1129
|
}
|
|
1130
|
-
Ie = Us(
|
|
1130
|
+
Ie = Us(z, Re, we, Ie), Ie !== ze && Ls(s, fe, we, Ie);
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
Ge(B.afterSanitizeAttributes, s, null);
|
|
@@ -1136,8 +1136,8 @@ function Eo() {
|
|
|
1136
1136
|
const w = Xi(s);
|
|
1137
1137
|
for (Ge(B.beforeSanitizeShadowDOM, s, null); h = w.nextNode(); )
|
|
1138
1138
|
if (Ge(B.uponSanitizeShadowNode, h, null), Ji(h, s), ta(h), Ot(h.content) && yn(h.content), (M ? M(h) : h.nodeType) === Ne.element) {
|
|
1139
|
-
const
|
|
1140
|
-
Ot(
|
|
1139
|
+
const z = Y(h);
|
|
1140
|
+
Ot(z) && (Jn(z), yn(z));
|
|
1141
1141
|
}
|
|
1142
1142
|
Ge(B.afterSanitizeShadowDOM, s, null);
|
|
1143
1143
|
}, Jn = function(s) {
|
|
@@ -1181,34 +1181,34 @@ function Eo() {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
};
|
|
1183
1183
|
return t.sanitize = function(O) {
|
|
1184
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, h = null, w = null, P = null,
|
|
1184
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, h = null, w = null, P = null, z = null;
|
|
1185
1185
|
if (Bn = !O, Bn && (O = "<!-->"), typeof O != "string" && !Ht(O) && (O = Md(O), typeof O != "string"))
|
|
1186
1186
|
throw yt("dirty is not a string, aborting");
|
|
1187
1187
|
if (!t.isSupported)
|
|
1188
1188
|
return O;
|
|
1189
1189
|
Dn ? (ce = Vn, ue = Kn) : Wn(s), (B.uponSanitizeElement.length > 0 || B.uponSanitizeAttribute.length > 0) && (ce = Ce(ce)), B.uponSanitizeAttribute.length > 0 && (ue = Ce(ue)), t.removed = [];
|
|
1190
|
-
const q =
|
|
1190
|
+
const q = zn && typeof O != "string" && Ht(O);
|
|
1191
1191
|
if (q) {
|
|
1192
1192
|
ks(O);
|
|
1193
1193
|
const Re = v ? v(O) : O.nodeName;
|
|
1194
1194
|
if (typeof Re == "string") {
|
|
1195
|
-
const
|
|
1196
|
-
if (!ce[
|
|
1195
|
+
const ze = le(Re);
|
|
1196
|
+
if (!ce[ze] || qt[ze])
|
|
1197
1197
|
throw hn(O), yt("root node is forbidden and cannot be sanitized in-place");
|
|
1198
1198
|
}
|
|
1199
1199
|
if (gn(O))
|
|
1200
1200
|
throw hn(O), yt("root node is clobbered and cannot be sanitized in-place");
|
|
1201
1201
|
try {
|
|
1202
1202
|
Jn(O);
|
|
1203
|
-
} catch (
|
|
1204
|
-
throw hn(O),
|
|
1203
|
+
} catch (ze) {
|
|
1204
|
+
throw hn(O), ze;
|
|
1205
1205
|
}
|
|
1206
1206
|
} else if (Ht(O))
|
|
1207
1207
|
h = Zi("<!---->"), w = h.ownerDocument.importNode(O, !0), w.nodeType === Ne.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? h = w : h.appendChild(w), Jn(w);
|
|
1208
1208
|
else {
|
|
1209
1209
|
if (!wt && !at && !pt && // eslint-disable-next-line unicorn/prefer-includes
|
|
1210
1210
|
O.indexOf("<") === -1)
|
|
1211
|
-
return p && un ?
|
|
1211
|
+
return p && un ? $(O) : O;
|
|
1212
1212
|
if (h = Zi(O), !h)
|
|
1213
1213
|
return wt ? null : un ? j : "";
|
|
1214
1214
|
}
|
|
@@ -1218,8 +1218,8 @@ function Eo() {
|
|
|
1218
1218
|
for (; P = we.nextNode(); )
|
|
1219
1219
|
Ji(P, fe), ta(P), Ot(P.content) && yn(P.content);
|
|
1220
1220
|
} catch (Re) {
|
|
1221
|
-
throw q && (hn(O), kt(t.removed, (
|
|
1222
|
-
|
|
1221
|
+
throw q && (hn(O), kt(t.removed, (ze) => {
|
|
1222
|
+
ze.element && Zn(ze.element);
|
|
1223
1223
|
})), Re;
|
|
1224
1224
|
}
|
|
1225
1225
|
if (q)
|
|
@@ -1228,15 +1228,15 @@ function Eo() {
|
|
|
1228
1228
|
}), at && Xn(O), O;
|
|
1229
1229
|
if (wt) {
|
|
1230
1230
|
if (at && Xn(h), cn)
|
|
1231
|
-
for (
|
|
1232
|
-
|
|
1231
|
+
for (z = Un.call(h.ownerDocument); h.firstChild; )
|
|
1232
|
+
z.appendChild(h.firstChild);
|
|
1233
1233
|
else
|
|
1234
|
-
|
|
1235
|
-
return (ue.shadowroot || ue.shadowrootmode) && (
|
|
1234
|
+
z = h;
|
|
1235
|
+
return (ue.shadowroot || ue.shadowrootmode) && (z = W.call(o, z, !0)), z;
|
|
1236
1236
|
}
|
|
1237
1237
|
let xe = pt ? h.outerHTML : h.innerHTML;
|
|
1238
1238
|
return pt && ce["!doctype"] && h.ownerDocument && h.ownerDocument.doctype && h.ownerDocument.doctype.name && be(Ud, h.ownerDocument.doctype.name) && (xe = "<!DOCTYPE " + h.ownerDocument.doctype.name + `>
|
|
1239
|
-
` + xe), at && (xe = pn(xe)), p && un ?
|
|
1239
|
+
` + xe), at && (xe = pn(xe)), p && un ? $(xe) : xe;
|
|
1240
1240
|
}, t.setConfig = function() {
|
|
1241
1241
|
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1242
1242
|
Wn(O), Dn = !0, Vn = ce, Kn = ue;
|
|
@@ -1270,10 +1270,10 @@ function xd(e) {
|
|
|
1270
1270
|
var t = this.__data__, n = t.delete(e);
|
|
1271
1271
|
return this.size = t.size, n;
|
|
1272
1272
|
}
|
|
1273
|
-
function
|
|
1273
|
+
function zd(e) {
|
|
1274
1274
|
return this.__data__.get(e);
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function $d(e) {
|
|
1277
1277
|
return this.__data__.has(e);
|
|
1278
1278
|
}
|
|
1279
1279
|
var qd = 200;
|
|
@@ -1293,8 +1293,8 @@ function xt(e) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
xt.prototype.clear = jd;
|
|
1295
1295
|
xt.prototype.delete = xd;
|
|
1296
|
-
xt.prototype.get =
|
|
1297
|
-
xt.prototype.has =
|
|
1296
|
+
xt.prototype.get = zd;
|
|
1297
|
+
xt.prototype.has = $d;
|
|
1298
1298
|
xt.prototype.set = Bd;
|
|
1299
1299
|
var bn = (function() {
|
|
1300
1300
|
try {
|
|
@@ -1449,7 +1449,7 @@ function Ac(e, t) {
|
|
|
1449
1449
|
var n = t ? Ci(e.buffer) : e.buffer;
|
|
1450
1450
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
1451
1451
|
}
|
|
1452
|
-
var wc = "[object Boolean]", Ec = "[object Date]", Ic = "[object Map]", Cc = "[object Number]", Oc = "[object RegExp]", kc = "[object Set]", Rc = "[object String]", Fc = "[object Symbol]", Nc = "[object ArrayBuffer]", Uc = "[object DataView]", Lc = "[object Float32Array]", Pc = "[object Float64Array]", Dc = "[object Int8Array]", Vc = "[object Int16Array]", Kc = "[object Int32Array]", jc = "[object Uint8Array]", xc = "[object Uint8ClampedArray]",
|
|
1452
|
+
var wc = "[object Boolean]", Ec = "[object Date]", Ic = "[object Map]", Cc = "[object Number]", Oc = "[object RegExp]", kc = "[object Set]", Rc = "[object String]", Fc = "[object Symbol]", Nc = "[object ArrayBuffer]", Uc = "[object DataView]", Lc = "[object Float32Array]", Pc = "[object Float64Array]", Dc = "[object Int8Array]", Vc = "[object Int16Array]", Kc = "[object Int32Array]", jc = "[object Uint8Array]", xc = "[object Uint8ClampedArray]", zc = "[object Uint16Array]", $c = "[object Uint32Array]";
|
|
1453
1453
|
function qc(e, t, n) {
|
|
1454
1454
|
var o = e.constructor;
|
|
1455
1455
|
switch (t) {
|
|
@@ -1467,8 +1467,8 @@ function qc(e, t, n) {
|
|
|
1467
1467
|
case Kc:
|
|
1468
1468
|
case jc:
|
|
1469
1469
|
case xc:
|
|
1470
|
-
case $c:
|
|
1471
1470
|
case zc:
|
|
1471
|
+
case $c:
|
|
1472
1472
|
return Ac(e, n);
|
|
1473
1473
|
case Ic:
|
|
1474
1474
|
return new o();
|
|
@@ -1507,7 +1507,7 @@ var xa = Pt && Pt.isMap, Wc = xa ? Si(xa) : Yc, Zc = "[object Set]";
|
|
|
1507
1507
|
function Xc(e) {
|
|
1508
1508
|
return ft(e) && Xe(e) == Zc;
|
|
1509
1509
|
}
|
|
1510
|
-
var
|
|
1510
|
+
var za = Pt && Pt.isSet, Jc = za ? Si(za) : Xc, Qc = 1, eu = 2, tu = 4, Lo = "[object Arguments]", nu = "[object Array]", iu = "[object Boolean]", au = "[object Date]", ou = "[object Error]", Po = "[object Function]", su = "[object GeneratorFunction]", ru = "[object Map]", lu = "[object Number]", Do = "[object Object]", du = "[object RegExp]", cu = "[object Set]", uu = "[object String]", mu = "[object Symbol]", fu = "[object WeakMap]", hu = "[object ArrayBuffer]", pu = "[object DataView]", gu = "[object Float32Array]", yu = "[object Float64Array]", vu = "[object Int8Array]", bu = "[object Int16Array]", _u = "[object Int32Array]", Su = "[object Uint8Array]", Tu = "[object Uint8ClampedArray]", Mu = "[object Uint16Array]", Au = "[object Uint32Array]", ne = {};
|
|
1511
1511
|
ne[Lo] = ne[nu] = ne[hu] = ne[pu] = ne[iu] = ne[au] = ne[gu] = ne[yu] = ne[vu] = ne[bu] = ne[_u] = ne[ru] = ne[lu] = ne[Do] = ne[du] = ne[cu] = ne[uu] = ne[mu] = ne[Su] = ne[Tu] = ne[Mu] = ne[Au] = !0;
|
|
1512
1512
|
ne[ou] = ne[Po] = ne[fu] = !1;
|
|
1513
1513
|
function en(e, t, n, o, a, i) {
|
|
@@ -1551,7 +1551,7 @@ var wu = 1, Eu = 4;
|
|
|
1551
1551
|
function Je(e) {
|
|
1552
1552
|
return en(e, wu | Eu);
|
|
1553
1553
|
}
|
|
1554
|
-
const Oi = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""),
|
|
1554
|
+
const Oi = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), $a = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
1555
1555
|
var Iu = "[object String]";
|
|
1556
1556
|
function bt(e) {
|
|
1557
1557
|
return typeof e == "string" || !ht(e) && ft(e) && mt(e) == Iu;
|
|
@@ -1681,13 +1681,13 @@ function _n(e) {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
_n.prototype.add = _n.prototype.push = ju;
|
|
1683
1683
|
_n.prototype.has = xu;
|
|
1684
|
-
function
|
|
1684
|
+
function zu(e, t, n, o) {
|
|
1685
1685
|
for (var a = e.length, i = n + -1; ++i < a; )
|
|
1686
1686
|
if (t(e[i], i, e))
|
|
1687
1687
|
return i;
|
|
1688
1688
|
return -1;
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function $u(e) {
|
|
1691
1691
|
return e !== e;
|
|
1692
1692
|
}
|
|
1693
1693
|
function qu(e, t, n) {
|
|
@@ -1697,7 +1697,7 @@ function qu(e, t, n) {
|
|
|
1697
1697
|
return -1;
|
|
1698
1698
|
}
|
|
1699
1699
|
function Bu(e, t, n) {
|
|
1700
|
-
return t === t ? qu(e, t, n) :
|
|
1700
|
+
return t === t ? qu(e, t, n) : zu(e, $u, n);
|
|
1701
1701
|
}
|
|
1702
1702
|
function Hu(e, t) {
|
|
1703
1703
|
var n = e == null ? 0 : e.length;
|
|
@@ -1746,7 +1746,7 @@ function xo(e) {
|
|
|
1746
1746
|
var t = ++Qu;
|
|
1747
1747
|
return Mo(e) + t;
|
|
1748
1748
|
}
|
|
1749
|
-
var
|
|
1749
|
+
var zo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, dt = "\\d\\d?", lt = "\\d\\d", em = "\\d{3}", tm = "\\d{4}", tn = "[^\\s]+", $o = /\[([^]*?)\]/gm;
|
|
1750
1750
|
function qo(e, t) {
|
|
1751
1751
|
for (var n = [], o = 0, a = e.length; o < a; o++)
|
|
1752
1752
|
n.push(e[o].substr(0, t));
|
|
@@ -1975,11 +1975,11 @@ var Bo = [
|
|
|
1975
1975
|
throw new Error("Invalid Date pass to format");
|
|
1976
1976
|
t = Tn[t] || t;
|
|
1977
1977
|
var o = [];
|
|
1978
|
-
t = t.replace(
|
|
1978
|
+
t = t.replace($o, function(i, l) {
|
|
1979
1979
|
return o.push(l), "@@@";
|
|
1980
1980
|
});
|
|
1981
1981
|
var a = _t(_t({}, Sn), n);
|
|
1982
|
-
return t = t.replace(
|
|
1982
|
+
return t = t.replace(zo, function(i) {
|
|
1983
1983
|
return om[i](e, a);
|
|
1984
1984
|
}), t.replace(/@@@/g, function() {
|
|
1985
1985
|
return o.shift();
|
|
@@ -2000,10 +2000,10 @@ function dm(e, t, n) {
|
|
|
2000
2000
|
millisecond: 0,
|
|
2001
2001
|
isPm: null,
|
|
2002
2002
|
timezoneOffset: null
|
|
2003
|
-
}, i = [], l = [], r = t.replace(
|
|
2003
|
+
}, i = [], l = [], r = t.replace($o, function(M, v) {
|
|
2004
2004
|
return l.push(Ha(v)), "@@@";
|
|
2005
2005
|
}), f = {}, u = {};
|
|
2006
|
-
r = Ha(r).replace(
|
|
2006
|
+
r = Ha(r).replace(zo, function(M) {
|
|
2007
2007
|
var v = sm[M], p = v[0], j = v[1], H = v[3];
|
|
2008
2008
|
if (f[p])
|
|
2009
2009
|
throw new Error("Invalid format. " + p + " specified twice in format");
|
|
@@ -2272,7 +2272,7 @@ function ri(e, t, n) {
|
|
|
2272
2272
|
e.setAttribute(l, i);
|
|
2273
2273
|
});
|
|
2274
2274
|
}
|
|
2275
|
-
const
|
|
2275
|
+
const $e = {
|
|
2276
2276
|
name: "abstractField",
|
|
2277
2277
|
props: ["vfg", "model", "schema", "formOptions", "disabled"],
|
|
2278
2278
|
emits: ["validated", "modelUpdated"],
|
|
@@ -2385,7 +2385,7 @@ const ze = {
|
|
|
2385
2385
|
}
|
|
2386
2386
|
}, Ey = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2387
2387
|
__proto__: null,
|
|
2388
|
-
default:
|
|
2388
|
+
default: $e
|
|
2389
2389
|
}, Symbol.toStringTag, { value: "Module" })), J = (e, t) => {
|
|
2390
2390
|
const n = e.__vccOpts || e;
|
|
2391
2391
|
for (const [o, a] of t)
|
|
@@ -2395,7 +2395,7 @@ const ze = {
|
|
|
2395
2395
|
class: "advanced-field-dropdown-wrapper",
|
|
2396
2396
|
"data-testid": "advanced-field-dropdown-wrapper"
|
|
2397
2397
|
}, Pm = { class: "material-icons" }, Dm = {
|
|
2398
|
-
mixins: [
|
|
2398
|
+
mixins: [$e],
|
|
2399
2399
|
emits: ["model-updated"],
|
|
2400
2400
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
2401
2401
|
data() {
|
|
@@ -2486,7 +2486,7 @@ const ze = {
|
|
|
2486
2486
|
]);
|
|
2487
2487
|
};
|
|
2488
2488
|
}
|
|
2489
|
-
}), Zo = /* @__PURE__ */ J(xm, [["__scopeId", "data-v-a8366ec5"]]),
|
|
2489
|
+
}), Zo = /* @__PURE__ */ J(xm, [["__scopeId", "data-v-a8366ec5"]]), zm = { class: "array-item-wrapper" }, $m = { class: "array-item" }, qm = { class: "array-item-after" }, Bm = /* @__PURE__ */ ye({
|
|
2490
2490
|
__name: "FieldArrayItem",
|
|
2491
2491
|
props: {
|
|
2492
2492
|
model: {
|
|
@@ -2498,8 +2498,8 @@ const ze = {
|
|
|
2498
2498
|
setup(e) {
|
|
2499
2499
|
return (t, n) => {
|
|
2500
2500
|
const o = k("KButton");
|
|
2501
|
-
return d(), _("div",
|
|
2502
|
-
c("div",
|
|
2501
|
+
return d(), _("div", zm, [
|
|
2502
|
+
c("div", $m, [
|
|
2503
2503
|
Se(t.$slots, "default", {}, void 0, !0),
|
|
2504
2504
|
S(o, {
|
|
2505
2505
|
appearance: "tertiary",
|
|
@@ -2635,13 +2635,13 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2635
2635
|
const t = an(Ke, void 0), n = async (g, R) => {
|
|
2636
2636
|
if (!t)
|
|
2637
2637
|
return console.warn("[@kong-ui-public/forms] No API service provided"), [];
|
|
2638
|
-
const { data:
|
|
2639
|
-
return
|
|
2638
|
+
const { data: $ } = await t.getAllV2(e.entity, { name: g, size: uf }, R);
|
|
2639
|
+
return $.data;
|
|
2640
2640
|
}, o = async (g) => t ? t.peek(e.entity, g) : (console.warn("[@kong-ui-public/forms] No API service provided"), Promise.resolve({ data: { data: [] } })), a = async (g) => {
|
|
2641
2641
|
if (!t)
|
|
2642
2642
|
return console.warn("[@kong-ui-public/forms] No API service provided"), { id: g };
|
|
2643
2643
|
const R = await t.getOne(e.entity, g, {
|
|
2644
|
-
validateStatus: (
|
|
2644
|
+
validateStatus: ($) => $ >= 200 && $ < 300 || $ === 404
|
|
2645
2645
|
});
|
|
2646
2646
|
if (R.status === 404)
|
|
2647
2647
|
throw new Error(`Entity of type ${e.entity} with id ${g} not found`);
|
|
@@ -2658,16 +2658,16 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2658
2658
|
r.value = !0;
|
|
2659
2659
|
}, 1500);
|
|
2660
2660
|
try {
|
|
2661
|
-
const
|
|
2662
|
-
m.value =
|
|
2663
|
-
} catch (
|
|
2661
|
+
const $ = await g();
|
|
2662
|
+
m.value = $, b.value = m.value.map(i);
|
|
2663
|
+
} catch ($) {
|
|
2664
2664
|
if (R?.aborted)
|
|
2665
2665
|
return;
|
|
2666
|
-
if (b.value = [], Zs(
|
|
2666
|
+
if (b.value = [], Zs($) && $.status === 404) {
|
|
2667
2667
|
console.warn("unable to search with UUID", u.value, "for entity type", e.entity);
|
|
2668
2668
|
return;
|
|
2669
2669
|
}
|
|
2670
|
-
l.value =
|
|
2670
|
+
l.value = $.message;
|
|
2671
2671
|
} finally {
|
|
2672
2672
|
clearTimeout(T), r.value = !1;
|
|
2673
2673
|
}
|
|
@@ -2685,8 +2685,8 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2685
2685
|
}
|
|
2686
2686
|
v(g, R);
|
|
2687
2687
|
}, df, { leading: !0 }), Y = async (g, R) => await n(g, R), D = async () => {
|
|
2688
|
-
const { data: { data: g, next: R, offset:
|
|
2689
|
-
return (!R ||
|
|
2688
|
+
const { data: { data: g, next: R, offset: $ } } = await o(cf);
|
|
2689
|
+
return (!R || !$) && (f.value = !0), m.value = g, y.value = g.map((re) => ({
|
|
2690
2690
|
...i(re),
|
|
2691
2691
|
group: I("fields.auto_suggest.recently_created", { entity: e.entity })
|
|
2692
2692
|
})), g;
|
|
@@ -2694,7 +2694,7 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2694
2694
|
vi(g) && e.allowUuidSearch ? L(async () => await M(g)) : L(async () => await Y(g, R.signal), R.signal);
|
|
2695
2695
|
}, p = (g) => {
|
|
2696
2696
|
let R = [];
|
|
2697
|
-
R = j(y.value), g?.trim() ? b.value = R.filter((
|
|
2697
|
+
R = j(y.value), g?.trim() ? b.value = R.filter(($) => e.fields.some((re) => ($[re] || "").includes(g))) : b.value = R;
|
|
2698
2698
|
}, j = (g) => e.selectedItem ? g.some((R) => R.value === e.selectedItem.value) ? g : [e.selectedItem, ...g] : g, H = (g) => {
|
|
2699
2699
|
b.value = y.value.filter((R) => R.id === g);
|
|
2700
2700
|
}, E = (g) => {
|
|
@@ -2716,7 +2716,7 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2716
2716
|
placeholder: e.placeholder,
|
|
2717
2717
|
readonly: e.disabled,
|
|
2718
2718
|
suggestions: b.value,
|
|
2719
|
-
onChange: R[0] || (R[0] = (
|
|
2719
|
+
onChange: R[0] || (R[0] = ($) => g.$emit("change", $)),
|
|
2720
2720
|
onQueryChange: U(N)
|
|
2721
2721
|
}, {
|
|
2722
2722
|
before: A(() => [
|
|
@@ -2727,18 +2727,18 @@ const Wm = "#6c7489", Qo = "12px", Zm = "16px", es = "20px", Xm = ["data-testid"
|
|
|
2727
2727
|
}, null, 8, ["color", "size"])
|
|
2728
2728
|
], !0)
|
|
2729
2729
|
]),
|
|
2730
|
-
"selected-item": A(({ item:
|
|
2731
|
-
Se(g.$slots, "selected-item", { item:
|
|
2730
|
+
"selected-item": A(({ item: $ }) => [
|
|
2731
|
+
Se(g.$slots, "selected-item", { item: $ }, () => [
|
|
2732
2732
|
c("span", af, [
|
|
2733
|
-
c("span", of, V(
|
|
2733
|
+
c("span", of, V($.label ?? $.id), 1)
|
|
2734
2734
|
])
|
|
2735
2735
|
], !0)
|
|
2736
2736
|
]),
|
|
2737
|
-
item: A(({ item:
|
|
2738
|
-
Se(g.$slots, "item", { item:
|
|
2737
|
+
item: A(({ item: $ }) => [
|
|
2738
|
+
Se(g.$slots, "item", { item: $ }, () => [
|
|
2739
2739
|
c("div", sf, [
|
|
2740
|
-
c("span", rf, V(
|
|
2741
|
-
c("span", lf, V(
|
|
2740
|
+
c("span", rf, V($.label ?? U(rd)), 1),
|
|
2741
|
+
c("span", lf, V($.id), 1)
|
|
2742
2742
|
])
|
|
2743
2743
|
], !0)
|
|
2744
2744
|
]),
|
|
@@ -2753,7 +2753,7 @@ const hf = {
|
|
|
2753
2753
|
components: {
|
|
2754
2754
|
FieldScopedEntitySelect: ff
|
|
2755
2755
|
},
|
|
2756
|
-
mixins: [
|
|
2756
|
+
mixins: [$e],
|
|
2757
2757
|
inject: [Ke],
|
|
2758
2758
|
emits: ["model-updated"],
|
|
2759
2759
|
setup() {
|
|
@@ -2774,13 +2774,21 @@ const hf = {
|
|
|
2774
2774
|
return ts(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2775
2775
|
},
|
|
2776
2776
|
associatedEntity() {
|
|
2777
|
-
|
|
2777
|
+
const e = (
|
|
2778
|
+
/** @type {any} */
|
|
2779
|
+
this.$route
|
|
2780
|
+
);
|
|
2781
|
+
return e && e.params[this.entity];
|
|
2778
2782
|
},
|
|
2779
2783
|
entity() {
|
|
2780
2784
|
return this.schema.entity;
|
|
2781
2785
|
},
|
|
2782
2786
|
bypassSearch() {
|
|
2783
|
-
|
|
2787
|
+
const e = (
|
|
2788
|
+
/** @type {any} */
|
|
2789
|
+
this.$route
|
|
2790
|
+
);
|
|
2791
|
+
return e && e.query && e.query.no_search;
|
|
2784
2792
|
},
|
|
2785
2793
|
inputFields() {
|
|
2786
2794
|
return this.schema?.inputValues?.fields || [];
|
|
@@ -2883,8 +2891,8 @@ function pf(e, t, n, o, a, i) {
|
|
|
2883
2891
|
_: 1
|
|
2884
2892
|
}, 8, ["text"]);
|
|
2885
2893
|
}
|
|
2886
|
-
const ns = /* @__PURE__ */ J(hf, [["render", pf], ["__scopeId", "data-v-
|
|
2887
|
-
mixins: [
|
|
2894
|
+
const ns = /* @__PURE__ */ J(hf, [["render", pf], ["__scopeId", "data-v-2e8d29f1"]]), li = 50, gf = {
|
|
2895
|
+
mixins: [$e],
|
|
2888
2896
|
inject: [Ke],
|
|
2889
2897
|
emits: ["model-updated"],
|
|
2890
2898
|
setup() {
|
|
@@ -2908,7 +2916,11 @@ const ns = /* @__PURE__ */ J(hf, [["render", pf], ["__scopeId", "data-v-9ab50e80
|
|
|
2908
2916
|
return ts(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
|
|
2909
2917
|
},
|
|
2910
2918
|
associatedEntity() {
|
|
2911
|
-
|
|
2919
|
+
const e = (
|
|
2920
|
+
/** @type {any} */
|
|
2921
|
+
this.$route
|
|
2922
|
+
);
|
|
2923
|
+
return e && e.params[this.entity];
|
|
2912
2924
|
},
|
|
2913
2925
|
entity() {
|
|
2914
2926
|
return this.schema.entity;
|
|
@@ -2917,7 +2929,11 @@ const ns = /* @__PURE__ */ J(hf, [["render", pf], ["__scopeId", "data-v-9ab50e80
|
|
|
2917
2929
|
return this.schema.label.toLowerCase();
|
|
2918
2930
|
},
|
|
2919
2931
|
bypassSearch() {
|
|
2920
|
-
|
|
2932
|
+
const e = (
|
|
2933
|
+
/** @type {any} */
|
|
2934
|
+
this.$route
|
|
2935
|
+
);
|
|
2936
|
+
return e && e.query && e.query.no_search;
|
|
2921
2937
|
}
|
|
2922
2938
|
},
|
|
2923
2939
|
async created() {
|
|
@@ -3054,7 +3070,7 @@ function _f(e, t, n, o, a, i) {
|
|
|
3054
3070
|
_: 1
|
|
3055
3071
|
}, 8, ["text"]);
|
|
3056
3072
|
}
|
|
3057
|
-
const is = /* @__PURE__ */ J(gf, [["render", _f], ["__scopeId", "data-v-
|
|
3073
|
+
const is = /* @__PURE__ */ J(gf, [["render", _f], ["__scopeId", "data-v-c99420db"]]);
|
|
3058
3074
|
function Sf(e) {
|
|
3059
3075
|
const t = oe([]), n = oe(null), o = (T) => bt(T) ? St[T] != null ? St[T] : (console.warn(`'${T}' is not a validator function!`), null) : T, a = x({
|
|
3060
3076
|
get() {
|
|
@@ -3332,7 +3348,7 @@ const qe = {
|
|
|
3332
3348
|
}), as = /* @__PURE__ */ J(wf, [["__scopeId", "data-v-c9bb165e"]]), Ef = {
|
|
3333
3349
|
name: "FieldMetric",
|
|
3334
3350
|
components: { AddIcon: wn, TrashIcon: Kt },
|
|
3335
|
-
mixins: [
|
|
3351
|
+
mixins: [$e],
|
|
3336
3352
|
emits: ["remove-item"],
|
|
3337
3353
|
data() {
|
|
3338
3354
|
return {
|
|
@@ -3376,7 +3392,7 @@ function Cf(e, t, n, o, a, i) {
|
|
|
3376
3392
|
], 2);
|
|
3377
3393
|
}
|
|
3378
3394
|
const os = /* @__PURE__ */ J(Ef, [["render", Cf]]), Of = { class: "field-object-container" }, kf = { key: 1 }, Rf = ["id"], Ff = { key: 0 }, Nf = ["onUpdate:modelValue"], Uf = { key: 1 }, Lf = ["onUpdate:modelValue"], Pf = { key: 2 }, Df = ["onUpdate:modelValue"], Vf = ["onClick"], Kf = {
|
|
3379
|
-
mixins: [
|
|
3395
|
+
mixins: [$e],
|
|
3380
3396
|
emits: ["modelUpdated"],
|
|
3381
3397
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
3382
3398
|
data() {
|
|
@@ -3491,14 +3507,14 @@ const os = /* @__PURE__ */ J(Ef, [["render", Cf]]), Of = { class: "field-object-
|
|
|
3491
3507
|
]);
|
|
3492
3508
|
};
|
|
3493
3509
|
}
|
|
3494
|
-
}), ss = /* @__PURE__ */ J(jf, [["__scopeId", "data-v-6eddb0ed"]]), xf = ["id"],
|
|
3510
|
+
}), ss = /* @__PURE__ */ J(jf, [["__scopeId", "data-v-6eddb0ed"]]), xf = ["id"], zf = ["data-testid"], $f = { class: "item-wrapper" }, qf = { class: "index-wrapper" }, Bf = { key: 0 }, Hf = { key: 1 }, Gf = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Yf = {
|
|
3495
3511
|
key: 0,
|
|
3496
3512
|
class: "hint"
|
|
3497
3513
|
}, Wf = { class: "input-item" }, Zf = ["placeholder"], Xf = {
|
|
3498
3514
|
key: 0,
|
|
3499
3515
|
class: "hint"
|
|
3500
3516
|
}, Jf = {
|
|
3501
|
-
mixins: [
|
|
3517
|
+
mixins: [$e],
|
|
3502
3518
|
inject: {
|
|
3503
3519
|
autofillSlot: {
|
|
3504
3520
|
from: Le,
|
|
@@ -3608,7 +3624,7 @@ const os = /* @__PURE__ */ J(Ef, [["render", Cf]]), Of = { class: "field-object-
|
|
|
3608
3624
|
"data-testid": `field-object-key-${i}`
|
|
3609
3625
|
}, [
|
|
3610
3626
|
c("div", null, [
|
|
3611
|
-
c("div",
|
|
3627
|
+
c("div", $f, [
|
|
3612
3628
|
c("div", qf, [
|
|
3613
3629
|
c("strong", null, V(i), 1),
|
|
3614
3630
|
c("div", null, [
|
|
@@ -3654,7 +3670,7 @@ const os = /* @__PURE__ */ J(Ef, [["render", Cf]]), Of = { class: "field-object-
|
|
|
3654
3670
|
n[2] || (n[2] = c("hr", { class: "wide-divider" }, null, -1))
|
|
3655
3671
|
])
|
|
3656
3672
|
])
|
|
3657
|
-
], 8,
|
|
3673
|
+
], 8, zf))), 128)),
|
|
3658
3674
|
c("div", {
|
|
3659
3675
|
class: ee(["input-wrapper", { indent: t.hasObjectKeys }])
|
|
3660
3676
|
}, [
|
|
@@ -3929,7 +3945,7 @@ const os = /* @__PURE__ */ J(Ef, [["render", Cf]]), Of = { class: "field-object-
|
|
|
3929
3945
|
FieldStringArray: cs,
|
|
3930
3946
|
TrashIcon: Kt
|
|
3931
3947
|
},
|
|
3932
|
-
mixins: [
|
|
3948
|
+
mixins: [$e],
|
|
3933
3949
|
inject: {
|
|
3934
3950
|
autofillSlot: {
|
|
3935
3951
|
from: Le,
|
|
@@ -4286,7 +4302,7 @@ function Mh(e, t, n, o, a, i) {
|
|
|
4286
4302
|
]);
|
|
4287
4303
|
}
|
|
4288
4304
|
const Ah = {
|
|
4289
|
-
mixins: [
|
|
4305
|
+
mixins: [$e],
|
|
4290
4306
|
data() {
|
|
4291
4307
|
return {
|
|
4292
4308
|
comboExpanded: !1
|
|
@@ -4303,7 +4319,7 @@ const Ah = {
|
|
|
4303
4319
|
},
|
|
4304
4320
|
methods: {
|
|
4305
4321
|
getInputName(e) {
|
|
4306
|
-
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ?
|
|
4322
|
+
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? $a(this.schema.inputName + "_" + this.getItemValue(e)) : $a(this.getItemValue(e));
|
|
4307
4323
|
},
|
|
4308
4324
|
getItemValue(e) {
|
|
4309
4325
|
if (Ue(e)) {
|
|
@@ -4344,7 +4360,7 @@ const Ah = {
|
|
|
4344
4360
|
}, wh = /* @__PURE__ */ J(Ah, [["render", Mh]]), Eh = {
|
|
4345
4361
|
name: "FieldKeyValuePairs",
|
|
4346
4362
|
components: { TrashIcon: Kt },
|
|
4347
|
-
mixins: [
|
|
4363
|
+
mixins: [$e],
|
|
4348
4364
|
inject: {
|
|
4349
4365
|
autofillSlot: {
|
|
4350
4366
|
from: Le,
|
|
@@ -4583,11 +4599,11 @@ const Nh = /* @__PURE__ */ J(Eh, [["render", Fh], ["__scopeId", "data-v-be99d00c
|
|
|
4583
4599
|
}, null, 8, ["id", "modelValue", "aria-labelledby", "class", "disabled", "items", "kpop-attributes", "label-attributes", "name", "placeholder", "required"]);
|
|
4584
4600
|
};
|
|
4585
4601
|
}
|
|
4586
|
-
}), Dh = { class: "selection-group" }, Vh = { class: "form-group horizontal-radios" }, Kh = { class: "radio-group" }, jh = ["disabled", "value"], xh = { class: "control-help" },
|
|
4602
|
+
}), Dh = { class: "selection-group" }, Vh = { class: "form-group horizontal-radios" }, Kh = { class: "radio-group" }, jh = ["disabled", "value"], xh = { class: "control-help" }, zh = {
|
|
4587
4603
|
key: 0,
|
|
4588
4604
|
class: "option-field"
|
|
4589
|
-
},
|
|
4590
|
-
mixins: [
|
|
4605
|
+
}, $h = { class: "option-field-container" }, qh = {
|
|
4606
|
+
mixins: [$e],
|
|
4591
4607
|
emits: ["model-updated"],
|
|
4592
4608
|
expose: ["validate", "clearValidationErrors", "schema"],
|
|
4593
4609
|
data() {
|
|
@@ -4671,8 +4687,8 @@ const Nh = /* @__PURE__ */ J(Eh, [["render", Fh], ["__scopeId", "data-v-be99d00c
|
|
|
4671
4687
|
key: i,
|
|
4672
4688
|
class: "option-group"
|
|
4673
4689
|
}, [
|
|
4674
|
-
n.renderedTrack[i] ? ke((d(), _("div",
|
|
4675
|
-
c("div",
|
|
4690
|
+
n.renderedTrack[i] ? ke((d(), _("div", zh, [
|
|
4691
|
+
c("div", $h, [
|
|
4676
4692
|
S(he, {
|
|
4677
4693
|
model: n.model,
|
|
4678
4694
|
options: { helpAsHtml: !0 },
|
|
@@ -5247,7 +5263,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5247
5263
|
return r.app === "konnect" && (E = E.replace(/{controlPlaneId}/gi, r?.controlPlaneId || "")), E = E.replace(/\/{workspace}/gi, r?.workspace ? `/${r.workspace}` : "").replace(/{id}/gi, String(H)), E;
|
|
5248
5264
|
}, M = x(() => {
|
|
5249
5265
|
const H = (y.value || []).map((E) => {
|
|
5250
|
-
const g = E, R = a.isKonnectManagedRedisEnabled ? mp(g) : void 0,
|
|
5266
|
+
const g = E, R = a.isKonnectManagedRedisEnabled ? mp(g) : void 0, $ = R === Lt.KONNECT_MANAGED;
|
|
5251
5267
|
return {
|
|
5252
5268
|
...a.isKonnectManagedRedisEnabled && R ? { source: R } : {},
|
|
5253
5269
|
// only attach `source` in managed mode
|
|
@@ -5255,7 +5271,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5255
5271
|
name: E.name,
|
|
5256
5272
|
value: E.id,
|
|
5257
5273
|
type: E.type,
|
|
5258
|
-
tag: a.isKonnectManagedRedisEnabled &&
|
|
5274
|
+
tag: a.isKonnectManagedRedisEnabled && $ ? void 0 : dp(g)
|
|
5259
5275
|
};
|
|
5260
5276
|
}).filter((E) => E.type === "redis-ce" || E.type === "redis-ee");
|
|
5261
5277
|
return a.redisType !== "all" ? H.filter((E) => E.type === a.redisType) : H;
|
|
@@ -5263,7 +5279,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5263
5279
|
const H = M.value;
|
|
5264
5280
|
if (!a.isKonnectManagedRedisEnabled)
|
|
5265
5281
|
return H;
|
|
5266
|
-
const E = H.filter((
|
|
5282
|
+
const E = H.filter(($) => $.source === Lt.KONNECT_MANAGED), g = H.filter(($) => $.source === Lt.SELF_MANAGED), R = [];
|
|
5267
5283
|
return E.length > 0 && R.push({
|
|
5268
5284
|
label: t("redis.managed_ui.groups.konnect_managed"),
|
|
5269
5285
|
items: E
|
|
@@ -5290,7 +5306,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5290
5306
|
}), _i(() => {
|
|
5291
5307
|
m(), a.defaultRedisConfigItem && j(a.defaultRedisConfigItem);
|
|
5292
5308
|
}), (H, E) => {
|
|
5293
|
-
const g = k("KLabel"), R = k("KBadge"),
|
|
5309
|
+
const g = k("KLabel"), R = k("KBadge"), $ = k("KSelect");
|
|
5294
5310
|
return d(), _(G, null, [
|
|
5295
5311
|
c("div", Ap, [
|
|
5296
5312
|
S(g, {
|
|
@@ -5306,7 +5322,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5306
5322
|
_: 1
|
|
5307
5323
|
}, 8, ["info"]),
|
|
5308
5324
|
E[2] || (E[2] = c("div", { class: "shared-redis-config-title" }, null, -1)),
|
|
5309
|
-
S(
|
|
5325
|
+
S($, {
|
|
5310
5326
|
class: "redis-config-select-trigger",
|
|
5311
5327
|
"data-testid": "redis-config-select-trigger",
|
|
5312
5328
|
"enable-filtering": "",
|
|
@@ -5729,7 +5745,7 @@ const hp = { class: "partial-config-card" }, pp = { class: "config-card-row-labe
|
|
|
5729
5745
|
key: 0,
|
|
5730
5746
|
class: "vue-form-generator"
|
|
5731
5747
|
}, xp = { key: 0 };
|
|
5732
|
-
function
|
|
5748
|
+
function zp(e, t, n, o, a, i) {
|
|
5733
5749
|
const l = k("form-redis"), r = k("form-group"), f = k("KCollapse");
|
|
5734
5750
|
return n.schema != null ? (d(), _("div", jp, [
|
|
5735
5751
|
n.schema.fields ? (d(), F(se(n.tag), { key: 0 }, {
|
|
@@ -5893,7 +5909,7 @@ function $p(e, t, n, o, a, i) {
|
|
|
5893
5909
|
], 64))), 128))
|
|
5894
5910
|
])) : K("", !0);
|
|
5895
5911
|
}
|
|
5896
|
-
const he = /* @__PURE__ */ J(Kp, [["render",
|
|
5912
|
+
const he = /* @__PURE__ */ J(Kp, [["render", zp]]), $p = [
|
|
5897
5913
|
{
|
|
5898
5914
|
label: "Kong Identity client",
|
|
5899
5915
|
value: "kong-identity",
|
|
@@ -5949,7 +5965,7 @@ const he = /* @__PURE__ */ J(Kp, [["render", $p]]), zp = [
|
|
|
5949
5965
|
},
|
|
5950
5966
|
data() {
|
|
5951
5967
|
return {
|
|
5952
|
-
lookupMethodItems:
|
|
5968
|
+
lookupMethodItems: $p,
|
|
5953
5969
|
selectedLookupMethod: qp(this.formModel)
|
|
5954
5970
|
};
|
|
5955
5971
|
},
|
|
@@ -7171,7 +7187,7 @@ const Rg = /* @__PURE__ */ J(Eg, [["render", kg], ["__scopeId", "data-v-8c1cdc7c
|
|
|
7171
7187
|
}
|
|
7172
7188
|
}
|
|
7173
7189
|
}, Lg = { class: "general-settings" }, Pg = { class: "link-wrapper" }, Dg = { class: "auth-method-container" }, Vg = { class: "general-settings" }, Kg = { class: "link-wrapper" }, jg = { class: "general-settings" }, xg = { class: "link-wrapper" };
|
|
7174
|
-
function
|
|
7190
|
+
function zg(e, t, n, o, a, i) {
|
|
7175
7191
|
const l = k("VueFormGenerator"), r = k("KExternalLink"), f = k("OIDCAuthMethods"), u = k("OIDCPrincipals"), b = k("KLabel"), m = k("KCheckbox"), y = k("KInputSwitch"), I = k("KTabs");
|
|
7176
7192
|
return d(), _("div", null, [
|
|
7177
7193
|
n.formModel.id && n.isEditing || !n.isEditing ? (d(), F(l, {
|
|
@@ -7288,7 +7304,7 @@ function $g(e, t, n, o, a, i) {
|
|
|
7288
7304
|
onModelUpdated: n.onModelUpdated
|
|
7289
7305
|
}, {
|
|
7290
7306
|
"autofill-provider": A((C) => [
|
|
7291
|
-
Se(e.$slots, "autofill-provider", $s(
|
|
7307
|
+
Se(e.$slots, "autofill-provider", zs($s(C)), void 0, !0)
|
|
7292
7308
|
]),
|
|
7293
7309
|
_: 3
|
|
7294
7310
|
}, 8, ["model", "options", "schema", "onModelUpdated"])) : K("", !0)
|
|
@@ -7323,7 +7339,7 @@ function $g(e, t, n, o, a, i) {
|
|
|
7323
7339
|
}, 8, ["tabs"])
|
|
7324
7340
|
]);
|
|
7325
7341
|
}
|
|
7326
|
-
const
|
|
7342
|
+
const $g = /* @__PURE__ */ J(Ug, [["render", zg], ["__scopeId", "data-v-e20914ca"]]), qg = /* @__PURE__ */ ye({
|
|
7327
7343
|
__name: "PostFunction",
|
|
7328
7344
|
props: {
|
|
7329
7345
|
formModel: {
|
|
@@ -7803,7 +7819,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7803
7819
|
const E = i.formSchema?.fields?.find((R) => R.type === "selectionGroup" && R.model === "selectionGroup");
|
|
7804
7820
|
return { fields: [i.formSchema?.fields.find((R) => R.model === "enabled"), E].filter(Boolean) };
|
|
7805
7821
|
}), r = x(() => {
|
|
7806
|
-
const E = i.formSchema?.fields?.filter((Ee) => !o(Ee.model)) ?? [], g = [], R = [],
|
|
7822
|
+
const E = i.formSchema?.fields?.filter((Ee) => !o(Ee.model)) ?? [], g = [], R = [], $ = [];
|
|
7807
7823
|
let re = !1;
|
|
7808
7824
|
for (const Ee of E) {
|
|
7809
7825
|
const Ze = Ee.model;
|
|
@@ -7812,13 +7828,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7812
7828
|
(Ee.model === "config-redis-cluster_addresses" || Ee.model === "config-redis-sentinel_addresses") && (Ee.inputAttributes.help = a("rla.redis.address_example")), R.push(Ee);
|
|
7813
7829
|
continue;
|
|
7814
7830
|
}
|
|
7815
|
-
re ?
|
|
7831
|
+
re ? $.push(Ee) : g.push(Ee), Ee.model === "config-strategy" && (re = !0);
|
|
7816
7832
|
}
|
|
7817
7833
|
}
|
|
7818
7834
|
return {
|
|
7819
7835
|
endsWithStrategy: { fields: g },
|
|
7820
7836
|
redis: i.enableRedisPartial ? { fields: [{ fields: R, id: "_redis", model: "__redis_partial", redisType: i.formSchema._supported_redis_partial_type }] } : { fields: R },
|
|
7821
|
-
afterStrategy: { fields:
|
|
7837
|
+
afterStrategy: { fields: $ }
|
|
7822
7838
|
};
|
|
7823
7839
|
}), f = x(() => {
|
|
7824
7840
|
const E = i.formModel["config-window_type"];
|
|
@@ -7879,7 +7895,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7879
7895
|
return ln(() => i.formModel["config-strategy"], (E) => {
|
|
7880
7896
|
E !== "redis" && i.formModel.partials && i.onModelUpdated(void 0, "partials");
|
|
7881
7897
|
}), (E, g) => {
|
|
7882
|
-
const R = k("KLabel"),
|
|
7898
|
+
const R = k("KLabel"), $ = k("KRadio"), re = k("KInput"), Ee = k("KButton"), Ze = k("KBadge"), zt = k("KTooltip"), dn = k("KCard"), Un = k("KSelect"), Ln = k("KCollapse");
|
|
7883
7899
|
return d(), _(G, null, [
|
|
7884
7900
|
c("div", ay, [
|
|
7885
7901
|
S(he, {
|
|
@@ -7923,7 +7939,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7923
7939
|
_: 1
|
|
7924
7940
|
}),
|
|
7925
7941
|
c("div", dy, [
|
|
7926
|
-
(d(!0), _(G, null, ae(C.value, (W) => (d(), F(
|
|
7942
|
+
(d(!0), _(G, null, ae(C.value, (W) => (d(), F($, {
|
|
7927
7943
|
key: `window-type-${W}`,
|
|
7928
7944
|
"model-value": I.value,
|
|
7929
7945
|
name: W,
|
|
@@ -7958,14 +7974,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7958
7974
|
"model-value": W.limit && W.limit.toString(),
|
|
7959
7975
|
placeholder: U(a)("rla.request_limits.request_number"),
|
|
7960
7976
|
type: "number",
|
|
7961
|
-
"onUpdate:modelValue": (
|
|
7977
|
+
"onUpdate:modelValue": ($t) => v(B, Number.parseInt($t))
|
|
7962
7978
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
7963
7979
|
c("div", null, V(U(a)("rla.request_limits.interval_determiner")), 1),
|
|
7964
7980
|
S(re, {
|
|
7965
7981
|
"model-value": W.windowSize && W.windowSize.toString(),
|
|
7966
7982
|
placeholder: U(a)("rla.request_limits.time_interval"),
|
|
7967
7983
|
type: "number",
|
|
7968
|
-
"onUpdate:modelValue": (
|
|
7984
|
+
"onUpdate:modelValue": ($t) => p(B, Number.parseInt($t))
|
|
7969
7985
|
}, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"]),
|
|
7970
7986
|
c("div", null, V(U(a)("rla.request_limits.seconds")), 1)
|
|
7971
7987
|
], 8, my),
|
|
@@ -7996,7 +8012,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
7996
8012
|
f.value.length > 0 ? (d(), _("div", hy, [
|
|
7997
8013
|
c("div", null, V(U(a)("rla.start_with_a_use_case")), 1),
|
|
7998
8014
|
c("div", py, [
|
|
7999
|
-
(d(!0), _(G, null, ae(f.value, (W, B) => (d(), F(
|
|
8015
|
+
(d(!0), _(G, null, ae(f.value, (W, B) => (d(), F(zt, {
|
|
8000
8016
|
key: `use-case-${B}`,
|
|
8001
8017
|
"max-width": "300"
|
|
8002
8018
|
}, {
|
|
@@ -8130,7 +8146,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
8130
8146
|
__proto__: null,
|
|
8131
8147
|
ACMEForm: iy,
|
|
8132
8148
|
ExitTransformer: Gg,
|
|
8133
|
-
OIDCForm:
|
|
8149
|
+
OIDCForm: $g,
|
|
8134
8150
|
PostFunction: Bg,
|
|
8135
8151
|
RLAForm: by
|
|
8136
8152
|
}, Symbol.toStringTag, { value: "Module" })), Cy = [
|