@kong-ui-public/entities-shared 3.40.3 → 3.41.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as ot, ref as M, computed as _, unref as C, toValue as ye, watch as xe, toRef as ti, provide as Wt, defineComponent as Q, openBlock as g, createBlock as
|
|
1
|
+
import { inject as ot, ref as M, computed as _, unref as C, toValue as ye, watch as xe, toRef as ti, provide as Wt, defineComponent as Q, openBlock as g, createBlock as B, resolveDynamicComponent as qe, normalizeClass as fe, withCtx as x, createElementBlock as S, createElementVNode as L, toDisplayString as I, createCommentVNode as D, Fragment as pe, renderList as de, resolveComponent as U, createVNode as N, createTextVNode as q, useCssVars as Jt, useId as ni, useSlots as He, renderSlot as j, createSlots as Ae, normalizeProps as ii, guardReactiveProps as ri, mergeProps as Gt, onMounted as lt, onBeforeMount as st, withModifiers as Ne, Teleport as zt, onUnmounted as ai, withDirectives as we, vShow as _e, withKeys as oi, warn as li } from "vue";
|
|
2
2
|
import vt from "axios";
|
|
3
3
|
import { createI18n as si, i18nTComponent as ci } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as ui, KExternalLink as di, KButton as bt, KTruncate as fi, KBadge as pi } from "@kong/kongponents";
|
|
@@ -13,7 +13,7 @@ import Ci from "@shikijs/themes/catppuccin-mocha";
|
|
|
13
13
|
import xi from "@shikijs/themes/catppuccin-latte";
|
|
14
14
|
import { LanguageShellIcon as kt, LanguageBashIcon as Ct, BookIcon as Qt, AddIcon as Zt, CloseIcon as Ai, ChevronDownIcon as wi, CopyIcon as _i } from "@kong/icons";
|
|
15
15
|
import { useRouter as Si } from "vue-router";
|
|
16
|
-
var $i = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e.RedisConfiguration = "redis configuration", e))($i || {}), Ti = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ti || {}), he = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(he || {}), ke = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(ke || {});
|
|
16
|
+
var $i = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e.Secret = "secret", e.RedisConfiguration = "redis configuration", e))($i || {}), Ti = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Ti || {}), he = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(he || {}), ke = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.TlsTrustBundle = "tls_trust_bundle", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(ke || {});
|
|
17
17
|
const Ye = Object.values(ke), Xt = [
|
|
18
18
|
"ca_certificate",
|
|
19
19
|
"certificate",
|
|
@@ -29,7 +29,7 @@ const Ye = Object.values(ke), Xt = [
|
|
|
29
29
|
"vault",
|
|
30
30
|
"partial"
|
|
31
31
|
/* Partial */
|
|
32
|
-
], Ei = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key"], Ii = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
|
|
32
|
+
], Ei = ["backend_cluster", "virtual_cluster", "listener", "produce_policy", "consume_policy", "cluster_policy", "listener_policy", "schema_registry", "static_key", "tls_trust_bundle"], Ii = ["auth_server", "auth_server_scopes", "auth_server_claims", "auth_server_clients"];
|
|
33
33
|
var G = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.CopyBadge = "copy-badge", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(G || {}), le = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e.Policy = "policy", e))(le || {});
|
|
34
34
|
const xt = [
|
|
35
35
|
"primary",
|
|
@@ -71,13 +71,13 @@ function Oi() {
|
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
-
const Je = "khcp-user-table-preferences",
|
|
74
|
+
const Je = "khcp-user-table-preferences", Bi = {
|
|
75
75
|
pageSize: 30,
|
|
76
76
|
sortColumnKey: void 0,
|
|
77
77
|
sortColumnOrder: void 0,
|
|
78
78
|
columnVisibility: {}
|
|
79
79
|
};
|
|
80
|
-
function
|
|
80
|
+
function Li() {
|
|
81
81
|
const e = (n) => {
|
|
82
82
|
if (typeof n == "string")
|
|
83
83
|
try {
|
|
@@ -101,7 +101,7 @@ function Bi() {
|
|
|
101
101
|
},
|
|
102
102
|
getTablePreferences: (n, i) => {
|
|
103
103
|
const r = t();
|
|
104
|
-
return (r == null ? void 0 : r.get(n)) || void 0 || i ||
|
|
104
|
+
return (r == null ? void 0 : r.get(n)) || void 0 || i || Bi;
|
|
105
105
|
},
|
|
106
106
|
deleteAllTablePreferences: () => {
|
|
107
107
|
localStorage.removeItem(Je);
|
|
@@ -676,14 +676,14 @@ const z = {
|
|
|
676
676
|
var s;
|
|
677
677
|
return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
|
|
678
678
|
});
|
|
679
|
-
return (s, d) => (g(),
|
|
679
|
+
return (s, d) => (g(), B(qe(e.isArrayItem ? "fieldset" : "div"), {
|
|
680
680
|
class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
681
681
|
}, {
|
|
682
682
|
default: x(() => [
|
|
683
683
|
e.isArrayItem ? (g(), S("legend", dr, [
|
|
684
|
-
|
|
684
|
+
L("b", null, I(l.value), 1)
|
|
685
685
|
])) : D("", !0),
|
|
686
|
-
(g(!0), S(pe, null, de(Object.keys(a.value), (c, u) => (g(),
|
|
686
|
+
(g(!0), S(pe, null, de(Object.keys(a.value), (c, u) => (g(), B(ln, {
|
|
687
687
|
key: `${r.value}-property-${u}`,
|
|
688
688
|
item: {
|
|
689
689
|
key: c,
|
|
@@ -739,7 +739,7 @@ const z = {
|
|
|
739
739
|
const { i18n: { t } } = z.useI18n();
|
|
740
740
|
return (n, i) => {
|
|
741
741
|
const r = U("KBadge");
|
|
742
|
-
return g(),
|
|
742
|
+
return g(), B(r, {
|
|
743
743
|
appearance: e.status ? "success" : "neutral"
|
|
744
744
|
}, {
|
|
745
745
|
default: x(() => [
|
|
@@ -770,7 +770,7 @@ function wr(e, t) {
|
|
|
770
770
|
function Ie({ codeElement: e, code: t, language: n, theme: i }) {
|
|
771
771
|
e.innerHTML = wr(t, { lang: n, theme: i === "dark" ? "catppuccin-mocha" : "catppuccin-latte", structure: "inline" });
|
|
772
772
|
}
|
|
773
|
-
const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["data-testid"], Tr = ["data-testid"], Er = ["data-testid"], Ir = { key: 1 }, Fr = ["data-testid"], Or = ["data-testid"],
|
|
773
|
+
const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["data-testid"], Tr = ["data-testid"], Er = ["data-testid"], Ir = { key: 1 }, Fr = ["data-testid"], Or = ["data-testid"], Br = ["data-testid"], Lr = ["data-testid"], Rr = {
|
|
774
774
|
name: "ConfigCardItem",
|
|
775
775
|
components: { JsonCardItem: on, StatusBadge: gr, InternalLinkItem: mr }
|
|
776
776
|
}, Kr = /* @__PURE__ */ Q({
|
|
@@ -938,7 +938,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
938
938
|
return (Y, J) => {
|
|
939
939
|
const R = U("KTooltip"), F = U("KLabel"), E = U("KBadge"), v = U("KCopy");
|
|
940
940
|
return g(), S("div", _r, [
|
|
941
|
-
|
|
941
|
+
L("div", {
|
|
942
942
|
class: "config-card-details-label",
|
|
943
943
|
"data-testid": `${e.item.key}-label`
|
|
944
944
|
}, [
|
|
@@ -949,7 +949,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
949
949
|
text: C(k) ? e.item.label : ""
|
|
950
950
|
}, {
|
|
951
951
|
default: x(() => [
|
|
952
|
-
|
|
952
|
+
L("span", {
|
|
953
953
|
ref_key: "labelContent",
|
|
954
954
|
ref: y,
|
|
955
955
|
class: "label-content"
|
|
@@ -963,7 +963,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
963
963
|
c.value ? {
|
|
964
964
|
name: "tooltip",
|
|
965
965
|
fn: x(() => [
|
|
966
|
-
|
|
966
|
+
L("div", {
|
|
967
967
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
968
968
|
}, [
|
|
969
969
|
j(Y.$slots, "label-tooltip", {}, () => [
|
|
@@ -976,7 +976,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
976
976
|
]), 1024)
|
|
977
977
|
], !0)
|
|
978
978
|
], 8, Sr),
|
|
979
|
-
|
|
979
|
+
L("div", {
|
|
980
980
|
class: "config-card-details-value",
|
|
981
981
|
"data-testid": `${e.item.key}-property-value`
|
|
982
982
|
}, [
|
|
@@ -984,13 +984,13 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
984
984
|
rowValue: e.item.value
|
|
985
985
|
}, () => [
|
|
986
986
|
d.value ? (g(), S("div", Ir, [
|
|
987
|
-
(g(),
|
|
987
|
+
(g(), B(qe(b.value.tag), ii(ri(b.value.attrs)), {
|
|
988
988
|
default: x(() => [
|
|
989
989
|
b.value.additionalComponent === "KBadge" ? (g(), S("div", {
|
|
990
990
|
key: 0,
|
|
991
991
|
"data-testid": `${e.item.key}-badge-tags`
|
|
992
992
|
}, [
|
|
993
|
-
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(),
|
|
993
|
+
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(E, {
|
|
994
994
|
key: `${e.item.key}-badge-tag-${p}`,
|
|
995
995
|
class: "config-badge",
|
|
996
996
|
"data-testid": `${e.item.key}-badge-tag-${p}`,
|
|
@@ -1007,7 +1007,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
1007
1007
|
class: "copy-uuid-array",
|
|
1008
1008
|
"data-testid": `${e.item.key}-copy-uuid-array`
|
|
1009
1009
|
}, [
|
|
1010
|
-
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(),
|
|
1010
|
+
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(v, Gt({ ref_for: !0 }, b.value.childAttrs, {
|
|
1011
1011
|
key: `${e.item.key}-copy-uuid-${p}`,
|
|
1012
1012
|
"data-testid": `${e.item.key}-copy-uuid-${p}`,
|
|
1013
1013
|
text: A
|
|
@@ -1017,7 +1017,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
1017
1017
|
class: "method-badge-array",
|
|
1018
1018
|
"data-testid": `${e.item.key}-badge-methods`
|
|
1019
1019
|
}, [
|
|
1020
|
-
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(),
|
|
1020
|
+
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(E, {
|
|
1021
1021
|
key: `${e.item.key}-badge-method-${p}`,
|
|
1022
1022
|
appearance: Object.values(C(ui)).includes(A.toLowerCase()) ? A.toLowerCase() : "custom",
|
|
1023
1023
|
class: "config-badge",
|
|
@@ -1028,22 +1028,22 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
1028
1028
|
]),
|
|
1029
1029
|
_: 2
|
|
1030
1030
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
1031
|
-
], 8,
|
|
1031
|
+
], 8, Br)) : b.value.additionalComponent === "JsonCardItem" ? (g(), S("div", {
|
|
1032
1032
|
key: 3,
|
|
1033
1033
|
"data-testid": `${n.item.key}-json-array-content`
|
|
1034
1034
|
}, [
|
|
1035
|
-
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(),
|
|
1035
|
+
(g(!0), S(pe, null, de(e.item.value, (A, p) => (g(), B(on, {
|
|
1036
1036
|
key: `json-array-item-${p}`,
|
|
1037
1037
|
index: Number(p),
|
|
1038
1038
|
"is-array-item": "",
|
|
1039
1039
|
item: A
|
|
1040
1040
|
}, null, 8, ["index", "item"]))), 128))
|
|
1041
|
-
], 8,
|
|
1041
|
+
], 8, Lr)) : (g(), B(R, {
|
|
1042
1042
|
key: 4,
|
|
1043
1043
|
text: C(w) ? e.item.value : ""
|
|
1044
1044
|
}, {
|
|
1045
1045
|
default: x(() => [
|
|
1046
|
-
|
|
1046
|
+
L("span", {
|
|
1047
1047
|
ref_key: "textContent",
|
|
1048
1048
|
ref: $,
|
|
1049
1049
|
class: fe(["attrs-data-text", { truncated: e.truncated }])
|
|
@@ -1124,7 +1124,7 @@ const _r = { class: "config-card-details-row" }, Sr = ["data-testid"], $r = ["da
|
|
|
1124
1124
|
theme: "dark"
|
|
1125
1125
|
}, null, 8, ["code"])
|
|
1126
1126
|
])) : D("", !0),
|
|
1127
|
-
t.entityRecord ? (g(),
|
|
1127
|
+
t.entityRecord ? (g(), B(l, {
|
|
1128
1128
|
key: 1,
|
|
1129
1129
|
id: "json-codeblock",
|
|
1130
1130
|
class: fe({ "json-content": t.fetcherUrl }),
|
|
@@ -1177,15 +1177,15 @@ function un(e, t) {
|
|
|
1177
1177
|
|
|
1178
1178
|
` + e.mark.snippet), i + " " + n) : i;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function Be(e, t) {
|
|
1181
1181
|
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = un(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
1182
1182
|
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1183
|
+
Be.prototype = Object.create(Error.prototype);
|
|
1184
|
+
Be.prototype.constructor = Be;
|
|
1185
|
+
Be.prototype.toString = function(t) {
|
|
1186
1186
|
return this.name + ": " + un(this, t);
|
|
1187
1187
|
};
|
|
1188
|
-
var se =
|
|
1188
|
+
var se = Be;
|
|
1189
1189
|
function ze(e, t, n, i, r) {
|
|
1190
1190
|
var o = "", a = "", l = Math.floor(r / 2) - 1;
|
|
1191
1191
|
return i - t > l && (o = " ... ", t = i - l + o.length), n - i > l && (a = " ...", n = i + l - a.length), {
|
|
@@ -1649,12 +1649,12 @@ var $n = new ae("tag:yaml.org,2002:omap", {
|
|
|
1649
1649
|
kind: "sequence",
|
|
1650
1650
|
resolve: Fa,
|
|
1651
1651
|
construct: Oa
|
|
1652
|
-
}),
|
|
1653
|
-
function
|
|
1652
|
+
}), Ba = Object.prototype.toString;
|
|
1653
|
+
function La(e) {
|
|
1654
1654
|
if (e === null) return !0;
|
|
1655
1655
|
var t, n, i, r, o, a = e;
|
|
1656
1656
|
for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
|
|
1657
|
-
if (i = a[t],
|
|
1657
|
+
if (i = a[t], Ba.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
|
|
1658
1658
|
o[t] = [r[0], i[r[0]]];
|
|
1659
1659
|
}
|
|
1660
1660
|
return !0;
|
|
@@ -1668,7 +1668,7 @@ function Ra(e) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
var Tn = new ae("tag:yaml.org,2002:pairs", {
|
|
1670
1670
|
kind: "sequence",
|
|
1671
|
-
resolve:
|
|
1671
|
+
resolve: La,
|
|
1672
1672
|
construct: Ra
|
|
1673
1673
|
}), Ka = Object.prototype.hasOwnProperty;
|
|
1674
1674
|
function Na(e) {
|
|
@@ -1697,7 +1697,7 @@ var En = new ae("tag:yaml.org,2002:set", {
|
|
|
1697
1697
|
Tn,
|
|
1698
1698
|
En
|
|
1699
1699
|
]
|
|
1700
|
-
}), be = Object.prototype.hasOwnProperty, Me = 1, In = 2, Fn = 3, Pe = 4, Ze = 1, Pa = 2, Ft = 3, Da = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ja = /[\x85\u2028\u2029]/, Ua = /[,\[\]\{\}]/, On = /^(?:!|!!|![a-z\-]+!)$/i,
|
|
1700
|
+
}), be = Object.prototype.hasOwnProperty, Me = 1, In = 2, Fn = 3, Pe = 4, Ze = 1, Pa = 2, Ft = 3, Da = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ja = /[\x85\u2028\u2029]/, Ua = /[,\[\]\{\}]/, On = /^(?:!|!!|![a-z\-]+!)$/i, Bn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1701
1701
|
function Ot(e) {
|
|
1702
1702
|
return Object.prototype.toString.call(e);
|
|
1703
1703
|
}
|
|
@@ -1723,7 +1723,7 @@ function Ha(e) {
|
|
|
1723
1723
|
function Ya(e) {
|
|
1724
1724
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1726
|
+
function Bt(e) {
|
|
1727
1727
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
1728
1728
|
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
1729
1729
|
}
|
|
@@ -1733,7 +1733,7 @@ function Va(e) {
|
|
|
1733
1733
|
(e - 65536 & 1023) + 56320
|
|
1734
1734
|
);
|
|
1735
1735
|
}
|
|
1736
|
-
function
|
|
1736
|
+
function Ln(e, t, n) {
|
|
1737
1737
|
t === "__proto__" ? Object.defineProperty(e, t, {
|
|
1738
1738
|
configurable: !0,
|
|
1739
1739
|
enumerable: !0,
|
|
@@ -1743,7 +1743,7 @@ function Bn(e, t, n) {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
var Rn = new Array(256), Kn = new Array(256);
|
|
1745
1745
|
for (var Se = 0; Se < 256; Se++)
|
|
1746
|
-
Rn[Se] =
|
|
1746
|
+
Rn[Se] = Bt(Se) ? 1 : 0, Kn[Se] = Bt(Se);
|
|
1747
1747
|
function Wa(e, t) {
|
|
1748
1748
|
this.input = e, this.filename = t.filename || null, this.schema = t.schema || dt, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
1749
1749
|
}
|
|
@@ -1764,14 +1764,14 @@ function T(e, t) {
|
|
|
1764
1764
|
function De(e, t) {
|
|
1765
1765
|
e.onWarning && e.onWarning.call(null, Nn(e, t));
|
|
1766
1766
|
}
|
|
1767
|
-
var
|
|
1767
|
+
var Lt = {
|
|
1768
1768
|
YAML: function(t, n, i) {
|
|
1769
1769
|
var r, o, a;
|
|
1770
1770
|
t.version !== null && T(t, "duplication of %YAML directive"), i.length !== 1 && T(t, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(i[0]), r === null && T(t, "ill-formed argument of the YAML directive"), o = parseInt(r[1], 10), a = parseInt(r[2], 10), o !== 1 && T(t, "unacceptable YAML version of the document"), t.version = i[0], t.checkLineBreaks = a < 2, a !== 1 && a !== 2 && De(t, "unsupported YAML version of the document");
|
|
1771
1771
|
},
|
|
1772
1772
|
TAG: function(t, n, i) {
|
|
1773
1773
|
var r, o;
|
|
1774
|
-
i.length !== 2 && T(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], On.test(r) || T(t, "ill-formed tag handle (first argument) of the TAG directive"), be.call(t.tagMap, r) && T(t, 'there is a previously declared suffix for "' + r + '" tag handle'),
|
|
1774
|
+
i.length !== 2 && T(t, "TAG directive accepts exactly two arguments"), r = i[0], o = i[1], On.test(r) || T(t, "ill-formed tag handle (first argument) of the TAG directive"), be.call(t.tagMap, r) && T(t, 'there is a previously declared suffix for "' + r + '" tag handle'), Bn.test(o) || T(t, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
1775
1775
|
try {
|
|
1776
1776
|
o = decodeURIComponent(o);
|
|
1777
1777
|
} catch {
|
|
@@ -1793,7 +1793,7 @@ function ve(e, t, n, i) {
|
|
|
1793
1793
|
function Rt(e, t, n, i) {
|
|
1794
1794
|
var r, o, a, l;
|
|
1795
1795
|
for (te.isObject(n) || T(e, "cannot merge mappings; the provided source object is unacceptable"), r = Object.keys(n), a = 0, l = r.length; a < l; a += 1)
|
|
1796
|
-
o = r[a], be.call(t, o) || (
|
|
1796
|
+
o = r[a], be.call(t, o) || (Ln(t, o, n[o]), i[o] = !0);
|
|
1797
1797
|
}
|
|
1798
1798
|
function Ee(e, t, n, i, r, o, a, l, s) {
|
|
1799
1799
|
var d, c;
|
|
@@ -1807,7 +1807,7 @@ function Ee(e, t, n, i, r, o, a, l, s) {
|
|
|
1807
1807
|
else
|
|
1808
1808
|
Rt(e, t, o, n);
|
|
1809
1809
|
else
|
|
1810
|
-
!e.json && !be.call(n, r) && be.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, T(e, "duplicated mapping key")),
|
|
1810
|
+
!e.json && !be.call(n, r) && be.call(t, r) && (e.line = a || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, T(e, "duplicated mapping key")), Ln(t, r, o), delete n[r];
|
|
1811
1811
|
return t;
|
|
1812
1812
|
}
|
|
1813
1813
|
function ft(e) {
|
|
@@ -2021,7 +2021,7 @@ function eo(e) {
|
|
|
2021
2021
|
a === 33 && (i ? T(e, "tag suffix cannot contain exclamation marks") : (r = e.input.slice(t - 1, e.position + 1), On.test(r) || T(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), a = e.input.charCodeAt(++e.position);
|
|
2022
2022
|
o = e.input.slice(t, e.position), Ua.test(o) && T(e, "tag suffix cannot contain flow indicator characters");
|
|
2023
2023
|
}
|
|
2024
|
-
o && !
|
|
2024
|
+
o && !Bn.test(o) && T(e, "tag name cannot contain such characters: " + o);
|
|
2025
2025
|
try {
|
|
2026
2026
|
o = decodeURIComponent(o);
|
|
2027
2027
|
} catch {
|
|
@@ -2088,7 +2088,7 @@ function io(e) {
|
|
|
2088
2088
|
a = e.input.charCodeAt(++e.position);
|
|
2089
2089
|
r.push(e.input.slice(n, e.position));
|
|
2090
2090
|
}
|
|
2091
|
-
a !== 0 && ft(e), be.call(
|
|
2091
|
+
a !== 0 && ft(e), be.call(Lt, i) ? Lt[i](e, i, r) : De(e, 'unknown document directive "' + i + '"');
|
|
2092
2092
|
}
|
|
2093
2093
|
if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : o && T(e, "directives end mark is expected"), Fe(e, e.lineIndent - 1, Pe, !1, !0), ee(e, !0, -1), e.checkLineBreaks && ja.test(e.input.slice(t, e.position)) && De(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && We(e)) {
|
|
2094
2094
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
|
|
@@ -2128,7 +2128,7 @@ function ao(e, t) {
|
|
|
2128
2128
|
var oo = ro, lo = ao, Pn = {
|
|
2129
2129
|
loadAll: oo,
|
|
2130
2130
|
load: lo
|
|
2131
|
-
}, Dn = Object.prototype.toString, jn = Object.prototype.hasOwnProperty, mt = 65279, so = 9,
|
|
2131
|
+
}, Dn = Object.prototype.toString, jn = Object.prototype.hasOwnProperty, mt = 65279, so = 9, Le = 10, co = 13, uo = 32, fo = 33, po = 34, nt = 35, mo = 37, go = 38, ho = 39, yo = 42, Un = 44, vo = 45, je = 58, bo = 61, ko = 62, Co = 63, xo = 64, qn = 91, Hn = 93, Ao = 96, Yn = 123, wo = 124, Vn = 125, oe = {};
|
|
2132
2132
|
oe[0] = "\\0";
|
|
2133
2133
|
oe[7] = "\\a";
|
|
2134
2134
|
oe[8] = "\\b";
|
|
@@ -2210,7 +2210,7 @@ function Ke(e) {
|
|
|
2210
2210
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== mt || 65536 <= e && e <= 1114111;
|
|
2211
2211
|
}
|
|
2212
2212
|
function Mt(e) {
|
|
2213
|
-
return Ke(e) && e !== mt && e !== co && e !==
|
|
2213
|
+
return Ke(e) && e !== mt && e !== co && e !== Le;
|
|
2214
2214
|
}
|
|
2215
2215
|
function Pt(e, t, n) {
|
|
2216
2216
|
var i = Mt(e), r = i && !Ue(e);
|
|
@@ -2225,7 +2225,7 @@ function Pt(e, t, n) {
|
|
|
2225
2225
|
function Oo(e) {
|
|
2226
2226
|
return Ke(e) && e !== mt && !Ue(e) && e !== vo && e !== Co && e !== je && e !== Un && e !== qn && e !== Hn && e !== Yn && e !== Vn && e !== nt && e !== go && e !== yo && e !== fo && e !== wo && e !== bo && e !== ko && e !== ho && e !== po && e !== mo && e !== xo && e !== Ao;
|
|
2227
2227
|
}
|
|
2228
|
-
function
|
|
2228
|
+
function Bo(e) {
|
|
2229
2229
|
return !Ue(e) && e !== je;
|
|
2230
2230
|
}
|
|
2231
2231
|
function Oe(e, t) {
|
|
@@ -2237,8 +2237,8 @@ function Wn(e) {
|
|
|
2237
2237
|
return t.test(e);
|
|
2238
2238
|
}
|
|
2239
2239
|
var Jn = 1, rt = 2, Gn = 3, zn = 4, $e = 5;
|
|
2240
|
-
function
|
|
2241
|
-
var s, d = 0, c = null, u = !1, m = !1, f = i !== -1, h = -1, b = Oo(Oe(e, 0)) &&
|
|
2240
|
+
function Lo(e, t, n, i, r, o, a, l) {
|
|
2241
|
+
var s, d = 0, c = null, u = !1, m = !1, f = i !== -1, h = -1, b = Oo(Oe(e, 0)) && Bo(Oe(e, e.length - 1));
|
|
2242
2242
|
if (t || a)
|
|
2243
2243
|
for (s = 0; s < e.length; d >= 65536 ? s += 2 : s++) {
|
|
2244
2244
|
if (d = Oe(e, s), !Ke(d))
|
|
@@ -2247,7 +2247,7 @@ function Bo(e, t, n, i, r, o, a, l) {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
else {
|
|
2249
2249
|
for (s = 0; s < e.length; d >= 65536 ? s += 2 : s++) {
|
|
2250
|
-
if (d = Oe(e, s), d ===
|
|
2250
|
+
if (d = Oe(e, s), d === Le)
|
|
2251
2251
|
u = !0, f && (m = m || // Foldable line = too long, and not more-indented.
|
|
2252
2252
|
s - h - 1 > i && e[h + 1] !== " ", h = s);
|
|
2253
2253
|
else if (!Ke(d))
|
|
@@ -2268,7 +2268,7 @@ function Ro(e, t, n, i, r) {
|
|
|
2268
2268
|
function s(d) {
|
|
2269
2269
|
return Fo(e, d);
|
|
2270
2270
|
}
|
|
2271
|
-
switch (
|
|
2271
|
+
switch (Lo(
|
|
2272
2272
|
t,
|
|
2273
2273
|
l,
|
|
2274
2274
|
e.indent,
|
|
@@ -2341,7 +2341,7 @@ function Mo(e, t, n) {
|
|
|
2341
2341
|
function qt(e, t, n, i) {
|
|
2342
2342
|
var r = "", o = e.tag, a, l, s;
|
|
2343
2343
|
for (a = 0, l = n.length; a < l; a += 1)
|
|
2344
|
-
s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += it(e, t)), e.dump &&
|
|
2344
|
+
s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (ge(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ge(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += it(e, t)), e.dump && Le === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
|
|
2345
2345
|
e.tag = o, e.dump = r || "[]";
|
|
2346
2346
|
}
|
|
2347
2347
|
function Po(e, t, n) {
|
|
@@ -2359,7 +2359,7 @@ function Do(e, t, n, i) {
|
|
|
2359
2359
|
else if (e.sortKeys)
|
|
2360
2360
|
throw new se("sortKeys must be a boolean or a function");
|
|
2361
2361
|
for (l = 0, s = a.length; l < s; l += 1)
|
|
2362
|
-
m = "", (!i || r !== "") && (m += it(e, t)), d = a[l], c = n[d], e.replacer && (c = e.replacer.call(n, d, c)), ge(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump &&
|
|
2362
|
+
m = "", (!i || r !== "") && (m += it(e, t)), d = a[l], c = n[d], e.replacer && (c = e.replacer.call(n, d, c)), ge(e, t + 1, d, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Le === e.dump.charCodeAt(0) ? m += "?" : m += "? "), m += e.dump, u && (m += it(e, t)), ge(e, t + 1, c, !0, u) && (e.dump && Le === e.dump.charCodeAt(0) ? m += ":" : m += ": ", m += e.dump, r += m));
|
|
2363
2363
|
e.tag = o, e.dump = r || "{}";
|
|
2364
2364
|
}
|
|
2365
2365
|
function Ht(e, t, n) {
|
|
@@ -2486,7 +2486,7 @@ const al = { class: "yaml-config config-card-code-block" }, Zn = /* @__PURE__ */
|
|
|
2486
2486
|
return (i, r) => {
|
|
2487
2487
|
const o = U("KCodeBlock");
|
|
2488
2488
|
return g(), S("div", al, [
|
|
2489
|
-
t.entityRecord ? (g(),
|
|
2489
|
+
t.entityRecord ? (g(), B(o, {
|
|
2490
2490
|
key: 0,
|
|
2491
2491
|
id: "yaml-codeblock",
|
|
2492
2492
|
code: n.value,
|
|
@@ -2595,7 +2595,7 @@ const al = { class: "yaml-config config-card-code-block" }, Zn = /* @__PURE__ */
|
|
|
2595
2595
|
return (c, u) => {
|
|
2596
2596
|
const m = U("KCodeBlock");
|
|
2597
2597
|
return g(), S("div", ol, [
|
|
2598
|
-
t.entityRecord ? (g(),
|
|
2598
|
+
t.entityRecord ? (g(), B(m, {
|
|
2599
2599
|
key: 0,
|
|
2600
2600
|
id: "terraform-codeblock",
|
|
2601
2601
|
code: d.value,
|
|
@@ -2654,11 +2654,11 @@ ${l.value}
|
|
|
2654
2654
|
items: r
|
|
2655
2655
|
}, {
|
|
2656
2656
|
"item-template": x(({ item: b }) => [
|
|
2657
|
-
b.value === "powershell" ? (g(),
|
|
2657
|
+
b.value === "powershell" ? (g(), B(C(kt), { key: 0 })) : (g(), B(C(Ct), { key: 1 })),
|
|
2658
2658
|
q(" " + I(b.label), 1)
|
|
2659
2659
|
]),
|
|
2660
2660
|
"selected-item-template": x(({ item: b }) => [
|
|
2661
|
-
b.value === "powershell" ? (g(),
|
|
2661
|
+
b.value === "powershell" ? (g(), B(C(kt), { key: 0 })) : (g(), B(C(Ct), { key: 1 })),
|
|
2662
2662
|
q(" " + I(b.label), 1)
|
|
2663
2663
|
]),
|
|
2664
2664
|
_: 1
|
|
@@ -2693,7 +2693,7 @@ ${l.value}
|
|
|
2693
2693
|
key: "0"
|
|
2694
2694
|
} : void 0
|
|
2695
2695
|
]), 1032, ["data-testid", "keypath"]),
|
|
2696
|
-
e.app === "konnect" ? (g(),
|
|
2696
|
+
e.app === "konnect" ? (g(), B(h, {
|
|
2697
2697
|
key: 0,
|
|
2698
2698
|
id: "deck-env-codeblock",
|
|
2699
2699
|
code: s.value,
|
|
@@ -2702,7 +2702,7 @@ ${l.value}
|
|
|
2702
2702
|
theme: "dark",
|
|
2703
2703
|
onCodeBlockRender: C(Ie)
|
|
2704
2704
|
}, null, 8, ["code", "language", "onCodeBlockRender"])) : D("", !0),
|
|
2705
|
-
t.entityRecord ? (g(),
|
|
2705
|
+
t.entityRecord ? (g(), B(h, {
|
|
2706
2706
|
key: 1,
|
|
2707
2707
|
id: "deck-codeblock",
|
|
2708
2708
|
code: d.value,
|
|
@@ -2793,7 +2793,7 @@ ${l.value}
|
|
|
2793
2793
|
}, [
|
|
2794
2794
|
d !== "basic" ? (g(), S("div", dl, I(d === "advanced" ? C(i)("baseConfigCard.sections.advanced") : d === "plugin" ? C(i)("baseConfigCard.sections.plugin") : C(i)("baseConfigCard.sections.policy")), 1)) : D("", !0),
|
|
2795
2795
|
(g(!0), S(pe, null, de(e.propertyCollections[d], (c) => j(l.$slots, `config-card-item-${c.key}`, { row: c }, () => [
|
|
2796
|
-
(g(),
|
|
2796
|
+
(g(), B(ln, {
|
|
2797
2797
|
key: c.key,
|
|
2798
2798
|
item: c
|
|
2799
2799
|
}, Ae({
|
|
@@ -2819,24 +2819,24 @@ ${l.value}
|
|
|
2819
2819
|
], !0)), 256))
|
|
2820
2820
|
], 10, ul))), 128))
|
|
2821
2821
|
])) : D("", !0),
|
|
2822
|
-
e.format === "json" && o.value ? (g(),
|
|
2822
|
+
e.format === "json" && o.value ? (g(), B(sn, {
|
|
2823
2823
|
key: 1,
|
|
2824
2824
|
config: t.config,
|
|
2825
2825
|
"entity-record": o.value,
|
|
2826
2826
|
"fetcher-url": a.value,
|
|
2827
2827
|
"request-method": "get"
|
|
2828
2828
|
}, null, 8, ["config", "entity-record", "fetcher-url"])) : D("", !0),
|
|
2829
|
-
e.format === "yaml" && o.value ? (g(),
|
|
2829
|
+
e.format === "yaml" && o.value ? (g(), B(Zn, {
|
|
2830
2830
|
key: 2,
|
|
2831
2831
|
"entity-record": o.value
|
|
2832
2832
|
}, null, 8, ["entity-record"])) : D("", !0),
|
|
2833
|
-
e.format === "terraform" && o.value ? (g(),
|
|
2833
|
+
e.format === "terraform" && o.value ? (g(), B(Xn, {
|
|
2834
2834
|
key: 3,
|
|
2835
2835
|
"entity-record": o.value,
|
|
2836
2836
|
"entity-type": t.entityType,
|
|
2837
2837
|
"sub-entity-type": t.subEntityType
|
|
2838
2838
|
}, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : D("", !0),
|
|
2839
|
-
e.format === "deck" && o.value ? (g(),
|
|
2839
|
+
e.format === "deck" && o.value ? (g(), B(ei, {
|
|
2840
2840
|
key: 4,
|
|
2841
2841
|
app: e.config.app,
|
|
2842
2842
|
"control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
|
|
@@ -3172,12 +3172,12 @@ ${l.value}
|
|
|
3172
3172
|
}
|
|
3173
3173
|
}), (p, K) => {
|
|
3174
3174
|
const H = U("KLabel"), V = U("KSelect"), ne = U("KButton"), P = U("KSkeleton"), O = U("KEmptyState"), Z = U("KCard");
|
|
3175
|
-
return g(),
|
|
3175
|
+
return g(), B(Z, {
|
|
3176
3176
|
class: "kong-ui-entity-base-config-card",
|
|
3177
3177
|
"title-tag": e.titleTag
|
|
3178
3178
|
}, Ae({
|
|
3179
3179
|
actions: x(() => [
|
|
3180
|
-
|
|
3180
|
+
L("div", gl, [
|
|
3181
3181
|
j(p.$slots, "actions", {}, void 0, !0),
|
|
3182
3182
|
N(H, {
|
|
3183
3183
|
class: "config-format-select-label",
|
|
@@ -3195,14 +3195,14 @@ ${l.value}
|
|
|
3195
3195
|
items: s,
|
|
3196
3196
|
onChange: f
|
|
3197
3197
|
}, null, 8, ["modelValue"]),
|
|
3198
|
-
e.configCardDoc ? (g(),
|
|
3198
|
+
e.configCardDoc ? (g(), B(ne, {
|
|
3199
3199
|
key: 0,
|
|
3200
3200
|
appearance: "tertiary",
|
|
3201
3201
|
class: "book-icon",
|
|
3202
3202
|
"data-testid": "book-icon"
|
|
3203
3203
|
}, {
|
|
3204
3204
|
default: x(() => [
|
|
3205
|
-
|
|
3205
|
+
L("a", {
|
|
3206
3206
|
href: e.configCardDoc,
|
|
3207
3207
|
rel: "noopener",
|
|
3208
3208
|
target: "_blank"
|
|
@@ -3215,18 +3215,18 @@ ${l.value}
|
|
|
3215
3215
|
])
|
|
3216
3216
|
]),
|
|
3217
3217
|
default: x(() => [
|
|
3218
|
-
y.value ? (g(),
|
|
3218
|
+
y.value ? (g(), B(P, {
|
|
3219
3219
|
key: 0,
|
|
3220
3220
|
"data-testid": "config-card-loader",
|
|
3221
3221
|
"table-columns": 2,
|
|
3222
3222
|
type: "table"
|
|
3223
|
-
})) : $.value ? (g(),
|
|
3223
|
+
})) : $.value ? (g(), B(O, {
|
|
3224
3224
|
key: 1,
|
|
3225
3225
|
"data-testid": "config-card-fetch-error",
|
|
3226
3226
|
"icon-variant": "error"
|
|
3227
3227
|
}, {
|
|
3228
3228
|
default: x(() => [
|
|
3229
|
-
|
|
3229
|
+
L("h3", null, I(k.value), 1)
|
|
3230
3230
|
]),
|
|
3231
3231
|
_: 1
|
|
3232
3232
|
})) : (g(), S("div", yl, [
|
|
@@ -3255,7 +3255,7 @@ ${l.value}
|
|
|
3255
3255
|
e.hideTitle ? void 0 : {
|
|
3256
3256
|
name: "title",
|
|
3257
3257
|
fn: x(() => [
|
|
3258
|
-
|
|
3258
|
+
L("span", ml, [
|
|
3259
3259
|
j(p.$slots, "title", {}, () => [
|
|
3260
3260
|
q(I(C(r)("baseConfigCard.title")), 1)
|
|
3261
3261
|
], !0)
|
|
@@ -3443,16 +3443,16 @@ ${l.value}
|
|
|
3443
3443
|
formSubmit: Y
|
|
3444
3444
|
}), (v, A) => {
|
|
3445
3445
|
const p = U("KSkeleton"), K = U("KEmptyState"), H = U("KAlert"), V = U("KButton"), ne = U("KTabs"), P = U("KSlideout");
|
|
3446
|
-
return g(),
|
|
3446
|
+
return g(), B(qe(e.wrapperComponent), {
|
|
3447
3447
|
class: fe(["kong-ui-entity-base-form", {
|
|
3448
3448
|
"new-form-layout": C(i) && e.entityType === C(ke).Plugin
|
|
3449
3449
|
}])
|
|
3450
3450
|
}, {
|
|
3451
3451
|
default: x(() => [
|
|
3452
|
-
c.value ? (g(),
|
|
3452
|
+
c.value ? (g(), B(p, {
|
|
3453
3453
|
key: 0,
|
|
3454
3454
|
type: "form"
|
|
3455
|
-
})) : m.value ? (g(),
|
|
3455
|
+
})) : m.value ? (g(), B(K, {
|
|
3456
3456
|
key: 1,
|
|
3457
3457
|
"action-button-text": C(l)("baseForm.actions.back"),
|
|
3458
3458
|
"data-testid": "form-fetch-error",
|
|
@@ -3460,7 +3460,7 @@ ${l.value}
|
|
|
3460
3460
|
onClickAction: k
|
|
3461
3461
|
}, {
|
|
3462
3462
|
default: x(() => [
|
|
3463
|
-
|
|
3463
|
+
L("h3", null, I(f.value), 1)
|
|
3464
3464
|
]),
|
|
3465
3465
|
_: 1
|
|
3466
3466
|
}, 8, ["action-button-text"])) : (g(), S("form", {
|
|
@@ -3471,19 +3471,19 @@ ${l.value}
|
|
|
3471
3471
|
onSubmit: Ne(Y, ["prevent"])
|
|
3472
3472
|
}, [
|
|
3473
3473
|
j(v.$slots, "default", {}, void 0, !0),
|
|
3474
|
-
e.errorMessage ? (g(),
|
|
3474
|
+
e.errorMessage ? (g(), B(H, {
|
|
3475
3475
|
key: 0,
|
|
3476
3476
|
appearance: "danger",
|
|
3477
3477
|
class: "form-error",
|
|
3478
3478
|
"data-testid": "form-error",
|
|
3479
3479
|
message: e.errorMessage
|
|
3480
3480
|
}, null, 8, ["message"])) : D("", !0),
|
|
3481
|
-
e.hideActions ? D("", !0) : (g(),
|
|
3481
|
+
e.hideActions ? D("", !0) : (g(), B(zt, {
|
|
3482
3482
|
key: 1,
|
|
3483
3483
|
disabled: !e.actionTeleportTarget,
|
|
3484
3484
|
to: e.actionTeleportTarget
|
|
3485
3485
|
}, [
|
|
3486
|
-
|
|
3486
|
+
L("div", {
|
|
3487
3487
|
class: fe(["form-actions", { "form-actions-reverted": e.alignActionButtonToLeft }]),
|
|
3488
3488
|
"data-testid": "form-actions"
|
|
3489
3489
|
}, [
|
|
@@ -3536,7 +3536,7 @@ ${l.value}
|
|
|
3536
3536
|
onClose: A[4] || (A[4] = (O) => $())
|
|
3537
3537
|
}, {
|
|
3538
3538
|
default: x(() => [
|
|
3539
|
-
|
|
3539
|
+
L("div", null, [
|
|
3540
3540
|
j(v.$slots, "configuration-slideout-message", {}, () => [
|
|
3541
3541
|
q(I(C(l)("baseForm.configuration.message")), 1)
|
|
3542
3542
|
], !0)
|
|
@@ -3873,7 +3873,7 @@ ${l.value}
|
|
|
3873
3873
|
i("click:row", A);
|
|
3874
3874
|
}), y = (v) => {
|
|
3875
3875
|
i("sort", v);
|
|
3876
|
-
}, { hideTableToolbar: $, handleStateChange: k } = z.useTableState(() => n.query), { setTablePreferences: w, getTablePreferences: Y } =
|
|
3876
|
+
}, { hideTableToolbar: $, handleStateChange: k } = z.useTableState(() => n.query), { setTablePreferences: w, getTablePreferences: Y } = Li(), J = M(Y(a.value, n.defaultTablePreferences)), R = _(() => {
|
|
3877
3877
|
const v = Y(a.value);
|
|
3878
3878
|
return {
|
|
3879
3879
|
...n.initialFetcherParams,
|
|
@@ -3890,7 +3890,7 @@ ${l.value}
|
|
|
3890
3890
|
}));
|
|
3891
3891
|
return (v, A) => {
|
|
3892
3892
|
const p = U("KTableData"), K = U("KCard");
|
|
3893
|
-
return g(),
|
|
3893
|
+
return g(), B(K, {
|
|
3894
3894
|
class: "kong-ui-entity-base-table",
|
|
3895
3895
|
title: e.title,
|
|
3896
3896
|
"title-tag": e.titleTag
|
|
@@ -3933,7 +3933,7 @@ ${l.value}
|
|
|
3933
3933
|
"onUpdate:tablePreferences": F
|
|
3934
3934
|
}, Ae({
|
|
3935
3935
|
toolbar: x(() => [
|
|
3936
|
-
|
|
3936
|
+
L("div", _l, [
|
|
3937
3937
|
j(v.$slots, "toolbar-filter", {}, void 0, !0),
|
|
3938
3938
|
v.$slots["toolbar-button"] ? (g(), S("div", Sl, [
|
|
3939
3939
|
j(v.$slots, "toolbar-button", {}, void 0, !0)
|
|
@@ -4041,7 +4041,7 @@ ${l.value}
|
|
|
4041
4041
|
};
|
|
4042
4042
|
return (s, d) => {
|
|
4043
4043
|
const c = U("KAlert"), u = U("KPrompt");
|
|
4044
|
-
return g(),
|
|
4044
|
+
return g(), B(u, {
|
|
4045
4045
|
"action-button-appearance": "danger",
|
|
4046
4046
|
"action-button-disabled": e.actionPending,
|
|
4047
4047
|
"action-button-text": "Yes, delete",
|
|
@@ -4074,14 +4074,14 @@ ${l.value}
|
|
|
4074
4074
|
i.entityName ? {
|
|
4075
4075
|
name: "entityName",
|
|
4076
4076
|
fn: x(() => [
|
|
4077
|
-
|
|
4077
|
+
L("strong", null, I(i.entityName), 1)
|
|
4078
4078
|
]),
|
|
4079
4079
|
key: "0"
|
|
4080
4080
|
} : void 0
|
|
4081
4081
|
]), 1032, ["keypath"]),
|
|
4082
4082
|
i.description || s.$slots.description ? (g(), S("div", Il, [
|
|
4083
4083
|
j(s.$slots, "description", {}, () => [
|
|
4084
|
-
|
|
4084
|
+
L("p", null, I(i.description), 1)
|
|
4085
4085
|
], !0)
|
|
4086
4086
|
])) : D("", !0)
|
|
4087
4087
|
]),
|
|
@@ -4095,7 +4095,7 @@ ${l.value}
|
|
|
4095
4095
|
viewBox: "0 0 20 20",
|
|
4096
4096
|
width: "20",
|
|
4097
4097
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4098
|
-
},
|
|
4098
|
+
}, Bl = {
|
|
4099
4099
|
id: "mask0_180_20349",
|
|
4100
4100
|
height: "20",
|
|
4101
4101
|
maskUnits: "userSpaceOnUse",
|
|
@@ -4103,7 +4103,7 @@ ${l.value}
|
|
|
4103
4103
|
width: "20",
|
|
4104
4104
|
x: "0",
|
|
4105
4105
|
y: "0"
|
|
4106
|
-
},
|
|
4106
|
+
}, Ll = ["fill"], Rl = { mask: "url(#mask0_180_20349)" }, Kl = ["fill"], Yt = /* @__PURE__ */ Q({
|
|
4107
4107
|
__name: "IconFilter",
|
|
4108
4108
|
props: {
|
|
4109
4109
|
color: {
|
|
@@ -4113,15 +4113,15 @@ ${l.value}
|
|
|
4113
4113
|
},
|
|
4114
4114
|
setup(e) {
|
|
4115
4115
|
return (t, n) => (g(), S("svg", Ol, [
|
|
4116
|
-
|
|
4117
|
-
|
|
4116
|
+
L("mask", Bl, [
|
|
4117
|
+
L("rect", {
|
|
4118
4118
|
fill: e.color,
|
|
4119
4119
|
height: "20",
|
|
4120
4120
|
width: "20"
|
|
4121
|
-
}, null, 8,
|
|
4121
|
+
}, null, 8, Ll)
|
|
4122
4122
|
]),
|
|
4123
|
-
|
|
4124
|
-
|
|
4123
|
+
L("g", Rl, [
|
|
4124
|
+
L("path", {
|
|
4125
4125
|
d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
|
|
4126
4126
|
fill: e.color
|
|
4127
4127
|
}, null, 8, Kl)
|
|
@@ -4206,7 +4206,7 @@ ${l.value}
|
|
|
4206
4206
|
};
|
|
4207
4207
|
return (R, F) => {
|
|
4208
4208
|
const E = U("KInput"), v = U("KButton"), A = U("KSelect");
|
|
4209
|
-
return e.config.isExactMatch ? (g(),
|
|
4209
|
+
return e.config.isExactMatch ? (g(), B(E, {
|
|
4210
4210
|
key: 0,
|
|
4211
4211
|
autocomplete: "off",
|
|
4212
4212
|
class: "kong-ui-entity-filter-input",
|
|
@@ -4241,13 +4241,13 @@ ${l.value}
|
|
|
4241
4241
|
]),
|
|
4242
4242
|
_: 1
|
|
4243
4243
|
}),
|
|
4244
|
-
we(
|
|
4244
|
+
we(L("div", {
|
|
4245
4245
|
class: "kong-ui-entity-filter-backdrop",
|
|
4246
4246
|
onClick: c
|
|
4247
4247
|
}, null, 512), [
|
|
4248
4248
|
[_e, o.value]
|
|
4249
4249
|
]),
|
|
4250
|
-
we(
|
|
4250
|
+
we(L("div", Ml, [
|
|
4251
4251
|
(g(!0), S(pe, null, de(d.value, (p) => {
|
|
4252
4252
|
var K, H;
|
|
4253
4253
|
return g(), S("div", {
|
|
@@ -4255,7 +4255,7 @@ ${l.value}
|
|
|
4255
4255
|
class: "kong-ui-entity-filter-menu-item",
|
|
4256
4256
|
"data-testid": p.value
|
|
4257
4257
|
}, [
|
|
4258
|
-
|
|
4258
|
+
L("span", {
|
|
4259
4259
|
class: fe(["menu-item-title", { expanded: l.value.has(p.value) }]),
|
|
4260
4260
|
role: "button",
|
|
4261
4261
|
tabindex: "0",
|
|
@@ -4263,7 +4263,7 @@ ${l.value}
|
|
|
4263
4263
|
onKeydown: oi((V) => u(p.value), ["enter"])
|
|
4264
4264
|
}, [
|
|
4265
4265
|
q(I(p.label) + " ", 1),
|
|
4266
|
-
we(
|
|
4266
|
+
we(L("span", jl, null, 512), [
|
|
4267
4267
|
[_e, s.value.includes(p.value)]
|
|
4268
4268
|
]),
|
|
4269
4269
|
N(C(wi), {
|
|
@@ -4271,12 +4271,12 @@ ${l.value}
|
|
|
4271
4271
|
color: C(vr)
|
|
4272
4272
|
}, null, 8, ["class", "color"])
|
|
4273
4273
|
], 42, Dl),
|
|
4274
|
-
we(
|
|
4275
|
-
|
|
4274
|
+
we(L("div", Ul, [
|
|
4275
|
+
L("label", {
|
|
4276
4276
|
class: "menu-item-label",
|
|
4277
4277
|
for: h(p.value)
|
|
4278
4278
|
}, I(C(n)("filter.fieldLabel")), 9, ql),
|
|
4279
|
-
((H = (K = e.config.schema) == null ? void 0 : K[p.value]) == null ? void 0 : H.type) === "select" ? (g(),
|
|
4279
|
+
((H = (K = e.config.schema) == null ? void 0 : K[p.value]) == null ? void 0 : H.type) === "select" ? (g(), B(A, {
|
|
4280
4280
|
key: 0,
|
|
4281
4281
|
id: h(p.value),
|
|
4282
4282
|
modelValue: a.value[p.value],
|
|
@@ -4285,7 +4285,7 @@ ${l.value}
|
|
|
4285
4285
|
"filter-function": (V) => J(p.value, V),
|
|
4286
4286
|
items: b(p.value),
|
|
4287
4287
|
placeholder: C(n)("filter.selectPlaceholder")
|
|
4288
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(),
|
|
4288
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), B(E, {
|
|
4289
4289
|
key: 1,
|
|
4290
4290
|
id: h(p.value),
|
|
4291
4291
|
modelValue: a.value[p.value],
|
|
@@ -4297,7 +4297,7 @@ ${l.value}
|
|
|
4297
4297
|
], 512), [
|
|
4298
4298
|
[_e, l.value.has(p.value)]
|
|
4299
4299
|
]),
|
|
4300
|
-
we(
|
|
4300
|
+
we(L("div", Hl, [
|
|
4301
4301
|
N(v, {
|
|
4302
4302
|
appearance: "tertiary",
|
|
4303
4303
|
"data-testid": "apply-filter",
|
|
@@ -4325,7 +4325,7 @@ ${l.value}
|
|
|
4325
4325
|
])
|
|
4326
4326
|
], 8, Pl);
|
|
4327
4327
|
}), 128)),
|
|
4328
|
-
|
|
4328
|
+
L("div", Yl, [
|
|
4329
4329
|
N(v, {
|
|
4330
4330
|
appearance: "tertiary",
|
|
4331
4331
|
size: "small",
|
|
@@ -4393,7 +4393,7 @@ ${l.value}
|
|
|
4393
4393
|
};
|
|
4394
4394
|
return (u, m) => {
|
|
4395
4395
|
const f = U("KPrompt");
|
|
4396
|
-
return g(),
|
|
4396
|
+
return g(), B(zt, { to: "body" }, [
|
|
4397
4397
|
N(f, {
|
|
4398
4398
|
"action-button-disabled": a.value,
|
|
4399
4399
|
"action-button-text": s.value,
|
|
@@ -4412,7 +4412,7 @@ ${l.value}
|
|
|
4412
4412
|
q(I(e.entityType), 1)
|
|
4413
4413
|
]),
|
|
4414
4414
|
entityName: x(() => [
|
|
4415
|
-
|
|
4415
|
+
L("strong", null, I(e.entityName), 1)
|
|
4416
4416
|
]),
|
|
4417
4417
|
_: 1
|
|
4418
4418
|
}, 8, ["keypath"])
|
|
@@ -4520,12 +4520,12 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4520
4520
|
class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
|
|
4521
4521
|
role: "group"
|
|
4522
4522
|
}, [
|
|
4523
|
-
|
|
4523
|
+
L("div", Xl, [
|
|
4524
4524
|
e.hideInfoHeader ? D("", !0) : (g(), S("div", {
|
|
4525
4525
|
key: 0,
|
|
4526
4526
|
class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
4527
4527
|
}, [
|
|
4528
|
-
e.title ? (g(),
|
|
4528
|
+
e.title ? (g(), B(qe(e.titleTag), {
|
|
4529
4529
|
key: 0,
|
|
4530
4530
|
id: C(n),
|
|
4531
4531
|
class: "form-section-title"
|
|
@@ -4537,14 +4537,14 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4537
4537
|
}, 8, ["id"])) : D("", !0),
|
|
4538
4538
|
e.description || C(t).description ? (g(), S("div", es, [
|
|
4539
4539
|
j(i.$slots, "description", {}, () => [
|
|
4540
|
-
|
|
4540
|
+
L("p", null, I(e.description), 1)
|
|
4541
4541
|
], !0)
|
|
4542
4542
|
])) : D("", !0),
|
|
4543
4543
|
C(t).footer ? (g(), S("div", ts, [
|
|
4544
4544
|
j(i.$slots, "footer", {}, void 0, !0)
|
|
4545
4545
|
])) : D("", !0)
|
|
4546
4546
|
], 2)),
|
|
4547
|
-
|
|
4547
|
+
L("div", ns, [
|
|
4548
4548
|
j(i.$slots, "default", {}, void 0, !0)
|
|
4549
4549
|
])
|
|
4550
4550
|
])
|
|
@@ -4583,14 +4583,14 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4583
4583
|
stepped: e.step !== void 0 || t.step
|
|
4584
4584
|
}])
|
|
4585
4585
|
}, [
|
|
4586
|
-
|
|
4586
|
+
L("header", rs, [
|
|
4587
4587
|
e.step !== void 0 || t.step ? (g(), S("div", as, [
|
|
4588
4588
|
j(n.$slots, "step", {}, () => [
|
|
4589
4589
|
q(I(e.step), 1)
|
|
4590
4590
|
], !0)
|
|
4591
4591
|
])) : D("", !0),
|
|
4592
|
-
|
|
4593
|
-
|
|
4592
|
+
L("div", os, [
|
|
4593
|
+
L("h2", ls, [
|
|
4594
4594
|
j(n.$slots, "title", {}, () => [
|
|
4595
4595
|
q(I(e.title), 1)
|
|
4596
4596
|
], !0)
|
|
@@ -4605,7 +4605,7 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4605
4605
|
j(n.$slots, "extra", {}, void 0, !0)
|
|
4606
4606
|
])) : D("", !0)
|
|
4607
4607
|
]),
|
|
4608
|
-
|
|
4608
|
+
L("div", us, [
|
|
4609
4609
|
j(n.$slots, "default", {}, void 0, !0)
|
|
4610
4610
|
])
|
|
4611
4611
|
], 2));
|
|
@@ -4654,7 +4654,7 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4654
4654
|
return (u, m) => {
|
|
4655
4655
|
const f = U("KTooltip"), h = U("KExternalLink"), b = U("KClipboardProvider");
|
|
4656
4656
|
return g(), S("div", fs, [
|
|
4657
|
-
l.value ? (g(), S("div", ps, I(d.value), 1)) : s.value ? s.value ? (g(),
|
|
4657
|
+
l.value ? (g(), S("div", ps, I(d.value), 1)) : s.value ? s.value ? (g(), B(h, {
|
|
4658
4658
|
key: 2,
|
|
4659
4659
|
class: "entity-link",
|
|
4660
4660
|
"hide-icon": !e.newWindow,
|
|
@@ -4666,7 +4666,7 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4666
4666
|
text: C(i) && e.entityLinkData.label || ""
|
|
4667
4667
|
}, {
|
|
4668
4668
|
default: x(() => [
|
|
4669
|
-
|
|
4669
|
+
L("span", {
|
|
4670
4670
|
ref_key: "textContent",
|
|
4671
4671
|
ref: n,
|
|
4672
4672
|
class: "entity-link-label"
|
|
@@ -4677,7 +4677,7 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4677
4677
|
]),
|
|
4678
4678
|
_: 1
|
|
4679
4679
|
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (g(), S("div", ms, I(" – "))),
|
|
4680
|
-
s.value && e.allowCopy ? (g(),
|
|
4680
|
+
s.value && e.allowCopy ? (g(), B(f, {
|
|
4681
4681
|
key: a.value,
|
|
4682
4682
|
class: "copy-uuid-tooltip",
|
|
4683
4683
|
"max-width": "160",
|
|
@@ -4687,7 +4687,7 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4687
4687
|
default: x(() => [
|
|
4688
4688
|
N(b, null, {
|
|
4689
4689
|
default: x(({ copyToClipboard: y }) => [
|
|
4690
|
-
|
|
4690
|
+
L("span", {
|
|
4691
4691
|
class: "entity-link-copy-id",
|
|
4692
4692
|
onClick: Ne(($) => c(y), ["stop"])
|
|
4693
4693
|
}, [
|
|
@@ -4782,12 +4782,12 @@ const Zl = ["aria-labelledby"], Xl = { class: "form-section-wrapper" }, es = {
|
|
|
4782
4782
|
Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) => {
|
|
4783
4783
|
const s = U("KCard");
|
|
4784
4784
|
return g(), S("div", ys, [
|
|
4785
|
-
|
|
4785
|
+
L("div", vs, [
|
|
4786
4786
|
a.$slots.image ? (g(), S("div", bs, [
|
|
4787
4787
|
j(a.$slots, "image", {}, void 0, !0)
|
|
4788
4788
|
])) : D("", !0),
|
|
4789
4789
|
e.title || a.$slots.title ? (g(), S("div", ks, [
|
|
4790
|
-
|
|
4790
|
+
L("h1", {
|
|
4791
4791
|
class: fe(o.value)
|
|
4792
4792
|
}, [
|
|
4793
4793
|
j(a.$slots, "title", {}, () => [
|
|
@@ -4797,12 +4797,12 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4797
4797
|
])) : D("", !0),
|
|
4798
4798
|
e.description || a.$slots.default ? (g(), S("div", Cs, [
|
|
4799
4799
|
j(a.$slots, "default", {}, () => [
|
|
4800
|
-
|
|
4800
|
+
L("p", null, I(e.description), 1)
|
|
4801
4801
|
], !0)
|
|
4802
4802
|
])) : D("", !0),
|
|
4803
4803
|
e.pricing || a.$slots.pricing ? (g(), S("div", xs, [
|
|
4804
|
-
|
|
4805
|
-
|
|
4804
|
+
L("p", null, [
|
|
4805
|
+
L("b", null, I(C(n)("emptyState.pricingTitle")), 1),
|
|
4806
4806
|
l[2] || (l[2] = q()),
|
|
4807
4807
|
j(a.$slots, "pricing", {}, () => [
|
|
4808
4808
|
q(I(e.pricing), 1)
|
|
@@ -4815,7 +4815,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4815
4815
|
])) : D("", !0),
|
|
4816
4816
|
r.value || e.learnMore || a.$slots.actions ? (g(), S("div", ws, [
|
|
4817
4817
|
j(a.$slots, "actions", {}, () => [
|
|
4818
|
-
r.value ? (g(),
|
|
4818
|
+
r.value ? (g(), B(C(bt), {
|
|
4819
4819
|
key: 0,
|
|
4820
4820
|
appearance: "primary",
|
|
4821
4821
|
"data-testid": "entity-create-button",
|
|
@@ -4828,7 +4828,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4828
4828
|
]),
|
|
4829
4829
|
_: 1
|
|
4830
4830
|
}, 8, ["size"])) : D("", !0),
|
|
4831
|
-
e.learnMore ? (g(),
|
|
4831
|
+
e.learnMore ? (g(), B(C(bt), {
|
|
4832
4832
|
key: 1,
|
|
4833
4833
|
appearance: "secondary",
|
|
4834
4834
|
"data-testid": "entity-learn-more-button",
|
|
@@ -4844,7 +4844,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4844
4844
|
], !0)
|
|
4845
4845
|
])) : D("", !0),
|
|
4846
4846
|
e.features.length ? (g(), S("div", _s, [
|
|
4847
|
-
(g(!0), S(pe, null, de(e.features, (d, c) => (g(),
|
|
4847
|
+
(g(!0), S(pe, null, de(e.features, (d, c) => (g(), B(s, {
|
|
4848
4848
|
key: `feature-${c}-card`,
|
|
4849
4849
|
class: "entity-empty-state-card"
|
|
4850
4850
|
}, {
|
|
@@ -4852,10 +4852,10 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4852
4852
|
a.$slots[`feature-${c}-icon`] ? (g(), S("div", Ss, [
|
|
4853
4853
|
j(a.$slots, `feature-${c}-icon`, {}, void 0, !0)
|
|
4854
4854
|
])) : D("", !0),
|
|
4855
|
-
|
|
4855
|
+
L("div", $s, I(d.title), 1)
|
|
4856
4856
|
]),
|
|
4857
4857
|
default: x(() => [
|
|
4858
|
-
|
|
4858
|
+
L("div", {
|
|
4859
4859
|
title: d.description
|
|
4860
4860
|
}, I(d.description), 9, Ts)
|
|
4861
4861
|
]),
|
|
@@ -4896,9 +4896,9 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
|
|
|
4896
4896
|
});
|
|
4897
4897
|
return (i, r) => {
|
|
4898
4898
|
var o;
|
|
4899
|
-
return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(),
|
|
4899
|
+
return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), B(C(fi), { key: 0 }, {
|
|
4900
4900
|
default: x(() => [
|
|
4901
|
-
(g(!0), S(pe, null, de(n.value, (a) => (g(),
|
|
4901
|
+
(g(!0), S(pe, null, de(n.value, (a) => (g(), B(C(pi), {
|
|
4902
4902
|
key: a,
|
|
4903
4903
|
"max-width": e.tagMaxWidth,
|
|
4904
4904
|
onClick: r[0] || (r[0] = Ne(() => {
|