@kong-ui-public/entities-shared 2.10.1 → 2.10.2-pr.1209.35538b2b.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 +521 -417
- package/dist/entities-shared.umd.js +18 -18
- package/dist/style.css +1 -1
- package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +1 -1
- package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { inject as In, ref as R, unref as T, computed as A, watch as Ce, defineComponent as
|
|
1
|
+
import { inject as In, ref as R, unref as T, computed as A, watch as Ce, defineComponent as Y, openBlock as h, createBlock as M, resolveDynamicComponent as _e, normalizeClass as ve, withCtx as x, createElementBlock as w, createElementVNode as L, toDisplayString as O, createCommentVNode as U, Fragment as oe, renderList as ie, resolveComponent as $, createVNode as N, createTextVNode as z, useCssVars as Tt, useSlots as Ge, renderSlot as V, createSlots as be, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Be, pushScopeId as Re, popScopeId as Me, onBeforeMount as Ft, withModifiers as He, onMounted as On, onUnmounted as $n, withDirectives as ke, vShow as Ae, Teleport as Ln } from "vue";
|
|
2
2
|
import ot from "axios";
|
|
3
3
|
import { createI18n as Nn, i18nTComponent as Bn } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as Rn } from "@kong/kongponents";
|
|
5
5
|
import { useRouter as Mn } from "vue-router";
|
|
6
|
-
var Kn = /* @__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))(Kn || {}), Dn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Dn || {}),
|
|
6
|
+
var Kn = /* @__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))(Kn || {}), Dn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Dn || {}), he = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(he || {}), H = /* @__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.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(H || {}), ne = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ne || {});
|
|
7
7
|
function jn() {
|
|
8
8
|
return {
|
|
9
9
|
getAxiosInstance: (e = {}) => {
|
|
@@ -40,7 +40,7 @@ function Un() {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const je = "khcp-user-table-preferences", Pn = {
|
|
44
44
|
pageSize: 30,
|
|
45
45
|
sortColumnKey: void 0,
|
|
46
46
|
sortColumnOrder: void 0
|
|
@@ -55,14 +55,14 @@ function qn() {
|
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
}, t = () => {
|
|
58
|
-
const n = e(localStorage.getItem(
|
|
58
|
+
const n = e(localStorage.getItem(je));
|
|
59
59
|
return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
|
|
60
60
|
};
|
|
61
61
|
return {
|
|
62
62
|
setTablePreferences: (n, r) => {
|
|
63
63
|
try {
|
|
64
64
|
const i = t();
|
|
65
|
-
i.set(n, r), localStorage.setItem(
|
|
65
|
+
i.set(n, r), localStorage.setItem(je, JSON.stringify(Object.fromEntries(i.entries())));
|
|
66
66
|
} catch (i) {
|
|
67
67
|
console.error("useTablePreferences(setTablePreferences)", i);
|
|
68
68
|
}
|
|
@@ -72,11 +72,11 @@ function qn() {
|
|
|
72
72
|
return (r == null ? void 0 : r.get(n)) || void 0 || Pn;
|
|
73
73
|
},
|
|
74
74
|
deleteAllTablePreferences: () => {
|
|
75
|
-
localStorage.removeItem(
|
|
75
|
+
localStorage.removeItem(je);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Ze(e = {}) {
|
|
80
80
|
const { getAxiosInstance: t } = jn();
|
|
81
81
|
return {
|
|
82
82
|
axiosInstance: t(e)
|
|
@@ -89,10 +89,10 @@ const Hn = {
|
|
|
89
89
|
copyToClipboard: "Copied successfully!",
|
|
90
90
|
copyToClipboardFailed: "Failed to copy to the clipboard"
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, Vn = {
|
|
93
93
|
message: "Are you sure you want to delete this {entityType}?",
|
|
94
94
|
messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
|
|
95
|
-
},
|
|
95
|
+
}, Yn = {
|
|
96
96
|
actions: {
|
|
97
97
|
viewConfiguration: "View Configuration",
|
|
98
98
|
save: "Save",
|
|
@@ -178,8 +178,8 @@ const Hn = {
|
|
|
178
178
|
}
|
|
179
179
|
}, Xn = {
|
|
180
180
|
global: Hn,
|
|
181
|
-
deleteModal:
|
|
182
|
-
baseForm:
|
|
181
|
+
deleteModal: Vn,
|
|
182
|
+
baseForm: Yn,
|
|
183
183
|
baseTable: zn,
|
|
184
184
|
baseConfigCard: Wn,
|
|
185
185
|
filter: Jn,
|
|
@@ -187,7 +187,7 @@ const Hn = {
|
|
|
187
187
|
errors: Zn,
|
|
188
188
|
toggleModal: Qn
|
|
189
189
|
};
|
|
190
|
-
function
|
|
190
|
+
function Qe() {
|
|
191
191
|
const e = Nn("en-us", Xn);
|
|
192
192
|
return {
|
|
193
193
|
i18n: e,
|
|
@@ -244,9 +244,9 @@ function er(e, t, n, r = {
|
|
|
244
244
|
searchKeys: ["id"]
|
|
245
245
|
}) {
|
|
246
246
|
n || (n = "100");
|
|
247
|
-
const { axiosInstance: i } =
|
|
247
|
+
const { axiosInstance: i } = Ze({
|
|
248
248
|
headers: e.requestHeaders
|
|
249
|
-
}), { i18n: { t: a } } =
|
|
249
|
+
}), { i18n: { t: a } } = Qe(), { debounce: o } = Un(), l = o(async (g) => {
|
|
250
250
|
await D(g);
|
|
251
251
|
}, 200), s = R(!1), c = R(""), d = R(""), u = R([]), p = R([]), f = R(void 0), C = T(t);
|
|
252
252
|
let m = `${e.apiBaseUrl}${C}`;
|
|
@@ -269,8 +269,8 @@ function er(e, t, n, r = {
|
|
|
269
269
|
if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
|
|
270
270
|
let F = m + "";
|
|
271
271
|
g && (F += `/${g}`);
|
|
272
|
-
const { data:
|
|
273
|
-
r.fetchedItemsKey in
|
|
272
|
+
const { data: S } = await i.get(`${F}?size=${n}`);
|
|
273
|
+
r.fetchedItemsKey in S ? u.value = S[r.fetchedItemsKey] : S != null && S.id ? u.value = [S] : u.value = [];
|
|
274
274
|
} else if (g) {
|
|
275
275
|
const F = [];
|
|
276
276
|
k(g) && r.searchKeys.includes("id") ? F.push((async () => {
|
|
@@ -282,8 +282,8 @@ function er(e, t, n, r = {
|
|
|
282
282
|
return E[r.fetchedItemsKey];
|
|
283
283
|
})
|
|
284
284
|
);
|
|
285
|
-
const
|
|
286
|
-
u.value = [], (y =
|
|
285
|
+
const S = await Promise.all(F), P = /* @__PURE__ */ new Set();
|
|
286
|
+
u.value = [], (y = S == null ? void 0 : S.forEach) == null || y.call(S, (I) => {
|
|
287
287
|
var E;
|
|
288
288
|
(E = I == null ? void 0 : I.forEach) == null || E.call(I, (K) => {
|
|
289
289
|
P.has(K.id) || (P.add(K.id), u.value.push(K));
|
|
@@ -299,12 +299,12 @@ function er(e, t, n, r = {
|
|
|
299
299
|
else
|
|
300
300
|
s.value = !0, d.value = "", g ? (u.value = (j = f.value) == null ? void 0 : j.filter((F) => {
|
|
301
301
|
var P;
|
|
302
|
-
let
|
|
302
|
+
let S = !1;
|
|
303
303
|
for (const I of r.searchKeys) {
|
|
304
304
|
const E = typeof F[I] == "string" ? (P = F[I]) == null ? void 0 : P.toLowerCase() : F[I];
|
|
305
|
-
E != null && E.includes(g.toLowerCase()) && (
|
|
305
|
+
E != null && E.includes(g.toLowerCase()) && (S = !0);
|
|
306
306
|
}
|
|
307
|
-
return
|
|
307
|
+
return S;
|
|
308
308
|
}), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = f.value, s.value = !1;
|
|
309
309
|
};
|
|
310
310
|
return {
|
|
@@ -324,7 +324,7 @@ function tr(e, t) {
|
|
|
324
324
|
return r.value.search = "", (i) => `${r.value.href}/${i}`;
|
|
325
325
|
}
|
|
326
326
|
function nr() {
|
|
327
|
-
const { i18n: { t: e } } =
|
|
327
|
+
const { i18n: { t: e } } = Qe();
|
|
328
328
|
return {
|
|
329
329
|
getMessageFromError: (n) => {
|
|
330
330
|
var r, i, a, o;
|
|
@@ -383,14 +383,14 @@ function $t(e, t) {
|
|
|
383
383
|
};
|
|
384
384
|
}
|
|
385
385
|
function ir(e, t, n = "data") {
|
|
386
|
-
const r = T(t), { axiosInstance: i } =
|
|
386
|
+
const r = T(t), { axiosInstance: i } = Ze({
|
|
387
387
|
headers: e.requestHeaders
|
|
388
388
|
}), a = $t(e, r), o = R({
|
|
389
|
-
status:
|
|
389
|
+
status: he.Idle
|
|
390
390
|
});
|
|
391
391
|
return { fetcher: async (s) => {
|
|
392
392
|
try {
|
|
393
|
-
o.value = { status:
|
|
393
|
+
o.value = { status: he.Loading };
|
|
394
394
|
let c = a(s);
|
|
395
395
|
c.includes("filter[name]") && (c = `${c}&page[size]=${s.pageSize}&page[number]=${s.page}`);
|
|
396
396
|
const { data: d } = await i.get(c), u = n && n.replace(/[^\w-_]/gi, "");
|
|
@@ -406,7 +406,7 @@ function ir(e, t, n = "data") {
|
|
|
406
406
|
} : null
|
|
407
407
|
};
|
|
408
408
|
return o.value = {
|
|
409
|
-
status:
|
|
409
|
+
status: he.Idle,
|
|
410
410
|
response: f
|
|
411
411
|
}, f;
|
|
412
412
|
} catch (c) {
|
|
@@ -415,11 +415,11 @@ function ir(e, t, n = "data") {
|
|
|
415
415
|
total: 0
|
|
416
416
|
};
|
|
417
417
|
return s.query && c.response.status === 404 ? (o.value = {
|
|
418
|
-
status:
|
|
418
|
+
status: he.NoResults,
|
|
419
419
|
response: d,
|
|
420
420
|
error: c
|
|
421
421
|
}, d) : (o.value = {
|
|
422
|
-
status:
|
|
422
|
+
status: he.Error,
|
|
423
423
|
response: d,
|
|
424
424
|
error: c
|
|
425
425
|
}, d);
|
|
@@ -496,8 +496,8 @@ function fr(e) {
|
|
|
496
496
|
isTruncated: A(() => t.value < n.value)
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
|
-
const
|
|
500
|
-
useAxios:
|
|
499
|
+
const W = {
|
|
500
|
+
useAxios: Ze,
|
|
501
501
|
useDebouncedFilter: er,
|
|
502
502
|
useDeleteUrlBuilder: tr,
|
|
503
503
|
useErrors: nr,
|
|
@@ -506,13 +506,13 @@ const z = {
|
|
|
506
506
|
useFetchUrlBuilder: $t,
|
|
507
507
|
useHelpers: Ot,
|
|
508
508
|
useStringHelpers: ar,
|
|
509
|
-
useI18n:
|
|
509
|
+
useI18n: Qe,
|
|
510
510
|
useGatewayFeatureSupported: dr,
|
|
511
511
|
useTruncationDetector: fr
|
|
512
512
|
}, pr = {
|
|
513
513
|
key: 0,
|
|
514
514
|
class: "config-card-fieldset-title"
|
|
515
|
-
}, hr = /* @__PURE__ */
|
|
515
|
+
}, hr = /* @__PURE__ */ Y({
|
|
516
516
|
__name: "JsonCardItem",
|
|
517
517
|
props: {
|
|
518
518
|
item: {
|
|
@@ -529,21 +529,21 @@ const z = {
|
|
|
529
529
|
}
|
|
530
530
|
},
|
|
531
531
|
setup(e) {
|
|
532
|
-
const t = e, { i18n: { t: n } } =
|
|
532
|
+
const t = e, { i18n: { t: n } } = W.useI18n(), { convertKeyToTitle: r } = W.useStringHelpers(), i = A(() => t.item.key ?? "json-array-item"), a = A(() => t.item.value ?? t.item), o = A(() => {
|
|
533
533
|
const s = JSON.parse(JSON.stringify(a.value));
|
|
534
534
|
return t.isArrayItem && delete s.name, s;
|
|
535
535
|
}), l = A(() => {
|
|
536
536
|
var s;
|
|
537
537
|
return t.isArrayItem ? (s = a.value) != null && s.name ? r(a.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
|
|
538
538
|
});
|
|
539
|
-
return (s, c) => (h(), M(
|
|
540
|
-
class:
|
|
539
|
+
return (s, c) => (h(), M(_e(e.isArrayItem ? "fieldset" : "div"), {
|
|
540
|
+
class: ve(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
541
541
|
}, {
|
|
542
542
|
default: x(() => [
|
|
543
|
-
e.isArrayItem ? (h(),
|
|
543
|
+
e.isArrayItem ? (h(), w("legend", pr, [
|
|
544
544
|
L("b", null, O(l.value), 1)
|
|
545
545
|
])) : U("", !0),
|
|
546
|
-
(h(!0),
|
|
546
|
+
(h(!0), w(oe, null, ie(Object.keys(o.value), (d, u) => (h(), M(Rt, {
|
|
547
547
|
key: `${i.value}-property-${u}`,
|
|
548
548
|
item: {
|
|
549
549
|
key: d,
|
|
@@ -560,7 +560,7 @@ const z = {
|
|
|
560
560
|
for (const [r, i] of t)
|
|
561
561
|
n[r] = i;
|
|
562
562
|
return n;
|
|
563
|
-
}, Bt = /* @__PURE__ */ re(hr, [["__scopeId", "data-v-68ca83ec"]]), mr = /* @__PURE__ */
|
|
563
|
+
}, Bt = /* @__PURE__ */ re(hr, [["__scopeId", "data-v-68ca83ec"]]), mr = /* @__PURE__ */ Y({
|
|
564
564
|
__name: "InternalLinkItem",
|
|
565
565
|
props: {
|
|
566
566
|
item: {
|
|
@@ -570,24 +570,24 @@ const z = {
|
|
|
570
570
|
},
|
|
571
571
|
emits: ["navigation-click"],
|
|
572
572
|
setup(e) {
|
|
573
|
-
const { i18n: { t } } =
|
|
573
|
+
const { i18n: { t } } = W.useI18n();
|
|
574
574
|
return (n, r) => {
|
|
575
575
|
const i = $("KButton");
|
|
576
|
-
return h(),
|
|
576
|
+
return h(), w("div", null, [
|
|
577
577
|
N(i, {
|
|
578
578
|
appearance: "tertiary",
|
|
579
579
|
class: "navigation-button",
|
|
580
580
|
onClick: r[0] || (r[0] = (a) => n.$emit("navigation-click", e.item))
|
|
581
581
|
}, {
|
|
582
582
|
default: x(() => [
|
|
583
|
-
|
|
583
|
+
z(O(e.item.value || T(t)("baseConfigCard.commonFields.link")), 1)
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
})
|
|
587
587
|
]);
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
}), gr = /* @__PURE__ */ re(mr, [["__scopeId", "data-v-c96811e5"]]), yr = /* @__PURE__ */
|
|
590
|
+
}), gr = /* @__PURE__ */ re(mr, [["__scopeId", "data-v-c96811e5"]]), yr = /* @__PURE__ */ Y({
|
|
591
591
|
__name: "StatusBadge",
|
|
592
592
|
props: {
|
|
593
593
|
status: {
|
|
@@ -596,14 +596,14 @@ const z = {
|
|
|
596
596
|
}
|
|
597
597
|
},
|
|
598
598
|
setup(e) {
|
|
599
|
-
const { i18n: { t } } =
|
|
599
|
+
const { i18n: { t } } = W.useI18n();
|
|
600
600
|
return (n, r) => {
|
|
601
601
|
const i = $("KBadge");
|
|
602
602
|
return h(), M(i, {
|
|
603
603
|
appearance: e.status ? "success" : "neutral"
|
|
604
604
|
}, {
|
|
605
605
|
default: x(() => [
|
|
606
|
-
|
|
606
|
+
z(O(e.status ? T(t)("baseConfigCard.statusBadge.enabledLabel") : T(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
609
609
|
}, 8, ["appearance"]);
|
|
@@ -612,7 +612,7 @@ const z = {
|
|
|
612
612
|
}), vr = "#0044f4", br = "#e0e4ea", xr = "#3a3f51", Cr = "#0044f4", _r = "1px", kr = "16px", Ar = "20px", wr = { class: "config-card-details-row" }, Sr = ["data-testid"], Ir = ["data-testid"], Er = ["data-testid"], Tr = ["data-testid"], Fr = { key: 1 }, Or = ["data-testid"], $r = ["data-testid"], Lr = ["data-testid"], Nr = ["data-testid"], Br = {
|
|
613
613
|
name: "ConfigCardItem",
|
|
614
614
|
components: { JsonCardItem: Bt, StatusBadge: yr, InternalLinkItem: gr }
|
|
615
|
-
}, Rr = /* @__PURE__ */
|
|
615
|
+
}, Rr = /* @__PURE__ */ Y({
|
|
616
616
|
...Br,
|
|
617
617
|
props: {
|
|
618
618
|
item: {
|
|
@@ -638,7 +638,7 @@ const z = {
|
|
|
638
638
|
"5036b738": c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
|
|
639
639
|
"5038fd13": c.value && l.value ? "100%" : n.slim ? "50%" : "75%"
|
|
640
640
|
}));
|
|
641
|
-
const n = e, r = t, i =
|
|
641
|
+
const n = e, r = t, i = Ge(), { i18n: { t: a, formatUnixTimeStamp: o } } = W.useI18n(), l = A(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = A(() => !!(n.item.tooltip || i["label-tooltip"])), c = A(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = A(() => n.item.type === H.JsonArray), u = A(() => {
|
|
642
642
|
switch (n.item.type) {
|
|
643
643
|
case H.ID:
|
|
644
644
|
return {
|
|
@@ -748,18 +748,18 @@ const z = {
|
|
|
748
748
|
text: n.item.value
|
|
749
749
|
};
|
|
750
750
|
}
|
|
751
|
-
}), p = R(), { isTruncated: f } =
|
|
751
|
+
}), p = R(), { isTruncated: f } = W.useTruncationDetector(p);
|
|
752
752
|
return (C, m) => {
|
|
753
753
|
const k = $("KLabel"), B = $("KBadge"), b = $("KCopy"), D = $("KTooltip");
|
|
754
|
-
return h(),
|
|
754
|
+
return h(), w("div", wr, [
|
|
755
755
|
L("div", {
|
|
756
756
|
class: "config-card-details-label",
|
|
757
757
|
"data-testid": `${e.item.key}-label`
|
|
758
758
|
}, [
|
|
759
|
-
|
|
760
|
-
N(k, { "tooltip-attributes": { maxWidth: "500px" } },
|
|
759
|
+
V(C.$slots, "label", { item: e.item }, () => [
|
|
760
|
+
N(k, { "tooltip-attributes": { maxWidth: "500px" } }, be({
|
|
761
761
|
default: x(() => [
|
|
762
|
-
|
|
762
|
+
z(O(e.item.label) + " ", 1)
|
|
763
763
|
]),
|
|
764
764
|
_: 2
|
|
765
765
|
}, [
|
|
@@ -769,8 +769,8 @@ const z = {
|
|
|
769
769
|
L("div", {
|
|
770
770
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
771
771
|
}, [
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
V(C.$slots, "label-tooltip", {}, () => [
|
|
773
|
+
z(O(e.item.tooltip), 1)
|
|
774
774
|
], !0)
|
|
775
775
|
], 8, Ir)
|
|
776
776
|
]),
|
|
@@ -783,17 +783,17 @@ const z = {
|
|
|
783
783
|
class: "config-card-details-value",
|
|
784
784
|
"data-testid": `${e.item.key}-property-value`
|
|
785
785
|
}, [
|
|
786
|
-
|
|
786
|
+
V(C.$slots, e.item.key, {
|
|
787
787
|
rowValue: e.item.value
|
|
788
788
|
}, () => [
|
|
789
|
-
l.value ? (h(),
|
|
790
|
-
(h(), M(
|
|
789
|
+
l.value ? (h(), w("div", Fr, [
|
|
790
|
+
(h(), M(_e(u.value.tag), En(Tn(u.value.attrs)), {
|
|
791
791
|
default: x(() => [
|
|
792
|
-
u.value.additionalComponent === "KBadge" ? (h(),
|
|
792
|
+
u.value.additionalComponent === "KBadge" ? (h(), w("div", {
|
|
793
793
|
key: 0,
|
|
794
794
|
"data-testid": `${e.item.key}-badge-tags`
|
|
795
795
|
}, [
|
|
796
|
-
(h(!0),
|
|
796
|
+
(h(!0), w(oe, null, ie(e.item.value, (g, y) => (h(), M(B, {
|
|
797
797
|
key: `${e.item.key}-badge-tag-${y}`,
|
|
798
798
|
class: "config-badge",
|
|
799
799
|
"data-testid": `${e.item.key}-badge-tag-${y}`,
|
|
@@ -801,43 +801,43 @@ const z = {
|
|
|
801
801
|
"truncation-tooltip": ""
|
|
802
802
|
}, {
|
|
803
803
|
default: x(() => [
|
|
804
|
-
|
|
804
|
+
z(O(g), 1)
|
|
805
805
|
]),
|
|
806
806
|
_: 2
|
|
807
807
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
808
808
|
], 8, Or)) : U("", !0),
|
|
809
|
-
u.value.additionalComponent === "KCopy" ? (h(),
|
|
809
|
+
u.value.additionalComponent === "KCopy" ? (h(), w("div", {
|
|
810
810
|
key: 1,
|
|
811
811
|
class: "copy-uuid-array",
|
|
812
812
|
"data-testid": `${e.item.key}-copy-uuid-array`
|
|
813
813
|
}, [
|
|
814
|
-
(h(!0),
|
|
814
|
+
(h(!0), w(oe, null, ie(e.item.value, (g, y) => (h(), M(b, Fn(u.value.childAttrs, {
|
|
815
815
|
key: `${e.item.key}-copy-uuid-${y}`,
|
|
816
816
|
"data-testid": `${e.item.key}-copy-uuid-${y}`,
|
|
817
817
|
text: g
|
|
818
818
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
819
|
-
], 8, $r)) : u.value.additionalComponent === "KMethodBadge" ? (h(),
|
|
819
|
+
], 8, $r)) : u.value.additionalComponent === "KMethodBadge" ? (h(), w("div", {
|
|
820
820
|
key: 2,
|
|
821
821
|
class: "method-badge-array",
|
|
822
822
|
"data-testid": `${e.item.key}-badge-methods`
|
|
823
823
|
}, [
|
|
824
|
-
(h(!0),
|
|
824
|
+
(h(!0), w(oe, null, ie(e.item.value, (g, y) => (h(), M(B, {
|
|
825
825
|
key: `${e.item.key}-badge-method-${y}`,
|
|
826
826
|
appearance: Object.values(T(Rn)).includes(g.toLowerCase()) ? g.toLowerCase() : "custom",
|
|
827
827
|
class: "config-badge",
|
|
828
828
|
"data-testid": `${e.item.key}-badge-method-${y}`
|
|
829
829
|
}, {
|
|
830
830
|
default: x(() => [
|
|
831
|
-
|
|
831
|
+
z(O(g), 1)
|
|
832
832
|
]),
|
|
833
833
|
_: 2
|
|
834
834
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
835
835
|
], 8, Lr)) : U("", !0),
|
|
836
|
-
u.value.additionalComponent === "JsonCardItem" ? (h(),
|
|
836
|
+
u.value.additionalComponent === "JsonCardItem" ? (h(), w("div", {
|
|
837
837
|
key: 3,
|
|
838
838
|
"data-testid": `${n.item.key}-json-array-content`
|
|
839
839
|
}, [
|
|
840
|
-
(h(!0),
|
|
840
|
+
(h(!0), w(oe, null, ie(e.item.value, (g, y) => (h(), M(Bt, {
|
|
841
841
|
key: `json-array-item-${y}`,
|
|
842
842
|
index: y,
|
|
843
843
|
"is-array-item": "",
|
|
@@ -851,7 +851,7 @@ const z = {
|
|
|
851
851
|
L("span", {
|
|
852
852
|
ref_key: "textContent",
|
|
853
853
|
ref: p,
|
|
854
|
-
class:
|
|
854
|
+
class: ve(["attrs-data-text", { truncated: e.truncated }])
|
|
855
855
|
}, O(u.value.text), 3)
|
|
856
856
|
]),
|
|
857
857
|
_: 1
|
|
@@ -859,7 +859,7 @@ const z = {
|
|
|
859
859
|
]),
|
|
860
860
|
_: 1
|
|
861
861
|
}, 16))
|
|
862
|
-
])) : (h(),
|
|
862
|
+
])) : (h(), w("div", {
|
|
863
863
|
key: 0,
|
|
864
864
|
"data-testid": `${e.item.key}-no-value`
|
|
865
865
|
}, " – ", 8, Tr))
|
|
@@ -871,7 +871,7 @@ const z = {
|
|
|
871
871
|
}), Rt = /* @__PURE__ */ re(Rr, [["__scopeId", "data-v-d056663c"]]), Mr = { class: "json-config" }, Kr = {
|
|
872
872
|
key: 0,
|
|
873
873
|
class: "json-endpoint"
|
|
874
|
-
}, Mt = /* @__PURE__ */
|
|
874
|
+
}, Mt = /* @__PURE__ */ Y({
|
|
875
875
|
__name: "JsonCodeBlock",
|
|
876
876
|
props: {
|
|
877
877
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -912,13 +912,13 @@ const z = {
|
|
|
912
912
|
return (i, a) => {
|
|
913
913
|
var s;
|
|
914
914
|
const o = $("KBadge"), l = $("KCodeBlock");
|
|
915
|
-
return h(),
|
|
916
|
-
t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (h(),
|
|
915
|
+
return h(), w("div", Mr, [
|
|
916
|
+
t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (h(), w("div", Kr, [
|
|
917
917
|
N(o, {
|
|
918
918
|
appearance: t.requestMethod
|
|
919
919
|
}, {
|
|
920
920
|
default: x(() => [
|
|
921
|
-
|
|
921
|
+
z(O(t.requestMethod), 1)
|
|
922
922
|
]),
|
|
923
923
|
_: 1
|
|
924
924
|
}, 8, ["appearance"]),
|
|
@@ -933,7 +933,7 @@ const z = {
|
|
|
933
933
|
t.jsonRecord ? (h(), M(l, {
|
|
934
934
|
key: 1,
|
|
935
935
|
id: "json-codeblock",
|
|
936
|
-
class:
|
|
936
|
+
class: ve({ "json-content": t.fetcherUrl }),
|
|
937
937
|
code: JSON.stringify(n.value, null, 2),
|
|
938
938
|
language: "json",
|
|
939
939
|
theme: "dark"
|
|
@@ -968,10 +968,10 @@ function Pr(e, t) {
|
|
|
968
968
|
function qr(e) {
|
|
969
969
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
970
970
|
}
|
|
971
|
-
var Hr = Kt,
|
|
971
|
+
var Hr = Kt, Vr = Dr, Yr = jr, zr = Pr, Wr = qr, Jr = Ur, Z = {
|
|
972
972
|
isNothing: Hr,
|
|
973
|
-
isObject:
|
|
974
|
-
toArray:
|
|
973
|
+
isObject: Vr,
|
|
974
|
+
toArray: Yr,
|
|
975
975
|
repeat: zr,
|
|
976
976
|
isNegativeZero: Wr,
|
|
977
977
|
extend: Jr
|
|
@@ -982,16 +982,16 @@ function Dt(e, t) {
|
|
|
982
982
|
|
|
983
983
|
` + e.mark.snippet), r + " " + n) : r;
|
|
984
984
|
}
|
|
985
|
-
function
|
|
985
|
+
function Se(e, t) {
|
|
986
986
|
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Dt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
987
987
|
}
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
988
|
+
Se.prototype = Object.create(Error.prototype);
|
|
989
|
+
Se.prototype.constructor = Se;
|
|
990
|
+
Se.prototype.toString = function(t) {
|
|
991
991
|
return this.name + ": " + Dt(this, t);
|
|
992
992
|
};
|
|
993
|
-
var ee =
|
|
994
|
-
function
|
|
993
|
+
var ee = Se;
|
|
994
|
+
function Ue(e, t, n, r, i) {
|
|
995
995
|
var a = "", o = "", l = Math.floor(i / 2) - 1;
|
|
996
996
|
return r - t > l && (a = " ... ", t = r - l + a.length), n - r > l && (o = " ...", n = r + l - o.length), {
|
|
997
997
|
str: a + e.slice(t, n).replace(/\t/g, "→") + o,
|
|
@@ -999,7 +999,7 @@ function Me(e, t, n, r, i) {
|
|
|
999
999
|
// relative position
|
|
1000
1000
|
};
|
|
1001
1001
|
}
|
|
1002
|
-
function
|
|
1002
|
+
function Pe(e, t) {
|
|
1003
1003
|
return Z.repeat(" ", t - e.length) + e;
|
|
1004
1004
|
}
|
|
1005
1005
|
function Gr(e, t) {
|
|
@@ -1011,24 +1011,24 @@ function Gr(e, t) {
|
|
|
1011
1011
|
o < 0 && (o = r.length - 1);
|
|
1012
1012
|
var l = "", s, c, d = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + d + 3);
|
|
1013
1013
|
for (s = 1; s <= t.linesBefore && !(o - s < 0); s++)
|
|
1014
|
-
c =
|
|
1014
|
+
c = Ue(
|
|
1015
1015
|
e.buffer,
|
|
1016
1016
|
r[o - s],
|
|
1017
1017
|
i[o - s],
|
|
1018
1018
|
e.position - (r[o] - r[o - s]),
|
|
1019
1019
|
u
|
|
1020
|
-
), l = Z.repeat(" ", t.indent) +
|
|
1020
|
+
), l = Z.repeat(" ", t.indent) + Pe((e.line - s + 1).toString(), d) + " | " + c.str + `
|
|
1021
1021
|
` + l;
|
|
1022
|
-
for (c =
|
|
1022
|
+
for (c = Ue(e.buffer, r[o], i[o], e.position, u), l += Z.repeat(" ", t.indent) + Pe((e.line + 1).toString(), d) + " | " + c.str + `
|
|
1023
1023
|
`, l += Z.repeat("-", t.indent + d + 3 + c.pos) + `^
|
|
1024
1024
|
`, s = 1; s <= t.linesAfter && !(o + s >= i.length); s++)
|
|
1025
|
-
c =
|
|
1025
|
+
c = Ue(
|
|
1026
1026
|
e.buffer,
|
|
1027
1027
|
r[o + s],
|
|
1028
1028
|
i[o + s],
|
|
1029
1029
|
e.position - (r[o] - r[o + s]),
|
|
1030
1030
|
u
|
|
1031
|
-
), l += Z.repeat(" ", t.indent) +
|
|
1031
|
+
), l += Z.repeat(" ", t.indent) + Pe((e.line + s + 1).toString(), d) + " | " + c.str + `
|
|
1032
1032
|
`;
|
|
1033
1033
|
return l.replace(/\n$/, "");
|
|
1034
1034
|
}
|
|
@@ -1097,10 +1097,10 @@ function ni() {
|
|
|
1097
1097
|
arguments[t].forEach(r);
|
|
1098
1098
|
return e;
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Ve(e) {
|
|
1101
1101
|
return this.extend(e);
|
|
1102
1102
|
}
|
|
1103
|
-
|
|
1103
|
+
Ve.prototype.extend = function(t) {
|
|
1104
1104
|
var n = [], r = [];
|
|
1105
1105
|
if (t instanceof Q)
|
|
1106
1106
|
r.push(t);
|
|
@@ -1121,10 +1121,10 @@ Ue.prototype.extend = function(t) {
|
|
|
1121
1121
|
if (!(a instanceof Q))
|
|
1122
1122
|
throw new ee("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
1123
1123
|
});
|
|
1124
|
-
var i = Object.create(
|
|
1124
|
+
var i = Object.create(Ve.prototype);
|
|
1125
1125
|
return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = pt(i, "implicit"), i.compiledExplicit = pt(i, "explicit"), i.compiledTypeMap = ni(i.compiledImplicit, i.compiledExplicit), i;
|
|
1126
1126
|
};
|
|
1127
|
-
var jt =
|
|
1127
|
+
var jt = Ve, Ut = new Q("tag:yaml.org,2002:str", {
|
|
1128
1128
|
kind: "scalar",
|
|
1129
1129
|
construct: function(e) {
|
|
1130
1130
|
return e !== null ? e : "";
|
|
@@ -1158,7 +1158,7 @@ function ii() {
|
|
|
1158
1158
|
function ai(e) {
|
|
1159
1159
|
return e === null;
|
|
1160
1160
|
}
|
|
1161
|
-
var
|
|
1161
|
+
var Vt = new Q("tag:yaml.org,2002:null", {
|
|
1162
1162
|
kind: "scalar",
|
|
1163
1163
|
resolve: ri,
|
|
1164
1164
|
construct: ii,
|
|
@@ -1194,7 +1194,7 @@ function li(e) {
|
|
|
1194
1194
|
function si(e) {
|
|
1195
1195
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
1196
1196
|
}
|
|
1197
|
-
var
|
|
1197
|
+
var Yt = new Q("tag:yaml.org,2002:bool", {
|
|
1198
1198
|
kind: "scalar",
|
|
1199
1199
|
resolve: oi,
|
|
1200
1200
|
construct: li,
|
|
@@ -1371,8 +1371,8 @@ var Wt = new Q("tag:yaml.org,2002:float", {
|
|
|
1371
1371
|
defaultStyle: "lowercase"
|
|
1372
1372
|
}), Jt = Ht.extend({
|
|
1373
1373
|
implicit: [
|
|
1374
|
-
Yt,
|
|
1375
1374
|
Vt,
|
|
1375
|
+
Yt,
|
|
1376
1376
|
zt,
|
|
1377
1377
|
Wt
|
|
1378
1378
|
]
|
|
@@ -1413,12 +1413,12 @@ function Ai(e) {
|
|
|
1413
1413
|
var en = new Q("tag:yaml.org,2002:merge", {
|
|
1414
1414
|
kind: "scalar",
|
|
1415
1415
|
resolve: Ai
|
|
1416
|
-
}),
|
|
1416
|
+
}), Xe = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
1417
1417
|
\r`;
|
|
1418
1418
|
function wi(e) {
|
|
1419
1419
|
if (e === null)
|
|
1420
1420
|
return !1;
|
|
1421
|
-
var t, n, r = 0, i = e.length, a =
|
|
1421
|
+
var t, n, r = 0, i = e.length, a = Xe;
|
|
1422
1422
|
for (n = 0; n < i; n++)
|
|
1423
1423
|
if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
|
|
1424
1424
|
if (t < 0)
|
|
@@ -1428,13 +1428,13 @@ function wi(e) {
|
|
|
1428
1428
|
return r % 8 === 0;
|
|
1429
1429
|
}
|
|
1430
1430
|
function Si(e) {
|
|
1431
|
-
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a =
|
|
1431
|
+
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = Xe, o = 0, l = [];
|
|
1432
1432
|
for (t = 0; t < i; t++)
|
|
1433
1433
|
t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
|
|
1434
1434
|
return n = i % 4 * 6, n === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : n === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : n === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
|
|
1435
1435
|
}
|
|
1436
1436
|
function Ii(e) {
|
|
1437
|
-
var t = "", n = 0, r, i, a = e.length, o =
|
|
1437
|
+
var t = "", n = 0, r, i, a = e.length, o = Xe;
|
|
1438
1438
|
for (r = 0; r < a; r++)
|
|
1439
1439
|
r % 3 === 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
|
|
1440
1440
|
return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
|
|
@@ -1519,7 +1519,7 @@ var an = new Q("tag:yaml.org,2002:set", {
|
|
|
1519
1519
|
kind: "mapping",
|
|
1520
1520
|
resolve: Mi,
|
|
1521
1521
|
construct: Ki
|
|
1522
|
-
}),
|
|
1522
|
+
}), et = Gt.extend({
|
|
1523
1523
|
implicit: [
|
|
1524
1524
|
Xt,
|
|
1525
1525
|
en
|
|
@@ -1530,20 +1530,20 @@ var an = new Q("tag:yaml.org,2002:set", {
|
|
|
1530
1530
|
rn,
|
|
1531
1531
|
an
|
|
1532
1532
|
]
|
|
1533
|
-
}), ce = Object.prototype.hasOwnProperty, Fe = 1, on = 2, ln = 3, Oe = 4,
|
|
1533
|
+
}), ce = Object.prototype.hasOwnProperty, Fe = 1, on = 2, ln = 3, Oe = 4, qe = 1, Di = 2, ht = 3, ji = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ui = /[\x85\u2028\u2029]/, Pi = /[,\[\]\{\}]/, sn = /^(?:!|!!|![a-z\-]+!)$/i, cn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1534
1534
|
function mt(e) {
|
|
1535
1535
|
return Object.prototype.toString.call(e);
|
|
1536
1536
|
}
|
|
1537
1537
|
function ae(e) {
|
|
1538
1538
|
return e === 10 || e === 13;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function fe(e) {
|
|
1541
1541
|
return e === 9 || e === 32;
|
|
1542
1542
|
}
|
|
1543
1543
|
function te(e) {
|
|
1544
1544
|
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
1545
1545
|
}
|
|
1546
|
-
function
|
|
1546
|
+
function ge(e) {
|
|
1547
1547
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
1548
1548
|
}
|
|
1549
1549
|
function qi(e) {
|
|
@@ -1553,24 +1553,24 @@ function qi(e) {
|
|
|
1553
1553
|
function Hi(e) {
|
|
1554
1554
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
1555
1555
|
}
|
|
1556
|
-
function
|
|
1556
|
+
function Vi(e) {
|
|
1557
1557
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
1558
1558
|
}
|
|
1559
1559
|
function gt(e) {
|
|
1560
1560
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
1561
1561
|
` : 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" : "";
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function Yi(e) {
|
|
1564
1564
|
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
|
|
1565
1565
|
(e - 65536 >> 10) + 55296,
|
|
1566
1566
|
(e - 65536 & 1023) + 56320
|
|
1567
1567
|
);
|
|
1568
1568
|
}
|
|
1569
1569
|
var un = new Array(256), dn = new Array(256);
|
|
1570
|
-
for (var
|
|
1571
|
-
un[
|
|
1570
|
+
for (var pe = 0; pe < 256; pe++)
|
|
1571
|
+
un[pe] = gt(pe) ? 1 : 0, dn[pe] = gt(pe);
|
|
1572
1572
|
function zi(e, t) {
|
|
1573
|
-
this.input = e, this.filename = t.filename || null, this.schema = t.schema ||
|
|
1573
|
+
this.input = e, this.filename = t.filename || null, this.schema = t.schema || et, 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 = [];
|
|
1574
1574
|
}
|
|
1575
1575
|
function fn(e, t) {
|
|
1576
1576
|
var n = {
|
|
@@ -1621,7 +1621,7 @@ function vt(e, t, n, r) {
|
|
|
1621
1621
|
for (Z.isObject(n) || _(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, l = i.length; o < l; o += 1)
|
|
1622
1622
|
a = i[o], ce.call(t, a) || (t[a] = n[a], r[a] = !0);
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function ye(e, t, n, r, i, a, o, l, s) {
|
|
1625
1625
|
var c, d;
|
|
1626
1626
|
if (Array.isArray(i))
|
|
1627
1627
|
for (i = Array.prototype.slice.call(i), c = 0, d = i.length; c < d; c += 1)
|
|
@@ -1641,47 +1641,47 @@ function ge(e, t, n, r, i, a, o, l, s) {
|
|
|
1641
1641
|
}) : t[i] = a, delete n[i];
|
|
1642
1642
|
return t;
|
|
1643
1643
|
}
|
|
1644
|
-
function
|
|
1644
|
+
function tt(e) {
|
|
1645
1645
|
var t;
|
|
1646
1646
|
t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : _(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
|
|
1647
1647
|
}
|
|
1648
1648
|
function J(e, t, n) {
|
|
1649
1649
|
for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
|
|
1650
|
-
for (;
|
|
1650
|
+
for (; fe(i); )
|
|
1651
1651
|
i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
|
|
1652
1652
|
if (t && i === 35)
|
|
1653
1653
|
do
|
|
1654
1654
|
i = e.input.charCodeAt(++e.position);
|
|
1655
1655
|
while (i !== 10 && i !== 13 && i !== 0);
|
|
1656
1656
|
if (ae(i))
|
|
1657
|
-
for (
|
|
1657
|
+
for (tt(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32; )
|
|
1658
1658
|
e.lineIndent++, i = e.input.charCodeAt(++e.position);
|
|
1659
1659
|
else
|
|
1660
1660
|
break;
|
|
1661
1661
|
}
|
|
1662
1662
|
return n !== -1 && r !== 0 && e.lineIndent < n && $e(e, "deficient indentation"), r;
|
|
1663
1663
|
}
|
|
1664
|
-
function
|
|
1664
|
+
function Ke(e) {
|
|
1665
1665
|
var t = e.position, n;
|
|
1666
1666
|
return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || te(n)));
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function nt(e, t) {
|
|
1669
1669
|
t === 1 ? e.result += " " : t > 1 && (e.result += Z.repeat(`
|
|
1670
1670
|
`, t - 1));
|
|
1671
1671
|
}
|
|
1672
1672
|
function Wi(e, t, n) {
|
|
1673
1673
|
var r, i, a, o, l, s, c, d, u = e.kind, p = e.result, f;
|
|
1674
|
-
if (f = e.input.charCodeAt(e.position), te(f) ||
|
|
1674
|
+
if (f = e.input.charCodeAt(e.position), te(f) || ge(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), te(i) || n && ge(i)))
|
|
1675
1675
|
return !1;
|
|
1676
1676
|
for (e.kind = "scalar", e.result = "", a = o = e.position, l = !1; f !== 0; ) {
|
|
1677
1677
|
if (f === 58) {
|
|
1678
|
-
if (i = e.input.charCodeAt(e.position + 1), te(i) || n &&
|
|
1678
|
+
if (i = e.input.charCodeAt(e.position + 1), te(i) || n && ge(i))
|
|
1679
1679
|
break;
|
|
1680
1680
|
} else if (f === 35) {
|
|
1681
1681
|
if (r = e.input.charCodeAt(e.position - 1), te(r))
|
|
1682
1682
|
break;
|
|
1683
1683
|
} else {
|
|
1684
|
-
if (e.position === e.lineStart &&
|
|
1684
|
+
if (e.position === e.lineStart && Ke(e) || n && ge(f))
|
|
1685
1685
|
break;
|
|
1686
1686
|
if (ae(f))
|
|
1687
1687
|
if (s = e.line, c = e.lineStart, d = e.lineIndent, J(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -1692,7 +1692,7 @@ function Wi(e, t, n) {
|
|
|
1692
1692
|
break;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
l && (se(e, a, o, !1),
|
|
1695
|
+
l && (se(e, a, o, !1), nt(e, e.line - s), a = o = e.position, l = !1), fe(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
|
|
1696
1696
|
}
|
|
1697
1697
|
return se(e, a, o, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
|
|
1698
1698
|
}
|
|
@@ -1707,7 +1707,7 @@ function Ji(e, t) {
|
|
|
1707
1707
|
else
|
|
1708
1708
|
return !0;
|
|
1709
1709
|
else
|
|
1710
|
-
ae(n) ? (se(e, r, i, !0),
|
|
1710
|
+
ae(n) ? (se(e, r, i, !0), nt(e, J(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Ke(e) ? _(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
|
|
1711
1711
|
_(e, "unexpected end of the stream within a single quoted scalar");
|
|
1712
1712
|
}
|
|
1713
1713
|
function Gi(e, t) {
|
|
@@ -1725,12 +1725,12 @@ function Gi(e, t) {
|
|
|
1725
1725
|
else if ((o = Hi(l)) > 0) {
|
|
1726
1726
|
for (i = o, a = 0; i > 0; i--)
|
|
1727
1727
|
l = e.input.charCodeAt(++e.position), (o = qi(l)) >= 0 ? a = (a << 4) + o : _(e, "expected hexadecimal character");
|
|
1728
|
-
e.result +=
|
|
1728
|
+
e.result += Yi(a), e.position++;
|
|
1729
1729
|
} else
|
|
1730
1730
|
_(e, "unknown escape sequence");
|
|
1731
1731
|
n = r = e.position;
|
|
1732
1732
|
} else
|
|
1733
|
-
ae(l) ? (se(e, n, r, !0),
|
|
1733
|
+
ae(l) ? (se(e, n, r, !0), nt(e, J(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Ke(e) ? _(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
|
|
1734
1734
|
}
|
|
1735
1735
|
_(e, "unexpected end of the stream within a double quoted scalar");
|
|
1736
1736
|
}
|
|
@@ -1745,12 +1745,12 @@ function Zi(e, t) {
|
|
|
1745
1745
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = l), b = e.input.charCodeAt(++e.position); b !== 0; ) {
|
|
1746
1746
|
if (J(e, !0, t), b = e.input.charCodeAt(e.position), b === d)
|
|
1747
1747
|
return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
|
|
1748
|
-
n ? b === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), k = m = B = null, u = p = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), te(c) && (u = p = !0, e.position++, J(e, !0, t))), r = e.line, i = e.lineStart, a = e.position,
|
|
1748
|
+
n ? b === 44 && _(e, "expected the node content, but found ','") : _(e, "missed comma between flow collection entries"), k = m = B = null, u = p = !1, b === 63 && (c = e.input.charCodeAt(e.position + 1), te(c) && (u = p = !0, e.position++, J(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, xe(e, t, Fe, !1, !0), k = e.tag, m = e.result, J(e, !0, t), b = e.input.charCodeAt(e.position), (p || e.line === r) && b === 58 && (u = !0, b = e.input.charCodeAt(++e.position), J(e, !0, t), xe(e, t, Fe, !1, !0), B = e.result), f ? ye(e, l, C, k, m, B, r, i, a) : u ? l.push(ye(e, null, C, k, m, B, r, i, a)) : l.push(m), J(e, !0, t), b = e.input.charCodeAt(e.position), b === 44 ? (n = !0, b = e.input.charCodeAt(++e.position)) : n = !1;
|
|
1749
1749
|
}
|
|
1750
1750
|
_(e, "unexpected end of the stream within a flow collection");
|
|
1751
1751
|
}
|
|
1752
1752
|
function Qi(e, t) {
|
|
1753
|
-
var n, r, i =
|
|
1753
|
+
var n, r, i = qe, a = !1, o = !1, l = t, s = 0, c = !1, d, u;
|
|
1754
1754
|
if (u = e.input.charCodeAt(e.position), u === 124)
|
|
1755
1755
|
r = !1;
|
|
1756
1756
|
else if (u === 62)
|
|
@@ -1759,22 +1759,22 @@ function Qi(e, t) {
|
|
|
1759
1759
|
return !1;
|
|
1760
1760
|
for (e.kind = "scalar", e.result = ""; u !== 0; )
|
|
1761
1761
|
if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
|
|
1762
|
-
|
|
1763
|
-
else if ((d =
|
|
1762
|
+
qe === i ? i = u === 43 ? ht : Di : _(e, "repeat of a chomping mode identifier");
|
|
1763
|
+
else if ((d = Vi(u)) >= 0)
|
|
1764
1764
|
d === 0 ? _(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? _(e, "repeat of an indentation width identifier") : (l = t + d - 1, o = !0);
|
|
1765
1765
|
else
|
|
1766
1766
|
break;
|
|
1767
|
-
if (
|
|
1767
|
+
if (fe(u)) {
|
|
1768
1768
|
do
|
|
1769
1769
|
u = e.input.charCodeAt(++e.position);
|
|
1770
|
-
while (
|
|
1770
|
+
while (fe(u));
|
|
1771
1771
|
if (u === 35)
|
|
1772
1772
|
do
|
|
1773
1773
|
u = e.input.charCodeAt(++e.position);
|
|
1774
1774
|
while (!ae(u) && u !== 0);
|
|
1775
1775
|
}
|
|
1776
1776
|
for (; u !== 0; ) {
|
|
1777
|
-
for (
|
|
1777
|
+
for (tt(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && u === 32; )
|
|
1778
1778
|
e.lineIndent++, u = e.input.charCodeAt(++e.position);
|
|
1779
1779
|
if (!o && e.lineIndent > l && (l = e.lineIndent), ae(u)) {
|
|
1780
1780
|
s++;
|
|
@@ -1782,11 +1782,11 @@ function Qi(e, t) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
if (e.lineIndent < l) {
|
|
1784
1784
|
i === ht ? e.result += Z.repeat(`
|
|
1785
|
-
`, a ? 1 + s : s) : i ===
|
|
1785
|
+
`, a ? 1 + s : s) : i === qe && a && (e.result += `
|
|
1786
1786
|
`);
|
|
1787
1787
|
break;
|
|
1788
1788
|
}
|
|
1789
|
-
for (r ?
|
|
1789
|
+
for (r ? fe(u) ? (c = !0, e.result += Z.repeat(`
|
|
1790
1790
|
`, a ? 1 + s : s)) : c ? (c = !1, e.result += Z.repeat(`
|
|
1791
1791
|
`, s + 1)) : s === 0 ? a && (e.result += " ") : e.result += Z.repeat(`
|
|
1792
1792
|
`, s) : e.result += Z.repeat(`
|
|
@@ -1805,7 +1805,7 @@ function bt(e, t) {
|
|
|
1805
1805
|
a.push(null), s = e.input.charCodeAt(e.position);
|
|
1806
1806
|
continue;
|
|
1807
1807
|
}
|
|
1808
|
-
if (n = e.line,
|
|
1808
|
+
if (n = e.line, xe(e, t, ln, !1, !0), a.push(e.result), J(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
|
|
1809
1809
|
_(e, "bad indentation of a sequence entry");
|
|
1810
1810
|
else if (e.lineIndent < t)
|
|
1811
1811
|
break;
|
|
@@ -1818,15 +1818,15 @@ function Xi(e, t, n) {
|
|
|
1818
1818
|
return !1;
|
|
1819
1819
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = u), b = e.input.charCodeAt(e.position); b !== 0; ) {
|
|
1820
1820
|
if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, _(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (b === 63 || b === 58) && te(r))
|
|
1821
|
-
b === 63 ? (k && (
|
|
1821
|
+
b === 63 ? (k && (ye(e, u, p, f, C, null, o, l, s), f = C = m = null), B = !0, k = !0, i = !0) : k ? (k = !1, i = !0) : _(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, b = r;
|
|
1822
1822
|
else {
|
|
1823
|
-
if (o = e.line, l = e.lineStart, s = e.position, !
|
|
1823
|
+
if (o = e.line, l = e.lineStart, s = e.position, !xe(e, n, on, !1, !0))
|
|
1824
1824
|
break;
|
|
1825
1825
|
if (e.line === a) {
|
|
1826
|
-
for (b = e.input.charCodeAt(e.position);
|
|
1826
|
+
for (b = e.input.charCodeAt(e.position); fe(b); )
|
|
1827
1827
|
b = e.input.charCodeAt(++e.position);
|
|
1828
1828
|
if (b === 58)
|
|
1829
|
-
b = e.input.charCodeAt(++e.position), te(b) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (
|
|
1829
|
+
b = e.input.charCodeAt(++e.position), te(b) || _(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (ye(e, u, p, f, C, null, o, l, s), f = C = m = null), B = !0, k = !1, i = !1, f = e.tag, C = e.result;
|
|
1830
1830
|
else if (B)
|
|
1831
1831
|
_(e, "can not read an implicit mapping pair; a colon is missed");
|
|
1832
1832
|
else
|
|
@@ -1836,12 +1836,12 @@ function Xi(e, t, n) {
|
|
|
1836
1836
|
else
|
|
1837
1837
|
return e.tag = c, e.anchor = d, !0;
|
|
1838
1838
|
}
|
|
1839
|
-
if ((e.line === a || e.lineIndent > t) && (k && (o = e.line, l = e.lineStart, s = e.position),
|
|
1839
|
+
if ((e.line === a || e.lineIndent > t) && (k && (o = e.line, l = e.lineStart, s = e.position), xe(e, t, Oe, !0, i) && (k ? C = e.result : m = e.result), k || (ye(e, u, p, f, C, m, o, l, s), f = C = m = null), J(e, !0, -1), b = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && b !== 0)
|
|
1840
1840
|
_(e, "bad indentation of a mapping entry");
|
|
1841
1841
|
else if (e.lineIndent < t)
|
|
1842
1842
|
break;
|
|
1843
1843
|
}
|
|
1844
|
-
return k &&
|
|
1844
|
+
return k && ye(e, u, p, f, C, null, o, l, s), B && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), B;
|
|
1845
1845
|
}
|
|
1846
1846
|
function ea(e) {
|
|
1847
1847
|
var t, n = !1, r = !1, i, a, o;
|
|
@@ -1869,7 +1869,7 @@ function ta(e) {
|
|
|
1869
1869
|
var t, n;
|
|
1870
1870
|
if (n = e.input.charCodeAt(e.position), n !== 38)
|
|
1871
1871
|
return !1;
|
|
1872
|
-
for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !te(n) && !
|
|
1872
|
+
for (e.anchor !== null && _(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !te(n) && !ge(n); )
|
|
1873
1873
|
n = e.input.charCodeAt(++e.position);
|
|
1874
1874
|
return e.position === t && _(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
1875
1875
|
}
|
|
@@ -1877,11 +1877,11 @@ function na(e) {
|
|
|
1877
1877
|
var t, n, r;
|
|
1878
1878
|
if (r = e.input.charCodeAt(e.position), r !== 42)
|
|
1879
1879
|
return !1;
|
|
1880
|
-
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !te(r) && !
|
|
1880
|
+
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !te(r) && !ge(r); )
|
|
1881
1881
|
r = e.input.charCodeAt(++e.position);
|
|
1882
1882
|
return e.position === t && _(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ce.call(e.anchorMap, n) || _(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], J(e, !0, -1), !0;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function xe(e, t, n, r, i) {
|
|
1885
1885
|
var a, o, l, s = 1, c = !1, d = !1, u, p, f, C, m, k;
|
|
1886
1886
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Oe === n || ln === n, r && J(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
|
|
1887
1887
|
for (; ea(e) || ta(e); )
|
|
@@ -1913,7 +1913,7 @@ function ra(e) {
|
|
|
1913
1913
|
for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !te(o); )
|
|
1914
1914
|
o = e.input.charCodeAt(++e.position);
|
|
1915
1915
|
for (r = e.input.slice(n, e.position), i = [], r.length < 1 && _(e, "directive name must not be less than one character in length"); o !== 0; ) {
|
|
1916
|
-
for (;
|
|
1916
|
+
for (; fe(o); )
|
|
1917
1917
|
o = e.input.charCodeAt(++e.position);
|
|
1918
1918
|
if (o === 35) {
|
|
1919
1919
|
do
|
|
@@ -1927,9 +1927,9 @@ function ra(e) {
|
|
|
1927
1927
|
o = e.input.charCodeAt(++e.position);
|
|
1928
1928
|
i.push(e.input.slice(n, e.position));
|
|
1929
1929
|
}
|
|
1930
|
-
o !== 0 &&
|
|
1930
|
+
o !== 0 && tt(e), ce.call(yt, r) ? yt[r](e, r, i) : $e(e, 'unknown document directive "' + r + '"');
|
|
1931
1931
|
}
|
|
1932
|
-
if (J(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, J(e, !0, -1)) : a && _(e, "directives end mark is expected"),
|
|
1932
|
+
if (J(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, J(e, !0, -1)) : a && _(e, "directives end mark is expected"), xe(e, e.lineIndent - 1, Oe, !1, !0), J(e, !0, -1), e.checkLineBreaks && Ui.test(e.input.slice(t, e.position)) && $e(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ke(e)) {
|
|
1933
1933
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, J(e, !0, -1));
|
|
1934
1934
|
return;
|
|
1935
1935
|
}
|
|
@@ -1967,7 +1967,7 @@ function aa(e, t) {
|
|
|
1967
1967
|
var oa = ia, la = aa, hn = {
|
|
1968
1968
|
loadAll: oa,
|
|
1969
1969
|
load: la
|
|
1970
|
-
}, mn = Object.prototype.toString, gn = Object.prototype.hasOwnProperty,
|
|
1970
|
+
}, mn = Object.prototype.toString, gn = Object.prototype.hasOwnProperty, rt = 65279, sa = 9, Ie = 10, ca = 13, ua = 32, da = 33, fa = 34, Ye = 35, pa = 37, ha = 38, ma = 39, ga = 42, yn = 44, ya = 45, Le = 58, va = 61, ba = 62, xa = 63, Ca = 64, vn = 91, bn = 93, _a = 96, xn = 123, ka = 124, Cn = 125, X = {};
|
|
1971
1971
|
X[0] = "\\0";
|
|
1972
1972
|
X[7] = "\\a";
|
|
1973
1973
|
X[8] = "\\b";
|
|
@@ -2021,9 +2021,9 @@ function Ia(e) {
|
|
|
2021
2021
|
throw new ee("code point within a string may not be greater than 0xFFFFFFFF");
|
|
2022
2022
|
return "\\" + n + Z.repeat("0", r - t.length) + t;
|
|
2023
2023
|
}
|
|
2024
|
-
var Ea = 1,
|
|
2024
|
+
var Ea = 1, Ee = 2;
|
|
2025
2025
|
function Ta(e) {
|
|
2026
|
-
this.schema = e.schema ||
|
|
2026
|
+
this.schema = e.schema || et, 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 = Sa(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 === '"' ? Ee : Ea, 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;
|
|
2027
2027
|
}
|
|
2028
2028
|
function xt(e, t) {
|
|
2029
2029
|
for (var n = Z.repeat(" ", t), r = 0, i = -1, a = "", o, l = e.length; r < l; )
|
|
@@ -2032,7 +2032,7 @@ function xt(e, t) {
|
|
|
2032
2032
|
` && (a += n), a += o;
|
|
2033
2033
|
return a;
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function ze(e, t) {
|
|
2036
2036
|
return `
|
|
2037
2037
|
` + Z.repeat(" ", e.indent * t);
|
|
2038
2038
|
}
|
|
@@ -2046,11 +2046,11 @@ function Fa(e, t) {
|
|
|
2046
2046
|
function Ne(e) {
|
|
2047
2047
|
return e === ua || e === sa;
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !==
|
|
2049
|
+
function Te(e) {
|
|
2050
|
+
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== rt || 65536 <= e && e <= 1114111;
|
|
2051
2051
|
}
|
|
2052
2052
|
function Ct(e) {
|
|
2053
|
-
return
|
|
2053
|
+
return Te(e) && e !== rt && e !== ca && e !== Ie;
|
|
2054
2054
|
}
|
|
2055
2055
|
function _t(e, t, n) {
|
|
2056
2056
|
var r = Ct(e), i = r && !Ne(e);
|
|
@@ -2059,16 +2059,16 @@ function _t(e, t, n) {
|
|
|
2059
2059
|
(n ? (
|
|
2060
2060
|
// c = flow-in
|
|
2061
2061
|
r
|
|
2062
|
-
) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !==
|
|
2062
|
+
) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !== Ye && !(t === Le && !i) || Ct(t) && !Ne(t) && e === Ye || t === Le && i
|
|
2063
2063
|
);
|
|
2064
2064
|
}
|
|
2065
2065
|
function Oa(e) {
|
|
2066
|
-
return
|
|
2066
|
+
return Te(e) && e !== rt && !Ne(e) && e !== ya && e !== xa && e !== Le && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn && e !== Ye && e !== ha && e !== ga && e !== da && e !== ka && e !== va && e !== ba && e !== ma && e !== fa && e !== pa && e !== Ca && e !== _a;
|
|
2067
2067
|
}
|
|
2068
2068
|
function $a(e) {
|
|
2069
2069
|
return !Ne(e) && e !== Le;
|
|
2070
2070
|
}
|
|
2071
|
-
function
|
|
2071
|
+
function we(e, t) {
|
|
2072
2072
|
var n = e.charCodeAt(t), r;
|
|
2073
2073
|
return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
|
|
2074
2074
|
}
|
|
@@ -2076,34 +2076,34 @@ function _n(e) {
|
|
|
2076
2076
|
var t = /^\n* /;
|
|
2077
2077
|
return t.test(e);
|
|
2078
2078
|
}
|
|
2079
|
-
var kn = 1,
|
|
2079
|
+
var kn = 1, We = 2, An = 3, wn = 4, me = 5;
|
|
2080
2080
|
function La(e, t, n, r, i, a, o, l) {
|
|
2081
|
-
var s, c = 0, d = null, u = !1, p = !1, f = r !== -1, C = -1, m = Oa(
|
|
2081
|
+
var s, c = 0, d = null, u = !1, p = !1, f = r !== -1, C = -1, m = Oa(we(e, 0)) && $a(we(e, e.length - 1));
|
|
2082
2082
|
if (t || o)
|
|
2083
2083
|
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2084
|
-
if (c =
|
|
2085
|
-
return
|
|
2084
|
+
if (c = we(e, s), !Te(c))
|
|
2085
|
+
return me;
|
|
2086
2086
|
m = m && _t(c, d, l), d = c;
|
|
2087
2087
|
}
|
|
2088
2088
|
else {
|
|
2089
2089
|
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2090
|
-
if (c =
|
|
2090
|
+
if (c = we(e, s), c === Ie)
|
|
2091
2091
|
u = !0, f && (p = p || // Foldable line = too long, and not more-indented.
|
|
2092
2092
|
s - C - 1 > r && e[C + 1] !== " ", C = s);
|
|
2093
|
-
else if (!
|
|
2094
|
-
return
|
|
2093
|
+
else if (!Te(c))
|
|
2094
|
+
return me;
|
|
2095
2095
|
m = m && _t(c, d, l), d = c;
|
|
2096
2096
|
}
|
|
2097
2097
|
p = p || f && s - C - 1 > r && e[C + 1] !== " ";
|
|
2098
2098
|
}
|
|
2099
|
-
return !u && !p ? m && !o && !i(e) ? kn : a ===
|
|
2099
|
+
return !u && !p ? m && !o && !i(e) ? kn : a === Ee ? me : We : n > 9 && _n(e) ? me : o ? a === Ee ? me : We : p ? wn : An;
|
|
2100
2100
|
}
|
|
2101
2101
|
function Na(e, t, n, r, i) {
|
|
2102
2102
|
e.dump = function() {
|
|
2103
2103
|
if (t.length === 0)
|
|
2104
|
-
return e.quotingType ===
|
|
2104
|
+
return e.quotingType === Ee ? '""' : "''";
|
|
2105
2105
|
if (!e.noCompatMode && (Aa.indexOf(t) !== -1 || wa.test(t)))
|
|
2106
|
-
return e.quotingType ===
|
|
2106
|
+
return e.quotingType === Ee ? '"' + t + '"' : "'" + t + "'";
|
|
2107
2107
|
var a = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), l = r || e.flowLevel > -1 && n >= e.flowLevel;
|
|
2108
2108
|
function s(c) {
|
|
2109
2109
|
return Fa(e, c);
|
|
@@ -2120,13 +2120,13 @@ function Na(e, t, n, r, i) {
|
|
|
2120
2120
|
)) {
|
|
2121
2121
|
case kn:
|
|
2122
2122
|
return t;
|
|
2123
|
-
case
|
|
2123
|
+
case We:
|
|
2124
2124
|
return "'" + t.replace(/'/g, "''") + "'";
|
|
2125
2125
|
case An:
|
|
2126
2126
|
return "|" + kt(t, e.indent) + At(xt(t, a));
|
|
2127
2127
|
case wn:
|
|
2128
2128
|
return ">" + kt(t, e.indent) + At(xt(Ba(t, o), a));
|
|
2129
|
-
case
|
|
2129
|
+
case me:
|
|
2130
2130
|
return '"' + Ra(t) + '"';
|
|
2131
2131
|
default:
|
|
2132
2132
|
throw new ee("impossible error: invalid scalar style");
|
|
@@ -2170,7 +2170,7 @@ function wt(e, t) {
|
|
|
2170
2170
|
}
|
|
2171
2171
|
function Ra(e) {
|
|
2172
2172
|
for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
|
|
2173
|
-
n =
|
|
2173
|
+
n = we(e, i), r = X[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Ia(n);
|
|
2174
2174
|
return t;
|
|
2175
2175
|
}
|
|
2176
2176
|
function Ma(e, t, n) {
|
|
@@ -2182,7 +2182,7 @@ function Ma(e, t, n) {
|
|
|
2182
2182
|
function St(e, t, n, r) {
|
|
2183
2183
|
var i = "", a = e.tag, o, l, s;
|
|
2184
2184
|
for (o = 0, l = n.length; o < l; o += 1)
|
|
2185
|
-
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (le(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && le(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i +=
|
|
2185
|
+
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (le(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && le(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += ze(e, t)), e.dump && Ie === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
|
|
2186
2186
|
e.tag = a, e.dump = i || "[]";
|
|
2187
2187
|
}
|
|
2188
2188
|
function Ka(e, t, n) {
|
|
@@ -2200,7 +2200,7 @@ function Da(e, t, n, r) {
|
|
|
2200
2200
|
else if (e.sortKeys)
|
|
2201
2201
|
throw new ee("sortKeys must be a boolean or a function");
|
|
2202
2202
|
for (l = 0, s = o.length; l < s; l += 1)
|
|
2203
|
-
p = "", (!r || i !== "") && (p +=
|
|
2203
|
+
p = "", (!r || i !== "") && (p += ze(e, t)), c = o[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), le(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Ie === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, u && (p += ze(e, t)), le(e, t + 1, d, !0, u) && (e.dump && Ie === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
|
|
2204
2204
|
e.tag = a, e.dump = i || "{}";
|
|
2205
2205
|
}
|
|
2206
2206
|
function It(e, t, n) {
|
|
@@ -2249,21 +2249,21 @@ function le(e, t, n, r, i, a, o) {
|
|
|
2249
2249
|
}
|
|
2250
2250
|
function ja(e, t) {
|
|
2251
2251
|
var n = [], r = [], i, a;
|
|
2252
|
-
for (
|
|
2252
|
+
for (Je(e, n, r), i = 0, a = r.length; i < a; i += 1)
|
|
2253
2253
|
t.duplicates.push(n[r[i]]);
|
|
2254
2254
|
t.usedDuplicates = new Array(a);
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function Je(e, t, n) {
|
|
2257
2257
|
var r, i, a;
|
|
2258
2258
|
if (e !== null && typeof e == "object")
|
|
2259
2259
|
if (i = t.indexOf(e), i !== -1)
|
|
2260
2260
|
n.indexOf(i) === -1 && n.push(i);
|
|
2261
2261
|
else if (t.push(e), Array.isArray(e))
|
|
2262
2262
|
for (i = 0, a = e.length; i < a; i += 1)
|
|
2263
|
-
|
|
2263
|
+
Je(e[i], t, n);
|
|
2264
2264
|
else
|
|
2265
2265
|
for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1)
|
|
2266
|
-
|
|
2266
|
+
Je(e[r[i]], t, n);
|
|
2267
2267
|
}
|
|
2268
2268
|
function Ua(e, t) {
|
|
2269
2269
|
t = t || {};
|
|
@@ -2276,29 +2276,29 @@ function Ua(e, t) {
|
|
|
2276
2276
|
var Pa = Ua, qa = {
|
|
2277
2277
|
dump: Pa
|
|
2278
2278
|
};
|
|
2279
|
-
function
|
|
2279
|
+
function it(e, t) {
|
|
2280
2280
|
return function() {
|
|
2281
2281
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
2282
2282
|
};
|
|
2283
2283
|
}
|
|
2284
|
-
var Ha = Q,
|
|
2284
|
+
var Ha = Q, Va = jt, Ya = Ht, za = Jt, Wa = Gt, Ja = et, Ga = hn.load, Za = hn.loadAll, Qa = qa.dump, Xa = ee, eo = {
|
|
2285
2285
|
binary: tn,
|
|
2286
2286
|
float: Wt,
|
|
2287
2287
|
map: qt,
|
|
2288
|
-
null:
|
|
2288
|
+
null: Vt,
|
|
2289
2289
|
pairs: rn,
|
|
2290
2290
|
set: an,
|
|
2291
2291
|
timestamp: Xt,
|
|
2292
|
-
bool:
|
|
2292
|
+
bool: Yt,
|
|
2293
2293
|
int: zt,
|
|
2294
2294
|
merge: en,
|
|
2295
2295
|
omap: nn,
|
|
2296
2296
|
seq: Pt,
|
|
2297
2297
|
str: Ut
|
|
2298
|
-
}, to =
|
|
2298
|
+
}, to = it("safeLoad", "load"), no = it("safeLoadAll", "loadAll"), ro = it("safeDump", "dump"), io = {
|
|
2299
2299
|
Type: Ha,
|
|
2300
|
-
Schema:
|
|
2301
|
-
FAILSAFE_SCHEMA:
|
|
2300
|
+
Schema: Va,
|
|
2301
|
+
FAILSAFE_SCHEMA: Ya,
|
|
2302
2302
|
JSON_SCHEMA: za,
|
|
2303
2303
|
CORE_SCHEMA: Wa,
|
|
2304
2304
|
DEFAULT_SCHEMA: Ja,
|
|
@@ -2311,7 +2311,7 @@ var Ha = Q, Ya = jt, Va = Ht, za = Jt, Wa = Gt, Ja = Xe, Ga = hn.load, Za = hn.l
|
|
|
2311
2311
|
safeLoadAll: no,
|
|
2312
2312
|
safeDump: ro
|
|
2313
2313
|
};
|
|
2314
|
-
const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */
|
|
2314
|
+
const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ Y({
|
|
2315
2315
|
__name: "YamlCodeBlock",
|
|
2316
2316
|
props: {
|
|
2317
2317
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2327,7 +2327,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2327
2327
|
});
|
|
2328
2328
|
return (r, i) => {
|
|
2329
2329
|
const a = $("KCodeBlock");
|
|
2330
|
-
return h(),
|
|
2330
|
+
return h(), w("div", ao, [
|
|
2331
2331
|
t.yamlRecord ? (h(), M(a, {
|
|
2332
2332
|
key: 0,
|
|
2333
2333
|
id: "yaml-codeblock",
|
|
@@ -2344,7 +2344,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2344
2344
|
}, lo = ["data-testid"], so = {
|
|
2345
2345
|
key: 0,
|
|
2346
2346
|
class: "config-card-prop-section-title"
|
|
2347
|
-
}, co = /* @__PURE__ */
|
|
2347
|
+
}, co = /* @__PURE__ */ Y({
|
|
2348
2348
|
__name: "ConfigCardDisplay",
|
|
2349
2349
|
props: {
|
|
2350
2350
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2383,29 +2383,29 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2383
2383
|
}
|
|
2384
2384
|
},
|
|
2385
2385
|
setup(e) {
|
|
2386
|
-
const t = e, n =
|
|
2386
|
+
const t = e, n = Ge(), { i18n: { t: r } } = W.useI18n(), i = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), a = A(() => {
|
|
2387
2387
|
if (!t.record)
|
|
2388
2388
|
return t.record;
|
|
2389
2389
|
const o = JSON.parse(JSON.stringify(t.record));
|
|
2390
2390
|
return delete o.created_at, delete o.updated_at, o;
|
|
2391
2391
|
});
|
|
2392
|
-
return (o, l) => (h(),
|
|
2393
|
-
e.format === "structured" ? (h(),
|
|
2394
|
-
(h(!0),
|
|
2392
|
+
return (o, l) => (h(), w(oe, null, [
|
|
2393
|
+
e.format === "structured" ? (h(), w("div", oo, [
|
|
2394
|
+
(h(!0), w(oe, null, ie(e.propListTypes, (s) => (h(), w("div", {
|
|
2395
2395
|
key: `config-card-details-${s}-props`,
|
|
2396
|
-
class:
|
|
2396
|
+
class: ve(`config-card-details-${s}-props`),
|
|
2397
2397
|
"data-testid": `config-card-details-${s}-props`
|
|
2398
2398
|
}, [
|
|
2399
|
-
s !== "basic" ? (h(),
|
|
2400
|
-
(h(!0),
|
|
2399
|
+
s !== "basic" ? (h(), w("div", so, O(s === "advanced" ? T(r)("baseConfigCard.sections.advanced") : T(r)("baseConfigCard.sections.plugin")), 1)) : U("", !0),
|
|
2400
|
+
(h(!0), w(oe, null, ie(e.propertyCollections[s], (c) => (h(), M(Rt, {
|
|
2401
2401
|
key: c.key,
|
|
2402
2402
|
item: c
|
|
2403
|
-
},
|
|
2403
|
+
}, be({
|
|
2404
2404
|
label: x(() => [
|
|
2405
|
-
|
|
2405
|
+
V(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
|
|
2406
2406
|
]),
|
|
2407
2407
|
[c.key]: x(({ rowValue: d }) => [
|
|
2408
|
-
|
|
2408
|
+
V(o.$slots, c.key, {
|
|
2409
2409
|
row: c,
|
|
2410
2410
|
rowValue: d
|
|
2411
2411
|
}, void 0, !0)
|
|
@@ -2415,7 +2415,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2415
2415
|
i(c) ? {
|
|
2416
2416
|
name: "label-tooltip",
|
|
2417
2417
|
fn: x(() => [
|
|
2418
|
-
|
|
2418
|
+
V(o.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
|
|
2419
2419
|
]),
|
|
2420
2420
|
key: "0"
|
|
2421
2421
|
} : void 0
|
|
@@ -2435,18 +2435,117 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2435
2435
|
}, null, 8, ["yaml-record"])) : U("", !0)
|
|
2436
2436
|
], 64));
|
|
2437
2437
|
}
|
|
2438
|
-
}), uo = /* @__PURE__ */ re(co, [["__scopeId", "data-v-147a2f70"]]),
|
|
2438
|
+
}), uo = /* @__PURE__ */ re(co, [["__scopeId", "data-v-147a2f70"]]), ue = "24px", De = (e, t) => {
|
|
2439
2439
|
const n = e.__vccOpts || e;
|
|
2440
2440
|
for (const [r, i] of t)
|
|
2441
2441
|
n[r] = i;
|
|
2442
2442
|
return n;
|
|
2443
|
-
}, fo = (e) => (
|
|
2443
|
+
}, fo = (e) => (Re("data-v-2295e0fb"), e = e(), Me(), e), po = ["aria-hidden"], ho = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
"data-testid": "kui-icon-svg-title"
|
|
2446
2446
|
}, mo = /* @__PURE__ */ fo(() => /* @__PURE__ */ L("path", {
|
|
2447
|
+
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
2448
|
+
fill: "currentColor"
|
|
2449
|
+
}, null, -1)), go = /* @__PURE__ */ Y({
|
|
2450
|
+
__name: "AddIcon",
|
|
2451
|
+
props: {
|
|
2452
|
+
/** The accessibility text provided to screen readers */
|
|
2453
|
+
title: {
|
|
2454
|
+
type: String,
|
|
2455
|
+
required: !1,
|
|
2456
|
+
default: ""
|
|
2457
|
+
},
|
|
2458
|
+
/** The icon color. Defaults to `currentColor` which inherits text color from the parent element */
|
|
2459
|
+
color: {
|
|
2460
|
+
type: String,
|
|
2461
|
+
required: !1,
|
|
2462
|
+
default: "currentColor"
|
|
2463
|
+
},
|
|
2464
|
+
/** The CSS display property for the icon. Defaults to `block` */
|
|
2465
|
+
display: {
|
|
2466
|
+
type: String,
|
|
2467
|
+
required: !1,
|
|
2468
|
+
default: "block"
|
|
2469
|
+
},
|
|
2470
|
+
/** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */
|
|
2471
|
+
decorative: {
|
|
2472
|
+
type: Boolean,
|
|
2473
|
+
required: !1,
|
|
2474
|
+
default: !1
|
|
2475
|
+
},
|
|
2476
|
+
/** The icon size */
|
|
2477
|
+
size: {
|
|
2478
|
+
type: [Number, String],
|
|
2479
|
+
required: !1,
|
|
2480
|
+
default: ue,
|
|
2481
|
+
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2482
|
+
validator: (e) => {
|
|
2483
|
+
if (typeof e == "number" && e > 0)
|
|
2484
|
+
return !0;
|
|
2485
|
+
if (typeof e == "string") {
|
|
2486
|
+
const t = String(e).replace(/px/gi, ""), n = Number(t);
|
|
2487
|
+
if (n && !isNaN(n) && Number.isInteger(n) && n > 0)
|
|
2488
|
+
return !0;
|
|
2489
|
+
}
|
|
2490
|
+
return !1;
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
/** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */
|
|
2494
|
+
as: {
|
|
2495
|
+
type: String,
|
|
2496
|
+
required: !1,
|
|
2497
|
+
default: "span"
|
|
2498
|
+
}
|
|
2499
|
+
},
|
|
2500
|
+
setup(e) {
|
|
2501
|
+
const t = e, n = A(() => {
|
|
2502
|
+
if (typeof t.size == "number" && t.size > 0)
|
|
2503
|
+
return `${t.size}px`;
|
|
2504
|
+
if (typeof t.size == "string") {
|
|
2505
|
+
const i = String(t.size).replace(/px/gi, ""), a = Number(i);
|
|
2506
|
+
if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
|
|
2507
|
+
return `${a}px`;
|
|
2508
|
+
}
|
|
2509
|
+
return ue;
|
|
2510
|
+
}), r = A(() => ({
|
|
2511
|
+
boxSizing: "border-box",
|
|
2512
|
+
color: t.color,
|
|
2513
|
+
display: t.display,
|
|
2514
|
+
height: n.value,
|
|
2515
|
+
lineHeight: "0",
|
|
2516
|
+
width: n.value
|
|
2517
|
+
}));
|
|
2518
|
+
return (i, a) => (h(), M(_e(e.as), {
|
|
2519
|
+
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2520
|
+
class: "kui-icon add-icon",
|
|
2521
|
+
"data-testid": "kui-icon-wrapper-add-icon",
|
|
2522
|
+
style: Be(r.value)
|
|
2523
|
+
}, {
|
|
2524
|
+
default: x(() => [
|
|
2525
|
+
(h(), w("svg", {
|
|
2526
|
+
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2527
|
+
"data-testid": "kui-icon-svg-add-icon",
|
|
2528
|
+
fill: "none",
|
|
2529
|
+
height: "100%",
|
|
2530
|
+
role: "img",
|
|
2531
|
+
viewBox: "0 0 24 24",
|
|
2532
|
+
width: "100%",
|
|
2533
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2534
|
+
}, [
|
|
2535
|
+
e.title ? (h(), w("title", ho, O(e.title), 1)) : U("", !0),
|
|
2536
|
+
mo
|
|
2537
|
+
], 8, po))
|
|
2538
|
+
]),
|
|
2539
|
+
_: 1
|
|
2540
|
+
}, 8, ["aria-hidden", "style"]));
|
|
2541
|
+
}
|
|
2542
|
+
}), yo = /* @__PURE__ */ De(go, [["__scopeId", "data-v-2295e0fb"]]), vo = (e) => (Re("data-v-40a7f387"), e = e(), Me(), e), bo = ["aria-hidden"], xo = {
|
|
2543
|
+
key: 0,
|
|
2544
|
+
"data-testid": "kui-icon-svg-title"
|
|
2545
|
+
}, Co = /* @__PURE__ */ vo(() => /* @__PURE__ */ L("path", {
|
|
2447
2546
|
d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
|
|
2448
2547
|
fill: "currentColor"
|
|
2449
|
-
}, null, -1)),
|
|
2548
|
+
}, null, -1)), _o = /* @__PURE__ */ Y({
|
|
2450
2549
|
__name: "BookIcon",
|
|
2451
2550
|
props: {
|
|
2452
2551
|
/** The accessibility text provided to screen readers */
|
|
@@ -2477,7 +2576,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2477
2576
|
size: {
|
|
2478
2577
|
type: [Number, String],
|
|
2479
2578
|
required: !1,
|
|
2480
|
-
default:
|
|
2579
|
+
default: ue,
|
|
2481
2580
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2482
2581
|
validator: (e) => {
|
|
2483
2582
|
if (typeof e == "number" && e > 0)
|
|
@@ -2506,7 +2605,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2506
2605
|
if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
|
|
2507
2606
|
return `${a}px`;
|
|
2508
2607
|
}
|
|
2509
|
-
return
|
|
2608
|
+
return ue;
|
|
2510
2609
|
}), r = A(() => ({
|
|
2511
2610
|
boxSizing: "border-box",
|
|
2512
2611
|
color: t.color,
|
|
@@ -2515,14 +2614,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2515
2614
|
lineHeight: "0",
|
|
2516
2615
|
width: n.value
|
|
2517
2616
|
}));
|
|
2518
|
-
return (i, a) => (h(), M(
|
|
2617
|
+
return (i, a) => (h(), M(_e(e.as), {
|
|
2519
2618
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2520
2619
|
class: "kui-icon book-icon",
|
|
2521
2620
|
"data-testid": "kui-icon-wrapper-book-icon",
|
|
2522
|
-
style:
|
|
2621
|
+
style: Be(r.value)
|
|
2523
2622
|
}, {
|
|
2524
2623
|
default: x(() => [
|
|
2525
|
-
(h(),
|
|
2624
|
+
(h(), w("svg", {
|
|
2526
2625
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2527
2626
|
"data-testid": "kui-icon-svg-book-icon",
|
|
2528
2627
|
fill: "none",
|
|
@@ -2532,20 +2631,20 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2532
2631
|
width: "100%",
|
|
2533
2632
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2534
2633
|
}, [
|
|
2535
|
-
e.title ? (h(),
|
|
2536
|
-
|
|
2537
|
-
], 8,
|
|
2634
|
+
e.title ? (h(), w("title", xo, O(e.title), 1)) : U("", !0),
|
|
2635
|
+
Co
|
|
2636
|
+
], 8, bo))
|
|
2538
2637
|
]),
|
|
2539
2638
|
_: 1
|
|
2540
2639
|
}, 8, ["aria-hidden", "style"]));
|
|
2541
2640
|
}
|
|
2542
|
-
}),
|
|
2641
|
+
}), ko = /* @__PURE__ */ De(_o, [["__scopeId", "data-v-40a7f387"]]), Ao = (e) => (Re("data-v-19f4cbbe"), e = e(), Me(), e), wo = ["aria-hidden"], So = {
|
|
2543
2642
|
key: 0,
|
|
2544
2643
|
"data-testid": "kui-icon-svg-title"
|
|
2545
|
-
},
|
|
2644
|
+
}, Io = /* @__PURE__ */ Ao(() => /* @__PURE__ */ L("path", {
|
|
2546
2645
|
d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
|
|
2547
2646
|
fill: "currentColor"
|
|
2548
|
-
}, null, -1)),
|
|
2647
|
+
}, null, -1)), Eo = /* @__PURE__ */ Y({
|
|
2549
2648
|
__name: "CloseIcon",
|
|
2550
2649
|
props: {
|
|
2551
2650
|
/** The accessibility text provided to screen readers */
|
|
@@ -2576,7 +2675,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2576
2675
|
size: {
|
|
2577
2676
|
type: [Number, String],
|
|
2578
2677
|
required: !1,
|
|
2579
|
-
default:
|
|
2678
|
+
default: ue,
|
|
2580
2679
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2581
2680
|
validator: (e) => {
|
|
2582
2681
|
if (typeof e == "number" && e > 0)
|
|
@@ -2605,7 +2704,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2605
2704
|
if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
|
|
2606
2705
|
return `${a}px`;
|
|
2607
2706
|
}
|
|
2608
|
-
return
|
|
2707
|
+
return ue;
|
|
2609
2708
|
}), r = A(() => ({
|
|
2610
2709
|
boxSizing: "border-box",
|
|
2611
2710
|
color: t.color,
|
|
@@ -2614,14 +2713,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2614
2713
|
lineHeight: "0",
|
|
2615
2714
|
width: n.value
|
|
2616
2715
|
}));
|
|
2617
|
-
return (i, a) => (h(), M(
|
|
2716
|
+
return (i, a) => (h(), M(_e(e.as), {
|
|
2618
2717
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2619
2718
|
class: "kui-icon close-icon",
|
|
2620
2719
|
"data-testid": "kui-icon-wrapper-close-icon",
|
|
2621
|
-
style:
|
|
2720
|
+
style: Be(r.value)
|
|
2622
2721
|
}, {
|
|
2623
2722
|
default: x(() => [
|
|
2624
|
-
(h(),
|
|
2723
|
+
(h(), w("svg", {
|
|
2625
2724
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2626
2725
|
"data-testid": "kui-icon-svg-close-icon",
|
|
2627
2726
|
fill: "none",
|
|
@@ -2631,20 +2730,20 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2631
2730
|
width: "100%",
|
|
2632
2731
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2633
2732
|
}, [
|
|
2634
|
-
e.title ? (h(),
|
|
2635
|
-
|
|
2636
|
-
], 8,
|
|
2733
|
+
e.title ? (h(), w("title", So, O(e.title), 1)) : U("", !0),
|
|
2734
|
+
Io
|
|
2735
|
+
], 8, wo))
|
|
2637
2736
|
]),
|
|
2638
2737
|
_: 1
|
|
2639
2738
|
}, 8, ["aria-hidden", "style"]));
|
|
2640
2739
|
}
|
|
2641
|
-
}),
|
|
2740
|
+
}), To = /* @__PURE__ */ De(Eo, [["__scopeId", "data-v-19f4cbbe"]]), Fo = (e) => (Re("data-v-13f41aa3"), e = e(), Me(), e), Oo = ["aria-hidden"], $o = {
|
|
2642
2741
|
key: 0,
|
|
2643
2742
|
"data-testid": "kui-icon-svg-title"
|
|
2644
|
-
},
|
|
2743
|
+
}, Lo = /* @__PURE__ */ Fo(() => /* @__PURE__ */ L("path", {
|
|
2645
2744
|
d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
|
|
2646
2745
|
fill: "currentColor"
|
|
2647
|
-
}, null, -1)),
|
|
2746
|
+
}, null, -1)), No = /* @__PURE__ */ Y({
|
|
2648
2747
|
__name: "CopyIcon",
|
|
2649
2748
|
props: {
|
|
2650
2749
|
/** The accessibility text provided to screen readers */
|
|
@@ -2675,7 +2774,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2675
2774
|
size: {
|
|
2676
2775
|
type: [Number, String],
|
|
2677
2776
|
required: !1,
|
|
2678
|
-
default:
|
|
2777
|
+
default: ue,
|
|
2679
2778
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
2680
2779
|
validator: (e) => {
|
|
2681
2780
|
if (typeof e == "number" && e > 0)
|
|
@@ -2704,7 +2803,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2704
2803
|
if (a && !isNaN(a) && Number.isInteger(a) && a > 0)
|
|
2705
2804
|
return `${a}px`;
|
|
2706
2805
|
}
|
|
2707
|
-
return
|
|
2806
|
+
return ue;
|
|
2708
2807
|
}), r = A(() => ({
|
|
2709
2808
|
boxSizing: "border-box",
|
|
2710
2809
|
color: t.color,
|
|
@@ -2713,14 +2812,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2713
2812
|
lineHeight: "0",
|
|
2714
2813
|
width: n.value
|
|
2715
2814
|
}));
|
|
2716
|
-
return (i, a) => (h(), M(
|
|
2815
|
+
return (i, a) => (h(), M(_e(e.as), {
|
|
2717
2816
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2718
2817
|
class: "kui-icon copy-icon",
|
|
2719
2818
|
"data-testid": "kui-icon-wrapper-copy-icon",
|
|
2720
|
-
style:
|
|
2819
|
+
style: Be(r.value)
|
|
2721
2820
|
}, {
|
|
2722
2821
|
default: x(() => [
|
|
2723
|
-
(h(),
|
|
2822
|
+
(h(), w("svg", {
|
|
2724
2823
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2725
2824
|
"data-testid": "kui-icon-svg-copy-icon",
|
|
2726
2825
|
fill: "none",
|
|
@@ -2730,14 +2829,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2730
2829
|
width: "100%",
|
|
2731
2830
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2732
2831
|
}, [
|
|
2733
|
-
e.title ? (h(),
|
|
2734
|
-
|
|
2735
|
-
], 8,
|
|
2832
|
+
e.title ? (h(), w("title", $o, O(e.title), 1)) : U("", !0),
|
|
2833
|
+
Lo
|
|
2834
|
+
], 8, Oo))
|
|
2736
2835
|
]),
|
|
2737
2836
|
_: 1
|
|
2738
2837
|
}, 8, ["aria-hidden", "style"]));
|
|
2739
2838
|
}
|
|
2740
|
-
}),
|
|
2839
|
+
}), Bo = /* @__PURE__ */ De(No, [["__scopeId", "data-v-13f41aa3"]]), Ro = { "data-testid": "config-card-title" }, Mo = { class: "config-card-actions" }, Ko = ["href"], Do = { class: "config-card-details-section" }, jo = /* @__PURE__ */ Y({
|
|
2741
2840
|
__name: "EntityBaseConfigCard",
|
|
2742
2841
|
props: {
|
|
2743
2842
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2812,7 +2911,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2812
2911
|
emits: ["loading", "fetch:success", "fetch:error"],
|
|
2813
2912
|
setup(e, { emit: t }) {
|
|
2814
2913
|
var y;
|
|
2815
|
-
const n = t, r = e, { i18n: { t: i } } =
|
|
2914
|
+
const n = t, r = e, { i18n: { t: i } } = W.useI18n(), { getMessageFromError: a } = W.useErrors(), { convertKeyToTitle: o } = W.useStringHelpers(), { axiosInstance: l } = W.useAxios({
|
|
2816
2915
|
headers: (y = r.config) == null ? void 0 : y.requestHeaders
|
|
2817
2916
|
}), s = [
|
|
2818
2917
|
{
|
|
@@ -2865,20 +2964,20 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2865
2964
|
section: ne.Basic
|
|
2866
2965
|
}
|
|
2867
2966
|
}, p = R(!1), f = R(!1), C = R(""), m = R({}), k = A(() => {
|
|
2868
|
-
var F,
|
|
2967
|
+
var F, S, P;
|
|
2869
2968
|
if (!m.value)
|
|
2870
2969
|
return [];
|
|
2871
2970
|
const v = [], j = Object.keys(m.value).length;
|
|
2872
2971
|
for (const I in m.value) {
|
|
2873
|
-
const E = (
|
|
2972
|
+
const E = (S = (F = r.configSchema) == null ? void 0 : F[I]) == null ? void 0 : S.order, K = (P = u[I]) == null ? void 0 : P.order;
|
|
2874
2973
|
let q = j;
|
|
2875
2974
|
(K || K === 0) && (q = K === -1 ? j + 1 : K), E && (q = E === -1 ? j + 1 : E), v.push([I, q]);
|
|
2876
2975
|
}
|
|
2877
2976
|
return v.sort(function(I, E) {
|
|
2878
2977
|
return I[1] - E[1];
|
|
2879
2978
|
}), v.map((I) => {
|
|
2880
|
-
var
|
|
2881
|
-
const E = I[0], K = (
|
|
2979
|
+
var de, at;
|
|
2980
|
+
const E = I[0], K = (de = m.value) == null ? void 0 : de[E], q = ((at = r.configSchema) == null ? void 0 : at[E]) || {}, G = u[E];
|
|
2882
2981
|
return {
|
|
2883
2982
|
key: E,
|
|
2884
2983
|
value: K,
|
|
@@ -2890,12 +2989,12 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2890
2989
|
};
|
|
2891
2990
|
}).filter((I) => !I.hidden && I.key !== r.pluginConfigKey);
|
|
2892
2991
|
}), B = A(() => {
|
|
2893
|
-
var
|
|
2992
|
+
var S, P;
|
|
2894
2993
|
if (!m.value || !r.pluginConfigKey)
|
|
2895
2994
|
return [];
|
|
2896
2995
|
const v = m.value[r.pluginConfigKey] || {}, j = Object.keys(v).length, F = [];
|
|
2897
2996
|
for (const I in v) {
|
|
2898
|
-
const E = (P = (
|
|
2997
|
+
const E = (P = (S = r.pluginConfigSchema) == null ? void 0 : S[I]) == null ? void 0 : P.order, K = v[I];
|
|
2899
2998
|
let q = K != null && K !== "" ? j - 1 : j;
|
|
2900
2999
|
E && (q = E === -1 ? j + 1 : E), F.push([I, q]);
|
|
2901
3000
|
}
|
|
@@ -2915,11 +3014,11 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2915
3014
|
};
|
|
2916
3015
|
}).filter((I) => !I.hidden);
|
|
2917
3016
|
}), b = A(() => {
|
|
2918
|
-
var v, j, F,
|
|
3017
|
+
var v, j, F, S;
|
|
2919
3018
|
return {
|
|
2920
3019
|
basic: (v = k.value) == null ? void 0 : v.filter((P) => P.section === ne.Basic),
|
|
2921
3020
|
advanced: (j = k.value) == null ? void 0 : j.filter((P) => P.section === ne.Advanced),
|
|
2922
|
-
plugin: (
|
|
3021
|
+
plugin: (S = B.value) == null ? void 0 : S.concat((F = k.value) == null ? void 0 : F.filter((P) => P.section === ne.Plugin))
|
|
2923
3022
|
};
|
|
2924
3023
|
}), D = A(() => {
|
|
2925
3024
|
const v = [];
|
|
@@ -2952,21 +3051,21 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2952
3051
|
p.value = !1;
|
|
2953
3052
|
}
|
|
2954
3053
|
}), (v, j) => {
|
|
2955
|
-
const F = $("KLabel"),
|
|
2956
|
-
return h(), M(K, { class: "kong-ui-entity-base-config-card" },
|
|
3054
|
+
const F = $("KLabel"), S = $("KSelect"), P = $("KButton"), I = $("KSkeleton"), E = $("KEmptyState"), K = $("KCard");
|
|
3055
|
+
return h(), M(K, { class: "kong-ui-entity-base-config-card" }, be({
|
|
2957
3056
|
actions: x(() => [
|
|
2958
|
-
L("div",
|
|
2959
|
-
|
|
3057
|
+
L("div", Mo, [
|
|
3058
|
+
V(v.$slots, "actions", {}, void 0, !0),
|
|
2960
3059
|
N(F, {
|
|
2961
3060
|
class: "config-format-select-label",
|
|
2962
3061
|
"data-testid": "config-format-select-label"
|
|
2963
3062
|
}, {
|
|
2964
3063
|
default: x(() => [
|
|
2965
|
-
|
|
3064
|
+
z(O(e.label), 1)
|
|
2966
3065
|
]),
|
|
2967
3066
|
_: 1
|
|
2968
3067
|
}),
|
|
2969
|
-
N(
|
|
3068
|
+
N(S, {
|
|
2970
3069
|
"data-testid": "select-config-format",
|
|
2971
3070
|
items: s,
|
|
2972
3071
|
onChange: d
|
|
@@ -2983,8 +3082,8 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2983
3082
|
rel: "noopener",
|
|
2984
3083
|
target: "_blank"
|
|
2985
3084
|
}, [
|
|
2986
|
-
N(T(
|
|
2987
|
-
], 8,
|
|
3085
|
+
N(T(ko), { size: T(Ar) }, null, 8, ["size"])
|
|
3086
|
+
], 8, Ko)
|
|
2988
3087
|
]),
|
|
2989
3088
|
_: 1
|
|
2990
3089
|
})) : U("", !0)
|
|
@@ -2999,14 +3098,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
2999
3098
|
})) : f.value ? (h(), M(E, {
|
|
3000
3099
|
key: 1,
|
|
3001
3100
|
"data-testid": "config-card-fetch-error",
|
|
3002
|
-
"
|
|
3101
|
+
"icon-variant": "error"
|
|
3003
3102
|
}, {
|
|
3004
|
-
|
|
3103
|
+
default: x(() => [
|
|
3005
3104
|
L("h3", null, O(C.value), 1)
|
|
3006
3105
|
]),
|
|
3007
3106
|
_: 1
|
|
3008
3107
|
})) : U("", !0),
|
|
3009
|
-
L("div",
|
|
3108
|
+
L("div", Do, [
|
|
3010
3109
|
N(uo, {
|
|
3011
3110
|
config: e.config,
|
|
3012
3111
|
"fetcher-url": g.value,
|
|
@@ -3014,13 +3113,13 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3014
3113
|
"prop-list-types": D.value,
|
|
3015
3114
|
"property-collections": b.value,
|
|
3016
3115
|
record: m.value
|
|
3017
|
-
},
|
|
3116
|
+
}, be({ _: 2 }, [
|
|
3018
3117
|
ie(Object.keys(v.$slots), (q) => ({
|
|
3019
3118
|
name: q,
|
|
3020
|
-
fn: x(({ row: G, rowValue:
|
|
3021
|
-
|
|
3119
|
+
fn: x(({ row: G, rowValue: de }) => [
|
|
3120
|
+
V(v.$slots, q, {
|
|
3022
3121
|
row: G,
|
|
3023
|
-
rowValue:
|
|
3122
|
+
rowValue: de
|
|
3024
3123
|
}, void 0, !0)
|
|
3025
3124
|
])
|
|
3026
3125
|
}))
|
|
@@ -3032,9 +3131,9 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3032
3131
|
e.hideTitle ? void 0 : {
|
|
3033
3132
|
name: "title",
|
|
3034
3133
|
fn: x(() => [
|
|
3035
|
-
L("div",
|
|
3036
|
-
|
|
3037
|
-
|
|
3134
|
+
L("div", Ro, [
|
|
3135
|
+
V(v.$slots, "title", {}, () => [
|
|
3136
|
+
z(O(T(i)("baseConfigCard.title")), 1)
|
|
3038
3137
|
], !0)
|
|
3039
3138
|
])
|
|
3040
3139
|
]),
|
|
@@ -3043,10 +3142,10 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3043
3142
|
]), 1024);
|
|
3044
3143
|
};
|
|
3045
3144
|
}
|
|
3046
|
-
}),
|
|
3145
|
+
}), Tl = /* @__PURE__ */ re(jo, [["__scopeId", "data-v-491f1797"]]), Uo = {
|
|
3047
3146
|
class: "form-actions",
|
|
3048
3147
|
"data-testid": "form-actions"
|
|
3049
|
-
},
|
|
3148
|
+
}, Po = { key: 0 }, qo = /* @__PURE__ */ Y({
|
|
3050
3149
|
__name: "EntityBaseForm",
|
|
3051
3150
|
props: {
|
|
3052
3151
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3101,7 +3200,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3101
3200
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
3102
3201
|
setup(e, { emit: t }) {
|
|
3103
3202
|
var D;
|
|
3104
|
-
const n = t, r = e, i = Mn(), { i18n: { t: a } } =
|
|
3203
|
+
const n = t, r = e, i = Mn(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: o } = W.useErrors(), { axiosInstance: l } = W.useAxios({
|
|
3105
3204
|
headers: (D = r.config) == null ? void 0 : D.requestHeaders
|
|
3106
3205
|
}), s = R(!1), c = R(!1), d = R(""), u = A(() => r.canSubmit === !1 || r.isReadonly), p = R(!1), f = A(() => {
|
|
3107
3206
|
var y, v;
|
|
@@ -3140,7 +3239,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3140
3239
|
s.value = !1;
|
|
3141
3240
|
}
|
|
3142
3241
|
}), (g, y) => {
|
|
3143
|
-
const v = $("KSkeleton"), j = $("KEmptyState"), F = $("KAlert"),
|
|
3242
|
+
const v = $("KSkeleton"), j = $("KEmptyState"), F = $("KAlert"), S = $("KButton"), P = $("KTabs"), I = $("KSlideout"), E = $("KCard");
|
|
3144
3243
|
return h(), M(E, { class: "kong-ui-entity-base-form" }, {
|
|
3145
3244
|
default: x(() => [
|
|
3146
3245
|
s.value ? (h(), M(v, {
|
|
@@ -3148,61 +3247,61 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3148
3247
|
type: "form"
|
|
3149
3248
|
})) : c.value ? (h(), M(j, {
|
|
3150
3249
|
key: 1,
|
|
3151
|
-
"
|
|
3250
|
+
"action-button-text": T(a)("baseForm.actions.back"),
|
|
3152
3251
|
"data-testid": "form-fetch-error",
|
|
3153
|
-
"
|
|
3154
|
-
|
|
3252
|
+
"icon-variant": "error",
|
|
3253
|
+
onClickAction: m
|
|
3155
3254
|
}, {
|
|
3156
|
-
|
|
3255
|
+
default: x(() => [
|
|
3157
3256
|
L("h3", null, O(d.value), 1)
|
|
3158
3257
|
]),
|
|
3159
3258
|
_: 1
|
|
3160
|
-
}, 8, ["
|
|
3259
|
+
}, 8, ["action-button-text"])) : (h(), w("form", {
|
|
3161
3260
|
key: 2,
|
|
3162
3261
|
"data-testid": "form-content",
|
|
3163
|
-
onReset:
|
|
3164
|
-
onSubmit:
|
|
3262
|
+
onReset: He(k, ["prevent"]),
|
|
3263
|
+
onSubmit: He(B, ["prevent"])
|
|
3165
3264
|
}, [
|
|
3166
|
-
|
|
3265
|
+
V(g.$slots, "default", {}, void 0, !0),
|
|
3167
3266
|
e.errorMessage ? (h(), M(F, {
|
|
3168
3267
|
key: 0,
|
|
3169
|
-
"alert-message": e.errorMessage,
|
|
3170
3268
|
appearance: "danger",
|
|
3171
|
-
"data-testid": "form-error"
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3269
|
+
"data-testid": "form-error",
|
|
3270
|
+
message: e.errorMessage
|
|
3271
|
+
}, null, 8, ["message"])) : U("", !0),
|
|
3272
|
+
L("div", Uo, [
|
|
3273
|
+
V(g.$slots, "form-actions", {}, () => [
|
|
3274
|
+
e.config.jsonYamlFormsEnabled ? (h(), w("div", Po, [
|
|
3275
|
+
N(S, {
|
|
3177
3276
|
appearance: "tertiary",
|
|
3178
3277
|
"data-testid": "form-view-configuration",
|
|
3179
3278
|
onClick: y[0] || (y[0] = (K) => C())
|
|
3180
3279
|
}, {
|
|
3181
3280
|
default: x(() => [
|
|
3182
|
-
|
|
3281
|
+
z(O(T(a)("baseForm.actions.viewConfiguration")), 1)
|
|
3183
3282
|
]),
|
|
3184
3283
|
_: 1
|
|
3185
3284
|
})
|
|
3186
3285
|
])) : U("", !0),
|
|
3187
|
-
N(
|
|
3286
|
+
N(S, {
|
|
3188
3287
|
appearance: "secondary",
|
|
3189
3288
|
"data-testid": "form-cancel",
|
|
3190
3289
|
disabled: e.isReadonly,
|
|
3191
3290
|
type: "reset"
|
|
3192
3291
|
}, {
|
|
3193
3292
|
default: x(() => [
|
|
3194
|
-
|
|
3293
|
+
z(O(T(a)("baseForm.actions.cancel")), 1)
|
|
3195
3294
|
]),
|
|
3196
3295
|
_: 1
|
|
3197
3296
|
}, 8, ["disabled"]),
|
|
3198
|
-
N(
|
|
3297
|
+
N(S, {
|
|
3199
3298
|
appearance: "primary",
|
|
3200
3299
|
"data-testid": "form-submit",
|
|
3201
3300
|
disabled: u.value,
|
|
3202
3301
|
type: "submit"
|
|
3203
3302
|
}, {
|
|
3204
3303
|
default: x(() => [
|
|
3205
|
-
|
|
3304
|
+
z(O(T(a)("baseForm.actions.save")), 1)
|
|
3206
3305
|
]),
|
|
3207
3306
|
_: 1
|
|
3208
3307
|
}, 8, ["disabled"])
|
|
@@ -3247,10 +3346,10 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3247
3346
|
});
|
|
3248
3347
|
};
|
|
3249
3348
|
}
|
|
3250
|
-
}),
|
|
3349
|
+
}), Fl = /* @__PURE__ */ re(qo, [["__scopeId", "data-v-acb5a965"]]), Ho = {
|
|
3251
3350
|
key: 0,
|
|
3252
3351
|
"data-testid": "first-col"
|
|
3253
|
-
},
|
|
3352
|
+
}, Vo = /* @__PURE__ */ Y({
|
|
3254
3353
|
__name: "EntityBaseTableCell",
|
|
3255
3354
|
props: {
|
|
3256
3355
|
keyName: {
|
|
@@ -3301,30 +3400,30 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3301
3400
|
f();
|
|
3302
3401
|
}), (m, k) => {
|
|
3303
3402
|
const B = $("KTooltip");
|
|
3304
|
-
return h(),
|
|
3403
|
+
return h(), w("span", {
|
|
3305
3404
|
ref_key: "contentRef",
|
|
3306
3405
|
ref: s,
|
|
3307
3406
|
class: "content-wrapper"
|
|
3308
3407
|
}, [
|
|
3309
|
-
i.value ? (h(),
|
|
3408
|
+
i.value ? (h(), w("span", Ho, [
|
|
3310
3409
|
N(B, {
|
|
3311
3410
|
"max-width": "300",
|
|
3312
3411
|
placement: "bottomStart",
|
|
3313
3412
|
text: C.value ? u.value : ""
|
|
3314
3413
|
}, {
|
|
3315
3414
|
default: x(() => [
|
|
3316
|
-
|
|
3415
|
+
V(m.$slots, "default", {}, void 0, !0)
|
|
3317
3416
|
]),
|
|
3318
3417
|
_: 3
|
|
3319
3418
|
}, 8, ["text"])
|
|
3320
|
-
])) :
|
|
3419
|
+
])) : V(m.$slots, "default", { key: 1 }, void 0, !0)
|
|
3321
3420
|
], 512);
|
|
3322
3421
|
};
|
|
3323
3422
|
}
|
|
3324
|
-
}),
|
|
3423
|
+
}), Yo = /* @__PURE__ */ re(Vo, [["__scopeId", "data-v-c4379fd4"]]), zo = { class: "toolbar-container" }, Wo = {
|
|
3325
3424
|
key: 0,
|
|
3326
3425
|
class: "toolbar-button-container"
|
|
3327
|
-
},
|
|
3426
|
+
}, Jo = ["data-testid"], Go = /* @__PURE__ */ Y({
|
|
3328
3427
|
__name: "EntityBaseTable",
|
|
3329
3428
|
props: {
|
|
3330
3429
|
// table header configuration
|
|
@@ -3434,7 +3533,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3434
3533
|
},
|
|
3435
3534
|
emits: ["click:row", "sort", "clear-search-input", "empty-state-cta-clicked"],
|
|
3436
3535
|
setup(e, { emit: t }) {
|
|
3437
|
-
const n = e, r = t, { i18n: { t: i } } =
|
|
3536
|
+
const n = e, r = t, { i18n: { t: i } } = W.useI18n(), a = A(() => {
|
|
3438
3537
|
var y, v;
|
|
3439
3538
|
return typeof n.errorMessage == "string" ? {
|
|
3440
3539
|
hasError: !!n.errorMessage,
|
|
@@ -3493,7 +3592,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3493
3592
|
n.preferencesStorageKey && B(n.preferencesStorageKey, y);
|
|
3494
3593
|
};
|
|
3495
3594
|
return (y, v) => {
|
|
3496
|
-
const j = $("KIcon"), F = $("KButton"),
|
|
3595
|
+
const j = $("KIcon"), F = $("KButton"), S = $("KDropdown"), P = $("KTable"), I = $("KCard");
|
|
3497
3596
|
return h(), M(I, {
|
|
3498
3597
|
class: "kong-ui-entity-base-table",
|
|
3499
3598
|
title: e.title
|
|
@@ -3506,11 +3605,9 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3506
3605
|
"cell-attrs": p,
|
|
3507
3606
|
"disable-pagination-page-jump": e.disablePaginationPageJump,
|
|
3508
3607
|
"disable-sorting": e.disableSorting,
|
|
3509
|
-
"empty-state-action-button-icon": e.query ? "" : "plus",
|
|
3510
3608
|
"empty-state-action-message": e.query ? T(i)("baseTable.emptyState.noSearchResultsCtaText") : e.emptyStateOptions.ctaText,
|
|
3511
|
-
"empty-state-action-route": e.query ?
|
|
3512
|
-
"empty-state-icon": e.query ? "
|
|
3513
|
-
"empty-state-icon-size": "96",
|
|
3609
|
+
"empty-state-action-route": e.query ? void 0 : e.emptyStateOptions.ctaPath,
|
|
3610
|
+
"empty-state-icon-variant": e.query ? "search" : "kong",
|
|
3514
3611
|
"empty-state-message": e.query ? T(i)("baseTable.emptyState.noSearchResultsMessage") : e.emptyStateOptions.message,
|
|
3515
3612
|
"empty-state-title": e.query ? T(i)("baseTable.emptyState.noSearchResultsTitle") : e.emptyStateOptions.title,
|
|
3516
3613
|
"enable-client-sort": e.enableClientSort,
|
|
@@ -3530,15 +3627,15 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3530
3627
|
"onRow:click": m.value,
|
|
3531
3628
|
onSort: v[0] || (v[0] = (E) => k(E)),
|
|
3532
3629
|
"onUpdate:tablePreferences": g
|
|
3533
|
-
},
|
|
3630
|
+
}, be({
|
|
3534
3631
|
toolbar: x(({ state: E }) => [
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
y.$slots["toolbar-button"] ? (h(),
|
|
3538
|
-
|
|
3632
|
+
ke(L("div", zo, [
|
|
3633
|
+
V(y.$slots, "toolbar-filter", {}, void 0, !0),
|
|
3634
|
+
y.$slots["toolbar-button"] ? (h(), w("div", Wo, [
|
|
3635
|
+
V(y.$slots, "toolbar-button", {}, void 0, !0)
|
|
3539
3636
|
])) : U("", !0)
|
|
3540
3637
|
], 512), [
|
|
3541
|
-
[
|
|
3638
|
+
[Ae, l(E)]
|
|
3542
3639
|
])
|
|
3543
3640
|
]),
|
|
3544
3641
|
actions: x(({ row: E, rowKey: K, rowValue: q }) => [
|
|
@@ -3546,12 +3643,12 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3546
3643
|
class: "actions-container",
|
|
3547
3644
|
"data-testid": E.name
|
|
3548
3645
|
}, [
|
|
3549
|
-
N(
|
|
3646
|
+
N(S, {
|
|
3550
3647
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
3551
3648
|
width: e.dropdownMenuWidth
|
|
3552
3649
|
}, {
|
|
3553
3650
|
items: x(() => [
|
|
3554
|
-
|
|
3651
|
+
V(y.$slots, "actions", {
|
|
3555
3652
|
row: E,
|
|
3556
3653
|
rowKey: K,
|
|
3557
3654
|
rowValue: q
|
|
@@ -3575,43 +3672,50 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3575
3672
|
]),
|
|
3576
3673
|
_: 2
|
|
3577
3674
|
}, 1032, ["width"])
|
|
3578
|
-
], 8,
|
|
3675
|
+
], 8, Jo)
|
|
3579
3676
|
]),
|
|
3580
3677
|
_: 2
|
|
3581
3678
|
}, [
|
|
3582
3679
|
ie(e.tableHeaders, (E, K) => ({
|
|
3583
3680
|
name: K,
|
|
3584
|
-
fn: x(({ row: q, rowKey: G, rowValue:
|
|
3585
|
-
N(
|
|
3681
|
+
fn: x(({ row: q, rowKey: G, rowValue: de }) => [
|
|
3682
|
+
N(Yo, {
|
|
3586
3683
|
"key-name": String(K),
|
|
3587
3684
|
"row-el": u(q)
|
|
3588
3685
|
}, {
|
|
3589
3686
|
default: x(() => [
|
|
3590
|
-
|
|
3687
|
+
V(y.$slots, K, {
|
|
3591
3688
|
row: q,
|
|
3592
3689
|
rowKey: G,
|
|
3593
|
-
rowValue:
|
|
3690
|
+
rowValue: de
|
|
3594
3691
|
}, () => [
|
|
3595
|
-
|
|
3692
|
+
z(O(de), 1)
|
|
3596
3693
|
], !0)
|
|
3597
3694
|
]),
|
|
3598
3695
|
_: 2
|
|
3599
3696
|
}, 1032, ["key-name", "row-el"])
|
|
3600
3697
|
])
|
|
3601
|
-
}))
|
|
3602
|
-
|
|
3698
|
+
})),
|
|
3699
|
+
e.query ? void 0 : {
|
|
3700
|
+
name: "empty-state-action-icon",
|
|
3701
|
+
fn: x(() => [
|
|
3702
|
+
N(T(yo))
|
|
3703
|
+
]),
|
|
3704
|
+
key: "0"
|
|
3705
|
+
}
|
|
3706
|
+
]), 1032, ["cache-identifier", "disable-pagination-page-jump", "disable-sorting", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "enable-client-sort", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "has-error", "headers", "initial-fetcher-params", "is-loading", "pagination-type", "search-input", "onRow:click"])
|
|
3603
3707
|
]),
|
|
3604
3708
|
_: 3
|
|
3605
3709
|
}, 8, ["title"]);
|
|
3606
3710
|
};
|
|
3607
3711
|
}
|
|
3608
|
-
}),
|
|
3712
|
+
}), Ol = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-273124cf"]]), Zo = {
|
|
3609
3713
|
key: 0,
|
|
3610
3714
|
class: "kong-ui-entity-delete-error"
|
|
3611
|
-
},
|
|
3715
|
+
}, Qo = {
|
|
3612
3716
|
key: 1,
|
|
3613
3717
|
class: "description"
|
|
3614
|
-
},
|
|
3718
|
+
}, Xo = /* @__PURE__ */ Y({
|
|
3615
3719
|
__name: "EntityDeleteModal",
|
|
3616
3720
|
props: {
|
|
3617
3721
|
visible: {
|
|
@@ -3650,7 +3754,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3650
3754
|
},
|
|
3651
3755
|
emits: ["cancel", "proceed"],
|
|
3652
3756
|
setup(e, { emit: t }) {
|
|
3653
|
-
const { i18nT: n } =
|
|
3757
|
+
const { i18nT: n } = W.useI18n(), r = e, i = t, a = A(() => r.needConfirm ? r.entityName : ""), o = () => {
|
|
3654
3758
|
i("cancel");
|
|
3655
3759
|
}, l = () => {
|
|
3656
3760
|
i("proceed");
|
|
@@ -3669,10 +3773,10 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3669
3773
|
onProceed: l
|
|
3670
3774
|
}, {
|
|
3671
3775
|
default: x(() => [
|
|
3672
|
-
e.error ? (h(),
|
|
3776
|
+
e.error ? (h(), w("div", Zo, [
|
|
3673
3777
|
N(d, { appearance: "danger" }, {
|
|
3674
|
-
|
|
3675
|
-
|
|
3778
|
+
default: x(() => [
|
|
3779
|
+
z(O(e.error), 1)
|
|
3676
3780
|
]),
|
|
3677
3781
|
_: 1
|
|
3678
3782
|
})
|
|
@@ -3681,9 +3785,9 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3681
3785
|
class: "message",
|
|
3682
3786
|
keypath: r.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
|
|
3683
3787
|
tag: "p"
|
|
3684
|
-
},
|
|
3788
|
+
}, be({
|
|
3685
3789
|
entityType: x(() => [
|
|
3686
|
-
|
|
3790
|
+
z(O(r.entityType), 1)
|
|
3687
3791
|
]),
|
|
3688
3792
|
_: 2
|
|
3689
3793
|
}, [
|
|
@@ -3695,8 +3799,8 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3695
3799
|
key: "0"
|
|
3696
3800
|
} : void 0
|
|
3697
3801
|
]), 1032, ["keypath"]),
|
|
3698
|
-
r.description || s.$slots.description ? (h(),
|
|
3699
|
-
|
|
3802
|
+
r.description || s.$slots.description ? (h(), w("div", Qo, [
|
|
3803
|
+
V(s.$slots, "description", {}, () => [
|
|
3700
3804
|
L("p", null, O(r.description), 1)
|
|
3701
3805
|
], !0)
|
|
3702
3806
|
])) : U("", !0)
|
|
@@ -3705,13 +3809,13 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3705
3809
|
}, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
|
|
3706
3810
|
};
|
|
3707
3811
|
}
|
|
3708
|
-
}),
|
|
3812
|
+
}), $l = /* @__PURE__ */ re(Xo, [["__scopeId", "data-v-4361d622"]]), el = {
|
|
3709
3813
|
fill: "none",
|
|
3710
3814
|
height: "20",
|
|
3711
3815
|
viewBox: "0 0 20 20",
|
|
3712
3816
|
width: "20",
|
|
3713
3817
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3714
|
-
},
|
|
3818
|
+
}, tl = {
|
|
3715
3819
|
id: "mask0_180_20349",
|
|
3716
3820
|
height: "20",
|
|
3717
3821
|
maskUnits: "userSpaceOnUse",
|
|
@@ -3719,7 +3823,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3719
3823
|
width: "20",
|
|
3720
3824
|
x: "0",
|
|
3721
3825
|
y: "0"
|
|
3722
|
-
},
|
|
3826
|
+
}, nl = ["fill"], rl = { mask: "url(#mask0_180_20349)" }, il = ["fill"], Et = /* @__PURE__ */ Y({
|
|
3723
3827
|
__name: "IconFilter",
|
|
3724
3828
|
props: {
|
|
3725
3829
|
color: {
|
|
@@ -3728,26 +3832,26 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3728
3832
|
}
|
|
3729
3833
|
},
|
|
3730
3834
|
setup(e) {
|
|
3731
|
-
return (t, n) => (h(),
|
|
3732
|
-
L("mask",
|
|
3835
|
+
return (t, n) => (h(), w("svg", el, [
|
|
3836
|
+
L("mask", tl, [
|
|
3733
3837
|
L("rect", {
|
|
3734
3838
|
fill: e.color,
|
|
3735
3839
|
height: "20",
|
|
3736
3840
|
width: "20"
|
|
3737
|
-
}, null, 8,
|
|
3841
|
+
}, null, 8, nl)
|
|
3738
3842
|
]),
|
|
3739
|
-
L("g",
|
|
3843
|
+
L("g", rl, [
|
|
3740
3844
|
L("path", {
|
|
3741
3845
|
d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
|
|
3742
3846
|
fill: e.color
|
|
3743
|
-
}, null, 8,
|
|
3847
|
+
}, null, 8, il)
|
|
3744
3848
|
])
|
|
3745
3849
|
]));
|
|
3746
3850
|
}
|
|
3747
|
-
}),
|
|
3851
|
+
}), al = {
|
|
3748
3852
|
key: 1,
|
|
3749
3853
|
class: "kong-ui-entity-filter"
|
|
3750
|
-
},
|
|
3854
|
+
}, ol = { class: "menu-item-title" }, ll = { class: "menu-item-indicator" }, sl = { class: "menu-item-body" }, cl = ["for"], ul = { class: "menu-item-buttons" }, dl = { class: "filter-clear-button-container" }, fl = /* @__PURE__ */ Y({
|
|
3751
3855
|
__name: "EntityFilter",
|
|
3752
3856
|
props: {
|
|
3753
3857
|
// filter config, either exact match or fuzzy match
|
|
@@ -3767,7 +3871,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3767
3871
|
},
|
|
3768
3872
|
emits: ["update:modelValue"],
|
|
3769
3873
|
setup(e, { emit: t }) {
|
|
3770
|
-
const { i18n: { t: n } } =
|
|
3874
|
+
const { i18n: { t: n } } = W.useI18n(), r = e, i = t, a = R(!1), o = R({}), l = A(() => {
|
|
3771
3875
|
const b = [];
|
|
3772
3876
|
return new URLSearchParams(r.modelValue).forEach((D, g) => {
|
|
3773
3877
|
D !== "" && b.push(g);
|
|
@@ -3825,15 +3929,15 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3825
3929
|
N(Et)
|
|
3826
3930
|
]),
|
|
3827
3931
|
after: x(() => [
|
|
3828
|
-
|
|
3932
|
+
ke(N(T(To), {
|
|
3829
3933
|
class: "kong-ui-entity-filter-clear",
|
|
3830
3934
|
onClick: u
|
|
3831
3935
|
}, null, 512), [
|
|
3832
|
-
[
|
|
3936
|
+
[Ae, e.modelValue !== ""]
|
|
3833
3937
|
])
|
|
3834
3938
|
]),
|
|
3835
3939
|
_: 1
|
|
3836
|
-
}, 8, ["model-value", "placeholder"])) : (h(),
|
|
3940
|
+
}, 8, ["model-value", "placeholder"])) : (h(), w("div", al, [
|
|
3837
3941
|
N(y, {
|
|
3838
3942
|
appearance: "tertiary",
|
|
3839
3943
|
"data-testid": "filter-button",
|
|
@@ -3841,58 +3945,58 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3841
3945
|
}, {
|
|
3842
3946
|
default: x(() => [
|
|
3843
3947
|
N(Et),
|
|
3844
|
-
|
|
3948
|
+
z(" " + O(T(n)("filter.filterButtonText")) + " " + O(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
|
|
3845
3949
|
]),
|
|
3846
3950
|
_: 1
|
|
3847
3951
|
}),
|
|
3848
|
-
|
|
3952
|
+
ke(L("div", {
|
|
3849
3953
|
class: "kong-ui-entity-filter-backdrop",
|
|
3850
3954
|
onClick: c
|
|
3851
3955
|
}, null, 512), [
|
|
3852
|
-
[
|
|
3956
|
+
[Ae, a.value]
|
|
3853
3957
|
]),
|
|
3854
|
-
|
|
3958
|
+
ke(N(F, { class: "kong-ui-entity-filter-menu" }, {
|
|
3855
3959
|
body: x(() => [
|
|
3856
|
-
(h(!0),
|
|
3857
|
-
key:
|
|
3858
|
-
"data-testid":
|
|
3960
|
+
(h(!0), w(oe, null, ie(s.value, (S, P) => (h(), M(j, {
|
|
3961
|
+
key: S.value,
|
|
3962
|
+
"data-testid": S.value,
|
|
3859
3963
|
expandable: "",
|
|
3860
3964
|
"last-menu-item": P === s.value.length - 1
|
|
3861
3965
|
}, {
|
|
3862
3966
|
itemTitle: x(() => [
|
|
3863
|
-
L("span",
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
[
|
|
3967
|
+
L("span", ol, [
|
|
3968
|
+
z(O(S.label) + " ", 1),
|
|
3969
|
+
ke(L("span", ll, null, 512), [
|
|
3970
|
+
[Ae, l.value.includes(S.value)]
|
|
3867
3971
|
])
|
|
3868
3972
|
])
|
|
3869
3973
|
]),
|
|
3870
3974
|
itemBody: x(() => {
|
|
3871
3975
|
var I, E;
|
|
3872
3976
|
return [
|
|
3873
|
-
L("div",
|
|
3977
|
+
L("div", sl, [
|
|
3874
3978
|
L("label", {
|
|
3875
3979
|
class: "menu-item-label",
|
|
3876
|
-
for: p(
|
|
3877
|
-
}, O(T(n)("filter.fieldLabel")), 9,
|
|
3878
|
-
((E = (I = e.config.schema) == null ? void 0 : I[
|
|
3980
|
+
for: p(S.value)
|
|
3981
|
+
}, O(T(n)("filter.fieldLabel")), 9, cl),
|
|
3982
|
+
((E = (I = e.config.schema) == null ? void 0 : I[S.value]) == null ? void 0 : E.type) === "select" ? (h(), M(v, {
|
|
3879
3983
|
key: 0,
|
|
3880
|
-
id: p(
|
|
3881
|
-
modelValue: o.value[
|
|
3882
|
-
"onUpdate:modelValue": (K) => o.value[
|
|
3883
|
-
items: f(
|
|
3984
|
+
id: p(S.value),
|
|
3985
|
+
modelValue: o.value[S.value],
|
|
3986
|
+
"onUpdate:modelValue": (K) => o.value[S.value] = K,
|
|
3987
|
+
items: f(S.value),
|
|
3884
3988
|
placeholder: T(n)("filter.selectPlaceholder")
|
|
3885
3989
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (h(), M(g, {
|
|
3886
3990
|
key: 1,
|
|
3887
|
-
id: p(
|
|
3888
|
-
modelValue: o.value[
|
|
3889
|
-
"onUpdate:modelValue": (K) => o.value[
|
|
3991
|
+
id: p(S.value),
|
|
3992
|
+
modelValue: o.value[S.value],
|
|
3993
|
+
"onUpdate:modelValue": (K) => o.value[S.value] = K,
|
|
3890
3994
|
autocomplete: "off",
|
|
3891
3995
|
placeholder: T(n)("filter.inputPlaceholder"),
|
|
3892
|
-
type: C(
|
|
3996
|
+
type: C(S.value)
|
|
3893
3997
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
|
|
3894
3998
|
]),
|
|
3895
|
-
L("div",
|
|
3999
|
+
L("div", ul, [
|
|
3896
4000
|
N(y, {
|
|
3897
4001
|
appearance: "tertiary",
|
|
3898
4002
|
"data-testid": "apply-filter",
|
|
@@ -3900,7 +4004,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3900
4004
|
onClick: D[0] || (D[0] = (K) => B(!0))
|
|
3901
4005
|
}, {
|
|
3902
4006
|
default: x(() => [
|
|
3903
|
-
|
|
4007
|
+
z(O(T(n)("filter.applyButtonText")), 1)
|
|
3904
4008
|
]),
|
|
3905
4009
|
_: 1
|
|
3906
4010
|
}),
|
|
@@ -3908,10 +4012,10 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3908
4012
|
appearance: "tertiary",
|
|
3909
4013
|
"data-testid": "clear-filter",
|
|
3910
4014
|
size: "small",
|
|
3911
|
-
onClick: (K) => m(
|
|
4015
|
+
onClick: (K) => m(S.value)
|
|
3912
4016
|
}, {
|
|
3913
4017
|
default: x(() => [
|
|
3914
|
-
|
|
4018
|
+
z(O(T(n)("filter.clearButtonText")), 1)
|
|
3915
4019
|
]),
|
|
3916
4020
|
_: 2
|
|
3917
4021
|
}, 1032, ["onClick"])
|
|
@@ -3922,14 +4026,14 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3922
4026
|
}, 1032, ["data-testid", "last-menu-item"]))), 128))
|
|
3923
4027
|
]),
|
|
3924
4028
|
actionButton: x(() => [
|
|
3925
|
-
L("div",
|
|
4029
|
+
L("div", dl, [
|
|
3926
4030
|
N(y, {
|
|
3927
4031
|
appearance: "tertiary",
|
|
3928
4032
|
size: "small",
|
|
3929
4033
|
onClick: k
|
|
3930
4034
|
}, {
|
|
3931
4035
|
default: x(() => [
|
|
3932
|
-
|
|
4036
|
+
z(O(T(n)("filter.clearAllButtonText")), 1)
|
|
3933
4037
|
]),
|
|
3934
4038
|
_: 1
|
|
3935
4039
|
})
|
|
@@ -3937,12 +4041,12 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3937
4041
|
]),
|
|
3938
4042
|
_: 1
|
|
3939
4043
|
}, 512), [
|
|
3940
|
-
[
|
|
4044
|
+
[Ae, a.value]
|
|
3941
4045
|
])
|
|
3942
4046
|
]));
|
|
3943
4047
|
};
|
|
3944
4048
|
}
|
|
3945
|
-
}),
|
|
4049
|
+
}), Ll = /* @__PURE__ */ re(fl, [["__scopeId", "data-v-206cc415"]]), Nl = /* @__PURE__ */ Y({
|
|
3946
4050
|
__name: "EntityToggleModal",
|
|
3947
4051
|
props: {
|
|
3948
4052
|
visible: {
|
|
@@ -3974,7 +4078,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
3974
4078
|
},
|
|
3975
4079
|
emits: ["cancel", "proceed"],
|
|
3976
4080
|
setup(e, { emit: t }) {
|
|
3977
|
-
const { i18n: { t: n }, i18nT: r } =
|
|
4081
|
+
const { i18n: { t: n }, i18nT: r } = W.useI18n(), i = e, a = t, o = R(!1), l = A(
|
|
3978
4082
|
() => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
|
|
3979
4083
|
), s = A(
|
|
3980
4084
|
() => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
|
|
@@ -4008,7 +4112,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4008
4112
|
scope: "global"
|
|
4009
4113
|
}, {
|
|
4010
4114
|
entityType: x(() => [
|
|
4011
|
-
|
|
4115
|
+
z(O(e.entityType), 1)
|
|
4012
4116
|
]),
|
|
4013
4117
|
entityName: x(() => [
|
|
4014
4118
|
L("strong", null, O(e.entityName), 1)
|
|
@@ -4021,7 +4125,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4021
4125
|
]);
|
|
4022
4126
|
};
|
|
4023
4127
|
}
|
|
4024
|
-
}),
|
|
4128
|
+
}), Bl = /* @__PURE__ */ Y({
|
|
4025
4129
|
__name: "PermissionsWrapper",
|
|
4026
4130
|
props: {
|
|
4027
4131
|
/**
|
|
@@ -4046,21 +4150,21 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4046
4150
|
const t = e, n = R(void 0), r = A(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
|
|
4047
4151
|
return Ce(() => t.authFunction, async () => {
|
|
4048
4152
|
n.value = await t.authFunction();
|
|
4049
|
-
}, { immediate: !0 }), (i, a) => r.value ?
|
|
4153
|
+
}, { immediate: !0 }), (i, a) => r.value ? V(i.$slots, "default", {
|
|
4050
4154
|
key: 0,
|
|
4051
4155
|
isAllowed: n.value
|
|
4052
4156
|
}) : U("", !0);
|
|
4053
4157
|
}
|
|
4054
|
-
}),
|
|
4158
|
+
}), pl = { class: "form-section-wrapper" }, hl = {
|
|
4055
4159
|
key: 0,
|
|
4056
4160
|
class: "form-section-title"
|
|
4057
|
-
},
|
|
4161
|
+
}, ml = {
|
|
4058
4162
|
key: 1,
|
|
4059
4163
|
class: "form-section-description"
|
|
4060
|
-
},
|
|
4164
|
+
}, gl = {
|
|
4061
4165
|
key: 2,
|
|
4062
4166
|
class: "form-section-footer"
|
|
4063
|
-
},
|
|
4167
|
+
}, yl = { class: "form-section-content" }, vl = /* @__PURE__ */ Y({
|
|
4064
4168
|
__name: "EntityFormSection",
|
|
4065
4169
|
props: {
|
|
4066
4170
|
title: {
|
|
@@ -4085,38 +4189,38 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4085
4189
|
}
|
|
4086
4190
|
},
|
|
4087
4191
|
setup(e) {
|
|
4088
|
-
const t =
|
|
4089
|
-
return (n, r) => (h(),
|
|
4090
|
-
class:
|
|
4192
|
+
const t = Ge();
|
|
4193
|
+
return (n, r) => (h(), w("fieldset", {
|
|
4194
|
+
class: ve(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
|
|
4091
4195
|
}, [
|
|
4092
|
-
L("div",
|
|
4093
|
-
e.hideInfoHeader ? U("", !0) : (h(),
|
|
4196
|
+
L("div", pl, [
|
|
4197
|
+
e.hideInfoHeader ? U("", !0) : (h(), w("div", {
|
|
4094
4198
|
key: 0,
|
|
4095
|
-
class:
|
|
4199
|
+
class: ve(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
4096
4200
|
}, [
|
|
4097
|
-
e.title ? (h(),
|
|
4098
|
-
e.description || T(t).description ? (h(),
|
|
4099
|
-
|
|
4201
|
+
e.title ? (h(), w("h4", hl, O(e.title), 1)) : U("", !0),
|
|
4202
|
+
e.description || T(t).description ? (h(), w("div", ml, [
|
|
4203
|
+
V(n.$slots, "description", {}, () => [
|
|
4100
4204
|
L("p", null, O(e.description), 1)
|
|
4101
4205
|
], !0)
|
|
4102
4206
|
])) : U("", !0),
|
|
4103
|
-
T(t).footer ? (h(),
|
|
4104
|
-
|
|
4207
|
+
T(t).footer ? (h(), w("div", gl, [
|
|
4208
|
+
V(n.$slots, "footer", {}, void 0, !0)
|
|
4105
4209
|
])) : U("", !0)
|
|
4106
4210
|
], 2)),
|
|
4107
|
-
L("div",
|
|
4108
|
-
|
|
4211
|
+
L("div", yl, [
|
|
4212
|
+
V(n.$slots, "default", {}, void 0, !0)
|
|
4109
4213
|
])
|
|
4110
4214
|
])
|
|
4111
4215
|
], 2));
|
|
4112
4216
|
}
|
|
4113
|
-
}),
|
|
4217
|
+
}), Rl = /* @__PURE__ */ re(vl, [["__scopeId", "data-v-3565daa7"]]), bl = {
|
|
4114
4218
|
class: "kong-ui-public-entity-link",
|
|
4115
4219
|
"data-testid": "entity-link-parent"
|
|
4116
|
-
},
|
|
4220
|
+
}, xl = {
|
|
4117
4221
|
key: 0,
|
|
4118
4222
|
class: "deleted-entity"
|
|
4119
|
-
},
|
|
4223
|
+
}, Cl = { key: 1 }, _l = ["onClick"], kl = /* @__PURE__ */ Y({
|
|
4120
4224
|
__name: "EntityLink",
|
|
4121
4225
|
props: {
|
|
4122
4226
|
entityLinkData: {
|
|
@@ -4140,15 +4244,15 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4140
4244
|
}
|
|
4141
4245
|
},
|
|
4142
4246
|
setup(e) {
|
|
4143
|
-
const t = e, n = R(), { isTruncated: r } =
|
|
4247
|
+
const t = e, n = R(), { isTruncated: r } = W.useTruncationDetector(n), { i18n: { t: i } } = W.useI18n(), a = i("global.actions.copyId"), o = R(a), l = A(() => t.entityLinkData.deleted ?? !1), s = A(() => t.entityLinkData.id.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id), c = A(() => `${s.value.toString().slice(0, 5)} (deleted)`), d = async (u) => {
|
|
4144
4248
|
await u(s.value || "") && (o.value = i("global.actions.copyToClipboard"), setTimeout(() => {
|
|
4145
4249
|
o.value = a;
|
|
4146
4250
|
}, 1800));
|
|
4147
4251
|
};
|
|
4148
4252
|
return (u, p) => {
|
|
4149
4253
|
const f = $("KTooltip"), C = $("KExternalLink"), m = $("KClipboardProvider");
|
|
4150
|
-
return h(),
|
|
4151
|
-
l.value ? (h(),
|
|
4254
|
+
return h(), w("div", bl, [
|
|
4255
|
+
l.value ? (h(), w("div", xl, O(c.value), 1)) : s.value ? s.value ? (h(), M(C, {
|
|
4152
4256
|
key: 2,
|
|
4153
4257
|
class: "entity-link",
|
|
4154
4258
|
"hide-icon": !e.newWindow,
|
|
@@ -4170,7 +4274,7 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4170
4274
|
}, 8, ["text"])
|
|
4171
4275
|
]),
|
|
4172
4276
|
_: 1
|
|
4173
|
-
}, 8, ["hide-icon", "href", "target"])) : U("", !0) : (h(),
|
|
4277
|
+
}, 8, ["hide-icon", "href", "target"])) : U("", !0) : (h(), w("div", Cl, O(" – "))),
|
|
4174
4278
|
s.value && e.allowCopy ? (h(), M(f, {
|
|
4175
4279
|
key: o.value,
|
|
4176
4280
|
class: "copy-uuid-tooltip",
|
|
@@ -4183,15 +4287,15 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4183
4287
|
default: x(({ copyToClipboard: k }) => [
|
|
4184
4288
|
L("span", {
|
|
4185
4289
|
class: "entity-link-copy-id",
|
|
4186
|
-
onClick:
|
|
4290
|
+
onClick: He((B) => d(k), ["stop"])
|
|
4187
4291
|
}, [
|
|
4188
|
-
N(T(
|
|
4292
|
+
N(T(Bo), {
|
|
4189
4293
|
class: "copy-icon",
|
|
4190
4294
|
color: T(Cr),
|
|
4191
4295
|
"data-testid": "copy-id",
|
|
4192
4296
|
size: T(kr)
|
|
4193
4297
|
}, null, 8, ["color", "size"])
|
|
4194
|
-
], 8,
|
|
4298
|
+
], 8, _l)
|
|
4195
4299
|
]),
|
|
4196
4300
|
_: 1
|
|
4197
4301
|
})
|
|
@@ -4201,36 +4305,36 @@ const ao = { class: "yaml-config" }, Sn = /* @__PURE__ */ W({
|
|
|
4201
4305
|
]);
|
|
4202
4306
|
};
|
|
4203
4307
|
}
|
|
4204
|
-
}),
|
|
4308
|
+
}), Ml = /* @__PURE__ */ re(kl, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Kl, useDeleteUrlBuilder: Dl, useErrors: jl, useExternalLinkCreator: Ul, useFetchUrlBuilder: Pl, useFetcher: ql, useDebouncedFilter: Hl, useStringHelpers: Vl, useHelpers: Yl, useGatewayFeatureSupported: zl, useTruncationDetector: Wl } = W;
|
|
4205
4309
|
export {
|
|
4206
4310
|
uo as ConfigCardDisplay,
|
|
4207
4311
|
Rt as ConfigCardItem,
|
|
4208
4312
|
ne as ConfigurationSchemaSection,
|
|
4209
4313
|
H as ConfigurationSchemaType,
|
|
4210
|
-
|
|
4211
|
-
|
|
4314
|
+
Tl as EntityBaseConfigCard,
|
|
4315
|
+
Fl as EntityBaseForm,
|
|
4212
4316
|
Dn as EntityBaseFormType,
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4317
|
+
Ol as EntityBaseTable,
|
|
4318
|
+
$l as EntityDeleteModal,
|
|
4319
|
+
Ll as EntityFilter,
|
|
4320
|
+
Rl as EntityFormSection,
|
|
4321
|
+
Ml as EntityLink,
|
|
4322
|
+
Nl as EntityToggleModal,
|
|
4219
4323
|
Kn as EntityTypes,
|
|
4220
|
-
|
|
4324
|
+
he as FetcherStatus,
|
|
4221
4325
|
gr as InternalLinkItem,
|
|
4222
4326
|
Mt as JsonCodeBlock,
|
|
4223
|
-
|
|
4327
|
+
Bl as PermissionsWrapper,
|
|
4224
4328
|
Sn as YamlCodeBlock,
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4329
|
+
Kl as useAxios,
|
|
4330
|
+
Hl as useDebouncedFilter,
|
|
4331
|
+
Dl as useDeleteUrlBuilder,
|
|
4332
|
+
jl as useErrors,
|
|
4333
|
+
Ul as useExternalLinkCreator,
|
|
4334
|
+
Pl as useFetchUrlBuilder,
|
|
4335
|
+
ql as useFetcher,
|
|
4336
|
+
zl as useGatewayFeatureSupported,
|
|
4337
|
+
Yl as useHelpers,
|
|
4338
|
+
Vl as useStringHelpers,
|
|
4339
|
+
Wl as useTruncationDetector
|
|
4236
4340
|
};
|