@kong-ui-public/entities-shared 3.30.2-pr.2484.4c241d5fa.0 → 3.30.2-pr.2484.cb160c4ea.0
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-shared.es.js +135 -135
- package/dist/entities-shared.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +3 -1
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as jt, ref as R, computed as
|
|
1
|
+
import { inject as jt, ref as R, computed as F, unref as T, toValue as me, watch as ve, toRef as qn, provide as Dt, defineComponent as J, createBlock as N, openBlock as m, resolveDynamicComponent as je, normalizeClass as de, withCtx as _, createElementBlock as $, createCommentVNode as K, createElementVNode as O, toDisplayString as E, Fragment as ce, renderList as se, resolveComponent as D, createVNode as M, createTextVNode as U, useCssVars as Pt, useId as Hn, useSlots as De, renderSlot as j, createSlots as _e, normalizeProps as Vn, guardReactiveProps as Yn, mergeProps as Wn, onMounted as tt, onBeforeMount as nt, withModifiers as Le, Teleport as Ut, onUnmounted as Jn, withDirectives as be, vShow as xe, withKeys as Gn, warn as zn } from "vue";
|
|
2
2
|
import ft from "axios";
|
|
3
3
|
import { createI18n as Qn, i18nTComponent as Zn } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as Xn, KButton as pt, KTruncate as ei, KBadge as ti } from "@kong/kongponents";
|
|
@@ -261,7 +261,7 @@ function wi(e, t, n, i = {
|
|
|
261
261
|
n || (n = "1000");
|
|
262
262
|
const { axiosInstance: r } = rt(e.axiosRequestConfig), { i18n: { t: o } } = Ue(), { debounce: a } = ci(), l = a(async (L) => {
|
|
263
263
|
await x(L);
|
|
264
|
-
}, 200), s = R(!1), c = R(""), d = R(""), u = R([]), g = R([]), p = R(void 0), y =
|
|
264
|
+
}, 200), s = R(!1), c = R(""), d = R(""), u = R([]), g = R([]), p = R(void 0), y = F(() => {
|
|
265
265
|
const L = `${e.apiBaseUrl}${T(t)}`;
|
|
266
266
|
return e.app === "konnect" ? L.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? L.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : L;
|
|
267
267
|
}), { isValidUuid: v } = Vt(), b = async () => {
|
|
@@ -333,7 +333,7 @@ function wi(e, t, n, i = {
|
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
335
|
function _i(e, t) {
|
|
336
|
-
const n = T(t), i =
|
|
336
|
+
const n = T(t), i = F(
|
|
337
337
|
() => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
|
|
338
338
|
);
|
|
339
339
|
return i.value.search = "", (r) => `${i.value.href}/${r}`;
|
|
@@ -422,10 +422,10 @@ function $i(e) {
|
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
424
|
function Yt(e, t) {
|
|
425
|
-
const n =
|
|
425
|
+
const n = F(() => {
|
|
426
426
|
const r = me(e);
|
|
427
427
|
return r.app === "konnect" || !!r.isExactMatch;
|
|
428
|
-
}), i =
|
|
428
|
+
}), i = F(() => {
|
|
429
429
|
const r = me(t);
|
|
430
430
|
return r.startsWith("/") ? new URL(`${window.location.origin}${r}`) : new URL(r);
|
|
431
431
|
});
|
|
@@ -516,14 +516,14 @@ const Jt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
516
516
|
}, yt = (e) => e === "*" || e === "x" || e === "X", vt = (e) => {
|
|
517
517
|
const t = parseInt(e, 10);
|
|
518
518
|
return isNaN(t) ? e : t;
|
|
519
|
-
},
|
|
519
|
+
}, Fi = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Ei = (e, t) => {
|
|
520
520
|
if (yt(e) || yt(t))
|
|
521
521
|
return 0;
|
|
522
|
-
const [n, i] =
|
|
522
|
+
const [n, i] = Fi(vt(e), vt(t));
|
|
523
523
|
return n > i ? 1 : n < i ? -1 : 0;
|
|
524
524
|
}, bt = (e, t) => {
|
|
525
525
|
for (let n = 0; n < Math.max(e.length, t.length); n++) {
|
|
526
|
-
const i =
|
|
526
|
+
const i = Ei(e[n] || "0", t[n] || "0");
|
|
527
527
|
if (i !== 0)
|
|
528
528
|
return i;
|
|
529
529
|
}
|
|
@@ -566,7 +566,7 @@ function Ki(e) {
|
|
|
566
566
|
return ve(e, (o) => {
|
|
567
567
|
o && !i.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, i.value = !0);
|
|
568
568
|
}), {
|
|
569
|
-
isTruncated:
|
|
569
|
+
isTruncated: F(() => t.value < n.value)
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
572
|
function Ni() {
|
|
@@ -584,7 +584,7 @@ const Ge = Symbol("schema"), Mi = (e) => {
|
|
|
584
584
|
};
|
|
585
585
|
function Di(e) {
|
|
586
586
|
let t = "";
|
|
587
|
-
const n = R(!1), i = R(null), r =
|
|
587
|
+
const n = R(!1), i = R(null), r = F(() => {
|
|
588
588
|
let a;
|
|
589
589
|
return n.value ? a = !0 : i.value ? a = i.value.hasData || e && me(e) : a = !1, !a;
|
|
590
590
|
});
|
|
@@ -635,10 +635,10 @@ const Y = {
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
setup(e) {
|
|
638
|
-
const t = e, { i18n: { t: n } } = Y.useI18n(), { convertKeyToTitle: i } = Y.useStringHelpers(), r =
|
|
638
|
+
const t = e, { i18n: { t: n } } = Y.useI18n(), { convertKeyToTitle: i } = Y.useStringHelpers(), r = F(() => t.item.key ?? "json-array-item"), o = F(() => t.item.value ?? t.item), a = F(() => {
|
|
639
639
|
const s = JSON.parse(JSON.stringify(o.value));
|
|
640
640
|
return t.isArrayItem && delete s.name, s;
|
|
641
|
-
}), l =
|
|
641
|
+
}), l = F(() => {
|
|
642
642
|
var s;
|
|
643
643
|
return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
|
|
644
644
|
});
|
|
@@ -647,7 +647,7 @@ const Y = {
|
|
|
647
647
|
}, {
|
|
648
648
|
default: _(() => [
|
|
649
649
|
e.isArrayItem ? (m(), $("legend", Pi, [
|
|
650
|
-
O("b", null,
|
|
650
|
+
O("b", null, E(l.value), 1)
|
|
651
651
|
])) : K("", !0),
|
|
652
652
|
(m(!0), $(ce, null, se(Object.keys(a.value), (d, u) => (m(), N(Qt, {
|
|
653
653
|
key: `${r.value}-property-${u}`,
|
|
@@ -686,7 +686,7 @@ const Y = {
|
|
|
686
686
|
onClick: i[0] || (i[0] = (o) => n.$emit("navigation-click", e.item))
|
|
687
687
|
}, {
|
|
688
688
|
default: _(() => [
|
|
689
|
-
U(
|
|
689
|
+
U(E(e.item.value || T(t)("baseConfigCard.commonFields.link")), 1)
|
|
690
690
|
]),
|
|
691
691
|
_: 1
|
|
692
692
|
})
|
|
@@ -709,7 +709,7 @@ const Y = {
|
|
|
709
709
|
appearance: e.status ? "success" : "neutral"
|
|
710
710
|
}, {
|
|
711
711
|
default: _(() => [
|
|
712
|
-
U(
|
|
712
|
+
U(E(e.status ? T(t)("baseConfigCard.statusBadge.enabledLabel") : T(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
|
|
713
713
|
]),
|
|
714
714
|
_: 1
|
|
715
715
|
}, 8, ["appearance"]);
|
|
@@ -744,10 +744,10 @@ const Y = {
|
|
|
744
744
|
"847b138c": u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
|
|
745
745
|
"847687d6": u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
|
|
746
746
|
}));
|
|
747
|
-
const n = e, i = t, r = Hn(), o = De(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = Y.useI18n(), c =
|
|
747
|
+
const n = e, i = t, r = Hn(), o = De(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = Y.useI18n(), c = F(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = F(() => !!(n.item.tooltip || o["label-tooltip"])), u = F(() => n.item.type === V.Json || n.item.type === V.JsonArray), g = F(() => n.item.type === V.JsonArray), p = Y.useSubSchema(n.item.key), y = F(() => {
|
|
748
748
|
var q;
|
|
749
749
|
return n.item.type ? n.item.type : (q = p == null ? void 0 : p.value) != null && q.encrypted ? V.Redacted : void 0;
|
|
750
|
-
}), v =
|
|
750
|
+
}), v = F(() => {
|
|
751
751
|
switch (y.value) {
|
|
752
752
|
case V.ID:
|
|
753
753
|
return {
|
|
@@ -897,7 +897,7 @@ const Y = {
|
|
|
897
897
|
ref_key: "labelContent",
|
|
898
898
|
ref: b,
|
|
899
899
|
class: "label-content"
|
|
900
|
-
},
|
|
900
|
+
}, E(e.item.label), 513)
|
|
901
901
|
]),
|
|
902
902
|
_: 1
|
|
903
903
|
}, 8, ["text"])
|
|
@@ -911,7 +911,7 @@ const Y = {
|
|
|
911
911
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
912
912
|
}, [
|
|
913
913
|
j(q.$slots, "label-tooltip", {}, () => [
|
|
914
|
-
U(
|
|
914
|
+
U(E(e.item.tooltip), 1)
|
|
915
915
|
], !0)
|
|
916
916
|
], 8, tr)
|
|
917
917
|
]),
|
|
@@ -942,7 +942,7 @@ const Y = {
|
|
|
942
942
|
"truncation-tooltip": ""
|
|
943
943
|
}, {
|
|
944
944
|
default: _(() => [
|
|
945
|
-
U(
|
|
945
|
+
U(E(C), 1)
|
|
946
946
|
]),
|
|
947
947
|
_: 2
|
|
948
948
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
@@ -968,7 +968,7 @@ const Y = {
|
|
|
968
968
|
"data-testid": `${e.item.key}-badge-method-${k}`
|
|
969
969
|
}, {
|
|
970
970
|
default: _(() => [
|
|
971
|
-
U(
|
|
971
|
+
U(E(C), 1)
|
|
972
972
|
]),
|
|
973
973
|
_: 2
|
|
974
974
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
@@ -991,7 +991,7 @@ const Y = {
|
|
|
991
991
|
ref_key: "textContent",
|
|
992
992
|
ref: S,
|
|
993
993
|
class: de(["attrs-data-text", { truncated: e.truncated }])
|
|
994
|
-
},
|
|
994
|
+
}, E(v.value.text), 3)
|
|
995
995
|
]),
|
|
996
996
|
_: 1
|
|
997
997
|
}, 8, ["text"]))
|
|
@@ -1041,7 +1041,7 @@ const Y = {
|
|
|
1041
1041
|
Pt((r) => ({
|
|
1042
1042
|
eca0976a: `${i.value}ch`
|
|
1043
1043
|
}));
|
|
1044
|
-
const t = e, n =
|
|
1044
|
+
const t = e, n = F(() => t.entityRecord), i = F(() => {
|
|
1045
1045
|
var a;
|
|
1046
1046
|
if (!t.fetcherUrl)
|
|
1047
1047
|
return 0;
|
|
@@ -1056,7 +1056,7 @@ const Y = {
|
|
|
1056
1056
|
appearance: t.requestMethod
|
|
1057
1057
|
}, {
|
|
1058
1058
|
default: _(() => [
|
|
1059
|
-
U(
|
|
1059
|
+
U(E(t.requestMethod), 1)
|
|
1060
1060
|
]),
|
|
1061
1061
|
_: 1
|
|
1062
1062
|
}, 8, ["appearance"]),
|
|
@@ -1214,7 +1214,7 @@ function kt(e, t) {
|
|
|
1214
1214
|
}), n[r] = i;
|
|
1215
1215
|
}), n;
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function Fr() {
|
|
1218
1218
|
var e = {
|
|
1219
1219
|
scalar: {},
|
|
1220
1220
|
sequence: {},
|
|
@@ -1259,7 +1259,7 @@ ze.prototype.extend = function(t) {
|
|
|
1259
1259
|
throw new re("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
1260
1260
|
});
|
|
1261
1261
|
var r = Object.create(ze.prototype);
|
|
1262
|
-
return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = kt(r, "implicit"), r.compiledExplicit = kt(r, "explicit"), r.compiledTypeMap =
|
|
1262
|
+
return r.implicit = (this.implicit || []).concat(n), r.explicit = (this.explicit || []).concat(i), r.compiledImplicit = kt(r, "implicit"), r.compiledExplicit = kt(r, "explicit"), r.compiledTypeMap = Fr(r.compiledImplicit, r.compiledExplicit), r;
|
|
1263
1263
|
};
|
|
1264
1264
|
var tn = ze, nn = new ee("tag:yaml.org,2002:str", {
|
|
1265
1265
|
kind: "scalar",
|
|
@@ -1283,7 +1283,7 @@ var tn = ze, nn = new ee("tag:yaml.org,2002:str", {
|
|
|
1283
1283
|
an
|
|
1284
1284
|
]
|
|
1285
1285
|
});
|
|
1286
|
-
function
|
|
1286
|
+
function Er(e) {
|
|
1287
1287
|
if (e === null) return !0;
|
|
1288
1288
|
var t = e.length;
|
|
1289
1289
|
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
@@ -1296,7 +1296,7 @@ function Lr(e) {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
var ln = new ee("tag:yaml.org,2002:null", {
|
|
1298
1298
|
kind: "scalar",
|
|
1299
|
-
resolve:
|
|
1299
|
+
resolve: Er,
|
|
1300
1300
|
construct: Or,
|
|
1301
1301
|
predicate: Lr,
|
|
1302
1302
|
represent: {
|
|
@@ -1976,7 +1976,7 @@ function Ia(e) {
|
|
|
1976
1976
|
n = e.input.charCodeAt(++e.position);
|
|
1977
1977
|
return e.position === t && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
1978
1978
|
}
|
|
1979
|
-
function
|
|
1979
|
+
function Fa(e) {
|
|
1980
1980
|
var t, n, i;
|
|
1981
1981
|
if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
|
|
1982
1982
|
for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !ae(i) && !Ae(i); )
|
|
@@ -1988,7 +1988,7 @@ function Se(e, t, n, i, r) {
|
|
|
1988
1988
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Re === n || kn === n, i && G(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
|
|
1989
1989
|
for (; Ta(e) || Ia(e); )
|
|
1990
1990
|
G(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
|
|
1991
|
-
if (l && (l = c || r), (s === 1 || Re === n) && (Be === n || Cn === n ? v = t : v = t + 1, b = e.position - e.lineStart, s === 1 ? l && (Tt(e, b) || $a(e, b, v)) || _a(e, v) ? d = !0 : (a && Sa(e, v) || Aa(e, v) || wa(e, v) ? d = !0 :
|
|
1991
|
+
if (l && (l = c || r), (s === 1 || Re === n) && (Be === n || Cn === n ? v = t : v = t + 1, b = e.position - e.lineStart, s === 1 ? l && (Tt(e, b) || $a(e, b, v)) || _a(e, v) ? d = !0 : (a && Sa(e, v) || Aa(e, v) || wa(e, v) ? d = !0 : Fa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : ka(e, v, Be === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Tt(e, b))), e.tag === null)
|
|
1992
1992
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1993
1993
|
else if (e.tag === "?") {
|
|
1994
1994
|
for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
|
|
@@ -2009,7 +2009,7 @@ function Se(e, t, n, i, r) {
|
|
|
2009
2009
|
}
|
|
2010
2010
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
|
|
2011
2011
|
}
|
|
2012
|
-
function
|
|
2012
|
+
function Ea(e) {
|
|
2013
2013
|
var t = e.position, n, i, r, o = !1, a;
|
|
2014
2014
|
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (a = e.input.charCodeAt(e.position)) !== 0 && (G(e, !0, -1), a = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || a !== 37)); ) {
|
|
2015
2015
|
for (o = !0, a = e.input.charCodeAt(++e.position), n = e.position; a !== 0 && !ae(a); )
|
|
@@ -2046,7 +2046,7 @@ function Tn(e, t) {
|
|
|
2046
2046
|
for (i !== -1 && (n.position = i, I(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
|
|
2047
2047
|
n.lineIndent += 1, n.position += 1;
|
|
2048
2048
|
for (; n.position < n.length - 1; )
|
|
2049
|
-
|
|
2049
|
+
Ea(n);
|
|
2050
2050
|
return n.documents;
|
|
2051
2051
|
}
|
|
2052
2052
|
function Oa(e, t, n) {
|
|
@@ -2068,7 +2068,7 @@ function La(e, t) {
|
|
|
2068
2068
|
var Ba = Oa, Ra = La, In = {
|
|
2069
2069
|
loadAll: Ba,
|
|
2070
2070
|
load: Ra
|
|
2071
|
-
},
|
|
2071
|
+
}, Fn = Object.prototype.toString, En = Object.prototype.hasOwnProperty, ct = 65279, Ka = 9, Ie = 10, Na = 13, Ma = 32, ja = 33, Da = 34, Qe = 35, Pa = 37, Ua = 38, qa = 39, Ha = 42, On = 44, Va = 45, Ne = 58, Ya = 61, Wa = 62, Ja = 63, Ga = 64, Ln = 91, Bn = 93, za = 96, Rn = 123, Qa = 124, Kn = 125, te = {};
|
|
2072
2072
|
te[0] = "\\0";
|
|
2073
2073
|
te[7] = "\\a";
|
|
2074
2074
|
te[8] = "\\b";
|
|
@@ -2106,7 +2106,7 @@ function eo(e, t) {
|
|
|
2106
2106
|
var n, i, r, o, a, l, s;
|
|
2107
2107
|
if (t === null) return {};
|
|
2108
2108
|
for (n = {}, i = Object.keys(t), r = 0, o = i.length; r < o; r += 1)
|
|
2109
|
-
a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s &&
|
|
2109
|
+
a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && En.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
|
|
2110
2110
|
return n;
|
|
2111
2111
|
}
|
|
2112
2112
|
function to(e) {
|
|
@@ -2121,9 +2121,9 @@ function to(e) {
|
|
|
2121
2121
|
throw new re("code point within a string may not be greater than 0xFFFFFFFF");
|
|
2122
2122
|
return "\\" + n + z.repeat("0", i - t.length) + t;
|
|
2123
2123
|
}
|
|
2124
|
-
var no = 1,
|
|
2124
|
+
var no = 1, Fe = 2;
|
|
2125
2125
|
function io(e) {
|
|
2126
|
-
this.schema = e.schema || ot, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = eo(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ?
|
|
2126
|
+
this.schema = e.schema || ot, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = z.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = eo(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Fe : no, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
2127
2127
|
}
|
|
2128
2128
|
function It(e, t) {
|
|
2129
2129
|
for (var n = z.repeat(" ", t), i = 0, r = -1, o = "", a, l = e.length; i < l; )
|
|
@@ -2146,24 +2146,24 @@ function ro(e, t) {
|
|
|
2146
2146
|
function Me(e) {
|
|
2147
2147
|
return e === Ma || e === Ka;
|
|
2148
2148
|
}
|
|
2149
|
-
function
|
|
2149
|
+
function Ee(e) {
|
|
2150
2150
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== ct || 65536 <= e && e <= 1114111;
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2153
|
-
return
|
|
2152
|
+
function Ft(e) {
|
|
2153
|
+
return Ee(e) && e !== ct && e !== Na && e !== Ie;
|
|
2154
2154
|
}
|
|
2155
|
-
function
|
|
2156
|
-
var i =
|
|
2155
|
+
function Et(e, t, n) {
|
|
2156
|
+
var i = Ft(e), r = i && !Me(e);
|
|
2157
2157
|
return (
|
|
2158
2158
|
// ns-plain-safe
|
|
2159
2159
|
(n ? (
|
|
2160
2160
|
// c = flow-in
|
|
2161
2161
|
i
|
|
2162
|
-
) : i && e !== On && e !== Ln && e !== Bn && e !== Rn && e !== Kn) && e !== Qe && !(t === Ne && !r) ||
|
|
2162
|
+
) : i && e !== On && e !== Ln && e !== Bn && e !== Rn && e !== Kn) && e !== Qe && !(t === Ne && !r) || Ft(t) && !Me(t) && e === Qe || t === Ne && r
|
|
2163
2163
|
);
|
|
2164
2164
|
}
|
|
2165
2165
|
function ao(e) {
|
|
2166
|
-
return
|
|
2166
|
+
return Ee(e) && e !== ct && !Me(e) && e !== Va && e !== Ja && e !== Ne && e !== On && e !== Ln && e !== Bn && e !== Rn && e !== Kn && e !== Qe && e !== Ua && e !== Ha && e !== ja && e !== Qa && e !== Ya && e !== Wa && e !== qa && e !== Da && e !== Pa && e !== Ga && e !== za;
|
|
2167
2167
|
}
|
|
2168
2168
|
function oo(e) {
|
|
2169
2169
|
return !Me(e) && e !== Ne;
|
|
@@ -2181,29 +2181,29 @@ function lo(e, t, n, i, r, o, a, l) {
|
|
|
2181
2181
|
var s, c = 0, d = null, u = !1, g = !1, p = i !== -1, y = -1, v = ao($e(e, 0)) && oo($e(e, e.length - 1));
|
|
2182
2182
|
if (t || a)
|
|
2183
2183
|
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2184
|
-
if (c = $e(e, s), !
|
|
2184
|
+
if (c = $e(e, s), !Ee(c))
|
|
2185
2185
|
return ke;
|
|
2186
|
-
v = v &&
|
|
2186
|
+
v = v && Et(c, d, l), d = c;
|
|
2187
2187
|
}
|
|
2188
2188
|
else {
|
|
2189
2189
|
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2190
2190
|
if (c = $e(e, s), c === Ie)
|
|
2191
2191
|
u = !0, p && (g = g || // Foldable line = too long, and not more-indented.
|
|
2192
2192
|
s - y - 1 > i && e[y + 1] !== " ", y = s);
|
|
2193
|
-
else if (!
|
|
2193
|
+
else if (!Ee(c))
|
|
2194
2194
|
return ke;
|
|
2195
|
-
v = v &&
|
|
2195
|
+
v = v && Et(c, d, l), d = c;
|
|
2196
2196
|
}
|
|
2197
2197
|
g = g || p && s - y - 1 > i && e[y + 1] !== " ";
|
|
2198
2198
|
}
|
|
2199
|
-
return !u && !g ? v && !a && !r(e) ? Mn : o ===
|
|
2199
|
+
return !u && !g ? v && !a && !r(e) ? Mn : o === Fe ? ke : Xe : n > 9 && Nn(e) ? ke : a ? o === Fe ? ke : Xe : g ? Dn : jn;
|
|
2200
2200
|
}
|
|
2201
2201
|
function so(e, t, n, i, r) {
|
|
2202
2202
|
e.dump = function() {
|
|
2203
2203
|
if (t.length === 0)
|
|
2204
|
-
return e.quotingType ===
|
|
2204
|
+
return e.quotingType === Fe ? '""' : "''";
|
|
2205
2205
|
if (!e.noCompatMode && (Za.indexOf(t) !== -1 || Xa.test(t)))
|
|
2206
|
-
return e.quotingType ===
|
|
2206
|
+
return e.quotingType === Fe ? '"' + t + '"' : "'" + t + "'";
|
|
2207
2207
|
var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = i || e.flowLevel > -1 && n >= e.flowLevel;
|
|
2208
2208
|
function s(c) {
|
|
2209
2209
|
return ro(e, c);
|
|
@@ -2269,7 +2269,7 @@ function Bt(e, t) {
|
|
|
2269
2269
|
}
|
|
2270
2270
|
function uo(e) {
|
|
2271
2271
|
for (var t = "", n = 0, i, r = 0; r < e.length; n >= 65536 ? r += 2 : r++)
|
|
2272
|
-
n = $e(e, r), i = te[n], !i &&
|
|
2272
|
+
n = $e(e, r), i = te[n], !i && Ee(n) ? (t += e[r], n >= 65536 && (t += e[r + 1])) : t += i || to(n);
|
|
2273
2273
|
return t;
|
|
2274
2274
|
}
|
|
2275
2275
|
function fo(e, t, n) {
|
|
@@ -2307,9 +2307,9 @@ function Kt(e, t, n) {
|
|
|
2307
2307
|
for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
|
|
2308
2308
|
if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
|
|
2309
2309
|
if (n ? l.multi && l.representName ? e.tag = l.representName(t) : e.tag = l.tag : e.tag = "?", l.represent) {
|
|
2310
|
-
if (s = e.styleMap[l.tag] || l.defaultStyle,
|
|
2310
|
+
if (s = e.styleMap[l.tag] || l.defaultStyle, Fn.call(l.represent) === "[object Function]")
|
|
2311
2311
|
i = l.represent(t, s);
|
|
2312
|
-
else if (
|
|
2312
|
+
else if (En.call(l.represent, s))
|
|
2313
2313
|
i = l.represent[s](t, s);
|
|
2314
2314
|
else
|
|
2315
2315
|
throw new re("!<" + l.tag + '> tag resolver accepts not "' + s + '" style');
|
|
@@ -2321,7 +2321,7 @@ function Kt(e, t, n) {
|
|
|
2321
2321
|
}
|
|
2322
2322
|
function fe(e, t, n, i, r, o, a) {
|
|
2323
2323
|
e.tag = null, e.dump = n, Kt(e, n, !1) || Kt(e, n, !0);
|
|
2324
|
-
var l =
|
|
2324
|
+
var l = Fn.call(e.dump), s = i, c;
|
|
2325
2325
|
i && (i = e.flowLevel < 0 || e.flowLevel > t);
|
|
2326
2326
|
var d = l === "[object Object]" || l === "[object Array]", u, g;
|
|
2327
2327
|
if (d && (u = e.duplicates.indexOf(n), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && t > 0) && (r = !1), g && e.usedDuplicates[u])
|
|
@@ -2393,7 +2393,7 @@ var bo = ee, xo = tn, Co = on, ko = dn, Ao = fn, wo = ot, _o = In.load, So = In.
|
|
|
2393
2393
|
omap: vn,
|
|
2394
2394
|
seq: rn,
|
|
2395
2395
|
str: nn
|
|
2396
|
-
},
|
|
2396
|
+
}, Fo = ut("safeLoad", "load"), Eo = ut("safeLoadAll", "loadAll"), Oo = ut("safeDump", "dump"), Lo = {
|
|
2397
2397
|
Type: bo,
|
|
2398
2398
|
Schema: xo,
|
|
2399
2399
|
FAILSAFE_SCHEMA: Co,
|
|
@@ -2405,8 +2405,8 @@ var bo = ee, xo = tn, Co = on, ko = dn, Ao = fn, wo = ot, _o = In.load, So = In.
|
|
|
2405
2405
|
dump: $o,
|
|
2406
2406
|
YAMLException: To,
|
|
2407
2407
|
types: Io,
|
|
2408
|
-
safeLoad:
|
|
2409
|
-
safeLoadAll:
|
|
2408
|
+
safeLoad: Fo,
|
|
2409
|
+
safeLoadAll: Eo,
|
|
2410
2410
|
safeDump: Oo
|
|
2411
2411
|
};
|
|
2412
2412
|
const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */ J({
|
|
@@ -2419,7 +2419,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2419
2419
|
}
|
|
2420
2420
|
},
|
|
2421
2421
|
setup(e) {
|
|
2422
|
-
const t = e, n =
|
|
2422
|
+
const t = e, n = F(() => {
|
|
2423
2423
|
const i = Object.fromEntries(Object.entries(t.entityRecord).filter(([, r]) => r !== null && r !== "" && (Array.isArray(r) ? r.length !== 0 : !0)));
|
|
2424
2424
|
return Object.keys(i).length === 0 && i.constructor === Object ? "" : Lo.dump(i).trim();
|
|
2425
2425
|
});
|
|
@@ -2499,7 +2499,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2499
2499
|
for (const [c, d] of Object.entries(l))
|
|
2500
2500
|
Array.isArray(d) ? s += r(d, c) : typeof d == "object" ? s += i(d, c) : s += n(d, c);
|
|
2501
2501
|
return s;
|
|
2502
|
-
}, a =
|
|
2502
|
+
}, a = F(() => {
|
|
2503
2503
|
var u, g, p, y, v, b, S;
|
|
2504
2504
|
const l = Object.fromEntries(Object.entries(t.entityRecord).filter(([, x]) => x != null)), s = t.entityRecord.config ? Object.fromEntries(Object.entries((u = t.entityRecord) == null ? void 0 : u.config).filter(([, x]) => x != null)) : void 0;
|
|
2505
2505
|
if (s && (l.config = s), Object.keys(l).length === 0)
|
|
@@ -2591,7 +2591,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2591
2591
|
}
|
|
2592
2592
|
},
|
|
2593
2593
|
setup(e) {
|
|
2594
|
-
const t = e, n = De(), { i18n: { t: i } } = Y.useI18n(), r = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o =
|
|
2594
|
+
const t = e, n = De(), { i18n: { t: i } } = Y.useI18n(), r = (a) => !!(a.tooltip || n[`${a.key}-label-tooltip`]), o = F(() => {
|
|
2595
2595
|
if (!t.record)
|
|
2596
2596
|
return t.record;
|
|
2597
2597
|
let a = t.record;
|
|
@@ -2606,7 +2606,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2606
2606
|
class: de(`config-card-details-${s}-props`),
|
|
2607
2607
|
"data-testid": `config-card-details-${s}-props`
|
|
2608
2608
|
}, [
|
|
2609
|
-
s !== "basic" ? (m(), $("div", Mo,
|
|
2609
|
+
s !== "basic" ? (m(), $("div", Mo, E(s === "advanced" ? T(i)("baseConfigCard.sections.advanced") : T(i)("baseConfigCard.sections.plugin")), 1)) : K("", !0),
|
|
2610
2610
|
(m(!0), $(ce, null, se(e.propertyCollections[s], (c) => (m(), N(Qt, {
|
|
2611
2611
|
key: c.key,
|
|
2612
2612
|
item: c
|
|
@@ -2754,7 +2754,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2754
2754
|
default: "h2"
|
|
2755
2755
|
}
|
|
2756
2756
|
},
|
|
2757
|
-
emits: ["loading", "fetch:success", "fetch:error"],
|
|
2757
|
+
emits: ["loading", "fetch:success", "fetch:error", "configFormatChange"],
|
|
2758
2758
|
setup(e, { emit: t }) {
|
|
2759
2759
|
var w;
|
|
2760
2760
|
const n = t, i = e, { i18n: { t: r } } = Y.useI18n(), { getMessageFromError: o } = Y.useErrors(), { convertKeyToTitle: a } = Y.useStringHelpers();
|
|
@@ -2779,7 +2779,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2779
2779
|
value: "terraform"
|
|
2780
2780
|
});
|
|
2781
2781
|
const c = s[0].value, d = R(c), u = (f) => {
|
|
2782
|
-
d.value = f == null ? void 0 : f.value;
|
|
2782
|
+
d.value = f == null ? void 0 : f.value, n("configFormatChange", d.value);
|
|
2783
2783
|
}, g = (f, h) => {
|
|
2784
2784
|
localStorage.setItem(f, h);
|
|
2785
2785
|
};
|
|
@@ -2832,7 +2832,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2832
2832
|
// the last property displayed
|
|
2833
2833
|
section: le.Basic
|
|
2834
2834
|
}
|
|
2835
|
-
}, y = R(!1), v = R(!1), b = R(""), S = R({}), x =
|
|
2835
|
+
}, y = R(!1), v = R(!1), b = R(""), S = R({}), x = F(() => {
|
|
2836
2836
|
var C, k, H;
|
|
2837
2837
|
if (!S.value)
|
|
2838
2838
|
return [];
|
|
@@ -2857,7 +2857,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2857
2857
|
section: W.section ?? ((Z == null ? void 0 : Z.section) || le.Advanced)
|
|
2858
2858
|
};
|
|
2859
2859
|
}).filter((P) => !P.hidden && P.key !== i.pluginConfigKey);
|
|
2860
|
-
}), L =
|
|
2860
|
+
}), L = F(() => {
|
|
2861
2861
|
var k, H;
|
|
2862
2862
|
if (!S.value || !i.pluginConfigKey)
|
|
2863
2863
|
return [];
|
|
@@ -2882,17 +2882,17 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2882
2882
|
section: le.Plugin
|
|
2883
2883
|
};
|
|
2884
2884
|
}).filter((P) => !P.hidden);
|
|
2885
|
-
}), q =
|
|
2885
|
+
}), q = F(() => {
|
|
2886
2886
|
var f, h, C, k;
|
|
2887
2887
|
return {
|
|
2888
2888
|
basic: (f = x.value) == null ? void 0 : f.filter((H) => H.section === le.Basic),
|
|
2889
2889
|
advanced: (h = x.value) == null ? void 0 : h.filter((H) => H.section === le.Advanced),
|
|
2890
2890
|
plugin: (k = L.value) == null ? void 0 : k.concat((C = x.value) == null ? void 0 : C.filter((H) => H.section === le.Plugin))
|
|
2891
2891
|
};
|
|
2892
|
-
}), ne =
|
|
2892
|
+
}), ne = F(() => {
|
|
2893
2893
|
const f = [];
|
|
2894
2894
|
return q.value.basic.length && f.push("basic"), q.value.advanced.length && f.push("advanced"), q.value.plugin.length && f.push("plugin"), f;
|
|
2895
|
-
}), A =
|
|
2895
|
+
}), A = F(() => {
|
|
2896
2896
|
var h, C;
|
|
2897
2897
|
let f = `${i.config.apiBaseUrl}${i.fetchUrl}`;
|
|
2898
2898
|
return i.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((h = i.config) == null ? void 0 : h.controlPlaneId) || "") : i.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (C = i.config) != null && C.workspace ? `/${i.config.workspace}` : "")), f = f.replace(/{id}/gi, i.config.entityId), f;
|
|
@@ -2932,7 +2932,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2932
2932
|
"data-testid": "config-format-select-label"
|
|
2933
2933
|
}, {
|
|
2934
2934
|
default: _(() => [
|
|
2935
|
-
U(
|
|
2935
|
+
U(E(e.label), 1)
|
|
2936
2936
|
]),
|
|
2937
2937
|
_: 1
|
|
2938
2938
|
}),
|
|
@@ -2974,7 +2974,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
2974
2974
|
"icon-variant": "error"
|
|
2975
2975
|
}, {
|
|
2976
2976
|
default: _(() => [
|
|
2977
|
-
O("h3", null,
|
|
2977
|
+
O("h3", null, E(b.value), 1)
|
|
2978
2978
|
]),
|
|
2979
2979
|
_: 1
|
|
2980
2980
|
})) : K("", !0),
|
|
@@ -3008,7 +3008,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3008
3008
|
fn: _(() => [
|
|
3009
3009
|
O("span", Po, [
|
|
3010
3010
|
j(f.$slots, "title", {}, () => [
|
|
3011
|
-
U(
|
|
3011
|
+
U(E(T(r)("baseConfigCard.title")), 1)
|
|
3012
3012
|
], !0)
|
|
3013
3013
|
])
|
|
3014
3014
|
]),
|
|
@@ -3017,7 +3017,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3017
3017
|
]), 1032, ["title-tag"]);
|
|
3018
3018
|
};
|
|
3019
3019
|
}
|
|
3020
|
-
}), ds = /* @__PURE__ */ oe(Vo, [["__scopeId", "data-v-
|
|
3020
|
+
}), ds = /* @__PURE__ */ oe(Vo, [["__scopeId", "data-v-8dfcd755"]]), Yo = ["novalidate"], Wo = /* @__PURE__ */ J({
|
|
3021
3021
|
__name: "EntityBaseForm",
|
|
3022
3022
|
props: {
|
|
3023
3023
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3133,7 +3133,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3133
3133
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel", "codeBlockTabChange"],
|
|
3134
3134
|
setup(e, { expose: t, emit: n }) {
|
|
3135
3135
|
var ne;
|
|
3136
|
-
const i = n, r = e, o = ai(), { i18n: { t: a } } = Y.useI18n(), { getMessageFromError: l } = Y.useErrors(), { axiosInstance: s } = Y.useAxios((ne = r.config) == null ? void 0 : ne.axiosRequestConfig), c = R(!1), d =
|
|
3136
|
+
const i = n, r = e, o = ai(), { i18n: { t: a } } = Y.useI18n(), { getMessageFromError: l } = Y.useErrors(), { axiosInstance: s } = Y.useAxios((ne = r.config) == null ? void 0 : ne.axiosRequestConfig), c = R(!1), d = F(() => !!r.editId), u = R(!1), g = R(""), p = F(() => r.canSubmit === !1 || r.isReadonly), y = R(!1), v = F(() => {
|
|
3137
3137
|
var w, f;
|
|
3138
3138
|
let A = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3139
3139
|
return r.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (f = r.config) != null && f.workspace ? `/${r.config.workspace}` : "")), r.editId ? (A = A.replace(/{id}/gi, r.editId), A) : (A = A.replace(/\/{id}/gi, ""), A);
|
|
@@ -3191,7 +3191,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3191
3191
|
onClickAction: S
|
|
3192
3192
|
}, {
|
|
3193
3193
|
default: _(() => [
|
|
3194
|
-
O("h3", null,
|
|
3194
|
+
O("h3", null, E(g.value), 1)
|
|
3195
3195
|
]),
|
|
3196
3196
|
_: 1
|
|
3197
3197
|
}, 8, ["action-button-text"])) : (m(), $("form", {
|
|
@@ -3224,7 +3224,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3224
3224
|
onClick: w[0] || (w[0] = (B) => b())
|
|
3225
3225
|
}, {
|
|
3226
3226
|
default: _(() => [
|
|
3227
|
-
U(
|
|
3227
|
+
U(E(T(a)("baseForm.actions.viewConfiguration")), 1)
|
|
3228
3228
|
]),
|
|
3229
3229
|
_: 1
|
|
3230
3230
|
}, 8, ["data-testid"]),
|
|
@@ -3236,7 +3236,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3236
3236
|
onClick: w[1] || (w[1] = (B) => !!e.actionTeleportTarget && x())
|
|
3237
3237
|
}, {
|
|
3238
3238
|
default: _(() => [
|
|
3239
|
-
U(
|
|
3239
|
+
U(E(e.cancelButtonText ?? T(a)("baseForm.actions.cancel")), 1)
|
|
3240
3240
|
]),
|
|
3241
3241
|
_: 1
|
|
3242
3242
|
}, 8, ["data-testid", "disabled"]),
|
|
@@ -3248,7 +3248,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3248
3248
|
onClick: w[2] || (w[2] = (B) => !!e.actionTeleportTarget && L())
|
|
3249
3249
|
}, {
|
|
3250
3250
|
default: _(() => [
|
|
3251
|
-
U(
|
|
3251
|
+
U(E(e.saveButtonText ?? T(a)("baseForm.actions.save")), 1)
|
|
3252
3252
|
]),
|
|
3253
3253
|
_: 1
|
|
3254
3254
|
}, 8, ["data-testid", "disabled"])
|
|
@@ -3266,7 +3266,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3266
3266
|
onClose: w[4] || (w[4] = (B) => b())
|
|
3267
3267
|
}, {
|
|
3268
3268
|
default: _(() => [
|
|
3269
|
-
O("div", null,
|
|
3269
|
+
O("div", null, E(T(a)("baseForm.configuration.message")), 1),
|
|
3270
3270
|
M(H, {
|
|
3271
3271
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
3272
3272
|
tabs: q.value,
|
|
@@ -3318,17 +3318,17 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3318
3318
|
}
|
|
3319
3319
|
},
|
|
3320
3320
|
setup(e) {
|
|
3321
|
-
const t = e, n =
|
|
3321
|
+
const t = e, n = F(() => {
|
|
3322
3322
|
var b;
|
|
3323
3323
|
return ((b = t.rowEl) == null ? void 0 : b.querySelector(`[data-testid="${t.keyName}"]`)) || null;
|
|
3324
|
-
}), i =
|
|
3324
|
+
}), i = F(() => {
|
|
3325
3325
|
var b;
|
|
3326
3326
|
return ((b = n.value) == null ? void 0 : b.querySelector('[data-truncate="true"]')) || null;
|
|
3327
|
-
}), r =
|
|
3327
|
+
}), r = F(() => {
|
|
3328
3328
|
var S, x;
|
|
3329
3329
|
const b = (S = t.rowEl) == null ? void 0 : S.querySelectorAll("td");
|
|
3330
3330
|
return b ? ((x = b[0]) == null ? void 0 : x.getAttribute("data-testid")) === t.keyName : !0;
|
|
3331
|
-
}), o =
|
|
3331
|
+
}), o = F(() => r.value || t.tooltip);
|
|
3332
3332
|
let a;
|
|
3333
3333
|
const l = () => {
|
|
3334
3334
|
a && (a.disconnect(), a = void 0);
|
|
@@ -3340,7 +3340,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3340
3340
|
b -= (parseFloat(q.paddingLeft) || 0) + (parseFloat(q.paddingRight) || 0);
|
|
3341
3341
|
}
|
|
3342
3342
|
d.value = ((x = i.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, u.value = b, g.value = ((L = c.value) == null ? void 0 : L.innerText) || "";
|
|
3343
|
-
}, c = R({}), d = R(0), u = R(0), g = R(""), p =
|
|
3343
|
+
}, c = R({}), d = R(0), u = R(0), g = R(""), p = F(() => [i.value, n.value]), y = ve(
|
|
3344
3344
|
p,
|
|
3345
3345
|
(b) => {
|
|
3346
3346
|
if (o.value && (l(), "ResizeObserver" in window && window)) {
|
|
@@ -3354,7 +3354,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3354
3354
|
}
|
|
3355
3355
|
},
|
|
3356
3356
|
{ immediate: !0, flush: "post", deep: !0 }
|
|
3357
|
-
), v =
|
|
3357
|
+
), v = F(() => o.value ? d.value > u.value : !1);
|
|
3358
3358
|
return tt(() => {
|
|
3359
3359
|
s();
|
|
3360
3360
|
}), Jn(() => {
|
|
@@ -3535,7 +3535,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3535
3535
|
},
|
|
3536
3536
|
emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked", "state"],
|
|
3537
3537
|
setup(e, { emit: t }) {
|
|
3538
|
-
const n = e, i = t, { i18n: { t: r } } = Y.useI18n(), o =
|
|
3538
|
+
const n = e, i = t, { i18n: { t: r } } = Y.useI18n(), o = F(() => {
|
|
3539
3539
|
var h, C;
|
|
3540
3540
|
return typeof n.errorMessage == "string" ? {
|
|
3541
3541
|
hasError: !!n.errorMessage,
|
|
@@ -3546,7 +3546,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3546
3546
|
title: (h = n.errorMessage) == null ? void 0 : h.title,
|
|
3547
3547
|
message: (C = n.errorMessage) == null ? void 0 : C.message
|
|
3548
3548
|
};
|
|
3549
|
-
}), a =
|
|
3549
|
+
}), a = F(() => n.cacheIdentifier || n.preferencesStorageKey), l = F(() => {
|
|
3550
3550
|
const h = [];
|
|
3551
3551
|
return Object.keys(n.tableHeaders).forEach((k) => {
|
|
3552
3552
|
const H = n.tableHeaders[k];
|
|
@@ -3583,11 +3583,11 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3583
3583
|
i("empty-state-cta-clicked"), y();
|
|
3584
3584
|
}, y = () => {
|
|
3585
3585
|
i("clear-search-input");
|
|
3586
|
-
}, v =
|
|
3586
|
+
}, v = F(() => n.disableRowClick ? void 0 : (h, C) => {
|
|
3587
3587
|
i("click:row", C);
|
|
3588
3588
|
}), b = (h) => {
|
|
3589
3589
|
i("sort", h);
|
|
3590
|
-
}, { hideTableToolbar: S, handleStateChange: x } = Y.useTableState(() => n.query), { setTablePreferences: L, getTablePreferences: q } = di(), ne = R(q(a.value, n.defaultTablePreferences)), A =
|
|
3590
|
+
}, { hideTableToolbar: S, handleStateChange: x } = Y.useTableState(() => n.query), { setTablePreferences: L, getTablePreferences: q } = di(), ne = R(q(a.value, n.defaultTablePreferences)), A = F(() => {
|
|
3591
3591
|
const h = q(a.value);
|
|
3592
3592
|
return {
|
|
3593
3593
|
...n.initialFetcherParams,
|
|
@@ -3597,7 +3597,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3597
3597
|
ne.value = h, l.value.forEach((C) => {
|
|
3598
3598
|
!("hidable" in C) || !ne.value.columnVisibility || C.hidable === !1 && (ne.value.columnVisibility[C.key] = !0);
|
|
3599
3599
|
}), a.value && L(a.value, h);
|
|
3600
|
-
}, f =
|
|
3600
|
+
}, f = F(() => ({
|
|
3601
3601
|
disablePageJump: n.disablePaginationPageJump,
|
|
3602
3602
|
offset: n.paginationType === "offset",
|
|
3603
3603
|
...n.paginationAttributes
|
|
@@ -3680,7 +3680,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3680
3680
|
rowKey: e.rowKey,
|
|
3681
3681
|
rowValue: W
|
|
3682
3682
|
}, () => [
|
|
3683
|
-
U(
|
|
3683
|
+
U(E(W), 1)
|
|
3684
3684
|
], !0)
|
|
3685
3685
|
]),
|
|
3686
3686
|
_: 2
|
|
@@ -3748,7 +3748,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3748
3748
|
},
|
|
3749
3749
|
emits: ["cancel", "proceed"],
|
|
3750
3750
|
setup(e, { emit: t }) {
|
|
3751
|
-
const { i18nT: n } = Y.useI18n(), i = e, r = t, o =
|
|
3751
|
+
const { i18nT: n } = Y.useI18n(), i = e, r = t, o = F(() => i.needConfirm ? i.entityName : ""), a = () => {
|
|
3752
3752
|
r("cancel");
|
|
3753
3753
|
}, l = () => {
|
|
3754
3754
|
r("proceed");
|
|
@@ -3770,7 +3770,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3770
3770
|
e.error ? (m(), $("div", tl, [
|
|
3771
3771
|
M(d, { appearance: "danger" }, {
|
|
3772
3772
|
default: _(() => [
|
|
3773
|
-
U(
|
|
3773
|
+
U(E(e.error), 1)
|
|
3774
3774
|
]),
|
|
3775
3775
|
_: 1
|
|
3776
3776
|
})
|
|
@@ -3781,21 +3781,21 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3781
3781
|
tag: "p"
|
|
3782
3782
|
}, _e({
|
|
3783
3783
|
entityType: _(() => [
|
|
3784
|
-
U(
|
|
3784
|
+
U(E(i.entityType), 1)
|
|
3785
3785
|
]),
|
|
3786
3786
|
_: 2
|
|
3787
3787
|
}, [
|
|
3788
3788
|
i.entityName ? {
|
|
3789
3789
|
name: "entityName",
|
|
3790
3790
|
fn: _(() => [
|
|
3791
|
-
O("strong", null,
|
|
3791
|
+
O("strong", null, E(i.entityName), 1)
|
|
3792
3792
|
]),
|
|
3793
3793
|
key: "0"
|
|
3794
3794
|
} : void 0
|
|
3795
3795
|
]), 1032, ["keypath"]),
|
|
3796
3796
|
i.description || s.$slots.description ? (m(), $("div", nl, [
|
|
3797
3797
|
j(s.$slots, "description", {}, () => [
|
|
3798
|
-
O("p", null,
|
|
3798
|
+
O("p", null, E(i.description), 1)
|
|
3799
3799
|
], !0)
|
|
3800
3800
|
])) : K("", !0)
|
|
3801
3801
|
]),
|
|
@@ -3865,12 +3865,12 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3865
3865
|
},
|
|
3866
3866
|
emits: ["update:modelValue"],
|
|
3867
3867
|
setup(e, { emit: t }) {
|
|
3868
|
-
const { i18n: { t: n } } = Y.useI18n(), i = e, r = t, o = R(!1), a = R({}), l = R(/* @__PURE__ */ new Set()), s =
|
|
3868
|
+
const { i18n: { t: n } } = Y.useI18n(), i = e, r = t, o = R(!1), a = R({}), l = R(/* @__PURE__ */ new Set()), s = F(() => {
|
|
3869
3869
|
const A = [];
|
|
3870
3870
|
return new URLSearchParams(i.modelValue).forEach((w, f) => {
|
|
3871
3871
|
w !== "" && A.push(f);
|
|
3872
3872
|
}), A;
|
|
3873
|
-
}), c =
|
|
3873
|
+
}), c = F(() => {
|
|
3874
3874
|
const A = i.config.fields;
|
|
3875
3875
|
return Object.keys(A).filter((w) => {
|
|
3876
3876
|
var f;
|
|
@@ -3951,7 +3951,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3951
3951
|
}, {
|
|
3952
3952
|
default: _(() => [
|
|
3953
3953
|
M(Nt),
|
|
3954
|
-
U(" " +
|
|
3954
|
+
U(" " + E(T(n)("filter.filterButtonText")) + " " + E(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
|
|
3955
3955
|
]),
|
|
3956
3956
|
_: 1
|
|
3957
3957
|
}),
|
|
@@ -3976,7 +3976,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3976
3976
|
onClick: (B) => u(k.value),
|
|
3977
3977
|
onKeydown: Gn((B) => u(k.value), ["enter"])
|
|
3978
3978
|
}, [
|
|
3979
|
-
U(
|
|
3979
|
+
U(E(k.label) + " ", 1),
|
|
3980
3980
|
be(O("span", pl, null, 512), [
|
|
3981
3981
|
[xe, s.value.includes(k.value)]
|
|
3982
3982
|
]),
|
|
@@ -3989,7 +3989,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
3989
3989
|
O("label", {
|
|
3990
3990
|
class: "menu-item-label",
|
|
3991
3991
|
for: y(k.value)
|
|
3992
|
-
},
|
|
3992
|
+
}, E(T(n)("filter.fieldLabel")), 9, hl),
|
|
3993
3993
|
((P = (H = e.config.schema) == null ? void 0 : H[k.value]) == null ? void 0 : P.type) === "select" ? (m(), N(C, {
|
|
3994
3994
|
key: 0,
|
|
3995
3995
|
id: y(k.value),
|
|
@@ -4019,7 +4019,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4019
4019
|
onClick: w[0] || (w[0] = (B) => L(!0))
|
|
4020
4020
|
}, {
|
|
4021
4021
|
default: _(() => [
|
|
4022
|
-
U(
|
|
4022
|
+
U(E(T(n)("filter.applyButtonText")), 1)
|
|
4023
4023
|
]),
|
|
4024
4024
|
_: 1
|
|
4025
4025
|
}),
|
|
@@ -4030,7 +4030,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4030
4030
|
onClick: (B) => S(k.value)
|
|
4031
4031
|
}, {
|
|
4032
4032
|
default: _(() => [
|
|
4033
|
-
U(
|
|
4033
|
+
U(E(T(n)("filter.clearButtonText")), 1)
|
|
4034
4034
|
]),
|
|
4035
4035
|
_: 2
|
|
4036
4036
|
}, 1032, ["onClick"])
|
|
@@ -4046,7 +4046,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4046
4046
|
onClick: x
|
|
4047
4047
|
}, {
|
|
4048
4048
|
default: _(() => [
|
|
4049
|
-
U(
|
|
4049
|
+
U(E(T(n)("filter.clearAllButtonText")), 1)
|
|
4050
4050
|
]),
|
|
4051
4051
|
_: 1
|
|
4052
4052
|
})
|
|
@@ -4089,9 +4089,9 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4089
4089
|
},
|
|
4090
4090
|
emits: ["cancel", "proceed"],
|
|
4091
4091
|
setup(e, { emit: t }) {
|
|
4092
|
-
const { i18n: { t: n }, i18nT: i } = Y.useI18n(), r = e, o = t, a = R(!1), l =
|
|
4092
|
+
const { i18n: { t: n }, i18nT: i } = Y.useI18n(), r = e, o = t, a = R(!1), l = F(
|
|
4093
4093
|
() => r.action === "enable" ? n("toggleModal.enable.title", { entityType: r.entityType }) : n("toggleModal.disable.title", { entityType: r.entityType })
|
|
4094
|
-
), s =
|
|
4094
|
+
), s = F(
|
|
4095
4095
|
() => r.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
|
|
4096
4096
|
), c = () => o("cancel"), d = async () => {
|
|
4097
4097
|
if (r.onConfirm) {
|
|
@@ -4123,10 +4123,10 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4123
4123
|
scope: "global"
|
|
4124
4124
|
}, {
|
|
4125
4125
|
entityType: _(() => [
|
|
4126
|
-
U(
|
|
4126
|
+
U(E(e.entityType), 1)
|
|
4127
4127
|
]),
|
|
4128
4128
|
entityName: _(() => [
|
|
4129
|
-
O("strong", null,
|
|
4129
|
+
O("strong", null, E(e.entityName), 1)
|
|
4130
4130
|
]),
|
|
4131
4131
|
_: 1
|
|
4132
4132
|
}, 8, ["keypath"])
|
|
@@ -4158,7 +4158,7 @@ const Bo = { class: "yaml-config config-card-code-block" }, Pn = /* @__PURE__ */
|
|
|
4158
4158
|
}
|
|
4159
4159
|
},
|
|
4160
4160
|
setup(e) {
|
|
4161
|
-
const t = e, n = R(void 0), i =
|
|
4161
|
+
const t = e, n = R(void 0), i = F(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
|
|
4162
4162
|
return ve(() => t.authFunction, async () => {
|
|
4163
4163
|
n.value = await t.authFunction();
|
|
4164
4164
|
}, { immediate: !0 }), (r, o) => i.value ? j(r.$slots, "default", {
|
|
@@ -4245,13 +4245,13 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4245
4245
|
class: "form-section-title"
|
|
4246
4246
|
}, {
|
|
4247
4247
|
default: _(() => [
|
|
4248
|
-
U(
|
|
4248
|
+
U(E(e.title), 1)
|
|
4249
4249
|
]),
|
|
4250
4250
|
_: 1
|
|
4251
4251
|
}, 8, ["id"])) : K("", !0),
|
|
4252
4252
|
e.description || T(t).description ? (m(), $("div", Sl, [
|
|
4253
4253
|
j(i.$slots, "description", {}, () => [
|
|
4254
|
-
O("p", null,
|
|
4254
|
+
O("p", null, E(e.description), 1)
|
|
4255
4255
|
], !0)
|
|
4256
4256
|
])) : K("", !0),
|
|
4257
4257
|
T(t).footer ? (m(), $("div", $l, [
|
|
@@ -4264,7 +4264,7 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4264
4264
|
])
|
|
4265
4265
|
], 10, wl));
|
|
4266
4266
|
}
|
|
4267
|
-
}), vs = /* @__PURE__ */ oe(Il, [["__scopeId", "data-v-b1f74200"]]),
|
|
4267
|
+
}), vs = /* @__PURE__ */ oe(Il, [["__scopeId", "data-v-b1f74200"]]), Fl = { class: "ff-form-section" }, El = { class: "header" }, Ol = {
|
|
4268
4268
|
key: 0,
|
|
4269
4269
|
class: "step"
|
|
4270
4270
|
}, Ll = { class: "header-content" }, Bl = { class: "header-title" }, Rl = {
|
|
@@ -4282,18 +4282,18 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4282
4282
|
},
|
|
4283
4283
|
setup(e) {
|
|
4284
4284
|
const t = De();
|
|
4285
|
-
return (n, i) => (m(), $("div",
|
|
4286
|
-
O("header",
|
|
4287
|
-
n.step != null ? (m(), $("div", Ol,
|
|
4285
|
+
return (n, i) => (m(), $("div", Fl, [
|
|
4286
|
+
O("header", El, [
|
|
4287
|
+
n.step != null ? (m(), $("div", Ol, E(n.step), 1)) : K("", !0),
|
|
4288
4288
|
O("div", Ll, [
|
|
4289
4289
|
O("h2", Bl, [
|
|
4290
4290
|
j(n.$slots, "title", {}, () => [
|
|
4291
|
-
U(
|
|
4291
|
+
U(E(n.title), 1)
|
|
4292
4292
|
], !0)
|
|
4293
4293
|
]),
|
|
4294
4294
|
n.description || t.description ? (m(), $("div", Rl, [
|
|
4295
4295
|
j(n.$slots, "description", {}, () => [
|
|
4296
|
-
U(
|
|
4296
|
+
U(E(n.description), 1)
|
|
4297
4297
|
], !0)
|
|
4298
4298
|
])) : K("", !0)
|
|
4299
4299
|
]),
|
|
@@ -4336,10 +4336,10 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4336
4336
|
}
|
|
4337
4337
|
},
|
|
4338
4338
|
setup(e) {
|
|
4339
|
-
const t = e, n = R(), { isTruncated: i } = Y.useTruncationDetector(n), { i18n: { t: r } } = Y.useI18n(), o = r("global.actions.copyId"), a = R(o), l =
|
|
4339
|
+
const t = e, n = R(), { isTruncated: i } = Y.useTruncationDetector(n), { i18n: { t: r } } = Y.useI18n(), o = r("global.actions.copyId"), a = R(o), l = F(() => t.entityLinkData.deleted ?? !1), s = F(() => {
|
|
4340
4340
|
var u;
|
|
4341
4341
|
return (u = t.entityLinkData.id) != null && u.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
|
|
4342
|
-
}), c =
|
|
4342
|
+
}), c = F(() => {
|
|
4343
4343
|
var u;
|
|
4344
4344
|
return `${(u = s.value) == null ? void 0 : u.toString().slice(0, 5)} (deleted)`;
|
|
4345
4345
|
}), d = async (u) => {
|
|
@@ -4350,7 +4350,7 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4350
4350
|
return (u, g) => {
|
|
4351
4351
|
const p = D("KTooltip"), y = D("KExternalLink"), v = D("KClipboardProvider");
|
|
4352
4352
|
return m(), $("div", jl, [
|
|
4353
|
-
l.value ? (m(), $("div", Dl,
|
|
4353
|
+
l.value ? (m(), $("div", Dl, E(c.value), 1)) : s.value ? s.value ? (m(), N(y, {
|
|
4354
4354
|
key: 2,
|
|
4355
4355
|
class: "entity-link",
|
|
4356
4356
|
"hide-icon": !e.newWindow,
|
|
@@ -4366,13 +4366,13 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4366
4366
|
ref_key: "textContent",
|
|
4367
4367
|
ref: n,
|
|
4368
4368
|
class: "entity-link-label"
|
|
4369
|
-
},
|
|
4369
|
+
}, E(e.entityLinkData.label), 513)
|
|
4370
4370
|
]),
|
|
4371
4371
|
_: 1
|
|
4372
4372
|
}, 8, ["text"])
|
|
4373
4373
|
]),
|
|
4374
4374
|
_: 1
|
|
4375
|
-
}, 8, ["hide-icon", "href", "target"])) : K("", !0) : (m(), $("div", Pl,
|
|
4375
|
+
}, 8, ["hide-icon", "href", "target"])) : K("", !0) : (m(), $("div", Pl, E(" – "))),
|
|
4376
4376
|
s.value && e.allowCopy ? (m(), N(p, {
|
|
4377
4377
|
key: a.value,
|
|
4378
4378
|
class: "copy-uuid-tooltip",
|
|
@@ -4471,7 +4471,7 @@ const wl = ["aria-labelledby"], _l = { class: "form-section-wrapper" }, Sl = {
|
|
|
4471
4471
|
},
|
|
4472
4472
|
emits: ["click:create", "click:learn-more"],
|
|
4473
4473
|
setup(e) {
|
|
4474
|
-
const t = e, { i18n: { t: n } } = Y.useI18n(), i = R(!1), r =
|
|
4474
|
+
const t = e, { i18n: { t: n } } = Y.useI18n(), i = R(!1), r = F(() => i.value && !!t.actionButtonText), o = F(() => mt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
|
|
4475
4475
|
return nt(async () => {
|
|
4476
4476
|
i.value = await t.canCreate();
|
|
4477
4477
|
}), tt(() => zn(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
|
|
@@ -4487,21 +4487,21 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4487
4487
|
class: de(o.value)
|
|
4488
4488
|
}, [
|
|
4489
4489
|
j(a.$slots, "title", {}, () => [
|
|
4490
|
-
U(
|
|
4490
|
+
U(E(e.title), 1)
|
|
4491
4491
|
], !0)
|
|
4492
4492
|
], 2)
|
|
4493
4493
|
])) : K("", !0),
|
|
4494
4494
|
e.description || a.$slots.default ? (m(), $("div", Jl, [
|
|
4495
4495
|
j(a.$slots, "default", {}, () => [
|
|
4496
|
-
O("p", null,
|
|
4496
|
+
O("p", null, E(e.description), 1)
|
|
4497
4497
|
], !0)
|
|
4498
4498
|
])) : K("", !0),
|
|
4499
4499
|
e.pricing || a.$slots.pricing ? (m(), $("div", Gl, [
|
|
4500
4500
|
O("p", null, [
|
|
4501
|
-
O("b", null,
|
|
4501
|
+
O("b", null, E(T(n)("emptyState.pricingTitle")), 1),
|
|
4502
4502
|
l[2] || (l[2] = U()),
|
|
4503
4503
|
j(a.$slots, "pricing", {}, () => [
|
|
4504
|
-
U(
|
|
4504
|
+
U(E(e.pricing), 1)
|
|
4505
4505
|
], !0)
|
|
4506
4506
|
])
|
|
4507
4507
|
])) : K("", !0)
|
|
@@ -4520,7 +4520,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4520
4520
|
}, {
|
|
4521
4521
|
default: _(() => [
|
|
4522
4522
|
M(T(Ht)),
|
|
4523
|
-
U(" " +
|
|
4523
|
+
U(" " + E(e.actionButtonText), 1)
|
|
4524
4524
|
]),
|
|
4525
4525
|
_: 1
|
|
4526
4526
|
}, 8, ["size"])) : K("", !0),
|
|
@@ -4533,7 +4533,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4533
4533
|
}, {
|
|
4534
4534
|
default: _(() => [
|
|
4535
4535
|
M(T(qt), { decorative: "" }),
|
|
4536
|
-
U(" " +
|
|
4536
|
+
U(" " + E(T(n)("emptyState.learnMore")), 1)
|
|
4537
4537
|
]),
|
|
4538
4538
|
_: 1
|
|
4539
4539
|
}, 8, ["size"])) : K("", !0)
|
|
@@ -4548,12 +4548,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4548
4548
|
a.$slots[`feature-${d}-icon`] ? (m(), $("div", Xl, [
|
|
4549
4549
|
j(a.$slots, `feature-${d}-icon`, {}, void 0, !0)
|
|
4550
4550
|
])) : K("", !0),
|
|
4551
|
-
O("div", es,
|
|
4551
|
+
O("div", es, E(c.title), 1)
|
|
4552
4552
|
]),
|
|
4553
4553
|
default: _(() => [
|
|
4554
4554
|
O("div", {
|
|
4555
4555
|
title: c.description
|
|
4556
|
-
},
|
|
4556
|
+
}, E(c.description), 9, ts)
|
|
4557
4557
|
]),
|
|
4558
4558
|
_: 2
|
|
4559
4559
|
}, 1024))), 128))
|
|
@@ -4578,7 +4578,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4578
4578
|
}
|
|
4579
4579
|
},
|
|
4580
4580
|
setup(e) {
|
|
4581
|
-
const t = e, n =
|
|
4581
|
+
const t = e, n = F(() => {
|
|
4582
4582
|
if (Array.isArray(t.tags))
|
|
4583
4583
|
return t.tags;
|
|
4584
4584
|
if (typeof t.tags == "string")
|
|
@@ -4601,7 +4601,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4601
4601
|
}, ["stop"]))
|
|
4602
4602
|
}, {
|
|
4603
4603
|
default: _(() => [
|
|
4604
|
-
U(
|
|
4604
|
+
U(E(a), 1)
|
|
4605
4605
|
]),
|
|
4606
4606
|
_: 2
|
|
4607
4607
|
}, 1032, ["max-width"]))), 128))
|
|
@@ -4610,7 +4610,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4610
4610
|
})) : (m(), $("span", rs, "-"));
|
|
4611
4611
|
};
|
|
4612
4612
|
}
|
|
4613
|
-
}), { useAxios: As, useDeleteUrlBuilder: ws, useErrors: _s, useExternalLinkCreator: Ss, useFetchUrlBuilder: $s, useFetcher: Ts, useFetcherCacheKey: Is, useDebouncedFilter:
|
|
4613
|
+
}), { useAxios: As, useDeleteUrlBuilder: ws, useErrors: _s, useExternalLinkCreator: Ss, useFetchUrlBuilder: $s, useFetcher: Ts, useFetcherCacheKey: Is, useDebouncedFilter: Fs, useStringHelpers: Es, useHelpers: Os, useGatewayFeatureSupported: Ls, useTruncationDetector: Bs, useValidators: Rs, useSchemaProvider: Ks, useTableState: Ns } = Y;
|
|
4614
4614
|
export {
|
|
4615
4615
|
mt as Appearances,
|
|
4616
4616
|
Do as ConfigCardDisplay,
|
|
@@ -4639,7 +4639,7 @@ export {
|
|
|
4639
4639
|
Un as TerraformCodeBlock,
|
|
4640
4640
|
Pn as YamlCodeBlock,
|
|
4641
4641
|
As as useAxios,
|
|
4642
|
-
|
|
4642
|
+
Fs as useDebouncedFilter,
|
|
4643
4643
|
ws as useDeleteUrlBuilder,
|
|
4644
4644
|
_s as useErrors,
|
|
4645
4645
|
Ss as useExternalLinkCreator,
|
|
@@ -4649,7 +4649,7 @@ export {
|
|
|
4649
4649
|
Ls as useGatewayFeatureSupported,
|
|
4650
4650
|
Os as useHelpers,
|
|
4651
4651
|
Ks as useSchemaProvider,
|
|
4652
|
-
|
|
4652
|
+
Es as useStringHelpers,
|
|
4653
4653
|
Ns as useTableState,
|
|
4654
4654
|
Bs as useTruncationDetector,
|
|
4655
4655
|
Rs as useValidators
|