@kong-ui-public/entities-shared 3.4.2-pr.1430.f58edae3.0 → 3.4.2
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 +227 -227
- package/dist/entities-shared.umd.js +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
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 I, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment 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 I, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as ue, 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";
|
|
@@ -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 c = a.filter((u) => u === s).length, d = o.filter((u) => u === s).length;
|
|
210
|
+
if (c !== 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], c = l[a] === void 0 || l[a] === null ? "" : l[a];
|
|
242
|
+
return Array.isArray(o[a]) && (s = o[a][0]), Array.isArray(l[a]) && (c = l[a][0]), s.localeCompare(c);
|
|
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 W(h);
|
|
254
|
-
}, 200), s = R(!1),
|
|
254
|
+
}, 200), s = R(!1), c = R(""), d = R(""), u = 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] : [], u.value = g.value;
|
|
262
262
|
} catch {
|
|
263
|
-
|
|
263
|
+
u.value = [], c.value = a("debouncedFilter.errors.fetch");
|
|
264
264
|
} finally {
|
|
265
265
|
s.value = !1;
|
|
266
266
|
}
|
|
@@ -269,11 +269,11 @@ 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,
|
|
272
|
+
if (s.value = !0, c.value = "", d.value = "", e.app === "konnect") {
|
|
273
273
|
let F = v + "";
|
|
274
274
|
h && (F += `/${h}`);
|
|
275
275
|
const { data: x } = await i.get(`${F}?size=${n}`);
|
|
276
|
-
r.fetchedItemsKey in x ?
|
|
276
|
+
r.fetchedItemsKey in x ? u.value = x[r.fetchedItemsKey] : x != null && x.id ? u.value = [x] : u.value = [];
|
|
277
277
|
} else if (h) {
|
|
278
278
|
const F = [];
|
|
279
279
|
_(h) && r.searchKeys.includes("id") ? F.push((async () => {
|
|
@@ -286,21 +286,21 @@ function ar(e, t, n, r = {
|
|
|
286
286
|
})
|
|
287
287
|
);
|
|
288
288
|
const x = await Promise.all(F), U = /* @__PURE__ */ new Set();
|
|
289
|
-
|
|
289
|
+
u.value = [], (E = x == null ? void 0 : x.forEach) == null || E.call(x, ($) => {
|
|
290
290
|
var S;
|
|
291
291
|
(S = $ == null ? void 0 : $.forEach) == null || S.call($, (q) => {
|
|
292
|
-
U.has(q.id) || (U.add(q.id),
|
|
292
|
+
U.has(q.id) || (U.add(q.id), u.value.push(q));
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
} else
|
|
296
|
-
|
|
296
|
+
u.value = g.value;
|
|
297
297
|
} catch (F) {
|
|
298
|
-
((f = F == null ? void 0 : F.response) == null ? void 0 : f.status) === 404 ? d.value = a("debouncedFilter.errors.invalid") : (
|
|
298
|
+
((f = F == null ? void 0 : F.response) == null ? void 0 : f.status) === 404 ? d.value = a("debouncedFilter.errors.invalid") : (u.value = [], c.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 ? (u.value = (A = p.value) == null ? void 0 : A.filter((F) => {
|
|
304
304
|
var U;
|
|
305
305
|
let x = !1;
|
|
306
306
|
for (const $ of r.searchKeys) {
|
|
@@ -308,13 +308,13 @@ function ar(e, t, n, r = {
|
|
|
308
308
|
S != null && S.includes(h.toLowerCase()) && (x = !0);
|
|
309
309
|
}
|
|
310
310
|
return x;
|
|
311
|
-
}), (!
|
|
311
|
+
}), (!u.value || !u.value.length) && (d.value = a("debouncedFilter.errors.invalid"))) : u.value = p.value, s.value = !1;
|
|
312
312
|
};
|
|
313
313
|
return {
|
|
314
314
|
loading: s,
|
|
315
|
-
error:
|
|
315
|
+
error: c,
|
|
316
316
|
validationError: d,
|
|
317
|
-
results:
|
|
317
|
+
results: u,
|
|
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: c, sortColumnKey: d, sortColumnOrder: u, 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), u === "desc" && p.searchParams.append("sort_desc", "1"), p.searchParams.append("size", String(s))), c && l !== 1 && p.searchParams.append("offset", String(c)), 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 ur(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 c;
|
|
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 u = await i.get(d);
|
|
399
|
+
if (u.status >= 400)
|
|
400
|
+
throw u;
|
|
401
|
+
const g = u.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 cr(e, t, n = "data") {
|
|
|
415
415
|
response: v
|
|
416
416
|
}, v;
|
|
417
417
|
} catch (d) {
|
|
418
|
-
const
|
|
418
|
+
const u = {
|
|
419
419
|
data: [],
|
|
420
420
|
total: 0
|
|
421
421
|
};
|
|
422
|
-
return s.query && (((
|
|
422
|
+
return s.query && (((c = d.response) == null ? void 0 : c.status) === 404 || d.status === 404) ? (o.value = {
|
|
423
423
|
status: be.NoResults,
|
|
424
|
-
response:
|
|
424
|
+
response: u,
|
|
425
425
|
error: d.response ? d : { response: d }
|
|
426
|
-
},
|
|
426
|
+
}, u) : (o.value = {
|
|
427
427
|
status: be.Error,
|
|
428
|
-
response:
|
|
428
|
+
response: u,
|
|
429
429
|
error: d.response ? d : { response: d }
|
|
430
|
-
},
|
|
430
|
+
}, u);
|
|
431
431
|
}
|
|
432
432
|
}, fetcherState: o };
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function cr() {
|
|
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, ut = (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
|
+
}, ct = (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 (ct(e) || ct(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 = ut(e), r = ut(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: ur,
|
|
517
517
|
useFetchUrlBuilder: Bt,
|
|
518
518
|
useHelpers: Nt,
|
|
519
|
-
useStringHelpers:
|
|
519
|
+
useStringHelpers: cr,
|
|
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, c) => (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(), I("legend", br, [
|
|
556
556
|
L("b", null, O(l.value), 1)
|
|
557
557
|
])) : D("", !0),
|
|
558
|
-
(m(!0), I(
|
|
559
|
-
key: `${i.value}-property-${
|
|
558
|
+
(m(!0), I(ue, null, oe(Object.keys(o.value), (d, u) => (m(), M(Dt, {
|
|
559
|
+
key: `${i.value}-property-${u}`,
|
|
560
560
|
item: {
|
|
561
561
|
key: d,
|
|
562
562
|
label: T(r)(d),
|
|
@@ -646,11 +646,11 @@ const Y = {
|
|
|
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": c.value && l.value ? "block" : "flex",
|
|
650
|
+
"29318fbe": c.value && l.value ? "100%" : n.slim ? "50%" : "25%",
|
|
651
|
+
"292d0408": c.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"])), c = k(() => n.item.type === H.Json || n.item.type === H.JsonArray), d = k(() => n.item.type === H.JsonArray), u = k(() => {
|
|
654
654
|
switch (n.item.type) {
|
|
655
655
|
case H.ID:
|
|
656
656
|
return {
|
|
@@ -799,13 +799,13 @@ const Y = {
|
|
|
799
799
|
rowValue: e.item.value
|
|
800
800
|
}, () => [
|
|
801
801
|
l.value ? (m(), I("div", Rr, [
|
|
802
|
-
(m(), M(se(
|
|
802
|
+
(m(), M(se(u.value.tag), Fn(On(u.value.attrs)), {
|
|
803
803
|
default: b(() => [
|
|
804
|
-
|
|
804
|
+
u.value.additionalComponent === "KBadge" ? (m(), I("div", {
|
|
805
805
|
key: 0,
|
|
806
806
|
"data-testid": `${e.item.key}-badge-tags`
|
|
807
807
|
}, [
|
|
808
|
-
(m(!0), I(
|
|
808
|
+
(m(!0), I(ue, null, oe(e.item.value, (h, E) => (m(), M(N, {
|
|
809
809
|
key: `${e.item.key}-badge-tag-${E}`,
|
|
810
810
|
class: "config-badge",
|
|
811
811
|
"data-testid": `${e.item.key}-badge-tag-${E}`,
|
|
@@ -818,22 +818,22 @@ const Y = {
|
|
|
818
818
|
_: 2
|
|
819
819
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
820
820
|
], 8, Mr)) : D("", !0),
|
|
821
|
-
|
|
821
|
+
u.value.additionalComponent === "KCopy" ? (m(), I("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), I(
|
|
826
|
+
(m(!0), I(ue, null, oe(e.item.value, (h, E) => (m(), M(w, Ln({ ref_for: !0 }, u.value.childAttrs, {
|
|
827
827
|
key: `${e.item.key}-copy-uuid-${E}`,
|
|
828
828
|
"data-testid": `${e.item.key}-copy-uuid-${E}`,
|
|
829
829
|
text: h
|
|
830
830
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
831
|
-
], 8, Kr)) :
|
|
831
|
+
], 8, Kr)) : u.value.additionalComponent === "KMethodBadge" ? (m(), I("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), I(
|
|
836
|
+
(m(!0), I(ue, null, oe(e.item.value, (h, E) => (m(), M(N, {
|
|
837
837
|
key: `${e.item.key}-badge-method-${E}`,
|
|
838
838
|
appearance: Object.values(T(Un)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
|
|
839
839
|
class: "config-badge",
|
|
@@ -845,11 +845,11 @@ const Y = {
|
|
|
845
845
|
_: 2
|
|
846
846
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
847
847
|
], 8, Dr)) : D("", !0),
|
|
848
|
-
|
|
848
|
+
u.value.additionalComponent === "JsonCardItem" ? (m(), I("div", {
|
|
849
849
|
key: 3,
|
|
850
850
|
"data-testid": `${n.item.key}-json-array-content`
|
|
851
851
|
}, [
|
|
852
|
-
(m(!0), I(
|
|
852
|
+
(m(!0), I(ue, null, oe(e.item.value, (h, E) => (m(), M(Kt, {
|
|
853
853
|
key: `json-array-item-${E}`,
|
|
854
854
|
index: E,
|
|
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
|
-
}, O(
|
|
867
|
+
}, O(u.value.text), 3)
|
|
868
868
|
]),
|
|
869
869
|
_: 1
|
|
870
870
|
}, 8, ["text"]))
|
|
@@ -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, c, d = Math.min(e.line + t.linesAfter, i.length).toString().length, u = t.maxLength - (t.indent + d + 3);
|
|
1024
1024
|
for (s = 1; s <= t.linesBefore && !(o - s < 0); s++)
|
|
1025
|
-
|
|
1025
|
+
c = 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 = Z.repeat(" ", t.indent) + Ve((e.line - s + 1).toString(), d) + " | " +
|
|
1030
|
+
u
|
|
1031
|
+
), l = Z.repeat(" ", t.indent) + Ve((e.line - s + 1).toString(), d) + " | " + c.str + `
|
|
1032
1032
|
` + l;
|
|
1033
|
-
for (
|
|
1034
|
-
`, l += Z.repeat("-", t.indent + d + 3 +
|
|
1033
|
+
for (c = He(e.buffer, r[o], i[o], e.position, u), l += Z.repeat(" ", t.indent) + Ve((e.line + 1).toString(), d) + " | " + c.str + `
|
|
1034
|
+
`, l += Z.repeat("-", t.indent + d + 3 + c.pos) + `^
|
|
1035
1035
|
`, s = 1; s <= t.linesAfter && !(o + s >= i.length); s++)
|
|
1036
|
-
|
|
1036
|
+
c = 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 += Z.repeat(" ", t.indent) + Ve((e.line + s + 1).toString(), d) + " | " +
|
|
1041
|
+
u
|
|
1042
|
+
), l += Z.repeat(" ", t.indent) + Ve((e.line + s + 1).toString(), d) + " | " + c.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 ui(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 ci() {
|
|
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: ui,
|
|
1175
|
+
construct: ci,
|
|
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, c = null, d, u, 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], u = +(t[11] || 0), c = (d * 60 + u) * 6e4, t[9] === "-" && (c = -c)), g = new Date(Date.UTC(n, r, i, a, o, l, s)), c && g.setTime(g.getTime() - c), g;
|
|
1410
1410
|
}
|
|
1411
1411
|
function Ti(e) {
|
|
1412
1412
|
return e.toISOString();
|
|
@@ -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, un = 2, cn = 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 c, 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), c = 0, d = i.length; c < d; c += 1)
|
|
1639
|
+
Array.isArray(i[c]) && C(e, "nested arrays are not supported inside keys"), typeof i == "object" && yt(i[c]) === "[object Object]" && (i[c] = "[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 (c = 0, d = a.length; c < d; c += 1)
|
|
1643
|
+
xt(e, t, a[c], 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, c, d, u = 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, c = e.lineStart, d = e.lineIndent, J(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 = c, 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 = u, 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, c, d, u, 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 (J(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, u = g = !1, w === 63 && (c = e.input.charCodeAt(e.position + 1), ne(c) && (u = g = !0, e.position++, J(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, we(e, t, Re, !1, !0), _ = e.tag, v = e.result, J(e, !0, t), w = e.input.charCodeAt(e.position), (g || e.line === r) && w === 58 && (u = !0, w = e.input.charCodeAt(++e.position), J(e, !0, t), we(e, t, Re, !1, !0), N = e.result), p ? ke(e, l, y, _, v, N, r, i, a) : u ? l.push(ke(e, null, y, _, v, N, r, i, a)) : l.push(v), J(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, c = !1, d, u;
|
|
1765
|
+
if (u = e.input.charCodeAt(e.position), u === 124)
|
|
1766
1766
|
r = !1;
|
|
1767
|
-
else if (
|
|
1767
|
+
else if (u === 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 = ""; u !== 0; )
|
|
1772
|
+
if (u = e.input.charCodeAt(++e.position), u === 43 || u === 45)
|
|
1773
|
+
ze === i ? i = u === 43 ? gt : Vi : C(e, "repeat of a chomping mode identifier");
|
|
1774
|
+
else if ((d = Zi(u)) >= 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(u)) {
|
|
1779
1779
|
do
|
|
1780
|
-
|
|
1781
|
-
while (ye(
|
|
1782
|
-
if (
|
|
1780
|
+
u = e.input.charCodeAt(++e.position);
|
|
1781
|
+
while (ye(u));
|
|
1782
|
+
if (u === 35)
|
|
1783
1783
|
do
|
|
1784
|
-
|
|
1785
|
-
while (!le(
|
|
1784
|
+
u = e.input.charCodeAt(++e.position);
|
|
1785
|
+
while (!le(u) && u !== 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 (; u !== 0; ) {
|
|
1788
|
+
for (rt(e), e.lineIndent = 0, u = e.input.charCodeAt(e.position); (!o || e.lineIndent < l) && u === 32; )
|
|
1789
|
+
e.lineIndent++, u = e.input.charCodeAt(++e.position);
|
|
1790
|
+
if (!o && e.lineIndent > l && (l = e.lineIndent), le(u)) {
|
|
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(u) ? (c = !0, e.result += Z.repeat(`
|
|
1801
|
+
`, a ? 1 + s : s)) : c ? (c = !1, e.result += Z.repeat(`
|
|
1802
1802
|
`, s + 1)) : s === 0 ? a && (e.result += " ") : e.result += Z.repeat(`
|
|
1803
1803
|
`, s) : e.result += Z.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(u) && u !== 0; )
|
|
1805
|
+
u = 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, cn, !1, !0), a.push(e.result), J(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, c = e.tag, d = e.anchor, u = {}, 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] = u), 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, u, 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, un, !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, u, 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 = c, 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 = c, 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, u, g, p, y, v, o, l, s), p = y = v = null), J(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, u, g, p, y, null, o, l, s), N && (e.tag = c, e.anchor = d, e.kind = "mapping", e.result = u), 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], J(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, c = !1, d = !1, u, 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 || cn === n, r && J(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
|
|
1898
1898
|
for (; oa(e) || la(e); )
|
|
1899
|
-
J(e, !0, -1) ? (
|
|
1900
|
-
if (l && (l =
|
|
1899
|
+
J(e, !0, -1) ? (c = !0, l = a, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
|
|
1900
|
+
if (l && (l = c || i), (s === 1 || Me === n) && (Re === n || un === 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 + '"'), u = 0, g = e.implicitTypes.length; u < g; u += 1)
|
|
1904
|
+
if (y = e.implicitTypes[u], 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"], u = 0, g = p.length; u < g; u += 1)
|
|
1913
|
+
if (e.tag.slice(0, p[u].tag.length) === p[u].tag) {
|
|
1914
|
+
y = p[u];
|
|
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 ua(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 && (J(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
|
+
ua(n);
|
|
1960
1960
|
return n.documents;
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function ca(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,7 +1975,7 @@ 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 = ca, pa = da, yn = {
|
|
1979
1979
|
loadAll: fa,
|
|
1980
1980
|
load: pa
|
|
1981
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 = {};
|
|
@@ -2089,25 +2089,25 @@ 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, c = 0, d = null, u = !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; c >= 65536 ? s += 2 : s++) {
|
|
2095
|
+
if (c = $e(e, s), !Ne(c))
|
|
2096
2096
|
return xe;
|
|
2097
|
-
v = v && wt(
|
|
2097
|
+
v = v && wt(c, d, l), d = c;
|
|
2098
2098
|
}
|
|
2099
2099
|
else {
|
|
2100
|
-
for (s = 0; s < e.length;
|
|
2101
|
-
if (
|
|
2102
|
-
|
|
2100
|
+
for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
|
|
2101
|
+
if (c = $e(e, s), c === Oe)
|
|
2102
|
+
u = !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(c))
|
|
2105
2105
|
return xe;
|
|
2106
|
-
v = v && wt(
|
|
2106
|
+
v = v && wt(c, d, l), d = c;
|
|
2107
2107
|
}
|
|
2108
2108
|
g = g || p && s - y - 1 > r && e[y + 1] !== " ";
|
|
2109
2109
|
}
|
|
2110
|
-
return !
|
|
2110
|
+
return !u && !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() {
|
|
@@ -2116,8 +2116,8 @@ function Ua(e, t, n, r, i) {
|
|
|
2116
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(c) {
|
|
2120
|
+
return Ra(e, c);
|
|
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 c = e.indexOf(`
|
|
2162
2162
|
`);
|
|
2163
|
-
return
|
|
2163
|
+
return c = c !== -1 ? c : e.length, n.lastIndex = c, It(e.slice(0, c), 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];
|
|
@@ -2187,23 +2187,23 @@ function qa(e) {
|
|
|
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)), (ce(e, t, l, !1, !1) || typeof l > "u" && ce(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)), (ce(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && ce(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, c, 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], c = n[s], e.replacer && (c = e.replacer.call(n, s, c)), ce(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), ce(e, t, c, !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, c, d, u, 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)), c = o[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), ce(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Oe === e.dump.charCodeAt(0) ? g += "?" : g += "? "), g += e.dump, u && (g += Ge(e, t)), ce(e, t + 1, d, !0, u) && (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 ce(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, c;
|
|
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]", u, g;
|
|
2239
|
+
if (d && (u = e.duplicates.indexOf(n), g = u !== -1), (e.tag !== null && e.tag !== "?" || g || e.indent !== 2 && t > 0) && (i = !1), g && e.usedDuplicates[u])
|
|
2240
|
+
e.dump = "*ref_" + u;
|
|
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[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
|
|
2243
|
+
r && Object.keys(e.dump).length !== 0 ? (Va(e, t, e.dump, i), g && (e.dump = "&ref_" + u + e.dump)) : (Ha(e, t, e.dump), g && (e.dump = "&ref_" + u + " " + 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_" + u + e.dump)) : (Pa(e, t, e.dump), g && (e.dump = "&ref_" + u + " " + 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 ue(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 !== "?" && (c = 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] === "!" ? c = "!" + c : c.slice(0, 18) === "tag:yaml.org,2002:" ? c = "!!" + c.slice(18) : c = "!<" + c + ">", e.dump = c + " " + 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)), ce(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"), uo = ot("safeDump", "dump"), co = {
|
|
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: uo
|
|
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 ? "" : co.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(), I(
|
|
2403
|
+
return (o, l) => (m(), I(ue, null, [
|
|
2404
2404
|
e.format === "structured" ? (m(), I("div", po, [
|
|
2405
|
-
(m(!0), I(
|
|
2405
|
+
(m(!0), I(ue, null, oe(e.propListTypes, (s) => (m(), I("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
2410
|
s !== "basic" ? (m(), I("div", mo, O(s === "advanced" ? T(r)("baseConfigCard.sections.advanced") : T(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
|
|
2411
|
-
(m(!0), I(
|
|
2412
|
-
key:
|
|
2413
|
-
item:
|
|
2411
|
+
(m(!0), I(ue, null, oe(e.propertyCollections[s], (c) => (m(), M(Dt, {
|
|
2412
|
+
key: c.key,
|
|
2413
|
+
item: c
|
|
2414
2414
|
}, _e({
|
|
2415
2415
|
label: b(() => [
|
|
2416
|
-
z(o.$slots, `${
|
|
2416
|
+
z(o.$slots, `${c.key}-label`, { row: c }, void 0, !0)
|
|
2417
2417
|
]),
|
|
2418
|
-
[
|
|
2419
|
-
z(o.$slots,
|
|
2420
|
-
row:
|
|
2418
|
+
[c.key]: b(({ rowValue: d }) => [
|
|
2419
|
+
z(o.$slots, c.key, {
|
|
2420
|
+
row: c,
|
|
2421
2421
|
rowValue: d
|
|
2422
2422
|
}, void 0, !0)
|
|
2423
2423
|
]),
|
|
2424
2424
|
_: 2
|
|
2425
2425
|
}, [
|
|
2426
|
-
i(
|
|
2426
|
+
i(c) ? {
|
|
2427
2427
|
name: "label-tooltip",
|
|
2428
2428
|
fn: b(() => [
|
|
2429
|
-
z(o.$slots, `${
|
|
2429
|
+
z(o.$slots, `${c.key}-label-tooltip`, { row: c }, 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-761db460"), 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", {
|
|
@@ -2550,7 +2550,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-761db460"]]), wo = (e) => (Ie("data-v-3f475560"), 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", {
|
|
@@ -2649,7 +2649,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-3f475560"]]), $o = (e) => (Ie("data-v-2ed96942"), e = e(), Ee(), e), Fo = ["aria-hidden"], Oo = {
|
|
2653
2653
|
key: 0,
|
|
2654
2654
|
"data-testid": "kui-icon-svg-title"
|
|
2655
2655
|
}, Lo = /* @__PURE__ */ $o(() => /* @__PURE__ */ L("path", {
|
|
@@ -2748,7 +2748,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-2ed96942"]]), Ro = (e) => (Ie("data-v-fcdd3e2c"), 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", {
|
|
@@ -2847,7 +2847,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-fcdd3e2c"]]), qo = (e) => (Ie("data-v-746e2141"), 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", {
|
|
@@ -2946,7 +2946,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-746e2141"]]), Wo = (e) => (Ie("data-v-96be1ab3"), 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", {
|
|
@@ -3045,7 +3045,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
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-96be1ab3"]]), 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
|
+
], c = R("structured"), d = (f) => {
|
|
3145
|
+
c.value = f == null ? void 0 : f.value;
|
|
3146
|
+
}, u = {
|
|
3147
3147
|
id: {
|
|
3148
3148
|
type: H.ID,
|
|
3149
3149
|
label: i("baseConfigCard.commonFields.id_label"),
|
|
@@ -3183,7 +3183,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3183
3183
|
return [];
|
|
3184
3184
|
const f = [], A = Object.keys(v.value).length;
|
|
3185
3185
|
for (const $ in v.value) {
|
|
3186
|
-
const S = (x = (F = r.configSchema) == null ? void 0 : F[$]) == null ? void 0 : x.order, q = (U =
|
|
3186
|
+
const S = (x = (F = r.configSchema) == null ? void 0 : F[$]) == null ? void 0 : x.order, q = (U = u[$]) == null ? void 0 : U.order;
|
|
3187
3187
|
let j = A;
|
|
3188
3188
|
(q || q === 0) && (j = q === -1 ? A + 1 : q), S && (j = S === -1 ? A + 1 : S), f.push([$, j]);
|
|
3189
3189
|
}
|
|
@@ -3191,7 +3191,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3191
3191
|
return $[1] - S[1];
|
|
3192
3192
|
}), f.map(($) => {
|
|
3193
3193
|
var he, lt;
|
|
3194
|
-
const S = $[0], q = (he = v.value) == null ? void 0 : he[S], j = ((lt = r.configSchema) == null ? void 0 : lt[S]) || {}, G =
|
|
3194
|
+
const S = $[0], q = (he = v.value) == null ? void 0 : he[S], j = ((lt = r.configSchema) == null ? void 0 : lt[S]) || {}, G = u[S];
|
|
3195
3195
|
return {
|
|
3196
3196
|
key: S,
|
|
3197
3197
|
value: q,
|
|
@@ -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: c.value,
|
|
3330
3330
|
"prop-list-types": W.value,
|
|
3331
3331
|
"property-collections": w.value,
|
|
3332
3332
|
record: v.value
|
|
@@ -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 W;
|
|
3434
|
-
const n = t, r = e, i = jn(), { i18n: { t: a } } = Y.useI18n(), { getMessageFromError: o } = Y.useErrors(), { axiosInstance: l } = Y.useAxios((W = r.config) == null ? void 0 : W.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((W = r.config) == null ? void 0 : W.axiosRequestConfig), s = R(!1), c = R(!1), d = R(""), u = k(() => r.canSubmit === !1 || r.isReadonly), g = R(!1), p = k(() => {
|
|
3435
3435
|
var E, f;
|
|
3436
3436
|
let h = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3437
3437
|
return r.config.app === "konnect" ? h = h.replace(/{controlPlaneId}/gi, ((E = r.config) == null ? void 0 : E.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
|
+
u.value || n("submit");
|
|
3446
3446
|
}, w = R([
|
|
3447
3447
|
{
|
|
3448
3448
|
title: a("baseForm.configuration.yaml"),
|
|
@@ -3458,12 +3458,12 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3458
3458
|
}, { immediate: !0 }), Lt(async () => {
|
|
3459
3459
|
if (r.editId)
|
|
3460
3460
|
try {
|
|
3461
|
-
|
|
3461
|
+
c.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 E = o(h);
|
|
3466
|
-
d.value = E.startsWith("code") ? a("baseForm.errors.edit") : E,
|
|
3466
|
+
d.value = E.startsWith("code") ? a("baseForm.errors.edit") : E, c.value = !0, n("fetch:error", h);
|
|
3467
3467
|
} finally {
|
|
3468
3468
|
s.value = !1;
|
|
3469
3469
|
}
|
|
@@ -3474,7 +3474,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3474
3474
|
s.value ? (m(), M(f, {
|
|
3475
3475
|
key: 0,
|
|
3476
3476
|
type: "form"
|
|
3477
|
-
})) :
|
|
3477
|
+
})) : c.value ? (m(), M(A, {
|
|
3478
3478
|
key: 1,
|
|
3479
3479
|
"action-button-text": T(a)("baseForm.actions.back"),
|
|
3480
3480
|
"data-testid": "form-fetch-error",
|
|
@@ -3525,7 +3525,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3525
3525
|
B(x, {
|
|
3526
3526
|
appearance: "primary",
|
|
3527
3527
|
"data-testid": "form-submit",
|
|
3528
|
-
disabled:
|
|
3528
|
+
disabled: u.value,
|
|
3529
3529
|
type: "submit"
|
|
3530
3530
|
}, {
|
|
3531
3531
|
default: b(() => [
|
|
@@ -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"], ul = /* @__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, u.value = _, g.value = ((W = c.value) == null ? void 0 : W.innerText) || "";
|
|
3616
|
+
}, c = R({}), d = R(0), u = 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 > u.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(), I("span", {
|
|
3638
3638
|
ref_key: "contentRef",
|
|
3639
|
-
ref:
|
|
3639
|
+
ref: c,
|
|
3640
3640
|
class: "content-wrapper"
|
|
3641
3641
|
}, [
|
|
3642
3642
|
a.value ? (m(), I("span", {
|
|
@@ -3657,7 +3657,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3657
3657
|
], 512);
|
|
3658
3658
|
};
|
|
3659
3659
|
}
|
|
3660
|
-
}),
|
|
3660
|
+
}), cl = /* @__PURE__ */ ae(ul, [["__scopeId", "data-v-b252463e"]]), dl = { class: "toolbar-container" }, fl = {
|
|
3661
3661
|
key: 0,
|
|
3662
3662
|
class: "toolbar-button-container"
|
|
3663
3663
|
}, pl = ["data-testid"], hl = /* @__PURE__ */ P({
|
|
@@ -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
|
+
}), c = (f) => ({
|
|
3807
3807
|
"data-rowid": f.id,
|
|
3808
3808
|
"data-testid": f.name,
|
|
3809
3809
|
...n.rowAttributes(f)
|
|
3810
|
-
}), d = R({}),
|
|
3810
|
+
}), d = R({}), u = (f) => {
|
|
3811
3811
|
var A;
|
|
3812
3812
|
return (A = d.value) == null ? void 0 : A.$el.querySelector(`[data-rowid="${f.id}"]`);
|
|
3813
3813
|
}, g = (f) => {
|
|
@@ -3870,7 +3870,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3870
3870
|
loading: e.isLoading,
|
|
3871
3871
|
"pagination-offset": e.paginationType === "offset",
|
|
3872
3872
|
"resize-columns": "",
|
|
3873
|
-
"row-attrs":
|
|
3873
|
+
"row-attrs": c,
|
|
3874
3874
|
"search-input": e.query,
|
|
3875
3875
|
"sort-handler-function": e.enableClientSort ? e.sortHandlerFunction : void 0,
|
|
3876
3876
|
sortable: !e.disableSorting,
|
|
@@ -3929,9 +3929,9 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
3929
3929
|
oe(e.tableHeaders, (S, q) => ({
|
|
3930
3930
|
name: q,
|
|
3931
3931
|
fn: b(({ row: j, rowKey: G, rowValue: he }) => [
|
|
3932
|
-
B(
|
|
3932
|
+
B(cl, {
|
|
3933
3933
|
"key-name": String(q),
|
|
3934
|
-
"row-el":
|
|
3934
|
+
"row-el": u(j),
|
|
3935
3935
|
tooltip: S.tooltip
|
|
3936
3936
|
}, {
|
|
3937
3937
|
default: b(() => [
|
|
@@ -4010,9 +4010,9 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4010
4010
|
}, l = () => {
|
|
4011
4011
|
i("proceed");
|
|
4012
4012
|
};
|
|
4013
|
-
return (s,
|
|
4014
|
-
const d = K("KAlert"),
|
|
4015
|
-
return m(), M(
|
|
4013
|
+
return (s, c) => {
|
|
4014
|
+
const d = K("KAlert"), u = K("KPrompt");
|
|
4015
|
+
return m(), M(u, {
|
|
4016
4016
|
"action-button-appearance": "danger",
|
|
4017
4017
|
"action-button-disabled": e.actionPending,
|
|
4018
4018
|
"action-button-text": "Yes, delete",
|
|
@@ -4127,7 +4127,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4127
4127
|
return new URLSearchParams(r.modelValue).forEach((E, f) => {
|
|
4128
4128
|
E !== "" && h.push(f);
|
|
4129
4129
|
}), h;
|
|
4130
|
-
}),
|
|
4130
|
+
}), c = k(() => {
|
|
4131
4131
|
const h = r.config.fields;
|
|
4132
4132
|
return Object.keys(h).filter((E) => {
|
|
4133
4133
|
var f;
|
|
@@ -4145,7 +4145,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4145
4145
|
});
|
|
4146
4146
|
const d = () => {
|
|
4147
4147
|
a.value = !a.value;
|
|
4148
|
-
},
|
|
4148
|
+
}, u = (h) => {
|
|
4149
4149
|
l.value.has(h) ? l.value.delete(h) : l.value.add(h);
|
|
4150
4150
|
}, g = (h) => {
|
|
4151
4151
|
i("update:modelValue", h);
|
|
@@ -4213,7 +4213,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4213
4213
|
[ge, a.value]
|
|
4214
4214
|
]),
|
|
4215
4215
|
me(L("div", wl, [
|
|
4216
|
-
(m(!0), I(
|
|
4216
|
+
(m(!0), I(ue, null, oe(c.value, (x) => {
|
|
4217
4217
|
var U, $;
|
|
4218
4218
|
return m(), I("div", {
|
|
4219
4219
|
key: x.value,
|
|
@@ -4224,8 +4224,8 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4224
4224
|
class: fe(["menu-item-title", { expanded: l.value.has(x.value) }]),
|
|
4225
4225
|
role: "button",
|
|
4226
4226
|
tabindex: "0",
|
|
4227
|
-
onClick: (S) =>
|
|
4228
|
-
onKeydown: Rn((S) =>
|
|
4227
|
+
onClick: (S) => u(x.value),
|
|
4228
|
+
onKeydown: Rn((S) => u(x.value), ["enter"])
|
|
4229
4229
|
}, [
|
|
4230
4230
|
V(O(x.label) + " ", 1),
|
|
4231
4231
|
me(L("span", Il, null, 512), [
|
|
@@ -4342,19 +4342,19 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4342
4342
|
() => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
|
|
4343
4343
|
), s = k(
|
|
4344
4344
|
() => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
|
|
4345
|
-
),
|
|
4345
|
+
), c = () => a("cancel"), d = async () => {
|
|
4346
4346
|
if (i.onConfirm) {
|
|
4347
4347
|
o.value = !0;
|
|
4348
4348
|
try {
|
|
4349
4349
|
await i.onConfirm(), a("proceed");
|
|
4350
|
-
} catch (
|
|
4351
|
-
console.error(
|
|
4350
|
+
} catch (u) {
|
|
4351
|
+
console.error(u);
|
|
4352
4352
|
} finally {
|
|
4353
4353
|
o.value = !1;
|
|
4354
4354
|
}
|
|
4355
4355
|
}
|
|
4356
4356
|
};
|
|
4357
|
-
return (
|
|
4357
|
+
return (u, g) => {
|
|
4358
4358
|
const p = K("KPrompt");
|
|
4359
4359
|
return m(), M(Mn, { to: "body" }, [
|
|
4360
4360
|
B(p, {
|
|
@@ -4363,7 +4363,7 @@ const fo = { class: "yaml-config" }, Tn = /* @__PURE__ */ P({
|
|
|
4363
4363
|
"data-testid": `${e.entityType}-${e.entityId}-toggle-prompt`,
|
|
4364
4364
|
title: l.value,
|
|
4365
4365
|
visible: e.visible,
|
|
4366
|
-
onCancel:
|
|
4366
|
+
onCancel: c,
|
|
4367
4367
|
onProceed: d
|
|
4368
4368
|
}, {
|
|
4369
4369
|
default: b(() => [
|
|
@@ -4547,20 +4547,20 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4547
4547
|
},
|
|
4548
4548
|
setup(e) {
|
|
4549
4549
|
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(() => {
|
|
4550
|
-
var
|
|
4551
|
-
return (
|
|
4552
|
-
}),
|
|
4553
|
-
var
|
|
4554
|
-
return `${(
|
|
4555
|
-
}), d = async (
|
|
4556
|
-
await
|
|
4550
|
+
var u;
|
|
4551
|
+
return (u = t.entityLinkData.id) != null && u.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
|
|
4552
|
+
}), c = k(() => {
|
|
4553
|
+
var u;
|
|
4554
|
+
return `${(u = s.value) == null ? void 0 : u.toString().slice(0, 5)} (deleted)`;
|
|
4555
|
+
}), d = async (u) => {
|
|
4556
|
+
await u(s.value || "") && (o.value = i("global.actions.copyToClipboard"), setTimeout(() => {
|
|
4557
4557
|
o.value = a;
|
|
4558
4558
|
}, 1800));
|
|
4559
4559
|
};
|
|
4560
|
-
return (
|
|
4560
|
+
return (u, g) => {
|
|
4561
4561
|
const p = K("KTooltip"), y = K("KExternalLink"), v = K("KClipboardProvider");
|
|
4562
4562
|
return m(), I("div", Hl, [
|
|
4563
|
-
l.value ? (m(), I("div", Vl, O(
|
|
4563
|
+
l.value ? (m(), I("div", Vl, O(c.value), 1)) : s.value ? s.value ? (m(), M(y, {
|
|
4564
4564
|
key: 2,
|
|
4565
4565
|
class: "entity-link",
|
|
4566
4566
|
"hide-icon": !e.newWindow,
|
|
@@ -4613,7 +4613,7 @@ const Kl = ["aria-labelledby"], Dl = { class: "form-section-wrapper" }, Ul = {
|
|
|
4613
4613
|
]);
|
|
4614
4614
|
};
|
|
4615
4615
|
}
|
|
4616
|
-
}), ss = /* @__PURE__ */ ae(Wl, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios:
|
|
4616
|
+
}), ss = /* @__PURE__ */ ae(Wl, [["__scopeId", "data-v-60e3ef7c"]]), { useAxios: us, useDeleteUrlBuilder: cs, useErrors: ds, useExternalLinkCreator: fs, useFetchUrlBuilder: ps, useFetcher: hs, useDebouncedFilter: ms, useStringHelpers: gs, useHelpers: ys, useGatewayFeatureSupported: vs, useTruncationDetector: bs, useValidators: xs } = Y;
|
|
4617
4617
|
export {
|
|
4618
4618
|
yo as ConfigCardDisplay,
|
|
4619
4619
|
Dt as ConfigCardItem,
|
|
@@ -4634,9 +4634,9 @@ export {
|
|
|
4634
4634
|
Ut as JsonCodeBlock,
|
|
4635
4635
|
os as PermissionsWrapper,
|
|
4636
4636
|
Tn as YamlCodeBlock,
|
|
4637
|
-
|
|
4637
|
+
us as useAxios,
|
|
4638
4638
|
ms as useDebouncedFilter,
|
|
4639
|
-
|
|
4639
|
+
cs as useDeleteUrlBuilder,
|
|
4640
4640
|
ds as useErrors,
|
|
4641
4641
|
fs as useExternalLinkCreator,
|
|
4642
4642
|
ps as useFetchUrlBuilder,
|