@kong-ui-public/entities-vaults 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-vaults.es.js +65 -58
- package/dist/entities-vaults.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as X, computed as k, openBlock as d, createBlock as D, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as X, computed as k, openBlock as d, createBlock as D, resolveDynamicComponent as fA, normalizeStyle as TA, withCtx as m, createElementBlock as S, toDisplayString as M, createCommentVNode as Y, pushScopeId as xA, popScopeId as RA, createElementVNode as x, ref as j, watch as FA, renderSlot as AA, unref as n, onBeforeMount as me, resolveComponent as O, createSlots as qA, createVNode as p, createTextVNode as Z, renderList as pA, withModifiers as Be, withDirectives as kA, vShow as wA, Fragment as vA, normalizeClass as JA, withKeys as na, useSlots as ve, useCssVars as ot, inject as ra, onMounted as ga, onUnmounted as Ca, normalizeProps as Ia, guardReactiveProps as sa, mergeProps as Qa, Teleport as Ea, reactive as ZA, TransitionGroup as Ba } from "vue";
|
|
2
2
|
import { useRouter as he } from "vue-router";
|
|
3
3
|
import xe from "axios";
|
|
4
4
|
import { createI18n as lt, i18nTComponent as nt } from "@kong-ui-public/i18n";
|
|
@@ -83,7 +83,7 @@ const Ae = "24px", rt = (A, e) => {
|
|
|
83
83
|
lineHeight: "0",
|
|
84
84
|
width: t.value
|
|
85
85
|
}));
|
|
86
|
-
return (a, o) => (d(), D(
|
|
86
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
87
87
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
88
88
|
class: "kui-icon add-icon",
|
|
89
89
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
@@ -184,7 +184,7 @@ const Ae = "24px", rt = (A, e) => {
|
|
|
184
184
|
lineHeight: "0",
|
|
185
185
|
width: t.value
|
|
186
186
|
}));
|
|
187
|
-
return (a, o) => (d(), D(
|
|
187
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
188
188
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
189
189
|
class: "kui-icon kong-icon",
|
|
190
190
|
"data-testid": "kui-icon-wrapper-kong-icon",
|
|
@@ -754,14 +754,14 @@ const iA = {
|
|
|
754
754
|
var I;
|
|
755
755
|
return e.isArrayItem ? (I = o.value) != null && I.name ? i(o.value.name, "_") : t("baseConfigCard.general.entryTitle", { index: e.index }) : "";
|
|
756
756
|
});
|
|
757
|
-
return (I, g) => (d(), D(
|
|
757
|
+
return (I, g) => (d(), D(fA(A.isArrayItem ? "fieldset" : "div"), {
|
|
758
758
|
class: JA(A.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
759
759
|
}, {
|
|
760
760
|
default: m(() => [
|
|
761
761
|
A.isArrayItem ? (d(), S("legend", ii, [
|
|
762
762
|
x("b", null, M(r.value), 1)
|
|
763
763
|
])) : Y("", !0),
|
|
764
|
-
(d(!0), S(
|
|
764
|
+
(d(!0), S(vA, null, pA(Object.keys(l.value), (u, C) => (d(), D(Bt, {
|
|
765
765
|
key: `${a.value}-property-${C}`,
|
|
766
766
|
item: {
|
|
767
767
|
key: u,
|
|
@@ -773,12 +773,12 @@ const iA = {
|
|
|
773
773
|
_: 1
|
|
774
774
|
}, 8, ["class"]));
|
|
775
775
|
}
|
|
776
|
-
}),
|
|
776
|
+
}), mA = (A, e) => {
|
|
777
777
|
const t = A.__vccOpts || A;
|
|
778
778
|
for (const [i, a] of e)
|
|
779
779
|
t[i] = a;
|
|
780
780
|
return t;
|
|
781
|
-
}, Et = /* @__PURE__ */
|
|
781
|
+
}, Et = /* @__PURE__ */ mA(oi, [["__scopeId", "data-v-68ca83ec"]]), li = /* @__PURE__ */ X({
|
|
782
782
|
__name: "InternalLinkItem",
|
|
783
783
|
props: {
|
|
784
784
|
item: {
|
|
@@ -805,7 +805,7 @@ const iA = {
|
|
|
805
805
|
]);
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
|
-
}), ni = /* @__PURE__ */
|
|
808
|
+
}), ni = /* @__PURE__ */ mA(li, [["__scopeId", "data-v-c96811e5"]]), ri = /* @__PURE__ */ X({
|
|
809
809
|
__name: "StatusBadge",
|
|
810
810
|
props: {
|
|
811
811
|
status: {
|
|
@@ -1005,13 +1005,13 @@ const iA = {
|
|
|
1005
1005
|
rowValue: A.item.value
|
|
1006
1006
|
}, () => [
|
|
1007
1007
|
r.value ? (d(), S("div", pi, [
|
|
1008
|
-
(d(), D(
|
|
1008
|
+
(d(), D(fA(C.value.tag), Ia(sa(C.value.attrs)), {
|
|
1009
1009
|
default: m(() => [
|
|
1010
1010
|
C.value.additionalComponent === "KBadge" ? (d(), S("div", {
|
|
1011
1011
|
key: 0,
|
|
1012
1012
|
"data-testid": `${A.item.key}-badge-tags`
|
|
1013
1013
|
}, [
|
|
1014
|
-
(d(!0), S(
|
|
1014
|
+
(d(!0), S(vA, null, pA(A.item.value, (v, T) => (d(), D(q, {
|
|
1015
1015
|
key: `${A.item.key}-badge-tag-${T}`,
|
|
1016
1016
|
class: "config-badge",
|
|
1017
1017
|
"data-testid": `${A.item.key}-badge-tag-${T}`,
|
|
@@ -1029,7 +1029,7 @@ const iA = {
|
|
|
1029
1029
|
class: "copy-uuid-array",
|
|
1030
1030
|
"data-testid": `${A.item.key}-copy-uuid-array`
|
|
1031
1031
|
}, [
|
|
1032
|
-
(d(!0), S(
|
|
1032
|
+
(d(!0), S(vA, null, pA(A.item.value, (v, T) => (d(), D(U, Qa({ ref_for: !0 }, C.value.childAttrs, {
|
|
1033
1033
|
key: `${A.item.key}-copy-uuid-${T}`,
|
|
1034
1034
|
"data-testid": `${A.item.key}-copy-uuid-${T}`,
|
|
1035
1035
|
text: v
|
|
@@ -1039,7 +1039,7 @@ const iA = {
|
|
|
1039
1039
|
class: "method-badge-array",
|
|
1040
1040
|
"data-testid": `${A.item.key}-badge-methods`
|
|
1041
1041
|
}, [
|
|
1042
|
-
(d(!0), S(
|
|
1042
|
+
(d(!0), S(vA, null, pA(A.item.value, (v, T) => (d(), D(q, {
|
|
1043
1043
|
key: `${A.item.key}-badge-method-${T}`,
|
|
1044
1044
|
appearance: Object.values(n(ua)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
|
|
1045
1045
|
class: "config-badge",
|
|
@@ -1055,7 +1055,7 @@ const iA = {
|
|
|
1055
1055
|
key: 3,
|
|
1056
1056
|
"data-testid": `${t.item.key}-json-array-content`
|
|
1057
1057
|
}, [
|
|
1058
|
-
(d(!0), S(
|
|
1058
|
+
(d(!0), S(vA, null, pA(A.item.value, (v, T) => (d(), D(Et, {
|
|
1059
1059
|
key: `json-array-item-${T}`,
|
|
1060
1060
|
index: T,
|
|
1061
1061
|
"is-array-item": "",
|
|
@@ -1086,7 +1086,7 @@ const iA = {
|
|
|
1086
1086
|
]);
|
|
1087
1087
|
};
|
|
1088
1088
|
}
|
|
1089
|
-
}), Bt = /* @__PURE__ */
|
|
1089
|
+
}), Bt = /* @__PURE__ */ mA(bi, [["__scopeId", "data-v-d268261c"]]), ki = { class: "json-config" }, wi = {
|
|
1090
1090
|
key: 0,
|
|
1091
1091
|
class: "json-endpoint"
|
|
1092
1092
|
}, ut = /* @__PURE__ */ X({
|
|
@@ -1751,7 +1751,7 @@ var Lt = new gA("tag:yaml.org,2002:set", {
|
|
|
1751
1751
|
function We(A) {
|
|
1752
1752
|
return Object.prototype.toString.call(A);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function hA(A) {
|
|
1755
1755
|
return A === 10 || A === 13;
|
|
1756
1756
|
}
|
|
1757
1757
|
function NA(A) {
|
|
@@ -1870,7 +1870,7 @@ function eA(A, e, t) {
|
|
|
1870
1870
|
do
|
|
1871
1871
|
a = A.input.charCodeAt(++A.position);
|
|
1872
1872
|
while (a !== 10 && a !== 13 && a !== 0);
|
|
1873
|
-
if (
|
|
1873
|
+
if (hA(a))
|
|
1874
1874
|
for (we(A), a = A.input.charCodeAt(A.position), i++, A.lineIndent = 0; a === 32; )
|
|
1875
1875
|
A.lineIndent++, a = A.input.charCodeAt(++A.position);
|
|
1876
1876
|
else
|
|
@@ -1900,7 +1900,7 @@ function Mo(A, e, t) {
|
|
|
1900
1900
|
} else {
|
|
1901
1901
|
if (A.position === A.lineStart && re(A) || t && KA(f))
|
|
1902
1902
|
break;
|
|
1903
|
-
if (
|
|
1903
|
+
if (hA(f))
|
|
1904
1904
|
if (I = A.line, g = A.lineStart, u = A.lineIndent, eA(A, !1, -1), A.lineIndent >= e) {
|
|
1905
1905
|
r = !0, f = A.input.charCodeAt(A.position);
|
|
1906
1906
|
continue;
|
|
@@ -1924,7 +1924,7 @@ function Ko(A, e) {
|
|
|
1924
1924
|
else
|
|
1925
1925
|
return !0;
|
|
1926
1926
|
else
|
|
1927
|
-
|
|
1927
|
+
hA(t) ? (SA(A, i, a, !0), Se(A, eA(A, !1, e)), i = a = A.position) : A.position === A.lineStart && re(A) ? V(A, "unexpected end of the document within a single quoted scalar") : (A.position++, a = A.position);
|
|
1928
1928
|
V(A, "unexpected end of the stream within a single quoted scalar");
|
|
1929
1929
|
}
|
|
1930
1930
|
function jo(A, e) {
|
|
@@ -1935,7 +1935,7 @@ function jo(A, e) {
|
|
|
1935
1935
|
if (r === 34)
|
|
1936
1936
|
return SA(A, t, A.position, !0), A.position++, !0;
|
|
1937
1937
|
if (r === 92) {
|
|
1938
|
-
if (SA(A, t, A.position, !0), r = A.input.charCodeAt(++A.position),
|
|
1938
|
+
if (SA(A, t, A.position, !0), r = A.input.charCodeAt(++A.position), hA(r))
|
|
1939
1939
|
eA(A, !1, e);
|
|
1940
1940
|
else if (r < 256 && Ot[r])
|
|
1941
1941
|
A.result += Wt[r], A.position++;
|
|
@@ -1947,7 +1947,7 @@ function jo(A, e) {
|
|
|
1947
1947
|
V(A, "unknown escape sequence");
|
|
1948
1948
|
t = i = A.position;
|
|
1949
1949
|
} else
|
|
1950
|
-
|
|
1950
|
+
hA(r) ? (SA(A, t, i, !0), Se(A, eA(A, !1, e)), t = i = A.position) : A.position === A.lineStart && re(A) ? V(A, "unexpected end of the document within a double quoted scalar") : (A.position++, i = A.position);
|
|
1951
1951
|
}
|
|
1952
1952
|
V(A, "unexpected end of the stream within a double quoted scalar");
|
|
1953
1953
|
}
|
|
@@ -1988,12 +1988,12 @@ function Oo(A, e) {
|
|
|
1988
1988
|
if (C === 35)
|
|
1989
1989
|
do
|
|
1990
1990
|
C = A.input.charCodeAt(++A.position);
|
|
1991
|
-
while (!
|
|
1991
|
+
while (!hA(C) && C !== 0);
|
|
1992
1992
|
}
|
|
1993
1993
|
for (; C !== 0; ) {
|
|
1994
1994
|
for (we(A), A.lineIndent = 0, C = A.input.charCodeAt(A.position); (!l || A.lineIndent < r) && C === 32; )
|
|
1995
1995
|
A.lineIndent++, C = A.input.charCodeAt(++A.position);
|
|
1996
|
-
if (!l && A.lineIndent > r && (r = A.lineIndent),
|
|
1996
|
+
if (!l && A.lineIndent > r && (r = A.lineIndent), hA(C)) {
|
|
1997
1997
|
I++;
|
|
1998
1998
|
continue;
|
|
1999
1999
|
}
|
|
@@ -2007,7 +2007,7 @@ function Oo(A, e) {
|
|
|
2007
2007
|
`, o ? 1 + I : I)) : g ? (g = !1, A.result += aA.repeat(`
|
|
2008
2008
|
`, I + 1)) : I === 0 ? o && (A.result += " ") : A.result += aA.repeat(`
|
|
2009
2009
|
`, I) : A.result += aA.repeat(`
|
|
2010
|
-
`, o ? 1 + I : I), o = !0, l = !0, I = 0, t = A.position; !
|
|
2010
|
+
`, o ? 1 + I : I), o = !0, l = !0, I = 0, t = A.position; !hA(C) && C !== 0; )
|
|
2011
2011
|
C = A.input.charCodeAt(++A.position);
|
|
2012
2012
|
SA(A, t, A.position, !1);
|
|
2013
2013
|
}
|
|
@@ -2135,10 +2135,10 @@ function zo(A) {
|
|
|
2135
2135
|
if (l === 35) {
|
|
2136
2136
|
do
|
|
2137
2137
|
l = A.input.charCodeAt(++A.position);
|
|
2138
|
-
while (l !== 0 && !
|
|
2138
|
+
while (l !== 0 && !hA(l));
|
|
2139
2139
|
break;
|
|
2140
2140
|
}
|
|
2141
|
-
if (
|
|
2141
|
+
if (hA(l))
|
|
2142
2142
|
break;
|
|
2143
2143
|
for (t = A.position; l !== 0 && !uA(l); )
|
|
2144
2144
|
l = A.input.charCodeAt(++A.position);
|
|
@@ -2604,15 +2604,15 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2604
2604
|
const l = JSON.parse(JSON.stringify(e.record));
|
|
2605
2605
|
return delete l.created_at, delete l.updated_at, l;
|
|
2606
2606
|
});
|
|
2607
|
-
return (l, r) => (d(), S(
|
|
2607
|
+
return (l, r) => (d(), S(vA, null, [
|
|
2608
2608
|
A.format === "structured" ? (d(), S("div", Zl, [
|
|
2609
|
-
(d(!0), S(
|
|
2609
|
+
(d(!0), S(vA, null, pA(A.propListTypes, (I) => (d(), S("div", {
|
|
2610
2610
|
key: `config-card-details-${I}-props`,
|
|
2611
2611
|
class: JA(`config-card-details-${I}-props`),
|
|
2612
2612
|
"data-testid": `config-card-details-${I}-props`
|
|
2613
2613
|
}, [
|
|
2614
2614
|
I !== "basic" ? (d(), S("div", _l, M(I === "advanced" ? n(i)("baseConfigCard.sections.advanced") : n(i)("baseConfigCard.sections.plugin")), 1)) : Y("", !0),
|
|
2615
|
-
(d(!0), S(
|
|
2615
|
+
(d(!0), S(vA, null, pA(A.propertyCollections[I], (g) => (d(), D(Bt, {
|
|
2616
2616
|
key: g.key,
|
|
2617
2617
|
item: g
|
|
2618
2618
|
}, qA({
|
|
@@ -2650,7 +2650,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2650
2650
|
}, null, 8, ["yaml-record"])) : Y("", !0)
|
|
2651
2651
|
], 64));
|
|
2652
2652
|
}
|
|
2653
|
-
}), An = /* @__PURE__ */
|
|
2653
|
+
}), An = /* @__PURE__ */ mA($l, [["__scopeId", "data-v-2052238b"]]), yA = "24px", HA = (A, e) => {
|
|
2654
2654
|
const t = A.__vccOpts || A;
|
|
2655
2655
|
for (const [i, a] of e)
|
|
2656
2656
|
t[i] = a;
|
|
@@ -2692,7 +2692,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2692
2692
|
size: {
|
|
2693
2693
|
type: [Number, String],
|
|
2694
2694
|
required: !1,
|
|
2695
|
-
default:
|
|
2695
|
+
default: yA,
|
|
2696
2696
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2697
2697
|
validator: (A) => {
|
|
2698
2698
|
if (typeof A == "number" && A > 0)
|
|
@@ -2721,7 +2721,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2721
2721
|
if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
|
|
2722
2722
|
return `${o}px`;
|
|
2723
2723
|
}
|
|
2724
|
-
return
|
|
2724
|
+
return yA;
|
|
2725
2725
|
}), i = k(() => ({
|
|
2726
2726
|
boxSizing: "border-box",
|
|
2727
2727
|
color: e.color,
|
|
@@ -2730,7 +2730,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2730
2730
|
lineHeight: "0",
|
|
2731
2731
|
width: t.value
|
|
2732
2732
|
}));
|
|
2733
|
-
return (a, o) => (d(), D(
|
|
2733
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
2734
2734
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
2735
2735
|
class: "kui-icon add-icon",
|
|
2736
2736
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
@@ -2791,7 +2791,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2791
2791
|
size: {
|
|
2792
2792
|
type: [Number, String],
|
|
2793
2793
|
required: !1,
|
|
2794
|
-
default:
|
|
2794
|
+
default: yA,
|
|
2795
2795
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2796
2796
|
validator: (A) => {
|
|
2797
2797
|
if (typeof A == "number" && A > 0)
|
|
@@ -2820,7 +2820,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2820
2820
|
if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
|
|
2821
2821
|
return `${o}px`;
|
|
2822
2822
|
}
|
|
2823
|
-
return
|
|
2823
|
+
return yA;
|
|
2824
2824
|
}), i = k(() => ({
|
|
2825
2825
|
boxSizing: "border-box",
|
|
2826
2826
|
color: e.color,
|
|
@@ -2829,7 +2829,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2829
2829
|
lineHeight: "0",
|
|
2830
2830
|
width: t.value
|
|
2831
2831
|
}));
|
|
2832
|
-
return (a, o) => (d(), D(
|
|
2832
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
2833
2833
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
2834
2834
|
class: "kui-icon book-icon",
|
|
2835
2835
|
"data-testid": "kui-icon-wrapper-book-icon",
|
|
@@ -2890,7 +2890,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2890
2890
|
size: {
|
|
2891
2891
|
type: [Number, String],
|
|
2892
2892
|
required: !1,
|
|
2893
|
-
default:
|
|
2893
|
+
default: yA,
|
|
2894
2894
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2895
2895
|
validator: (A) => {
|
|
2896
2896
|
if (typeof A == "number" && A > 0)
|
|
@@ -2919,7 +2919,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2919
2919
|
if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
|
|
2920
2920
|
return `${o}px`;
|
|
2921
2921
|
}
|
|
2922
|
-
return
|
|
2922
|
+
return yA;
|
|
2923
2923
|
}), i = k(() => ({
|
|
2924
2924
|
boxSizing: "border-box",
|
|
2925
2925
|
color: e.color,
|
|
@@ -2928,7 +2928,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2928
2928
|
lineHeight: "0",
|
|
2929
2929
|
width: t.value
|
|
2930
2930
|
}));
|
|
2931
|
-
return (a, o) => (d(), D(
|
|
2931
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
2932
2932
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
2933
2933
|
class: "kui-icon chevron-down-icon",
|
|
2934
2934
|
"data-testid": "kui-icon-wrapper-chevron-down-icon",
|
|
@@ -2989,7 +2989,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
2989
2989
|
size: {
|
|
2990
2990
|
type: [Number, String],
|
|
2991
2991
|
required: !1,
|
|
2992
|
-
default:
|
|
2992
|
+
default: yA,
|
|
2993
2993
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2994
2994
|
validator: (A) => {
|
|
2995
2995
|
if (typeof A == "number" && A > 0)
|
|
@@ -3018,7 +3018,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3018
3018
|
if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
|
|
3019
3019
|
return `${o}px`;
|
|
3020
3020
|
}
|
|
3021
|
-
return
|
|
3021
|
+
return yA;
|
|
3022
3022
|
}), i = k(() => ({
|
|
3023
3023
|
boxSizing: "border-box",
|
|
3024
3024
|
color: e.color,
|
|
@@ -3027,7 +3027,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3027
3027
|
lineHeight: "0",
|
|
3028
3028
|
width: t.value
|
|
3029
3029
|
}));
|
|
3030
|
-
return (a, o) => (d(), D(
|
|
3030
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
3031
3031
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
3032
3032
|
class: "kui-icon close-icon",
|
|
3033
3033
|
"data-testid": "kui-icon-wrapper-close-icon",
|
|
@@ -3088,7 +3088,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3088
3088
|
size: {
|
|
3089
3089
|
type: [Number, String],
|
|
3090
3090
|
required: !1,
|
|
3091
|
-
default:
|
|
3091
|
+
default: yA,
|
|
3092
3092
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
3093
3093
|
validator: (A) => {
|
|
3094
3094
|
if (typeof A == "number" && A > 0)
|
|
@@ -3117,7 +3117,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3117
3117
|
if (o && !isNaN(o) && Number.isInteger(o) && o > 0)
|
|
3118
3118
|
return `${o}px`;
|
|
3119
3119
|
}
|
|
3120
|
-
return
|
|
3120
|
+
return yA;
|
|
3121
3121
|
}), i = k(() => ({
|
|
3122
3122
|
boxSizing: "border-box",
|
|
3123
3123
|
color: e.color,
|
|
@@ -3126,7 +3126,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3126
3126
|
lineHeight: "0",
|
|
3127
3127
|
width: t.value
|
|
3128
3128
|
}));
|
|
3129
|
-
return (a, o) => (d(), D(
|
|
3129
|
+
return (a, o) => (d(), D(fA(A.as), {
|
|
3130
3130
|
"aria-hidden": A.decorative ? "true" : void 0,
|
|
3131
3131
|
class: "kui-icon more-icon",
|
|
3132
3132
|
"data-testid": "kui-icon-wrapper-more-icon",
|
|
@@ -3464,7 +3464,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3464
3464
|
]), 1032, ["title-tag"]);
|
|
3465
3465
|
};
|
|
3466
3466
|
}
|
|
3467
|
-
}), Ln = /* @__PURE__ */
|
|
3467
|
+
}), Ln = /* @__PURE__ */ mA(Fn, [["__scopeId", "data-v-f40a683b"]]), Mn = ["novalidate"], Kn = {
|
|
3468
3468
|
class: "form-actions",
|
|
3469
3469
|
"data-testid": "form-actions"
|
|
3470
3470
|
}, jn = /* @__PURE__ */ X({
|
|
@@ -3524,6 +3524,13 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3524
3524
|
noValidate: {
|
|
3525
3525
|
type: Boolean,
|
|
3526
3526
|
default: !1
|
|
3527
|
+
},
|
|
3528
|
+
/**
|
|
3529
|
+
* Wrapper component to use at component's root level.
|
|
3530
|
+
*/
|
|
3531
|
+
wrapperComponent: {
|
|
3532
|
+
type: String,
|
|
3533
|
+
default: "KCard"
|
|
3527
3534
|
}
|
|
3528
3535
|
},
|
|
3529
3536
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
@@ -3566,8 +3573,8 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3566
3573
|
g.value = !1;
|
|
3567
3574
|
}
|
|
3568
3575
|
}), (v, T) => {
|
|
3569
|
-
const B = O("KSkeleton"), b = O("KEmptyState"), R = O("KAlert"), J = O("KButton"), P = O("KTabs"), F = O("KSlideout")
|
|
3570
|
-
return d(), D(
|
|
3576
|
+
const B = O("KSkeleton"), b = O("KEmptyState"), R = O("KAlert"), J = O("KButton"), P = O("KTabs"), F = O("KSlideout");
|
|
3577
|
+
return d(), D(fA(A.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
|
|
3571
3578
|
default: m(() => [
|
|
3572
3579
|
g.value ? (d(), D(B, {
|
|
3573
3580
|
key: 0,
|
|
@@ -3602,7 +3609,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3602
3609
|
p(J, {
|
|
3603
3610
|
appearance: "tertiary",
|
|
3604
3611
|
"data-testid": "form-view-configuration",
|
|
3605
|
-
onClick: T[0] || (T[0] = (
|
|
3612
|
+
onClick: T[0] || (T[0] = (L) => N())
|
|
3606
3613
|
}, {
|
|
3607
3614
|
default: m(() => [
|
|
3608
3615
|
Z(M(n(l)("baseForm.actions.viewConfiguration")), 1)
|
|
@@ -3641,7 +3648,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3641
3648
|
"offset-top": 60,
|
|
3642
3649
|
title: n(l)("baseForm.configuration.title"),
|
|
3643
3650
|
visible: f.value,
|
|
3644
|
-
onClose: T[1] || (T[1] = (
|
|
3651
|
+
onClose: T[1] || (T[1] = (L) => N())
|
|
3645
3652
|
}, {
|
|
3646
3653
|
default: m(() => [
|
|
3647
3654
|
x("div", null, M(n(l)("baseForm.configuration.message")), 1),
|
|
@@ -3672,7 +3679,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3672
3679
|
});
|
|
3673
3680
|
};
|
|
3674
3681
|
}
|
|
3675
|
-
}), qn = /* @__PURE__ */
|
|
3682
|
+
}), qn = /* @__PURE__ */ mA(jn, [["__scopeId", "data-v-fd05df8e"]]), On = ["data-truncate"], Wn = /* @__PURE__ */ X({
|
|
3676
3683
|
__name: "EntityBaseTableCell",
|
|
3677
3684
|
props: {
|
|
3678
3685
|
keyName: {
|
|
@@ -3755,7 +3762,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
3755
3762
|
], 512);
|
|
3756
3763
|
};
|
|
3757
3764
|
}
|
|
3758
|
-
}), Dn = /* @__PURE__ */
|
|
3765
|
+
}), Dn = /* @__PURE__ */ mA(Wn, [["__scopeId", "data-v-471ce76e"]]), Yn = { class: "toolbar-container" }, Pn = {
|
|
3759
3766
|
key: 0,
|
|
3760
3767
|
class: "toolbar-button-container"
|
|
3761
3768
|
}, zn = ["data-testid"], Hn = /* @__PURE__ */ X({
|
|
@@ -4056,7 +4063,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
4056
4063
|
}, 8, ["title", "title-tag"]);
|
|
4057
4064
|
};
|
|
4058
4065
|
}
|
|
4059
|
-
}), Gn = /* @__PURE__ */
|
|
4066
|
+
}), Gn = /* @__PURE__ */ mA(Hn, [["__scopeId", "data-v-67bd29c7"]]), Zn = {
|
|
4060
4067
|
key: 0,
|
|
4061
4068
|
class: "kong-ui-entity-delete-error"
|
|
4062
4069
|
}, Xn = {
|
|
@@ -4156,7 +4163,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
4156
4163
|
}, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
|
|
4157
4164
|
};
|
|
4158
4165
|
}
|
|
4159
|
-
}), $n = /* @__PURE__ */
|
|
4166
|
+
}), $n = /* @__PURE__ */ mA(_n, [["__scopeId", "data-v-4361d622"]]), Ar = {
|
|
4160
4167
|
fill: "none",
|
|
4161
4168
|
height: "20",
|
|
4162
4169
|
viewBox: "0 0 20 20",
|
|
@@ -4309,7 +4316,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
4309
4316
|
[wA, o.value]
|
|
4310
4317
|
]),
|
|
4311
4318
|
kA(x("div", lr, [
|
|
4312
|
-
(d(!0), S(
|
|
4319
|
+
(d(!0), S(vA, null, pA(g.value, (J) => {
|
|
4313
4320
|
var P, F;
|
|
4314
4321
|
return d(), S("div", {
|
|
4315
4322
|
key: J.value,
|
|
@@ -4402,7 +4409,7 @@ const Gl = { class: "yaml-config" }, ia = /* @__PURE__ */ X({
|
|
|
4402
4409
|
]));
|
|
4403
4410
|
};
|
|
4404
4411
|
}
|
|
4405
|
-
}), Br = /* @__PURE__ */
|
|
4412
|
+
}), Br = /* @__PURE__ */ mA(Er, [["__scopeId", "data-v-94990087"]]), XA = /* @__PURE__ */ X({
|
|
4406
4413
|
__name: "PermissionsWrapper",
|
|
4407
4414
|
props: {
|
|
4408
4415
|
/**
|
|
@@ -4508,7 +4515,7 @@ const mr = ["aria-labelledby"], vr = { class: "form-section-wrapper" }, hr = {
|
|
|
4508
4515
|
key: 0,
|
|
4509
4516
|
class: JA(["form-section-info", { sticky: A.stickyInfoHeader }])
|
|
4510
4517
|
}, [
|
|
4511
|
-
A.title ? (d(), D(
|
|
4518
|
+
A.title ? (d(), D(fA(A.titleTag), {
|
|
4512
4519
|
key: 0,
|
|
4513
4520
|
id: n(t),
|
|
4514
4521
|
class: "form-section-title"
|
|
@@ -4533,7 +4540,7 @@ const mr = ["aria-labelledby"], vr = { class: "form-section-wrapper" }, hr = {
|
|
|
4533
4540
|
])
|
|
4534
4541
|
], 10, mr));
|
|
4535
4542
|
}
|
|
4536
|
-
}), it = /* @__PURE__ */
|
|
4543
|
+
}), it = /* @__PURE__ */ mA(kr, [["__scopeId", "data-v-b1f74200"]]), { useAxios: oa, useDeleteUrlBuilder: wr, useErrors: Sr, useExternalLinkCreator: pg, useFetchUrlBuilder: fg, useFetcher: Jr, useDebouncedFilter: mg, useStringHelpers: vg, useHelpers: hg, useGatewayFeatureSupported: Ur, useTruncationDetector: yg, useValidators: bg } = iA, Vr = {
|
|
4537
4544
|
create: "New Vault",
|
|
4538
4545
|
copy_id: "Copy ID",
|
|
4539
4546
|
copy_json: "Copy JSON",
|
|
@@ -5060,7 +5067,7 @@ const Ve = {
|
|
|
5060
5067
|
tags: m(({ rowValue: z }) => [
|
|
5061
5068
|
(z == null ? void 0 : z.length) > 0 ? (d(), D(EA, { key: 0 }, {
|
|
5062
5069
|
default: m(() => [
|
|
5063
|
-
(d(!0), S(
|
|
5070
|
+
(d(!0), S(vA, null, pA(z, (IA) => (d(), D(K, {
|
|
5064
5071
|
key: IA,
|
|
5065
5072
|
onClick: c[1] || (c[1] = Be(() => {
|
|
5066
5073
|
}, ["stop"]))
|