@kong-ui-public/entities-shared 2.12.4-pr.1272.f0948953.0 → 2.12.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 +481 -470
- package/dist/entities-shared.umd.js +12 -12
- package/dist/types/composables/index.d.ts +2 -0
- package/dist/types/composables/index.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +12 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -1
- package/dist/types/composables/useValidators.d.ts +8 -0
- package/dist/types/composables/useValidators.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as In, ref as R, unref as I, computed as A, watch as Ae, defineComponent as H, openBlock as h, createBlock as K, resolveDynamicComponent as fe, normalizeClass as ue, withCtx as x, createElementBlock as S, createElementVNode as
|
|
1
|
+
import { inject as In, ref as R, unref as I, computed as A, watch as Ae, defineComponent as H, openBlock as h, createBlock as K, resolveDynamicComponent as fe, normalizeClass as ue, withCtx as x, createElementBlock as S, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as B, createVNode as N, createTextVNode as V, useCssVars as Tt, useSlots as Ze, renderSlot as Y, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as $e, onBeforeMount as Ft, withModifiers as Ve, onMounted as On, onUnmounted as $n, withDirectives as he, vShow as me, withKeys as Ln, Teleport as Nn } from "vue";
|
|
2
2
|
import ot from "axios";
|
|
3
3
|
import { createI18n as Bn, i18nTComponent as Rn } from "@kong-ui-public/i18n";
|
|
4
4
|
import { BadgeMethodAppearances as Kn } from "@kong/kongponents";
|
|
@@ -40,7 +40,7 @@ function qn() {
|
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const Ue = "khcp-user-table-preferences", Pn = {
|
|
44
44
|
pageSize: 30,
|
|
45
45
|
sortColumnKey: void 0,
|
|
46
46
|
sortColumnOrder: void 0
|
|
@@ -55,14 +55,14 @@ function Hn() {
|
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
}, t = () => {
|
|
58
|
-
const n = e(localStorage.getItem(
|
|
58
|
+
const n = e(localStorage.getItem(Ue));
|
|
59
59
|
return !n || !Object.keys(n).length ? /* @__PURE__ */ new Map() : new Map(Object.entries(n));
|
|
60
60
|
};
|
|
61
61
|
return {
|
|
62
62
|
setTablePreferences: (n, r) => {
|
|
63
63
|
try {
|
|
64
64
|
const i = t();
|
|
65
|
-
i.set(n, r), localStorage.setItem(
|
|
65
|
+
i.set(n, r), localStorage.setItem(Ue, JSON.stringify(Object.fromEntries(i.entries())));
|
|
66
66
|
} catch (i) {
|
|
67
67
|
console.error("useTablePreferences(setTablePreferences)", i);
|
|
68
68
|
}
|
|
@@ -72,11 +72,11 @@ function Hn() {
|
|
|
72
72
|
return (r == null ? void 0 : r.get(n)) || void 0 || Pn;
|
|
73
73
|
},
|
|
74
74
|
deleteAllTablePreferences: () => {
|
|
75
|
-
localStorage.removeItem(
|
|
75
|
+
localStorage.removeItem(Ue);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function Qe(e = {}) {
|
|
80
80
|
const { getAxiosInstance: t } = Un();
|
|
81
81
|
return {
|
|
82
82
|
axiosInstance: t(e)
|
|
@@ -166,6 +166,8 @@ const Vn = {
|
|
|
166
166
|
unexpected: "An unexpected error has occurred",
|
|
167
167
|
dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
|
|
168
168
|
}, Xn = {
|
|
169
|
+
utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
|
|
170
|
+
}, er = {
|
|
169
171
|
enable: {
|
|
170
172
|
title: "Enable {entityType}",
|
|
171
173
|
message: "Are you sure you want to enable the {entityType} {entityName}?",
|
|
@@ -176,7 +178,7 @@ const Vn = {
|
|
|
176
178
|
message: "Are you sure you want to disable the {entityType} {entityName}?",
|
|
177
179
|
confirmText: "Yes, disable"
|
|
178
180
|
}
|
|
179
|
-
},
|
|
181
|
+
}, tr = {
|
|
180
182
|
global: Vn,
|
|
181
183
|
deleteModal: Yn,
|
|
182
184
|
baseForm: zn,
|
|
@@ -185,10 +187,11 @@ const Vn = {
|
|
|
185
187
|
filter: Gn,
|
|
186
188
|
debouncedFilter: Zn,
|
|
187
189
|
errors: Qn,
|
|
188
|
-
|
|
190
|
+
validationErrors: Xn,
|
|
191
|
+
toggleModal: er
|
|
189
192
|
};
|
|
190
|
-
function
|
|
191
|
-
const e = Bn("en-us",
|
|
193
|
+
function De() {
|
|
194
|
+
const e = Bn("en-us", tr);
|
|
192
195
|
return {
|
|
193
196
|
i18n: e,
|
|
194
197
|
i18nT: Rn(e)
|
|
@@ -239,14 +242,14 @@ function Ot() {
|
|
|
239
242
|
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
|
|
240
243
|
};
|
|
241
244
|
}
|
|
242
|
-
function
|
|
245
|
+
function nr(e, t, n, r = {
|
|
243
246
|
fetchedItemsKey: "data",
|
|
244
247
|
searchKeys: ["id"]
|
|
245
248
|
}) {
|
|
246
249
|
n || (n = "1000");
|
|
247
|
-
const { axiosInstance: i } =
|
|
250
|
+
const { axiosInstance: i } = Qe({
|
|
248
251
|
headers: e.requestHeaders
|
|
249
|
-
}), { i18n: { t: a } } =
|
|
252
|
+
}), { i18n: { t: a } } = De(), { debounce: o } = qn(), l = o(async (m) => {
|
|
250
253
|
await ee(m);
|
|
251
254
|
}, 200), s = R(!1), u = R(""), d = R(""), c = R([]), p = R([]), f = R(void 0), b = I(t);
|
|
252
255
|
let g = `${e.apiBaseUrl}${b}`;
|
|
@@ -262,7 +265,7 @@ function tr(e, t, n, r = {
|
|
|
262
265
|
s.value = !1;
|
|
263
266
|
}
|
|
264
267
|
}, E = R(""), ee = async (m) => {
|
|
265
|
-
var v, y,
|
|
268
|
+
var v, y, $;
|
|
266
269
|
if (E.value !== m)
|
|
267
270
|
if (E.value = m || "", f.value === void 0)
|
|
268
271
|
try {
|
|
@@ -297,7 +300,7 @@ function tr(e, t, n, r = {
|
|
|
297
300
|
s.value = !1;
|
|
298
301
|
}
|
|
299
302
|
else
|
|
300
|
-
s.value = !0, d.value = "", m ? (c.value = (
|
|
303
|
+
s.value = !0, d.value = "", m ? (c.value = ($ = f.value) == null ? void 0 : $.filter((F) => {
|
|
301
304
|
var j;
|
|
302
305
|
let k = !1;
|
|
303
306
|
for (const T of r.searchKeys) {
|
|
@@ -317,14 +320,14 @@ function tr(e, t, n, r = {
|
|
|
317
320
|
debouncedQueryChange: l
|
|
318
321
|
};
|
|
319
322
|
}
|
|
320
|
-
function
|
|
323
|
+
function rr(e, t) {
|
|
321
324
|
const n = I(t), r = A(
|
|
322
325
|
() => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
|
|
323
326
|
);
|
|
324
327
|
return r.value.search = "", (i) => `${r.value.href}/${i}`;
|
|
325
328
|
}
|
|
326
|
-
function
|
|
327
|
-
const { i18n: { t: e } } =
|
|
329
|
+
function ir() {
|
|
330
|
+
const { i18n: { t: e } } = De();
|
|
328
331
|
return {
|
|
329
332
|
getMessageFromError: (n) => {
|
|
330
333
|
var r, i, a, o;
|
|
@@ -353,7 +356,7 @@ function rr() {
|
|
|
353
356
|
}
|
|
354
357
|
};
|
|
355
358
|
}
|
|
356
|
-
function
|
|
359
|
+
function ar(e) {
|
|
357
360
|
const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
|
|
358
361
|
try {
|
|
359
362
|
const r = e.join("/"), i = `${n}${r}`, a = e.some((l) => l.trim() === "");
|
|
@@ -364,7 +367,7 @@ function ir(e) {
|
|
|
364
367
|
return console.warn("Failed to build valid URL:", r), "";
|
|
365
368
|
}
|
|
366
369
|
}
|
|
367
|
-
function
|
|
370
|
+
function $t(e, t) {
|
|
368
371
|
const n = R(I(e)), r = R(I(t)), i = A(
|
|
369
372
|
() => !!(n.value.app === "konnect" || n.value.isExactMatch)
|
|
370
373
|
), a = A(
|
|
@@ -382,12 +385,12 @@ function Lt(e, t) {
|
|
|
382
385
|
}
|
|
383
386
|
};
|
|
384
387
|
}
|
|
385
|
-
function
|
|
388
|
+
function or(e, t, n = "data") {
|
|
386
389
|
var s;
|
|
387
|
-
const r = I(t), { axiosInstance: i } =
|
|
390
|
+
const r = I(t), { axiosInstance: i } = Qe({
|
|
388
391
|
...e.axiosRequestConfig,
|
|
389
392
|
headers: { ...(s = e.axiosRequestConfig) == null ? void 0 : s.headers, ...e.requestHeaders }
|
|
390
|
-
}), a =
|
|
393
|
+
}), a = $t(e, r), o = R({
|
|
391
394
|
status: ve.Idle
|
|
392
395
|
});
|
|
393
396
|
return { fetcher: async (u) => {
|
|
@@ -432,41 +435,41 @@ function ar(e, t, n = "data") {
|
|
|
432
435
|
}
|
|
433
436
|
}, fetcherState: o };
|
|
434
437
|
}
|
|
435
|
-
function
|
|
438
|
+
function lr() {
|
|
436
439
|
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;
|
|
437
440
|
return {
|
|
438
441
|
capitalize: (r) => r ? r.replace(t, (i) => i.toUpperCase()) : "",
|
|
439
442
|
convertKeyToTitle: e
|
|
440
443
|
};
|
|
441
444
|
}
|
|
442
|
-
const
|
|
445
|
+
const Lt = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, lt = (e) => {
|
|
443
446
|
if (typeof e != "string")
|
|
444
447
|
throw new TypeError("Invalid argument expected string");
|
|
445
|
-
const t = e.match(
|
|
448
|
+
const t = e.match(Lt);
|
|
446
449
|
if (!t)
|
|
447
450
|
throw new Error(`Invalid argument not valid semver ('${e}' received)`);
|
|
448
451
|
return t.shift(), t;
|
|
449
452
|
}, st = (e) => e === "*" || e === "x" || e === "X", ct = (e) => {
|
|
450
453
|
const t = parseInt(e, 10);
|
|
451
454
|
return isNaN(t) ? e : t;
|
|
452
|
-
},
|
|
455
|
+
}, sr = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], cr = (e, t) => {
|
|
453
456
|
if (st(e) || st(t))
|
|
454
457
|
return 0;
|
|
455
|
-
const [n, r] =
|
|
458
|
+
const [n, r] = sr(ct(e), ct(t));
|
|
456
459
|
return n > r ? 1 : n < r ? -1 : 0;
|
|
457
460
|
}, ut = (e, t) => {
|
|
458
461
|
for (let n = 0; n < Math.max(e.length, t.length); n++) {
|
|
459
|
-
const r =
|
|
462
|
+
const r = cr(e[n] || "0", t[n] || "0");
|
|
460
463
|
if (r !== 0)
|
|
461
464
|
return r;
|
|
462
465
|
}
|
|
463
466
|
return 0;
|
|
464
|
-
},
|
|
467
|
+
}, ur = (e, t) => {
|
|
465
468
|
const n = lt(e), r = lt(t), i = n.pop(), a = r.pop(), o = ut(n, r);
|
|
466
469
|
return o !== 0 ? o : i && a ? ut(i.split("."), a.split(".")) : i || a ? i ? -1 : 1 : 0;
|
|
467
470
|
}, dt = (e, t, n) => {
|
|
468
|
-
|
|
469
|
-
const r =
|
|
471
|
+
dr(n);
|
|
472
|
+
const r = ur(e, t);
|
|
470
473
|
return Nt[n].includes(r);
|
|
471
474
|
}, Nt = {
|
|
472
475
|
">": [1],
|
|
@@ -475,18 +478,18 @@ const $t = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
475
478
|
"<=": [-1, 0],
|
|
476
479
|
"<": [-1],
|
|
477
480
|
"!=": [-1, 1]
|
|
478
|
-
}, ft = Object.keys(Nt),
|
|
481
|
+
}, ft = Object.keys(Nt), dr = (e) => {
|
|
479
482
|
if (typeof e != "string")
|
|
480
483
|
throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
|
|
481
484
|
if (ft.indexOf(e) === -1)
|
|
482
485
|
throw new Error(`Invalid operator, expected one of ${ft.join("|")}`);
|
|
483
|
-
},
|
|
484
|
-
function
|
|
486
|
+
}, fr = (e) => typeof e == "string" && /^[v\d]/.test(e) && Lt.test(e);
|
|
487
|
+
function pr(e) {
|
|
485
488
|
const { gatewayInfo: t, supportedRange: n } = e;
|
|
486
489
|
if (!t)
|
|
487
490
|
return !0;
|
|
488
491
|
const { edition: r, version: i } = t;
|
|
489
|
-
if (!
|
|
492
|
+
if (!fr(i))
|
|
490
493
|
return console.error("Invalid version"), !1;
|
|
491
494
|
const a = n[r];
|
|
492
495
|
if (!a)
|
|
@@ -494,7 +497,7 @@ function fr(e) {
|
|
|
494
497
|
const [o, l] = a;
|
|
495
498
|
return !(o && dt(i, o, "<") || l && dt(i, l, ">"));
|
|
496
499
|
}
|
|
497
|
-
function
|
|
500
|
+
function hr(e) {
|
|
498
501
|
const t = R(0), n = R(0), r = R(!1);
|
|
499
502
|
return Ae(e, (a) => {
|
|
500
503
|
a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
|
|
@@ -502,23 +505,30 @@ function pr(e) {
|
|
|
502
505
|
isTruncated: A(() => t.value < n.value)
|
|
503
506
|
};
|
|
504
507
|
}
|
|
508
|
+
function mr() {
|
|
509
|
+
const { i18n: { t: e } } = De();
|
|
510
|
+
return {
|
|
511
|
+
utf8Name: (n) => /^[\p{N}\p{L}.\-_~]*$/u.test(n) ? "" : e("validationErrors.utf8Name")
|
|
512
|
+
};
|
|
513
|
+
}
|
|
505
514
|
const z = {
|
|
506
|
-
useAxios:
|
|
507
|
-
useDebouncedFilter:
|
|
508
|
-
useDeleteUrlBuilder:
|
|
509
|
-
useErrors:
|
|
510
|
-
useExternalLinkCreator:
|
|
511
|
-
useFetcher:
|
|
512
|
-
useFetchUrlBuilder:
|
|
515
|
+
useAxios: Qe,
|
|
516
|
+
useDebouncedFilter: nr,
|
|
517
|
+
useDeleteUrlBuilder: rr,
|
|
518
|
+
useErrors: ir,
|
|
519
|
+
useExternalLinkCreator: ar,
|
|
520
|
+
useFetcher: or,
|
|
521
|
+
useFetchUrlBuilder: $t,
|
|
513
522
|
useHelpers: Ot,
|
|
514
|
-
useStringHelpers:
|
|
515
|
-
useI18n:
|
|
516
|
-
useGatewayFeatureSupported:
|
|
517
|
-
useTruncationDetector:
|
|
518
|
-
|
|
523
|
+
useStringHelpers: lr,
|
|
524
|
+
useI18n: De,
|
|
525
|
+
useGatewayFeatureSupported: pr,
|
|
526
|
+
useTruncationDetector: hr,
|
|
527
|
+
useValidators: mr
|
|
528
|
+
}, gr = {
|
|
519
529
|
key: 0,
|
|
520
530
|
class: "config-card-fieldset-title"
|
|
521
|
-
},
|
|
531
|
+
}, yr = /* @__PURE__ */ H({
|
|
522
532
|
__name: "JsonCardItem",
|
|
523
533
|
props: {
|
|
524
534
|
item: {
|
|
@@ -546,8 +556,8 @@ const z = {
|
|
|
546
556
|
class: ue(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
547
557
|
}, {
|
|
548
558
|
default: x(() => [
|
|
549
|
-
e.isArrayItem ? (h(), S("legend",
|
|
550
|
-
|
|
559
|
+
e.isArrayItem ? (h(), S("legend", gr, [
|
|
560
|
+
L("b", null, O(l.value), 1)
|
|
551
561
|
])) : D("", !0),
|
|
552
562
|
(h(!0), S(le, null, ie(Object.keys(o.value), (d, c) => (h(), K(Rt, {
|
|
553
563
|
key: `${i.value}-property-${c}`,
|
|
@@ -566,7 +576,7 @@ const z = {
|
|
|
566
576
|
for (const [r, i] of t)
|
|
567
577
|
n[r] = i;
|
|
568
578
|
return n;
|
|
569
|
-
}, Bt = /* @__PURE__ */ re(
|
|
579
|
+
}, Bt = /* @__PURE__ */ re(yr, [["__scopeId", "data-v-68ca83ec"]]), vr = /* @__PURE__ */ H({
|
|
570
580
|
__name: "InternalLinkItem",
|
|
571
581
|
props: {
|
|
572
582
|
item: {
|
|
@@ -593,7 +603,7 @@ const z = {
|
|
|
593
603
|
]);
|
|
594
604
|
};
|
|
595
605
|
}
|
|
596
|
-
}),
|
|
606
|
+
}), br = /* @__PURE__ */ re(vr, [["__scopeId", "data-v-c96811e5"]]), xr = /* @__PURE__ */ H({
|
|
597
607
|
__name: "StatusBadge",
|
|
598
608
|
props: {
|
|
599
609
|
status: {
|
|
@@ -615,11 +625,11 @@ const z = {
|
|
|
615
625
|
}, 8, ["appearance"]);
|
|
616
626
|
};
|
|
617
627
|
}
|
|
618
|
-
}),
|
|
628
|
+
}), Cr = "#0044f4", _r = "#e0e4ea", kr = "#3a3f51", Ar = "#afb7c5", wr = "#0044f4", Sr = "1px", Ir = "16px", Er = "20px", Tr = { class: "config-card-details-row" }, Fr = ["data-testid"], Or = ["data-testid"], $r = ["data-testid"], Lr = ["data-testid"], Nr = { key: 1 }, Br = ["data-testid"], Rr = ["data-testid"], Kr = ["data-testid"], Mr = ["data-testid"], Dr = {
|
|
619
629
|
name: "ConfigCardItem",
|
|
620
|
-
components: { JsonCardItem: Bt, StatusBadge:
|
|
621
|
-
},
|
|
622
|
-
...
|
|
630
|
+
components: { JsonCardItem: Bt, StatusBadge: xr, InternalLinkItem: br }
|
|
631
|
+
}, jr = /* @__PURE__ */ H({
|
|
632
|
+
...Dr,
|
|
623
633
|
props: {
|
|
624
634
|
item: {
|
|
625
635
|
type: Object,
|
|
@@ -639,12 +649,12 @@ const z = {
|
|
|
639
649
|
emits: ["navigation-click"],
|
|
640
650
|
setup(e, { emit: t }) {
|
|
641
651
|
Tt((b) => ({
|
|
642
|
-
"07753575": d.value ? "none" : `solid ${I(
|
|
652
|
+
"07753575": d.value ? "none" : `solid ${I(Sr)} ${I(_r)}`,
|
|
643
653
|
"32d44ea8": u.value && l.value ? "block" : "flex",
|
|
644
654
|
"5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
|
|
645
655
|
"5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
|
|
646
656
|
}));
|
|
647
|
-
const n = e, r = t, i =
|
|
657
|
+
const n = e, r = t, i = Ze(), { i18n: { t: a, formatUnixTimeStamp: o } } = z.useI18n(), l = A(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = A(() => !!(n.item.tooltip || i["label-tooltip"])), u = A(() => n.item.type === P.Json || n.item.type === P.JsonArray), d = A(() => n.item.type === P.JsonArray), c = A(() => {
|
|
648
658
|
switch (n.item.type) {
|
|
649
659
|
case P.ID:
|
|
650
660
|
return {
|
|
@@ -757,8 +767,8 @@ const z = {
|
|
|
757
767
|
}), p = R(), { isTruncated: f } = z.useTruncationDetector(p);
|
|
758
768
|
return (b, g) => {
|
|
759
769
|
const _ = B("KLabel"), M = B("KBadge"), E = B("KCopy"), ee = B("KTooltip");
|
|
760
|
-
return h(), S("div",
|
|
761
|
-
|
|
770
|
+
return h(), S("div", Tr, [
|
|
771
|
+
L("div", {
|
|
762
772
|
class: "config-card-details-label",
|
|
763
773
|
"data-testid": `${e.item.key}-label`
|
|
764
774
|
}, [
|
|
@@ -772,27 +782,27 @@ const z = {
|
|
|
772
782
|
s.value ? {
|
|
773
783
|
name: "tooltip",
|
|
774
784
|
fn: x(() => [
|
|
775
|
-
|
|
785
|
+
L("div", {
|
|
776
786
|
"data-testid": `${e.item.key}-label-tooltip`
|
|
777
787
|
}, [
|
|
778
788
|
Y(b.$slots, "label-tooltip", {}, () => [
|
|
779
789
|
V(O(e.item.tooltip), 1)
|
|
780
790
|
], !0)
|
|
781
|
-
], 8,
|
|
791
|
+
], 8, Or)
|
|
782
792
|
]),
|
|
783
793
|
key: "0"
|
|
784
794
|
} : void 0
|
|
785
795
|
]), 1024)
|
|
786
796
|
], !0)
|
|
787
|
-
], 8,
|
|
788
|
-
|
|
797
|
+
], 8, Fr),
|
|
798
|
+
L("div", {
|
|
789
799
|
class: "config-card-details-value",
|
|
790
800
|
"data-testid": `${e.item.key}-property-value`
|
|
791
801
|
}, [
|
|
792
802
|
Y(b.$slots, e.item.key, {
|
|
793
803
|
rowValue: e.item.value
|
|
794
804
|
}, () => [
|
|
795
|
-
l.value ? (h(), S("div",
|
|
805
|
+
l.value ? (h(), S("div", Nr, [
|
|
796
806
|
(h(), K(fe(c.value.tag), En(Tn(c.value.attrs)), {
|
|
797
807
|
default: x(() => [
|
|
798
808
|
c.value.additionalComponent === "KBadge" ? (h(), S("div", {
|
|
@@ -811,7 +821,7 @@ const z = {
|
|
|
811
821
|
]),
|
|
812
822
|
_: 2
|
|
813
823
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
814
|
-
], 8,
|
|
824
|
+
], 8, Br)) : D("", !0),
|
|
815
825
|
c.value.additionalComponent === "KCopy" ? (h(), S("div", {
|
|
816
826
|
key: 1,
|
|
817
827
|
class: "copy-uuid-array",
|
|
@@ -822,7 +832,7 @@ const z = {
|
|
|
822
832
|
"data-testid": `${e.item.key}-copy-uuid-${v}`,
|
|
823
833
|
text: m
|
|
824
834
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
825
|
-
], 8,
|
|
835
|
+
], 8, Rr)) : c.value.additionalComponent === "KMethodBadge" ? (h(), S("div", {
|
|
826
836
|
key: 2,
|
|
827
837
|
class: "method-badge-array",
|
|
828
838
|
"data-testid": `${e.item.key}-badge-methods`
|
|
@@ -838,7 +848,7 @@ const z = {
|
|
|
838
848
|
]),
|
|
839
849
|
_: 2
|
|
840
850
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
841
|
-
], 8,
|
|
851
|
+
], 8, Kr)) : D("", !0),
|
|
842
852
|
c.value.additionalComponent === "JsonCardItem" ? (h(), S("div", {
|
|
843
853
|
key: 3,
|
|
844
854
|
"data-testid": `${n.item.key}-json-array-content`
|
|
@@ -849,12 +859,12 @@ const z = {
|
|
|
849
859
|
"is-array-item": "",
|
|
850
860
|
item: m
|
|
851
861
|
}, null, 8, ["index", "item"]))), 128))
|
|
852
|
-
], 8,
|
|
862
|
+
], 8, Mr)) : (h(), K(ee, {
|
|
853
863
|
key: 4,
|
|
854
864
|
text: I(f) ? e.item.value : ""
|
|
855
865
|
}, {
|
|
856
866
|
default: x(() => [
|
|
857
|
-
|
|
867
|
+
L("span", {
|
|
858
868
|
ref_key: "textContent",
|
|
859
869
|
ref: p,
|
|
860
870
|
class: ue(["attrs-data-text", { truncated: e.truncated }])
|
|
@@ -868,13 +878,13 @@ const z = {
|
|
|
868
878
|
])) : (h(), S("div", {
|
|
869
879
|
key: 0,
|
|
870
880
|
"data-testid": `${e.item.key}-no-value`
|
|
871
|
-
}, " – ", 8,
|
|
881
|
+
}, " – ", 8, Lr))
|
|
872
882
|
], !0)
|
|
873
|
-
], 8,
|
|
883
|
+
], 8, $r)
|
|
874
884
|
]);
|
|
875
885
|
};
|
|
876
886
|
}
|
|
877
|
-
}), Rt = /* @__PURE__ */ re(
|
|
887
|
+
}), Rt = /* @__PURE__ */ re(jr, [["__scopeId", "data-v-d056663c"]]), Ur = { class: "json-config" }, qr = {
|
|
878
888
|
key: 0,
|
|
879
889
|
class: "json-endpoint"
|
|
880
890
|
}, Kt = /* @__PURE__ */ H({
|
|
@@ -917,8 +927,8 @@ const z = {
|
|
|
917
927
|
});
|
|
918
928
|
return (i, a) => {
|
|
919
929
|
const o = B("KBadge"), l = B("KCodeBlock");
|
|
920
|
-
return h(), S("div",
|
|
921
|
-
t.fetcherUrl ? (h(), S("div",
|
|
930
|
+
return h(), S("div", Ur, [
|
|
931
|
+
t.fetcherUrl ? (h(), S("div", qr, [
|
|
922
932
|
N(o, {
|
|
923
933
|
appearance: t.requestMethod
|
|
924
934
|
}, {
|
|
@@ -951,35 +961,35 @@ const z = {
|
|
|
951
961
|
function Mt(e) {
|
|
952
962
|
return typeof e > "u" || e === null;
|
|
953
963
|
}
|
|
954
|
-
function
|
|
964
|
+
function Pr(e) {
|
|
955
965
|
return typeof e == "object" && e !== null;
|
|
956
966
|
}
|
|
957
|
-
function
|
|
967
|
+
function Hr(e) {
|
|
958
968
|
return Array.isArray(e) ? e : Mt(e) ? [] : [e];
|
|
959
969
|
}
|
|
960
|
-
function
|
|
970
|
+
function Vr(e, t) {
|
|
961
971
|
var n, r, i, a;
|
|
962
972
|
if (t)
|
|
963
973
|
for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1)
|
|
964
974
|
i = a[n], e[i] = t[i];
|
|
965
975
|
return e;
|
|
966
976
|
}
|
|
967
|
-
function
|
|
977
|
+
function Yr(e, t) {
|
|
968
978
|
var n = "", r;
|
|
969
979
|
for (r = 0; r < t; r += 1)
|
|
970
980
|
n += e;
|
|
971
981
|
return n;
|
|
972
982
|
}
|
|
973
|
-
function
|
|
983
|
+
function zr(e) {
|
|
974
984
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
975
985
|
}
|
|
976
|
-
var
|
|
977
|
-
isNothing:
|
|
978
|
-
isObject:
|
|
979
|
-
toArray:
|
|
980
|
-
repeat:
|
|
981
|
-
isNegativeZero:
|
|
982
|
-
extend:
|
|
986
|
+
var Wr = Mt, Jr = Pr, Gr = Hr, Zr = Yr, Qr = zr, Xr = Vr, G = {
|
|
987
|
+
isNothing: Wr,
|
|
988
|
+
isObject: Jr,
|
|
989
|
+
toArray: Gr,
|
|
990
|
+
repeat: Zr,
|
|
991
|
+
isNegativeZero: Qr,
|
|
992
|
+
extend: Xr
|
|
983
993
|
};
|
|
984
994
|
function Dt(e, t) {
|
|
985
995
|
var n = "", r = e.reason || "(unknown reason)";
|
|
@@ -996,7 +1006,7 @@ Se.prototype.toString = function(t) {
|
|
|
996
1006
|
return this.name + ": " + Dt(this, t);
|
|
997
1007
|
};
|
|
998
1008
|
var X = Se;
|
|
999
|
-
function
|
|
1009
|
+
function qe(e, t, n, r, i) {
|
|
1000
1010
|
var a = "", o = "", l = Math.floor(i / 2) - 1;
|
|
1001
1011
|
return r - t > l && (a = " ... ", t = r - l + a.length), n - r > l && (o = " ...", n = r + l - o.length), {
|
|
1002
1012
|
str: a + e.slice(t, n).replace(/\t/g, "→") + o,
|
|
@@ -1004,10 +1014,10 @@ function Ue(e, t, n, r, i) {
|
|
|
1004
1014
|
// relative position
|
|
1005
1015
|
};
|
|
1006
1016
|
}
|
|
1007
|
-
function
|
|
1017
|
+
function Pe(e, t) {
|
|
1008
1018
|
return G.repeat(" ", t - e.length) + e;
|
|
1009
1019
|
}
|
|
1010
|
-
function
|
|
1020
|
+
function ei(e, t) {
|
|
1011
1021
|
if (t = Object.create(t || null), !e.buffer)
|
|
1012
1022
|
return null;
|
|
1013
1023
|
t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
|
|
@@ -1016,28 +1026,28 @@ function Qr(e, t) {
|
|
|
1016
1026
|
o < 0 && (o = r.length - 1);
|
|
1017
1027
|
var l = "", s, u, d = Math.min(e.line + t.linesAfter, i.length).toString().length, c = t.maxLength - (t.indent + d + 3);
|
|
1018
1028
|
for (s = 1; s <= t.linesBefore && !(o - s < 0); s++)
|
|
1019
|
-
u =
|
|
1029
|
+
u = qe(
|
|
1020
1030
|
e.buffer,
|
|
1021
1031
|
r[o - s],
|
|
1022
1032
|
i[o - s],
|
|
1023
1033
|
e.position - (r[o] - r[o - s]),
|
|
1024
1034
|
c
|
|
1025
|
-
), l = G.repeat(" ", t.indent) +
|
|
1035
|
+
), l = G.repeat(" ", t.indent) + Pe((e.line - s + 1).toString(), d) + " | " + u.str + `
|
|
1026
1036
|
` + l;
|
|
1027
|
-
for (u =
|
|
1037
|
+
for (u = qe(e.buffer, r[o], i[o], e.position, c), l += G.repeat(" ", t.indent) + Pe((e.line + 1).toString(), d) + " | " + u.str + `
|
|
1028
1038
|
`, l += G.repeat("-", t.indent + d + 3 + u.pos) + `^
|
|
1029
1039
|
`, s = 1; s <= t.linesAfter && !(o + s >= i.length); s++)
|
|
1030
|
-
u =
|
|
1040
|
+
u = qe(
|
|
1031
1041
|
e.buffer,
|
|
1032
1042
|
r[o + s],
|
|
1033
1043
|
i[o + s],
|
|
1034
1044
|
e.position - (r[o] - r[o + s]),
|
|
1035
1045
|
c
|
|
1036
|
-
), l += G.repeat(" ", t.indent) +
|
|
1046
|
+
), l += G.repeat(" ", t.indent) + Pe((e.line + s + 1).toString(), d) + " | " + u.str + `
|
|
1037
1047
|
`;
|
|
1038
1048
|
return l.replace(/\n$/, "");
|
|
1039
1049
|
}
|
|
1040
|
-
var
|
|
1050
|
+
var ti = ei, ni = [
|
|
1041
1051
|
"kind",
|
|
1042
1052
|
"multi",
|
|
1043
1053
|
"resolve",
|
|
@@ -1048,12 +1058,12 @@ var Xr = Qr, ei = [
|
|
|
1048
1058
|
"representName",
|
|
1049
1059
|
"defaultStyle",
|
|
1050
1060
|
"styleAliases"
|
|
1051
|
-
],
|
|
1061
|
+
], ri = [
|
|
1052
1062
|
"scalar",
|
|
1053
1063
|
"sequence",
|
|
1054
1064
|
"mapping"
|
|
1055
1065
|
];
|
|
1056
|
-
function
|
|
1066
|
+
function ii(e) {
|
|
1057
1067
|
var t = {};
|
|
1058
1068
|
return e !== null && Object.keys(e).forEach(function(n) {
|
|
1059
1069
|
e[n].forEach(function(r) {
|
|
@@ -1061,18 +1071,18 @@ function ni(e) {
|
|
|
1061
1071
|
});
|
|
1062
1072
|
}), t;
|
|
1063
1073
|
}
|
|
1064
|
-
function
|
|
1074
|
+
function ai(e, t) {
|
|
1065
1075
|
if (t = t || {}, Object.keys(t).forEach(function(n) {
|
|
1066
|
-
if (
|
|
1076
|
+
if (ni.indexOf(n) === -1)
|
|
1067
1077
|
throw new X('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
|
|
1068
1078
|
}), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
|
|
1069
1079
|
return !0;
|
|
1070
1080
|
}, this.construct = t.construct || function(n) {
|
|
1071
1081
|
return n;
|
|
1072
|
-
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases =
|
|
1082
|
+
}, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = ii(t.styleAliases || null), ri.indexOf(this.kind) === -1)
|
|
1073
1083
|
throw new X('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
|
|
1074
1084
|
}
|
|
1075
|
-
var Z =
|
|
1085
|
+
var Z = ai;
|
|
1076
1086
|
function pt(e, t) {
|
|
1077
1087
|
var n = [];
|
|
1078
1088
|
return e[t].forEach(function(r) {
|
|
@@ -1082,7 +1092,7 @@ function pt(e, t) {
|
|
|
1082
1092
|
}), n[i] = r;
|
|
1083
1093
|
}), n;
|
|
1084
1094
|
}
|
|
1085
|
-
function
|
|
1095
|
+
function oi() {
|
|
1086
1096
|
var e = {
|
|
1087
1097
|
scalar: {},
|
|
1088
1098
|
sequence: {},
|
|
@@ -1102,10 +1112,10 @@ function ii() {
|
|
|
1102
1112
|
arguments[t].forEach(r);
|
|
1103
1113
|
return e;
|
|
1104
1114
|
}
|
|
1105
|
-
function
|
|
1115
|
+
function Ye(e) {
|
|
1106
1116
|
return this.extend(e);
|
|
1107
1117
|
}
|
|
1108
|
-
|
|
1118
|
+
Ye.prototype.extend = function(t) {
|
|
1109
1119
|
var n = [], r = [];
|
|
1110
1120
|
if (t instanceof Z)
|
|
1111
1121
|
r.push(t);
|
|
@@ -1126,10 +1136,10 @@ Ve.prototype.extend = function(t) {
|
|
|
1126
1136
|
if (!(a instanceof Z))
|
|
1127
1137
|
throw new X("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
1128
1138
|
});
|
|
1129
|
-
var i = Object.create(
|
|
1130
|
-
return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = pt(i, "implicit"), i.compiledExplicit = pt(i, "explicit"), i.compiledTypeMap =
|
|
1139
|
+
var i = Object.create(Ye.prototype);
|
|
1140
|
+
return i.implicit = (this.implicit || []).concat(n), i.explicit = (this.explicit || []).concat(r), i.compiledImplicit = pt(i, "implicit"), i.compiledExplicit = pt(i, "explicit"), i.compiledTypeMap = oi(i.compiledImplicit, i.compiledExplicit), i;
|
|
1131
1141
|
};
|
|
1132
|
-
var jt =
|
|
1142
|
+
var jt = Ye, Ut = new Z("tag:yaml.org,2002:str", {
|
|
1133
1143
|
kind: "scalar",
|
|
1134
1144
|
construct: function(e) {
|
|
1135
1145
|
return e !== null ? e : "";
|
|
@@ -1151,23 +1161,23 @@ var jt = Ve, Ut = new Z("tag:yaml.org,2002:str", {
|
|
|
1151
1161
|
Pt
|
|
1152
1162
|
]
|
|
1153
1163
|
});
|
|
1154
|
-
function
|
|
1164
|
+
function li(e) {
|
|
1155
1165
|
if (e === null)
|
|
1156
1166
|
return !0;
|
|
1157
1167
|
var t = e.length;
|
|
1158
1168
|
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
1159
1169
|
}
|
|
1160
|
-
function
|
|
1170
|
+
function si() {
|
|
1161
1171
|
return null;
|
|
1162
1172
|
}
|
|
1163
|
-
function
|
|
1173
|
+
function ci(e) {
|
|
1164
1174
|
return e === null;
|
|
1165
1175
|
}
|
|
1166
1176
|
var Vt = new Z("tag:yaml.org,2002:null", {
|
|
1167
1177
|
kind: "scalar",
|
|
1168
|
-
resolve:
|
|
1169
|
-
construct:
|
|
1170
|
-
predicate:
|
|
1178
|
+
resolve: li,
|
|
1179
|
+
construct: si,
|
|
1180
|
+
predicate: ci,
|
|
1171
1181
|
represent: {
|
|
1172
1182
|
canonical: function() {
|
|
1173
1183
|
return "~";
|
|
@@ -1187,23 +1197,23 @@ var Vt = new Z("tag:yaml.org,2002:null", {
|
|
|
1187
1197
|
},
|
|
1188
1198
|
defaultStyle: "lowercase"
|
|
1189
1199
|
});
|
|
1190
|
-
function
|
|
1200
|
+
function ui(e) {
|
|
1191
1201
|
if (e === null)
|
|
1192
1202
|
return !1;
|
|
1193
1203
|
var t = e.length;
|
|
1194
1204
|
return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
1195
1205
|
}
|
|
1196
|
-
function
|
|
1206
|
+
function di(e) {
|
|
1197
1207
|
return e === "true" || e === "True" || e === "TRUE";
|
|
1198
1208
|
}
|
|
1199
|
-
function
|
|
1209
|
+
function fi(e) {
|
|
1200
1210
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
1201
1211
|
}
|
|
1202
1212
|
var Yt = new Z("tag:yaml.org,2002:bool", {
|
|
1203
1213
|
kind: "scalar",
|
|
1204
|
-
resolve:
|
|
1205
|
-
construct:
|
|
1206
|
-
predicate:
|
|
1214
|
+
resolve: ui,
|
|
1215
|
+
construct: di,
|
|
1216
|
+
predicate: fi,
|
|
1207
1217
|
represent: {
|
|
1208
1218
|
lowercase: function(e) {
|
|
1209
1219
|
return e ? "true" : "false";
|
|
@@ -1217,16 +1227,16 @@ var Yt = new Z("tag:yaml.org,2002:bool", {
|
|
|
1217
1227
|
},
|
|
1218
1228
|
defaultStyle: "lowercase"
|
|
1219
1229
|
});
|
|
1220
|
-
function
|
|
1230
|
+
function pi(e) {
|
|
1221
1231
|
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
1222
1232
|
}
|
|
1223
|
-
function
|
|
1233
|
+
function hi(e) {
|
|
1224
1234
|
return 48 <= e && e <= 55;
|
|
1225
1235
|
}
|
|
1226
|
-
function
|
|
1236
|
+
function mi(e) {
|
|
1227
1237
|
return 48 <= e && e <= 57;
|
|
1228
1238
|
}
|
|
1229
|
-
function
|
|
1239
|
+
function gi(e) {
|
|
1230
1240
|
if (e === null)
|
|
1231
1241
|
return !1;
|
|
1232
1242
|
var t = e.length, n = 0, r = !1, i;
|
|
@@ -1247,7 +1257,7 @@ function hi(e) {
|
|
|
1247
1257
|
if (i === "x") {
|
|
1248
1258
|
for (n++; n < t; n++)
|
|
1249
1259
|
if (i = e[n], i !== "_") {
|
|
1250
|
-
if (!
|
|
1260
|
+
if (!pi(e.charCodeAt(n)))
|
|
1251
1261
|
return !1;
|
|
1252
1262
|
r = !0;
|
|
1253
1263
|
}
|
|
@@ -1256,7 +1266,7 @@ function hi(e) {
|
|
|
1256
1266
|
if (i === "o") {
|
|
1257
1267
|
for (n++; n < t; n++)
|
|
1258
1268
|
if (i = e[n], i !== "_") {
|
|
1259
|
-
if (!
|
|
1269
|
+
if (!hi(e.charCodeAt(n)))
|
|
1260
1270
|
return !1;
|
|
1261
1271
|
r = !0;
|
|
1262
1272
|
}
|
|
@@ -1267,13 +1277,13 @@ function hi(e) {
|
|
|
1267
1277
|
return !1;
|
|
1268
1278
|
for (; n < t; n++)
|
|
1269
1279
|
if (i = e[n], i !== "_") {
|
|
1270
|
-
if (!
|
|
1280
|
+
if (!mi(e.charCodeAt(n)))
|
|
1271
1281
|
return !1;
|
|
1272
1282
|
r = !0;
|
|
1273
1283
|
}
|
|
1274
1284
|
return !(!r || i === "_");
|
|
1275
1285
|
}
|
|
1276
|
-
function
|
|
1286
|
+
function yi(e) {
|
|
1277
1287
|
var t = e, n = 1, r;
|
|
1278
1288
|
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0")
|
|
1279
1289
|
return 0;
|
|
@@ -1287,14 +1297,14 @@ function mi(e) {
|
|
|
1287
1297
|
}
|
|
1288
1298
|
return n * parseInt(t, 10);
|
|
1289
1299
|
}
|
|
1290
|
-
function
|
|
1300
|
+
function vi(e) {
|
|
1291
1301
|
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !G.isNegativeZero(e);
|
|
1292
1302
|
}
|
|
1293
1303
|
var zt = new Z("tag:yaml.org,2002:int", {
|
|
1294
1304
|
kind: "scalar",
|
|
1295
|
-
resolve:
|
|
1296
|
-
construct:
|
|
1297
|
-
predicate:
|
|
1305
|
+
resolve: gi,
|
|
1306
|
+
construct: yi,
|
|
1307
|
+
predicate: vi,
|
|
1298
1308
|
represent: {
|
|
1299
1309
|
binary: function(e) {
|
|
1300
1310
|
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
@@ -1317,21 +1327,21 @@ var zt = new Z("tag:yaml.org,2002:int", {
|
|
|
1317
1327
|
decimal: [10, "dec"],
|
|
1318
1328
|
hexadecimal: [16, "hex"]
|
|
1319
1329
|
}
|
|
1320
|
-
}),
|
|
1330
|
+
}), bi = new RegExp(
|
|
1321
1331
|
// 2.5e4, 2.5 and integers
|
|
1322
1332
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
1323
1333
|
);
|
|
1324
|
-
function
|
|
1325
|
-
return !(e === null || !
|
|
1334
|
+
function xi(e) {
|
|
1335
|
+
return !(e === null || !bi.test(e) || // Quick hack to not allow integers end with `_`
|
|
1326
1336
|
// Probably should update regexp & check speed
|
|
1327
1337
|
e[e.length - 1] === "_");
|
|
1328
1338
|
}
|
|
1329
|
-
function
|
|
1339
|
+
function Ci(e) {
|
|
1330
1340
|
var t, n;
|
|
1331
1341
|
return t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1, "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : t === ".nan" ? NaN : n * parseFloat(t, 10);
|
|
1332
1342
|
}
|
|
1333
|
-
var
|
|
1334
|
-
function
|
|
1343
|
+
var _i = /^[-+]?[0-9]+e/;
|
|
1344
|
+
function ki(e, t) {
|
|
1335
1345
|
var n;
|
|
1336
1346
|
if (isNaN(e))
|
|
1337
1347
|
switch (t) {
|
|
@@ -1362,17 +1372,17 @@ function Ci(e, t) {
|
|
|
1362
1372
|
}
|
|
1363
1373
|
else if (G.isNegativeZero(e))
|
|
1364
1374
|
return "-0.0";
|
|
1365
|
-
return n = e.toString(10),
|
|
1375
|
+
return n = e.toString(10), _i.test(n) ? n.replace("e", ".e") : n;
|
|
1366
1376
|
}
|
|
1367
|
-
function
|
|
1377
|
+
function Ai(e) {
|
|
1368
1378
|
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || G.isNegativeZero(e));
|
|
1369
1379
|
}
|
|
1370
1380
|
var Wt = new Z("tag:yaml.org,2002:float", {
|
|
1371
1381
|
kind: "scalar",
|
|
1372
|
-
resolve:
|
|
1373
|
-
construct:
|
|
1374
|
-
predicate:
|
|
1375
|
-
represent:
|
|
1382
|
+
resolve: xi,
|
|
1383
|
+
construct: Ci,
|
|
1384
|
+
predicate: Ai,
|
|
1385
|
+
represent: ki,
|
|
1376
1386
|
defaultStyle: "lowercase"
|
|
1377
1387
|
}), Jt = Ht.extend({
|
|
1378
1388
|
implicit: [
|
|
@@ -1386,10 +1396,10 @@ var Wt = new Z("tag:yaml.org,2002:float", {
|
|
|
1386
1396
|
), Qt = new RegExp(
|
|
1387
1397
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
|
|
1388
1398
|
);
|
|
1389
|
-
function
|
|
1399
|
+
function wi(e) {
|
|
1390
1400
|
return e === null ? !1 : Zt.exec(e) !== null || Qt.exec(e) !== null;
|
|
1391
1401
|
}
|
|
1392
|
-
function
|
|
1402
|
+
function Si(e) {
|
|
1393
1403
|
var t, n, r, i, a, o, l, s = 0, u = null, d, c, p;
|
|
1394
1404
|
if (t = Zt.exec(e), t === null && (t = Qt.exec(e)), t === null)
|
|
1395
1405
|
throw new Error("Date resolve error");
|
|
@@ -1402,25 +1412,25 @@ function Ai(e) {
|
|
|
1402
1412
|
}
|
|
1403
1413
|
return t[9] && (d = +t[10], c = +(t[11] || 0), u = (d * 60 + c) * 6e4, t[9] === "-" && (u = -u)), p = new Date(Date.UTC(n, r, i, a, o, l, s)), u && p.setTime(p.getTime() - u), p;
|
|
1404
1414
|
}
|
|
1405
|
-
function
|
|
1415
|
+
function Ii(e) {
|
|
1406
1416
|
return e.toISOString();
|
|
1407
1417
|
}
|
|
1408
1418
|
var Xt = new Z("tag:yaml.org,2002:timestamp", {
|
|
1409
1419
|
kind: "scalar",
|
|
1410
|
-
resolve:
|
|
1411
|
-
construct:
|
|
1420
|
+
resolve: wi,
|
|
1421
|
+
construct: Si,
|
|
1412
1422
|
instanceOf: Date,
|
|
1413
|
-
represent:
|
|
1423
|
+
represent: Ii
|
|
1414
1424
|
});
|
|
1415
|
-
function
|
|
1425
|
+
function Ei(e) {
|
|
1416
1426
|
return e === "<<" || e === null;
|
|
1417
1427
|
}
|
|
1418
1428
|
var en = new Z("tag:yaml.org,2002:merge", {
|
|
1419
1429
|
kind: "scalar",
|
|
1420
|
-
resolve:
|
|
1430
|
+
resolve: Ei
|
|
1421
1431
|
}), Xe = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
1422
1432
|
\r`;
|
|
1423
|
-
function
|
|
1433
|
+
function Ti(e) {
|
|
1424
1434
|
if (e === null)
|
|
1425
1435
|
return !1;
|
|
1426
1436
|
var t, n, r = 0, i = e.length, a = Xe;
|
|
@@ -1432,37 +1442,37 @@ function Ii(e) {
|
|
|
1432
1442
|
}
|
|
1433
1443
|
return r % 8 === 0;
|
|
1434
1444
|
}
|
|
1435
|
-
function
|
|
1445
|
+
function Fi(e) {
|
|
1436
1446
|
var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = Xe, o = 0, l = [];
|
|
1437
1447
|
for (t = 0; t < i; t++)
|
|
1438
1448
|
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));
|
|
1439
1449
|
return n = i % 4 * 6, n === 0 ? (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)) : n === 18 ? (l.push(o >> 10 & 255), l.push(o >> 2 & 255)) : n === 12 && l.push(o >> 4 & 255), new Uint8Array(l);
|
|
1440
1450
|
}
|
|
1441
|
-
function
|
|
1451
|
+
function Oi(e) {
|
|
1442
1452
|
var t = "", n = 0, r, i, a = e.length, o = Xe;
|
|
1443
1453
|
for (r = 0; r < a; r++)
|
|
1444
1454
|
r % 3 === 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
|
|
1445
1455
|
return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
|
|
1446
1456
|
}
|
|
1447
|
-
function
|
|
1457
|
+
function $i(e) {
|
|
1448
1458
|
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
1449
1459
|
}
|
|
1450
1460
|
var tn = new Z("tag:yaml.org,2002:binary", {
|
|
1451
1461
|
kind: "scalar",
|
|
1452
|
-
resolve:
|
|
1453
|
-
construct:
|
|
1454
|
-
predicate:
|
|
1455
|
-
represent:
|
|
1456
|
-
}),
|
|
1457
|
-
function
|
|
1462
|
+
resolve: Ti,
|
|
1463
|
+
construct: Fi,
|
|
1464
|
+
predicate: $i,
|
|
1465
|
+
represent: Oi
|
|
1466
|
+
}), Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.toString;
|
|
1467
|
+
function Bi(e) {
|
|
1458
1468
|
if (e === null)
|
|
1459
1469
|
return !0;
|
|
1460
1470
|
var t = [], n, r, i, a, o, l = e;
|
|
1461
1471
|
for (n = 0, r = l.length; n < r; n += 1) {
|
|
1462
|
-
if (i = l[n], o = !1,
|
|
1472
|
+
if (i = l[n], o = !1, Ni.call(i) !== "[object Object]")
|
|
1463
1473
|
return !1;
|
|
1464
1474
|
for (a in i)
|
|
1465
|
-
if (
|
|
1475
|
+
if (Li.call(i, a))
|
|
1466
1476
|
if (!o)
|
|
1467
1477
|
o = !0;
|
|
1468
1478
|
else
|
|
@@ -1476,26 +1486,26 @@ function $i(e) {
|
|
|
1476
1486
|
}
|
|
1477
1487
|
return !0;
|
|
1478
1488
|
}
|
|
1479
|
-
function
|
|
1489
|
+
function Ri(e) {
|
|
1480
1490
|
return e !== null ? e : [];
|
|
1481
1491
|
}
|
|
1482
1492
|
var nn = new Z("tag:yaml.org,2002:omap", {
|
|
1483
1493
|
kind: "sequence",
|
|
1484
|
-
resolve:
|
|
1485
|
-
construct:
|
|
1486
|
-
}),
|
|
1487
|
-
function
|
|
1494
|
+
resolve: Bi,
|
|
1495
|
+
construct: Ri
|
|
1496
|
+
}), Ki = Object.prototype.toString;
|
|
1497
|
+
function Mi(e) {
|
|
1488
1498
|
if (e === null)
|
|
1489
1499
|
return !0;
|
|
1490
1500
|
var t, n, r, i, a, o = e;
|
|
1491
1501
|
for (a = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
|
|
1492
|
-
if (r = o[t],
|
|
1502
|
+
if (r = o[t], Ki.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1))
|
|
1493
1503
|
return !1;
|
|
1494
1504
|
a[t] = [i[0], r[i[0]]];
|
|
1495
1505
|
}
|
|
1496
1506
|
return !0;
|
|
1497
1507
|
}
|
|
1498
|
-
function
|
|
1508
|
+
function Di(e) {
|
|
1499
1509
|
if (e === null)
|
|
1500
1510
|
return [];
|
|
1501
1511
|
var t, n, r, i, a, o = e;
|
|
@@ -1505,25 +1515,25 @@ function Ki(e) {
|
|
|
1505
1515
|
}
|
|
1506
1516
|
var rn = new Z("tag:yaml.org,2002:pairs", {
|
|
1507
1517
|
kind: "sequence",
|
|
1508
|
-
resolve:
|
|
1509
|
-
construct:
|
|
1510
|
-
}),
|
|
1511
|
-
function
|
|
1518
|
+
resolve: Mi,
|
|
1519
|
+
construct: Di
|
|
1520
|
+
}), ji = Object.prototype.hasOwnProperty;
|
|
1521
|
+
function Ui(e) {
|
|
1512
1522
|
if (e === null)
|
|
1513
1523
|
return !0;
|
|
1514
1524
|
var t, n = e;
|
|
1515
1525
|
for (t in n)
|
|
1516
|
-
if (
|
|
1526
|
+
if (ji.call(n, t) && n[t] !== null)
|
|
1517
1527
|
return !1;
|
|
1518
1528
|
return !0;
|
|
1519
1529
|
}
|
|
1520
|
-
function
|
|
1530
|
+
function qi(e) {
|
|
1521
1531
|
return e !== null ? e : {};
|
|
1522
1532
|
}
|
|
1523
1533
|
var an = new Z("tag:yaml.org,2002:set", {
|
|
1524
1534
|
kind: "mapping",
|
|
1525
|
-
resolve:
|
|
1526
|
-
construct:
|
|
1535
|
+
resolve: Ui,
|
|
1536
|
+
construct: qi
|
|
1527
1537
|
}), et = Gt.extend({
|
|
1528
1538
|
implicit: [
|
|
1529
1539
|
Xt,
|
|
@@ -1535,7 +1545,7 @@ var an = new Z("tag:yaml.org,2002:set", {
|
|
|
1535
1545
|
rn,
|
|
1536
1546
|
an
|
|
1537
1547
|
]
|
|
1538
|
-
}), de = Object.prototype.hasOwnProperty, Ne = 1, on = 2, ln = 3, Be = 4,
|
|
1548
|
+
}), de = Object.prototype.hasOwnProperty, Ne = 1, on = 2, ln = 3, Be = 4, He = 1, Pi = 2, ht = 3, Hi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vi = /[\x85\u2028\u2029]/, Yi = /[,\[\]\{\}]/, sn = /^(?:!|!!|![a-z\-]+!)$/i, cn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1539
1549
|
function mt(e) {
|
|
1540
1550
|
return Object.prototype.toString.call(e);
|
|
1541
1551
|
}
|
|
@@ -1551,21 +1561,21 @@ function te(e) {
|
|
|
1551
1561
|
function xe(e) {
|
|
1552
1562
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
1553
1563
|
}
|
|
1554
|
-
function
|
|
1564
|
+
function zi(e) {
|
|
1555
1565
|
var t;
|
|
1556
1566
|
return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
|
|
1557
1567
|
}
|
|
1558
|
-
function
|
|
1568
|
+
function Wi(e) {
|
|
1559
1569
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
1560
1570
|
}
|
|
1561
|
-
function
|
|
1571
|
+
function Ji(e) {
|
|
1562
1572
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
1563
1573
|
}
|
|
1564
1574
|
function gt(e) {
|
|
1565
1575
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
1566
1576
|
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
1567
1577
|
}
|
|
1568
|
-
function
|
|
1578
|
+
function Gi(e) {
|
|
1569
1579
|
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
|
|
1570
1580
|
(e - 65536 >> 10) + 55296,
|
|
1571
1581
|
(e - 65536 & 1023) + 56320
|
|
@@ -1574,7 +1584,7 @@ function Wi(e) {
|
|
|
1574
1584
|
var un = new Array(256), dn = new Array(256);
|
|
1575
1585
|
for (var ye = 0; ye < 256; ye++)
|
|
1576
1586
|
un[ye] = gt(ye) ? 1 : 0, dn[ye] = gt(ye);
|
|
1577
|
-
function
|
|
1587
|
+
function Zi(e, t) {
|
|
1578
1588
|
this.input = e, this.filename = t.filename || null, this.schema = t.schema || et, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
|
|
1579
1589
|
}
|
|
1580
1590
|
function fn(e, t) {
|
|
@@ -1586,7 +1596,7 @@ function fn(e, t) {
|
|
|
1586
1596
|
line: e.line,
|
|
1587
1597
|
column: e.position - e.lineStart
|
|
1588
1598
|
};
|
|
1589
|
-
return n.snippet =
|
|
1599
|
+
return n.snippet = ti(n), new X(t, n);
|
|
1590
1600
|
}
|
|
1591
1601
|
function C(e, t) {
|
|
1592
1602
|
throw fn(e, t);
|
|
@@ -1617,7 +1627,7 @@ function ce(e, t, n, r) {
|
|
|
1617
1627
|
for (i = 0, a = l.length; i < a; i += 1)
|
|
1618
1628
|
o = l.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || C(e, "expected valid JSON character");
|
|
1619
1629
|
else
|
|
1620
|
-
|
|
1630
|
+
Hi.test(l) && C(e, "the stream contains non-printable characters");
|
|
1621
1631
|
e.result += l;
|
|
1622
1632
|
}
|
|
1623
1633
|
}
|
|
@@ -1666,7 +1676,7 @@ function W(e, t, n) {
|
|
|
1666
1676
|
}
|
|
1667
1677
|
return n !== -1 && r !== 0 && e.lineIndent < n && Re(e, "deficient indentation"), r;
|
|
1668
1678
|
}
|
|
1669
|
-
function
|
|
1679
|
+
function je(e) {
|
|
1670
1680
|
var t = e.position, n;
|
|
1671
1681
|
return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || te(n)));
|
|
1672
1682
|
}
|
|
@@ -1674,7 +1684,7 @@ function nt(e, t) {
|
|
|
1674
1684
|
t === 1 ? e.result += " " : t > 1 && (e.result += G.repeat(`
|
|
1675
1685
|
`, t - 1));
|
|
1676
1686
|
}
|
|
1677
|
-
function
|
|
1687
|
+
function Qi(e, t, n) {
|
|
1678
1688
|
var r, i, a, o, l, s, u, d, c = e.kind, p = e.result, f;
|
|
1679
1689
|
if (f = e.input.charCodeAt(e.position), te(f) || xe(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), te(i) || n && xe(i)))
|
|
1680
1690
|
return !1;
|
|
@@ -1686,7 +1696,7 @@ function Gi(e, t, n) {
|
|
|
1686
1696
|
if (r = e.input.charCodeAt(e.position - 1), te(r))
|
|
1687
1697
|
break;
|
|
1688
1698
|
} else {
|
|
1689
|
-
if (e.position === e.lineStart &&
|
|
1699
|
+
if (e.position === e.lineStart && je(e) || n && xe(f))
|
|
1690
1700
|
break;
|
|
1691
1701
|
if (ae(f))
|
|
1692
1702
|
if (s = e.line, u = e.lineStart, d = e.lineIndent, W(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -1701,7 +1711,7 @@ function Gi(e, t, n) {
|
|
|
1701
1711
|
}
|
|
1702
1712
|
return ce(e, a, o, !1), e.result ? !0 : (e.kind = c, e.result = p, !1);
|
|
1703
1713
|
}
|
|
1704
|
-
function
|
|
1714
|
+
function Xi(e, t) {
|
|
1705
1715
|
var n, r, i;
|
|
1706
1716
|
if (n = e.input.charCodeAt(e.position), n !== 39)
|
|
1707
1717
|
return !1;
|
|
@@ -1712,10 +1722,10 @@ function Zi(e, t) {
|
|
|
1712
1722
|
else
|
|
1713
1723
|
return !0;
|
|
1714
1724
|
else
|
|
1715
|
-
ae(n) ? (ce(e, r, i, !0), nt(e, W(e, !1, t)), r = i = e.position) : e.position === e.lineStart &&
|
|
1725
|
+
ae(n) ? (ce(e, r, i, !0), nt(e, W(e, !1, t)), r = i = e.position) : e.position === e.lineStart && je(e) ? C(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
|
|
1716
1726
|
C(e, "unexpected end of the stream within a single quoted scalar");
|
|
1717
1727
|
}
|
|
1718
|
-
function
|
|
1728
|
+
function ea(e, t) {
|
|
1719
1729
|
var n, r, i, a, o, l;
|
|
1720
1730
|
if (l = e.input.charCodeAt(e.position), l !== 34)
|
|
1721
1731
|
return !1;
|
|
@@ -1727,19 +1737,19 @@ function Qi(e, t) {
|
|
|
1727
1737
|
W(e, !1, t);
|
|
1728
1738
|
else if (l < 256 && un[l])
|
|
1729
1739
|
e.result += dn[l], e.position++;
|
|
1730
|
-
else if ((o =
|
|
1740
|
+
else if ((o = Wi(l)) > 0) {
|
|
1731
1741
|
for (i = o, a = 0; i > 0; i--)
|
|
1732
|
-
l = e.input.charCodeAt(++e.position), (o =
|
|
1733
|
-
e.result +=
|
|
1742
|
+
l = e.input.charCodeAt(++e.position), (o = zi(l)) >= 0 ? a = (a << 4) + o : C(e, "expected hexadecimal character");
|
|
1743
|
+
e.result += Gi(a), e.position++;
|
|
1734
1744
|
} else
|
|
1735
1745
|
C(e, "unknown escape sequence");
|
|
1736
1746
|
n = r = e.position;
|
|
1737
1747
|
} else
|
|
1738
|
-
ae(l) ? (ce(e, n, r, !0), nt(e, W(e, !1, t)), n = r = e.position) : e.position === e.lineStart &&
|
|
1748
|
+
ae(l) ? (ce(e, n, r, !0), nt(e, W(e, !1, t)), n = r = e.position) : e.position === e.lineStart && je(e) ? C(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
|
|
1739
1749
|
}
|
|
1740
1750
|
C(e, "unexpected end of the stream within a double quoted scalar");
|
|
1741
1751
|
}
|
|
1742
|
-
function
|
|
1752
|
+
function ta(e, t) {
|
|
1743
1753
|
var n = !0, r, i, a, o = e.tag, l, s = e.anchor, u, d, c, p, f, b = /* @__PURE__ */ Object.create(null), g, _, M, E;
|
|
1744
1754
|
if (E = e.input.charCodeAt(e.position), E === 91)
|
|
1745
1755
|
d = 93, f = !1, l = [];
|
|
@@ -1754,8 +1764,8 @@ function Xi(e, t) {
|
|
|
1754
1764
|
}
|
|
1755
1765
|
C(e, "unexpected end of the stream within a flow collection");
|
|
1756
1766
|
}
|
|
1757
|
-
function
|
|
1758
|
-
var n, r, i =
|
|
1767
|
+
function na(e, t) {
|
|
1768
|
+
var n, r, i = He, a = !1, o = !1, l = t, s = 0, u = !1, d, c;
|
|
1759
1769
|
if (c = e.input.charCodeAt(e.position), c === 124)
|
|
1760
1770
|
r = !1;
|
|
1761
1771
|
else if (c === 62)
|
|
@@ -1764,8 +1774,8 @@ function ea(e, t) {
|
|
|
1764
1774
|
return !1;
|
|
1765
1775
|
for (e.kind = "scalar", e.result = ""; c !== 0; )
|
|
1766
1776
|
if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
|
|
1767
|
-
|
|
1768
|
-
else if ((d =
|
|
1777
|
+
He === i ? i = c === 43 ? ht : Pi : C(e, "repeat of a chomping mode identifier");
|
|
1778
|
+
else if ((d = Ji(c)) >= 0)
|
|
1769
1779
|
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);
|
|
1770
1780
|
else
|
|
1771
1781
|
break;
|
|
@@ -1787,7 +1797,7 @@ function ea(e, t) {
|
|
|
1787
1797
|
}
|
|
1788
1798
|
if (e.lineIndent < l) {
|
|
1789
1799
|
i === ht ? e.result += G.repeat(`
|
|
1790
|
-
`, a ? 1 + s : s) : i ===
|
|
1800
|
+
`, a ? 1 + s : s) : i === He && a && (e.result += `
|
|
1791
1801
|
`);
|
|
1792
1802
|
break;
|
|
1793
1803
|
}
|
|
@@ -1817,7 +1827,7 @@ function bt(e, t) {
|
|
|
1817
1827
|
}
|
|
1818
1828
|
return l ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
|
|
1819
1829
|
}
|
|
1820
|
-
function
|
|
1830
|
+
function ra(e, t, n) {
|
|
1821
1831
|
var r, i, a, o, l, s, u = e.tag, d = e.anchor, c = {}, p = /* @__PURE__ */ Object.create(null), f = null, b = null, g = null, _ = !1, M = !1, E;
|
|
1822
1832
|
if (e.firstTabInLine !== -1)
|
|
1823
1833
|
return !1;
|
|
@@ -1848,7 +1858,7 @@ function ta(e, t, n) {
|
|
|
1848
1858
|
}
|
|
1849
1859
|
return _ && Ce(e, c, p, f, b, null, o, l, s), M && (e.tag = u, e.anchor = d, e.kind = "mapping", e.result = c), M;
|
|
1850
1860
|
}
|
|
1851
|
-
function
|
|
1861
|
+
function ia(e) {
|
|
1852
1862
|
var t, n = !1, r = !1, i, a, o;
|
|
1853
1863
|
if (o = e.input.charCodeAt(e.position), o !== 33)
|
|
1854
1864
|
return !1;
|
|
@@ -1860,7 +1870,7 @@ function na(e) {
|
|
|
1860
1870
|
} else {
|
|
1861
1871
|
for (; o !== 0 && !te(o); )
|
|
1862
1872
|
o === 33 && (r ? C(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), sn.test(i) || C(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
|
|
1863
|
-
a = e.input.slice(t, e.position),
|
|
1873
|
+
a = e.input.slice(t, e.position), Yi.test(a) && C(e, "tag suffix cannot contain flow indicator characters");
|
|
1864
1874
|
}
|
|
1865
1875
|
a && !cn.test(a) && C(e, "tag name cannot contain such characters: " + a);
|
|
1866
1876
|
try {
|
|
@@ -1870,7 +1880,7 @@ function na(e) {
|
|
|
1870
1880
|
}
|
|
1871
1881
|
return n ? e.tag = a : de.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : C(e, 'undeclared tag handle "' + i + '"'), !0;
|
|
1872
1882
|
}
|
|
1873
|
-
function
|
|
1883
|
+
function aa(e) {
|
|
1874
1884
|
var t, n;
|
|
1875
1885
|
if (n = e.input.charCodeAt(e.position), n !== 38)
|
|
1876
1886
|
return !1;
|
|
@@ -1878,7 +1888,7 @@ function ra(e) {
|
|
|
1878
1888
|
n = e.input.charCodeAt(++e.position);
|
|
1879
1889
|
return e.position === t && C(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
1880
1890
|
}
|
|
1881
|
-
function
|
|
1891
|
+
function oa(e) {
|
|
1882
1892
|
var t, n, r;
|
|
1883
1893
|
if (r = e.input.charCodeAt(e.position), r !== 42)
|
|
1884
1894
|
return !1;
|
|
@@ -1889,9 +1899,9 @@ function ia(e) {
|
|
|
1889
1899
|
function ke(e, t, n, r, i) {
|
|
1890
1900
|
var a, o, l, s = 1, u = !1, d = !1, c, p, f, b, g, _;
|
|
1891
1901
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Be === n || ln === n, r && W(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
|
|
1892
|
-
for (;
|
|
1902
|
+
for (; ia(e) || aa(e); )
|
|
1893
1903
|
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;
|
|
1894
|
-
if (l && (l = u || i), (s === 1 || Be === n) && (Ne === n || on === n ? g = t : g = t + 1, _ = e.position - e.lineStart, s === 1 ? l && (bt(e, _) ||
|
|
1904
|
+
if (l && (l = u || i), (s === 1 || Be === n) && (Ne === n || on === n ? g = t : g = t + 1, _ = e.position - e.lineStart, s === 1 ? l && (bt(e, _) || ra(e, _, g)) || ta(e, g) ? d = !0 : (o && na(e, g) || Xi(e, g) || ea(e, g) ? d = !0 : oa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Qi(e, g, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, _))), e.tag === null)
|
|
1895
1905
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1896
1906
|
else if (e.tag === "?") {
|
|
1897
1907
|
for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, p = e.implicitTypes.length; c < p; c += 1)
|
|
@@ -1912,7 +1922,7 @@ function ke(e, t, n, r, i) {
|
|
|
1912
1922
|
}
|
|
1913
1923
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
|
|
1914
1924
|
}
|
|
1915
|
-
function
|
|
1925
|
+
function la(e) {
|
|
1916
1926
|
var t = e.position, n, r, i, a = !1, o;
|
|
1917
1927
|
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)); ) {
|
|
1918
1928
|
for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !te(o); )
|
|
@@ -1934,7 +1944,7 @@ function aa(e) {
|
|
|
1934
1944
|
}
|
|
1935
1945
|
o !== 0 && tt(e), de.call(yt, r) ? yt[r](e, r, i) : Re(e, 'unknown document directive "' + r + '"');
|
|
1936
1946
|
}
|
|
1937
|
-
if (W(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, W(e, !0, -1)) : a && C(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Be, !1, !0), W(e, !0, -1), e.checkLineBreaks &&
|
|
1947
|
+
if (W(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, W(e, !0, -1)) : a && C(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Be, !1, !0), W(e, !0, -1), e.checkLineBreaks && Vi.test(e.input.slice(t, e.position)) && Re(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
|
|
1938
1948
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, W(e, !0, -1));
|
|
1939
1949
|
return;
|
|
1940
1950
|
}
|
|
@@ -1946,14 +1956,14 @@ function aa(e) {
|
|
|
1946
1956
|
function pn(e, t) {
|
|
1947
1957
|
e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
|
|
1948
1958
|
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
1949
|
-
var n = new
|
|
1959
|
+
var n = new Zi(e, t), r = e.indexOf("\0");
|
|
1950
1960
|
for (r !== -1 && (n.position = r, C(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
|
|
1951
1961
|
n.lineIndent += 1, n.position += 1;
|
|
1952
1962
|
for (; n.position < n.length - 1; )
|
|
1953
|
-
|
|
1963
|
+
la(n);
|
|
1954
1964
|
return n.documents;
|
|
1955
1965
|
}
|
|
1956
|
-
function
|
|
1966
|
+
function sa(e, t, n) {
|
|
1957
1967
|
t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
|
|
1958
1968
|
var r = pn(e, n);
|
|
1959
1969
|
if (typeof t != "function")
|
|
@@ -1961,7 +1971,7 @@ function oa(e, t, n) {
|
|
|
1961
1971
|
for (var i = 0, a = r.length; i < a; i += 1)
|
|
1962
1972
|
t(r[i]);
|
|
1963
1973
|
}
|
|
1964
|
-
function
|
|
1974
|
+
function ca(e, t) {
|
|
1965
1975
|
var n = pn(e, t);
|
|
1966
1976
|
if (n.length !== 0) {
|
|
1967
1977
|
if (n.length === 1)
|
|
@@ -1969,10 +1979,10 @@ function la(e, t) {
|
|
|
1969
1979
|
throw new X("expected a single document in the stream, but found more");
|
|
1970
1980
|
}
|
|
1971
1981
|
}
|
|
1972
|
-
var
|
|
1973
|
-
loadAll:
|
|
1974
|
-
load:
|
|
1975
|
-
}, mn = Object.prototype.toString, gn = Object.prototype.hasOwnProperty, rt = 65279,
|
|
1982
|
+
var ua = sa, da = ca, hn = {
|
|
1983
|
+
loadAll: ua,
|
|
1984
|
+
load: da
|
|
1985
|
+
}, mn = Object.prototype.toString, gn = Object.prototype.hasOwnProperty, rt = 65279, fa = 9, Ie = 10, pa = 13, ha = 32, ma = 33, ga = 34, ze = 35, ya = 37, va = 38, ba = 39, xa = 42, yn = 44, Ca = 45, Ke = 58, _a = 61, ka = 62, Aa = 63, wa = 64, vn = 91, bn = 93, Sa = 96, xn = 123, Ia = 124, Cn = 125, Q = {};
|
|
1976
1986
|
Q[0] = "\\0";
|
|
1977
1987
|
Q[7] = "\\a";
|
|
1978
1988
|
Q[8] = "\\b";
|
|
@@ -1988,7 +1998,7 @@ Q[133] = "\\N";
|
|
|
1988
1998
|
Q[160] = "\\_";
|
|
1989
1999
|
Q[8232] = "\\L";
|
|
1990
2000
|
Q[8233] = "\\P";
|
|
1991
|
-
var
|
|
2001
|
+
var Ea = [
|
|
1992
2002
|
"y",
|
|
1993
2003
|
"Y",
|
|
1994
2004
|
"yes",
|
|
@@ -2005,8 +2015,8 @@ var Sa = [
|
|
|
2005
2015
|
"off",
|
|
2006
2016
|
"Off",
|
|
2007
2017
|
"OFF"
|
|
2008
|
-
],
|
|
2009
|
-
function
|
|
2018
|
+
], Ta = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
2019
|
+
function Fa(e, t) {
|
|
2010
2020
|
var n, r, i, a, o, l, s;
|
|
2011
2021
|
if (t === null)
|
|
2012
2022
|
return {};
|
|
@@ -2014,7 +2024,7 @@ function Ea(e, t) {
|
|
|
2014
2024
|
o = r[i], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && gn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[o] = l;
|
|
2015
2025
|
return n;
|
|
2016
2026
|
}
|
|
2017
|
-
function
|
|
2027
|
+
function Oa(e) {
|
|
2018
2028
|
var t, n, r;
|
|
2019
2029
|
if (t = e.toString(16).toUpperCase(), e <= 255)
|
|
2020
2030
|
n = "x", r = 2;
|
|
@@ -2026,9 +2036,9 @@ function Ta(e) {
|
|
|
2026
2036
|
throw new X("code point within a string may not be greater than 0xFFFFFFFF");
|
|
2027
2037
|
return "\\" + n + G.repeat("0", r - t.length) + t;
|
|
2028
2038
|
}
|
|
2029
|
-
var
|
|
2030
|
-
function
|
|
2031
|
-
this.schema = e.schema || et, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = G.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap =
|
|
2039
|
+
var $a = 1, Ee = 2;
|
|
2040
|
+
function La(e) {
|
|
2041
|
+
this.schema = e.schema || et, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = G.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Fa(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? Ee : $a, 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;
|
|
2032
2042
|
}
|
|
2033
2043
|
function xt(e, t) {
|
|
2034
2044
|
for (var n = G.repeat(" ", t), r = 0, i = -1, a = "", o, l = e.length; r < l; )
|
|
@@ -2037,11 +2047,11 @@ function xt(e, t) {
|
|
|
2037
2047
|
` && (a += n), a += o;
|
|
2038
2048
|
return a;
|
|
2039
2049
|
}
|
|
2040
|
-
function
|
|
2050
|
+
function We(e, t) {
|
|
2041
2051
|
return `
|
|
2042
2052
|
` + G.repeat(" ", e.indent * t);
|
|
2043
2053
|
}
|
|
2044
|
-
function
|
|
2054
|
+
function Na(e, t) {
|
|
2045
2055
|
var n, r, i;
|
|
2046
2056
|
for (n = 0, r = e.implicitTypes.length; n < r; n += 1)
|
|
2047
2057
|
if (i = e.implicitTypes[n], i.resolve(t))
|
|
@@ -2049,13 +2059,13 @@ function La(e, t) {
|
|
|
2049
2059
|
return !1;
|
|
2050
2060
|
}
|
|
2051
2061
|
function Me(e) {
|
|
2052
|
-
return e ===
|
|
2062
|
+
return e === ha || e === fa;
|
|
2053
2063
|
}
|
|
2054
2064
|
function Te(e) {
|
|
2055
2065
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== rt || 65536 <= e && e <= 1114111;
|
|
2056
2066
|
}
|
|
2057
2067
|
function Ct(e) {
|
|
2058
|
-
return Te(e) && e !== rt && e !==
|
|
2068
|
+
return Te(e) && e !== rt && e !== pa && e !== Ie;
|
|
2059
2069
|
}
|
|
2060
2070
|
function _t(e, t, n) {
|
|
2061
2071
|
var r = Ct(e), i = r && !Me(e);
|
|
@@ -2064,13 +2074,13 @@ function _t(e, t, n) {
|
|
|
2064
2074
|
(n ? (
|
|
2065
2075
|
// c = flow-in
|
|
2066
2076
|
r
|
|
2067
|
-
) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !==
|
|
2077
|
+
) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !== ze && !(t === Ke && !i) || Ct(t) && !Me(t) && e === ze || t === Ke && i
|
|
2068
2078
|
);
|
|
2069
2079
|
}
|
|
2070
|
-
function
|
|
2071
|
-
return Te(e) && e !== rt && !Me(e) && e !==
|
|
2080
|
+
function Ba(e) {
|
|
2081
|
+
return Te(e) && e !== rt && !Me(e) && e !== Ca && e !== Aa && e !== Ke && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn && e !== ze && e !== va && e !== xa && e !== ma && e !== Ia && e !== _a && e !== ka && e !== ba && e !== ga && e !== ya && e !== wa && e !== Sa;
|
|
2072
2082
|
}
|
|
2073
|
-
function
|
|
2083
|
+
function Ra(e) {
|
|
2074
2084
|
return !Me(e) && e !== Ke;
|
|
2075
2085
|
}
|
|
2076
2086
|
function we(e, t) {
|
|
@@ -2081,9 +2091,9 @@ function _n(e) {
|
|
|
2081
2091
|
var t = /^\n* /;
|
|
2082
2092
|
return t.test(e);
|
|
2083
2093
|
}
|
|
2084
|
-
var kn = 1,
|
|
2085
|
-
function
|
|
2086
|
-
var s, u = 0, d = null, c = !1, p = !1, f = r !== -1, b = -1, g =
|
|
2094
|
+
var kn = 1, Je = 2, An = 3, wn = 4, be = 5;
|
|
2095
|
+
function Ka(e, t, n, r, i, a, o, l) {
|
|
2096
|
+
var s, u = 0, d = null, c = !1, p = !1, f = r !== -1, b = -1, g = Ba(we(e, 0)) && Ra(we(e, e.length - 1));
|
|
2087
2097
|
if (t || o)
|
|
2088
2098
|
for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
|
|
2089
2099
|
if (u = we(e, s), !Te(u))
|
|
@@ -2101,19 +2111,19 @@ function Ba(e, t, n, r, i, a, o, l) {
|
|
|
2101
2111
|
}
|
|
2102
2112
|
p = p || f && s - b - 1 > r && e[b + 1] !== " ";
|
|
2103
2113
|
}
|
|
2104
|
-
return !c && !p ? g && !o && !i(e) ? kn : a === Ee ? be :
|
|
2114
|
+
return !c && !p ? g && !o && !i(e) ? kn : a === Ee ? be : Je : n > 9 && _n(e) ? be : o ? a === Ee ? be : Je : p ? wn : An;
|
|
2105
2115
|
}
|
|
2106
|
-
function
|
|
2116
|
+
function Ma(e, t, n, r, i) {
|
|
2107
2117
|
e.dump = function() {
|
|
2108
2118
|
if (t.length === 0)
|
|
2109
2119
|
return e.quotingType === Ee ? '""' : "''";
|
|
2110
|
-
if (!e.noCompatMode && (
|
|
2120
|
+
if (!e.noCompatMode && (Ea.indexOf(t) !== -1 || Ta.test(t)))
|
|
2111
2121
|
return e.quotingType === Ee ? '"' + t + '"' : "'" + t + "'";
|
|
2112
2122
|
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;
|
|
2113
2123
|
function s(u) {
|
|
2114
|
-
return
|
|
2124
|
+
return Na(e, u);
|
|
2115
2125
|
}
|
|
2116
|
-
switch (
|
|
2126
|
+
switch (Ka(
|
|
2117
2127
|
t,
|
|
2118
2128
|
l,
|
|
2119
2129
|
e.indent,
|
|
@@ -2125,14 +2135,14 @@ function Ra(e, t, n, r, i) {
|
|
|
2125
2135
|
)) {
|
|
2126
2136
|
case kn:
|
|
2127
2137
|
return t;
|
|
2128
|
-
case
|
|
2138
|
+
case Je:
|
|
2129
2139
|
return "'" + t.replace(/'/g, "''") + "'";
|
|
2130
2140
|
case An:
|
|
2131
2141
|
return "|" + kt(t, e.indent) + At(xt(t, a));
|
|
2132
2142
|
case wn:
|
|
2133
|
-
return ">" + kt(t, e.indent) + At(xt(
|
|
2143
|
+
return ">" + kt(t, e.indent) + At(xt(Da(t, o), a));
|
|
2134
2144
|
case be:
|
|
2135
|
-
return '"' +
|
|
2145
|
+
return '"' + ja(t) + '"';
|
|
2136
2146
|
default:
|
|
2137
2147
|
throw new X("impossible error: invalid scalar style");
|
|
2138
2148
|
}
|
|
@@ -2150,7 +2160,7 @@ function At(e) {
|
|
|
2150
2160
|
return e[e.length - 1] === `
|
|
2151
2161
|
` ? e.slice(0, -1) : e;
|
|
2152
2162
|
}
|
|
2153
|
-
function
|
|
2163
|
+
function Da(e, t) {
|
|
2154
2164
|
for (var n = /(\n+)([^\n]*)/g, r = function() {
|
|
2155
2165
|
var u = e.indexOf(`
|
|
2156
2166
|
`);
|
|
@@ -2173,12 +2183,12 @@ function wt(e, t) {
|
|
|
2173
2183
|
`, e.length - i > t && o > i ? s += e.slice(i, o) + `
|
|
2174
2184
|
` + e.slice(o + 1) : s += e.slice(i), s.slice(1);
|
|
2175
2185
|
}
|
|
2176
|
-
function
|
|
2186
|
+
function ja(e) {
|
|
2177
2187
|
for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++)
|
|
2178
|
-
n = we(e, i), r = Q[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r ||
|
|
2188
|
+
n = we(e, i), r = Q[n], !r && Te(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Oa(n);
|
|
2179
2189
|
return t;
|
|
2180
2190
|
}
|
|
2181
|
-
function
|
|
2191
|
+
function Ua(e, t, n) {
|
|
2182
2192
|
var r = "", i = e.tag, a, o, l;
|
|
2183
2193
|
for (a = 0, o = n.length; a < o; a += 1)
|
|
2184
2194
|
l = n[a], e.replacer && (l = e.replacer.call(n, String(a), l)), (se(e, t, l, !1, !1) || typeof l > "u" && se(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
|
|
@@ -2187,16 +2197,16 @@ function Da(e, t, n) {
|
|
|
2187
2197
|
function St(e, t, n, r) {
|
|
2188
2198
|
var i = "", a = e.tag, o, l, s;
|
|
2189
2199
|
for (o = 0, l = n.length; o < l; o += 1)
|
|
2190
|
-
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (se(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && se(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i +=
|
|
2200
|
+
s = n[o], e.replacer && (s = e.replacer.call(n, String(o), s)), (se(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && se(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += We(e, t)), e.dump && Ie === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
|
|
2191
2201
|
e.tag = a, e.dump = i || "[]";
|
|
2192
2202
|
}
|
|
2193
|
-
function
|
|
2203
|
+
function qa(e, t, n) {
|
|
2194
2204
|
var r = "", i = e.tag, a = Object.keys(n), o, l, s, u, d;
|
|
2195
2205
|
for (o = 0, l = a.length; o < l; o += 1)
|
|
2196
2206
|
d = "", r !== "" && (d += ", "), e.condenseFlow && (d += '"'), s = a[o], u = n[s], e.replacer && (u = e.replacer.call(n, s, u)), se(e, t, s, !1, !1) && (e.dump.length > 1024 && (d += "? "), d += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), se(e, t, u, !1, !1) && (d += e.dump, r += d));
|
|
2197
2207
|
e.tag = i, e.dump = "{" + r + "}";
|
|
2198
2208
|
}
|
|
2199
|
-
function
|
|
2209
|
+
function Pa(e, t, n, r) {
|
|
2200
2210
|
var i = "", a = e.tag, o = Object.keys(n), l, s, u, d, c, p;
|
|
2201
2211
|
if (e.sortKeys === !0)
|
|
2202
2212
|
o.sort();
|
|
@@ -2205,7 +2215,7 @@ function Ua(e, t, n, r) {
|
|
|
2205
2215
|
else if (e.sortKeys)
|
|
2206
2216
|
throw new X("sortKeys must be a boolean or a function");
|
|
2207
2217
|
for (l = 0, s = o.length; l < s; l += 1)
|
|
2208
|
-
p = "", (!r || i !== "") && (p +=
|
|
2218
|
+
p = "", (!r || i !== "") && (p += We(e, t)), u = o[l], d = n[u], e.replacer && (d = e.replacer.call(n, u, d)), se(e, t + 1, u, !0, !0, !0) && (c = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, c && (e.dump && Ie === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, c && (p += We(e, t)), se(e, t + 1, d, !0, c) && (e.dump && Ie === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
|
|
2209
2219
|
e.tag = a, e.dump = i || "{}";
|
|
2210
2220
|
}
|
|
2211
2221
|
function It(e, t, n) {
|
|
@@ -2234,11 +2244,11 @@ function se(e, t, n, r, i, a, o) {
|
|
|
2234
2244
|
e.dump = "*ref_" + c;
|
|
2235
2245
|
else {
|
|
2236
2246
|
if (d && p && !e.usedDuplicates[c] && (e.usedDuplicates[c] = !0), l === "[object Object]")
|
|
2237
|
-
r && Object.keys(e.dump).length !== 0 ? (
|
|
2247
|
+
r && Object.keys(e.dump).length !== 0 ? (Pa(e, t, e.dump, i), p && (e.dump = "&ref_" + c + e.dump)) : (qa(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
|
|
2238
2248
|
else if (l === "[object Array]")
|
|
2239
|
-
r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? St(e, t - 1, e.dump, i) : St(e, t, e.dump, i), p && (e.dump = "&ref_" + c + e.dump)) : (
|
|
2249
|
+
r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? St(e, t - 1, e.dump, i) : St(e, t, e.dump, i), p && (e.dump = "&ref_" + c + e.dump)) : (Ua(e, t, e.dump), p && (e.dump = "&ref_" + c + " " + e.dump));
|
|
2240
2250
|
else if (l === "[object String]")
|
|
2241
|
-
e.tag !== "?" &&
|
|
2251
|
+
e.tag !== "?" && Ma(e, e.dump, t, a, s);
|
|
2242
2252
|
else {
|
|
2243
2253
|
if (l === "[object Undefined]")
|
|
2244
2254
|
return !1;
|
|
@@ -2252,41 +2262,41 @@ function se(e, t, n, r, i, a, o) {
|
|
|
2252
2262
|
}
|
|
2253
2263
|
return !0;
|
|
2254
2264
|
}
|
|
2255
|
-
function
|
|
2265
|
+
function Ha(e, t) {
|
|
2256
2266
|
var n = [], r = [], i, a;
|
|
2257
|
-
for (
|
|
2267
|
+
for (Ge(e, n, r), i = 0, a = r.length; i < a; i += 1)
|
|
2258
2268
|
t.duplicates.push(n[r[i]]);
|
|
2259
2269
|
t.usedDuplicates = new Array(a);
|
|
2260
2270
|
}
|
|
2261
|
-
function
|
|
2271
|
+
function Ge(e, t, n) {
|
|
2262
2272
|
var r, i, a;
|
|
2263
2273
|
if (e !== null && typeof e == "object")
|
|
2264
2274
|
if (i = t.indexOf(e), i !== -1)
|
|
2265
2275
|
n.indexOf(i) === -1 && n.push(i);
|
|
2266
2276
|
else if (t.push(e), Array.isArray(e))
|
|
2267
2277
|
for (i = 0, a = e.length; i < a; i += 1)
|
|
2268
|
-
|
|
2278
|
+
Ge(e[i], t, n);
|
|
2269
2279
|
else
|
|
2270
2280
|
for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1)
|
|
2271
|
-
|
|
2281
|
+
Ge(e[r[i]], t, n);
|
|
2272
2282
|
}
|
|
2273
|
-
function
|
|
2283
|
+
function Va(e, t) {
|
|
2274
2284
|
t = t || {};
|
|
2275
|
-
var n = new
|
|
2276
|
-
n.noRefs ||
|
|
2285
|
+
var n = new La(t);
|
|
2286
|
+
n.noRefs || Ha(e, n);
|
|
2277
2287
|
var r = e;
|
|
2278
2288
|
return n.replacer && (r = n.replacer.call({ "": r }, "", r)), se(n, 0, r, !0, !0) ? n.dump + `
|
|
2279
2289
|
` : "";
|
|
2280
2290
|
}
|
|
2281
|
-
var
|
|
2282
|
-
dump:
|
|
2291
|
+
var Ya = Va, za = {
|
|
2292
|
+
dump: Ya
|
|
2283
2293
|
};
|
|
2284
2294
|
function it(e, t) {
|
|
2285
2295
|
return function() {
|
|
2286
2296
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
2287
2297
|
};
|
|
2288
2298
|
}
|
|
2289
|
-
var
|
|
2299
|
+
var Wa = Z, Ja = jt, Ga = Ht, Za = Jt, Qa = Gt, Xa = et, eo = hn.load, to = hn.loadAll, no = za.dump, ro = X, io = {
|
|
2290
2300
|
binary: tn,
|
|
2291
2301
|
float: Wt,
|
|
2292
2302
|
map: Pt,
|
|
@@ -2300,23 +2310,23 @@ var Ya = Z, za = jt, Wa = Ht, Ja = Jt, Ga = Gt, Za = et, Qa = hn.load, Xa = hn.l
|
|
|
2300
2310
|
omap: nn,
|
|
2301
2311
|
seq: qt,
|
|
2302
2312
|
str: Ut
|
|
2303
|
-
},
|
|
2304
|
-
Type:
|
|
2305
|
-
Schema:
|
|
2306
|
-
FAILSAFE_SCHEMA:
|
|
2307
|
-
JSON_SCHEMA:
|
|
2308
|
-
CORE_SCHEMA:
|
|
2309
|
-
DEFAULT_SCHEMA:
|
|
2310
|
-
load:
|
|
2311
|
-
loadAll:
|
|
2312
|
-
dump:
|
|
2313
|
-
YAMLException:
|
|
2314
|
-
types:
|
|
2315
|
-
safeLoad:
|
|
2316
|
-
safeLoadAll:
|
|
2317
|
-
safeDump:
|
|
2313
|
+
}, ao = it("safeLoad", "load"), oo = it("safeLoadAll", "loadAll"), lo = it("safeDump", "dump"), so = {
|
|
2314
|
+
Type: Wa,
|
|
2315
|
+
Schema: Ja,
|
|
2316
|
+
FAILSAFE_SCHEMA: Ga,
|
|
2317
|
+
JSON_SCHEMA: Za,
|
|
2318
|
+
CORE_SCHEMA: Qa,
|
|
2319
|
+
DEFAULT_SCHEMA: Xa,
|
|
2320
|
+
load: eo,
|
|
2321
|
+
loadAll: to,
|
|
2322
|
+
dump: no,
|
|
2323
|
+
YAMLException: ro,
|
|
2324
|
+
types: io,
|
|
2325
|
+
safeLoad: ao,
|
|
2326
|
+
safeLoadAll: oo,
|
|
2327
|
+
safeDump: lo
|
|
2318
2328
|
};
|
|
2319
|
-
const
|
|
2329
|
+
const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
2320
2330
|
__name: "YamlCodeBlock",
|
|
2321
2331
|
props: {
|
|
2322
2332
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2328,11 +2338,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2328
2338
|
setup(e) {
|
|
2329
2339
|
const t = e, n = A(() => {
|
|
2330
2340
|
const r = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, i]) => i && (Array.isArray(i) ? i.length !== 0 : !0)));
|
|
2331
|
-
return Object.keys(r).length === 0 && r.constructor === Object ? "" :
|
|
2341
|
+
return Object.keys(r).length === 0 && r.constructor === Object ? "" : so.dump(r).trim();
|
|
2332
2342
|
});
|
|
2333
2343
|
return (r, i) => {
|
|
2334
2344
|
const a = B("KCodeBlock");
|
|
2335
|
-
return h(), S("div",
|
|
2345
|
+
return h(), S("div", co, [
|
|
2336
2346
|
t.yamlRecord ? (h(), K(a, {
|
|
2337
2347
|
key: 0,
|
|
2338
2348
|
id: "yaml-codeblock",
|
|
@@ -2343,13 +2353,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2343
2353
|
]);
|
|
2344
2354
|
};
|
|
2345
2355
|
}
|
|
2346
|
-
}),
|
|
2356
|
+
}), uo = {
|
|
2347
2357
|
key: 0,
|
|
2348
2358
|
class: "config-card-display-form"
|
|
2349
|
-
},
|
|
2359
|
+
}, fo = ["data-testid"], po = {
|
|
2350
2360
|
key: 0,
|
|
2351
2361
|
class: "config-card-prop-section-title"
|
|
2352
|
-
},
|
|
2362
|
+
}, ho = /* @__PURE__ */ H({
|
|
2353
2363
|
__name: "ConfigCardDisplay",
|
|
2354
2364
|
props: {
|
|
2355
2365
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2388,20 +2398,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2388
2398
|
}
|
|
2389
2399
|
},
|
|
2390
2400
|
setup(e) {
|
|
2391
|
-
const t = e, n =
|
|
2401
|
+
const t = e, n = Ze(), { i18n: { t: r } } = z.useI18n(), i = (o) => !!(o.tooltip || n[`${o.key}-label-tooltip`]), a = A(() => {
|
|
2392
2402
|
if (!t.record)
|
|
2393
2403
|
return t.record;
|
|
2394
2404
|
const o = JSON.parse(JSON.stringify(t.record));
|
|
2395
2405
|
return delete o.created_at, delete o.updated_at, o;
|
|
2396
2406
|
});
|
|
2397
2407
|
return (o, l) => (h(), S(le, null, [
|
|
2398
|
-
e.format === "structured" ? (h(), S("div",
|
|
2408
|
+
e.format === "structured" ? (h(), S("div", uo, [
|
|
2399
2409
|
(h(!0), S(le, null, ie(e.propListTypes, (s) => (h(), S("div", {
|
|
2400
2410
|
key: `config-card-details-${s}-props`,
|
|
2401
2411
|
class: ue(`config-card-details-${s}-props`),
|
|
2402
2412
|
"data-testid": `config-card-details-${s}-props`
|
|
2403
2413
|
}, [
|
|
2404
|
-
s !== "basic" ? (h(), S("div",
|
|
2414
|
+
s !== "basic" ? (h(), S("div", po, O(s === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
|
|
2405
2415
|
(h(!0), S(le, null, ie(e.propertyCollections[s], (u) => (h(), K(Rt, {
|
|
2406
2416
|
key: u.key,
|
|
2407
2417
|
item: u
|
|
@@ -2425,7 +2435,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2425
2435
|
key: "0"
|
|
2426
2436
|
} : void 0
|
|
2427
2437
|
]), 1032, ["item"]))), 128))
|
|
2428
|
-
], 10,
|
|
2438
|
+
], 10, fo))), 128))
|
|
2429
2439
|
])) : D("", !0),
|
|
2430
2440
|
e.format === "json" && t.record ? (h(), K(Kt, {
|
|
2431
2441
|
key: 1,
|
|
@@ -2440,18 +2450,18 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2440
2450
|
}, null, 8, ["yaml-record"])) : D("", !0)
|
|
2441
2451
|
], 64));
|
|
2442
2452
|
}
|
|
2443
|
-
}),
|
|
2453
|
+
}), mo = /* @__PURE__ */ re(ho, [["__scopeId", "data-v-147a2f70"]]), oe = "24px", Le = (e, t) => {
|
|
2444
2454
|
const n = e.__vccOpts || e;
|
|
2445
2455
|
for (const [r, i] of t)
|
|
2446
2456
|
n[r] = i;
|
|
2447
2457
|
return n;
|
|
2448
|
-
},
|
|
2458
|
+
}, go = (e) => (Oe("data-v-2295e0fb"), e = e(), $e(), e), yo = ["aria-hidden"], vo = {
|
|
2449
2459
|
key: 0,
|
|
2450
2460
|
"data-testid": "kui-icon-svg-title"
|
|
2451
|
-
},
|
|
2461
|
+
}, bo = /* @__PURE__ */ go(() => /* @__PURE__ */ L("path", {
|
|
2452
2462
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
2453
2463
|
fill: "currentColor"
|
|
2454
|
-
}, null, -1)),
|
|
2464
|
+
}, null, -1)), xo = /* @__PURE__ */ H({
|
|
2455
2465
|
__name: "AddIcon",
|
|
2456
2466
|
props: {
|
|
2457
2467
|
/** The accessibility text provided to screen readers */
|
|
@@ -2537,20 +2547,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2537
2547
|
width: "100%",
|
|
2538
2548
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2539
2549
|
}, [
|
|
2540
|
-
e.title ? (h(), S("title",
|
|
2541
|
-
|
|
2542
|
-
], 8,
|
|
2550
|
+
e.title ? (h(), S("title", vo, O(e.title), 1)) : D("", !0),
|
|
2551
|
+
bo
|
|
2552
|
+
], 8, yo))
|
|
2543
2553
|
]),
|
|
2544
2554
|
_: 1
|
|
2545
2555
|
}, 8, ["aria-hidden", "style"]));
|
|
2546
2556
|
}
|
|
2547
|
-
}),
|
|
2557
|
+
}), Co = /* @__PURE__ */ Le(xo, [["__scopeId", "data-v-2295e0fb"]]), _o = (e) => (Oe("data-v-40a7f387"), e = e(), $e(), e), ko = ["aria-hidden"], Ao = {
|
|
2548
2558
|
key: 0,
|
|
2549
2559
|
"data-testid": "kui-icon-svg-title"
|
|
2550
|
-
},
|
|
2560
|
+
}, wo = /* @__PURE__ */ _o(() => /* @__PURE__ */ L("path", {
|
|
2551
2561
|
d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
|
|
2552
2562
|
fill: "currentColor"
|
|
2553
|
-
}, null, -1)),
|
|
2563
|
+
}, null, -1)), So = /* @__PURE__ */ H({
|
|
2554
2564
|
__name: "BookIcon",
|
|
2555
2565
|
props: {
|
|
2556
2566
|
/** The accessibility text provided to screen readers */
|
|
@@ -2636,20 +2646,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2636
2646
|
width: "100%",
|
|
2637
2647
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2638
2648
|
}, [
|
|
2639
|
-
e.title ? (h(), S("title",
|
|
2640
|
-
|
|
2641
|
-
], 8,
|
|
2649
|
+
e.title ? (h(), S("title", Ao, O(e.title), 1)) : D("", !0),
|
|
2650
|
+
wo
|
|
2651
|
+
], 8, ko))
|
|
2642
2652
|
]),
|
|
2643
2653
|
_: 1
|
|
2644
2654
|
}, 8, ["aria-hidden", "style"]));
|
|
2645
2655
|
}
|
|
2646
|
-
}),
|
|
2656
|
+
}), Io = /* @__PURE__ */ Le(So, [["__scopeId", "data-v-40a7f387"]]), Eo = (e) => (Oe("data-v-98c34919"), e = e(), $e(), e), To = ["aria-hidden"], Fo = {
|
|
2647
2657
|
key: 0,
|
|
2648
2658
|
"data-testid": "kui-icon-svg-title"
|
|
2649
|
-
},
|
|
2659
|
+
}, Oo = /* @__PURE__ */ Eo(() => /* @__PURE__ */ L("path", {
|
|
2650
2660
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
2651
2661
|
fill: "currentColor"
|
|
2652
|
-
}, null, -1)),
|
|
2662
|
+
}, null, -1)), $o = /* @__PURE__ */ H({
|
|
2653
2663
|
__name: "ChevronDownIcon",
|
|
2654
2664
|
props: {
|
|
2655
2665
|
/** The accessibility text provided to screen readers */
|
|
@@ -2735,20 +2745,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2735
2745
|
width: "100%",
|
|
2736
2746
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2737
2747
|
}, [
|
|
2738
|
-
e.title ? (h(), S("title",
|
|
2739
|
-
|
|
2740
|
-
], 8,
|
|
2748
|
+
e.title ? (h(), S("title", Fo, O(e.title), 1)) : D("", !0),
|
|
2749
|
+
Oo
|
|
2750
|
+
], 8, To))
|
|
2741
2751
|
]),
|
|
2742
2752
|
_: 1
|
|
2743
2753
|
}, 8, ["aria-hidden", "style"]));
|
|
2744
2754
|
}
|
|
2745
|
-
}),
|
|
2755
|
+
}), Lo = /* @__PURE__ */ Le($o, [["__scopeId", "data-v-98c34919"]]), No = (e) => (Oe("data-v-19f4cbbe"), e = e(), $e(), e), Bo = ["aria-hidden"], Ro = {
|
|
2746
2756
|
key: 0,
|
|
2747
2757
|
"data-testid": "kui-icon-svg-title"
|
|
2748
|
-
},
|
|
2758
|
+
}, Ko = /* @__PURE__ */ No(() => /* @__PURE__ */ L("path", {
|
|
2749
2759
|
d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
|
|
2750
2760
|
fill: "currentColor"
|
|
2751
|
-
}, null, -1)),
|
|
2761
|
+
}, null, -1)), Mo = /* @__PURE__ */ H({
|
|
2752
2762
|
__name: "CloseIcon",
|
|
2753
2763
|
props: {
|
|
2754
2764
|
/** The accessibility text provided to screen readers */
|
|
@@ -2834,20 +2844,20 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2834
2844
|
width: "100%",
|
|
2835
2845
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2836
2846
|
}, [
|
|
2837
|
-
e.title ? (h(), S("title",
|
|
2838
|
-
|
|
2839
|
-
], 8,
|
|
2847
|
+
e.title ? (h(), S("title", Ro, O(e.title), 1)) : D("", !0),
|
|
2848
|
+
Ko
|
|
2849
|
+
], 8, Bo))
|
|
2840
2850
|
]),
|
|
2841
2851
|
_: 1
|
|
2842
2852
|
}, 8, ["aria-hidden", "style"]));
|
|
2843
2853
|
}
|
|
2844
|
-
}),
|
|
2854
|
+
}), Do = /* @__PURE__ */ Le(Mo, [["__scopeId", "data-v-19f4cbbe"]]), jo = (e) => (Oe("data-v-13f41aa3"), e = e(), $e(), e), Uo = ["aria-hidden"], qo = {
|
|
2845
2855
|
key: 0,
|
|
2846
2856
|
"data-testid": "kui-icon-svg-title"
|
|
2847
|
-
},
|
|
2857
|
+
}, Po = /* @__PURE__ */ jo(() => /* @__PURE__ */ L("path", {
|
|
2848
2858
|
d: "M5 22C4.45 22 3.97917 21.8042 3.5875 21.4125C3.19583 21.0208 3 20.55 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.97917 17.8042 7.5875 17.4125C7.19583 17.0208 7 16.55 7 16V4C7 3.45 7.19583 2.97917 7.5875 2.5875C7.97917 2.19583 8.45 2 9 2H18C18.55 2 19.0208 2.19583 19.4125 2.5875C19.8042 2.97917 20 3.45 20 4V16C20 16.55 19.8042 17.0208 19.4125 17.4125C19.0208 17.8042 18.55 18 18 18H9ZM9 16H18V4H9V16Z",
|
|
2849
2859
|
fill: "currentColor"
|
|
2850
|
-
}, null, -1)),
|
|
2860
|
+
}, null, -1)), Ho = /* @__PURE__ */ H({
|
|
2851
2861
|
__name: "CopyIcon",
|
|
2852
2862
|
props: {
|
|
2853
2863
|
/** The accessibility text provided to screen readers */
|
|
@@ -2933,17 +2943,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
2933
2943
|
width: "100%",
|
|
2934
2944
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2935
2945
|
}, [
|
|
2936
|
-
e.title ? (h(), S("title",
|
|
2937
|
-
|
|
2938
|
-
], 8,
|
|
2946
|
+
e.title ? (h(), S("title", qo, O(e.title), 1)) : D("", !0),
|
|
2947
|
+
Po
|
|
2948
|
+
], 8, Uo))
|
|
2939
2949
|
]),
|
|
2940
2950
|
_: 1
|
|
2941
2951
|
}, 8, ["aria-hidden", "style"]));
|
|
2942
2952
|
}
|
|
2943
|
-
}),
|
|
2953
|
+
}), Vo = /* @__PURE__ */ Le(Ho, [["__scopeId", "data-v-13f41aa3"]]), Yo = {
|
|
2944
2954
|
class: "config-card-title",
|
|
2945
2955
|
"data-testid": "config-card-title"
|
|
2946
|
-
},
|
|
2956
|
+
}, zo = { class: "config-card-actions" }, Wo = ["href"], Jo = { class: "config-card-details-section" }, Go = /* @__PURE__ */ H({
|
|
2947
2957
|
__name: "EntityBaseConfigCard",
|
|
2948
2958
|
props: {
|
|
2949
2959
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3078,11 +3088,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3078
3088
|
var F, k, j;
|
|
3079
3089
|
if (!g.value)
|
|
3080
3090
|
return [];
|
|
3081
|
-
const y = [],
|
|
3091
|
+
const y = [], $ = Object.keys(g.value).length;
|
|
3082
3092
|
for (const T in g.value) {
|
|
3083
3093
|
const w = (k = (F = r.configSchema) == null ? void 0 : F[T]) == null ? void 0 : k.order, U = (j = c[T]) == null ? void 0 : j.order;
|
|
3084
|
-
let q =
|
|
3085
|
-
(U || U === 0) && (q = U === -1 ?
|
|
3094
|
+
let q = $;
|
|
3095
|
+
(U || U === 0) && (q = U === -1 ? $ + 1 : U), w && (q = w === -1 ? $ + 1 : w), y.push([T, q]);
|
|
3086
3096
|
}
|
|
3087
3097
|
return y.sort(function(T, w) {
|
|
3088
3098
|
return T[1] - w[1];
|
|
@@ -3103,11 +3113,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3103
3113
|
var k, j;
|
|
3104
3114
|
if (!g.value || !r.pluginConfigKey)
|
|
3105
3115
|
return [];
|
|
3106
|
-
const y = g.value[r.pluginConfigKey] || {},
|
|
3116
|
+
const y = g.value[r.pluginConfigKey] || {}, $ = Object.keys(y).length, F = [];
|
|
3107
3117
|
for (const T in y) {
|
|
3108
3118
|
const w = (j = (k = r.pluginConfigSchema) == null ? void 0 : k[T]) == null ? void 0 : j.order, U = y[T];
|
|
3109
|
-
let q = U != null && U !== "" ?
|
|
3110
|
-
w && (q = w === -1 ?
|
|
3119
|
+
let q = U != null && U !== "" ? $ - 1 : $;
|
|
3120
|
+
w && (q = w === -1 ? $ + 1 : w), F.push([T, q]);
|
|
3111
3121
|
}
|
|
3112
3122
|
return F.sort(function(T, w) {
|
|
3113
3123
|
return T[1] - w[1];
|
|
@@ -3125,19 +3135,19 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3125
3135
|
};
|
|
3126
3136
|
}).filter((T) => !T.hidden);
|
|
3127
3137
|
}), E = A(() => {
|
|
3128
|
-
var y,
|
|
3138
|
+
var y, $, F, k;
|
|
3129
3139
|
return {
|
|
3130
3140
|
basic: (y = _.value) == null ? void 0 : y.filter((j) => j.section === ne.Basic),
|
|
3131
|
-
advanced: (
|
|
3141
|
+
advanced: ($ = _.value) == null ? void 0 : $.filter((j) => j.section === ne.Advanced),
|
|
3132
3142
|
plugin: (k = M.value) == null ? void 0 : k.concat((F = _.value) == null ? void 0 : F.filter((j) => j.section === ne.Plugin))
|
|
3133
3143
|
};
|
|
3134
3144
|
}), ee = A(() => {
|
|
3135
3145
|
const y = [];
|
|
3136
3146
|
return E.value.basic.length && y.push("basic"), E.value.advanced.length && y.push("advanced"), E.value.plugin.length && y.push("plugin"), y;
|
|
3137
3147
|
}), m = A(() => {
|
|
3138
|
-
var
|
|
3148
|
+
var $, F;
|
|
3139
3149
|
let y = `${r.config.apiBaseUrl}${r.fetchUrl}`;
|
|
3140
|
-
return r.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, ((
|
|
3150
|
+
return r.config.app === "konnect" ? y = y.replace(/{controlPlaneId}/gi, (($ = r.config) == null ? void 0 : $.controlPlaneId) || "") : r.config.app === "kongManager" && (y = y.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), y = y.replace(/{id}/gi, r.config.entityId), y;
|
|
3141
3151
|
});
|
|
3142
3152
|
return Ae(p, (y) => {
|
|
3143
3153
|
n("loading", y);
|
|
@@ -3156,19 +3166,19 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3156
3166
|
g.value && typeof g.value[F] > "u" && (g.value[F] = null);
|
|
3157
3167
|
}), n("fetch:success", y);
|
|
3158
3168
|
} catch (y) {
|
|
3159
|
-
const
|
|
3160
|
-
b.value =
|
|
3169
|
+
const $ = a(y);
|
|
3170
|
+
b.value = $.startsWith("code") ? i("baseConfigCard.errors.load") : $, f.value = !0, n("fetch:error", y);
|
|
3161
3171
|
} finally {
|
|
3162
3172
|
p.value = !1;
|
|
3163
3173
|
}
|
|
3164
|
-
}), (y,
|
|
3174
|
+
}), (y, $) => {
|
|
3165
3175
|
const F = B("KLabel"), k = B("KSelect"), j = B("KButton"), T = B("KSkeleton"), w = B("KEmptyState"), U = B("KCard");
|
|
3166
3176
|
return h(), K(U, {
|
|
3167
3177
|
class: "kong-ui-entity-base-config-card",
|
|
3168
3178
|
"title-tag": e.titleTag
|
|
3169
3179
|
}, _e({
|
|
3170
3180
|
actions: x(() => [
|
|
3171
|
-
|
|
3181
|
+
L("div", zo, [
|
|
3172
3182
|
Y(y.$slots, "actions", {}, void 0, !0),
|
|
3173
3183
|
N(F, {
|
|
3174
3184
|
class: "config-format-select-label",
|
|
@@ -3191,13 +3201,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3191
3201
|
"data-testid": "book-icon"
|
|
3192
3202
|
}, {
|
|
3193
3203
|
default: x(() => [
|
|
3194
|
-
|
|
3204
|
+
L("a", {
|
|
3195
3205
|
href: e.configCardDoc,
|
|
3196
3206
|
rel: "noopener",
|
|
3197
3207
|
target: "_blank"
|
|
3198
3208
|
}, [
|
|
3199
|
-
N(I(
|
|
3200
|
-
], 8,
|
|
3209
|
+
N(I(Io), { size: I(Er) }, null, 8, ["size"])
|
|
3210
|
+
], 8, Wo)
|
|
3201
3211
|
]),
|
|
3202
3212
|
_: 1
|
|
3203
3213
|
})) : D("", !0)
|
|
@@ -3215,12 +3225,12 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3215
3225
|
"icon-variant": "error"
|
|
3216
3226
|
}, {
|
|
3217
3227
|
default: x(() => [
|
|
3218
|
-
|
|
3228
|
+
L("h3", null, O(b.value), 1)
|
|
3219
3229
|
]),
|
|
3220
3230
|
_: 1
|
|
3221
3231
|
})) : D("", !0),
|
|
3222
|
-
|
|
3223
|
-
N(
|
|
3232
|
+
L("div", Jo, [
|
|
3233
|
+
N(mo, {
|
|
3224
3234
|
config: e.config,
|
|
3225
3235
|
"fetcher-url": m.value,
|
|
3226
3236
|
format: u.value,
|
|
@@ -3245,7 +3255,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3245
3255
|
e.hideTitle ? void 0 : {
|
|
3246
3256
|
name: "title",
|
|
3247
3257
|
fn: x(() => [
|
|
3248
|
-
|
|
3258
|
+
L("span", Yo, [
|
|
3249
3259
|
Y(y.$slots, "title", {}, () => [
|
|
3250
3260
|
V(O(I(i)("baseConfigCard.title")), 1)
|
|
3251
3261
|
], !0)
|
|
@@ -3256,10 +3266,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3256
3266
|
]), 1032, ["title-tag"]);
|
|
3257
3267
|
};
|
|
3258
3268
|
}
|
|
3259
|
-
}),
|
|
3269
|
+
}), Dl = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-7c5b607d"]]), Zo = {
|
|
3260
3270
|
class: "form-actions",
|
|
3261
3271
|
"data-testid": "form-actions"
|
|
3262
|
-
},
|
|
3272
|
+
}, Qo = /* @__PURE__ */ H({
|
|
3263
3273
|
__name: "EntityBaseForm",
|
|
3264
3274
|
props: {
|
|
3265
3275
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3353,13 +3363,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3353
3363
|
s.value = !1;
|
|
3354
3364
|
}
|
|
3355
3365
|
}), (m, v) => {
|
|
3356
|
-
const y = B("KSkeleton"),
|
|
3366
|
+
const y = B("KSkeleton"), $ = B("KEmptyState"), F = B("KAlert"), k = B("KButton"), j = B("KTabs"), T = B("KSlideout"), w = B("KCard");
|
|
3357
3367
|
return h(), K(w, { class: "kong-ui-entity-base-form" }, {
|
|
3358
3368
|
default: x(() => [
|
|
3359
3369
|
s.value ? (h(), K(y, {
|
|
3360
3370
|
key: 0,
|
|
3361
3371
|
type: "form"
|
|
3362
|
-
})) : u.value ? (h(), K(
|
|
3372
|
+
})) : u.value ? (h(), K($, {
|
|
3363
3373
|
key: 1,
|
|
3364
3374
|
"action-button-text": I(a)("baseForm.actions.back"),
|
|
3365
3375
|
"data-testid": "form-fetch-error",
|
|
@@ -3367,14 +3377,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3367
3377
|
onClickAction: g
|
|
3368
3378
|
}, {
|
|
3369
3379
|
default: x(() => [
|
|
3370
|
-
|
|
3380
|
+
L("h3", null, O(d.value), 1)
|
|
3371
3381
|
]),
|
|
3372
3382
|
_: 1
|
|
3373
3383
|
}, 8, ["action-button-text"])) : (h(), S("form", {
|
|
3374
3384
|
key: 2,
|
|
3375
3385
|
"data-testid": "form-content",
|
|
3376
|
-
onReset:
|
|
3377
|
-
onSubmit:
|
|
3386
|
+
onReset: Ve(_, ["prevent"]),
|
|
3387
|
+
onSubmit: Ve(M, ["prevent"])
|
|
3378
3388
|
}, [
|
|
3379
3389
|
Y(m.$slots, "default", {}, void 0, !0),
|
|
3380
3390
|
e.errorMessage ? (h(), K(F, {
|
|
@@ -3383,7 +3393,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3383
3393
|
"data-testid": "form-error",
|
|
3384
3394
|
message: e.errorMessage
|
|
3385
3395
|
}, null, 8, ["message"])) : D("", !0),
|
|
3386
|
-
|
|
3396
|
+
L("div", Zo, [
|
|
3387
3397
|
Y(m.$slots, "form-actions", {}, () => [
|
|
3388
3398
|
N(k, {
|
|
3389
3399
|
appearance: "tertiary",
|
|
@@ -3430,7 +3440,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3430
3440
|
onClose: v[1] || (v[1] = (U) => b())
|
|
3431
3441
|
}, {
|
|
3432
3442
|
default: x(() => [
|
|
3433
|
-
|
|
3443
|
+
L("div", null, O(I(a)("baseForm.configuration.message")), 1),
|
|
3434
3444
|
N(j, {
|
|
3435
3445
|
"data-testid": "form-view-configuration-slideout-tabs",
|
|
3436
3446
|
tabs: E.value
|
|
@@ -3458,10 +3468,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3458
3468
|
});
|
|
3459
3469
|
};
|
|
3460
3470
|
}
|
|
3461
|
-
}),
|
|
3471
|
+
}), jl = /* @__PURE__ */ re(Qo, [["__scopeId", "data-v-1d932d98"]]), Xo = {
|
|
3462
3472
|
key: 0,
|
|
3463
3473
|
"data-testid": "first-col"
|
|
3464
|
-
},
|
|
3474
|
+
}, el = /* @__PURE__ */ H({
|
|
3465
3475
|
__name: "EntityBaseTableCell",
|
|
3466
3476
|
props: {
|
|
3467
3477
|
keyName: {
|
|
@@ -3508,7 +3518,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3508
3518
|
), b = A(() => i.value ? u.value > d.value : !1);
|
|
3509
3519
|
return On(() => {
|
|
3510
3520
|
l();
|
|
3511
|
-
}),
|
|
3521
|
+
}), $n(() => {
|
|
3512
3522
|
f();
|
|
3513
3523
|
}), (g, _) => {
|
|
3514
3524
|
const M = B("KTooltip");
|
|
@@ -3517,7 +3527,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3517
3527
|
ref: s,
|
|
3518
3528
|
class: "content-wrapper"
|
|
3519
3529
|
}, [
|
|
3520
|
-
i.value ? (h(), S("span",
|
|
3530
|
+
i.value ? (h(), S("span", Xo, [
|
|
3521
3531
|
N(M, {
|
|
3522
3532
|
"max-width": "300",
|
|
3523
3533
|
placement: "bottomStart",
|
|
@@ -3532,10 +3542,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3532
3542
|
], 512);
|
|
3533
3543
|
};
|
|
3534
3544
|
}
|
|
3535
|
-
}),
|
|
3545
|
+
}), tl = /* @__PURE__ */ re(el, [["__scopeId", "data-v-c4379fd4"]]), nl = { class: "toolbar-container" }, rl = {
|
|
3536
3546
|
key: 0,
|
|
3537
3547
|
class: "toolbar-button-container"
|
|
3538
|
-
},
|
|
3548
|
+
}, il = ["data-testid"], al = /* @__PURE__ */ H({
|
|
3539
3549
|
__name: "EntityBaseTable",
|
|
3540
3550
|
props: {
|
|
3541
3551
|
// table header configuration
|
|
@@ -3662,11 +3672,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3662
3672
|
};
|
|
3663
3673
|
}), o = A(() => n.cacheIdentifier || n.preferencesStorageKey), l = (v) => v.hasData || !!n.query, s = A(() => {
|
|
3664
3674
|
const v = [];
|
|
3665
|
-
return Object.keys(n.tableHeaders).forEach((
|
|
3666
|
-
const F = n.tableHeaders[
|
|
3675
|
+
return Object.keys(n.tableHeaders).forEach(($) => {
|
|
3676
|
+
const F = n.tableHeaders[$];
|
|
3667
3677
|
v.push({
|
|
3668
|
-
label: F.label ??
|
|
3669
|
-
key:
|
|
3678
|
+
label: F.label ?? $,
|
|
3679
|
+
key: $,
|
|
3670
3680
|
sortable: F.sortable ?? !1
|
|
3671
3681
|
});
|
|
3672
3682
|
}), n.enableEntityActions && v.push({
|
|
@@ -3708,7 +3718,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3708
3718
|
n.preferencesStorageKey && M(n.preferencesStorageKey, v);
|
|
3709
3719
|
};
|
|
3710
3720
|
return (v, y) => {
|
|
3711
|
-
const
|
|
3721
|
+
const $ = B("KIcon"), F = B("KButton"), k = B("KDropdown"), j = B("KTable"), T = B("KCard");
|
|
3712
3722
|
return h(), K(T, {
|
|
3713
3723
|
class: "kong-ui-entity-base-table",
|
|
3714
3724
|
title: e.title,
|
|
@@ -3746,9 +3756,9 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3746
3756
|
"onUpdate:tablePreferences": m
|
|
3747
3757
|
}, _e({
|
|
3748
3758
|
toolbar: x(({ state: w }) => [
|
|
3749
|
-
he(
|
|
3759
|
+
he(L("div", nl, [
|
|
3750
3760
|
Y(v.$slots, "toolbar-filter", {}, void 0, !0),
|
|
3751
|
-
v.$slots["toolbar-button"] ? (h(), S("div",
|
|
3761
|
+
v.$slots["toolbar-button"] ? (h(), S("div", rl, [
|
|
3752
3762
|
Y(v.$slots, "toolbar-button", {}, void 0, !0)
|
|
3753
3763
|
])) : D("", !0)
|
|
3754
3764
|
], 512), [
|
|
@@ -3756,7 +3766,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3756
3766
|
])
|
|
3757
3767
|
]),
|
|
3758
3768
|
actions: x(({ row: w, rowKey: U, rowValue: q }) => [
|
|
3759
|
-
|
|
3769
|
+
L("div", {
|
|
3760
3770
|
class: "actions-container",
|
|
3761
3771
|
"data-testid": w.name
|
|
3762
3772
|
}, [
|
|
@@ -3778,8 +3788,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3778
3788
|
size: "small"
|
|
3779
3789
|
}, {
|
|
3780
3790
|
icon: x(() => [
|
|
3781
|
-
N(
|
|
3782
|
-
color: I(
|
|
3791
|
+
N($, {
|
|
3792
|
+
color: I(kr),
|
|
3783
3793
|
icon: "more",
|
|
3784
3794
|
size: "16"
|
|
3785
3795
|
}, null, 8, ["color"])
|
|
@@ -3789,14 +3799,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3789
3799
|
]),
|
|
3790
3800
|
_: 2
|
|
3791
3801
|
}, 1032, ["width"])
|
|
3792
|
-
], 8,
|
|
3802
|
+
], 8, il)
|
|
3793
3803
|
]),
|
|
3794
3804
|
_: 2
|
|
3795
3805
|
}, [
|
|
3796
3806
|
ie(e.tableHeaders, (w, U) => ({
|
|
3797
3807
|
name: U,
|
|
3798
3808
|
fn: x(({ row: q, rowKey: J, rowValue: pe }) => [
|
|
3799
|
-
N(
|
|
3809
|
+
N(tl, {
|
|
3800
3810
|
"key-name": String(U),
|
|
3801
3811
|
"row-el": c(q)
|
|
3802
3812
|
}, {
|
|
@@ -3816,7 +3826,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3816
3826
|
e.query ? void 0 : {
|
|
3817
3827
|
name: "empty-state-action-icon",
|
|
3818
3828
|
fn: x(() => [
|
|
3819
|
-
N(I(
|
|
3829
|
+
N(I(Co))
|
|
3820
3830
|
]),
|
|
3821
3831
|
key: "0"
|
|
3822
3832
|
}
|
|
@@ -3826,13 +3836,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3826
3836
|
}, 8, ["title", "title-tag"]);
|
|
3827
3837
|
};
|
|
3828
3838
|
}
|
|
3829
|
-
}),
|
|
3839
|
+
}), Ul = /* @__PURE__ */ re(al, [["__scopeId", "data-v-99908c24"]]), ol = {
|
|
3830
3840
|
key: 0,
|
|
3831
3841
|
class: "kong-ui-entity-delete-error"
|
|
3832
|
-
},
|
|
3842
|
+
}, ll = {
|
|
3833
3843
|
key: 1,
|
|
3834
3844
|
class: "description"
|
|
3835
|
-
},
|
|
3845
|
+
}, sl = /* @__PURE__ */ H({
|
|
3836
3846
|
__name: "EntityDeleteModal",
|
|
3837
3847
|
props: {
|
|
3838
3848
|
visible: {
|
|
@@ -3890,7 +3900,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3890
3900
|
onProceed: l
|
|
3891
3901
|
}, {
|
|
3892
3902
|
default: x(() => [
|
|
3893
|
-
e.error ? (h(), S("div",
|
|
3903
|
+
e.error ? (h(), S("div", ol, [
|
|
3894
3904
|
N(d, { appearance: "danger" }, {
|
|
3895
3905
|
default: x(() => [
|
|
3896
3906
|
V(O(e.error), 1)
|
|
@@ -3911,14 +3921,14 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3911
3921
|
r.entityName ? {
|
|
3912
3922
|
name: "entityName",
|
|
3913
3923
|
fn: x(() => [
|
|
3914
|
-
|
|
3924
|
+
L("strong", null, O(r.entityName), 1)
|
|
3915
3925
|
]),
|
|
3916
3926
|
key: "0"
|
|
3917
3927
|
} : void 0
|
|
3918
3928
|
]), 1032, ["keypath"]),
|
|
3919
|
-
r.description || s.$slots.description ? (h(), S("div",
|
|
3929
|
+
r.description || s.$slots.description ? (h(), S("div", ll, [
|
|
3920
3930
|
Y(s.$slots, "description", {}, () => [
|
|
3921
|
-
|
|
3931
|
+
L("p", null, O(r.description), 1)
|
|
3922
3932
|
], !0)
|
|
3923
3933
|
])) : D("", !0)
|
|
3924
3934
|
]),
|
|
@@ -3926,13 +3936,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3926
3936
|
}, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
|
|
3927
3937
|
};
|
|
3928
3938
|
}
|
|
3929
|
-
}),
|
|
3939
|
+
}), ql = /* @__PURE__ */ re(sl, [["__scopeId", "data-v-4361d622"]]), cl = {
|
|
3930
3940
|
fill: "none",
|
|
3931
3941
|
height: "20",
|
|
3932
3942
|
viewBox: "0 0 20 20",
|
|
3933
3943
|
width: "20",
|
|
3934
3944
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3935
|
-
},
|
|
3945
|
+
}, ul = {
|
|
3936
3946
|
id: "mask0_180_20349",
|
|
3937
3947
|
height: "20",
|
|
3938
3948
|
maskUnits: "userSpaceOnUse",
|
|
@@ -3940,35 +3950,35 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
3940
3950
|
width: "20",
|
|
3941
3951
|
x: "0",
|
|
3942
3952
|
y: "0"
|
|
3943
|
-
},
|
|
3953
|
+
}, dl = ["fill"], fl = { mask: "url(#mask0_180_20349)" }, pl = ["fill"], Et = /* @__PURE__ */ H({
|
|
3944
3954
|
__name: "IconFilter",
|
|
3945
3955
|
props: {
|
|
3946
3956
|
color: {
|
|
3947
3957
|
type: String,
|
|
3948
|
-
default: `var(--kong-ui-entity-filter-color, ${
|
|
3958
|
+
default: `var(--kong-ui-entity-filter-color, ${Cr})`
|
|
3949
3959
|
}
|
|
3950
3960
|
},
|
|
3951
3961
|
setup(e) {
|
|
3952
|
-
return (t, n) => (h(), S("svg",
|
|
3953
|
-
|
|
3954
|
-
|
|
3962
|
+
return (t, n) => (h(), S("svg", cl, [
|
|
3963
|
+
L("mask", ul, [
|
|
3964
|
+
L("rect", {
|
|
3955
3965
|
fill: e.color,
|
|
3956
3966
|
height: "20",
|
|
3957
3967
|
width: "20"
|
|
3958
|
-
}, null, 8,
|
|
3968
|
+
}, null, 8, dl)
|
|
3959
3969
|
]),
|
|
3960
|
-
|
|
3961
|
-
|
|
3970
|
+
L("g", fl, [
|
|
3971
|
+
L("path", {
|
|
3962
3972
|
d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
|
|
3963
3973
|
fill: e.color
|
|
3964
|
-
}, null, 8,
|
|
3974
|
+
}, null, 8, pl)
|
|
3965
3975
|
])
|
|
3966
3976
|
]));
|
|
3967
3977
|
}
|
|
3968
|
-
}),
|
|
3978
|
+
}), hl = {
|
|
3969
3979
|
key: 1,
|
|
3970
3980
|
class: "kong-ui-entity-filter"
|
|
3971
|
-
},
|
|
3981
|
+
}, ml = { class: "kong-ui-entity-filter-menu" }, gl = ["data-testid"], yl = ["onClick", "onKeydown"], vl = { class: "menu-item-indicator" }, bl = { class: "menu-item-body" }, xl = ["for"], Cl = { class: "menu-item-buttons" }, _l = { class: "filter-clear-button-container" }, kl = /* @__PURE__ */ H({
|
|
3972
3982
|
__name: "EntityFilter",
|
|
3973
3983
|
props: {
|
|
3974
3984
|
// filter config, either exact match or fuzzy match
|
|
@@ -4016,9 +4026,9 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4016
4026
|
p("");
|
|
4017
4027
|
}, b = (m) => `filter-${m}`, g = (m) => {
|
|
4018
4028
|
var v, y;
|
|
4019
|
-
return (((y = (v = r.config.schema) == null ? void 0 : v[m]) == null ? void 0 : y.values) ?? []).map((
|
|
4020
|
-
value:
|
|
4021
|
-
label:
|
|
4029
|
+
return (((y = (v = r.config.schema) == null ? void 0 : v[m]) == null ? void 0 : y.values) ?? []).map(($) => ({
|
|
4030
|
+
value: $,
|
|
4031
|
+
label: $
|
|
4022
4032
|
}));
|
|
4023
4033
|
}, _ = (m) => {
|
|
4024
4034
|
var v, y;
|
|
@@ -4031,11 +4041,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4031
4041
|
}, E = () => {
|
|
4032
4042
|
o.value = {}, ee(!0);
|
|
4033
4043
|
}, ee = (m = !1) => {
|
|
4034
|
-
const v = Object.keys(o.value).reduce((y,
|
|
4044
|
+
const v = Object.keys(o.value).reduce((y, $) => (o.value[$] && (y[$] = `${o.value[$]}`), y), {});
|
|
4035
4045
|
m && (a.value = !1), i("update:modelValue", new URLSearchParams(v).toString());
|
|
4036
4046
|
};
|
|
4037
4047
|
return (m, v) => {
|
|
4038
|
-
const y = B("KInput"),
|
|
4048
|
+
const y = B("KInput"), $ = B("KButton"), F = B("KSelect");
|
|
4039
4049
|
return e.config.isExactMatch ? (h(), K(y, {
|
|
4040
4050
|
key: 0,
|
|
4041
4051
|
autocomplete: "off",
|
|
@@ -4049,7 +4059,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4049
4059
|
N(Et)
|
|
4050
4060
|
]),
|
|
4051
4061
|
after: x(() => [
|
|
4052
|
-
he(N(I(
|
|
4062
|
+
he(N(I(Do), {
|
|
4053
4063
|
class: "kong-ui-entity-filter-clear",
|
|
4054
4064
|
onClick: f
|
|
4055
4065
|
}, null, 512), [
|
|
@@ -4057,8 +4067,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4057
4067
|
])
|
|
4058
4068
|
]),
|
|
4059
4069
|
_: 1
|
|
4060
|
-
}, 8, ["model-value", "placeholder"])) : (h(), S("div",
|
|
4061
|
-
N(
|
|
4070
|
+
}, 8, ["model-value", "placeholder"])) : (h(), S("div", hl, [
|
|
4071
|
+
N($, {
|
|
4062
4072
|
appearance: "tertiary",
|
|
4063
4073
|
"data-testid": "filter-button",
|
|
4064
4074
|
onClick: d
|
|
@@ -4069,13 +4079,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4069
4079
|
]),
|
|
4070
4080
|
_: 1
|
|
4071
4081
|
}),
|
|
4072
|
-
he(
|
|
4082
|
+
he(L("div", {
|
|
4073
4083
|
class: "kong-ui-entity-filter-backdrop",
|
|
4074
4084
|
onClick: d
|
|
4075
4085
|
}, null, 512), [
|
|
4076
4086
|
[me, a.value]
|
|
4077
4087
|
]),
|
|
4078
|
-
he(
|
|
4088
|
+
he(L("div", ml, [
|
|
4079
4089
|
(h(!0), S(le, null, ie(u.value, (k) => {
|
|
4080
4090
|
var j, T;
|
|
4081
4091
|
return h(), S("div", {
|
|
@@ -4083,27 +4093,27 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4083
4093
|
class: "kong-ui-entity-filter-menu-item",
|
|
4084
4094
|
"data-testid": k.value
|
|
4085
4095
|
}, [
|
|
4086
|
-
|
|
4096
|
+
L("span", {
|
|
4087
4097
|
class: ue(["menu-item-title", { expanded: l.value.has(k.value) }]),
|
|
4088
4098
|
role: "button",
|
|
4089
4099
|
tabindex: "0",
|
|
4090
4100
|
onClick: (w) => c(k.value),
|
|
4091
|
-
onKeydown:
|
|
4101
|
+
onKeydown: Ln((w) => c(k.value), ["enter"])
|
|
4092
4102
|
}, [
|
|
4093
4103
|
V(O(k.label) + " ", 1),
|
|
4094
|
-
he(
|
|
4104
|
+
he(L("span", vl, null, 512), [
|
|
4095
4105
|
[me, s.value.includes(k.value)]
|
|
4096
4106
|
]),
|
|
4097
|
-
N(I(
|
|
4107
|
+
N(I(Lo), {
|
|
4098
4108
|
class: ue(["menu-item-expand-icon", { expanded: l.value.has(k.value) }]),
|
|
4099
|
-
color: I(
|
|
4109
|
+
color: I(Ar)
|
|
4100
4110
|
}, null, 8, ["class", "color"])
|
|
4101
|
-
], 42,
|
|
4102
|
-
he(
|
|
4103
|
-
|
|
4111
|
+
], 42, yl),
|
|
4112
|
+
he(L("div", bl, [
|
|
4113
|
+
L("label", {
|
|
4104
4114
|
class: "menu-item-label",
|
|
4105
4115
|
for: b(k.value)
|
|
4106
|
-
}, O(I(n)("filter.fieldLabel")), 9,
|
|
4116
|
+
}, O(I(n)("filter.fieldLabel")), 9, xl),
|
|
4107
4117
|
((T = (j = e.config.schema) == null ? void 0 : j[k.value]) == null ? void 0 : T.type) === "select" ? (h(), K(F, {
|
|
4108
4118
|
key: 0,
|
|
4109
4119
|
id: b(k.value),
|
|
@@ -4123,8 +4133,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4123
4133
|
], 512), [
|
|
4124
4134
|
[me, l.value.has(k.value)]
|
|
4125
4135
|
]),
|
|
4126
|
-
he(
|
|
4127
|
-
N(
|
|
4136
|
+
he(L("div", Cl, [
|
|
4137
|
+
N($, {
|
|
4128
4138
|
appearance: "tertiary",
|
|
4129
4139
|
"data-testid": "apply-filter",
|
|
4130
4140
|
size: "small",
|
|
@@ -4135,7 +4145,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4135
4145
|
]),
|
|
4136
4146
|
_: 1
|
|
4137
4147
|
}),
|
|
4138
|
-
N(
|
|
4148
|
+
N($, {
|
|
4139
4149
|
appearance: "tertiary",
|
|
4140
4150
|
"data-testid": "clear-filter",
|
|
4141
4151
|
size: "small",
|
|
@@ -4149,10 +4159,10 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4149
4159
|
], 512), [
|
|
4150
4160
|
[me, l.value.has(k.value)]
|
|
4151
4161
|
])
|
|
4152
|
-
], 8,
|
|
4162
|
+
], 8, gl);
|
|
4153
4163
|
}), 128)),
|
|
4154
|
-
|
|
4155
|
-
N(
|
|
4164
|
+
L("div", _l, [
|
|
4165
|
+
N($, {
|
|
4156
4166
|
appearance: "tertiary",
|
|
4157
4167
|
size: "small",
|
|
4158
4168
|
onClick: E
|
|
@@ -4169,7 +4179,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4169
4179
|
]));
|
|
4170
4180
|
};
|
|
4171
4181
|
}
|
|
4172
|
-
}),
|
|
4182
|
+
}), Pl = /* @__PURE__ */ re(kl, [["__scopeId", "data-v-8cfadde3"]]), Hl = /* @__PURE__ */ H({
|
|
4173
4183
|
__name: "EntityToggleModal",
|
|
4174
4184
|
props: {
|
|
4175
4185
|
visible: {
|
|
@@ -4238,7 +4248,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4238
4248
|
V(O(e.entityType), 1)
|
|
4239
4249
|
]),
|
|
4240
4250
|
entityName: x(() => [
|
|
4241
|
-
|
|
4251
|
+
L("strong", null, O(e.entityName), 1)
|
|
4242
4252
|
]),
|
|
4243
4253
|
_: 1
|
|
4244
4254
|
}, 8, ["keypath"])
|
|
@@ -4248,7 +4258,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4248
4258
|
]);
|
|
4249
4259
|
};
|
|
4250
4260
|
}
|
|
4251
|
-
}),
|
|
4261
|
+
}), Vl = /* @__PURE__ */ H({
|
|
4252
4262
|
__name: "PermissionsWrapper",
|
|
4253
4263
|
props: {
|
|
4254
4264
|
/**
|
|
@@ -4278,13 +4288,13 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4278
4288
|
isAllowed: n.value
|
|
4279
4289
|
}) : D("", !0);
|
|
4280
4290
|
}
|
|
4281
|
-
}),
|
|
4291
|
+
}), Al = { class: "form-section-wrapper" }, wl = {
|
|
4282
4292
|
key: 1,
|
|
4283
4293
|
class: "form-section-description"
|
|
4284
|
-
},
|
|
4294
|
+
}, Sl = {
|
|
4285
4295
|
key: 2,
|
|
4286
4296
|
class: "form-section-footer"
|
|
4287
|
-
},
|
|
4297
|
+
}, Il = { class: "form-section-content" }, El = /* @__PURE__ */ H({
|
|
4288
4298
|
__name: "EntityFormSection",
|
|
4289
4299
|
props: {
|
|
4290
4300
|
title: {
|
|
@@ -4313,11 +4323,11 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4313
4323
|
}
|
|
4314
4324
|
},
|
|
4315
4325
|
setup(e) {
|
|
4316
|
-
const t =
|
|
4326
|
+
const t = Ze();
|
|
4317
4327
|
return (n, r) => (h(), S("fieldset", {
|
|
4318
4328
|
class: ue(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
|
|
4319
4329
|
}, [
|
|
4320
|
-
|
|
4330
|
+
L("div", Al, [
|
|
4321
4331
|
e.hideInfoHeader ? D("", !0) : (h(), S("div", {
|
|
4322
4332
|
key: 0,
|
|
4323
4333
|
class: ue(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
@@ -4331,28 +4341,28 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4331
4341
|
]),
|
|
4332
4342
|
_: 1
|
|
4333
4343
|
})) : D("", !0),
|
|
4334
|
-
e.description || I(t).description ? (h(), S("div",
|
|
4344
|
+
e.description || I(t).description ? (h(), S("div", wl, [
|
|
4335
4345
|
Y(n.$slots, "description", {}, () => [
|
|
4336
|
-
|
|
4346
|
+
L("p", null, O(e.description), 1)
|
|
4337
4347
|
], !0)
|
|
4338
4348
|
])) : D("", !0),
|
|
4339
|
-
I(t).footer ? (h(), S("div",
|
|
4349
|
+
I(t).footer ? (h(), S("div", Sl, [
|
|
4340
4350
|
Y(n.$slots, "footer", {}, void 0, !0)
|
|
4341
4351
|
])) : D("", !0)
|
|
4342
4352
|
], 2)),
|
|
4343
|
-
|
|
4353
|
+
L("div", Il, [
|
|
4344
4354
|
Y(n.$slots, "default", {}, void 0, !0)
|
|
4345
4355
|
])
|
|
4346
4356
|
])
|
|
4347
4357
|
], 2));
|
|
4348
4358
|
}
|
|
4349
|
-
}),
|
|
4359
|
+
}), Yl = /* @__PURE__ */ re(El, [["__scopeId", "data-v-4bb31634"]]), Tl = {
|
|
4350
4360
|
class: "kong-ui-public-entity-link",
|
|
4351
4361
|
"data-testid": "entity-link-parent"
|
|
4352
|
-
},
|
|
4362
|
+
}, Fl = {
|
|
4353
4363
|
key: 0,
|
|
4354
4364
|
class: "deleted-entity"
|
|
4355
|
-
},
|
|
4365
|
+
}, Ol = { key: 1 }, $l = ["onClick"], Ll = /* @__PURE__ */ H({
|
|
4356
4366
|
__name: "EntityLink",
|
|
4357
4367
|
props: {
|
|
4358
4368
|
entityLinkData: {
|
|
@@ -4383,8 +4393,8 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4383
4393
|
};
|
|
4384
4394
|
return (c, p) => {
|
|
4385
4395
|
const f = B("KTooltip"), b = B("KExternalLink"), g = B("KClipboardProvider");
|
|
4386
|
-
return h(), S("div",
|
|
4387
|
-
l.value ? (h(), S("div",
|
|
4396
|
+
return h(), S("div", Tl, [
|
|
4397
|
+
l.value ? (h(), S("div", Fl, O(u.value), 1)) : s.value ? s.value ? (h(), K(b, {
|
|
4388
4398
|
key: 2,
|
|
4389
4399
|
class: "entity-link",
|
|
4390
4400
|
"hide-icon": !e.newWindow,
|
|
@@ -4396,7 +4406,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4396
4406
|
text: I(r) && e.entityLinkData.label || ""
|
|
4397
4407
|
}, {
|
|
4398
4408
|
default: x(() => [
|
|
4399
|
-
|
|
4409
|
+
L("span", {
|
|
4400
4410
|
ref_key: "textContent",
|
|
4401
4411
|
ref: n,
|
|
4402
4412
|
class: "entity-link-label"
|
|
@@ -4406,7 +4416,7 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4406
4416
|
}, 8, ["text"])
|
|
4407
4417
|
]),
|
|
4408
4418
|
_: 1
|
|
4409
|
-
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (h(), S("div",
|
|
4419
|
+
}, 8, ["hide-icon", "href", "target"])) : D("", !0) : (h(), S("div", Ol, O(" – "))),
|
|
4410
4420
|
s.value && e.allowCopy ? (h(), K(f, {
|
|
4411
4421
|
key: o.value,
|
|
4412
4422
|
class: "copy-uuid-tooltip",
|
|
@@ -4417,17 +4427,17 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4417
4427
|
default: x(() => [
|
|
4418
4428
|
N(g, null, {
|
|
4419
4429
|
default: x(({ copyToClipboard: _ }) => [
|
|
4420
|
-
|
|
4430
|
+
L("span", {
|
|
4421
4431
|
class: "entity-link-copy-id",
|
|
4422
|
-
onClick:
|
|
4432
|
+
onClick: Ve((M) => d(_), ["stop"])
|
|
4423
4433
|
}, [
|
|
4424
|
-
N(I(
|
|
4434
|
+
N(I(Vo), {
|
|
4425
4435
|
class: "copy-icon",
|
|
4426
|
-
color: I(
|
|
4436
|
+
color: I(wr),
|
|
4427
4437
|
"data-testid": "copy-id",
|
|
4428
|
-
size: I(
|
|
4438
|
+
size: I(Ir)
|
|
4429
4439
|
}, null, 8, ["color", "size"])
|
|
4430
|
-
], 8,
|
|
4440
|
+
], 8, $l)
|
|
4431
4441
|
]),
|
|
4432
4442
|
_: 1
|
|
4433
4443
|
})
|
|
@@ -4437,36 +4447,37 @@ const lo = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
|
|
|
4437
4447
|
]);
|
|
4438
4448
|
};
|
|
4439
4449
|
}
|
|
4440
|
-
}),
|
|
4450
|
+
}), zl = /* @__PURE__ */ re(Ll, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Wl, useDeleteUrlBuilder: Jl, useErrors: Gl, useExternalLinkCreator: Zl, useFetchUrlBuilder: Ql, useFetcher: Xl, useDebouncedFilter: es, useStringHelpers: ts, useHelpers: ns, useGatewayFeatureSupported: rs, useTruncationDetector: is, useValidators: as } = z;
|
|
4441
4451
|
export {
|
|
4442
|
-
|
|
4452
|
+
mo as ConfigCardDisplay,
|
|
4443
4453
|
Rt as ConfigCardItem,
|
|
4444
4454
|
ne as ConfigurationSchemaSection,
|
|
4445
4455
|
P as ConfigurationSchemaType,
|
|
4446
|
-
|
|
4447
|
-
|
|
4456
|
+
Dl as EntityBaseConfigCard,
|
|
4457
|
+
jl as EntityBaseForm,
|
|
4448
4458
|
jn as EntityBaseFormType,
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4459
|
+
Ul as EntityBaseTable,
|
|
4460
|
+
ql as EntityDeleteModal,
|
|
4461
|
+
Pl as EntityFilter,
|
|
4462
|
+
Yl as EntityFormSection,
|
|
4463
|
+
zl as EntityLink,
|
|
4464
|
+
Hl as EntityToggleModal,
|
|
4455
4465
|
Dn as EntityTypes,
|
|
4456
4466
|
ve as FetcherStatus,
|
|
4457
|
-
|
|
4467
|
+
br as InternalLinkItem,
|
|
4458
4468
|
Kt as JsonCodeBlock,
|
|
4459
|
-
|
|
4469
|
+
Vl as PermissionsWrapper,
|
|
4460
4470
|
Sn as YamlCodeBlock,
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4471
|
+
Wl as useAxios,
|
|
4472
|
+
es as useDebouncedFilter,
|
|
4473
|
+
Jl as useDeleteUrlBuilder,
|
|
4474
|
+
Gl as useErrors,
|
|
4475
|
+
Zl as useExternalLinkCreator,
|
|
4476
|
+
Ql as useFetchUrlBuilder,
|
|
4477
|
+
Xl as useFetcher,
|
|
4478
|
+
rs as useGatewayFeatureSupported,
|
|
4479
|
+
ns as useHelpers,
|
|
4480
|
+
ts as useStringHelpers,
|
|
4481
|
+
is as useTruncationDetector,
|
|
4482
|
+
as as useValidators
|
|
4472
4483
|
};
|