@kong-ui-public/entities-shared 2.10.4 → 2.10.5-pr.1246.fa61c0c3.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 +420 -401
- package/dist/entities-shared.umd.js +7 -7
- package/dist/style.css +1 -1
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +15 -0
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -1
- package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +9 -0
- package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +1 -1
- package/dist/types/composables/useFetchUrlBuilder.d.ts.map +1 -1
- package/dist/types/types/app-config.d.ts +2 -0
- package/dist/types/types/app-config.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as In, ref as
|
|
1
|
+
import { inject as In, ref as K, unref as I, computed as k, watch as Ae, defineComponent as H, openBlock as p, createBlock as R, resolveDynamicComponent as ce, normalizeClass as de, withCtx as b, createElementBlock as S, createElementVNode as $, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as B, createVNode as N, createTextVNode as V, useCssVars as Tt, useSlots as Ge, renderSlot as Y, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as Le, onBeforeMount as Ft, withModifiers as He, onMounted as On, onUnmounted as Ln, withDirectives as he, vShow as me, withKeys as $n, Teleport as Nn } from "vue";
|
|
2
2
|
import ot from "axios";
|
|
3
3
|
import { createI18n as Bn, i18nTComponent as Rn } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as Kn } from "@kong/kongponents";
|
|
@@ -248,10 +248,10 @@ function tr(e, t, n, r = {
|
|
|
248
248
|
headers: e.requestHeaders
|
|
249
249
|
}), { i18n: { t: a } } = Qe(), { debounce: o } = qn(), l = o(async (h) => {
|
|
250
250
|
await ee(h);
|
|
251
|
-
}, 200), s =
|
|
251
|
+
}, 200), s = K(!1), c = K(""), d = K(""), u = K([]), m = K([]), f = K(void 0), x = I(t);
|
|
252
252
|
let v = `${e.apiBaseUrl}${x}`;
|
|
253
253
|
e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
|
|
254
|
-
const { isValidUuid:
|
|
254
|
+
const { isValidUuid: A } = Ot(), M = async () => {
|
|
255
255
|
try {
|
|
256
256
|
s.value = !0;
|
|
257
257
|
const { data: h } = await i.get(`${v}?size=${n}`);
|
|
@@ -261,8 +261,8 @@ function tr(e, t, n, r = {
|
|
|
261
261
|
} finally {
|
|
262
262
|
s.value = !1;
|
|
263
263
|
}
|
|
264
|
-
}, E =
|
|
265
|
-
var y, g,
|
|
264
|
+
}, E = K(""), ee = async (h) => {
|
|
265
|
+
var y, g, L;
|
|
266
266
|
if (E.value !== h)
|
|
267
267
|
if (E.value = h || "", f.value === void 0)
|
|
268
268
|
try {
|
|
@@ -273,19 +273,19 @@ function tr(e, t, n, r = {
|
|
|
273
273
|
r.fetchedItemsKey in _ ? u.value = _[r.fetchedItemsKey] : _ != null && _.id ? u.value = [_] : u.value = [];
|
|
274
274
|
} else if (h) {
|
|
275
275
|
const F = [];
|
|
276
|
-
|
|
276
|
+
A(h) && r.searchKeys.includes("id") ? F.push((async () => {
|
|
277
277
|
const { data: T } = await i.get(`${v}/${h}`);
|
|
278
278
|
return [T[r.fetchedItemsKey] ?? T];
|
|
279
279
|
})()) : F.push(
|
|
280
280
|
...r.searchKeys.filter((T) => T !== "id").map(async (T) => {
|
|
281
|
-
const { data:
|
|
282
|
-
return
|
|
281
|
+
const { data: w } = await i.get(`${v}?${T}=${h}`);
|
|
282
|
+
return w[r.fetchedItemsKey];
|
|
283
283
|
})
|
|
284
284
|
);
|
|
285
285
|
const _ = await Promise.all(F), j = /* @__PURE__ */ new Set();
|
|
286
286
|
u.value = [], (y = _ == null ? void 0 : _.forEach) == null || y.call(_, (T) => {
|
|
287
|
-
var
|
|
288
|
-
(
|
|
287
|
+
var w;
|
|
288
|
+
(w = T == null ? void 0 : T.forEach) == null || w.call(T, (U) => {
|
|
289
289
|
j.has(U.id) || (j.add(U.id), u.value.push(U));
|
|
290
290
|
});
|
|
291
291
|
});
|
|
@@ -297,12 +297,12 @@ function tr(e, t, n, r = {
|
|
|
297
297
|
s.value = !1;
|
|
298
298
|
}
|
|
299
299
|
else
|
|
300
|
-
s.value = !0, d.value = "", h ? (u.value = (
|
|
300
|
+
s.value = !0, d.value = "", h ? (u.value = (L = f.value) == null ? void 0 : L.filter((F) => {
|
|
301
301
|
var j;
|
|
302
302
|
let _ = !1;
|
|
303
303
|
for (const T of r.searchKeys) {
|
|
304
|
-
const
|
|
305
|
-
|
|
304
|
+
const w = typeof F[T] == "string" ? (j = F[T]) == null ? void 0 : j.toLowerCase() : F[T];
|
|
305
|
+
w != null && w.includes(h.toLowerCase()) && (_ = !0);
|
|
306
306
|
}
|
|
307
307
|
return _;
|
|
308
308
|
}), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = f.value, s.value = !1;
|
|
@@ -364,8 +364,8 @@ function ir(e) {
|
|
|
364
364
|
return console.warn("Failed to build valid URL:", r), "";
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
const n =
|
|
367
|
+
function Lt(e, t) {
|
|
368
|
+
const n = K(I(e)), r = K(I(t)), i = k(
|
|
369
369
|
() => !!(n.value.app === "konnect" || n.value.isExactMatch)
|
|
370
370
|
), a = k(
|
|
371
371
|
() => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
|
|
@@ -374,7 +374,7 @@ function $t(e, t) {
|
|
|
374
374
|
const { page: l, pageSize: s, offset: c, sortColumnKey: d, sortColumnOrder: u, query: m } = o;
|
|
375
375
|
try {
|
|
376
376
|
let f = new URL(a.value.href);
|
|
377
|
-
return i.value && m ? (f.search = "", f = n.value.
|
|
377
|
+
return i.value && m ? (f.search = "", f = n.value.isExactMatch ? new URL(`${f.href}/${m}/`) : new URL(`${f.href}?filter[name][contains]=${m}`)) : (i.value || new URLSearchParams(m).forEach((x, v) => {
|
|
378
378
|
f.searchParams.append(v, x);
|
|
379
379
|
}), d && f.searchParams.append("sort_by", d), u === "desc" && f.searchParams.append("sort_desc", "1"), f.searchParams.append("size", String(s))), c && l !== 1 && f.searchParams.append("offset", String(c)), f.href;
|
|
380
380
|
} catch (f) {
|
|
@@ -385,7 +385,7 @@ function $t(e, t) {
|
|
|
385
385
|
function ar(e, t, n = "data") {
|
|
386
386
|
const r = I(t), { axiosInstance: i } = Ze({
|
|
387
387
|
headers: e.requestHeaders
|
|
388
|
-
}), a =
|
|
388
|
+
}), a = Lt(e, r), o = K({
|
|
389
389
|
status: ve.Idle
|
|
390
390
|
});
|
|
391
391
|
return { fetcher: async (s) => {
|
|
@@ -433,10 +433,10 @@ function or() {
|
|
|
433
433
|
convertKeyToTitle: e
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
|
-
const
|
|
436
|
+
const $t = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, lt = (e) => {
|
|
437
437
|
if (typeof e != "string")
|
|
438
438
|
throw new TypeError("Invalid argument expected string");
|
|
439
|
-
const t = e.match(
|
|
439
|
+
const t = e.match($t);
|
|
440
440
|
if (!t)
|
|
441
441
|
throw new Error(`Invalid argument not valid semver ('${e}' received)`);
|
|
442
442
|
return t.shift(), t;
|
|
@@ -474,7 +474,7 @@ const Lt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
474
474
|
throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
|
|
475
475
|
if (ft.indexOf(e) === -1)
|
|
476
476
|
throw new Error(`Invalid operator, expected one of ${ft.join("|")}`);
|
|
477
|
-
}, dr = (e) => typeof e == "string" && /^[v\d]/.test(e) &&
|
|
477
|
+
}, dr = (e) => typeof e == "string" && /^[v\d]/.test(e) && $t.test(e);
|
|
478
478
|
function fr(e) {
|
|
479
479
|
const { gatewayInfo: t, supportedRange: n } = e;
|
|
480
480
|
if (!t)
|
|
@@ -489,7 +489,7 @@ function fr(e) {
|
|
|
489
489
|
return !(o && dt(i, o, "<") || l && dt(i, l, ">"));
|
|
490
490
|
}
|
|
491
491
|
function pr(e) {
|
|
492
|
-
const t =
|
|
492
|
+
const t = K(0), n = K(0), r = K(!1);
|
|
493
493
|
return Ae(e, (a) => {
|
|
494
494
|
a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
|
|
495
495
|
}), {
|
|
@@ -503,7 +503,7 @@ const z = {
|
|
|
503
503
|
useErrors: rr,
|
|
504
504
|
useExternalLinkCreator: ir,
|
|
505
505
|
useFetcher: ar,
|
|
506
|
-
useFetchUrlBuilder:
|
|
506
|
+
useFetchUrlBuilder: Lt,
|
|
507
507
|
useHelpers: Ot,
|
|
508
508
|
useStringHelpers: or,
|
|
509
509
|
useI18n: Qe,
|
|
@@ -536,14 +536,14 @@ const z = {
|
|
|
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) => (p(),
|
|
540
|
-
class:
|
|
539
|
+
return (s, c) => (p(), R(ce(e.isArrayItem ? "fieldset" : "div"), {
|
|
540
|
+
class: de(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
541
541
|
}, {
|
|
542
542
|
default: b(() => [
|
|
543
|
-
e.isArrayItem ? (p(),
|
|
544
|
-
|
|
543
|
+
e.isArrayItem ? (p(), S("legend", hr, [
|
|
544
|
+
$("b", null, O(l.value), 1)
|
|
545
545
|
])) : D("", !0),
|
|
546
|
-
(p(!0),
|
|
546
|
+
(p(!0), S(le, null, ie(Object.keys(o.value), (d, u) => (p(), R(Rt, {
|
|
547
547
|
key: `${i.value}-property-${u}`,
|
|
548
548
|
item: {
|
|
549
549
|
key: d,
|
|
@@ -573,14 +573,14 @@ const z = {
|
|
|
573
573
|
const { i18n: { t } } = z.useI18n();
|
|
574
574
|
return (n, r) => {
|
|
575
575
|
const i = B("KButton");
|
|
576
|
-
return p(),
|
|
576
|
+
return p(), S("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: b(() => [
|
|
583
|
-
|
|
583
|
+
V(O(e.item.value || I(t)("baseConfigCard.commonFields.link")), 1)
|
|
584
584
|
]),
|
|
585
585
|
_: 1
|
|
586
586
|
})
|
|
@@ -599,17 +599,17 @@ const z = {
|
|
|
599
599
|
const { i18n: { t } } = z.useI18n();
|
|
600
600
|
return (n, r) => {
|
|
601
601
|
const i = B("KBadge");
|
|
602
|
-
return p(),
|
|
602
|
+
return p(), R(i, {
|
|
603
603
|
appearance: e.status ? "success" : "neutral"
|
|
604
604
|
}, {
|
|
605
605
|
default: b(() => [
|
|
606
|
-
|
|
606
|
+
V(O(e.status ? I(t)("baseConfigCard.statusBadge.enabledLabel") : I(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
609
609
|
}, 8, ["appearance"]);
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
|
-
}), br = "#0044f4", xr = "#e0e4ea", Cr = "#3a3f51", _r = "#afb7c5", kr = "#0044f4", Ar = "1px", wr = "16px", Sr = "20px", Ir = { class: "config-card-details-row" }, Er = ["data-testid"], Tr = ["data-testid"], Fr = ["data-testid"], Or = ["data-testid"],
|
|
612
|
+
}), br = "#0044f4", xr = "#e0e4ea", Cr = "#3a3f51", _r = "#afb7c5", kr = "#0044f4", Ar = "1px", wr = "16px", Sr = "20px", Ir = { class: "config-card-details-row" }, Er = ["data-testid"], Tr = ["data-testid"], Fr = ["data-testid"], Or = ["data-testid"], Lr = { key: 1 }, $r = ["data-testid"], Nr = ["data-testid"], Br = ["data-testid"], Rr = ["data-testid"], Kr = {
|
|
613
613
|
name: "ConfigCardItem",
|
|
614
614
|
components: { JsonCardItem: Bt, StatusBadge: vr, InternalLinkItem: yr }
|
|
615
615
|
}, Mr = /* @__PURE__ */ H({
|
|
@@ -748,29 +748,29 @@ const z = {
|
|
|
748
748
|
text: n.item.value
|
|
749
749
|
};
|
|
750
750
|
}
|
|
751
|
-
}), m =
|
|
751
|
+
}), m = K(), { isTruncated: f } = z.useTruncationDetector(m);
|
|
752
752
|
return (x, v) => {
|
|
753
|
-
const
|
|
754
|
-
return p(),
|
|
755
|
-
|
|
753
|
+
const A = B("KLabel"), M = B("KBadge"), E = B("KCopy"), ee = B("KTooltip");
|
|
754
|
+
return p(), S("div", Ir, [
|
|
755
|
+
$("div", {
|
|
756
756
|
class: "config-card-details-label",
|
|
757
757
|
"data-testid": `${e.item.key}-label`
|
|
758
758
|
}, [
|
|
759
|
-
|
|
760
|
-
N(
|
|
759
|
+
Y(x.$slots, "label", { item: e.item }, () => [
|
|
760
|
+
N(A, { "tooltip-attributes": { maxWidth: "500px" } }, _e({
|
|
761
761
|
default: b(() => [
|
|
762
|
-
|
|
762
|
+
V(O(e.item.label) + " ", 1)
|
|
763
763
|
]),
|
|
764
764
|
_: 2
|
|
765
765
|
}, [
|
|
766
766
|
s.value ? {
|
|
767
767
|
name: "tooltip",
|
|
768
768
|
fn: b(() => [
|
|
769
|
-
|
|
769
|
+
$("div", {
|
|
770
770
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
771
771
|
}, [
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
Y(x.$slots, "label-tooltip", {}, () => [
|
|
773
|
+
V(O(e.item.tooltip), 1)
|
|
774
774
|
], !0)
|
|
775
775
|
], 8, Tr)
|
|
776
776
|
]),
|
|
@@ -779,21 +779,21 @@ const z = {
|
|
|
779
779
|
]), 1024)
|
|
780
780
|
], !0)
|
|
781
781
|
], 8, Er),
|
|
782
|
-
|
|
782
|
+
$("div", {
|
|
783
783
|
class: "config-card-details-value",
|
|
784
784
|
"data-testid": `${e.item.key}-property-value`
|
|
785
785
|
}, [
|
|
786
|
-
|
|
786
|
+
Y(x.$slots, e.item.key, {
|
|
787
787
|
rowValue: e.item.value
|
|
788
788
|
}, () => [
|
|
789
|
-
l.value ? (p(),
|
|
790
|
-
(p(),
|
|
789
|
+
l.value ? (p(), S("div", Lr, [
|
|
790
|
+
(p(), R(ce(u.value.tag), En(Tn(u.value.attrs)), {
|
|
791
791
|
default: b(() => [
|
|
792
|
-
u.value.additionalComponent === "KBadge" ? (p(),
|
|
792
|
+
u.value.additionalComponent === "KBadge" ? (p(), S("div", {
|
|
793
793
|
key: 0,
|
|
794
794
|
"data-testid": `${e.item.key}-badge-tags`
|
|
795
795
|
}, [
|
|
796
|
-
(p(!0),
|
|
796
|
+
(p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), R(M, {
|
|
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,57 +801,57 @@ const z = {
|
|
|
801
801
|
"truncation-tooltip": ""
|
|
802
802
|
}, {
|
|
803
803
|
default: b(() => [
|
|
804
|
-
|
|
804
|
+
V(O(h), 1)
|
|
805
805
|
]),
|
|
806
806
|
_: 2
|
|
807
807
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
808
|
-
], 8,
|
|
809
|
-
u.value.additionalComponent === "KCopy" ? (p(),
|
|
808
|
+
], 8, $r)) : D("", !0),
|
|
809
|
+
u.value.additionalComponent === "KCopy" ? (p(), S("div", {
|
|
810
810
|
key: 1,
|
|
811
811
|
class: "copy-uuid-array",
|
|
812
812
|
"data-testid": `${e.item.key}-copy-uuid-array`
|
|
813
813
|
}, [
|
|
814
|
-
(p(!0),
|
|
814
|
+
(p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), R(E, 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: h
|
|
818
818
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
819
|
-
], 8, Nr)) : u.value.additionalComponent === "KMethodBadge" ? (p(),
|
|
819
|
+
], 8, Nr)) : u.value.additionalComponent === "KMethodBadge" ? (p(), S("div", {
|
|
820
820
|
key: 2,
|
|
821
821
|
class: "method-badge-array",
|
|
822
822
|
"data-testid": `${e.item.key}-badge-methods`
|
|
823
823
|
}, [
|
|
824
|
-
(p(!0),
|
|
824
|
+
(p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), R(M, {
|
|
825
825
|
key: `${e.item.key}-badge-method-${y}`,
|
|
826
826
|
appearance: Object.values(I(Kn)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
|
|
827
827
|
class: "config-badge",
|
|
828
828
|
"data-testid": `${e.item.key}-badge-method-${y}`
|
|
829
829
|
}, {
|
|
830
830
|
default: b(() => [
|
|
831
|
-
|
|
831
|
+
V(O(h), 1)
|
|
832
832
|
]),
|
|
833
833
|
_: 2
|
|
834
834
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
835
835
|
], 8, Br)) : D("", !0),
|
|
836
|
-
u.value.additionalComponent === "JsonCardItem" ? (p(),
|
|
836
|
+
u.value.additionalComponent === "JsonCardItem" ? (p(), S("div", {
|
|
837
837
|
key: 3,
|
|
838
838
|
"data-testid": `${n.item.key}-json-array-content`
|
|
839
839
|
}, [
|
|
840
|
-
(p(!0),
|
|
840
|
+
(p(!0), S(le, null, ie(e.item.value, (h, y) => (p(), R(Bt, {
|
|
841
841
|
key: `json-array-item-${y}`,
|
|
842
842
|
index: y,
|
|
843
843
|
"is-array-item": "",
|
|
844
844
|
item: h
|
|
845
845
|
}, null, 8, ["index", "item"]))), 128))
|
|
846
|
-
], 8, Rr)) : (p(),
|
|
846
|
+
], 8, Rr)) : (p(), R(ee, {
|
|
847
847
|
key: 4,
|
|
848
848
|
text: I(f) ? e.item.value : ""
|
|
849
849
|
}, {
|
|
850
850
|
default: b(() => [
|
|
851
|
-
|
|
851
|
+
$("span", {
|
|
852
852
|
ref_key: "textContent",
|
|
853
853
|
ref: m,
|
|
854
|
-
class:
|
|
854
|
+
class: de(["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
|
-
])) : (p(),
|
|
862
|
+
])) : (p(), S("div", {
|
|
863
863
|
key: 0,
|
|
864
864
|
"data-testid": `${e.item.key}-no-value`
|
|
865
865
|
}, " – ", 8, Or))
|
|
@@ -912,13 +912,13 @@ const z = {
|
|
|
912
912
|
return (i, a) => {
|
|
913
913
|
var s;
|
|
914
914
|
const o = B("KBadge"), l = B("KCodeBlock");
|
|
915
|
-
return p(),
|
|
916
|
-
t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (p(),
|
|
915
|
+
return p(), S("div", Dr, [
|
|
916
|
+
t.fetcherUrl && ((s = t.config) != null && s.jsonYamlFormsEnabled) ? (p(), S("div", jr, [
|
|
917
917
|
N(o, {
|
|
918
918
|
appearance: t.requestMethod
|
|
919
919
|
}, {
|
|
920
920
|
default: b(() => [
|
|
921
|
-
|
|
921
|
+
V(O(t.requestMethod), 1)
|
|
922
922
|
]),
|
|
923
923
|
_: 1
|
|
924
924
|
}, 8, ["appearance"]),
|
|
@@ -930,10 +930,10 @@ const z = {
|
|
|
930
930
|
theme: "dark"
|
|
931
931
|
}, null, 8, ["code"])
|
|
932
932
|
])) : D("", !0),
|
|
933
|
-
t.jsonRecord ? (p(),
|
|
933
|
+
t.jsonRecord ? (p(), R(l, {
|
|
934
934
|
key: 1,
|
|
935
935
|
id: "json-codeblock",
|
|
936
|
-
class:
|
|
936
|
+
class: de({ "json-content": t.fetcherUrl }),
|
|
937
937
|
code: JSON.stringify(n.value, null, 2),
|
|
938
938
|
language: "json",
|
|
939
939
|
theme: "dark"
|
|
@@ -1448,13 +1448,13 @@ var tn = new Z("tag:yaml.org,2002:binary", {
|
|
|
1448
1448
|
construct: Ei,
|
|
1449
1449
|
predicate: Fi,
|
|
1450
1450
|
represent: Ti
|
|
1451
|
-
}), Oi = Object.prototype.hasOwnProperty,
|
|
1452
|
-
function
|
|
1451
|
+
}), Oi = Object.prototype.hasOwnProperty, Li = Object.prototype.toString;
|
|
1452
|
+
function $i(e) {
|
|
1453
1453
|
if (e === null)
|
|
1454
1454
|
return !0;
|
|
1455
1455
|
var t = [], n, r, i, a, o, l = e;
|
|
1456
1456
|
for (n = 0, r = l.length; n < r; n += 1) {
|
|
1457
|
-
if (i = l[n], o = !1,
|
|
1457
|
+
if (i = l[n], o = !1, Li.call(i) !== "[object Object]")
|
|
1458
1458
|
return !1;
|
|
1459
1459
|
for (a in i)
|
|
1460
1460
|
if (Oi.call(i, a))
|
|
@@ -1476,7 +1476,7 @@ function Ni(e) {
|
|
|
1476
1476
|
}
|
|
1477
1477
|
var nn = new Z("tag:yaml.org,2002:omap", {
|
|
1478
1478
|
kind: "sequence",
|
|
1479
|
-
resolve:
|
|
1479
|
+
resolve: $i,
|
|
1480
1480
|
construct: Ni
|
|
1481
1481
|
}), Bi = Object.prototype.toString;
|
|
1482
1482
|
function Ri(e) {
|
|
@@ -1530,14 +1530,14 @@ var an = new Z("tag:yaml.org,2002:set", {
|
|
|
1530
1530
|
rn,
|
|
1531
1531
|
an
|
|
1532
1532
|
]
|
|
1533
|
-
}),
|
|
1533
|
+
}), fe = Object.prototype.hasOwnProperty, Ne = 1, on = 2, ln = 3, Be = 4, Pe = 1, Ui = 2, ht = 3, qi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Pi = /[\x85\u2028\u2029]/, Hi = /[,\[\]\{\}]/, 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 ge(e) {
|
|
1541
1541
|
return e === 9 || e === 32;
|
|
1542
1542
|
}
|
|
1543
1543
|
function te(e) {
|
|
@@ -1596,7 +1596,7 @@ var yt = {
|
|
|
1596
1596
|
},
|
|
1597
1597
|
TAG: function(t, n, r) {
|
|
1598
1598
|
var i, a;
|
|
1599
|
-
r.length !== 2 && C(t, "TAG directive accepts exactly two arguments"), i = r[0], a = r[1], sn.test(i) || C(t, "ill-formed tag handle (first argument) of the TAG directive"),
|
|
1599
|
+
r.length !== 2 && C(t, "TAG directive accepts exactly two arguments"), i = r[0], a = r[1], sn.test(i) || C(t, "ill-formed tag handle (first argument) of the TAG directive"), fe.call(t.tagMap, i) && C(t, 'there is a previously declared suffix for "' + i + '" tag handle'), cn.test(a) || C(t, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
1600
1600
|
try {
|
|
1601
1601
|
a = decodeURIComponent(a);
|
|
1602
1602
|
} catch {
|
|
@@ -1605,7 +1605,7 @@ var yt = {
|
|
|
1605
1605
|
t.tagMap[i] = a;
|
|
1606
1606
|
}
|
|
1607
1607
|
};
|
|
1608
|
-
function
|
|
1608
|
+
function ue(e, t, n, r) {
|
|
1609
1609
|
var i, a, o, l;
|
|
1610
1610
|
if (t < n) {
|
|
1611
1611
|
if (l = e.input.slice(t, n), r)
|
|
@@ -1619,7 +1619,7 @@ function ce(e, t, n, r) {
|
|
|
1619
1619
|
function vt(e, t, n, r) {
|
|
1620
1620
|
var i, a, o, l;
|
|
1621
1621
|
for (G.isObject(n) || C(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, l = i.length; o < l; o += 1)
|
|
1622
|
-
a = i[o],
|
|
1622
|
+
a = i[o], fe.call(t, a) || (t[a] = n[a], r[a] = !0);
|
|
1623
1623
|
}
|
|
1624
1624
|
function Ce(e, t, n, r, i, a, o, l, s) {
|
|
1625
1625
|
var c, d;
|
|
@@ -1633,7 +1633,7 @@ function Ce(e, t, n, r, i, a, o, l, s) {
|
|
|
1633
1633
|
else
|
|
1634
1634
|
vt(e, t, a, n);
|
|
1635
1635
|
else
|
|
1636
|
-
!e.json && !
|
|
1636
|
+
!e.json && !fe.call(n, i) && fe.call(t, i) && (e.line = o || e.line, e.lineStart = l || e.lineStart, e.position = s || e.position, C(e, "duplicated mapping key")), i === "__proto__" ? Object.defineProperty(t, i, {
|
|
1637
1637
|
configurable: !0,
|
|
1638
1638
|
enumerable: !0,
|
|
1639
1639
|
writable: !0,
|
|
@@ -1647,7 +1647,7 @@ function tt(e) {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
function W(e, t, n) {
|
|
1649
1649
|
for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0; ) {
|
|
1650
|
-
for (;
|
|
1650
|
+
for (; ge(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
|
|
@@ -1692,9 +1692,9 @@ function Gi(e, t, n) {
|
|
|
1692
1692
|
break;
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
1695
|
-
l && (
|
|
1695
|
+
l && (ue(e, a, o, !1), nt(e, e.line - s), a = o = e.position, l = !1), ge(f) || (o = e.position + 1), f = e.input.charCodeAt(++e.position);
|
|
1696
1696
|
}
|
|
1697
|
-
return
|
|
1697
|
+
return ue(e, a, o, !1), e.result ? !0 : (e.kind = u, e.result = m, !1);
|
|
1698
1698
|
}
|
|
1699
1699
|
function Zi(e, t) {
|
|
1700
1700
|
var n, r, i;
|
|
@@ -1702,12 +1702,12 @@ function Zi(e, t) {
|
|
|
1702
1702
|
return !1;
|
|
1703
1703
|
for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
|
|
1704
1704
|
if (n === 39)
|
|
1705
|
-
if (
|
|
1705
|
+
if (ue(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
|
|
1706
1706
|
r = e.position, e.position++, i = e.position;
|
|
1707
1707
|
else
|
|
1708
1708
|
return !0;
|
|
1709
1709
|
else
|
|
1710
|
-
ae(n) ? (
|
|
1710
|
+
ae(n) ? (ue(e, r, i, !0), nt(e, W(e, !1, t)), r = i = e.position) : e.position === e.lineStart && De(e) ? C(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
|
|
1711
1711
|
C(e, "unexpected end of the stream within a single quoted scalar");
|
|
1712
1712
|
}
|
|
1713
1713
|
function Qi(e, t) {
|
|
@@ -1716,9 +1716,9 @@ function Qi(e, t) {
|
|
|
1716
1716
|
return !1;
|
|
1717
1717
|
for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
|
|
1718
1718
|
if (l === 34)
|
|
1719
|
-
return
|
|
1719
|
+
return ue(e, n, e.position, !0), e.position++, !0;
|
|
1720
1720
|
if (l === 92) {
|
|
1721
|
-
if (
|
|
1721
|
+
if (ue(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), ae(l))
|
|
1722
1722
|
W(e, !1, t);
|
|
1723
1723
|
else if (l < 256 && un[l])
|
|
1724
1724
|
e.result += dn[l], e.position++;
|
|
@@ -1730,12 +1730,12 @@ function Qi(e, t) {
|
|
|
1730
1730
|
C(e, "unknown escape sequence");
|
|
1731
1731
|
n = r = e.position;
|
|
1732
1732
|
} else
|
|
1733
|
-
ae(l) ? (
|
|
1733
|
+
ae(l) ? (ue(e, n, r, !0), nt(e, W(e, !1, t)), n = r = e.position) : e.position === e.lineStart && De(e) ? C(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
|
|
1734
1734
|
}
|
|
1735
1735
|
C(e, "unexpected end of the stream within a double quoted scalar");
|
|
1736
1736
|
}
|
|
1737
1737
|
function Xi(e, t) {
|
|
1738
|
-
var n = !0, r, i, a, o = e.tag, l, s = e.anchor, c, d, u, m, f, x = /* @__PURE__ */ Object.create(null), v,
|
|
1738
|
+
var n = !0, r, i, a, o = e.tag, l, s = e.anchor, c, d, u, m, f, x = /* @__PURE__ */ Object.create(null), v, A, M, E;
|
|
1739
1739
|
if (E = e.input.charCodeAt(e.position), E === 91)
|
|
1740
1740
|
d = 93, f = !1, l = [];
|
|
1741
1741
|
else if (E === 123)
|
|
@@ -1745,7 +1745,7 @@ function Xi(e, t) {
|
|
|
1745
1745
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = l), E = e.input.charCodeAt(++e.position); E !== 0; ) {
|
|
1746
1746
|
if (W(e, !0, t), E = e.input.charCodeAt(e.position), E === d)
|
|
1747
1747
|
return e.position++, e.tag = o, e.anchor = s, e.kind = f ? "mapping" : "sequence", e.result = l, !0;
|
|
1748
|
-
n ? E === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"),
|
|
1748
|
+
n ? E === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"), A = v = M = null, u = m = !1, E === 63 && (c = e.input.charCodeAt(e.position + 1), te(c) && (u = m = !0, e.position++, W(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, ke(e, t, Ne, !1, !0), A = e.tag, v = e.result, W(e, !0, t), E = e.input.charCodeAt(e.position), (m || e.line === r) && E === 58 && (u = !0, E = e.input.charCodeAt(++e.position), W(e, !0, t), ke(e, t, Ne, !1, !0), M = e.result), f ? Ce(e, l, x, A, v, M, r, i, a) : u ? l.push(Ce(e, null, x, A, v, M, r, i, a)) : l.push(v), W(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (n = !0, E = e.input.charCodeAt(++e.position)) : n = !1;
|
|
1749
1749
|
}
|
|
1750
1750
|
C(e, "unexpected end of the stream within a flow collection");
|
|
1751
1751
|
}
|
|
@@ -1764,10 +1764,10 @@ function ea(e, t) {
|
|
|
1764
1764
|
d === 0 ? C(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? C(e, "repeat of an indentation width identifier") : (l = t + d - 1, o = !0);
|
|
1765
1765
|
else
|
|
1766
1766
|
break;
|
|
1767
|
-
if (
|
|
1767
|
+
if (ge(u)) {
|
|
1768
1768
|
do
|
|
1769
1769
|
u = e.input.charCodeAt(++e.position);
|
|
1770
|
-
while (
|
|
1770
|
+
while (ge(u));
|
|
1771
1771
|
if (u === 35)
|
|
1772
1772
|
do
|
|
1773
1773
|
u = e.input.charCodeAt(++e.position);
|
|
@@ -1786,13 +1786,13 @@ function ea(e, t) {
|
|
|
1786
1786
|
`);
|
|
1787
1787
|
break;
|
|
1788
1788
|
}
|
|
1789
|
-
for (r ?
|
|
1789
|
+
for (r ? ge(u) ? (c = !0, e.result += G.repeat(`
|
|
1790
1790
|
`, a ? 1 + s : s)) : c ? (c = !1, e.result += G.repeat(`
|
|
1791
1791
|
`, s + 1)) : s === 0 ? a && (e.result += " ") : e.result += G.repeat(`
|
|
1792
1792
|
`, s) : e.result += G.repeat(`
|
|
1793
1793
|
`, a ? 1 + s : s), a = !0, o = !0, s = 0, n = e.position; !ae(u) && u !== 0; )
|
|
1794
1794
|
u = e.input.charCodeAt(++e.position);
|
|
1795
|
-
|
|
1795
|
+
ue(e, n, e.position, !1);
|
|
1796
1796
|
}
|
|
1797
1797
|
return !0;
|
|
1798
1798
|
}
|
|
@@ -1813,20 +1813,20 @@ function bt(e, t) {
|
|
|
1813
1813
|
return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
|
|
1814
1814
|
}
|
|
1815
1815
|
function ta(e, t, n) {
|
|
1816
|
-
var r, i, a, o, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, x = null, v = null,
|
|
1816
|
+
var r, i, a, o, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), f = null, x = null, v = null, A = !1, M = !1, E;
|
|
1817
1817
|
if (e.firstTabInLine !== -1)
|
|
1818
1818
|
return !1;
|
|
1819
1819
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = u), E = e.input.charCodeAt(e.position); E !== 0; ) {
|
|
1820
|
-
if (!
|
|
1821
|
-
E === 63 ? (
|
|
1820
|
+
if (!A && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, C(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (E === 63 || E === 58) && te(r))
|
|
1821
|
+
E === 63 ? (A && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, A = !0, i = !0) : A ? (A = !1, i = !0) : C(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
|
|
1822
1822
|
else {
|
|
1823
1823
|
if (o = e.line, l = e.lineStart, s = e.position, !ke(e, n, on, !1, !0))
|
|
1824
1824
|
break;
|
|
1825
1825
|
if (e.line === a) {
|
|
1826
|
-
for (E = e.input.charCodeAt(e.position);
|
|
1826
|
+
for (E = e.input.charCodeAt(e.position); ge(E); )
|
|
1827
1827
|
E = e.input.charCodeAt(++e.position);
|
|
1828
1828
|
if (E === 58)
|
|
1829
|
-
E = e.input.charCodeAt(++e.position), te(E) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"),
|
|
1829
|
+
E = e.input.charCodeAt(++e.position), te(E) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"), A && (Ce(e, u, m, f, x, null, o, l, s), f = x = v = null), M = !0, A = !1, i = !1, f = e.tag, x = e.result;
|
|
1830
1830
|
else if (M)
|
|
1831
1831
|
C(e, "can not read an implicit mapping pair; a colon is missed");
|
|
1832
1832
|
else
|
|
@@ -1836,12 +1836,12 @@ function ta(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) && (
|
|
1839
|
+
if ((e.line === a || e.lineIndent > t) && (A && (o = e.line, l = e.lineStart, s = e.position), ke(e, t, Be, !0, i) && (A ? x = e.result : v = e.result), A || (Ce(e, u, m, f, x, v, o, l, s), f = x = v = null), W(e, !0, -1), E = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && E !== 0)
|
|
1840
1840
|
C(e, "bad indentation of a mapping entry");
|
|
1841
1841
|
else if (e.lineIndent < t)
|
|
1842
1842
|
break;
|
|
1843
1843
|
}
|
|
1844
|
-
return
|
|
1844
|
+
return A && Ce(e, u, m, f, x, null, o, l, s), M && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), M;
|
|
1845
1845
|
}
|
|
1846
1846
|
function na(e) {
|
|
1847
1847
|
var t, n = !1, r = !1, i, a, o;
|
|
@@ -1863,7 +1863,7 @@ function na(e) {
|
|
|
1863
1863
|
} catch {
|
|
1864
1864
|
C(e, "tag name is malformed: " + a);
|
|
1865
1865
|
}
|
|
1866
|
-
return n ? e.tag = a :
|
|
1866
|
+
return n ? e.tag = a : fe.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : C(e, 'undeclared tag handle "' + i + '"'), !0;
|
|
1867
1867
|
}
|
|
1868
1868
|
function ra(e) {
|
|
1869
1869
|
var t, n;
|
|
@@ -1879,14 +1879,14 @@ function ia(e) {
|
|
|
1879
1879
|
return !1;
|
|
1880
1880
|
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !te(r) && !xe(r); )
|
|
1881
1881
|
r = e.input.charCodeAt(++e.position);
|
|
1882
|
-
return e.position === t && C(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position),
|
|
1882
|
+
return e.position === t && C(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), fe.call(e.anchorMap, n) || C(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], W(e, !0, -1), !0;
|
|
1883
1883
|
}
|
|
1884
1884
|
function ke(e, t, n, r, i) {
|
|
1885
|
-
var a, o, l, s = 1, c = !1, d = !1, u, m, f, x, v,
|
|
1885
|
+
var a, o, l, s = 1, c = !1, d = !1, u, m, f, x, v, A;
|
|
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 = Be === n || ln === n, r && W(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 (; na(e) || ra(e); )
|
|
1888
1888
|
W(e, !0, -1) ? (c = !0, l = a, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
|
|
1889
|
-
if (l && (l = c || i), (s === 1 || Be === n) && (Ne === n || on === n ? v = t : v = t + 1,
|
|
1889
|
+
if (l && (l = c || i), (s === 1 || Be === n) && (Ne === n || on === n ? v = t : v = t + 1, A = e.position - e.lineStart, s === 1 ? l && (bt(e, A) || ta(e, A, v)) || Xi(e, v) ? d = !0 : (o && ea(e, v) || Zi(e, v) || Qi(e, v) ? d = !0 : ia(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Gi(e, v, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, A))), e.tag === null)
|
|
1890
1890
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1891
1891
|
else if (e.tag === "?") {
|
|
1892
1892
|
for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, m = e.implicitTypes.length; u < m; u += 1)
|
|
@@ -1895,7 +1895,7 @@ function ke(e, t, n, r, i) {
|
|
|
1895
1895
|
break;
|
|
1896
1896
|
}
|
|
1897
1897
|
} else if (e.tag !== "!") {
|
|
1898
|
-
if (
|
|
1898
|
+
if (fe.call(e.typeMap[e.kind || "fallback"], e.tag))
|
|
1899
1899
|
x = e.typeMap[e.kind || "fallback"][e.tag];
|
|
1900
1900
|
else
|
|
1901
1901
|
for (x = null, f = e.typeMap.multi[e.kind || "fallback"], u = 0, m = f.length; u < m; u += 1)
|
|
@@ -1913,7 +1913,7 @@ function aa(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 && C(e, "directive name must not be less than one character in length"); o !== 0; ) {
|
|
1916
|
-
for (;
|
|
1916
|
+
for (; ge(o); )
|
|
1917
1917
|
o = e.input.charCodeAt(++e.position);
|
|
1918
1918
|
if (o === 35) {
|
|
1919
1919
|
do
|
|
@@ -1927,7 +1927,7 @@ function aa(e) {
|
|
|
1927
1927
|
o = e.input.charCodeAt(++e.position);
|
|
1928
1928
|
i.push(e.input.slice(n, e.position));
|
|
1929
1929
|
}
|
|
1930
|
-
o !== 0 && tt(e),
|
|
1930
|
+
o !== 0 && tt(e), fe.call(yt, r) ? yt[r](e, r, i) : Re(e, 'unknown document directive "' + r + '"');
|
|
1931
1931
|
}
|
|
1932
1932
|
if (W(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, W(e, !0, -1)) : a && C(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Be, !1, !0), W(e, !0, -1), e.checkLineBreaks && Pi.test(e.input.slice(t, e.position)) && Re(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && De(e)) {
|
|
1933
1933
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, W(e, !0, -1));
|
|
@@ -2036,7 +2036,7 @@ function ze(e, t) {
|
|
|
2036
2036
|
return `
|
|
2037
2037
|
` + G.repeat(" ", e.indent * t);
|
|
2038
2038
|
}
|
|
2039
|
-
function
|
|
2039
|
+
function La(e, t) {
|
|
2040
2040
|
var n, r, i;
|
|
2041
2041
|
for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
|
|
2042
2042
|
if (i = e.implicitTypes[n], i.resolve(t))
|
|
@@ -2062,7 +2062,7 @@ function _t(e, t, n) {
|
|
|
2062
2062
|
) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !== Ye && !(t === Ke && !i) || Ct(t) && !Me(t) && e === Ye || t === Ke && i
|
|
2063
2063
|
);
|
|
2064
2064
|
}
|
|
2065
|
-
function
|
|
2065
|
+
function $a(e) {
|
|
2066
2066
|
return Te(e) && e !== rt && !Me(e) && e !== ba && e !== _a && e !== Ke && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn && e !== Ye && e !== ga && e !== va && e !== pa && e !== wa && e !== xa && e !== Ca && e !== ya && e !== ha && e !== ma && e !== ka && e !== Aa;
|
|
2067
2067
|
}
|
|
2068
2068
|
function Na(e) {
|
|
@@ -2078,7 +2078,7 @@ function _n(e) {
|
|
|
2078
2078
|
}
|
|
2079
2079
|
var kn = 1, We = 2, An = 3, wn = 4, be = 5;
|
|
2080
2080
|
function Ba(e, t, n, r, i, a, o, l) {
|
|
2081
|
-
var s, c = 0, d = null, u = !1, m = !1, f = r !== -1, x = -1, v =
|
|
2081
|
+
var s, c = 0, d = null, u = !1, m = !1, f = r !== -1, x = -1, v = $a(we(e, 0)) && Na(we(e, e.length - 1));
|
|
2082
2082
|
if (t || o)
|
|
2083
2083
|
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2084
2084
|
if (c = we(e, s), !Te(c))
|
|
@@ -2106,7 +2106,7 @@ function Ra(e, t, n, r, i) {
|
|
|
2106
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
|
-
return
|
|
2109
|
+
return La(e, c);
|
|
2110
2110
|
}
|
|
2111
2111
|
switch (Ba(
|
|
2112
2112
|
t,
|
|
@@ -2327,8 +2327,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2327
2327
|
});
|
|
2328
2328
|
return (r, i) => {
|
|
2329
2329
|
const a = B("KCodeBlock");
|
|
2330
|
-
return p(),
|
|
2331
|
-
t.yamlRecord ? (p(),
|
|
2330
|
+
return p(), S("div", lo, [
|
|
2331
|
+
t.yamlRecord ? (p(), R(a, {
|
|
2332
2332
|
key: 0,
|
|
2333
2333
|
id: "yaml-codeblock",
|
|
2334
2334
|
code: n.value,
|
|
@@ -2389,23 +2389,23 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
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) => (p(),
|
|
2393
|
-
e.format === "structured" ? (p(),
|
|
2394
|
-
(p(!0),
|
|
2392
|
+
return (o, l) => (p(), S(le, null, [
|
|
2393
|
+
e.format === "structured" ? (p(), S("div", so, [
|
|
2394
|
+
(p(!0), S(le, null, ie(e.propListTypes, (s) => (p(), S("div", {
|
|
2395
2395
|
key: `config-card-details-${s}-props`,
|
|
2396
|
-
class:
|
|
2396
|
+
class: de(`config-card-details-${s}-props`),
|
|
2397
2397
|
"data-testid": `config-card-details-${s}-props`
|
|
2398
2398
|
}, [
|
|
2399
|
-
s !== "basic" ? (p(),
|
|
2400
|
-
(p(!0),
|
|
2399
|
+
s !== "basic" ? (p(), S("div", uo, O(s === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
|
|
2400
|
+
(p(!0), S(le, null, ie(e.propertyCollections[s], (c) => (p(), R(Rt, {
|
|
2401
2401
|
key: c.key,
|
|
2402
2402
|
item: c
|
|
2403
2403
|
}, _e({
|
|
2404
2404
|
label: b(() => [
|
|
2405
|
-
|
|
2405
|
+
Y(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
|
|
2406
2406
|
]),
|
|
2407
2407
|
[c.key]: b(({ rowValue: d }) => [
|
|
2408
|
-
|
|
2408
|
+
Y(o.$slots, c.key, {
|
|
2409
2409
|
row: c,
|
|
2410
2410
|
rowValue: d
|
|
2411
2411
|
}, void 0, !0)
|
|
@@ -2415,35 +2415,35 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2415
2415
|
i(c) ? {
|
|
2416
2416
|
name: "label-tooltip",
|
|
2417
2417
|
fn: b(() => [
|
|
2418
|
-
|
|
2418
|
+
Y(o.$slots, `${c.key}-label-tooltip`, { row: c }, void 0, !0)
|
|
2419
2419
|
]),
|
|
2420
2420
|
key: "0"
|
|
2421
2421
|
} : void 0
|
|
2422
2422
|
]), 1032, ["item"]))), 128))
|
|
2423
2423
|
], 10, co))), 128))
|
|
2424
2424
|
])) : D("", !0),
|
|
2425
|
-
e.format === "json" && t.record ? (p(),
|
|
2425
|
+
e.format === "json" && t.record ? (p(), R(Kt, {
|
|
2426
2426
|
key: 1,
|
|
2427
2427
|
config: t.config,
|
|
2428
2428
|
"fetcher-url": t.fetcherUrl,
|
|
2429
2429
|
"json-record": a.value,
|
|
2430
2430
|
"request-method": "get"
|
|
2431
2431
|
}, null, 8, ["config", "fetcher-url", "json-record"])) : D("", !0),
|
|
2432
|
-
e.format === "yaml" && t.record ? (p(),
|
|
2432
|
+
e.format === "yaml" && t.record ? (p(), R(Sn, {
|
|
2433
2433
|
key: 2,
|
|
2434
2434
|
"yaml-record": a.value
|
|
2435
2435
|
}, null, 8, ["yaml-record"])) : D("", !0)
|
|
2436
2436
|
], 64));
|
|
2437
2437
|
}
|
|
2438
|
-
}), po = /* @__PURE__ */ re(fo, [["__scopeId", "data-v-147a2f70"]]), oe = "24px",
|
|
2438
|
+
}), po = /* @__PURE__ */ re(fo, [["__scopeId", "data-v-147a2f70"]]), oe = "24px", $e = (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
|
-
}, ho = (e) => (Oe("data-v-2295e0fb"), e = e(),
|
|
2443
|
+
}, ho = (e) => (Oe("data-v-2295e0fb"), e = e(), Le(), e), mo = ["aria-hidden"], go = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
"data-testid": "kui-icon-svg-title"
|
|
2446
|
-
}, yo = /* @__PURE__ */ ho(() => /* @__PURE__ */
|
|
2446
|
+
}, yo = /* @__PURE__ */ ho(() => /* @__PURE__ */ $("path", {
|
|
2447
2447
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
2448
2448
|
fill: "currentColor"
|
|
2449
2449
|
}, null, -1)), vo = /* @__PURE__ */ H({
|
|
@@ -2515,14 +2515,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2515
2515
|
lineHeight: "0",
|
|
2516
2516
|
width: n.value
|
|
2517
2517
|
}));
|
|
2518
|
-
return (i, a) => (p(),
|
|
2518
|
+
return (i, a) => (p(), R(ce(e.as), {
|
|
2519
2519
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2520
2520
|
class: "kui-icon add-icon",
|
|
2521
2521
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
2522
2522
|
style: Fe(r.value)
|
|
2523
2523
|
}, {
|
|
2524
2524
|
default: b(() => [
|
|
2525
|
-
(p(),
|
|
2525
|
+
(p(), S("svg", {
|
|
2526
2526
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2527
2527
|
"data-testid": "kui-icon-svg-add-icon",
|
|
2528
2528
|
fill: "none",
|
|
@@ -2532,17 +2532,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2532
2532
|
width: "100%",
|
|
2533
2533
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2534
2534
|
}, [
|
|
2535
|
-
e.title ? (p(),
|
|
2535
|
+
e.title ? (p(), S("title", go, O(e.title), 1)) : D("", !0),
|
|
2536
2536
|
yo
|
|
2537
2537
|
], 8, mo))
|
|
2538
2538
|
]),
|
|
2539
2539
|
_: 1
|
|
2540
2540
|
}, 8, ["aria-hidden", "style"]));
|
|
2541
2541
|
}
|
|
2542
|
-
}), bo = /* @__PURE__ */
|
|
2542
|
+
}), bo = /* @__PURE__ */ $e(vo, [["__scopeId", "data-v-2295e0fb"]]), xo = (e) => (Oe("data-v-40a7f387"), e = e(), Le(), e), Co = ["aria-hidden"], _o = {
|
|
2543
2543
|
key: 0,
|
|
2544
2544
|
"data-testid": "kui-icon-svg-title"
|
|
2545
|
-
}, ko = /* @__PURE__ */ xo(() => /* @__PURE__ */
|
|
2545
|
+
}, ko = /* @__PURE__ */ xo(() => /* @__PURE__ */ $("path", {
|
|
2546
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",
|
|
2547
2547
|
fill: "currentColor"
|
|
2548
2548
|
}, null, -1)), Ao = /* @__PURE__ */ H({
|
|
@@ -2614,14 +2614,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2614
2614
|
lineHeight: "0",
|
|
2615
2615
|
width: n.value
|
|
2616
2616
|
}));
|
|
2617
|
-
return (i, a) => (p(),
|
|
2617
|
+
return (i, a) => (p(), R(ce(e.as), {
|
|
2618
2618
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2619
2619
|
class: "kui-icon book-icon",
|
|
2620
2620
|
"data-testid": "kui-icon-wrapper-book-icon",
|
|
2621
2621
|
style: Fe(r.value)
|
|
2622
2622
|
}, {
|
|
2623
2623
|
default: b(() => [
|
|
2624
|
-
(p(),
|
|
2624
|
+
(p(), S("svg", {
|
|
2625
2625
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2626
2626
|
"data-testid": "kui-icon-svg-book-icon",
|
|
2627
2627
|
fill: "none",
|
|
@@ -2631,17 +2631,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2631
2631
|
width: "100%",
|
|
2632
2632
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2633
2633
|
}, [
|
|
2634
|
-
e.title ? (p(),
|
|
2634
|
+
e.title ? (p(), S("title", _o, O(e.title), 1)) : D("", !0),
|
|
2635
2635
|
ko
|
|
2636
2636
|
], 8, Co))
|
|
2637
2637
|
]),
|
|
2638
2638
|
_: 1
|
|
2639
2639
|
}, 8, ["aria-hidden", "style"]));
|
|
2640
2640
|
}
|
|
2641
|
-
}), wo = /* @__PURE__ */
|
|
2641
|
+
}), wo = /* @__PURE__ */ $e(Ao, [["__scopeId", "data-v-40a7f387"]]), So = (e) => (Oe("data-v-98c34919"), e = e(), Le(), e), Io = ["aria-hidden"], Eo = {
|
|
2642
2642
|
key: 0,
|
|
2643
2643
|
"data-testid": "kui-icon-svg-title"
|
|
2644
|
-
}, To = /* @__PURE__ */ So(() => /* @__PURE__ */
|
|
2644
|
+
}, To = /* @__PURE__ */ So(() => /* @__PURE__ */ $("path", {
|
|
2645
2645
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
2646
2646
|
fill: "currentColor"
|
|
2647
2647
|
}, null, -1)), Fo = /* @__PURE__ */ H({
|
|
@@ -2713,14 +2713,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2713
2713
|
lineHeight: "0",
|
|
2714
2714
|
width: n.value
|
|
2715
2715
|
}));
|
|
2716
|
-
return (i, a) => (p(),
|
|
2716
|
+
return (i, a) => (p(), R(ce(e.as), {
|
|
2717
2717
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2718
2718
|
class: "kui-icon chevron-down-icon",
|
|
2719
2719
|
"data-testid": "kui-icon-wrapper-chevron-down-icon",
|
|
2720
2720
|
style: Fe(r.value)
|
|
2721
2721
|
}, {
|
|
2722
2722
|
default: b(() => [
|
|
2723
|
-
(p(),
|
|
2723
|
+
(p(), S("svg", {
|
|
2724
2724
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2725
2725
|
"data-testid": "kui-icon-svg-chevron-down-icon",
|
|
2726
2726
|
fill: "none",
|
|
@@ -2730,17 +2730,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2730
2730
|
width: "100%",
|
|
2731
2731
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2732
2732
|
}, [
|
|
2733
|
-
e.title ? (p(),
|
|
2733
|
+
e.title ? (p(), S("title", Eo, O(e.title), 1)) : D("", !0),
|
|
2734
2734
|
To
|
|
2735
2735
|
], 8, Io))
|
|
2736
2736
|
]),
|
|
2737
2737
|
_: 1
|
|
2738
2738
|
}, 8, ["aria-hidden", "style"]));
|
|
2739
2739
|
}
|
|
2740
|
-
}), Oo = /* @__PURE__ */
|
|
2740
|
+
}), Oo = /* @__PURE__ */ $e(Fo, [["__scopeId", "data-v-98c34919"]]), Lo = (e) => (Oe("data-v-19f4cbbe"), e = e(), Le(), e), $o = ["aria-hidden"], No = {
|
|
2741
2741
|
key: 0,
|
|
2742
2742
|
"data-testid": "kui-icon-svg-title"
|
|
2743
|
-
}, Bo = /* @__PURE__ */
|
|
2743
|
+
}, Bo = /* @__PURE__ */ Lo(() => /* @__PURE__ */ $("path", {
|
|
2744
2744
|
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",
|
|
2745
2745
|
fill: "currentColor"
|
|
2746
2746
|
}, null, -1)), Ro = /* @__PURE__ */ H({
|
|
@@ -2812,14 +2812,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2812
2812
|
lineHeight: "0",
|
|
2813
2813
|
width: n.value
|
|
2814
2814
|
}));
|
|
2815
|
-
return (i, a) => (p(),
|
|
2815
|
+
return (i, a) => (p(), R(ce(e.as), {
|
|
2816
2816
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2817
2817
|
class: "kui-icon close-icon",
|
|
2818
2818
|
"data-testid": "kui-icon-wrapper-close-icon",
|
|
2819
2819
|
style: Fe(r.value)
|
|
2820
2820
|
}, {
|
|
2821
2821
|
default: b(() => [
|
|
2822
|
-
(p(),
|
|
2822
|
+
(p(), S("svg", {
|
|
2823
2823
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2824
2824
|
"data-testid": "kui-icon-svg-close-icon",
|
|
2825
2825
|
fill: "none",
|
|
@@ -2829,17 +2829,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2829
2829
|
width: "100%",
|
|
2830
2830
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2831
2831
|
}, [
|
|
2832
|
-
e.title ? (p(),
|
|
2832
|
+
e.title ? (p(), S("title", No, O(e.title), 1)) : D("", !0),
|
|
2833
2833
|
Bo
|
|
2834
|
-
], 8,
|
|
2834
|
+
], 8, $o))
|
|
2835
2835
|
]),
|
|
2836
2836
|
_: 1
|
|
2837
2837
|
}, 8, ["aria-hidden", "style"]));
|
|
2838
2838
|
}
|
|
2839
|
-
}), Ko = /* @__PURE__ */
|
|
2839
|
+
}), Ko = /* @__PURE__ */ $e(Ro, [["__scopeId", "data-v-19f4cbbe"]]), Mo = (e) => (Oe("data-v-13f41aa3"), e = e(), Le(), e), Do = ["aria-hidden"], jo = {
|
|
2840
2840
|
key: 0,
|
|
2841
2841
|
"data-testid": "kui-icon-svg-title"
|
|
2842
|
-
}, Uo = /* @__PURE__ */ Mo(() => /* @__PURE__ */
|
|
2842
|
+
}, Uo = /* @__PURE__ */ Mo(() => /* @__PURE__ */ $("path", {
|
|
2843
2843
|
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",
|
|
2844
2844
|
fill: "currentColor"
|
|
2845
2845
|
}, null, -1)), qo = /* @__PURE__ */ H({
|
|
@@ -2911,14 +2911,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2911
2911
|
lineHeight: "0",
|
|
2912
2912
|
width: n.value
|
|
2913
2913
|
}));
|
|
2914
|
-
return (i, a) => (p(),
|
|
2914
|
+
return (i, a) => (p(), R(ce(e.as), {
|
|
2915
2915
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2916
2916
|
class: "kui-icon copy-icon",
|
|
2917
2917
|
"data-testid": "kui-icon-wrapper-copy-icon",
|
|
2918
2918
|
style: Fe(r.value)
|
|
2919
2919
|
}, {
|
|
2920
2920
|
default: b(() => [
|
|
2921
|
-
(p(),
|
|
2921
|
+
(p(), S("svg", {
|
|
2922
2922
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2923
2923
|
"data-testid": "kui-icon-svg-copy-icon",
|
|
2924
2924
|
fill: "none",
|
|
@@ -2928,14 +2928,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2928
2928
|
width: "100%",
|
|
2929
2929
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2930
2930
|
}, [
|
|
2931
|
-
e.title ? (p(),
|
|
2931
|
+
e.title ? (p(), S("title", jo, O(e.title), 1)) : D("", !0),
|
|
2932
2932
|
Uo
|
|
2933
2933
|
], 8, Do))
|
|
2934
2934
|
]),
|
|
2935
2935
|
_: 1
|
|
2936
2936
|
}, 8, ["aria-hidden", "style"]));
|
|
2937
2937
|
}
|
|
2938
|
-
}), Po = /* @__PURE__ */
|
|
2938
|
+
}), Po = /* @__PURE__ */ $e(qo, [["__scopeId", "data-v-13f41aa3"]]), Ho = { class: "config-card-actions" }, Vo = ["href"], Yo = { class: "config-card-details-section" }, zo = /* @__PURE__ */ H({
|
|
2939
2939
|
__name: "EntityBaseConfigCard",
|
|
2940
2940
|
props: {
|
|
2941
2941
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2990,6 +2990,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2990
2990
|
type: Boolean,
|
|
2991
2991
|
default: !1
|
|
2992
2992
|
},
|
|
2993
|
+
/**
|
|
2994
|
+
* The tag to use for the title
|
|
2995
|
+
*/
|
|
2996
|
+
titleTag: {
|
|
2997
|
+
type: String,
|
|
2998
|
+
default: "h2"
|
|
2999
|
+
},
|
|
2993
3000
|
/**
|
|
2994
3001
|
* The label text to show for the select Format element
|
|
2995
3002
|
*/
|
|
@@ -3026,7 +3033,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3026
3033
|
label: "YAML",
|
|
3027
3034
|
value: "yaml"
|
|
3028
3035
|
}
|
|
3029
|
-
], c =
|
|
3036
|
+
], c = K("structured"), d = (g) => {
|
|
3030
3037
|
c.value = g == null ? void 0 : g.value;
|
|
3031
3038
|
}, u = {
|
|
3032
3039
|
id: {
|
|
@@ -3062,27 +3069,27 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3062
3069
|
// the last property displayed
|
|
3063
3070
|
section: ne.Basic
|
|
3064
3071
|
}
|
|
3065
|
-
}, m =
|
|
3072
|
+
}, m = K(!1), f = K(!1), x = K(""), v = K({}), A = k(() => {
|
|
3066
3073
|
var F, _, j;
|
|
3067
3074
|
if (!v.value)
|
|
3068
3075
|
return [];
|
|
3069
|
-
const g = [],
|
|
3076
|
+
const g = [], L = Object.keys(v.value).length;
|
|
3070
3077
|
for (const T in v.value) {
|
|
3071
|
-
const
|
|
3072
|
-
let q =
|
|
3073
|
-
(U || U === 0) && (q = U === -1 ?
|
|
3078
|
+
const w = (_ = (F = r.configSchema) == null ? void 0 : F[T]) == null ? void 0 : _.order, U = (j = u[T]) == null ? void 0 : j.order;
|
|
3079
|
+
let q = L;
|
|
3080
|
+
(U || U === 0) && (q = U === -1 ? L + 1 : U), w && (q = w === -1 ? L + 1 : w), g.push([T, q]);
|
|
3074
3081
|
}
|
|
3075
|
-
return g.sort(function(T,
|
|
3076
|
-
return T[1] -
|
|
3082
|
+
return g.sort(function(T, w) {
|
|
3083
|
+
return T[1] - w[1];
|
|
3077
3084
|
}), g.map((T) => {
|
|
3078
|
-
var
|
|
3079
|
-
const
|
|
3085
|
+
var pe, at;
|
|
3086
|
+
const w = T[0], U = (pe = v.value) == null ? void 0 : pe[w], q = ((at = r.configSchema) == null ? void 0 : at[w]) || {}, J = u[w];
|
|
3080
3087
|
return {
|
|
3081
|
-
key:
|
|
3088
|
+
key: w,
|
|
3082
3089
|
value: U,
|
|
3083
3090
|
hidden: q.hidden || !1,
|
|
3084
3091
|
type: q.type ?? ((J == null ? void 0 : J.type) || P.Text),
|
|
3085
|
-
label: q.label ?? ((J == null ? void 0 : J.label) || o(
|
|
3092
|
+
label: q.label ?? ((J == null ? void 0 : J.label) || o(w)),
|
|
3086
3093
|
tooltip: q.tooltip ?? ((J == null ? void 0 : J.tooltip) || void 0),
|
|
3087
3094
|
section: q.section ?? ((J == null ? void 0 : J.section) || ne.Advanced)
|
|
3088
3095
|
};
|
|
@@ -3091,41 +3098,41 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3091
3098
|
var _, j;
|
|
3092
3099
|
if (!v.value || !r.pluginConfigKey)
|
|
3093
3100
|
return [];
|
|
3094
|
-
const g = v.value[r.pluginConfigKey] || {},
|
|
3101
|
+
const g = v.value[r.pluginConfigKey] || {}, L = Object.keys(g).length, F = [];
|
|
3095
3102
|
for (const T in g) {
|
|
3096
|
-
const
|
|
3097
|
-
let q = U != null && U !== "" ?
|
|
3098
|
-
|
|
3103
|
+
const w = (j = (_ = r.pluginConfigSchema) == null ? void 0 : _[T]) == null ? void 0 : j.order, U = g[T];
|
|
3104
|
+
let q = U != null && U !== "" ? L - 1 : L;
|
|
3105
|
+
w && (q = w === -1 ? L + 1 : w), F.push([T, q]);
|
|
3099
3106
|
}
|
|
3100
|
-
return F.sort(function(T,
|
|
3101
|
-
return T[1] -
|
|
3107
|
+
return F.sort(function(T, w) {
|
|
3108
|
+
return T[1] - w[1];
|
|
3102
3109
|
}), F.map((T) => {
|
|
3103
3110
|
var J;
|
|
3104
|
-
const
|
|
3111
|
+
const w = T[0], U = g[w], q = ((J = r.pluginConfigSchema) == null ? void 0 : J[w]) || {};
|
|
3105
3112
|
return {
|
|
3106
|
-
key:
|
|
3113
|
+
key: w,
|
|
3107
3114
|
value: U,
|
|
3108
3115
|
hidden: q.hidden || !1,
|
|
3109
3116
|
type: q.type ?? P.Text,
|
|
3110
|
-
label: q.label ?? o(
|
|
3117
|
+
label: q.label ?? o(w),
|
|
3111
3118
|
tooltip: q.tooltip ?? void 0,
|
|
3112
3119
|
section: ne.Plugin
|
|
3113
3120
|
};
|
|
3114
3121
|
}).filter((T) => !T.hidden);
|
|
3115
3122
|
}), E = k(() => {
|
|
3116
|
-
var g,
|
|
3123
|
+
var g, L, F, _;
|
|
3117
3124
|
return {
|
|
3118
|
-
basic: (g =
|
|
3119
|
-
advanced: (
|
|
3120
|
-
plugin: (_ = M.value) == null ? void 0 : _.concat((F =
|
|
3125
|
+
basic: (g = A.value) == null ? void 0 : g.filter((j) => j.section === ne.Basic),
|
|
3126
|
+
advanced: (L = A.value) == null ? void 0 : L.filter((j) => j.section === ne.Advanced),
|
|
3127
|
+
plugin: (_ = M.value) == null ? void 0 : _.concat((F = A.value) == null ? void 0 : F.filter((j) => j.section === ne.Plugin))
|
|
3121
3128
|
};
|
|
3122
3129
|
}), ee = k(() => {
|
|
3123
3130
|
const g = [];
|
|
3124
3131
|
return E.value.basic.length && g.push("basic"), E.value.advanced.length && g.push("advanced"), E.value.plugin.length && g.push("plugin"), g;
|
|
3125
3132
|
}), h = k(() => {
|
|
3126
|
-
var
|
|
3133
|
+
var L, F;
|
|
3127
3134
|
let g = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3128
|
-
return r.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((
|
|
3135
|
+
return r.config.app === "konnect" ? g = g.replace(/{controlPlaneId}/gi, ((L = r.config) == null ? void 0 : L.controlPlaneId) || "") : r.config.app === "kongManager" && (g = g.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), g = g.replace(/{id}/gi, r.config.entityId), g;
|
|
3129
3136
|
});
|
|
3130
3137
|
return Ae(m, (g) => {
|
|
3131
3138
|
n("loading", g);
|
|
@@ -3144,23 +3151,23 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3144
3151
|
v.value && typeof v.value[F] > "u" && (v.value[F] = null);
|
|
3145
3152
|
}), n("fetch:success", g);
|
|
3146
3153
|
} catch (g) {
|
|
3147
|
-
const
|
|
3148
|
-
x.value =
|
|
3154
|
+
const L = a(g);
|
|
3155
|
+
x.value = L.startsWith("code") ? i("baseConfigCard.errors.load") : L, f.value = !0, n("fetch:error", g);
|
|
3149
3156
|
} finally {
|
|
3150
3157
|
m.value = !1;
|
|
3151
3158
|
}
|
|
3152
|
-
}), (g,
|
|
3153
|
-
const F = B("KLabel"), _ = B("KSelect"), j = B("KButton"), T = B("KSkeleton"),
|
|
3154
|
-
return p(),
|
|
3159
|
+
}), (g, L) => {
|
|
3160
|
+
const F = B("KLabel"), _ = B("KSelect"), j = B("KButton"), T = B("KSkeleton"), w = B("KEmptyState"), U = B("KCard");
|
|
3161
|
+
return p(), R(U, { class: "kong-ui-entity-base-config-card" }, _e({
|
|
3155
3162
|
actions: b(() => [
|
|
3156
|
-
|
|
3157
|
-
|
|
3163
|
+
$("div", Ho, [
|
|
3164
|
+
Y(g.$slots, "actions", {}, void 0, !0),
|
|
3158
3165
|
N(F, {
|
|
3159
3166
|
class: "config-format-select-label",
|
|
3160
3167
|
"data-testid": "config-format-select-label"
|
|
3161
3168
|
}, {
|
|
3162
3169
|
default: b(() => [
|
|
3163
|
-
|
|
3170
|
+
V(O(e.label), 1)
|
|
3164
3171
|
]),
|
|
3165
3172
|
_: 1
|
|
3166
3173
|
}),
|
|
@@ -3169,42 +3176,42 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3169
3176
|
items: s,
|
|
3170
3177
|
onChange: d
|
|
3171
3178
|
}),
|
|
3172
|
-
e.configCardDoc ? (p(),
|
|
3179
|
+
e.configCardDoc ? (p(), R(j, {
|
|
3173
3180
|
key: 0,
|
|
3174
3181
|
appearance: "tertiary",
|
|
3175
3182
|
class: "book-icon",
|
|
3176
3183
|
"data-testid": "book-icon"
|
|
3177
3184
|
}, {
|
|
3178
3185
|
default: b(() => [
|
|
3179
|
-
|
|
3186
|
+
$("a", {
|
|
3180
3187
|
href: e.configCardDoc,
|
|
3181
3188
|
rel: "noopener",
|
|
3182
3189
|
target: "_blank"
|
|
3183
3190
|
}, [
|
|
3184
3191
|
N(I(wo), { size: I(Sr) }, null, 8, ["size"])
|
|
3185
|
-
], 8,
|
|
3192
|
+
], 8, Vo)
|
|
3186
3193
|
]),
|
|
3187
3194
|
_: 1
|
|
3188
3195
|
})) : D("", !0)
|
|
3189
3196
|
])
|
|
3190
3197
|
]),
|
|
3191
3198
|
default: b(() => [
|
|
3192
|
-
m.value ? (p(),
|
|
3199
|
+
m.value ? (p(), R(T, {
|
|
3193
3200
|
key: 0,
|
|
3194
3201
|
"data-testid": "config-card-loader",
|
|
3195
3202
|
"table-columns": 2,
|
|
3196
3203
|
type: "table"
|
|
3197
|
-
})) : f.value ? (p(),
|
|
3204
|
+
})) : f.value ? (p(), R(w, {
|
|
3198
3205
|
key: 1,
|
|
3199
3206
|
"data-testid": "config-card-fetch-error",
|
|
3200
3207
|
"icon-variant": "error"
|
|
3201
3208
|
}, {
|
|
3202
3209
|
default: b(() => [
|
|
3203
|
-
|
|
3210
|
+
$("h3", null, O(x.value), 1)
|
|
3204
3211
|
]),
|
|
3205
3212
|
_: 1
|
|
3206
3213
|
})) : D("", !0),
|
|
3207
|
-
|
|
3214
|
+
$("div", Yo, [
|
|
3208
3215
|
N(po, {
|
|
3209
3216
|
config: e.config,
|
|
3210
3217
|
"fetcher-url": h.value,
|
|
@@ -3215,10 +3222,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3215
3222
|
}, _e({ _: 2 }, [
|
|
3216
3223
|
ie(Object.keys(g.$slots), (q) => ({
|
|
3217
3224
|
name: q,
|
|
3218
|
-
fn: b(({ row: J, rowValue:
|
|
3219
|
-
|
|
3225
|
+
fn: b(({ row: J, rowValue: pe }) => [
|
|
3226
|
+
Y(g.$slots, q, {
|
|
3220
3227
|
row: J,
|
|
3221
|
-
rowValue:
|
|
3228
|
+
rowValue: pe
|
|
3222
3229
|
}, void 0, !0)
|
|
3223
3230
|
])
|
|
3224
3231
|
}))
|
|
@@ -3230,21 +3237,24 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3230
3237
|
e.hideTitle ? void 0 : {
|
|
3231
3238
|
name: "title",
|
|
3232
3239
|
fn: b(() => [
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
Y(
|
|
3236
|
-
|
|
3237
|
-
|
|
3240
|
+
(p(), R(ce(e.titleTag), { "data-testid": "config-card-title" }, {
|
|
3241
|
+
default: b(() => [
|
|
3242
|
+
Y(g.$slots, "title", {}, () => [
|
|
3243
|
+
V(O(I(i)("baseConfigCard.title")), 1)
|
|
3244
|
+
], !0)
|
|
3245
|
+
]),
|
|
3246
|
+
_: 3
|
|
3247
|
+
}))
|
|
3238
3248
|
]),
|
|
3239
3249
|
key: "0"
|
|
3240
3250
|
}
|
|
3241
3251
|
]), 1024);
|
|
3242
3252
|
};
|
|
3243
3253
|
}
|
|
3244
|
-
}),
|
|
3254
|
+
}), Kl = /* @__PURE__ */ re(zo, [["__scopeId", "data-v-f01e09b5"]]), Wo = {
|
|
3245
3255
|
class: "form-actions",
|
|
3246
3256
|
"data-testid": "form-actions"
|
|
3247
|
-
},
|
|
3257
|
+
}, Jo = { key: 0 }, Go = /* @__PURE__ */ H({
|
|
3248
3258
|
__name: "EntityBaseForm",
|
|
3249
3259
|
props: {
|
|
3250
3260
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3301,19 +3311,19 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3301
3311
|
var ee;
|
|
3302
3312
|
const n = t, r = e, i = Mn(), { i18n: { t: a } } = z.useI18n(), { getMessageFromError: o } = z.useErrors(), { axiosInstance: l } = z.useAxios({
|
|
3303
3313
|
headers: (ee = r.config) == null ? void 0 : ee.requestHeaders
|
|
3304
|
-
}), s =
|
|
3314
|
+
}), s = K(!1), c = K(!1), d = K(""), u = k(() => r.canSubmit === !1 || r.isReadonly), m = K(!1), f = k(() => {
|
|
3305
3315
|
var y, g;
|
|
3306
3316
|
let h = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3307
3317
|
return r.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((y = r.config) == null ? void 0 : y.controlPlaneId) || "") : r.config.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, (g = r.config) != null && g.workspace ? `/${r.config.workspace}` : "")), r.editId ? (h = h.replace(/{id}/gi, r.editId), h) : (h = h.replace(/\/{id}/gi, ""), h);
|
|
3308
3318
|
}), x = () => {
|
|
3309
3319
|
m.value = !m.value;
|
|
3310
3320
|
}, v = () => {
|
|
3311
|
-
r.config.cancelRoute ? i.push(r.config.cancelRoute) :
|
|
3312
|
-
},
|
|
3321
|
+
r.config.cancelRoute ? i.push(r.config.cancelRoute) : A();
|
|
3322
|
+
}, A = () => {
|
|
3313
3323
|
n("cancel");
|
|
3314
3324
|
}, M = () => {
|
|
3315
3325
|
u.value || n("submit");
|
|
3316
|
-
}, E =
|
|
3326
|
+
}, E = K([
|
|
3317
3327
|
{
|
|
3318
3328
|
title: a("baseForm.configuration.yaml"),
|
|
3319
3329
|
hash: "#yaml"
|
|
@@ -3338,13 +3348,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3338
3348
|
s.value = !1;
|
|
3339
3349
|
}
|
|
3340
3350
|
}), (h, y) => {
|
|
3341
|
-
const g = B("KSkeleton"),
|
|
3342
|
-
return p(),
|
|
3351
|
+
const g = B("KSkeleton"), L = B("KEmptyState"), F = B("KAlert"), _ = B("KButton"), j = B("KTabs"), T = B("KSlideout"), w = B("KCard");
|
|
3352
|
+
return p(), R(w, { class: "kong-ui-entity-base-form" }, {
|
|
3343
3353
|
default: b(() => [
|
|
3344
|
-
s.value ? (p(),
|
|
3354
|
+
s.value ? (p(), R(g, {
|
|
3345
3355
|
key: 0,
|
|
3346
3356
|
type: "form"
|
|
3347
|
-
})) : c.value ? (p(),
|
|
3357
|
+
})) : c.value ? (p(), R(L, {
|
|
3348
3358
|
key: 1,
|
|
3349
3359
|
"action-button-text": I(a)("baseForm.actions.back"),
|
|
3350
3360
|
"data-testid": "form-fetch-error",
|
|
@@ -3352,32 +3362,32 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3352
3362
|
onClickAction: v
|
|
3353
3363
|
}, {
|
|
3354
3364
|
default: b(() => [
|
|
3355
|
-
|
|
3365
|
+
$("h3", null, O(d.value), 1)
|
|
3356
3366
|
]),
|
|
3357
3367
|
_: 1
|
|
3358
|
-
}, 8, ["action-button-text"])) : (p(),
|
|
3368
|
+
}, 8, ["action-button-text"])) : (p(), S("form", {
|
|
3359
3369
|
key: 2,
|
|
3360
3370
|
"data-testid": "form-content",
|
|
3361
|
-
onReset: He(
|
|
3371
|
+
onReset: He(A, ["prevent"]),
|
|
3362
3372
|
onSubmit: He(M, ["prevent"])
|
|
3363
3373
|
}, [
|
|
3364
|
-
|
|
3365
|
-
e.errorMessage ? (p(),
|
|
3374
|
+
Y(h.$slots, "default", {}, void 0, !0),
|
|
3375
|
+
e.errorMessage ? (p(), R(F, {
|
|
3366
3376
|
key: 0,
|
|
3367
3377
|
appearance: "danger",
|
|
3368
3378
|
"data-testid": "form-error",
|
|
3369
3379
|
message: e.errorMessage
|
|
3370
3380
|
}, null, 8, ["message"])) : D("", !0),
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
e.config.jsonYamlFormsEnabled ? (p(),
|
|
3381
|
+
$("div", Wo, [
|
|
3382
|
+
Y(h.$slots, "form-actions", {}, () => [
|
|
3383
|
+
e.config.jsonYamlFormsEnabled ? (p(), S("div", Jo, [
|
|
3374
3384
|
N(_, {
|
|
3375
3385
|
appearance: "tertiary",
|
|
3376
3386
|
"data-testid": "form-view-configuration",
|
|
3377
3387
|
onClick: y[0] || (y[0] = (U) => x())
|
|
3378
3388
|
}, {
|
|
3379
3389
|
default: b(() => [
|
|
3380
|
-
|
|
3390
|
+
V(O(I(a)("baseForm.actions.viewConfiguration")), 1)
|
|
3381
3391
|
]),
|
|
3382
3392
|
_: 1
|
|
3383
3393
|
})
|
|
@@ -3389,7 +3399,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3389
3399
|
type: "reset"
|
|
3390
3400
|
}, {
|
|
3391
3401
|
default: b(() => [
|
|
3392
|
-
|
|
3402
|
+
V(O(I(a)("baseForm.actions.cancel")), 1)
|
|
3393
3403
|
]),
|
|
3394
3404
|
_: 1
|
|
3395
3405
|
}, 8, ["disabled"]),
|
|
@@ -3400,7 +3410,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3400
3410
|
type: "submit"
|
|
3401
3411
|
}, {
|
|
3402
3412
|
default: b(() => [
|
|
3403
|
-
|
|
3413
|
+
V(O(I(a)("baseForm.actions.save")), 1)
|
|
3404
3414
|
]),
|
|
3405
3415
|
_: 1
|
|
3406
3416
|
}, 8, ["disabled"])
|
|
@@ -3417,7 +3427,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3417
3427
|
onClose: y[1] || (y[1] = (U) => x())
|
|
3418
3428
|
}, {
|
|
3419
3429
|
default: b(() => [
|
|
3420
|
-
|
|
3430
|
+
$("div", null, O(I(a)("baseForm.configuration.message")), 1),
|
|
3421
3431
|
N(j, {
|
|
3422
3432
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
3423
3433
|
tabs: E.value
|
|
@@ -3445,10 +3455,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3445
3455
|
});
|
|
3446
3456
|
};
|
|
3447
3457
|
}
|
|
3448
|
-
}),
|
|
3458
|
+
}), Ml = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-acb5a965"]]), Zo = {
|
|
3449
3459
|
key: 0,
|
|
3450
3460
|
"data-testid": "first-col"
|
|
3451
|
-
},
|
|
3461
|
+
}, Qo = /* @__PURE__ */ H({
|
|
3452
3462
|
__name: "EntityBaseTableCell",
|
|
3453
3463
|
props: {
|
|
3454
3464
|
keyName: {
|
|
@@ -3468,61 +3478,61 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3468
3478
|
var v;
|
|
3469
3479
|
return ((v = n.value) == null ? void 0 : v.querySelector('[data-testid="first-col"]')) || null;
|
|
3470
3480
|
}), i = k(() => {
|
|
3471
|
-
var
|
|
3472
|
-
const v = (
|
|
3481
|
+
var A, M;
|
|
3482
|
+
const v = (A = t.rowEl) == null ? void 0 : A.querySelectorAll("td");
|
|
3473
3483
|
return v ? ((M = v[0]) == null ? void 0 : M.getAttribute("data-testid")) === t.keyName : !1;
|
|
3474
3484
|
});
|
|
3475
3485
|
let a;
|
|
3476
3486
|
const o = () => {
|
|
3477
3487
|
a && (a.disconnect(), a = void 0);
|
|
3478
3488
|
}, l = () => {
|
|
3479
|
-
var v,
|
|
3480
|
-
c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((
|
|
3481
|
-
}, s =
|
|
3489
|
+
var v, A, M;
|
|
3490
|
+
c.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((A = n.value) == null ? void 0 : A.clientWidth) || 0, u.value = ((M = s.value) == null ? void 0 : M.innerText) || "";
|
|
3491
|
+
}, s = K({}), c = K(0), d = K(0), u = K(""), m = k(() => [r.value, n.value]), f = Ae(
|
|
3482
3492
|
m,
|
|
3483
3493
|
(v) => {
|
|
3484
3494
|
if (i.value && (o(), "ResizeObserver" in window && window)) {
|
|
3485
|
-
a = new ResizeObserver((
|
|
3495
|
+
a = new ResizeObserver((A) => {
|
|
3486
3496
|
window.requestAnimationFrame(() => {
|
|
3487
|
-
!Array.isArray(
|
|
3497
|
+
!Array.isArray(A) || !A.length || l();
|
|
3488
3498
|
});
|
|
3489
3499
|
});
|
|
3490
|
-
for (const
|
|
3491
|
-
|
|
3500
|
+
for (const A of v)
|
|
3501
|
+
A && a.observe(A);
|
|
3492
3502
|
}
|
|
3493
3503
|
},
|
|
3494
3504
|
{ immediate: !0, flush: "post", deep: !0 }
|
|
3495
3505
|
), x = k(() => i.value ? c.value > d.value : !1);
|
|
3496
3506
|
return On(() => {
|
|
3497
3507
|
l();
|
|
3498
|
-
}),
|
|
3508
|
+
}), Ln(() => {
|
|
3499
3509
|
f();
|
|
3500
|
-
}), (v,
|
|
3510
|
+
}), (v, A) => {
|
|
3501
3511
|
const M = B("KTooltip");
|
|
3502
|
-
return p(),
|
|
3512
|
+
return p(), S("span", {
|
|
3503
3513
|
ref_key: "contentRef",
|
|
3504
3514
|
ref: s,
|
|
3505
3515
|
class: "content-wrapper"
|
|
3506
3516
|
}, [
|
|
3507
|
-
i.value ? (p(),
|
|
3517
|
+
i.value ? (p(), S("span", Zo, [
|
|
3508
3518
|
N(M, {
|
|
3509
3519
|
"max-width": "300",
|
|
3510
3520
|
placement: "bottomStart",
|
|
3511
3521
|
text: x.value ? u.value : ""
|
|
3512
3522
|
}, {
|
|
3513
3523
|
default: b(() => [
|
|
3514
|
-
|
|
3524
|
+
Y(v.$slots, "default", {}, void 0, !0)
|
|
3515
3525
|
]),
|
|
3516
3526
|
_: 3
|
|
3517
3527
|
}, 8, ["text"])
|
|
3518
|
-
])) :
|
|
3528
|
+
])) : Y(v.$slots, "default", { key: 1 }, void 0, !0)
|
|
3519
3529
|
], 512);
|
|
3520
3530
|
};
|
|
3521
3531
|
}
|
|
3522
|
-
}),
|
|
3532
|
+
}), Xo = /* @__PURE__ */ re(Qo, [["__scopeId", "data-v-c4379fd4"]]), el = { class: "toolbar-container" }, tl = {
|
|
3523
3533
|
key: 0,
|
|
3524
3534
|
class: "toolbar-button-container"
|
|
3525
|
-
},
|
|
3535
|
+
}, nl = ["data-testid"], rl = /* @__PURE__ */ H({
|
|
3526
3536
|
__name: "EntityBaseTable",
|
|
3527
3537
|
props: {
|
|
3528
3538
|
// table header configuration
|
|
@@ -3645,11 +3655,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3645
3655
|
};
|
|
3646
3656
|
}), o = k(() => n.cacheIdentifier || n.preferencesStorageKey), l = (y) => y.hasData || !!n.query, s = k(() => {
|
|
3647
3657
|
const y = [];
|
|
3648
|
-
return Object.keys(n.tableHeaders).forEach((
|
|
3649
|
-
const F = n.tableHeaders[
|
|
3658
|
+
return Object.keys(n.tableHeaders).forEach((L) => {
|
|
3659
|
+
const F = n.tableHeaders[L];
|
|
3650
3660
|
y.push({
|
|
3651
|
-
label: F.label ??
|
|
3652
|
-
key:
|
|
3661
|
+
label: F.label ?? L,
|
|
3662
|
+
key: L,
|
|
3653
3663
|
sortable: F.sortable ?? !1
|
|
3654
3664
|
});
|
|
3655
3665
|
}), n.enableEntityActions && y.push({
|
|
@@ -3660,7 +3670,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3660
3670
|
"data-rowid": y.id,
|
|
3661
3671
|
"data-testid": y.name,
|
|
3662
3672
|
...n.rowAttributes(y)
|
|
3663
|
-
}), d =
|
|
3673
|
+
}), d = K({}), u = (y) => {
|
|
3664
3674
|
var g;
|
|
3665
3675
|
return (g = d.value) == null ? void 0 : g.$el.querySelector(`[data-rowid="${y.id}"]`);
|
|
3666
3676
|
}, m = (y) => {
|
|
@@ -3679,7 +3689,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3679
3689
|
r("clear-search-input");
|
|
3680
3690
|
}, v = k(() => n.disableRowClick ? void 0 : (y, g) => {
|
|
3681
3691
|
r("click:row", g);
|
|
3682
|
-
}),
|
|
3692
|
+
}), A = (y) => {
|
|
3683
3693
|
r("sort", y);
|
|
3684
3694
|
}, { setTablePreferences: M, getTablePreferences: E } = Hn(), ee = k(() => {
|
|
3685
3695
|
const y = E(n.preferencesStorageKey);
|
|
@@ -3691,8 +3701,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3691
3701
|
n.preferencesStorageKey && M(n.preferencesStorageKey, y);
|
|
3692
3702
|
};
|
|
3693
3703
|
return (y, g) => {
|
|
3694
|
-
const
|
|
3695
|
-
return p(),
|
|
3704
|
+
const L = B("KIcon"), F = B("KButton"), _ = B("KDropdown"), j = B("KTable"), T = B("KCard");
|
|
3705
|
+
return p(), R(T, {
|
|
3696
3706
|
class: "kong-ui-entity-base-table",
|
|
3697
3707
|
title: e.title
|
|
3698
3708
|
}, {
|
|
@@ -3724,31 +3734,31 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3724
3734
|
"search-input": e.query,
|
|
3725
3735
|
onKtableEmptyStateCtaClicked: f,
|
|
3726
3736
|
"onRow:click": v.value,
|
|
3727
|
-
onSort: g[0] || (g[0] = (
|
|
3737
|
+
onSort: g[0] || (g[0] = (w) => A(w)),
|
|
3728
3738
|
"onUpdate:tablePreferences": h
|
|
3729
3739
|
}, _e({
|
|
3730
|
-
toolbar: b(({ state:
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
y.$slots["toolbar-button"] ? (p(),
|
|
3734
|
-
|
|
3740
|
+
toolbar: b(({ state: w }) => [
|
|
3741
|
+
he($("div", el, [
|
|
3742
|
+
Y(y.$slots, "toolbar-filter", {}, void 0, !0),
|
|
3743
|
+
y.$slots["toolbar-button"] ? (p(), S("div", tl, [
|
|
3744
|
+
Y(y.$slots, "toolbar-button", {}, void 0, !0)
|
|
3735
3745
|
])) : D("", !0)
|
|
3736
3746
|
], 512), [
|
|
3737
|
-
[
|
|
3747
|
+
[me, l(w)]
|
|
3738
3748
|
])
|
|
3739
3749
|
]),
|
|
3740
|
-
actions: b(({ row:
|
|
3741
|
-
|
|
3750
|
+
actions: b(({ row: w, rowKey: U, rowValue: q }) => [
|
|
3751
|
+
$("div", {
|
|
3742
3752
|
class: "actions-container",
|
|
3743
|
-
"data-testid":
|
|
3753
|
+
"data-testid": w.name
|
|
3744
3754
|
}, [
|
|
3745
3755
|
N(_, {
|
|
3746
3756
|
"kpop-attributes": { placement: "bottomEnd" },
|
|
3747
3757
|
width: e.dropdownMenuWidth
|
|
3748
3758
|
}, {
|
|
3749
3759
|
items: b(() => [
|
|
3750
|
-
|
|
3751
|
-
row:
|
|
3760
|
+
Y(y.$slots, "actions", {
|
|
3761
|
+
row: w,
|
|
3752
3762
|
rowKey: U,
|
|
3753
3763
|
rowValue: q
|
|
3754
3764
|
}, void 0, !0)
|
|
@@ -3760,7 +3770,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3760
3770
|
size: "small"
|
|
3761
3771
|
}, {
|
|
3762
3772
|
icon: b(() => [
|
|
3763
|
-
N(
|
|
3773
|
+
N(L, {
|
|
3764
3774
|
color: I(Cr),
|
|
3765
3775
|
icon: "more",
|
|
3766
3776
|
size: "16"
|
|
@@ -3771,24 +3781,24 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3771
3781
|
]),
|
|
3772
3782
|
_: 2
|
|
3773
3783
|
}, 1032, ["width"])
|
|
3774
|
-
], 8,
|
|
3784
|
+
], 8, nl)
|
|
3775
3785
|
]),
|
|
3776
3786
|
_: 2
|
|
3777
3787
|
}, [
|
|
3778
|
-
ie(e.tableHeaders, (
|
|
3788
|
+
ie(e.tableHeaders, (w, U) => ({
|
|
3779
3789
|
name: U,
|
|
3780
|
-
fn: b(({ row: q, rowKey: J, rowValue:
|
|
3781
|
-
N(
|
|
3790
|
+
fn: b(({ row: q, rowKey: J, rowValue: pe }) => [
|
|
3791
|
+
N(Xo, {
|
|
3782
3792
|
"key-name": String(U),
|
|
3783
3793
|
"row-el": u(q)
|
|
3784
3794
|
}, {
|
|
3785
3795
|
default: b(() => [
|
|
3786
|
-
|
|
3796
|
+
Y(y.$slots, U, {
|
|
3787
3797
|
row: q,
|
|
3788
3798
|
rowKey: J,
|
|
3789
|
-
rowValue:
|
|
3799
|
+
rowValue: pe
|
|
3790
3800
|
}, () => [
|
|
3791
|
-
|
|
3801
|
+
V(O(pe), 1)
|
|
3792
3802
|
], !0)
|
|
3793
3803
|
]),
|
|
3794
3804
|
_: 2
|
|
@@ -3808,13 +3818,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3808
3818
|
}, 8, ["title"]);
|
|
3809
3819
|
};
|
|
3810
3820
|
}
|
|
3811
|
-
}),
|
|
3821
|
+
}), Dl = /* @__PURE__ */ re(rl, [["__scopeId", "data-v-273124cf"]]), il = {
|
|
3812
3822
|
key: 0,
|
|
3813
3823
|
class: "kong-ui-entity-delete-error"
|
|
3814
|
-
},
|
|
3824
|
+
}, al = {
|
|
3815
3825
|
key: 1,
|
|
3816
3826
|
class: "description"
|
|
3817
|
-
},
|
|
3827
|
+
}, ol = /* @__PURE__ */ H({
|
|
3818
3828
|
__name: "EntityDeleteModal",
|
|
3819
3829
|
props: {
|
|
3820
3830
|
visible: {
|
|
@@ -3860,7 +3870,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3860
3870
|
};
|
|
3861
3871
|
return (s, c) => {
|
|
3862
3872
|
const d = B("KAlert"), u = B("KPrompt");
|
|
3863
|
-
return p(),
|
|
3873
|
+
return p(), R(u, {
|
|
3864
3874
|
"action-button-appearance": "danger",
|
|
3865
3875
|
"action-button-disabled": e.actionPending,
|
|
3866
3876
|
"action-button-text": "Yes, delete",
|
|
@@ -3872,10 +3882,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3872
3882
|
onProceed: l
|
|
3873
3883
|
}, {
|
|
3874
3884
|
default: b(() => [
|
|
3875
|
-
e.error ? (p(),
|
|
3885
|
+
e.error ? (p(), S("div", il, [
|
|
3876
3886
|
N(d, { appearance: "danger" }, {
|
|
3877
3887
|
default: b(() => [
|
|
3878
|
-
|
|
3888
|
+
V(O(e.error), 1)
|
|
3879
3889
|
]),
|
|
3880
3890
|
_: 1
|
|
3881
3891
|
})
|
|
@@ -3886,21 +3896,21 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3886
3896
|
tag: "p"
|
|
3887
3897
|
}, _e({
|
|
3888
3898
|
entityType: b(() => [
|
|
3889
|
-
|
|
3899
|
+
V(O(r.entityType), 1)
|
|
3890
3900
|
]),
|
|
3891
3901
|
_: 2
|
|
3892
3902
|
}, [
|
|
3893
3903
|
r.entityName ? {
|
|
3894
3904
|
name: "entityName",
|
|
3895
3905
|
fn: b(() => [
|
|
3896
|
-
|
|
3906
|
+
$("strong", null, O(r.entityName), 1)
|
|
3897
3907
|
]),
|
|
3898
3908
|
key: "0"
|
|
3899
3909
|
} : void 0
|
|
3900
3910
|
]), 1032, ["keypath"]),
|
|
3901
|
-
r.description || s.$slots.description ? (p(),
|
|
3902
|
-
|
|
3903
|
-
|
|
3911
|
+
r.description || s.$slots.description ? (p(), S("div", al, [
|
|
3912
|
+
Y(s.$slots, "description", {}, () => [
|
|
3913
|
+
$("p", null, O(r.description), 1)
|
|
3904
3914
|
], !0)
|
|
3905
3915
|
])) : D("", !0)
|
|
3906
3916
|
]),
|
|
@@ -3908,13 +3918,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3908
3918
|
}, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
|
|
3909
3919
|
};
|
|
3910
3920
|
}
|
|
3911
|
-
}),
|
|
3921
|
+
}), jl = /* @__PURE__ */ re(ol, [["__scopeId", "data-v-4361d622"]]), ll = {
|
|
3912
3922
|
fill: "none",
|
|
3913
3923
|
height: "20",
|
|
3914
3924
|
viewBox: "0 0 20 20",
|
|
3915
3925
|
width: "20",
|
|
3916
3926
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3917
|
-
},
|
|
3927
|
+
}, sl = {
|
|
3918
3928
|
id: "mask0_180_20349",
|
|
3919
3929
|
height: "20",
|
|
3920
3930
|
maskUnits: "userSpaceOnUse",
|
|
@@ -3922,7 +3932,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3922
3932
|
width: "20",
|
|
3923
3933
|
x: "0",
|
|
3924
3934
|
y: "0"
|
|
3925
|
-
},
|
|
3935
|
+
}, cl = ["fill"], ul = { mask: "url(#mask0_180_20349)" }, dl = ["fill"], Et = /* @__PURE__ */ H({
|
|
3926
3936
|
__name: "IconFilter",
|
|
3927
3937
|
props: {
|
|
3928
3938
|
color: {
|
|
@@ -3931,26 +3941,26 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3931
3941
|
}
|
|
3932
3942
|
},
|
|
3933
3943
|
setup(e) {
|
|
3934
|
-
return (t, n) => (p(),
|
|
3935
|
-
|
|
3936
|
-
|
|
3944
|
+
return (t, n) => (p(), S("svg", ll, [
|
|
3945
|
+
$("mask", sl, [
|
|
3946
|
+
$("rect", {
|
|
3937
3947
|
fill: e.color,
|
|
3938
3948
|
height: "20",
|
|
3939
3949
|
width: "20"
|
|
3940
|
-
}, null, 8,
|
|
3950
|
+
}, null, 8, cl)
|
|
3941
3951
|
]),
|
|
3942
|
-
|
|
3943
|
-
|
|
3952
|
+
$("g", ul, [
|
|
3953
|
+
$("path", {
|
|
3944
3954
|
d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
|
|
3945
3955
|
fill: e.color
|
|
3946
|
-
}, null, 8,
|
|
3956
|
+
}, null, 8, dl)
|
|
3947
3957
|
])
|
|
3948
3958
|
]));
|
|
3949
3959
|
}
|
|
3950
|
-
}),
|
|
3960
|
+
}), fl = {
|
|
3951
3961
|
key: 1,
|
|
3952
3962
|
class: "kong-ui-entity-filter"
|
|
3953
|
-
},
|
|
3963
|
+
}, pl = { class: "kong-ui-entity-filter-menu" }, hl = ["data-testid"], ml = ["onClick", "onKeydown"], gl = { class: "menu-item-indicator" }, yl = { class: "menu-item-body" }, vl = ["for"], bl = { class: "menu-item-buttons" }, xl = { class: "filter-clear-button-container" }, Cl = /* @__PURE__ */ H({
|
|
3954
3964
|
__name: "EntityFilter",
|
|
3955
3965
|
props: {
|
|
3956
3966
|
// filter config, either exact match or fuzzy match
|
|
@@ -3970,7 +3980,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3970
3980
|
},
|
|
3971
3981
|
emits: ["update:modelValue"],
|
|
3972
3982
|
setup(e, { emit: t }) {
|
|
3973
|
-
const { i18n: { t: n } } = z.useI18n(), r = e, i = t, a =
|
|
3983
|
+
const { i18n: { t: n } } = z.useI18n(), r = e, i = t, a = K(!1), o = K({}), l = K(/* @__PURE__ */ new Set()), s = k(() => {
|
|
3974
3984
|
const h = [];
|
|
3975
3985
|
return new URLSearchParams(r.modelValue).forEach((y, g) => {
|
|
3976
3986
|
y !== "" && h.push(g);
|
|
@@ -3998,11 +4008,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3998
4008
|
m("");
|
|
3999
4009
|
}, x = (h) => `filter-${h}`, v = (h) => {
|
|
4000
4010
|
var y, g;
|
|
4001
|
-
return (((g = (y = r.config.schema) == null ? void 0 : y[h]) == null ? void 0 : g.values) ?? []).map((
|
|
4002
|
-
value:
|
|
4003
|
-
label:
|
|
4011
|
+
return (((g = (y = r.config.schema) == null ? void 0 : y[h]) == null ? void 0 : g.values) ?? []).map((L) => ({
|
|
4012
|
+
value: L,
|
|
4013
|
+
label: L
|
|
4004
4014
|
}));
|
|
4005
|
-
},
|
|
4015
|
+
}, A = (h) => {
|
|
4006
4016
|
var y, g;
|
|
4007
4017
|
return ((g = (y = r.config.schema) == null ? void 0 : y[h]) == null ? void 0 : g.type) ?? "text";
|
|
4008
4018
|
}, M = (h) => {
|
|
@@ -4013,12 +4023,12 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4013
4023
|
}, E = () => {
|
|
4014
4024
|
o.value = {}, ee(!0);
|
|
4015
4025
|
}, ee = (h = !1) => {
|
|
4016
|
-
const y = Object.keys(o.value).reduce((g,
|
|
4026
|
+
const y = Object.keys(o.value).reduce((g, L) => (o.value[L] && (g[L] = `${o.value[L]}`), g), {});
|
|
4017
4027
|
h && (a.value = !1), i("update:modelValue", new URLSearchParams(y).toString());
|
|
4018
4028
|
};
|
|
4019
4029
|
return (h, y) => {
|
|
4020
|
-
const g = B("KInput"),
|
|
4021
|
-
return e.config.isExactMatch ? (p(),
|
|
4030
|
+
const g = B("KInput"), L = B("KButton"), F = B("KSelect");
|
|
4031
|
+
return e.config.isExactMatch ? (p(), R(g, {
|
|
4022
4032
|
key: 0,
|
|
4023
4033
|
autocomplete: "off",
|
|
4024
4034
|
class: "kong-ui-entity-filter-input",
|
|
@@ -4031,127 +4041,127 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4031
4041
|
N(Et)
|
|
4032
4042
|
]),
|
|
4033
4043
|
after: b(() => [
|
|
4034
|
-
|
|
4044
|
+
he(N(I(Ko), {
|
|
4035
4045
|
class: "kong-ui-entity-filter-clear",
|
|
4036
4046
|
onClick: f
|
|
4037
4047
|
}, null, 512), [
|
|
4038
|
-
[
|
|
4048
|
+
[me, e.modelValue !== ""]
|
|
4039
4049
|
])
|
|
4040
4050
|
]),
|
|
4041
4051
|
_: 1
|
|
4042
|
-
}, 8, ["model-value", "placeholder"])) : (p(),
|
|
4043
|
-
N(
|
|
4052
|
+
}, 8, ["model-value", "placeholder"])) : (p(), S("div", fl, [
|
|
4053
|
+
N(L, {
|
|
4044
4054
|
appearance: "tertiary",
|
|
4045
4055
|
"data-testid": "filter-button",
|
|
4046
4056
|
onClick: d
|
|
4047
4057
|
}, {
|
|
4048
4058
|
default: b(() => [
|
|
4049
4059
|
N(Et),
|
|
4050
|
-
|
|
4060
|
+
V(" " + O(I(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
|
|
4051
4061
|
]),
|
|
4052
4062
|
_: 1
|
|
4053
4063
|
}),
|
|
4054
|
-
|
|
4064
|
+
he($("div", {
|
|
4055
4065
|
class: "kong-ui-entity-filter-backdrop",
|
|
4056
4066
|
onClick: d
|
|
4057
4067
|
}, null, 512), [
|
|
4058
|
-
[
|
|
4068
|
+
[me, a.value]
|
|
4059
4069
|
]),
|
|
4060
|
-
|
|
4061
|
-
(p(!0),
|
|
4070
|
+
he($("div", pl, [
|
|
4071
|
+
(p(!0), S(le, null, ie(c.value, (_) => {
|
|
4062
4072
|
var j, T;
|
|
4063
|
-
return p(),
|
|
4073
|
+
return p(), S("div", {
|
|
4064
4074
|
key: _.value,
|
|
4065
4075
|
class: "kong-ui-entity-filter-menu-item",
|
|
4066
4076
|
"data-testid": _.value
|
|
4067
4077
|
}, [
|
|
4068
|
-
|
|
4069
|
-
class:
|
|
4078
|
+
$("span", {
|
|
4079
|
+
class: de(["menu-item-title", { expanded: l.value.has(_.value) }]),
|
|
4070
4080
|
role: "button",
|
|
4071
4081
|
tabindex: "0",
|
|
4072
|
-
onClick: (
|
|
4073
|
-
onKeydown:
|
|
4082
|
+
onClick: (w) => u(_.value),
|
|
4083
|
+
onKeydown: $n((w) => u(_.value), ["enter"])
|
|
4074
4084
|
}, [
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
[
|
|
4085
|
+
V(O(_.label) + " ", 1),
|
|
4086
|
+
he($("span", gl, null, 512), [
|
|
4087
|
+
[me, s.value.includes(_.value)]
|
|
4078
4088
|
]),
|
|
4079
4089
|
N(I(Oo), {
|
|
4080
|
-
class:
|
|
4090
|
+
class: de(["menu-item-expand-icon", { expanded: l.value.has(_.value) }]),
|
|
4081
4091
|
color: I(_r)
|
|
4082
4092
|
}, null, 8, ["class", "color"])
|
|
4083
|
-
], 42,
|
|
4084
|
-
|
|
4085
|
-
|
|
4093
|
+
], 42, ml),
|
|
4094
|
+
he($("div", yl, [
|
|
4095
|
+
$("label", {
|
|
4086
4096
|
class: "menu-item-label",
|
|
4087
4097
|
for: x(_.value)
|
|
4088
|
-
}, O(I(n)("filter.fieldLabel")), 9,
|
|
4089
|
-
((T = (j = e.config.schema) == null ? void 0 : j[_.value]) == null ? void 0 : T.type) === "select" ? (p(),
|
|
4098
|
+
}, O(I(n)("filter.fieldLabel")), 9, vl),
|
|
4099
|
+
((T = (j = e.config.schema) == null ? void 0 : j[_.value]) == null ? void 0 : T.type) === "select" ? (p(), R(F, {
|
|
4090
4100
|
key: 0,
|
|
4091
4101
|
id: x(_.value),
|
|
4092
4102
|
modelValue: o.value[_.value],
|
|
4093
|
-
"onUpdate:modelValue": (
|
|
4103
|
+
"onUpdate:modelValue": (w) => o.value[_.value] = w,
|
|
4094
4104
|
items: v(_.value),
|
|
4095
4105
|
placeholder: I(n)("filter.selectPlaceholder")
|
|
4096
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(),
|
|
4106
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "items", "placeholder"])) : (p(), R(g, {
|
|
4097
4107
|
key: 1,
|
|
4098
4108
|
id: x(_.value),
|
|
4099
4109
|
modelValue: o.value[_.value],
|
|
4100
|
-
"onUpdate:modelValue": (
|
|
4110
|
+
"onUpdate:modelValue": (w) => o.value[_.value] = w,
|
|
4101
4111
|
autocomplete: "off",
|
|
4102
4112
|
placeholder: I(n)("filter.inputPlaceholder"),
|
|
4103
|
-
type:
|
|
4113
|
+
type: A(_.value)
|
|
4104
4114
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
|
|
4105
4115
|
], 512), [
|
|
4106
|
-
[
|
|
4116
|
+
[me, l.value.has(_.value)]
|
|
4107
4117
|
]),
|
|
4108
|
-
|
|
4109
|
-
N(
|
|
4118
|
+
he($("div", bl, [
|
|
4119
|
+
N(L, {
|
|
4110
4120
|
appearance: "tertiary",
|
|
4111
4121
|
"data-testid": "apply-filter",
|
|
4112
4122
|
size: "small",
|
|
4113
|
-
onClick: y[0] || (y[0] = (
|
|
4123
|
+
onClick: y[0] || (y[0] = (w) => ee(!0))
|
|
4114
4124
|
}, {
|
|
4115
4125
|
default: b(() => [
|
|
4116
|
-
|
|
4126
|
+
V(O(I(n)("filter.applyButtonText")), 1)
|
|
4117
4127
|
]),
|
|
4118
4128
|
_: 1
|
|
4119
4129
|
}),
|
|
4120
|
-
N(
|
|
4130
|
+
N(L, {
|
|
4121
4131
|
appearance: "tertiary",
|
|
4122
4132
|
"data-testid": "clear-filter",
|
|
4123
4133
|
size: "small",
|
|
4124
|
-
onClick: (
|
|
4134
|
+
onClick: (w) => M(_.value)
|
|
4125
4135
|
}, {
|
|
4126
4136
|
default: b(() => [
|
|
4127
|
-
|
|
4137
|
+
V(O(I(n)("filter.clearButtonText")), 1)
|
|
4128
4138
|
]),
|
|
4129
4139
|
_: 2
|
|
4130
4140
|
}, 1032, ["onClick"])
|
|
4131
4141
|
], 512), [
|
|
4132
|
-
[
|
|
4142
|
+
[me, l.value.has(_.value)]
|
|
4133
4143
|
])
|
|
4134
|
-
], 8,
|
|
4144
|
+
], 8, hl);
|
|
4135
4145
|
}), 128)),
|
|
4136
|
-
|
|
4137
|
-
N(
|
|
4146
|
+
$("div", xl, [
|
|
4147
|
+
N(L, {
|
|
4138
4148
|
appearance: "tertiary",
|
|
4139
4149
|
size: "small",
|
|
4140
4150
|
onClick: E
|
|
4141
4151
|
}, {
|
|
4142
4152
|
default: b(() => [
|
|
4143
|
-
|
|
4153
|
+
V(O(I(n)("filter.clearAllButtonText")), 1)
|
|
4144
4154
|
]),
|
|
4145
4155
|
_: 1
|
|
4146
4156
|
})
|
|
4147
4157
|
])
|
|
4148
4158
|
], 512), [
|
|
4149
|
-
[
|
|
4159
|
+
[me, a.value]
|
|
4150
4160
|
])
|
|
4151
4161
|
]));
|
|
4152
4162
|
};
|
|
4153
4163
|
}
|
|
4154
|
-
}),
|
|
4164
|
+
}), Ul = /* @__PURE__ */ re(Cl, [["__scopeId", "data-v-8cfadde3"]]), ql = /* @__PURE__ */ H({
|
|
4155
4165
|
__name: "EntityToggleModal",
|
|
4156
4166
|
props: {
|
|
4157
4167
|
visible: {
|
|
@@ -4183,7 +4193,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4183
4193
|
},
|
|
4184
4194
|
emits: ["cancel", "proceed"],
|
|
4185
4195
|
setup(e, { emit: t }) {
|
|
4186
|
-
const { i18n: { t: n }, i18nT: r } = z.useI18n(), i = e, a = t, o =
|
|
4196
|
+
const { i18n: { t: n }, i18nT: r } = z.useI18n(), i = e, a = t, o = K(!1), l = k(
|
|
4187
4197
|
() => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
|
|
4188
4198
|
), s = k(
|
|
4189
4199
|
() => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
|
|
@@ -4201,7 +4211,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4201
4211
|
};
|
|
4202
4212
|
return (u, m) => {
|
|
4203
4213
|
const f = B("KPrompt");
|
|
4204
|
-
return p(),
|
|
4214
|
+
return p(), R(Nn, { to: "body" }, [
|
|
4205
4215
|
N(f, {
|
|
4206
4216
|
"action-button-disabled": o.value,
|
|
4207
4217
|
"action-button-text": s.value,
|
|
@@ -4217,10 +4227,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4217
4227
|
scope: "global"
|
|
4218
4228
|
}, {
|
|
4219
4229
|
entityType: b(() => [
|
|
4220
|
-
|
|
4230
|
+
V(O(e.entityType), 1)
|
|
4221
4231
|
]),
|
|
4222
4232
|
entityName: b(() => [
|
|
4223
|
-
|
|
4233
|
+
$("strong", null, O(e.entityName), 1)
|
|
4224
4234
|
]),
|
|
4225
4235
|
_: 1
|
|
4226
4236
|
}, 8, ["keypath"])
|
|
@@ -4230,7 +4240,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4230
4240
|
]);
|
|
4231
4241
|
};
|
|
4232
4242
|
}
|
|
4233
|
-
}),
|
|
4243
|
+
}), Pl = /* @__PURE__ */ H({
|
|
4234
4244
|
__name: "PermissionsWrapper",
|
|
4235
4245
|
props: {
|
|
4236
4246
|
/**
|
|
@@ -4252,30 +4262,31 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4252
4262
|
}
|
|
4253
4263
|
},
|
|
4254
4264
|
setup(e) {
|
|
4255
|
-
const t = e, n =
|
|
4265
|
+
const t = e, n = K(void 0), r = k(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
|
|
4256
4266
|
return Ae(() => t.authFunction, async () => {
|
|
4257
4267
|
n.value = await t.authFunction();
|
|
4258
|
-
}, { immediate: !0 }), (i, a) => r.value ?
|
|
4268
|
+
}, { immediate: !0 }), (i, a) => r.value ? Y(i.$slots, "default", {
|
|
4259
4269
|
key: 0,
|
|
4260
4270
|
isAllowed: n.value
|
|
4261
4271
|
}) : D("", !0);
|
|
4262
4272
|
}
|
|
4263
|
-
}),
|
|
4264
|
-
key: 0,
|
|
4265
|
-
class: "form-section-title"
|
|
4266
|
-
}, wl = {
|
|
4273
|
+
}), _l = { class: "form-section-wrapper" }, kl = {
|
|
4267
4274
|
key: 1,
|
|
4268
4275
|
class: "form-section-description"
|
|
4269
|
-
},
|
|
4276
|
+
}, Al = {
|
|
4270
4277
|
key: 2,
|
|
4271
4278
|
class: "form-section-footer"
|
|
4272
|
-
},
|
|
4279
|
+
}, wl = { class: "form-section-content" }, Sl = /* @__PURE__ */ H({
|
|
4273
4280
|
__name: "EntityFormSection",
|
|
4274
4281
|
props: {
|
|
4275
4282
|
title: {
|
|
4276
4283
|
type: String,
|
|
4277
4284
|
default: ""
|
|
4278
4285
|
},
|
|
4286
|
+
titleTag: {
|
|
4287
|
+
type: String,
|
|
4288
|
+
default: "h2"
|
|
4289
|
+
},
|
|
4279
4290
|
description: {
|
|
4280
4291
|
type: String,
|
|
4281
4292
|
default: ""
|
|
@@ -4295,37 +4306,45 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4295
4306
|
},
|
|
4296
4307
|
setup(e) {
|
|
4297
4308
|
const t = Ge();
|
|
4298
|
-
return (n, r) => (p(),
|
|
4299
|
-
class:
|
|
4309
|
+
return (n, r) => (p(), S("fieldset", {
|
|
4310
|
+
class: de(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
|
|
4300
4311
|
}, [
|
|
4301
|
-
|
|
4302
|
-
e.hideInfoHeader ? D("", !0) : (p(),
|
|
4312
|
+
$("div", _l, [
|
|
4313
|
+
e.hideInfoHeader ? D("", !0) : (p(), S("div", {
|
|
4303
4314
|
key: 0,
|
|
4304
|
-
class:
|
|
4315
|
+
class: de(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
4305
4316
|
}, [
|
|
4306
|
-
e.title ? (p(),
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4317
|
+
e.title ? (p(), R(ce(e.titleTag), {
|
|
4318
|
+
key: 0,
|
|
4319
|
+
class: "form-section-title"
|
|
4320
|
+
}, {
|
|
4321
|
+
default: b(() => [
|
|
4322
|
+
V(O(e.title), 1)
|
|
4323
|
+
]),
|
|
4324
|
+
_: 1
|
|
4325
|
+
})) : D("", !0),
|
|
4326
|
+
e.description || I(t).description ? (p(), S("div", kl, [
|
|
4327
|
+
Y(n.$slots, "description", {}, () => [
|
|
4328
|
+
$("p", null, O(e.description), 1)
|
|
4310
4329
|
], !0)
|
|
4311
4330
|
])) : D("", !0),
|
|
4312
|
-
I(t).footer ? (p(),
|
|
4313
|
-
|
|
4331
|
+
I(t).footer ? (p(), S("div", Al, [
|
|
4332
|
+
Y(n.$slots, "footer", {}, void 0, !0)
|
|
4314
4333
|
])) : D("", !0)
|
|
4315
4334
|
], 2)),
|
|
4316
|
-
|
|
4317
|
-
|
|
4335
|
+
$("div", wl, [
|
|
4336
|
+
Y(n.$slots, "default", {}, void 0, !0)
|
|
4318
4337
|
])
|
|
4319
4338
|
])
|
|
4320
4339
|
], 2));
|
|
4321
4340
|
}
|
|
4322
|
-
}),
|
|
4341
|
+
}), Hl = /* @__PURE__ */ re(Sl, [["__scopeId", "data-v-04c961fd"]]), Il = {
|
|
4323
4342
|
class: "kong-ui-public-entity-link",
|
|
4324
4343
|
"data-testid": "entity-link-parent"
|
|
4325
|
-
},
|
|
4344
|
+
}, El = {
|
|
4326
4345
|
key: 0,
|
|
4327
4346
|
class: "deleted-entity"
|
|
4328
|
-
},
|
|
4347
|
+
}, Tl = { key: 1 }, Fl = ["onClick"], Ol = /* @__PURE__ */ H({
|
|
4329
4348
|
__name: "EntityLink",
|
|
4330
4349
|
props: {
|
|
4331
4350
|
entityLinkData: {
|
|
@@ -4349,15 +4368,15 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4349
4368
|
}
|
|
4350
4369
|
},
|
|
4351
4370
|
setup(e) {
|
|
4352
|
-
const t = e, n =
|
|
4371
|
+
const t = e, n = K(), { isTruncated: r } = z.useTruncationDetector(n), { i18n: { t: i } } = z.useI18n(), a = i("global.actions.copyId"), o = K(a), l = k(() => t.entityLinkData.deleted ?? !1), s = k(() => t.entityLinkData.id.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id), c = k(() => `${s.value.toString().slice(0, 5)} (deleted)`), d = async (u) => {
|
|
4353
4372
|
await u(s.value || "") && (o.value = i("global.actions.copyToClipboard"), setTimeout(() => {
|
|
4354
4373
|
o.value = a;
|
|
4355
4374
|
}, 1800));
|
|
4356
4375
|
};
|
|
4357
4376
|
return (u, m) => {
|
|
4358
4377
|
const f = B("KTooltip"), x = B("KExternalLink"), v = B("KClipboardProvider");
|
|
4359
|
-
return p(),
|
|
4360
|
-
l.value ? (p(),
|
|
4378
|
+
return p(), S("div", Il, [
|
|
4379
|
+
l.value ? (p(), S("div", El, O(c.value), 1)) : s.value ? s.value ? (p(), R(x, {
|
|
4361
4380
|
key: 2,
|
|
4362
4381
|
class: "entity-link",
|
|
4363
4382
|
"hide-icon": !e.newWindow,
|
|
@@ -4369,7 +4388,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4369
4388
|
text: I(r) && e.entityLinkData.label || ""
|
|
4370
4389
|
}, {
|
|
4371
4390
|
default: b(() => [
|
|
4372
|
-
|
|
4391
|
+
$("span", {
|
|
4373
4392
|
ref_key: "textContent",
|
|
4374
4393
|
ref: n,
|
|
4375
4394
|
class: "entity-link-label"
|
|
@@ -4379,8 +4398,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4379
4398
|
}, 8, ["text"])
|
|
4380
4399
|
]),
|
|
4381
4400
|
_: 1
|
|
4382
|
-
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (p(),
|
|
4383
|
-
s.value && e.allowCopy ? (p(),
|
|
4401
|
+
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (p(), S("div", Tl, O(" – "))),
|
|
4402
|
+
s.value && e.allowCopy ? (p(), R(f, {
|
|
4384
4403
|
key: o.value,
|
|
4385
4404
|
class: "copy-uuid-tooltip",
|
|
4386
4405
|
"max-width": "160",
|
|
@@ -4389,10 +4408,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4389
4408
|
}, {
|
|
4390
4409
|
default: b(() => [
|
|
4391
4410
|
N(v, null, {
|
|
4392
|
-
default: b(({ copyToClipboard:
|
|
4393
|
-
|
|
4411
|
+
default: b(({ copyToClipboard: A }) => [
|
|
4412
|
+
$("span", {
|
|
4394
4413
|
class: "entity-link-copy-id",
|
|
4395
|
-
onClick: He((M) => d(
|
|
4414
|
+
onClick: He((M) => d(A), ["stop"])
|
|
4396
4415
|
}, [
|
|
4397
4416
|
N(I(Po), {
|
|
4398
4417
|
class: "copy-icon",
|
|
@@ -4400,7 +4419,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4400
4419
|
"data-testid": "copy-id",
|
|
4401
4420
|
size: I(wr)
|
|
4402
4421
|
}, null, 8, ["color", "size"])
|
|
4403
|
-
], 8,
|
|
4422
|
+
], 8, Fl)
|
|
4404
4423
|
]),
|
|
4405
4424
|
_: 1
|
|
4406
4425
|
})
|
|
@@ -4410,36 +4429,36 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4410
4429
|
]);
|
|
4411
4430
|
};
|
|
4412
4431
|
}
|
|
4413
|
-
}),
|
|
4432
|
+
}), Vl = /* @__PURE__ */ re(Ol, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Yl, useDeleteUrlBuilder: zl, useErrors: Wl, useExternalLinkCreator: Jl, useFetchUrlBuilder: Gl, useFetcher: Zl, useDebouncedFilter: Ql, useStringHelpers: Xl, useHelpers: es, useGatewayFeatureSupported: ts, useTruncationDetector: ns } = z;
|
|
4414
4433
|
export {
|
|
4415
4434
|
po as ConfigCardDisplay,
|
|
4416
4435
|
Rt as ConfigCardItem,
|
|
4417
4436
|
ne as ConfigurationSchemaSection,
|
|
4418
4437
|
P as ConfigurationSchemaType,
|
|
4419
|
-
|
|
4420
|
-
|
|
4438
|
+
Kl as EntityBaseConfigCard,
|
|
4439
|
+
Ml as EntityBaseForm,
|
|
4421
4440
|
jn as EntityBaseFormType,
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4441
|
+
Dl as EntityBaseTable,
|
|
4442
|
+
jl as EntityDeleteModal,
|
|
4443
|
+
Ul as EntityFilter,
|
|
4444
|
+
Hl as EntityFormSection,
|
|
4445
|
+
Vl as EntityLink,
|
|
4446
|
+
ql as EntityToggleModal,
|
|
4428
4447
|
Dn as EntityTypes,
|
|
4429
4448
|
ve as FetcherStatus,
|
|
4430
4449
|
yr as InternalLinkItem,
|
|
4431
4450
|
Kt as JsonCodeBlock,
|
|
4432
|
-
|
|
4451
|
+
Pl as PermissionsWrapper,
|
|
4433
4452
|
Sn as YamlCodeBlock,
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4453
|
+
Yl as useAxios,
|
|
4454
|
+
Ql as useDebouncedFilter,
|
|
4455
|
+
zl as useDeleteUrlBuilder,
|
|
4456
|
+
Wl as useErrors,
|
|
4457
|
+
Jl as useExternalLinkCreator,
|
|
4458
|
+
Gl as useFetchUrlBuilder,
|
|
4459
|
+
Zl as useFetcher,
|
|
4460
|
+
ts as useGatewayFeatureSupported,
|
|
4461
|
+
es as useHelpers,
|
|
4462
|
+
Xl as useStringHelpers,
|
|
4463
|
+
ns as useTruncationDetector
|
|
4445
4464
|
};
|