@kong-ui-public/entities-shared 3.3.2 → 3.3.4
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 +359 -359
- package/dist/entities-shared.umd.js +18 -18
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as
|
|
1
|
+
import { inject as $n, ref as R, unref as T, computed as k, watch as Ae, defineComponent as P, openBlock as m, createBlock as M, resolveDynamicComponent as se, normalizeClass as fe, withCtx as b, createElementBlock as S, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as ce, renderList as oe, resolveComponent as K, createVNode as B, createTextVNode as V, useCssVars as Ot, useSlots as Xe, renderSlot as z, createSlots as _e, normalizeProps as Fn, guardReactiveProps as On, mergeProps as Ln, normalizeStyle as Se, pushScopeId as Ie, popScopeId as Ee, onBeforeMount as Lt, withModifiers as Ye, onMounted as Nn, onUnmounted as Bn, withDirectives as me, vShow as ge, withKeys as Rn, Teleport as Mn } from "vue";
|
|
2
2
|
import st from "axios";
|
|
3
3
|
import { createI18n as Kn, i18nTComponent as Dn } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as Un } from "@kong/kongponents";
|
|
@@ -8,7 +8,7 @@ function Hn() {
|
|
|
8
8
|
return {
|
|
9
9
|
getAxiosInstance: (e = {}) => {
|
|
10
10
|
try {
|
|
11
|
-
const t =
|
|
11
|
+
const t = $n("get-axios-instance", void 0);
|
|
12
12
|
return typeof t == "function" ? t(e) : st.create({
|
|
13
13
|
withCredentials: !0,
|
|
14
14
|
timeout: 3e4,
|
|
@@ -206,8 +206,8 @@ function Nt() {
|
|
|
206
206
|
return !1;
|
|
207
207
|
const l = /* @__PURE__ */ new Set([...a, ...o]);
|
|
208
208
|
for (const s of l) {
|
|
209
|
-
const
|
|
210
|
-
if (
|
|
209
|
+
const u = a.filter((c) => c === s).length, d = o.filter((c) => c === s).length;
|
|
210
|
+
if (u !== d)
|
|
211
211
|
return !1;
|
|
212
212
|
}
|
|
213
213
|
return !0;
|
|
@@ -238,8 +238,8 @@ function Nt() {
|
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
sortAlpha: (a) => (o, l) => {
|
|
241
|
-
let s = o[a] === void 0 || o[a] === null ? "" : o[a],
|
|
242
|
-
return Array.isArray(o[a]) && (s = o[a][0]), Array.isArray(l[a]) && (
|
|
241
|
+
let s = o[a] === void 0 || o[a] === null ? "" : o[a], u = l[a] === void 0 || l[a] === null ? "" : l[a];
|
|
242
|
+
return Array.isArray(o[a]) && (s = o[a][0]), Array.isArray(l[a]) && (u = l[a][0]), s.localeCompare(u);
|
|
243
243
|
},
|
|
244
244
|
isValidUuid: (a) => a ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(a) : !1
|
|
245
245
|
};
|
|
@@ -251,16 +251,16 @@ function ar(e, t, n, r = {
|
|
|
251
251
|
n || (n = "1000");
|
|
252
252
|
const { axiosInstance: i } = et(e.axiosRequestConfig), { i18n: { t: a } } = je(), { debounce: o } = Vn(), l = o(async (h) => {
|
|
253
253
|
await Z(h);
|
|
254
|
-
}, 200), s = R(!1),
|
|
254
|
+
}, 200), s = R(!1), u = R(""), d = R(""), c = R([]), g = R([]), p = R(void 0), y = T(t);
|
|
255
255
|
let v = `${e.apiBaseUrl}${y}`;
|
|
256
256
|
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}` : ""));
|
|
257
257
|
const { isValidUuid: _ } = Nt(), N = async () => {
|
|
258
258
|
try {
|
|
259
259
|
s.value = !0;
|
|
260
260
|
const { data: h } = await i.get(`${v}?size=${n}`);
|
|
261
|
-
h != null && h.next || (p.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : [],
|
|
261
|
+
h != null && h.next || (p.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : []), g.value = r.fetchedItemsKey in h ? h[r.fetchedItemsKey] : [], c.value = g.value;
|
|
262
262
|
} catch {
|
|
263
|
-
|
|
263
|
+
c.value = [], u.value = a("debouncedFilter.errors.fetch");
|
|
264
264
|
} finally {
|
|
265
265
|
s.value = !1;
|
|
266
266
|
}
|
|
@@ -269,52 +269,52 @@ function ar(e, t, n, r = {
|
|
|
269
269
|
if (w.value !== h)
|
|
270
270
|
if (w.value = h || "", p.value === void 0)
|
|
271
271
|
try {
|
|
272
|
-
if (s.value = !0,
|
|
273
|
-
let
|
|
274
|
-
h && (
|
|
275
|
-
const { data: x } = await i.get(`${
|
|
276
|
-
r.fetchedItemsKey in x ?
|
|
272
|
+
if (s.value = !0, u.value = "", d.value = "", e.app === "konnect") {
|
|
273
|
+
let F = v + "";
|
|
274
|
+
h && (F += `/${h}`);
|
|
275
|
+
const { data: x } = await i.get(`${F}?size=${n}`);
|
|
276
|
+
r.fetchedItemsKey in x ? c.value = x[r.fetchedItemsKey] : x != null && x.id ? c.value = [x] : c.value = [];
|
|
277
277
|
} else if (h) {
|
|
278
|
-
const
|
|
279
|
-
_(h) && r.searchKeys.includes("id") ?
|
|
280
|
-
const { data:
|
|
281
|
-
return [
|
|
282
|
-
})()) :
|
|
283
|
-
...r.searchKeys.filter((
|
|
284
|
-
const { data: A } = await i.get(`${v}?${
|
|
278
|
+
const F = [];
|
|
279
|
+
_(h) && r.searchKeys.includes("id") ? F.push((async () => {
|
|
280
|
+
const { data: $ } = await i.get(`${v}/${h}`);
|
|
281
|
+
return [$[r.fetchedItemsKey] ?? $];
|
|
282
|
+
})()) : F.push(
|
|
283
|
+
...r.searchKeys.filter(($) => $ !== "id").map(async ($) => {
|
|
284
|
+
const { data: A } = await i.get(`${v}?${$}=${h}`);
|
|
285
285
|
return A[r.fetchedItemsKey];
|
|
286
286
|
})
|
|
287
287
|
);
|
|
288
|
-
const x = await Promise.all(
|
|
289
|
-
|
|
288
|
+
const x = await Promise.all(F), U = /* @__PURE__ */ new Set();
|
|
289
|
+
c.value = [], (I = x == null ? void 0 : x.forEach) == null || I.call(x, ($) => {
|
|
290
290
|
var A;
|
|
291
|
-
(A =
|
|
292
|
-
U.has(q.id) || (U.add(q.id),
|
|
291
|
+
(A = $ == null ? void 0 : $.forEach) == null || A.call($, (q) => {
|
|
292
|
+
U.has(q.id) || (U.add(q.id), c.value.push(q));
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
} else
|
|
296
|
-
|
|
297
|
-
} catch (
|
|
298
|
-
((f =
|
|
296
|
+
c.value = g.value;
|
|
297
|
+
} catch (F) {
|
|
298
|
+
((f = F == null ? void 0 : F.response) == null ? void 0 : f.status) === 404 ? d.value = a("debouncedFilter.errors.invalid") : (c.value = [], u.value = a("debouncedFilter.errors.fetch"));
|
|
299
299
|
} finally {
|
|
300
300
|
s.value = !1;
|
|
301
301
|
}
|
|
302
302
|
else
|
|
303
|
-
s.value = !0, d.value = "", h ? (
|
|
303
|
+
s.value = !0, d.value = "", h ? (c.value = (E = p.value) == null ? void 0 : E.filter((F) => {
|
|
304
304
|
var U;
|
|
305
305
|
let x = !1;
|
|
306
|
-
for (const
|
|
307
|
-
const A = typeof
|
|
306
|
+
for (const $ of r.searchKeys) {
|
|
307
|
+
const A = typeof F[$] == "string" ? (U = F[$]) == null ? void 0 : U.toLowerCase() : F[$];
|
|
308
308
|
A != null && A.includes(h.toLowerCase()) && (x = !0);
|
|
309
309
|
}
|
|
310
310
|
return x;
|
|
311
|
-
}), (!
|
|
311
|
+
}), (!c.value || !c.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : c.value = p.value, s.value = !1;
|
|
312
312
|
};
|
|
313
313
|
return {
|
|
314
314
|
loading: s,
|
|
315
|
-
error:
|
|
315
|
+
error: u,
|
|
316
316
|
validationError: d,
|
|
317
|
-
results:
|
|
317
|
+
results: c,
|
|
318
318
|
allRecords: p,
|
|
319
319
|
loadItems: N,
|
|
320
320
|
debouncedQueryChange: l
|
|
@@ -374,31 +374,31 @@ function Bt(e, t) {
|
|
|
374
374
|
() => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
|
|
375
375
|
);
|
|
376
376
|
return (o) => {
|
|
377
|
-
const { page: l, pageSize: s, offset:
|
|
377
|
+
const { page: l, pageSize: s, offset: u, sortColumnKey: d, sortColumnOrder: c, query: g } = o;
|
|
378
378
|
try {
|
|
379
379
|
let p = new URL(a.value.href);
|
|
380
380
|
return i.value && g ? (p.search = "", p = n.value.isExactMatch ? new URL(`${p.href}/${g}/`) : new URL(`${p.href}?filter[name][contains]=${g}`)) : (i.value || new URLSearchParams(g).forEach((y, v) => {
|
|
381
381
|
p.searchParams.append(v, y);
|
|
382
|
-
}), d && p.searchParams.append("sort_by", d),
|
|
382
|
+
}), d && p.searchParams.append("sort_by", d), c === "desc" && p.searchParams.append("sort_desc", "1"), p.searchParams.append("size", String(s))), u && l !== 1 && p.searchParams.append("offset", String(u)), p.href;
|
|
383
383
|
} catch (p) {
|
|
384
384
|
return console.error("RouteList(fetcher)", p), r.value;
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function cr(e, t, n = "data") {
|
|
389
389
|
const r = T(t), { axiosInstance: i } = et(e.axiosRequestConfig), a = Bt(e, r), o = R({
|
|
390
390
|
status: be.Idle
|
|
391
391
|
});
|
|
392
392
|
return { fetcher: async (s) => {
|
|
393
|
-
var
|
|
393
|
+
var u;
|
|
394
394
|
try {
|
|
395
395
|
o.value = { status: be.Loading };
|
|
396
396
|
let d = a(s);
|
|
397
397
|
d.includes("filter[name]") && (d = `${d}&page[size]=${s.pageSize}&page[number]=${s.page}`);
|
|
398
|
-
const
|
|
399
|
-
if (
|
|
400
|
-
throw
|
|
401
|
-
const g =
|
|
398
|
+
const c = await i.get(d);
|
|
399
|
+
if (c.status >= 400)
|
|
400
|
+
throw c;
|
|
401
|
+
const g = c.data, p = n && n.replace(/[^\w-_]/gi, "");
|
|
402
402
|
let y;
|
|
403
403
|
g[p] && Array.isArray(g[p]) ? y = g[p] : Array.isArray(g) ? y = g : y = Object.keys(g).length ? [g] : [];
|
|
404
404
|
const v = {
|
|
@@ -415,41 +415,41 @@ function ur(e, t, n = "data") {
|
|
|
415
415
|
response: v
|
|
416
416
|
}, v;
|
|
417
417
|
} catch (d) {
|
|
418
|
-
const
|
|
418
|
+
const c = {
|
|
419
419
|
data: [],
|
|
420
420
|
total: 0
|
|
421
421
|
};
|
|
422
|
-
return s.query && (((
|
|
422
|
+
return s.query && (((u = d.response) == null ? void 0 : u.status) === 404 || d.status === 404) ? (o.value = {
|
|
423
423
|
status: be.NoResults,
|
|
424
|
-
response:
|
|
424
|
+
response: c,
|
|
425
425
|
error: d.response ? d : { response: d }
|
|
426
|
-
},
|
|
426
|
+
}, c) : (o.value = {
|
|
427
427
|
status: be.Error,
|
|
428
|
-
response:
|
|
428
|
+
response: c,
|
|
429
429
|
error: d.response ? d : { response: d }
|
|
430
|
-
},
|
|
430
|
+
}, c);
|
|
431
431
|
}
|
|
432
432
|
}, fetcherState: o };
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function ur() {
|
|
435
435
|
const e = (r, i = "_") => r ? r.split(i).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
|
|
436
436
|
return {
|
|
437
437
|
capitalize: (r) => r ? r.replace(t, (i) => i.toUpperCase()) : "",
|
|
438
438
|
convertKeyToTitle: e
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
const Rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,
|
|
441
|
+
const Rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, ct = (e) => {
|
|
442
442
|
if (typeof e != "string")
|
|
443
443
|
throw new TypeError("Invalid argument expected string");
|
|
444
444
|
const t = e.match(Rt);
|
|
445
445
|
if (!t)
|
|
446
446
|
throw new Error(`Invalid argument not valid semver ('${e}' received)`);
|
|
447
447
|
return t.shift(), t;
|
|
448
|
-
},
|
|
448
|
+
}, ut = (e) => e === "*" || e === "x" || e === "X", dt = (e) => {
|
|
449
449
|
const t = parseInt(e, 10);
|
|
450
450
|
return isNaN(t) ? e : t;
|
|
451
451
|
}, dr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], fr = (e, t) => {
|
|
452
|
-
if (
|
|
452
|
+
if (ut(e) || ut(t))
|
|
453
453
|
return 0;
|
|
454
454
|
const [n, r] = dr(dt(e), dt(t));
|
|
455
455
|
return n > r ? 1 : n < r ? -1 : 0;
|
|
@@ -461,7 +461,7 @@ const Rt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
461
461
|
}
|
|
462
462
|
return 0;
|
|
463
463
|
}, pr = (e, t) => {
|
|
464
|
-
const n =
|
|
464
|
+
const n = ct(e), r = ct(t), i = n.pop(), a = r.pop(), o = ft(n, r);
|
|
465
465
|
return o !== 0 ? o : i && a ? ft(i.split("."), a.split(".")) : i || a ? i ? -1 : 1 : 0;
|
|
466
466
|
}, pt = (e, t, n) => {
|
|
467
467
|
hr(n);
|
|
@@ -513,10 +513,10 @@ const Y = {
|
|
|
513
513
|
useDeleteUrlBuilder: or,
|
|
514
514
|
useErrors: lr,
|
|
515
515
|
useExternalLinkCreator: sr,
|
|
516
|
-
useFetcher:
|
|
516
|
+
useFetcher: cr,
|
|
517
517
|
useFetchUrlBuilder: Bt,
|
|
518
518
|
useHelpers: Nt,
|
|
519
|
-
useStringHelpers:
|
|
519
|
+
useStringHelpers: ur,
|
|
520
520
|
useI18n: je,
|
|
521
521
|
useGatewayFeatureSupported: gr,
|
|
522
522
|
useTruncationDetector: yr,
|
|
@@ -548,15 +548,15 @@ const Y = {
|
|
|
548
548
|
var s;
|
|
549
549
|
return t.isArrayItem ? (s = a.value) != null && s.name ? r(a.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
|
|
550
550
|
});
|
|
551
|
-
return (s,
|
|
551
|
+
return (s, u) => (m(), M(se(e.isArrayItem ? "fieldset" : "div"), {
|
|
552
552
|
class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
553
553
|
}, {
|
|
554
554
|
default: b(() => [
|
|
555
555
|
e.isArrayItem ? (m(), S("legend", br, [
|
|
556
|
-
L("b", null,
|
|
556
|
+
L("b", null, O(l.value), 1)
|
|
557
557
|
])) : D("", !0),
|
|
558
|
-
(m(!0), S(
|
|
559
|
-
key: `${i.value}-property-${
|
|
558
|
+
(m(!0), S(ce, null, oe(Object.keys(o.value), (d, c) => (m(), M(Dt, {
|
|
559
|
+
key: `${i.value}-property-${c}`,
|
|
560
560
|
item: {
|
|
561
561
|
key: d,
|
|
562
562
|
label: T(r)(d),
|
|
@@ -592,7 +592,7 @@ const Y = {
|
|
|
592
592
|
onClick: r[0] || (r[0] = (a) => n.$emit("navigation-click", e.item))
|
|
593
593
|
}, {
|
|
594
594
|
default: b(() => [
|
|
595
|
-
V(
|
|
595
|
+
V(O(e.item.value || T(t)("baseConfigCard.commonFields.link")), 1)
|
|
596
596
|
]),
|
|
597
597
|
_: 1
|
|
598
598
|
})
|
|
@@ -615,13 +615,13 @@ const Y = {
|
|
|
615
615
|
appearance: e.status ? "success" : "neutral"
|
|
616
616
|
}, {
|
|
617
617
|
default: b(() => [
|
|
618
|
-
V(
|
|
618
|
+
V(O(e.status ? T(t)("baseConfigCard.statusBadge.enabledLabel") : T(t)("baseConfigCard.statusBadge.disabledLabel")), 1)
|
|
619
619
|
]),
|
|
620
620
|
_: 1
|
|
621
621
|
}, 8, ["appearance"]);
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
|
-
}), wr = "#0044f4", Ar = "#e0e4ea", Sr = "#afb7c5", Ir = "#0044f4", Er = "1px", Tr = "16px",
|
|
624
|
+
}), wr = "#0044f4", Ar = "#e0e4ea", Sr = "#afb7c5", Ir = "#0044f4", Er = "1px", Tr = "16px", $r = "20px", Fr = { class: "config-card-details-row" }, Or = ["data-testid"], Lr = ["data-testid"], Nr = ["data-testid"], Br = ["data-testid"], Rr = { key: 1 }, Mr = ["data-testid"], Kr = ["data-testid"], Dr = ["data-testid"], Ur = ["data-testid"], jr = {
|
|
625
625
|
name: "ConfigCardItem",
|
|
626
626
|
components: { JsonCardItem: Kt, StatusBadge: _r, InternalLinkItem: kr }
|
|
627
627
|
}, qr = /* @__PURE__ */ P({
|
|
@@ -644,13 +644,13 @@ const Y = {
|
|
|
644
644
|
},
|
|
645
645
|
emits: ["navigation-click"],
|
|
646
646
|
setup(e, { emit: t }) {
|
|
647
|
-
|
|
647
|
+
Ot((y) => ({
|
|
648
648
|
dc1d91a8: d.value ? "none" : `solid ${T(Er)} ${T(Ar)}`,
|
|
649
|
-
"59ccec5f":
|
|
650
|
-
"29318fbe":
|
|
651
|
-
"292d0408":
|
|
649
|
+
"59ccec5f": u.value && l.value ? "block" : "flex",
|
|
650
|
+
"29318fbe": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
|
|
651
|
+
"292d0408": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
|
|
652
652
|
}));
|
|
653
|
-
const n = e, r = t, i = Xe(), { i18n: { t: a, formatUnixTimeStamp: o } } = Y.useI18n(), l = k(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = k(() => !!(n.item.tooltip || i["label-tooltip"])),
|
|
653
|
+
const n = e, r = t, i = Xe(), { i18n: { t: a, formatUnixTimeStamp: o } } = Y.useI18n(), l = k(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = k(() => !!(n.item.tooltip || i["label-tooltip"])), u = k(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = k(() => n.item.type === H.JsonArray), c = k(() => {
|
|
654
654
|
switch (n.item.type) {
|
|
655
655
|
case H.ID:
|
|
656
656
|
return {
|
|
@@ -763,7 +763,7 @@ const Y = {
|
|
|
763
763
|
}), g = R(), { isTruncated: p } = Y.useTruncationDetector(g);
|
|
764
764
|
return (y, v) => {
|
|
765
765
|
const _ = K("KLabel"), N = K("KBadge"), w = K("KCopy"), Z = K("KTooltip");
|
|
766
|
-
return m(), S("div",
|
|
766
|
+
return m(), S("div", Fr, [
|
|
767
767
|
L("div", {
|
|
768
768
|
class: "config-card-details-label",
|
|
769
769
|
"data-testid": `${e.item.key}-label`
|
|
@@ -771,7 +771,7 @@ const Y = {
|
|
|
771
771
|
z(y.$slots, "label", { item: e.item }, () => [
|
|
772
772
|
B(_, { "tooltip-attributes": { maxWidth: "500px" } }, _e({
|
|
773
773
|
default: b(() => [
|
|
774
|
-
V(
|
|
774
|
+
V(O(e.item.label) + " ", 1)
|
|
775
775
|
]),
|
|
776
776
|
_: 2
|
|
777
777
|
}, [
|
|
@@ -782,7 +782,7 @@ const Y = {
|
|
|
782
782
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
783
783
|
}, [
|
|
784
784
|
z(y.$slots, "label-tooltip", {}, () => [
|
|
785
|
-
V(
|
|
785
|
+
V(O(e.item.tooltip), 1)
|
|
786
786
|
], !0)
|
|
787
787
|
], 8, Lr)
|
|
788
788
|
]),
|
|
@@ -790,7 +790,7 @@ const Y = {
|
|
|
790
790
|
} : void 0
|
|
791
791
|
]), 1024)
|
|
792
792
|
], !0)
|
|
793
|
-
], 8,
|
|
793
|
+
], 8, Or),
|
|
794
794
|
L("div", {
|
|
795
795
|
class: "config-card-details-value",
|
|
796
796
|
"data-testid": `${e.item.key}-property-value`
|
|
@@ -799,13 +799,13 @@ const Y = {
|
|
|
799
799
|
rowValue: e.item.value
|
|
800
800
|
}, () => [
|
|
801
801
|
l.value ? (m(), S("div", Rr, [
|
|
802
|
-
(m(), M(se(
|
|
802
|
+
(m(), M(se(c.value.tag), Fn(On(c.value.attrs)), {
|
|
803
803
|
default: b(() => [
|
|
804
|
-
|
|
804
|
+
c.value.additionalComponent === "KBadge" ? (m(), S("div", {
|
|
805
805
|
key: 0,
|
|
806
806
|
"data-testid": `${e.item.key}-badge-tags`
|
|
807
807
|
}, [
|
|
808
|
-
(m(!0), S(
|
|
808
|
+
(m(!0), S(ce, null, oe(e.item.value, (h, I) => (m(), M(N, {
|
|
809
809
|
key: `${e.item.key}-badge-tag-${I}`,
|
|
810
810
|
class: "config-badge",
|
|
811
811
|
"data-testid": `${e.item.key}-badge-tag-${I}`,
|
|
@@ -813,43 +813,43 @@ const Y = {
|
|
|
813
813
|
"truncation-tooltip": ""
|
|
814
814
|
}, {
|
|
815
815
|
default: b(() => [
|
|
816
|
-
V(
|
|
816
|
+
V(O(h), 1)
|
|
817
817
|
]),
|
|
818
818
|
_: 2
|
|
819
819
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
820
820
|
], 8, Mr)) : D("", !0),
|
|
821
|
-
|
|
821
|
+
c.value.additionalComponent === "KCopy" ? (m(), S("div", {
|
|
822
822
|
key: 1,
|
|
823
823
|
class: "copy-uuid-array",
|
|
824
824
|
"data-testid": `${e.item.key}-copy-uuid-array`
|
|
825
825
|
}, [
|
|
826
|
-
(m(!0), S(
|
|
826
|
+
(m(!0), S(ce, null, oe(e.item.value, (h, I) => (m(), M(w, Ln({ ref_for: !0 }, c.value.childAttrs, {
|
|
827
827
|
key: `${e.item.key}-copy-uuid-${I}`,
|
|
828
828
|
"data-testid": `${e.item.key}-copy-uuid-${I}`,
|
|
829
829
|
text: h
|
|
830
830
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
831
|
-
], 8, Kr)) :
|
|
831
|
+
], 8, Kr)) : c.value.additionalComponent === "KMethodBadge" ? (m(), S("div", {
|
|
832
832
|
key: 2,
|
|
833
833
|
class: "method-badge-array",
|
|
834
834
|
"data-testid": `${e.item.key}-badge-methods`
|
|
835
835
|
}, [
|
|
836
|
-
(m(!0), S(
|
|
836
|
+
(m(!0), S(ce, null, oe(e.item.value, (h, I) => (m(), M(N, {
|
|
837
837
|
key: `${e.item.key}-badge-method-${I}`,
|
|
838
838
|
appearance: Object.values(T(Un)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
|
|
839
839
|
class: "config-badge",
|
|
840
840
|
"data-testid": `${e.item.key}-badge-method-${I}`
|
|
841
841
|
}, {
|
|
842
842
|
default: b(() => [
|
|
843
|
-
V(
|
|
843
|
+
V(O(h), 1)
|
|
844
844
|
]),
|
|
845
845
|
_: 2
|
|
846
846
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
847
847
|
], 8, Dr)) : D("", !0),
|
|
848
|
-
|
|
848
|
+
c.value.additionalComponent === "JsonCardItem" ? (m(), S("div", {
|
|
849
849
|
key: 3,
|
|
850
850
|
"data-testid": `${n.item.key}-json-array-content`
|
|
851
851
|
}, [
|
|
852
|
-
(m(!0), S(
|
|
852
|
+
(m(!0), S(ce, null, oe(e.item.value, (h, I) => (m(), M(Kt, {
|
|
853
853
|
key: `json-array-item-${I}`,
|
|
854
854
|
index: I,
|
|
855
855
|
"is-array-item": "",
|
|
@@ -864,7 +864,7 @@ const Y = {
|
|
|
864
864
|
ref_key: "textContent",
|
|
865
865
|
ref: g,
|
|
866
866
|
class: fe(["attrs-data-text", { truncated: e.truncated }])
|
|
867
|
-
},
|
|
867
|
+
}, O(c.value.text), 3)
|
|
868
868
|
]),
|
|
869
869
|
_: 1
|
|
870
870
|
}, 8, ["text"]))
|
|
@@ -911,7 +911,7 @@ const Y = {
|
|
|
911
911
|
}
|
|
912
912
|
},
|
|
913
913
|
setup(e) {
|
|
914
|
-
|
|
914
|
+
Ot((i) => ({
|
|
915
915
|
"4520e3ec": `${r.value}ch`
|
|
916
916
|
}));
|
|
917
917
|
const t = e, n = k(() => t.jsonRecord), r = k(() => {
|
|
@@ -929,7 +929,7 @@ const Y = {
|
|
|
929
929
|
appearance: t.requestMethod
|
|
930
930
|
}, {
|
|
931
931
|
default: b(() => [
|
|
932
|
-
V(
|
|
932
|
+
V(O(t.requestMethod), 1)
|
|
933
933
|
]),
|
|
934
934
|
_: 1
|
|
935
935
|
}, 8, ["appearance"]),
|
|
@@ -993,15 +993,15 @@ function qt(e, t) {
|
|
|
993
993
|
|
|
994
994
|
` + e.mark.snippet), r + " " + n) : r;
|
|
995
995
|
}
|
|
996
|
-
function
|
|
996
|
+
function Fe(e, t) {
|
|
997
997
|
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = qt(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
998
998
|
}
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
999
|
+
Fe.prototype = Object.create(Error.prototype);
|
|
1000
|
+
Fe.prototype.constructor = Fe;
|
|
1001
|
+
Fe.prototype.toString = function(t) {
|
|
1002
1002
|
return this.name + ": " + qt(this, t);
|
|
1003
1003
|
};
|
|
1004
|
-
var te =
|
|
1004
|
+
var te = Fe;
|
|
1005
1005
|
function He(e, t, n, r, i) {
|
|
1006
1006
|
var a = "", o = "", l = Math.floor(i / 2) - 1;
|
|
1007
1007
|
return r - t > l && (a = " ... ", t = r - l + a.length), n - r > l && (o = " ...", n = r + l - o.length), {
|
|
@@ -1020,26 +1020,26 @@ function ni(e, t) {
|
|
|
1020
1020
|
for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, o = -1; a = n.exec(e.buffer); )
|
|
1021
1021
|
i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && o < 0 && (o = r.length - 2);
|
|
1022
1022
|
o < 0 && (o = r.length - 1);
|
|
1023
|
-
var l = "", s,
|
|
1023
|
+
var l = "", s, u, d = Math.min(e.line + t.linesAfter, i.length).toString().length, c = t.maxLength - (t.indent + d + 3);
|
|
1024
1024
|
for (s = 1; s <= t.linesBefore && !(o - s < 0); s++)
|
|
1025
|
-
|
|
1025
|
+
u = He(
|
|
1026
1026
|
e.buffer,
|
|
1027
1027
|
r[o - s],
|
|
1028
1028
|
i[o - s],
|
|
1029
1029
|
e.position - (r[o] - r[o - s]),
|
|
1030
|
-
|
|
1031
|
-
), l = G.repeat(" ", t.indent) + Ve((e.line - s + 1).toString(), d) + " | " +
|
|
1030
|
+
c
|
|
1031
|
+
), l = G.repeat(" ", t.indent) + Ve((e.line - s + 1).toString(), d) + " | " + u.str + `
|
|
1032
1032
|
` + l;
|
|
1033
|
-
for (
|
|
1034
|
-
`, l += G.repeat("-", t.indent + d + 3 +
|
|
1033
|
+
for (u = He(e.buffer, r[o], i[o], e.position, c), l += G.repeat(" ", t.indent) + Ve((e.line + 1).toString(), d) + " | " + u.str + `
|
|
1034
|
+
`, l += G.repeat("-", t.indent + d + 3 + u.pos) + `^
|
|
1035
1035
|
`, s = 1; s <= t.linesAfter && !(o + s >= i.length); s++)
|
|
1036
|
-
|
|
1036
|
+
u = He(
|
|
1037
1037
|
e.buffer,
|
|
1038
1038
|
r[o + s],
|
|
1039
1039
|
i[o + s],
|
|
1040
1040
|
e.position - (r[o] - r[o + s]),
|
|
1041
|
-
|
|
1042
|
-
), l += G.repeat(" ", t.indent) + Ve((e.line + s + 1).toString(), d) + " | " +
|
|
1041
|
+
c
|
|
1042
|
+
), l += G.repeat(" ", t.indent) + Ve((e.line + s + 1).toString(), d) + " | " + u.str + `
|
|
1043
1043
|
`;
|
|
1044
1044
|
return l.replace(/\n$/, "");
|
|
1045
1045
|
}
|
|
@@ -1157,13 +1157,13 @@ var Pt = We, Ht = new X("tag:yaml.org,2002:str", {
|
|
|
1157
1157
|
zt
|
|
1158
1158
|
]
|
|
1159
1159
|
});
|
|
1160
|
-
function
|
|
1160
|
+
function ci(e) {
|
|
1161
1161
|
if (e === null)
|
|
1162
1162
|
return !0;
|
|
1163
1163
|
var t = e.length;
|
|
1164
1164
|
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ui() {
|
|
1167
1167
|
return null;
|
|
1168
1168
|
}
|
|
1169
1169
|
function di(e) {
|
|
@@ -1171,8 +1171,8 @@ function di(e) {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
var Wt = new X("tag:yaml.org,2002:null", {
|
|
1173
1173
|
kind: "scalar",
|
|
1174
|
-
resolve:
|
|
1175
|
-
construct:
|
|
1174
|
+
resolve: ci,
|
|
1175
|
+
construct: ui,
|
|
1176
1176
|
predicate: di,
|
|
1177
1177
|
represent: {
|
|
1178
1178
|
canonical: function() {
|
|
@@ -1396,7 +1396,7 @@ function Ii(e) {
|
|
|
1396
1396
|
return e === null ? !1 : en.exec(e) !== null || tn.exec(e) !== null;
|
|
1397
1397
|
}
|
|
1398
1398
|
function Ei(e) {
|
|
1399
|
-
var t, n, r, i, a, o, l, s = 0,
|
|
1399
|
+
var t, n, r, i, a, o, l, s = 0, u = null, d, c, g;
|
|
1400
1400
|
if (t = en.exec(e), t === null && (t = tn.exec(e)), t === null)
|
|
1401
1401
|
throw new Error("Date resolve error");
|
|
1402
1402
|
if (n = +t[1], r = +t[2] - 1, i = +t[3], !t[4])
|
|
@@ -1406,7 +1406,7 @@ function Ei(e) {
|
|
|
1406
1406
|
s += "0";
|
|
1407
1407
|
s = +s;
|
|
1408
1408
|
}
|
|
1409
|
-
return t[9] && (d = +t[10],
|
|
1409
|
+
return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), g = new Date(Date.UTC(n, r, i, a, o, l, s)), u && g.setTime(g.getTime() - u), g;
|
|
1410
1410
|
}
|
|
1411
1411
|
function Ti(e) {
|
|
1412
1412
|
return e.toISOString();
|
|
@@ -1418,15 +1418,15 @@ var nn = new X("tag:yaml.org,2002:timestamp", {
|
|
|
1418
1418
|
instanceOf: Date,
|
|
1419
1419
|
represent: Ti
|
|
1420
1420
|
});
|
|
1421
|
-
function
|
|
1421
|
+
function $i(e) {
|
|
1422
1422
|
return e === "<<" || e === null;
|
|
1423
1423
|
}
|
|
1424
1424
|
var rn = new X("tag:yaml.org,2002:merge", {
|
|
1425
1425
|
kind: "scalar",
|
|
1426
|
-
resolve:
|
|
1426
|
+
resolve: $i
|
|
1427
1427
|
}), tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
1428
1428
|
\r`;
|
|
1429
|
-
function
|
|
1429
|
+
function Fi(e) {
|
|
1430
1430
|
if (e === null)
|
|
1431
1431
|
return !1;
|
|
1432
1432
|
var t, n, r = 0, i = e.length, a = tt;
|
|
@@ -1438,7 +1438,7 @@ function Oi(e) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
return r % 8 === 0;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function Oi(e) {
|
|
1442
1442
|
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = tt, o = 0, l = [];
|
|
1443
1443
|
for (t = 0; t < i; t++)
|
|
1444
1444
|
t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
|
|
@@ -1455,8 +1455,8 @@ function Ni(e) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
var an = new X("tag:yaml.org,2002:binary", {
|
|
1457
1457
|
kind: "scalar",
|
|
1458
|
-
resolve:
|
|
1459
|
-
construct:
|
|
1458
|
+
resolve: Fi,
|
|
1459
|
+
construct: Oi,
|
|
1460
1460
|
predicate: Ni,
|
|
1461
1461
|
represent: Li
|
|
1462
1462
|
}), Bi = Object.prototype.hasOwnProperty, Ri = Object.prototype.toString;
|
|
@@ -1541,7 +1541,7 @@ var sn = new X("tag:yaml.org,2002:set", {
|
|
|
1541
1541
|
ln,
|
|
1542
1542
|
sn
|
|
1543
1543
|
]
|
|
1544
|
-
}), pe = Object.prototype.hasOwnProperty, Re = 1,
|
|
1544
|
+
}), pe = Object.prototype.hasOwnProperty, Re = 1, cn = 2, un = 3, Me = 4, ze = 1, Vi = 2, gt = 3, zi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Yi = /[\x85\u2028\u2029]/, Wi = /[,\[\]\{\}]/, dn = /^(?:!|!!|![a-z\-]+!)$/i, fn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1545
1545
|
function yt(e) {
|
|
1546
1546
|
return Object.prototype.toString.call(e);
|
|
1547
1547
|
}
|
|
@@ -1633,14 +1633,14 @@ function xt(e, t, n, r) {
|
|
|
1633
1633
|
a = i[o], pe.call(t, a) || (t[a] = n[a], r[a] = !0);
|
|
1634
1634
|
}
|
|
1635
1635
|
function ke(e, t, n, r, i, a, o, l, s) {
|
|
1636
|
-
var
|
|
1636
|
+
var u, d;
|
|
1637
1637
|
if (Array.isArray(i))
|
|
1638
|
-
for (i = Array.prototype.slice.call(i),
|
|
1639
|
-
Array.isArray(i[
|
|
1638
|
+
for (i = Array.prototype.slice.call(i), u = 0, d = i.length; u < d; u += 1)
|
|
1639
|
+
Array.isArray(i[u]) && C(e, "nested arrays are not supported inside keys"), typeof i == "object" && yt(i[u]) === "[object Object]" && (i[u] = "[object Object]");
|
|
1640
1640
|
if (typeof i == "object" && yt(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
|
|
1641
1641
|
if (Array.isArray(a))
|
|
1642
|
-
for (
|
|
1643
|
-
xt(e, t, a[
|
|
1642
|
+
for (u = 0, d = a.length; u < d; u += 1)
|
|
1643
|
+
xt(e, t, a[u], n);
|
|
1644
1644
|
else
|
|
1645
1645
|
xt(e, t, a, n);
|
|
1646
1646
|
else
|
|
@@ -1681,7 +1681,7 @@ function it(e, t) {
|
|
|
1681
1681
|
`, t - 1));
|
|
1682
1682
|
}
|
|
1683
1683
|
function ea(e, t, n) {
|
|
1684
|
-
var r, i, a, o, l, s,
|
|
1684
|
+
var r, i, a, o, l, s, u, d, c = e.kind, g = e.result, p;
|
|
1685
1685
|
if (p = e.input.charCodeAt(e.position), ne(p) || Ce(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), ne(i) || n && Ce(i)))
|
|
1686
1686
|
return !1;
|
|
1687
1687
|
for (e.kind = "scalar", e.result = "", a = o = e.position, l = !1; p !== 0; ) {
|
|
@@ -1695,17 +1695,17 @@ function ea(e, t, n) {
|
|
|
1695
1695
|
if (e.position === e.lineStart && qe(e) || n && Ce(p))
|
|
1696
1696
|
break;
|
|
1697
1697
|
if (le(p))
|
|
1698
|
-
if (s = e.line,
|
|
1698
|
+
if (s = e.line, u = e.lineStart, d = e.lineIndent, W(e, !1, -1), e.lineIndent >= t) {
|
|
1699
1699
|
l = !0, p = e.input.charCodeAt(e.position);
|
|
1700
1700
|
continue;
|
|
1701
1701
|
} else {
|
|
1702
|
-
e.position = o, e.line = s, e.lineStart =
|
|
1702
|
+
e.position = o, e.line = s, e.lineStart = u, e.lineIndent = d;
|
|
1703
1703
|
break;
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
1706
|
l && (de(e, a, o, !1), it(e, e.line - s), a = o = e.position, l = !1), ye(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
|
|
1707
1707
|
}
|
|
1708
|
-
return de(e, a, o, !1), e.result ? !0 : (e.kind =
|
|
1708
|
+
return de(e, a, o, !1), e.result ? !0 : (e.kind = c, e.result = g, !1);
|
|
1709
1709
|
}
|
|
1710
1710
|
function ta(e, t) {
|
|
1711
1711
|
var n, r, i;
|
|
@@ -1746,7 +1746,7 @@ function na(e, t) {
|
|
|
1746
1746
|
C(e, "unexpected end of the stream within a double quoted scalar");
|
|
1747
1747
|
}
|
|
1748
1748
|
function ra(e, t) {
|
|
1749
|
-
var n = !0, r, i, a, o = e.tag, l, s = e.anchor,
|
|
1749
|
+
var n = !0, r, i, a, o = e.tag, l, s = e.anchor, u, d, c, g, p, y = /* @__PURE__ */ Object.create(null), v, _, N, w;
|
|
1750
1750
|
if (w = e.input.charCodeAt(e.position), w === 91)
|
|
1751
1751
|
d = 93, p = !1, l = [];
|
|
1752
1752
|
else if (w === 123)
|
|
@@ -1756,38 +1756,38 @@ function ra(e, t) {
|
|
|
1756
1756
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = l), w = e.input.charCodeAt(++e.position); w !== 0; ) {
|
|
1757
1757
|
if (W(e, !0, t), w = e.input.charCodeAt(e.position), w === d)
|
|
1758
1758
|
return e.position++, e.tag = o, e.anchor = s, e.kind = p ? "mapping" : "sequence", e.result = l, !0;
|
|
1759
|
-
n ? w === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"), _ = v = N = null,
|
|
1759
|
+
n ? w === 44 && C(e, "expected the node content, but found ','") : C(e, "missed comma between flow collection entries"), _ = v = N = null, c = g = !1, w === 63 && (u = e.input.charCodeAt(e.position + 1), ne(u) && (c = g = !0, e.position++, W(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, we(e, t, Re, !1, !0), _ = e.tag, v = e.result, W(e, !0, t), w = e.input.charCodeAt(e.position), (g || e.line === r) && w === 58 && (c = !0, w = e.input.charCodeAt(++e.position), W(e, !0, t), we(e, t, Re, !1, !0), N = e.result), p ? ke(e, l, y, _, v, N, r, i, a) : c ? l.push(ke(e, null, y, _, v, N, r, i, a)) : l.push(v), W(e, !0, t), w = e.input.charCodeAt(e.position), w === 44 ? (n = !0, w = e.input.charCodeAt(++e.position)) : n = !1;
|
|
1760
1760
|
}
|
|
1761
1761
|
C(e, "unexpected end of the stream within a flow collection");
|
|
1762
1762
|
}
|
|
1763
1763
|
function ia(e, t) {
|
|
1764
|
-
var n, r, i = ze, a = !1, o = !1, l = t, s = 0,
|
|
1765
|
-
if (
|
|
1764
|
+
var n, r, i = ze, a = !1, o = !1, l = t, s = 0, u = !1, d, c;
|
|
1765
|
+
if (c = e.input.charCodeAt(e.position), c === 124)
|
|
1766
1766
|
r = !1;
|
|
1767
|
-
else if (
|
|
1767
|
+
else if (c === 62)
|
|
1768
1768
|
r = !0;
|
|
1769
1769
|
else
|
|
1770
1770
|
return !1;
|
|
1771
|
-
for (e.kind = "scalar", e.result = "";
|
|
1772
|
-
if (
|
|
1773
|
-
ze === i ? i =
|
|
1774
|
-
else if ((d = Zi(
|
|
1771
|
+
for (e.kind = "scalar", e.result = ""; c !== 0; )
|
|
1772
|
+
if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
|
|
1773
|
+
ze === i ? i = c === 43 ? gt : Vi : C(e, "repeat of a chomping mode identifier");
|
|
1774
|
+
else if ((d = Zi(c)) >= 0)
|
|
1775
1775
|
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);
|
|
1776
1776
|
else
|
|
1777
1777
|
break;
|
|
1778
|
-
if (ye(
|
|
1778
|
+
if (ye(c)) {
|
|
1779
1779
|
do
|
|
1780
|
-
|
|
1781
|
-
while (ye(
|
|
1782
|
-
if (
|
|
1780
|
+
c = e.input.charCodeAt(++e.position);
|
|
1781
|
+
while (ye(c));
|
|
1782
|
+
if (c === 35)
|
|
1783
1783
|
do
|
|
1784
|
-
|
|
1785
|
-
while (!le(
|
|
1784
|
+
c = e.input.charCodeAt(++e.position);
|
|
1785
|
+
while (!le(c) && c !== 0);
|
|
1786
1786
|
}
|
|
1787
|
-
for (;
|
|
1788
|
-
for (rt(e), e.lineIndent = 0,
|
|
1789
|
-
e.lineIndent++,
|
|
1790
|
-
if (!o && e.lineIndent > l && (l = e.lineIndent), le(
|
|
1787
|
+
for (; c !== 0; ) {
|
|
1788
|
+
for (rt(e), e.lineIndent = 0, c = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && c === 32; )
|
|
1789
|
+
e.lineIndent++, c = e.input.charCodeAt(++e.position);
|
|
1790
|
+
if (!o && e.lineIndent > l && (l = e.lineIndent), le(c)) {
|
|
1791
1791
|
s++;
|
|
1792
1792
|
continue;
|
|
1793
1793
|
}
|
|
@@ -1797,12 +1797,12 @@ function ia(e, t) {
|
|
|
1797
1797
|
`);
|
|
1798
1798
|
break;
|
|
1799
1799
|
}
|
|
1800
|
-
for (r ? ye(
|
|
1801
|
-
`, a ? 1 + s : s)) :
|
|
1800
|
+
for (r ? ye(c) ? (u = !0, e.result += G.repeat(`
|
|
1801
|
+
`, a ? 1 + s : s)) : u ? (u = !1, e.result += G.repeat(`
|
|
1802
1802
|
`, s + 1)) : s === 0 ? a && (e.result += " ") : e.result += G.repeat(`
|
|
1803
1803
|
`, s) : e.result += G.repeat(`
|
|
1804
|
-
`, a ? 1 + s : s), a = !0, o = !0, s = 0, n = e.position; !le(
|
|
1805
|
-
|
|
1804
|
+
`, a ? 1 + s : s), a = !0, o = !0, s = 0, n = e.position; !le(c) && c !== 0; )
|
|
1805
|
+
c = e.input.charCodeAt(++e.position);
|
|
1806
1806
|
de(e, n, e.position, !1);
|
|
1807
1807
|
}
|
|
1808
1808
|
return !0;
|
|
@@ -1816,7 +1816,7 @@ function Ct(e, t) {
|
|
|
1816
1816
|
a.push(null), s = e.input.charCodeAt(e.position);
|
|
1817
1817
|
continue;
|
|
1818
1818
|
}
|
|
1819
|
-
if (n = e.line, we(e, t,
|
|
1819
|
+
if (n = e.line, we(e, t, un, !1, !0), a.push(e.result), W(e, !0, -1), s = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && s !== 0)
|
|
1820
1820
|
C(e, "bad indentation of a sequence entry");
|
|
1821
1821
|
else if (e.lineIndent < t)
|
|
1822
1822
|
break;
|
|
@@ -1824,35 +1824,35 @@ function Ct(e, t) {
|
|
|
1824
1824
|
return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
|
|
1825
1825
|
}
|
|
1826
1826
|
function aa(e, t, n) {
|
|
1827
|
-
var r, i, a, o, l, s,
|
|
1827
|
+
var r, i, a, o, l, s, u = e.tag, d = e.anchor, c = {}, g = /* @__PURE__ */ Object.create(null), p = null, y = null, v = null, _ = !1, N = !1, w;
|
|
1828
1828
|
if (e.firstTabInLine !== -1)
|
|
1829
1829
|
return !1;
|
|
1830
|
-
for (e.anchor !== null && (e.anchorMap[e.anchor] =
|
|
1830
|
+
for (e.anchor !== null && (e.anchorMap[e.anchor] = c), w = e.input.charCodeAt(e.position); w !== 0; ) {
|
|
1831
1831
|
if (!_ && 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, (w === 63 || w === 58) && ne(r))
|
|
1832
|
-
w === 63 ? (_ && (ke(e,
|
|
1832
|
+
w === 63 ? (_ && (ke(e, c, g, p, y, null, o, l, s), p = y = v = null), N = !0, _ = !0, i = !0) : _ ? (_ = !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, w = r;
|
|
1833
1833
|
else {
|
|
1834
|
-
if (o = e.line, l = e.lineStart, s = e.position, !we(e, n,
|
|
1834
|
+
if (o = e.line, l = e.lineStart, s = e.position, !we(e, n, cn, !1, !0))
|
|
1835
1835
|
break;
|
|
1836
1836
|
if (e.line === a) {
|
|
1837
1837
|
for (w = e.input.charCodeAt(e.position); ye(w); )
|
|
1838
1838
|
w = e.input.charCodeAt(++e.position);
|
|
1839
1839
|
if (w === 58)
|
|
1840
|
-
w = e.input.charCodeAt(++e.position), ne(w) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"), _ && (ke(e,
|
|
1840
|
+
w = e.input.charCodeAt(++e.position), ne(w) || C(e, "a whitespace character is expected after the key-value separator within a block mapping"), _ && (ke(e, c, g, p, y, null, o, l, s), p = y = v = null), N = !0, _ = !1, i = !1, p = e.tag, y = e.result;
|
|
1841
1841
|
else if (N)
|
|
1842
1842
|
C(e, "can not read an implicit mapping pair; a colon is missed");
|
|
1843
1843
|
else
|
|
1844
|
-
return e.tag =
|
|
1844
|
+
return e.tag = u, e.anchor = d, !0;
|
|
1845
1845
|
} else if (N)
|
|
1846
1846
|
C(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
1847
1847
|
else
|
|
1848
|
-
return e.tag =
|
|
1848
|
+
return e.tag = u, e.anchor = d, !0;
|
|
1849
1849
|
}
|
|
1850
|
-
if ((e.line === a || e.lineIndent > t) && (_ && (o = e.line, l = e.lineStart, s = e.position), we(e, t, Me, !0, i) && (_ ? y = e.result : v = e.result), _ || (ke(e,
|
|
1850
|
+
if ((e.line === a || e.lineIndent > t) && (_ && (o = e.line, l = e.lineStart, s = e.position), we(e, t, Me, !0, i) && (_ ? y = e.result : v = e.result), _ || (ke(e, c, g, p, y, v, o, l, s), p = y = v = null), W(e, !0, -1), w = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && w !== 0)
|
|
1851
1851
|
C(e, "bad indentation of a mapping entry");
|
|
1852
1852
|
else if (e.lineIndent < t)
|
|
1853
1853
|
break;
|
|
1854
1854
|
}
|
|
1855
|
-
return _ && ke(e,
|
|
1855
|
+
return _ && ke(e, c, g, p, y, null, o, l, s), N && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), N;
|
|
1856
1856
|
}
|
|
1857
1857
|
function oa(e) {
|
|
1858
1858
|
var t, n = !1, r = !1, i, a, o;
|
|
@@ -1893,15 +1893,15 @@ function sa(e) {
|
|
|
1893
1893
|
return e.position === t && C(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), pe.call(e.anchorMap, n) || C(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], W(e, !0, -1), !0;
|
|
1894
1894
|
}
|
|
1895
1895
|
function we(e, t, n, r, i) {
|
|
1896
|
-
var a, o, l, s = 1,
|
|
1897
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Me === n ||
|
|
1896
|
+
var a, o, l, s = 1, u = !1, d = !1, c, g, p, y, v, _;
|
|
1897
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Me === n || un === n, r && W(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
|
|
1898
1898
|
for (; oa(e) || la(e); )
|
|
1899
|
-
W(e, !0, -1) ? (
|
|
1900
|
-
if (l && (l =
|
|
1899
|
+
W(e, !0, -1) ? (u = !0, l = a, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
|
|
1900
|
+
if (l && (l = u || i), (s === 1 || Me === n) && (Re === n || cn === n ? v = t : v = t + 1, _ = e.position - e.lineStart, s === 1 ? l && (Ct(e, _) || aa(e, _, v)) || ra(e, v) ? d = !0 : (o && ia(e, v) || ta(e, v) || na(e, v) ? d = !0 : sa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : ea(e, v, Re === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ct(e, _))), e.tag === null)
|
|
1901
1901
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1902
1902
|
else if (e.tag === "?") {
|
|
1903
|
-
for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'),
|
|
1904
|
-
if (y = e.implicitTypes[
|
|
1903
|
+
for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, g = e.implicitTypes.length; c < g; c += 1)
|
|
1904
|
+
if (y = e.implicitTypes[c], y.resolve(e.result)) {
|
|
1905
1905
|
e.result = y.construct(e.result), e.tag = y.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1906
1906
|
break;
|
|
1907
1907
|
}
|
|
@@ -1909,16 +1909,16 @@ function we(e, t, n, r, i) {
|
|
|
1909
1909
|
if (pe.call(e.typeMap[e.kind || "fallback"], e.tag))
|
|
1910
1910
|
y = e.typeMap[e.kind || "fallback"][e.tag];
|
|
1911
1911
|
else
|
|
1912
|
-
for (y = null, p = e.typeMap.multi[e.kind || "fallback"],
|
|
1913
|
-
if (e.tag.slice(0, p[
|
|
1914
|
-
y = p[
|
|
1912
|
+
for (y = null, p = e.typeMap.multi[e.kind || "fallback"], c = 0, g = p.length; c < g; c += 1)
|
|
1913
|
+
if (e.tag.slice(0, p[c].tag.length) === p[c].tag) {
|
|
1914
|
+
y = p[c];
|
|
1915
1915
|
break;
|
|
1916
1916
|
}
|
|
1917
1917
|
y || C(e, "unknown tag !<" + e.tag + ">"), e.result !== null && y.kind !== e.kind && C(e, "unacceptable node kind for !<" + e.tag + '> tag; it should be "' + y.kind + '", not "' + e.kind + '"'), y.resolve(e.result, e.tag) ? (e.result = y.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : C(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
|
|
1918
1918
|
}
|
|
1919
1919
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
|
|
1920
1920
|
}
|
|
1921
|
-
function
|
|
1921
|
+
function ca(e) {
|
|
1922
1922
|
var t = e.position, n, r, i, a = !1, o;
|
|
1923
1923
|
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (W(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
|
|
1924
1924
|
for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !ne(o); )
|
|
@@ -1956,10 +1956,10 @@ function gn(e, t) {
|
|
|
1956
1956
|
for (r !== -1 && (n.position = r, C(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
|
|
1957
1957
|
n.lineIndent += 1, n.position += 1;
|
|
1958
1958
|
for (; n.position < n.length - 1; )
|
|
1959
|
-
|
|
1959
|
+
ca(n);
|
|
1960
1960
|
return n.documents;
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function ua(e, t, n) {
|
|
1963
1963
|
t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
|
|
1964
1964
|
var r = gn(e, n);
|
|
1965
1965
|
if (typeof t != "function")
|
|
@@ -1975,10 +1975,10 @@ function da(e, t) {
|
|
|
1975
1975
|
throw new te("expected a single document in the stream, but found more");
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
|
-
var fa =
|
|
1978
|
+
var fa = ua, pa = da, yn = {
|
|
1979
1979
|
loadAll: fa,
|
|
1980
1980
|
load: pa
|
|
1981
|
-
}, vn = Object.prototype.toString, bn = Object.prototype.hasOwnProperty, at = 65279, ha = 9,
|
|
1981
|
+
}, vn = Object.prototype.toString, bn = Object.prototype.hasOwnProperty, at = 65279, ha = 9, Oe = 10, ma = 13, ga = 32, ya = 33, va = 34, Je = 35, ba = 37, xa = 38, Ca = 39, ka = 42, xn = 44, _a = 45, De = 58, wa = 61, Aa = 62, Sa = 63, Ia = 64, Cn = 91, kn = 93, Ea = 96, _n = 123, Ta = 124, wn = 125, ee = {};
|
|
1982
1982
|
ee[0] = "\\0";
|
|
1983
1983
|
ee[7] = "\\a";
|
|
1984
1984
|
ee[8] = "\\b";
|
|
@@ -1994,7 +1994,7 @@ ee[133] = "\\N";
|
|
|
1994
1994
|
ee[160] = "\\_";
|
|
1995
1995
|
ee[8232] = "\\L";
|
|
1996
1996
|
ee[8233] = "\\P";
|
|
1997
|
-
var
|
|
1997
|
+
var $a = [
|
|
1998
1998
|
"y",
|
|
1999
1999
|
"Y",
|
|
2000
2000
|
"yes",
|
|
@@ -2011,8 +2011,8 @@ var Fa = [
|
|
|
2011
2011
|
"off",
|
|
2012
2012
|
"Off",
|
|
2013
2013
|
"OFF"
|
|
2014
|
-
],
|
|
2015
|
-
function
|
|
2014
|
+
], Fa = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
2015
|
+
function Oa(e, t) {
|
|
2016
2016
|
var n, r, i, a, o, l, s;
|
|
2017
2017
|
if (t === null)
|
|
2018
2018
|
return {};
|
|
@@ -2034,7 +2034,7 @@ function La(e) {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
var Na = 1, Le = 2;
|
|
2036
2036
|
function Ba(e) {
|
|
2037
|
-
this.schema = e.schema || nt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = G.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap =
|
|
2037
|
+
this.schema = e.schema || nt, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = G.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Oa(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Le : Na, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
|
|
2038
2038
|
}
|
|
2039
2039
|
function kt(e, t) {
|
|
2040
2040
|
for (var n = G.repeat(" ", t), r = 0, i = -1, a = "", o, l = e.length; r < l; )
|
|
@@ -2061,7 +2061,7 @@ function Ne(e) {
|
|
|
2061
2061
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== at || 65536 <= e && e <= 1114111;
|
|
2062
2062
|
}
|
|
2063
2063
|
function _t(e) {
|
|
2064
|
-
return Ne(e) && e !== at && e !== ma && e !==
|
|
2064
|
+
return Ne(e) && e !== at && e !== ma && e !== Oe;
|
|
2065
2065
|
}
|
|
2066
2066
|
function wt(e, t, n) {
|
|
2067
2067
|
var r = _t(e), i = r && !Ue(e);
|
|
@@ -2079,7 +2079,7 @@ function Ma(e) {
|
|
|
2079
2079
|
function Ka(e) {
|
|
2080
2080
|
return !Ue(e) && e !== De;
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2082
|
+
function $e(e, t) {
|
|
2083
2083
|
var n = e.charCodeAt(t), r;
|
|
2084
2084
|
return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
|
|
2085
2085
|
}
|
|
@@ -2089,35 +2089,35 @@ function An(e) {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
var Sn = 1, Ze = 2, In = 3, En = 4, xe = 5;
|
|
2091
2091
|
function Da(e, t, n, r, i, a, o, l) {
|
|
2092
|
-
var s,
|
|
2092
|
+
var s, u = 0, d = null, c = !1, g = !1, p = r !== -1, y = -1, v = Ma($e(e, 0)) && Ka($e(e, e.length - 1));
|
|
2093
2093
|
if (t || o)
|
|
2094
|
-
for (s = 0; s < e.length;
|
|
2095
|
-
if (
|
|
2094
|
+
for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
|
|
2095
|
+
if (u = $e(e, s), !Ne(u))
|
|
2096
2096
|
return xe;
|
|
2097
|
-
v = v && wt(
|
|
2097
|
+
v = v && wt(u, d, l), d = u;
|
|
2098
2098
|
}
|
|
2099
2099
|
else {
|
|
2100
|
-
for (s = 0; s < e.length;
|
|
2101
|
-
if (
|
|
2102
|
-
|
|
2100
|
+
for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
|
|
2101
|
+
if (u = $e(e, s), u === Oe)
|
|
2102
|
+
c = !0, p && (g = g || // Foldable line = too long, and not more-indented.
|
|
2103
2103
|
s - y - 1 > r && e[y + 1] !== " ", y = s);
|
|
2104
|
-
else if (!Ne(
|
|
2104
|
+
else if (!Ne(u))
|
|
2105
2105
|
return xe;
|
|
2106
|
-
v = v && wt(
|
|
2106
|
+
v = v && wt(u, d, l), d = u;
|
|
2107
2107
|
}
|
|
2108
2108
|
g = g || p && s - y - 1 > r && e[y + 1] !== " ";
|
|
2109
2109
|
}
|
|
2110
|
-
return !
|
|
2110
|
+
return !c && !g ? v && !o && !i(e) ? Sn : a === Le ? xe : Ze : n > 9 && An(e) ? xe : o ? a === Le ? xe : Ze : g ? En : In;
|
|
2111
2111
|
}
|
|
2112
2112
|
function Ua(e, t, n, r, i) {
|
|
2113
2113
|
e.dump = function() {
|
|
2114
2114
|
if (t.length === 0)
|
|
2115
2115
|
return e.quotingType === Le ? '""' : "''";
|
|
2116
|
-
if (!e.noCompatMode && (
|
|
2116
|
+
if (!e.noCompatMode && ($a.indexOf(t) !== -1 || Fa.test(t)))
|
|
2117
2117
|
return e.quotingType === Le ? '"' + t + '"' : "'" + t + "'";
|
|
2118
2118
|
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;
|
|
2119
|
-
function s(
|
|
2120
|
-
return Ra(e,
|
|
2119
|
+
function s(u) {
|
|
2120
|
+
return Ra(e, u);
|
|
2121
2121
|
}
|
|
2122
2122
|
switch (Da(
|
|
2123
2123
|
t,
|
|
@@ -2158,9 +2158,9 @@ function St(e) {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
function ja(e, t) {
|
|
2160
2160
|
for (var n = /(\n+)([^\n]*)/g, r = function() {
|
|
2161
|
-
var
|
|
2161
|
+
var u = e.indexOf(`
|
|
2162
2162
|
`);
|
|
2163
|
-
return
|
|
2163
|
+
return u = u !== -1 ? u : e.length, n.lastIndex = u, It(e.slice(0, u), t);
|
|
2164
2164
|
}(), i = e[0] === `
|
|
2165
2165
|
` || e[0] === " ", a, o; o = n.exec(e); ) {
|
|
2166
2166
|
var l = o[1], s = o[2];
|
|
@@ -2181,29 +2181,29 @@ function It(e, t) {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
function qa(e) {
|
|
2183
2183
|
for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
|
|
2184
|
-
n =
|
|
2184
|
+
n = $e(e, i), r = ee[n], !r && Ne(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || La(n);
|
|
2185
2185
|
return t;
|
|
2186
2186
|
}
|
|
2187
2187
|
function Pa(e, t, n) {
|
|
2188
2188
|
var r = "", i = e.tag, a, o, l;
|
|
2189
2189
|
for (a = 0, o = n.length; a < o; a += 1)
|
|
2190
|
-
l = n[a], e.replacer && (l = e.replacer.call(n, String(a), l)), (
|
|
2190
|
+
l = n[a], e.replacer && (l = e.replacer.call(n, String(a), l)), (ue(e, t, l, !1, !1) || typeof l > "u" && ue(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
2191
2191
|
e.tag = i, e.dump = "[" + r + "]";
|
|
2192
2192
|
}
|
|
2193
2193
|
function Et(e, t, n, r) {
|
|
2194
2194
|
var i = "", a = e.tag, o, l, s;
|
|
2195
2195
|
for (o = 0, l = n.length; o < l; o += 1)
|
|
2196
|
-
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (
|
|
2196
|
+
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (ue(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ue(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += Ge(e, t)), e.dump && Oe === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
|
|
2197
2197
|
e.tag = a, e.dump = i || "[]";
|
|
2198
2198
|
}
|
|
2199
2199
|
function Ha(e, t, n) {
|
|
2200
|
-
var r = "", i = e.tag, a = Object.keys(n), o, l, s,
|
|
2200
|
+
var r = "", i = e.tag, a = Object.keys(n), o, l, s, u, d;
|
|
2201
2201
|
for (o = 0, l = a.length; o < l; o += 1)
|
|
2202
|
-
d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = a[o],
|
|
2202
|
+
d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = a[o], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), ue(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ue(e, t, u, !1, !1) && (d += e.dump, r += d));
|
|
2203
2203
|
e.tag = i, e.dump = "{" + r + "}";
|
|
2204
2204
|
}
|
|
2205
2205
|
function Va(e, t, n, r) {
|
|
2206
|
-
var i = "", a = e.tag, o = Object.keys(n), l, s,
|
|
2206
|
+
var i = "", a = e.tag, o = Object.keys(n), l, s, u, d, c, g;
|
|
2207
2207
|
if (e.sortKeys === !0)
|
|
2208
2208
|
o.sort();
|
|
2209
2209
|
else if (typeof e.sortKeys == "function")
|
|
@@ -2211,7 +2211,7 @@ function Va(e, t, n, r) {
|
|
|
2211
2211
|
else if (e.sortKeys)
|
|
2212
2212
|
throw new te("sortKeys must be a boolean or a function");
|
|
2213
2213
|
for (l = 0, s = o.length; l < s; l += 1)
|
|
2214
|
-
g = "", (!r || i !== "") && (g += Ge(e, t)),
|
|
2214
|
+
g = "", (!r || i !== "") && (g += Ge(e, t)), u = o[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), ue(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Oe === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, c && (g += Ge(e, t)), ue(e, t + 1, d, !0, c) && (e.dump && Oe === e.dump.charCodeAt(0) ? g += ":" : g += ": ", g += e.dump, i += g));
|
|
2215
2215
|
e.tag = a, e.dump = i || "{}";
|
|
2216
2216
|
}
|
|
2217
2217
|
function Tt(e, t, n) {
|
|
@@ -2231,18 +2231,18 @@ function Tt(e, t, n) {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
return !1;
|
|
2233
2233
|
}
|
|
2234
|
-
function
|
|
2234
|
+
function ue(e, t, n, r, i, a, o) {
|
|
2235
2235
|
e.tag = null, e.dump = n, Tt(e, n, !1) || Tt(e, n, !0);
|
|
2236
|
-
var l = vn.call(e.dump), s = r,
|
|
2236
|
+
var l = vn.call(e.dump), s = r, u;
|
|
2237
2237
|
r && (r = e.flowLevel < 0 || e.flowLevel > t);
|
|
2238
|
-
var d = l === "[object Object]" || l === "[object Array]",
|
|
2239
|
-
if (d && (
|
|
2240
|
-
e.dump = "*ref_" +
|
|
2238
|
+
var d = l === "[object Object]" || l === "[object Array]", c, g;
|
|
2239
|
+
if (d && (c = e.duplicates.indexOf(n), g = c !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && t > 0) && (i = !1), g && e.usedDuplicates[c])
|
|
2240
|
+
e.dump = "*ref_" + c;
|
|
2241
2241
|
else {
|
|
2242
|
-
if (d && g && !e.usedDuplicates[
|
|
2243
|
-
r && Object.keys(e.dump).length !== 0 ? (Va(e, t, e.dump, i), g && (e.dump = "&ref_" +
|
|
2242
|
+
if (d && g && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
|
|
2243
|
+
r && Object.keys(e.dump).length !== 0 ? (Va(e, t, e.dump, i), g && (e.dump = "&ref_" + c + e.dump)) : (Ha(e, t, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
|
|
2244
2244
|
else if (l === "[object Array]")
|
|
2245
|
-
r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Et(e, t - 1, e.dump, i) : Et(e, t, e.dump, i), g && (e.dump = "&ref_" +
|
|
2245
|
+
r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Et(e, t - 1, e.dump, i) : Et(e, t, e.dump, i), g && (e.dump = "&ref_" + c + e.dump)) : (Pa(e, t, e.dump), g && (e.dump = "&ref_" + c + " " + e.dump));
|
|
2246
2246
|
else if (l === "[object String]")
|
|
2247
2247
|
e.tag !== "?" && Ua(e, e.dump, t, a, s);
|
|
2248
2248
|
else {
|
|
@@ -2252,9 +2252,9 @@ function ce(e, t, n, r, i, a, o) {
|
|
|
2252
2252
|
return !1;
|
|
2253
2253
|
throw new te("unacceptable kind of an object to dump " + l);
|
|
2254
2254
|
}
|
|
2255
|
-
e.tag !== null && e.tag !== "?" && (
|
|
2255
|
+
e.tag !== null && e.tag !== "?" && (u = encodeURI(
|
|
2256
2256
|
e.tag[0] === "!" ? e.tag.slice(1) : e.tag
|
|
2257
|
-
).replace(/!/g, "%21"), e.tag[0] === "!" ?
|
|
2257
|
+
).replace(/!/g, "%21"), e.tag[0] === "!" ? u = "!" + u : u.slice(0, 18) === "tag:yaml.org,2002:" ? u = "!!" + u.slice(18) : u = "!<" + u + ">", e.dump = u + " " + e.dump);
|
|
2258
2258
|
}
|
|
2259
2259
|
return !0;
|
|
2260
2260
|
}
|
|
@@ -2281,7 +2281,7 @@ function Ya(e, t) {
|
|
|
2281
2281
|
var n = new Ba(t);
|
|
2282
2282
|
n.noRefs || za(e, n);
|
|
2283
2283
|
var r = e;
|
|
2284
|
-
return n.replacer && (r = n.replacer.call({ "": r }, "", r)),
|
|
2284
|
+
return n.replacer && (r = n.replacer.call({ "": r }, "", r)), ue(n, 0, r, !0, !0) ? n.dump + `
|
|
2285
2285
|
` : "";
|
|
2286
2286
|
}
|
|
2287
2287
|
var Wa = Ya, Ja = {
|
|
@@ -2306,7 +2306,7 @@ var Ga = X, Za = Pt, Qa = Yt, Xa = Qt, eo = Xt, to = nt, no = yn.load, ro = yn.l
|
|
|
2306
2306
|
omap: on,
|
|
2307
2307
|
seq: Vt,
|
|
2308
2308
|
str: Ht
|
|
2309
|
-
}, lo = ot("safeLoad", "load"), so = ot("safeLoadAll", "loadAll"),
|
|
2309
|
+
}, lo = ot("safeLoad", "load"), so = ot("safeLoadAll", "loadAll"), co = ot("safeDump", "dump"), uo = {
|
|
2310
2310
|
Type: Ga,
|
|
2311
2311
|
Schema: Za,
|
|
2312
2312
|
FAILSAFE_SCHEMA: Qa,
|
|
@@ -2320,7 +2320,7 @@ var Ga = X, Za = Pt, Qa = Yt, Xa = Qt, eo = Xt, to = nt, no = yn.load, ro = yn.l
|
|
|
2320
2320
|
types: oo,
|
|
2321
2321
|
safeLoad: lo,
|
|
2322
2322
|
safeLoadAll: so,
|
|
2323
|
-
safeDump:
|
|
2323
|
+
safeDump: co
|
|
2324
2324
|
};
|
|
2325
2325
|
const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
2326
2326
|
__name: "YamlCodeBlock",
|
|
@@ -2334,7 +2334,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2334
2334
|
setup(e) {
|
|
2335
2335
|
const t = e, n = k(() => {
|
|
2336
2336
|
const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, i]) => i !== null && i !== "" && (Array.isArray(i) ? i.length !== 0 : !0)));
|
|
2337
|
-
return Object.keys(r).length === 0 && r.constructor === Object ? "" :
|
|
2337
|
+
return Object.keys(r).length === 0 && r.constructor === Object ? "" : uo.dump(r).trim();
|
|
2338
2338
|
});
|
|
2339
2339
|
return (r, i) => {
|
|
2340
2340
|
const a = K("KCodeBlock");
|
|
@@ -2400,33 +2400,33 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2400
2400
|
const o = JSON.parse(JSON.stringify(t.record));
|
|
2401
2401
|
return delete o.created_at, delete o.updated_at, o;
|
|
2402
2402
|
});
|
|
2403
|
-
return (o, l) => (m(), S(
|
|
2403
|
+
return (o, l) => (m(), S(ce, null, [
|
|
2404
2404
|
e.format === "structured" ? (m(), S("div", po, [
|
|
2405
|
-
(m(!0), S(
|
|
2405
|
+
(m(!0), S(ce, null, oe(e.propListTypes, (s) => (m(), S("div", {
|
|
2406
2406
|
key: `config-card-details-${s}-props`,
|
|
2407
2407
|
class: fe(`config-card-details-${s}-props`),
|
|
2408
2408
|
"data-testid": `config-card-details-${s}-props`
|
|
2409
2409
|
}, [
|
|
2410
|
-
s !== "basic" ? (m(), S("div", mo,
|
|
2411
|
-
(m(!0), S(
|
|
2412
|
-
key:
|
|
2413
|
-
item:
|
|
2410
|
+
s !== "basic" ? (m(), S("div", mo, O(s === "advanced" ? T(r)("baseConfigCard.sections.advanced") : T(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
|
|
2411
|
+
(m(!0), S(ce, null, oe(e.propertyCollections[s], (u) => (m(), M(Dt, {
|
|
2412
|
+
key: u.key,
|
|
2413
|
+
item: u
|
|
2414
2414
|
}, _e({
|
|
2415
2415
|
label: b(() => [
|
|
2416
|
-
z(o.$slots, `${
|
|
2416
|
+
z(o.$slots, `${u.key}-label`, { row: u }, void 0, !0)
|
|
2417
2417
|
]),
|
|
2418
|
-
[
|
|
2419
|
-
z(o.$slots,
|
|
2420
|
-
row:
|
|
2418
|
+
[u.key]: b(({ rowValue: d }) => [
|
|
2419
|
+
z(o.$slots, u.key, {
|
|
2420
|
+
row: u,
|
|
2421
2421
|
rowValue: d
|
|
2422
2422
|
}, void 0, !0)
|
|
2423
2423
|
]),
|
|
2424
2424
|
_: 2
|
|
2425
2425
|
}, [
|
|
2426
|
-
i(
|
|
2426
|
+
i(u) ? {
|
|
2427
2427
|
name: "label-tooltip",
|
|
2428
2428
|
fn: b(() => [
|
|
2429
|
-
z(o.$slots, `${
|
|
2429
|
+
z(o.$slots, `${u.key}-label-tooltip`, { row: u }, void 0, !0)
|
|
2430
2430
|
]),
|
|
2431
2431
|
key: "0"
|
|
2432
2432
|
} : void 0
|
|
@@ -2451,7 +2451,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2451
2451
|
for (const [r, i] of t)
|
|
2452
2452
|
n[r] = i;
|
|
2453
2453
|
return n;
|
|
2454
|
-
}, vo = (e) => (Ie("data-v-
|
|
2454
|
+
}, vo = (e) => (Ie("data-v-f68c7837"), e = e(), Ee(), e), bo = ["aria-hidden"], xo = {
|
|
2455
2455
|
key: 0,
|
|
2456
2456
|
"data-testid": "kui-icon-svg-title"
|
|
2457
2457
|
}, Co = /* @__PURE__ */ vo(() => /* @__PURE__ */ L("path", {
|
|
@@ -2543,14 +2543,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2543
2543
|
width: "100%",
|
|
2544
2544
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2545
2545
|
}, [
|
|
2546
|
-
e.title ? (m(), S("title", xo,
|
|
2546
|
+
e.title ? (m(), S("title", xo, O(e.title), 1)) : D("", !0),
|
|
2547
2547
|
Co
|
|
2548
2548
|
], 8, bo))
|
|
2549
2549
|
]),
|
|
2550
2550
|
_: 1
|
|
2551
2551
|
}, 8, ["aria-hidden", "style"]));
|
|
2552
2552
|
}
|
|
2553
|
-
}), _o = /* @__PURE__ */ Te(ko, [["__scopeId", "data-v-
|
|
2553
|
+
}), _o = /* @__PURE__ */ Te(ko, [["__scopeId", "data-v-f68c7837"]]), wo = (e) => (Ie("data-v-9af646cc"), e = e(), Ee(), e), Ao = ["aria-hidden"], So = {
|
|
2554
2554
|
key: 0,
|
|
2555
2555
|
"data-testid": "kui-icon-svg-title"
|
|
2556
2556
|
}, Io = /* @__PURE__ */ wo(() => /* @__PURE__ */ L("path", {
|
|
@@ -2642,17 +2642,17 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2642
2642
|
width: "100%",
|
|
2643
2643
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2644
2644
|
}, [
|
|
2645
|
-
e.title ? (m(), S("title", So,
|
|
2645
|
+
e.title ? (m(), S("title", So, O(e.title), 1)) : D("", !0),
|
|
2646
2646
|
Io
|
|
2647
2647
|
], 8, Ao))
|
|
2648
2648
|
]),
|
|
2649
2649
|
_: 1
|
|
2650
2650
|
}, 8, ["aria-hidden", "style"]));
|
|
2651
2651
|
}
|
|
2652
|
-
}), To = /* @__PURE__ */ Te(Eo, [["__scopeId", "data-v-
|
|
2652
|
+
}), To = /* @__PURE__ */ Te(Eo, [["__scopeId", "data-v-9af646cc"]]), $o = (e) => (Ie("data-v-84c4811e"), e = e(), Ee(), e), Fo = ["aria-hidden"], Oo = {
|
|
2653
2653
|
key: 0,
|
|
2654
2654
|
"data-testid": "kui-icon-svg-title"
|
|
2655
|
-
}, Lo = /* @__PURE__ */
|
|
2655
|
+
}, Lo = /* @__PURE__ */ $o(() => /* @__PURE__ */ L("path", {
|
|
2656
2656
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
2657
2657
|
fill: "currentColor"
|
|
2658
2658
|
}, null, -1)), No = /* @__PURE__ */ P({
|
|
@@ -2741,14 +2741,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2741
2741
|
width: "100%",
|
|
2742
2742
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2743
2743
|
}, [
|
|
2744
|
-
e.title ? (m(), S("title",
|
|
2744
|
+
e.title ? (m(), S("title", Oo, O(e.title), 1)) : D("", !0),
|
|
2745
2745
|
Lo
|
|
2746
|
-
], 8,
|
|
2746
|
+
], 8, Fo))
|
|
2747
2747
|
]),
|
|
2748
2748
|
_: 1
|
|
2749
2749
|
}, 8, ["aria-hidden", "style"]));
|
|
2750
2750
|
}
|
|
2751
|
-
}), Bo = /* @__PURE__ */ Te(No, [["__scopeId", "data-v-
|
|
2751
|
+
}), Bo = /* @__PURE__ */ Te(No, [["__scopeId", "data-v-84c4811e"]]), Ro = (e) => (Ie("data-v-26ad8dc6"), e = e(), Ee(), e), Mo = ["aria-hidden"], Ko = {
|
|
2752
2752
|
key: 0,
|
|
2753
2753
|
"data-testid": "kui-icon-svg-title"
|
|
2754
2754
|
}, Do = /* @__PURE__ */ Ro(() => /* @__PURE__ */ L("path", {
|
|
@@ -2840,14 +2840,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2840
2840
|
width: "100%",
|
|
2841
2841
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2842
2842
|
}, [
|
|
2843
|
-
e.title ? (m(), S("title", Ko,
|
|
2843
|
+
e.title ? (m(), S("title", Ko, O(e.title), 1)) : D("", !0),
|
|
2844
2844
|
Do
|
|
2845
2845
|
], 8, Mo))
|
|
2846
2846
|
]),
|
|
2847
2847
|
_: 1
|
|
2848
2848
|
}, 8, ["aria-hidden", "style"]));
|
|
2849
2849
|
}
|
|
2850
|
-
}), jo = /* @__PURE__ */ Te(Uo, [["__scopeId", "data-v-
|
|
2850
|
+
}), jo = /* @__PURE__ */ Te(Uo, [["__scopeId", "data-v-26ad8dc6"]]), qo = (e) => (Ie("data-v-a3352b0f"), e = e(), Ee(), e), Po = ["aria-hidden"], Ho = {
|
|
2851
2851
|
key: 0,
|
|
2852
2852
|
"data-testid": "kui-icon-svg-title"
|
|
2853
2853
|
}, Vo = /* @__PURE__ */ qo(() => /* @__PURE__ */ L("path", {
|
|
@@ -2939,14 +2939,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
2939
2939
|
width: "100%",
|
|
2940
2940
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2941
2941
|
}, [
|
|
2942
|
-
e.title ? (m(), S("title", Ho,
|
|
2942
|
+
e.title ? (m(), S("title", Ho, O(e.title), 1)) : D("", !0),
|
|
2943
2943
|
Vo
|
|
2944
2944
|
], 8, Po))
|
|
2945
2945
|
]),
|
|
2946
2946
|
_: 1
|
|
2947
2947
|
}, 8, ["aria-hidden", "style"]));
|
|
2948
2948
|
}
|
|
2949
|
-
}), Yo = /* @__PURE__ */ Te(zo, [["__scopeId", "data-v-
|
|
2949
|
+
}), Yo = /* @__PURE__ */ Te(zo, [["__scopeId", "data-v-a3352b0f"]]), Wo = (e) => (Ie("data-v-d43c21f8"), e = e(), Ee(), e), Jo = ["aria-hidden"], Go = {
|
|
2950
2950
|
key: 0,
|
|
2951
2951
|
"data-testid": "kui-icon-svg-title"
|
|
2952
2952
|
}, Zo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ L("path", {
|
|
@@ -3038,14 +3038,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3038
3038
|
width: "100%",
|
|
3039
3039
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3040
3040
|
}, [
|
|
3041
|
-
e.title ? (m(), S("title", Go,
|
|
3041
|
+
e.title ? (m(), S("title", Go, O(e.title), 1)) : D("", !0),
|
|
3042
3042
|
Zo
|
|
3043
3043
|
], 8, Jo))
|
|
3044
3044
|
]),
|
|
3045
3045
|
_: 1
|
|
3046
3046
|
}, 8, ["aria-hidden", "style"]));
|
|
3047
3047
|
}
|
|
3048
|
-
}), Xo = /* @__PURE__ */ Te(Qo, [["__scopeId", "data-v-
|
|
3048
|
+
}), Xo = /* @__PURE__ */ Te(Qo, [["__scopeId", "data-v-d43c21f8"]]), el = {
|
|
3049
3049
|
class: "config-card-title",
|
|
3050
3050
|
"data-testid": "config-card-title"
|
|
3051
3051
|
}, tl = { class: "config-card-actions" }, nl = ["href"], rl = { class: "config-card-details-section" }, il = /* @__PURE__ */ P({
|
|
@@ -3141,9 +3141,9 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3141
3141
|
label: "YAML",
|
|
3142
3142
|
value: "yaml"
|
|
3143
3143
|
}
|
|
3144
|
-
],
|
|
3145
|
-
|
|
3146
|
-
},
|
|
3144
|
+
], u = R("structured"), d = (f) => {
|
|
3145
|
+
u.value = f == null ? void 0 : f.value;
|
|
3146
|
+
}, c = {
|
|
3147
3147
|
id: {
|
|
3148
3148
|
type: H.ID,
|
|
3149
3149
|
label: i("baseConfigCard.commonFields.id_label"),
|
|
@@ -3178,20 +3178,20 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3178
3178
|
section: re.Basic
|
|
3179
3179
|
}
|
|
3180
3180
|
}, g = R(!1), p = R(!1), y = R(""), v = R({}), _ = k(() => {
|
|
3181
|
-
var
|
|
3181
|
+
var F, x, U;
|
|
3182
3182
|
if (!v.value)
|
|
3183
3183
|
return [];
|
|
3184
3184
|
const f = [], E = Object.keys(v.value).length;
|
|
3185
|
-
for (const
|
|
3186
|
-
const A = (x = (
|
|
3185
|
+
for (const $ in v.value) {
|
|
3186
|
+
const A = (x = (F = r.configSchema) == null ? void 0 : F[$]) == null ? void 0 : x.order, q = (U = c[$]) == null ? void 0 : U.order;
|
|
3187
3187
|
let j = E;
|
|
3188
|
-
(q || q === 0) && (j = q === -1 ? E + 1 : q), A && (j = A === -1 ? E + 1 : A), f.push([
|
|
3188
|
+
(q || q === 0) && (j = q === -1 ? E + 1 : q), A && (j = A === -1 ? E + 1 : A), f.push([$, j]);
|
|
3189
3189
|
}
|
|
3190
|
-
return f.sort(function(
|
|
3191
|
-
return
|
|
3192
|
-
}), f.map((
|
|
3190
|
+
return f.sort(function($, A) {
|
|
3191
|
+
return $[1] - A[1];
|
|
3192
|
+
}), f.map(($) => {
|
|
3193
3193
|
var he, lt;
|
|
3194
|
-
const A =
|
|
3194
|
+
const A = $[0], q = (he = v.value) == null ? void 0 : he[A], j = ((lt = r.configSchema) == null ? void 0 : lt[A]) || {}, J = c[A];
|
|
3195
3195
|
return {
|
|
3196
3196
|
key: A,
|
|
3197
3197
|
value: q,
|
|
@@ -3201,22 +3201,22 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3201
3201
|
tooltip: j.tooltip ?? ((J == null ? void 0 : J.tooltip) || void 0),
|
|
3202
3202
|
section: j.section ?? ((J == null ? void 0 : J.section) || re.Advanced)
|
|
3203
3203
|
};
|
|
3204
|
-
}).filter((
|
|
3204
|
+
}).filter(($) => !$.hidden && $.key !== r.pluginConfigKey);
|
|
3205
3205
|
}), N = k(() => {
|
|
3206
3206
|
var x, U;
|
|
3207
3207
|
if (!v.value || !r.pluginConfigKey)
|
|
3208
3208
|
return [];
|
|
3209
|
-
const f = v.value[r.pluginConfigKey] || {}, E = Object.keys(f).length,
|
|
3210
|
-
for (const
|
|
3211
|
-
const A = (U = (x = r.pluginConfigSchema) == null ? void 0 : x[
|
|
3209
|
+
const f = v.value[r.pluginConfigKey] || {}, E = Object.keys(f).length, F = [];
|
|
3210
|
+
for (const $ in f) {
|
|
3211
|
+
const A = (U = (x = r.pluginConfigSchema) == null ? void 0 : x[$]) == null ? void 0 : U.order, q = f[$];
|
|
3212
3212
|
let j = q != null && q !== "" ? E - 1 : E;
|
|
3213
|
-
A && (j = A === -1 ? E + 1 : A),
|
|
3213
|
+
A && (j = A === -1 ? E + 1 : A), F.push([$, j]);
|
|
3214
3214
|
}
|
|
3215
|
-
return
|
|
3216
|
-
return
|
|
3217
|
-
}),
|
|
3215
|
+
return F.sort(function($, A) {
|
|
3216
|
+
return $[1] - A[1];
|
|
3217
|
+
}), F.map(($) => {
|
|
3218
3218
|
var J;
|
|
3219
|
-
const A =
|
|
3219
|
+
const A = $[0], q = f[A], j = ((J = r.pluginConfigSchema) == null ? void 0 : J[A]) || {};
|
|
3220
3220
|
return {
|
|
3221
3221
|
key: A,
|
|
3222
3222
|
value: q,
|
|
@@ -3226,21 +3226,21 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3226
3226
|
tooltip: j.tooltip ?? void 0,
|
|
3227
3227
|
section: re.Plugin
|
|
3228
3228
|
};
|
|
3229
|
-
}).filter((
|
|
3229
|
+
}).filter(($) => !$.hidden);
|
|
3230
3230
|
}), w = k(() => {
|
|
3231
|
-
var f, E,
|
|
3231
|
+
var f, E, F, x;
|
|
3232
3232
|
return {
|
|
3233
3233
|
basic: (f = _.value) == null ? void 0 : f.filter((U) => U.section === re.Basic),
|
|
3234
3234
|
advanced: (E = _.value) == null ? void 0 : E.filter((U) => U.section === re.Advanced),
|
|
3235
|
-
plugin: (x = N.value) == null ? void 0 : x.concat((
|
|
3235
|
+
plugin: (x = N.value) == null ? void 0 : x.concat((F = _.value) == null ? void 0 : F.filter((U) => U.section === re.Plugin))
|
|
3236
3236
|
};
|
|
3237
3237
|
}), Z = k(() => {
|
|
3238
3238
|
const f = [];
|
|
3239
3239
|
return w.value.basic.length && f.push("basic"), w.value.advanced.length && f.push("advanced"), w.value.plugin.length && f.push("plugin"), f;
|
|
3240
3240
|
}), h = k(() => {
|
|
3241
|
-
var E,
|
|
3241
|
+
var E, F;
|
|
3242
3242
|
let f = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3243
|
-
return r.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((E = r.config) == null ? void 0 : E.controlPlaneId) || "") : r.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (
|
|
3243
|
+
return r.config.app === "konnect" ? f = f.replace(/{controlPlaneId}/gi, ((E = r.config) == null ? void 0 : E.controlPlaneId) || "") : r.config.app === "kongManager" && (f = f.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), f = f.replace(/{id}/gi, r.config.entityId), f;
|
|
3244
3244
|
});
|
|
3245
3245
|
return Ae(g, (f) => {
|
|
3246
3246
|
n("loading", f);
|
|
@@ -3255,8 +3255,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3255
3255
|
throw new Error(i("errors.dataKeyUndefined", { dataKey: r.dataKey }));
|
|
3256
3256
|
else
|
|
3257
3257
|
v.value = { ...f };
|
|
3258
|
-
Object.keys(r.configSchema).filter((
|
|
3259
|
-
v.value && typeof v.value[
|
|
3258
|
+
Object.keys(r.configSchema).filter((F) => r.configSchema[F].forceShow).forEach((F) => {
|
|
3259
|
+
v.value && typeof v.value[F] > "u" && (v.value[F] = null);
|
|
3260
3260
|
}), n("fetch:success", f);
|
|
3261
3261
|
} catch (f) {
|
|
3262
3262
|
const E = a(f);
|
|
@@ -3265,7 +3265,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3265
3265
|
g.value = !1;
|
|
3266
3266
|
}
|
|
3267
3267
|
}), (f, E) => {
|
|
3268
|
-
const
|
|
3268
|
+
const F = K("KLabel"), x = K("KSelect"), U = K("KButton"), $ = K("KSkeleton"), A = K("KEmptyState"), q = K("KCard");
|
|
3269
3269
|
return m(), M(q, {
|
|
3270
3270
|
class: "kong-ui-entity-base-config-card",
|
|
3271
3271
|
"title-tag": e.titleTag
|
|
@@ -3273,12 +3273,12 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3273
3273
|
actions: b(() => [
|
|
3274
3274
|
L("div", tl, [
|
|
3275
3275
|
z(f.$slots, "actions", {}, void 0, !0),
|
|
3276
|
-
B(
|
|
3276
|
+
B(F, {
|
|
3277
3277
|
class: "config-format-select-label",
|
|
3278
3278
|
"data-testid": "config-format-select-label"
|
|
3279
3279
|
}, {
|
|
3280
3280
|
default: b(() => [
|
|
3281
|
-
V(
|
|
3281
|
+
V(O(e.label), 1)
|
|
3282
3282
|
]),
|
|
3283
3283
|
_: 1
|
|
3284
3284
|
}),
|
|
@@ -3299,7 +3299,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3299
3299
|
rel: "noopener",
|
|
3300
3300
|
target: "_blank"
|
|
3301
3301
|
}, [
|
|
3302
|
-
B(T(To), { size: T(
|
|
3302
|
+
B(T(To), { size: T($r) }, null, 8, ["size"])
|
|
3303
3303
|
], 8, nl)
|
|
3304
3304
|
]),
|
|
3305
3305
|
_: 1
|
|
@@ -3307,7 +3307,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3307
3307
|
])
|
|
3308
3308
|
]),
|
|
3309
3309
|
default: b(() => [
|
|
3310
|
-
g.value ? (m(), M(
|
|
3310
|
+
g.value ? (m(), M($, {
|
|
3311
3311
|
key: 0,
|
|
3312
3312
|
"data-testid": "config-card-loader",
|
|
3313
3313
|
"table-columns": 2,
|
|
@@ -3318,7 +3318,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3318
3318
|
"icon-variant": "error"
|
|
3319
3319
|
}, {
|
|
3320
3320
|
default: b(() => [
|
|
3321
|
-
L("h3", null,
|
|
3321
|
+
L("h3", null, O(y.value), 1)
|
|
3322
3322
|
]),
|
|
3323
3323
|
_: 1
|
|
3324
3324
|
})) : D("", !0),
|
|
@@ -3326,7 +3326,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3326
3326
|
B(yo, {
|
|
3327
3327
|
config: e.config,
|
|
3328
3328
|
"fetcher-url": h.value,
|
|
3329
|
-
format:
|
|
3329
|
+
format: u.value,
|
|
3330
3330
|
"prop-list-types": Z.value,
|
|
3331
3331
|
"property-collections": w.value,
|
|
3332
3332
|
record: v.value
|
|
@@ -3350,7 +3350,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3350
3350
|
fn: b(() => [
|
|
3351
3351
|
L("span", el, [
|
|
3352
3352
|
z(f.$slots, "title", {}, () => [
|
|
3353
|
-
V(
|
|
3353
|
+
V(O(T(i)("baseConfigCard.title")), 1)
|
|
3354
3354
|
], !0)
|
|
3355
3355
|
])
|
|
3356
3356
|
]),
|
|
@@ -3431,7 +3431,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3431
3431
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
3432
3432
|
setup(e, { emit: t }) {
|
|
3433
3433
|
var Z;
|
|
3434
|
-
const n = t, r = e, i = jn(), { i18n: { t: a } } = Y.useI18n(), { getMessageFromError: o } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((Z = r.config) == null ? void 0 : Z.axiosRequestConfig), s = R(!1),
|
|
3434
|
+
const n = t, r = e, i = jn(), { i18n: { t: a } } = Y.useI18n(), { getMessageFromError: o } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((Z = r.config) == null ? void 0 : Z.axiosRequestConfig), s = R(!1), u = R(!1), d = R(""), c = k(() => r.canSubmit === !1 || r.isReadonly), g = R(!1), p = k(() => {
|
|
3435
3435
|
var I, f;
|
|
3436
3436
|
let h = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3437
3437
|
return r.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((I = r.config) == null ? void 0 : I.controlPlaneId) || "") : r.config.app === "kongManager" && (h = h.replace(/\/{workspace}/gi, (f = r.config) != null && f.workspace ? `/${r.config.workspace}` : "")), r.editId ? (h = h.replace(/{id}/gi, r.editId), h) : (h = h.replace(/\/{id}/gi, ""), h);
|
|
@@ -3442,7 +3442,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3442
3442
|
}, _ = () => {
|
|
3443
3443
|
n("cancel");
|
|
3444
3444
|
}, N = () => {
|
|
3445
|
-
|
|
3445
|
+
c.value || n("submit");
|
|
3446
3446
|
}, w = R([
|
|
3447
3447
|
{
|
|
3448
3448
|
title: a("baseForm.configuration.yaml"),
|
|
@@ -3458,23 +3458,23 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3458
3458
|
}, { immediate: !0 }), Lt(async () => {
|
|
3459
3459
|
if (r.editId)
|
|
3460
3460
|
try {
|
|
3461
|
-
|
|
3461
|
+
u.value = !1, s.value = !0;
|
|
3462
3462
|
const { data: h } = await l.get(p.value);
|
|
3463
3463
|
n("fetch:success", h);
|
|
3464
3464
|
} catch (h) {
|
|
3465
3465
|
const I = o(h);
|
|
3466
|
-
d.value = I.startsWith("code") ? a("baseForm.errors.edit") : I,
|
|
3466
|
+
d.value = I.startsWith("code") ? a("baseForm.errors.edit") : I, u.value = !0, n("fetch:error", h);
|
|
3467
3467
|
} finally {
|
|
3468
3468
|
s.value = !1;
|
|
3469
3469
|
}
|
|
3470
3470
|
}), (h, I) => {
|
|
3471
|
-
const f = K("KSkeleton"), E = K("KEmptyState"),
|
|
3471
|
+
const f = K("KSkeleton"), E = K("KEmptyState"), F = K("KAlert"), x = K("KButton"), U = K("KTabs"), $ = K("KSlideout");
|
|
3472
3472
|
return m(), M(se(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
|
|
3473
3473
|
default: b(() => [
|
|
3474
3474
|
s.value ? (m(), M(f, {
|
|
3475
3475
|
key: 0,
|
|
3476
3476
|
type: "form"
|
|
3477
|
-
})) :
|
|
3477
|
+
})) : u.value ? (m(), M(E, {
|
|
3478
3478
|
key: 1,
|
|
3479
3479
|
"action-button-text": T(a)("baseForm.actions.back"),
|
|
3480
3480
|
"data-testid": "form-fetch-error",
|
|
@@ -3482,7 +3482,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3482
3482
|
onClickAction: v
|
|
3483
3483
|
}, {
|
|
3484
3484
|
default: b(() => [
|
|
3485
|
-
L("h3", null,
|
|
3485
|
+
L("h3", null, O(d.value), 1)
|
|
3486
3486
|
]),
|
|
3487
3487
|
_: 1
|
|
3488
3488
|
}, 8, ["action-button-text"])) : (m(), S("form", {
|
|
@@ -3493,7 +3493,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3493
3493
|
onSubmit: Ye(N, ["prevent"])
|
|
3494
3494
|
}, [
|
|
3495
3495
|
z(h.$slots, "default", {}, void 0, !0),
|
|
3496
|
-
e.errorMessage ? (m(), M(
|
|
3496
|
+
e.errorMessage ? (m(), M(F, {
|
|
3497
3497
|
key: 0,
|
|
3498
3498
|
appearance: "danger",
|
|
3499
3499
|
"data-testid": "form-error",
|
|
@@ -3507,7 +3507,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3507
3507
|
onClick: I[0] || (I[0] = (A) => y())
|
|
3508
3508
|
}, {
|
|
3509
3509
|
default: b(() => [
|
|
3510
|
-
V(
|
|
3510
|
+
V(O(T(a)("baseForm.actions.viewConfiguration")), 1)
|
|
3511
3511
|
]),
|
|
3512
3512
|
_: 1
|
|
3513
3513
|
}),
|
|
@@ -3518,25 +3518,25 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3518
3518
|
type: "reset"
|
|
3519
3519
|
}, {
|
|
3520
3520
|
default: b(() => [
|
|
3521
|
-
V(
|
|
3521
|
+
V(O(T(a)("baseForm.actions.cancel")), 1)
|
|
3522
3522
|
]),
|
|
3523
3523
|
_: 1
|
|
3524
3524
|
}, 8, ["disabled"]),
|
|
3525
3525
|
B(x, {
|
|
3526
3526
|
appearance: "primary",
|
|
3527
3527
|
"data-testid": "form-submit",
|
|
3528
|
-
disabled:
|
|
3528
|
+
disabled: c.value,
|
|
3529
3529
|
type: "submit"
|
|
3530
3530
|
}, {
|
|
3531
3531
|
default: b(() => [
|
|
3532
|
-
V(
|
|
3532
|
+
V(O(T(a)("baseForm.actions.save")), 1)
|
|
3533
3533
|
]),
|
|
3534
3534
|
_: 1
|
|
3535
3535
|
}, 8, ["disabled"])
|
|
3536
3536
|
], !0)
|
|
3537
3537
|
])
|
|
3538
3538
|
], 40, al)),
|
|
3539
|
-
B(
|
|
3539
|
+
B($, {
|
|
3540
3540
|
"close-on-blur": !1,
|
|
3541
3541
|
"data-testid": "form-view-configuration-slideout",
|
|
3542
3542
|
"has-overlay": !1,
|
|
@@ -3546,7 +3546,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3546
3546
|
onClose: I[1] || (I[1] = (A) => y())
|
|
3547
3547
|
}, {
|
|
3548
3548
|
default: b(() => [
|
|
3549
|
-
L("div", null,
|
|
3549
|
+
L("div", null, O(T(a)("baseForm.configuration.message")), 1),
|
|
3550
3550
|
B(U, {
|
|
3551
3551
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
3552
3552
|
tabs: w.value
|
|
@@ -3574,7 +3574,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3574
3574
|
});
|
|
3575
3575
|
};
|
|
3576
3576
|
}
|
|
3577
|
-
}), ts = /* @__PURE__ */ ae(ll, [["__scopeId", "data-v-fd05df8e"]]), sl = ["data-truncate"],
|
|
3577
|
+
}), ts = /* @__PURE__ */ ae(ll, [["__scopeId", "data-v-fd05df8e"]]), sl = ["data-truncate"], cl = /* @__PURE__ */ P({
|
|
3578
3578
|
__name: "EntityBaseTableCell",
|
|
3579
3579
|
props: {
|
|
3580
3580
|
keyName: {
|
|
@@ -3612,8 +3612,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3612
3612
|
const h = window.getComputedStyle(n.value);
|
|
3613
3613
|
_ -= (parseFloat(h.paddingLeft) || 0) + (parseFloat(h.paddingRight) || 0);
|
|
3614
3614
|
}
|
|
3615
|
-
d.value = ((w = r.value) == null ? void 0 : w.getBoundingClientRect().width) || 0,
|
|
3616
|
-
},
|
|
3615
|
+
d.value = ((w = r.value) == null ? void 0 : w.getBoundingClientRect().width) || 0, c.value = _, g.value = ((Z = u.value) == null ? void 0 : Z.innerText) || "";
|
|
3616
|
+
}, u = R({}), d = R(0), c = R(0), g = R(""), p = k(() => [r.value, n.value]), y = Ae(
|
|
3617
3617
|
p,
|
|
3618
3618
|
(_) => {
|
|
3619
3619
|
if (a.value && (l(), "ResizeObserver" in window && window)) {
|
|
@@ -3627,7 +3627,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3627
3627
|
}
|
|
3628
3628
|
},
|
|
3629
3629
|
{ immediate: !0, flush: "post", deep: !0 }
|
|
3630
|
-
), v = k(() => a.value ? d.value >
|
|
3630
|
+
), v = k(() => a.value ? d.value > c.value : !1);
|
|
3631
3631
|
return Nn(() => {
|
|
3632
3632
|
s();
|
|
3633
3633
|
}), Bn(() => {
|
|
@@ -3636,7 +3636,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3636
3636
|
const w = K("KTooltip");
|
|
3637
3637
|
return m(), S("span", {
|
|
3638
3638
|
ref_key: "contentRef",
|
|
3639
|
-
ref:
|
|
3639
|
+
ref: u,
|
|
3640
3640
|
class: "content-wrapper"
|
|
3641
3641
|
}, [
|
|
3642
3642
|
a.value ? (m(), S("span", {
|
|
@@ -3657,7 +3657,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3657
3657
|
], 512);
|
|
3658
3658
|
};
|
|
3659
3659
|
}
|
|
3660
|
-
}),
|
|
3660
|
+
}), ul = /* @__PURE__ */ ae(cl, [["__scopeId", "data-v-471ce76e"]]), dl = { class: "toolbar-container" }, fl = {
|
|
3661
3661
|
key: 0,
|
|
3662
3662
|
class: "toolbar-button-container"
|
|
3663
3663
|
}, pl = ["data-testid"], hl = /* @__PURE__ */ P({
|
|
@@ -3791,11 +3791,11 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3791
3791
|
};
|
|
3792
3792
|
}), o = k(() => n.cacheIdentifier || n.preferencesStorageKey), l = (f) => f.hasData || !!n.query, s = k(() => {
|
|
3793
3793
|
const f = [];
|
|
3794
|
-
return Object.keys(n.tableHeaders).forEach((
|
|
3795
|
-
const x = n.tableHeaders[
|
|
3794
|
+
return Object.keys(n.tableHeaders).forEach((F) => {
|
|
3795
|
+
const x = n.tableHeaders[F];
|
|
3796
3796
|
f.push({
|
|
3797
|
-
label: x.label ??
|
|
3798
|
-
key:
|
|
3797
|
+
label: x.label ?? F,
|
|
3798
|
+
key: F,
|
|
3799
3799
|
sortable: x.sortable ?? !1,
|
|
3800
3800
|
hidable: !0
|
|
3801
3801
|
});
|
|
@@ -3803,11 +3803,11 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3803
3803
|
key: "actions",
|
|
3804
3804
|
hideLabel: !0
|
|
3805
3805
|
}), f;
|
|
3806
|
-
}),
|
|
3806
|
+
}), u = (f) => ({
|
|
3807
3807
|
"data-rowid": f.id,
|
|
3808
3808
|
"data-testid": f.name,
|
|
3809
3809
|
...n.rowAttributes(f)
|
|
3810
|
-
}), d = R({}),
|
|
3810
|
+
}), d = R({}), c = (f) => {
|
|
3811
3811
|
var E;
|
|
3812
3812
|
return (E = d.value) == null ? void 0 : E.$el.querySelector(`[data-rowid="${f.id}"]`);
|
|
3813
3813
|
}, g = (f) => {
|
|
@@ -3838,8 +3838,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3838
3838
|
Z.value = f, o.value && N(o.value, f);
|
|
3839
3839
|
};
|
|
3840
3840
|
return (f, E) => {
|
|
3841
|
-
const
|
|
3842
|
-
return m(), M(
|
|
3841
|
+
const F = K("KButton"), x = K("KDropdown"), U = K("KTable"), $ = K("KCard");
|
|
3842
|
+
return m(), M($, {
|
|
3843
3843
|
class: "kong-ui-entity-base-table",
|
|
3844
3844
|
title: e.title,
|
|
3845
3845
|
"title-tag": e.titleTag
|
|
@@ -3868,7 +3868,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3868
3868
|
loading: e.isLoading,
|
|
3869
3869
|
"pagination-offset": e.paginationType === "offset",
|
|
3870
3870
|
"resize-columns": "",
|
|
3871
|
-
"row-attrs":
|
|
3871
|
+
"row-attrs": u,
|
|
3872
3872
|
"search-input": e.query,
|
|
3873
3873
|
"sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
|
|
3874
3874
|
sortable: !e.disableSorting,
|
|
@@ -3905,7 +3905,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3905
3905
|
}, void 0, !0)
|
|
3906
3906
|
]),
|
|
3907
3907
|
default: b(() => [
|
|
3908
|
-
B(
|
|
3908
|
+
B(F, {
|
|
3909
3909
|
appearance: "tertiary",
|
|
3910
3910
|
class: "actions-trigger",
|
|
3911
3911
|
"data-testid": "overflow-actions-button",
|
|
@@ -3927,9 +3927,9 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3927
3927
|
oe(e.tableHeaders, (A, q) => ({
|
|
3928
3928
|
name: q,
|
|
3929
3929
|
fn: b(({ row: j, rowKey: J, rowValue: he }) => [
|
|
3930
|
-
B(
|
|
3930
|
+
B(ul, {
|
|
3931
3931
|
"key-name": String(q),
|
|
3932
|
-
"row-el":
|
|
3932
|
+
"row-el": c(j),
|
|
3933
3933
|
tooltip: A.tooltip
|
|
3934
3934
|
}, {
|
|
3935
3935
|
default: b(() => [
|
|
@@ -3938,7 +3938,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3938
3938
|
rowKey: J,
|
|
3939
3939
|
rowValue: he
|
|
3940
3940
|
}, () => [
|
|
3941
|
-
V(
|
|
3941
|
+
V(O(he), 1)
|
|
3942
3942
|
], !0)
|
|
3943
3943
|
]),
|
|
3944
3944
|
_: 2
|
|
@@ -4008,9 +4008,9 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4008
4008
|
}, l = () => {
|
|
4009
4009
|
i("proceed");
|
|
4010
4010
|
};
|
|
4011
|
-
return (s,
|
|
4012
|
-
const d = K("KAlert"),
|
|
4013
|
-
return m(), M(
|
|
4011
|
+
return (s, u) => {
|
|
4012
|
+
const d = K("KAlert"), c = K("KPrompt");
|
|
4013
|
+
return m(), M(c, {
|
|
4014
4014
|
"action-button-appearance": "danger",
|
|
4015
4015
|
"action-button-disabled": e.actionPending,
|
|
4016
4016
|
"action-button-text": "Yes, delete",
|
|
@@ -4025,7 +4025,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4025
4025
|
e.error ? (m(), S("div", ml, [
|
|
4026
4026
|
B(d, { appearance: "danger" }, {
|
|
4027
4027
|
default: b(() => [
|
|
4028
|
-
V(
|
|
4028
|
+
V(O(e.error), 1)
|
|
4029
4029
|
]),
|
|
4030
4030
|
_: 1
|
|
4031
4031
|
})
|
|
@@ -4036,21 +4036,21 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4036
4036
|
tag: "p"
|
|
4037
4037
|
}, _e({
|
|
4038
4038
|
entityType: b(() => [
|
|
4039
|
-
V(
|
|
4039
|
+
V(O(r.entityType), 1)
|
|
4040
4040
|
]),
|
|
4041
4041
|
_: 2
|
|
4042
4042
|
}, [
|
|
4043
4043
|
r.entityName ? {
|
|
4044
4044
|
name: "entityName",
|
|
4045
4045
|
fn: b(() => [
|
|
4046
|
-
L("strong", null,
|
|
4046
|
+
L("strong", null, O(r.entityName), 1)
|
|
4047
4047
|
]),
|
|
4048
4048
|
key: "0"
|
|
4049
4049
|
} : void 0
|
|
4050
4050
|
]), 1032, ["keypath"]),
|
|
4051
4051
|
r.description || s.$slots.description ? (m(), S("div", gl, [
|
|
4052
4052
|
z(s.$slots, "description", {}, () => [
|
|
4053
|
-
L("p", null,
|
|
4053
|
+
L("p", null, O(r.description), 1)
|
|
4054
4054
|
], !0)
|
|
4055
4055
|
])) : D("", !0)
|
|
4056
4056
|
]),
|
|
@@ -4072,7 +4072,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4072
4072
|
width: "20",
|
|
4073
4073
|
x: "0",
|
|
4074
4074
|
y: "0"
|
|
4075
|
-
}, xl = ["fill"], Cl = { mask: "url(#mask0_180_20349)" }, kl = ["fill"],
|
|
4075
|
+
}, xl = ["fill"], Cl = { mask: "url(#mask0_180_20349)" }, kl = ["fill"], $t = /* @__PURE__ */ P({
|
|
4076
4076
|
__name: "IconFilter",
|
|
4077
4077
|
props: {
|
|
4078
4078
|
color: {
|
|
@@ -4100,7 +4100,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4100
4100
|
}), _l = {
|
|
4101
4101
|
key: 1,
|
|
4102
4102
|
class: "kong-ui-entity-filter"
|
|
4103
|
-
}, wl = { class: "kong-ui-entity-filter-menu" }, Al = ["data-testid"], Sl = ["onClick", "onKeydown"], Il = { class: "menu-item-indicator" }, El = { class: "menu-item-body" }, Tl = ["for"],
|
|
4103
|
+
}, wl = { class: "kong-ui-entity-filter-menu" }, Al = ["data-testid"], Sl = ["onClick", "onKeydown"], Il = { class: "menu-item-indicator" }, El = { class: "menu-item-body" }, Tl = ["for"], $l = { class: "menu-item-buttons" }, Fl = { class: "filter-clear-button-container" }, Ol = /* @__PURE__ */ P({
|
|
4104
4104
|
__name: "EntityFilter",
|
|
4105
4105
|
props: {
|
|
4106
4106
|
// filter config, either exact match or fuzzy match
|
|
@@ -4125,7 +4125,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4125
4125
|
return new URLSearchParams(r.modelValue).forEach((I, f) => {
|
|
4126
4126
|
I !== "" && h.push(f);
|
|
4127
4127
|
}), h;
|
|
4128
|
-
}),
|
|
4128
|
+
}), u = k(() => {
|
|
4129
4129
|
const h = r.config.fields;
|
|
4130
4130
|
return Object.keys(h).filter((I) => {
|
|
4131
4131
|
var f;
|
|
@@ -4143,7 +4143,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4143
4143
|
});
|
|
4144
4144
|
const d = () => {
|
|
4145
4145
|
a.value = !a.value;
|
|
4146
|
-
},
|
|
4146
|
+
}, c = (h) => {
|
|
4147
4147
|
l.value.has(h) ? l.value.delete(h) : l.value.add(h);
|
|
4148
4148
|
}, g = (h) => {
|
|
4149
4149
|
i("update:modelValue", h);
|
|
@@ -4170,7 +4170,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4170
4170
|
h && (a.value = !1), i("update:modelValue", new URLSearchParams(I).toString());
|
|
4171
4171
|
};
|
|
4172
4172
|
return (h, I) => {
|
|
4173
|
-
const f = K("KInput"), E = K("KButton"),
|
|
4173
|
+
const f = K("KInput"), E = K("KButton"), F = K("KSelect");
|
|
4174
4174
|
return e.config.isExactMatch ? (m(), M(f, {
|
|
4175
4175
|
key: 0,
|
|
4176
4176
|
autocomplete: "off",
|
|
@@ -4181,7 +4181,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4181
4181
|
"onUpdate:modelValue": g
|
|
4182
4182
|
}, {
|
|
4183
4183
|
before: b(() => [
|
|
4184
|
-
B(
|
|
4184
|
+
B($t)
|
|
4185
4185
|
]),
|
|
4186
4186
|
after: b(() => [
|
|
4187
4187
|
me(B(T(jo), {
|
|
@@ -4199,8 +4199,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4199
4199
|
onClick: d
|
|
4200
4200
|
}, {
|
|
4201
4201
|
default: b(() => [
|
|
4202
|
-
B(
|
|
4203
|
-
V(" " +
|
|
4202
|
+
B($t),
|
|
4203
|
+
V(" " + O(T(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
|
|
4204
4204
|
]),
|
|
4205
4205
|
_: 1
|
|
4206
4206
|
}),
|
|
@@ -4211,8 +4211,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4211
4211
|
[ge, a.value]
|
|
4212
4212
|
]),
|
|
4213
4213
|
me(L("div", wl, [
|
|
4214
|
-
(m(!0), S(
|
|
4215
|
-
var U,
|
|
4214
|
+
(m(!0), S(ce, null, oe(u.value, (x) => {
|
|
4215
|
+
var U, $;
|
|
4216
4216
|
return m(), S("div", {
|
|
4217
4217
|
key: x.value,
|
|
4218
4218
|
class: "kong-ui-entity-filter-menu-item",
|
|
@@ -4222,10 +4222,10 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4222
4222
|
class: fe(["menu-item-title", { expanded: l.value.has(x.value) }]),
|
|
4223
4223
|
role: "button",
|
|
4224
4224
|
tabindex: "0",
|
|
4225
|
-
onClick: (A) =>
|
|
4226
|
-
onKeydown: Rn((A) =>
|
|
4225
|
+
onClick: (A) => c(x.value),
|
|
4226
|
+
onKeydown: Rn((A) => c(x.value), ["enter"])
|
|
4227
4227
|
}, [
|
|
4228
|
-
V(
|
|
4228
|
+
V(O(x.label) + " ", 1),
|
|
4229
4229
|
me(L("span", Il, null, 512), [
|
|
4230
4230
|
[ge, s.value.includes(x.value)]
|
|
4231
4231
|
]),
|
|
@@ -4238,8 +4238,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4238
4238
|
L("label", {
|
|
4239
4239
|
class: "menu-item-label",
|
|
4240
4240
|
for: y(x.value)
|
|
4241
|
-
},
|
|
4242
|
-
((
|
|
4241
|
+
}, O(T(n)("filter.fieldLabel")), 9, Tl),
|
|
4242
|
+
(($ = (U = e.config.schema) == null ? void 0 : U[x.value]) == null ? void 0 : $.type) === "select" ? (m(), M(F, {
|
|
4243
4243
|
key: 0,
|
|
4244
4244
|
id: y(x.value),
|
|
4245
4245
|
modelValue: o.value[x.value],
|
|
@@ -4258,7 +4258,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4258
4258
|
], 512), [
|
|
4259
4259
|
[ge, l.value.has(x.value)]
|
|
4260
4260
|
]),
|
|
4261
|
-
me(L("div",
|
|
4261
|
+
me(L("div", $l, [
|
|
4262
4262
|
B(E, {
|
|
4263
4263
|
appearance: "tertiary",
|
|
4264
4264
|
"data-testid": "apply-filter",
|
|
@@ -4266,7 +4266,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4266
4266
|
onClick: I[0] || (I[0] = (A) => Z(!0))
|
|
4267
4267
|
}, {
|
|
4268
4268
|
default: b(() => [
|
|
4269
|
-
V(
|
|
4269
|
+
V(O(T(n)("filter.applyButtonText")), 1)
|
|
4270
4270
|
]),
|
|
4271
4271
|
_: 1
|
|
4272
4272
|
}),
|
|
@@ -4277,7 +4277,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4277
4277
|
onClick: (A) => N(x.value)
|
|
4278
4278
|
}, {
|
|
4279
4279
|
default: b(() => [
|
|
4280
|
-
V(
|
|
4280
|
+
V(O(T(n)("filter.clearButtonText")), 1)
|
|
4281
4281
|
]),
|
|
4282
4282
|
_: 2
|
|
4283
4283
|
}, 1032, ["onClick"])
|
|
@@ -4286,14 +4286,14 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4286
4286
|
])
|
|
4287
4287
|
], 8, Al);
|
|
4288
4288
|
}), 128)),
|
|
4289
|
-
L("div",
|
|
4289
|
+
L("div", Fl, [
|
|
4290
4290
|
B(E, {
|
|
4291
4291
|
appearance: "tertiary",
|
|
4292
4292
|
size: "small",
|
|
4293
4293
|
onClick: w
|
|
4294
4294
|
}, {
|
|
4295
4295
|
default: b(() => [
|
|
4296
|
-
V(
|
|
4296
|
+
V(O(T(n)("filter.clearAllButtonText")), 1)
|
|
4297
4297
|
]),
|
|
4298
4298
|
_: 1
|
|
4299
4299
|
})
|
|
@@ -4304,7 +4304,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4304
4304
|
]));
|
|
4305
4305
|
};
|
|
4306
4306
|
}
|
|
4307
|
-
}), is = /* @__PURE__ */ ae(
|
|
4307
|
+
}), is = /* @__PURE__ */ ae(Ol, [["__scopeId", "data-v-94990087"]]), as = /* @__PURE__ */ P({
|
|
4308
4308
|
__name: "EntityToggleModal",
|
|
4309
4309
|
props: {
|
|
4310
4310
|
visible: {
|
|
@@ -4340,19 +4340,19 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4340
4340
|
() => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
|
|
4341
4341
|
), s = k(
|
|
4342
4342
|
() => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
|
|
4343
|
-
),
|
|
4343
|
+
), u = () => a("cancel"), d = async () => {
|
|
4344
4344
|
if (i.onConfirm) {
|
|
4345
4345
|
o.value = !0;
|
|
4346
4346
|
try {
|
|
4347
4347
|
await i.onConfirm(), a("proceed");
|
|
4348
|
-
} catch (
|
|
4349
|
-
console.error(
|
|
4348
|
+
} catch (c) {
|
|
4349
|
+
console.error(c);
|
|
4350
4350
|
} finally {
|
|
4351
4351
|
o.value = !1;
|
|
4352
4352
|
}
|
|
4353
4353
|
}
|
|
4354
4354
|
};
|
|
4355
|
-
return (
|
|
4355
|
+
return (c, g) => {
|
|
4356
4356
|
const p = K("KPrompt");
|
|
4357
4357
|
return m(), M(Mn, { to: "body" }, [
|
|
4358
4358
|
B(p, {
|
|
@@ -4361,7 +4361,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4361
4361
|
"data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
|
|
4362
4362
|
title: l.value,
|
|
4363
4363
|
visible: e.visible,
|
|
4364
|
-
onCancel:
|
|
4364
|
+
onCancel: u,
|
|
4365
4365
|
onProceed: d
|
|
4366
4366
|
}, {
|
|
4367
4367
|
default: b(() => [
|
|
@@ -4370,10 +4370,10 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4370
4370
|
scope: "global"
|
|
4371
4371
|
}, {
|
|
4372
4372
|
entityType: b(() => [
|
|
4373
|
-
V(
|
|
4373
|
+
V(O(e.entityType), 1)
|
|
4374
4374
|
]),
|
|
4375
4375
|
entityName: b(() => [
|
|
4376
|
-
L("strong", null,
|
|
4376
|
+
L("strong", null, O(e.entityName), 1)
|
|
4377
4377
|
]),
|
|
4378
4378
|
_: 1
|
|
4379
4379
|
}, 8, ["keypath"])
|
|
@@ -4427,12 +4427,12 @@ for (let e = 0; e < 256; ++e)
|
|
|
4427
4427
|
function Bl(e, t = 0) {
|
|
4428
4428
|
return Q[e[t + 0]] + Q[e[t + 1]] + Q[e[t + 2]] + Q[e[t + 3]] + "-" + Q[e[t + 4]] + Q[e[t + 5]] + "-" + Q[e[t + 6]] + Q[e[t + 7]] + "-" + Q[e[t + 8]] + Q[e[t + 9]] + "-" + Q[e[t + 10]] + Q[e[t + 11]] + Q[e[t + 12]] + Q[e[t + 13]] + Q[e[t + 14]] + Q[e[t + 15]];
|
|
4429
4429
|
}
|
|
4430
|
-
const Rl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
4430
|
+
const Rl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ft = {
|
|
4431
4431
|
randomUUID: Rl
|
|
4432
4432
|
};
|
|
4433
4433
|
function Ml(e, t, n) {
|
|
4434
|
-
if (
|
|
4435
|
-
return
|
|
4434
|
+
if (Ft.randomUUID && !t && !e)
|
|
4435
|
+
return Ft.randomUUID();
|
|
4436
4436
|
e = e || {};
|
|
4437
4437
|
const r = e.random || (e.rng || Nl)();
|
|
4438
4438
|
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
|
|
@@ -4495,13 +4495,13 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4495
4495
|
class: "form-section-title"
|
|
4496
4496
|
}, {
|
|
4497
4497
|
default: b(() => [
|
|
4498
|
-
V(
|
|
4498
|
+
V(O(e.title), 1)
|
|
4499
4499
|
]),
|
|
4500
4500
|
_: 1
|
|
4501
4501
|
}, 8, ["id"])) : D("", !0),
|
|
4502
4502
|
e.description || T(t).description ? (m(), S("div", Ul, [
|
|
4503
4503
|
z(r.$slots, "description", {}, () => [
|
|
4504
|
-
L("p", null,
|
|
4504
|
+
L("p", null, O(e.description), 1)
|
|
4505
4505
|
], !0)
|
|
4506
4506
|
])) : D("", !0),
|
|
4507
4507
|
T(t).footer ? (m(), S("div", jl, [
|
|
@@ -4545,20 +4545,20 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4545
4545
|
},
|
|
4546
4546
|
setup(e) {
|
|
4547
4547
|
const t = e, n = R(), { isTruncated: r } = Y.useTruncationDetector(n), { i18n: { t: i } } = Y.useI18n(), a = i("global.actions.copyId"), o = R(a), l = k(() => t.entityLinkData.deleted ?? !1), s = k(() => {
|
|
4548
|
-
var
|
|
4549
|
-
return (
|
|
4550
|
-
}),
|
|
4551
|
-
var
|
|
4552
|
-
return `${(
|
|
4553
|
-
}), d = async (
|
|
4554
|
-
await
|
|
4548
|
+
var c;
|
|
4549
|
+
return (c = t.entityLinkData.id) != null && c.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
|
|
4550
|
+
}), u = k(() => {
|
|
4551
|
+
var c;
|
|
4552
|
+
return `${(c = s.value) == null ? void 0 : c.toString().slice(0, 5)} (deleted)`;
|
|
4553
|
+
}), d = async (c) => {
|
|
4554
|
+
await c(s.value || "") && (o.value = i("global.actions.copyToClipboard"), setTimeout(() => {
|
|
4555
4555
|
o.value = a;
|
|
4556
4556
|
}, 1800));
|
|
4557
4557
|
};
|
|
4558
|
-
return (
|
|
4558
|
+
return (c, g) => {
|
|
4559
4559
|
const p = K("KTooltip"), y = K("KExternalLink"), v = K("KClipboardProvider");
|
|
4560
4560
|
return m(), S("div", Hl, [
|
|
4561
|
-
l.value ? (m(), S("div", Vl,
|
|
4561
|
+
l.value ? (m(), S("div", Vl, O(u.value), 1)) : s.value ? s.value ? (m(), M(y, {
|
|
4562
4562
|
key: 2,
|
|
4563
4563
|
class: "entity-link",
|
|
4564
4564
|
"hide-icon": !e.newWindow,
|
|
@@ -4574,13 +4574,13 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4574
4574
|
ref_key: "textContent",
|
|
4575
4575
|
ref: n,
|
|
4576
4576
|
class: "entity-link-label"
|
|
4577
|
-
},
|
|
4577
|
+
}, O(e.entityLinkData.label), 513)
|
|
4578
4578
|
]),
|
|
4579
4579
|
_: 1
|
|
4580
4580
|
}, 8, ["text"])
|
|
4581
4581
|
]),
|
|
4582
4582
|
_: 1
|
|
4583
|
-
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (m(), S("div", zl,
|
|
4583
|
+
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (m(), S("div", zl, O(" – "))),
|
|
4584
4584
|
s.value && e.allowCopy ? (m(), M(p, {
|
|
4585
4585
|
key: o.value,
|
|
4586
4586
|
class: "copy-uuid-tooltip",
|
|
@@ -4611,7 +4611,7 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4611
4611
|
]);
|
|
4612
4612
|
};
|
|
4613
4613
|
}
|
|
4614
|
-
}), ss = /* @__PURE__ */ ae(Wl, [["__scopeId", "data-v-be5bda4c"]]), { useAxios:
|
|
4614
|
+
}), ss = /* @__PURE__ */ ae(Wl, [["__scopeId", "data-v-be5bda4c"]]), { useAxios: cs, useDeleteUrlBuilder: us, useErrors: ds, useExternalLinkCreator: fs, useFetchUrlBuilder: ps, useFetcher: hs, useDebouncedFilter: ms, useStringHelpers: gs, useHelpers: ys, useGatewayFeatureSupported: vs, useTruncationDetector: bs, useValidators: xs } = Y;
|
|
4615
4615
|
export {
|
|
4616
4616
|
yo as ConfigCardDisplay,
|
|
4617
4617
|
Dt as ConfigCardItem,
|
|
@@ -4632,9 +4632,9 @@ export {
|
|
|
4632
4632
|
Ut as JsonCodeBlock,
|
|
4633
4633
|
os as PermissionsWrapper,
|
|
4634
4634
|
Tn as YamlCodeBlock,
|
|
4635
|
-
|
|
4635
|
+
cs as useAxios,
|
|
4636
4636
|
ms as useDebouncedFilter,
|
|
4637
|
-
|
|
4637
|
+
us as useDeleteUrlBuilder,
|
|
4638
4638
|
ds as useErrors,
|
|
4639
4639
|
fs as useExternalLinkCreator,
|
|
4640
4640
|
ps as useFetchUrlBuilder,
|