@kong-ui-public/entities-keys 3.1.11 → 3.1.12
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-keys.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as Q, computed as S, openBlock as f, createBlock as U, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as Q, computed as S, openBlock as f, createBlock as U, resolveDynamicComponent as we, normalizeStyle as Ve, withCtx as k, createElementBlock as A, toDisplayString as E, createCommentVNode as J, pushScopeId as De, popScopeId as Pe, createElementVNode as L, ref as M, watch as he, renderSlot as ee, unref as m, resolveComponent as R, createVNode as x, createTextVNode as G, useCssVars as rn, useSlots as bt, createSlots as Me, normalizeProps as oi, guardReactiveProps as li, Fragment as me, renderList as fe, mergeProps as si, normalizeClass as $e, onBeforeMount as lt, withModifiers as yt, withDirectives as Ie, vShow as xe, withKeys as ci, inject as ui, onMounted as di, onUnmounted as pi, Teleport as fi, reactive as Tt } from "vue";
|
|
2
2
|
import { useRouter as Ct } from "vue-router";
|
|
3
3
|
import { createI18n as on, i18nTComponent as ln } from "@kong-ui-public/i18n";
|
|
4
4
|
import Ot from "axios";
|
|
5
|
-
import { BadgeMethodAppearances as
|
|
6
|
-
const Kt = "24px",
|
|
5
|
+
import { BadgeMethodAppearances as yi } from "@kong/kongponents";
|
|
6
|
+
const Kt = "24px", mi = (e, t) => {
|
|
7
7
|
const n = e.__vccOpts || e;
|
|
8
8
|
for (const [i, a] of t)
|
|
9
9
|
n[i] = a;
|
|
10
10
|
return n;
|
|
11
|
-
},
|
|
11
|
+
}, gi = (e) => (De("data-v-1d2a8d30"), e = e(), Pe(), e), hi = ["aria-hidden"], vi = {
|
|
12
12
|
key: 0,
|
|
13
13
|
"data-testid": "kui-icon-svg-title"
|
|
14
|
-
},
|
|
14
|
+
}, ki = /* @__PURE__ */ gi(() => /* @__PURE__ */ L("path", {
|
|
15
15
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
16
16
|
fill: "currentColor"
|
|
17
|
-
}, null, -1)),
|
|
17
|
+
}, null, -1)), bi = /* @__PURE__ */ Q({
|
|
18
18
|
__name: "AddIcon",
|
|
19
19
|
props: {
|
|
20
20
|
/** The accessibility text provided to screen readers */
|
|
@@ -83,7 +83,7 @@ const Kt = "24px", yi = (e, t) => {
|
|
|
83
83
|
lineHeight: "0",
|
|
84
84
|
width: n.value
|
|
85
85
|
}));
|
|
86
|
-
return (a, r) => (f(), U(
|
|
86
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
87
87
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
88
88
|
class: "kui-icon add-icon",
|
|
89
89
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
@@ -100,14 +100,14 @@ const Kt = "24px", yi = (e, t) => {
|
|
|
100
100
|
width: "100%",
|
|
101
101
|
xmlns: "http://www.w3.org/2000/svg"
|
|
102
102
|
}, [
|
|
103
|
-
e.title ? (f(), A("title",
|
|
104
|
-
|
|
105
|
-
], 8,
|
|
103
|
+
e.title ? (f(), A("title", vi, E(e.title), 1)) : J("", !0),
|
|
104
|
+
ki
|
|
105
|
+
], 8, hi))
|
|
106
106
|
]),
|
|
107
107
|
_: 1
|
|
108
108
|
}, 8, ["aria-hidden", "style"]));
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
110
|
+
}), Ci = /* @__PURE__ */ mi(bi, [["__scopeId", "data-v-1d2a8d30"]]), wi = {
|
|
111
111
|
title: "Keys",
|
|
112
112
|
list: {
|
|
113
113
|
toolbar_actions: {
|
|
@@ -219,11 +219,11 @@ const Kt = "24px", yi = (e, t) => {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
},
|
|
223
|
-
keys:
|
|
222
|
+
}, Si = {
|
|
223
|
+
keys: wi
|
|
224
224
|
};
|
|
225
|
-
function
|
|
226
|
-
const e = on("en-us",
|
|
225
|
+
function _i() {
|
|
226
|
+
const e = on("en-us", Si);
|
|
227
227
|
return {
|
|
228
228
|
i18n: e,
|
|
229
229
|
i18nT: ln(e)
|
|
@@ -231,7 +231,7 @@ function Si() {
|
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
const wt = {
|
|
234
|
-
useI18n:
|
|
234
|
+
useI18n: _i
|
|
235
235
|
}, Se = "/v2/control-planes/{controlPlaneId}/core-entities", _e = "/{workspace}", Ae = {
|
|
236
236
|
list: {
|
|
237
237
|
konnect: {
|
|
@@ -271,7 +271,7 @@ const wt = {
|
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
273
|
var sn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(sn || {}), ze = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(ze || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(Oe || {}), Y = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), se = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(se || {});
|
|
274
|
-
function
|
|
274
|
+
function Ii() {
|
|
275
275
|
return {
|
|
276
276
|
getAxiosInstance: (e = {}) => {
|
|
277
277
|
try {
|
|
@@ -295,7 +295,7 @@ function _i() {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function xi() {
|
|
299
299
|
return {
|
|
300
300
|
debounce: (e, t) => {
|
|
301
301
|
let n;
|
|
@@ -307,14 +307,14 @@ function Ii() {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
|
-
const ut = "khcp-user-table-preferences",
|
|
310
|
+
const ut = "khcp-user-table-preferences", Ai = {
|
|
311
311
|
pageSize: 30,
|
|
312
312
|
sortColumnKey: void 0,
|
|
313
313
|
sortColumnOrder: void 0,
|
|
314
314
|
columnWidths: {},
|
|
315
315
|
columnVisibility: {}
|
|
316
316
|
};
|
|
317
|
-
function
|
|
317
|
+
function ji() {
|
|
318
318
|
const e = (n) => {
|
|
319
319
|
if (typeof n == "string")
|
|
320
320
|
try {
|
|
@@ -338,7 +338,7 @@ function Ai() {
|
|
|
338
338
|
},
|
|
339
339
|
getTablePreferences: (n) => {
|
|
340
340
|
const i = t();
|
|
341
|
-
return (i == null ? void 0 : i.get(n)) || void 0 ||
|
|
341
|
+
return (i == null ? void 0 : i.get(n)) || void 0 || Ai;
|
|
342
342
|
},
|
|
343
343
|
deleteAllTablePreferences: () => {
|
|
344
344
|
localStorage.removeItem(ut);
|
|
@@ -346,22 +346,22 @@ function Ai() {
|
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
348
|
function St(e = {}) {
|
|
349
|
-
const { getAxiosInstance: t } =
|
|
349
|
+
const { getAxiosInstance: t } = Ii();
|
|
350
350
|
return {
|
|
351
351
|
axiosInstance: t(e)
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
const
|
|
354
|
+
const $i = {
|
|
355
355
|
actions: {
|
|
356
356
|
copyId: "Copy ID",
|
|
357
357
|
copied_id: 'Copied "{id}" to the clipboard',
|
|
358
358
|
copyToClipboard: "Copied successfully!",
|
|
359
359
|
copyToClipboardFailed: "Failed to copy to the clipboard"
|
|
360
360
|
}
|
|
361
|
-
},
|
|
361
|
+
}, Ni = {
|
|
362
362
|
message: "Are you sure you want to delete this {entityType}?",
|
|
363
363
|
messageWithName: "Are you sure you want to delete this {entityType} {entityName}?"
|
|
364
|
-
},
|
|
364
|
+
}, Ti = {
|
|
365
365
|
actions: {
|
|
366
366
|
viewConfiguration: "View Configuration",
|
|
367
367
|
save: "Save",
|
|
@@ -377,13 +377,13 @@ const ji = {
|
|
|
377
377
|
errors: {
|
|
378
378
|
edit: "The entity could not be edited at this time."
|
|
379
379
|
}
|
|
380
|
-
},
|
|
380
|
+
}, Oi = {
|
|
381
381
|
emptyState: {
|
|
382
382
|
noSearchResultsTitle: "No results found",
|
|
383
383
|
noSearchResultsMessage: "Please adjust the criteria and try again.",
|
|
384
384
|
noSearchResultsCtaText: "Clear"
|
|
385
385
|
}
|
|
386
|
-
},
|
|
386
|
+
}, Ki = {
|
|
387
387
|
title: "Configuration",
|
|
388
388
|
actions: {
|
|
389
389
|
copy: "Copy JSON"
|
|
@@ -418,7 +418,7 @@ const ji = {
|
|
|
418
418
|
entryTitle: "Entry {index}",
|
|
419
419
|
structuredFormat: "Structured"
|
|
420
420
|
}
|
|
421
|
-
},
|
|
421
|
+
}, Mi = {
|
|
422
422
|
filterButtonText: "Filter",
|
|
423
423
|
fieldLabel: "Filter by:",
|
|
424
424
|
inputPlaceholder: "Enter a value",
|
|
@@ -426,17 +426,17 @@ const ji = {
|
|
|
426
426
|
applyButtonText: "Apply",
|
|
427
427
|
clearButtonText: "Clear",
|
|
428
428
|
clearAllButtonText: "Clear all filters"
|
|
429
|
-
},
|
|
429
|
+
}, Ei = {
|
|
430
430
|
errors: {
|
|
431
431
|
fetch: "Could not fetch available items",
|
|
432
432
|
invalid: "Please select a valid value"
|
|
433
433
|
}
|
|
434
|
-
},
|
|
434
|
+
}, qi = {
|
|
435
435
|
unexpected: "An unexpected error has occurred",
|
|
436
436
|
dataKeyUndefined: 'The data key "{dataKey}" does not exist in the response.'
|
|
437
|
-
}, qi = {
|
|
438
|
-
utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
|
|
439
437
|
}, Fi = {
|
|
438
|
+
utf8Name: "The name can be any string containing characters, letters, numbers, or the following characters: ., -, _, or ~. Do not use spaces."
|
|
439
|
+
}, Bi = {
|
|
440
440
|
enable: {
|
|
441
441
|
title: "Enable {entityType}",
|
|
442
442
|
message: "Are you sure you want to enable the {entityType} {entityName}?",
|
|
@@ -447,20 +447,20 @@ const ji = {
|
|
|
447
447
|
message: "Are you sure you want to disable the {entityType} {entityName}?",
|
|
448
448
|
confirmText: "Yes, disable"
|
|
449
449
|
}
|
|
450
|
-
},
|
|
451
|
-
global:
|
|
452
|
-
deleteModal:
|
|
453
|
-
baseForm:
|
|
454
|
-
baseTable:
|
|
455
|
-
baseConfigCard:
|
|
456
|
-
filter:
|
|
457
|
-
debouncedFilter:
|
|
458
|
-
errors:
|
|
459
|
-
validationErrors:
|
|
460
|
-
toggleModal:
|
|
450
|
+
}, Li = {
|
|
451
|
+
global: $i,
|
|
452
|
+
deleteModal: Ni,
|
|
453
|
+
baseForm: Ti,
|
|
454
|
+
baseTable: Oi,
|
|
455
|
+
baseConfigCard: Ki,
|
|
456
|
+
filter: Mi,
|
|
457
|
+
debouncedFilter: Ei,
|
|
458
|
+
errors: qi,
|
|
459
|
+
validationErrors: Fi,
|
|
460
|
+
toggleModal: Bi
|
|
461
461
|
};
|
|
462
462
|
function st() {
|
|
463
|
-
const e = on("en-us",
|
|
463
|
+
const e = on("en-us", Li);
|
|
464
464
|
return {
|
|
465
465
|
i18n: e,
|
|
466
466
|
i18nT: ln(e)
|
|
@@ -511,12 +511,12 @@ function cn() {
|
|
|
511
511
|
isValidUuid: (n) => n ? /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/.test(n) : !1
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function Ui(e, t, n, i = {
|
|
515
515
|
fetchedItemsKey: "data",
|
|
516
516
|
searchKeys: ["id"]
|
|
517
517
|
}) {
|
|
518
518
|
n || (n = "1000");
|
|
519
|
-
const { axiosInstance: a } = St(e.axiosRequestConfig), { i18n: { t: r } } = st(), { debounce: o } =
|
|
519
|
+
const { axiosInstance: a } = St(e.axiosRequestConfig), { i18n: { t: r } } = st(), { debounce: o } = xi(), l = o(async (h) => {
|
|
520
520
|
await V(h);
|
|
521
521
|
}, 200), c = M(!1), u = M(""), s = M(""), d = M([]), v = M([]), y = M(void 0), I = m(t);
|
|
522
522
|
let N = `${e.apiBaseUrl}${I}`;
|
|
@@ -587,13 +587,13 @@ function Li(e, t, n, i = {
|
|
|
587
587
|
debouncedQueryChange: l
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Ri(e, t) {
|
|
591
591
|
const n = m(t), i = S(
|
|
592
592
|
() => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
|
|
593
593
|
);
|
|
594
594
|
return i.value.search = "", (a) => `${i.value.href}/${a}`;
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function Vi() {
|
|
597
597
|
const { i18n: { t: e } } = st();
|
|
598
598
|
return {
|
|
599
599
|
getMessageFromError: (t) => {
|
|
@@ -623,7 +623,7 @@ function Ri() {
|
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Di(e) {
|
|
627
627
|
const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
|
|
628
628
|
try {
|
|
629
629
|
const i = e.join("/"), a = `${n}${i}`, r = e.some((o) => o.trim() === "");
|
|
@@ -652,7 +652,7 @@ function un(e, t) {
|
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
654
|
}
|
|
655
|
-
function
|
|
655
|
+
function Pi(e, t, n = "data") {
|
|
656
656
|
const i = m(t), { axiosInstance: a } = St(e.axiosRequestConfig), r = un(e, i), o = M({
|
|
657
657
|
status: Oe.Idle
|
|
658
658
|
});
|
|
@@ -698,7 +698,7 @@ function Di(e, t, n = "data") {
|
|
|
698
698
|
}
|
|
699
699
|
}, fetcherState: o };
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function zi() {
|
|
702
702
|
const e = (n, i = "_") => n ? n.split(i).map((a) => a.toLowerCase() === "id" ? a.toUpperCase() : a.charAt(0).toUpperCase() + a.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
|
|
703
703
|
return {
|
|
704
704
|
capitalize: (n) => n ? n.replace(t, (i) => i.toUpperCase()) : "",
|
|
@@ -715,24 +715,24 @@ const dn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
715
715
|
}, Et = (e) => e === "*" || e === "x" || e === "X", qt = (e) => {
|
|
716
716
|
const t = parseInt(e, 10);
|
|
717
717
|
return isNaN(t) ? e : t;
|
|
718
|
-
},
|
|
718
|
+
}, Ji = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Hi = (e, t) => {
|
|
719
719
|
if (Et(e) || Et(t))
|
|
720
720
|
return 0;
|
|
721
|
-
const [n, i] =
|
|
721
|
+
const [n, i] = Ji(qt(e), qt(t));
|
|
722
722
|
return n > i ? 1 : n < i ? -1 : 0;
|
|
723
723
|
}, Ft = (e, t) => {
|
|
724
724
|
for (let n = 0; n < Math.max(e.length, t.length); n++) {
|
|
725
|
-
const i =
|
|
725
|
+
const i = Hi(e[n] || "0", t[n] || "0");
|
|
726
726
|
if (i !== 0)
|
|
727
727
|
return i;
|
|
728
728
|
}
|
|
729
729
|
return 0;
|
|
730
|
-
},
|
|
730
|
+
}, Wi = (e, t) => {
|
|
731
731
|
const n = Mt(e), i = Mt(t), a = n.pop(), r = i.pop(), o = Ft(n, i);
|
|
732
732
|
return o !== 0 ? o : a && r ? Ft(a.split("."), r.split(".")) : a || r ? a ? -1 : 1 : 0;
|
|
733
733
|
}, Bt = (e, t, n) => {
|
|
734
|
-
|
|
735
|
-
const i =
|
|
734
|
+
Zi(n);
|
|
735
|
+
const i = Wi(e, t);
|
|
736
736
|
return pn[n].includes(i);
|
|
737
737
|
}, pn = {
|
|
738
738
|
">": [1],
|
|
@@ -741,18 +741,18 @@ const dn = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
741
741
|
"<=": [-1, 0],
|
|
742
742
|
"<": [-1],
|
|
743
743
|
"!=": [-1, 1]
|
|
744
|
-
}, Lt = Object.keys(pn),
|
|
744
|
+
}, Lt = Object.keys(pn), Zi = (e) => {
|
|
745
745
|
if (typeof e != "string")
|
|
746
746
|
throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
|
|
747
747
|
if (Lt.indexOf(e) === -1)
|
|
748
748
|
throw new Error(`Invalid operator, expected one of ${Lt.join("|")}`);
|
|
749
|
-
},
|
|
750
|
-
function
|
|
749
|
+
}, Yi = (e) => typeof e == "string" && /^[v\d]/.test(e) && dn.test(e);
|
|
750
|
+
function Gi(e) {
|
|
751
751
|
const { gatewayInfo: t, supportedRange: n } = e;
|
|
752
752
|
if (!t)
|
|
753
753
|
return !0;
|
|
754
754
|
const { edition: i, version: a } = t;
|
|
755
|
-
if (!
|
|
755
|
+
if (!Yi(a))
|
|
756
756
|
return console.error("Invalid version"), !1;
|
|
757
757
|
const r = n[i];
|
|
758
758
|
if (!r)
|
|
@@ -760,7 +760,7 @@ function Yi(e) {
|
|
|
760
760
|
const [o, l] = r;
|
|
761
761
|
return !(o && Bt(a, o, "<") || l && Bt(a, l, ">"));
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Qi(e) {
|
|
764
764
|
const t = M(0), n = M(0), i = M(!1);
|
|
765
765
|
return he(e, (a) => {
|
|
766
766
|
a && !i.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, i.value = !0);
|
|
@@ -768,7 +768,7 @@ function Gi(e) {
|
|
|
768
768
|
isTruncated: S(() => t.value < n.value)
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function Xi() {
|
|
772
772
|
const { i18n: { t: e } } = st();
|
|
773
773
|
return {
|
|
774
774
|
utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
|
|
@@ -776,22 +776,22 @@ function Qi() {
|
|
|
776
776
|
}
|
|
777
777
|
const ae = {
|
|
778
778
|
useAxios: St,
|
|
779
|
-
useDebouncedFilter:
|
|
780
|
-
useDeleteUrlBuilder:
|
|
781
|
-
useErrors:
|
|
782
|
-
useExternalLinkCreator:
|
|
783
|
-
useFetcher:
|
|
779
|
+
useDebouncedFilter: Ui,
|
|
780
|
+
useDeleteUrlBuilder: Ri,
|
|
781
|
+
useErrors: Vi,
|
|
782
|
+
useExternalLinkCreator: Di,
|
|
783
|
+
useFetcher: Pi,
|
|
784
784
|
useFetchUrlBuilder: un,
|
|
785
785
|
useHelpers: cn,
|
|
786
|
-
useStringHelpers:
|
|
786
|
+
useStringHelpers: zi,
|
|
787
787
|
useI18n: st,
|
|
788
|
-
useGatewayFeatureSupported:
|
|
789
|
-
useTruncationDetector:
|
|
790
|
-
useValidators:
|
|
791
|
-
},
|
|
788
|
+
useGatewayFeatureSupported: Gi,
|
|
789
|
+
useTruncationDetector: Qi,
|
|
790
|
+
useValidators: Xi
|
|
791
|
+
}, ea = {
|
|
792
792
|
key: 0,
|
|
793
793
|
class: "config-card-fieldset-title"
|
|
794
|
-
},
|
|
794
|
+
}, ta = /* @__PURE__ */ Q({
|
|
795
795
|
__name: "JsonCardItem",
|
|
796
796
|
props: {
|
|
797
797
|
item: {
|
|
@@ -815,11 +815,11 @@ const ae = {
|
|
|
815
815
|
var c;
|
|
816
816
|
return t.isArrayItem ? (c = r.value) != null && c.name ? i(r.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
|
|
817
817
|
});
|
|
818
|
-
return (c, u) => (f(), U(
|
|
818
|
+
return (c, u) => (f(), U(we(e.isArrayItem ? "fieldset" : "div"), {
|
|
819
819
|
class: $e(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
|
|
820
820
|
}, {
|
|
821
821
|
default: k(() => [
|
|
822
|
-
e.isArrayItem ? (f(), A("legend",
|
|
822
|
+
e.isArrayItem ? (f(), A("legend", ea, [
|
|
823
823
|
L("b", null, E(l.value), 1)
|
|
824
824
|
])) : J("", !0),
|
|
825
825
|
(f(!0), A(me, null, fe(Object.keys(o.value), (s, d) => (f(), U(tt, {
|
|
@@ -839,7 +839,7 @@ const ae = {
|
|
|
839
839
|
for (const [i, a] of t)
|
|
840
840
|
n[i] = a;
|
|
841
841
|
return n;
|
|
842
|
-
}, fn = /* @__PURE__ */ ve(
|
|
842
|
+
}, fn = /* @__PURE__ */ ve(ta, [["__scopeId", "data-v-68ca83ec"]]), na = /* @__PURE__ */ Q({
|
|
843
843
|
__name: "InternalLinkItem",
|
|
844
844
|
props: {
|
|
845
845
|
item: {
|
|
@@ -866,7 +866,7 @@ const ae = {
|
|
|
866
866
|
]);
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
|
-
}), yn = /* @__PURE__ */ ve(
|
|
869
|
+
}), yn = /* @__PURE__ */ ve(na, [["__scopeId", "data-v-c96811e5"]]), ia = /* @__PURE__ */ Q({
|
|
870
870
|
__name: "StatusBadge",
|
|
871
871
|
props: {
|
|
872
872
|
status: {
|
|
@@ -888,11 +888,11 @@ const ae = {
|
|
|
888
888
|
}, 8, ["appearance"]);
|
|
889
889
|
};
|
|
890
890
|
}
|
|
891
|
-
}),
|
|
891
|
+
}), aa = "#0044f4", ra = "#e0e4ea", oa = "#afb7c5", la = "1px", sa = "20px", ca = { class: "config-card-details-row" }, ua = ["data-testid"], da = ["data-testid"], pa = ["data-testid"], fa = ["data-testid"], ya = { key: 1 }, ma = ["data-testid"], ga = ["data-testid"], ha = ["data-testid"], va = ["data-testid"], ka = {
|
|
892
892
|
name: "ConfigCardItem",
|
|
893
|
-
components: { JsonCardItem: fn, StatusBadge:
|
|
894
|
-
},
|
|
895
|
-
...
|
|
893
|
+
components: { JsonCardItem: fn, StatusBadge: ia, InternalLinkItem: yn }
|
|
894
|
+
}, ba = /* @__PURE__ */ Q({
|
|
895
|
+
...ka,
|
|
896
896
|
props: {
|
|
897
897
|
item: {
|
|
898
898
|
type: Object,
|
|
@@ -912,7 +912,7 @@ const ae = {
|
|
|
912
912
|
emits: ["navigation-click"],
|
|
913
913
|
setup(e, { emit: t }) {
|
|
914
914
|
rn((I) => ({
|
|
915
|
-
"07753575": s.value ? "none" : `solid ${m(
|
|
915
|
+
"07753575": s.value ? "none" : `solid ${m(la)} ${m(ra)}`,
|
|
916
916
|
"32d44ea8": u.value && l.value ? "block" : "flex",
|
|
917
917
|
"5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
|
|
918
918
|
"5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
|
|
@@ -1030,7 +1030,7 @@ const ae = {
|
|
|
1030
1030
|
}), v = M(), { isTruncated: y } = ae.useTruncationDetector(v);
|
|
1031
1031
|
return (I, N) => {
|
|
1032
1032
|
const _ = R("KLabel"), B = R("KBadge"), g = R("KCopy"), V = R("KTooltip");
|
|
1033
|
-
return f(), A("div",
|
|
1033
|
+
return f(), A("div", ca, [
|
|
1034
1034
|
L("div", {
|
|
1035
1035
|
class: "config-card-details-label",
|
|
1036
1036
|
"data-testid": `${e.item.key}-label`
|
|
@@ -1051,13 +1051,13 @@ const ae = {
|
|
|
1051
1051
|
ee(I.$slots, "label-tooltip", {}, () => [
|
|
1052
1052
|
G(E(e.item.tooltip), 1)
|
|
1053
1053
|
], !0)
|
|
1054
|
-
], 8,
|
|
1054
|
+
], 8, da)
|
|
1055
1055
|
]),
|
|
1056
1056
|
key: "0"
|
|
1057
1057
|
} : void 0
|
|
1058
1058
|
]), 1024)
|
|
1059
1059
|
], !0)
|
|
1060
|
-
], 8,
|
|
1060
|
+
], 8, ua),
|
|
1061
1061
|
L("div", {
|
|
1062
1062
|
class: "config-card-details-value",
|
|
1063
1063
|
"data-testid": `${e.item.key}-property-value`
|
|
@@ -1065,8 +1065,8 @@ const ae = {
|
|
|
1065
1065
|
ee(I.$slots, e.item.key, {
|
|
1066
1066
|
rowValue: e.item.value
|
|
1067
1067
|
}, () => [
|
|
1068
|
-
l.value ? (f(), A("div",
|
|
1069
|
-
(f(), U(
|
|
1068
|
+
l.value ? (f(), A("div", ya, [
|
|
1069
|
+
(f(), U(we(d.value.tag), oi(li(d.value.attrs)), {
|
|
1070
1070
|
default: k(() => [
|
|
1071
1071
|
d.value.additionalComponent === "KBadge" ? (f(), A("div", {
|
|
1072
1072
|
key: 0,
|
|
@@ -1084,7 +1084,7 @@ const ae = {
|
|
|
1084
1084
|
]),
|
|
1085
1085
|
_: 2
|
|
1086
1086
|
}, 1032, ["data-testid", "tooltip"]))), 128))
|
|
1087
|
-
], 8,
|
|
1087
|
+
], 8, ma)) : J("", !0),
|
|
1088
1088
|
d.value.additionalComponent === "KCopy" ? (f(), A("div", {
|
|
1089
1089
|
key: 1,
|
|
1090
1090
|
class: "copy-uuid-array",
|
|
@@ -1095,14 +1095,14 @@ const ae = {
|
|
|
1095
1095
|
"data-testid": `${e.item.key}-copy-uuid-${w}`,
|
|
1096
1096
|
text: h
|
|
1097
1097
|
}), null, 16, ["data-testid", "text"]))), 128))
|
|
1098
|
-
], 8,
|
|
1098
|
+
], 8, ga)) : d.value.additionalComponent === "KMethodBadge" ? (f(), A("div", {
|
|
1099
1099
|
key: 2,
|
|
1100
1100
|
class: "method-badge-array",
|
|
1101
1101
|
"data-testid": `${e.item.key}-badge-methods`
|
|
1102
1102
|
}, [
|
|
1103
1103
|
(f(!0), A(me, null, fe(e.item.value, (h, w) => (f(), U(B, {
|
|
1104
1104
|
key: `${e.item.key}-badge-method-${w}`,
|
|
1105
|
-
appearance: Object.values(m(
|
|
1105
|
+
appearance: Object.values(m(yi)).includes(h.toLowerCase()) ? h.toLowerCase() : "custom",
|
|
1106
1106
|
class: "config-badge",
|
|
1107
1107
|
"data-testid": `${e.item.key}-badge-method-${w}`
|
|
1108
1108
|
}, {
|
|
@@ -1111,7 +1111,7 @@ const ae = {
|
|
|
1111
1111
|
]),
|
|
1112
1112
|
_: 2
|
|
1113
1113
|
}, 1032, ["appearance", "data-testid"]))), 128))
|
|
1114
|
-
], 8,
|
|
1114
|
+
], 8, ha)) : J("", !0),
|
|
1115
1115
|
d.value.additionalComponent === "JsonCardItem" ? (f(), A("div", {
|
|
1116
1116
|
key: 3,
|
|
1117
1117
|
"data-testid": `${n.item.key}-json-array-content`
|
|
@@ -1122,7 +1122,7 @@ const ae = {
|
|
|
1122
1122
|
"is-array-item": "",
|
|
1123
1123
|
item: h
|
|
1124
1124
|
}, null, 8, ["index", "item"]))), 128))
|
|
1125
|
-
], 8,
|
|
1125
|
+
], 8, va)) : (f(), U(V, {
|
|
1126
1126
|
key: 4,
|
|
1127
1127
|
text: m(y) ? e.item.value : ""
|
|
1128
1128
|
}, {
|
|
@@ -1141,13 +1141,13 @@ const ae = {
|
|
|
1141
1141
|
])) : (f(), A("div", {
|
|
1142
1142
|
key: 0,
|
|
1143
1143
|
"data-testid": `${e.item.key}-no-value`
|
|
1144
|
-
}, " – ", 8,
|
|
1144
|
+
}, " – ", 8, fa))
|
|
1145
1145
|
], !0)
|
|
1146
|
-
], 8,
|
|
1146
|
+
], 8, pa)
|
|
1147
1147
|
]);
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
1150
|
-
}), tt = /* @__PURE__ */ ve(
|
|
1150
|
+
}), tt = /* @__PURE__ */ ve(ba, [["__scopeId", "data-v-d056663c"]]), Ca = { class: "json-config" }, wa = {
|
|
1151
1151
|
key: 0,
|
|
1152
1152
|
class: "json-endpoint"
|
|
1153
1153
|
}, mn = /* @__PURE__ */ Q({
|
|
@@ -1190,8 +1190,8 @@ const ae = {
|
|
|
1190
1190
|
});
|
|
1191
1191
|
return (a, r) => {
|
|
1192
1192
|
const o = R("KBadge"), l = R("KCodeBlock");
|
|
1193
|
-
return f(), A("div",
|
|
1194
|
-
t.fetcherUrl ? (f(), A("div",
|
|
1193
|
+
return f(), A("div", Ca, [
|
|
1194
|
+
t.fetcherUrl ? (f(), A("div", wa, [
|
|
1195
1195
|
x(o, {
|
|
1196
1196
|
appearance: t.requestMethod
|
|
1197
1197
|
}, {
|
|
@@ -1224,35 +1224,35 @@ const ae = {
|
|
|
1224
1224
|
function gn(e) {
|
|
1225
1225
|
return typeof e > "u" || e === null;
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function Sa(e) {
|
|
1228
1228
|
return typeof e == "object" && e !== null;
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function _a(e) {
|
|
1231
1231
|
return Array.isArray(e) ? e : gn(e) ? [] : [e];
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Ia(e, t) {
|
|
1234
1234
|
var n, i, a, r;
|
|
1235
1235
|
if (t)
|
|
1236
1236
|
for (r = Object.keys(t), n = 0, i = r.length; n < i; n += 1)
|
|
1237
1237
|
a = r[n], e[a] = t[a];
|
|
1238
1238
|
return e;
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function xa(e, t) {
|
|
1241
1241
|
var n = "", i;
|
|
1242
1242
|
for (i = 0; i < t; i += 1)
|
|
1243
1243
|
n += e;
|
|
1244
1244
|
return n;
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function Aa(e) {
|
|
1247
1247
|
return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
|
|
1248
1248
|
}
|
|
1249
|
-
var
|
|
1250
|
-
isNothing:
|
|
1251
|
-
isObject:
|
|
1252
|
-
toArray:
|
|
1253
|
-
repeat:
|
|
1254
|
-
isNegativeZero:
|
|
1255
|
-
extend:
|
|
1249
|
+
var ja = gn, $a = Sa, Na = _a, Ta = xa, Oa = Aa, Ka = Ia, ie = {
|
|
1250
|
+
isNothing: ja,
|
|
1251
|
+
isObject: $a,
|
|
1252
|
+
toArray: Na,
|
|
1253
|
+
repeat: Ta,
|
|
1254
|
+
isNegativeZero: Oa,
|
|
1255
|
+
extend: Ka
|
|
1256
1256
|
};
|
|
1257
1257
|
function hn(e, t) {
|
|
1258
1258
|
var n = "", i = e.reason || "(unknown reason)";
|
|
@@ -1280,7 +1280,7 @@ function dt(e, t, n, i, a) {
|
|
|
1280
1280
|
function pt(e, t) {
|
|
1281
1281
|
return ie.repeat(" ", t - e.length) + e;
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function Ma(e, t) {
|
|
1284
1284
|
if (t = Object.create(t || null), !e.buffer)
|
|
1285
1285
|
return null;
|
|
1286
1286
|
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);
|
|
@@ -1310,7 +1310,7 @@ function Ka(e, t) {
|
|
|
1310
1310
|
`;
|
|
1311
1311
|
return l.replace(/\n$/, "");
|
|
1312
1312
|
}
|
|
1313
|
-
var
|
|
1313
|
+
var Ea = Ma, qa = [
|
|
1314
1314
|
"kind",
|
|
1315
1315
|
"multi",
|
|
1316
1316
|
"resolve",
|
|
@@ -1321,12 +1321,12 @@ var Ma = Ka, Ea = [
|
|
|
1321
1321
|
"representName",
|
|
1322
1322
|
"defaultStyle",
|
|
1323
1323
|
"styleAliases"
|
|
1324
|
-
],
|
|
1324
|
+
], Fa = [
|
|
1325
1325
|
"scalar",
|
|
1326
1326
|
"sequence",
|
|
1327
1327
|
"mapping"
|
|
1328
1328
|
];
|
|
1329
|
-
function
|
|
1329
|
+
function Ba(e) {
|
|
1330
1330
|
var t = {};
|
|
1331
1331
|
return e !== null && Object.keys(e).forEach(function(n) {
|
|
1332
1332
|
e[n].forEach(function(i) {
|
|
@@ -1334,18 +1334,18 @@ function Fa(e) {
|
|
|
1334
1334
|
});
|
|
1335
1335
|
}), t;
|
|
1336
1336
|
}
|
|
1337
|
-
function
|
|
1337
|
+
function La(e, t) {
|
|
1338
1338
|
if (t = t || {}, Object.keys(t).forEach(function(n) {
|
|
1339
|
-
if (
|
|
1339
|
+
if (qa.indexOf(n) === -1)
|
|
1340
1340
|
throw new ce('Unknown option "' + n + '" is met in definition of "' + e + '" YAML type.');
|
|
1341
1341
|
}), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
|
|
1342
1342
|
return !0;
|
|
1343
1343
|
}, this.construct = t.construct || function(n) {
|
|
1344
1344
|
return n;
|
|
1345
|
-
}, 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 =
|
|
1345
|
+
}, 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 = Ba(t.styleAliases || null), Fa.indexOf(this.kind) === -1)
|
|
1346
1346
|
throw new ce('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
|
|
1347
1347
|
}
|
|
1348
|
-
var oe =
|
|
1348
|
+
var oe = La;
|
|
1349
1349
|
function Ut(e, t) {
|
|
1350
1350
|
var n = [];
|
|
1351
1351
|
return e[t].forEach(function(i) {
|
|
@@ -1355,7 +1355,7 @@ function Ut(e, t) {
|
|
|
1355
1355
|
}), n[a] = i;
|
|
1356
1356
|
}), n;
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function Ua() {
|
|
1359
1359
|
var e = {
|
|
1360
1360
|
scalar: {},
|
|
1361
1361
|
sequence: {},
|
|
@@ -1400,7 +1400,7 @@ mt.prototype.extend = function(e) {
|
|
|
1400
1400
|
throw new ce("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
1401
1401
|
});
|
|
1402
1402
|
var i = Object.create(mt.prototype);
|
|
1403
|
-
return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = Ut(i, "implicit"), i.compiledExplicit = Ut(i, "explicit"), i.compiledTypeMap =
|
|
1403
|
+
return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = Ut(i, "implicit"), i.compiledExplicit = Ut(i, "explicit"), i.compiledTypeMap = Ua(i.compiledImplicit, i.compiledExplicit), i;
|
|
1404
1404
|
};
|
|
1405
1405
|
var vn = mt, kn = new oe("tag:yaml.org,2002:str", {
|
|
1406
1406
|
kind: "scalar",
|
|
@@ -1424,23 +1424,23 @@ var vn = mt, kn = new oe("tag:yaml.org,2002:str", {
|
|
|
1424
1424
|
Cn
|
|
1425
1425
|
]
|
|
1426
1426
|
});
|
|
1427
|
-
function
|
|
1427
|
+
function Ra(e) {
|
|
1428
1428
|
if (e === null)
|
|
1429
1429
|
return !0;
|
|
1430
1430
|
var t = e.length;
|
|
1431
1431
|
return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function Va() {
|
|
1434
1434
|
return null;
|
|
1435
1435
|
}
|
|
1436
|
-
function
|
|
1436
|
+
function Da(e) {
|
|
1437
1437
|
return e === null;
|
|
1438
1438
|
}
|
|
1439
1439
|
var Sn = new oe("tag:yaml.org,2002:null", {
|
|
1440
1440
|
kind: "scalar",
|
|
1441
|
-
resolve:
|
|
1442
|
-
construct:
|
|
1443
|
-
predicate:
|
|
1441
|
+
resolve: Ra,
|
|
1442
|
+
construct: Va,
|
|
1443
|
+
predicate: Da,
|
|
1444
1444
|
represent: {
|
|
1445
1445
|
canonical: function() {
|
|
1446
1446
|
return "~";
|
|
@@ -1460,23 +1460,23 @@ var Sn = new oe("tag:yaml.org,2002:null", {
|
|
|
1460
1460
|
},
|
|
1461
1461
|
defaultStyle: "lowercase"
|
|
1462
1462
|
});
|
|
1463
|
-
function
|
|
1463
|
+
function Pa(e) {
|
|
1464
1464
|
if (e === null)
|
|
1465
1465
|
return !1;
|
|
1466
1466
|
var t = e.length;
|
|
1467
1467
|
return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
|
|
1468
1468
|
}
|
|
1469
|
-
function
|
|
1469
|
+
function za(e) {
|
|
1470
1470
|
return e === "true" || e === "True" || e === "TRUE";
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function Ja(e) {
|
|
1473
1473
|
return Object.prototype.toString.call(e) === "[object Boolean]";
|
|
1474
1474
|
}
|
|
1475
1475
|
var _n = new oe("tag:yaml.org,2002:bool", {
|
|
1476
1476
|
kind: "scalar",
|
|
1477
|
-
resolve:
|
|
1478
|
-
construct:
|
|
1479
|
-
predicate:
|
|
1477
|
+
resolve: Pa,
|
|
1478
|
+
construct: za,
|
|
1479
|
+
predicate: Ja,
|
|
1480
1480
|
represent: {
|
|
1481
1481
|
lowercase: function(e) {
|
|
1482
1482
|
return e ? "true" : "false";
|
|
@@ -1490,16 +1490,16 @@ var _n = new oe("tag:yaml.org,2002:bool", {
|
|
|
1490
1490
|
},
|
|
1491
1491
|
defaultStyle: "lowercase"
|
|
1492
1492
|
});
|
|
1493
|
-
function
|
|
1493
|
+
function Ha(e) {
|
|
1494
1494
|
return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function Wa(e) {
|
|
1497
1497
|
return 48 <= e && e <= 55;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Za(e) {
|
|
1500
1500
|
return 48 <= e && e <= 57;
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1502
|
+
function Ya(e) {
|
|
1503
1503
|
if (e === null)
|
|
1504
1504
|
return !1;
|
|
1505
1505
|
var t = e.length, n = 0, i = !1, a;
|
|
@@ -1520,7 +1520,7 @@ function Za(e) {
|
|
|
1520
1520
|
if (a === "x") {
|
|
1521
1521
|
for (n++; n < t; n++)
|
|
1522
1522
|
if (a = e[n], a !== "_") {
|
|
1523
|
-
if (!
|
|
1523
|
+
if (!Ha(e.charCodeAt(n)))
|
|
1524
1524
|
return !1;
|
|
1525
1525
|
i = !0;
|
|
1526
1526
|
}
|
|
@@ -1529,7 +1529,7 @@ function Za(e) {
|
|
|
1529
1529
|
if (a === "o") {
|
|
1530
1530
|
for (n++; n < t; n++)
|
|
1531
1531
|
if (a = e[n], a !== "_") {
|
|
1532
|
-
if (!
|
|
1532
|
+
if (!Wa(e.charCodeAt(n)))
|
|
1533
1533
|
return !1;
|
|
1534
1534
|
i = !0;
|
|
1535
1535
|
}
|
|
@@ -1540,13 +1540,13 @@ function Za(e) {
|
|
|
1540
1540
|
return !1;
|
|
1541
1541
|
for (; n < t; n++)
|
|
1542
1542
|
if (a = e[n], a !== "_") {
|
|
1543
|
-
if (!
|
|
1543
|
+
if (!Za(e.charCodeAt(n)))
|
|
1544
1544
|
return !1;
|
|
1545
1545
|
i = !0;
|
|
1546
1546
|
}
|
|
1547
1547
|
return !(!i || a === "_");
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Ga(e) {
|
|
1550
1550
|
var t = e, n = 1, i;
|
|
1551
1551
|
if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0")
|
|
1552
1552
|
return 0;
|
|
@@ -1560,14 +1560,14 @@ function Ya(e) {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
return n * parseInt(t, 10);
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function Qa(e) {
|
|
1564
1564
|
return Object.prototype.toString.call(e) === "[object Number]" && e % 1 === 0 && !ie.isNegativeZero(e);
|
|
1565
1565
|
}
|
|
1566
1566
|
var In = new oe("tag:yaml.org,2002:int", {
|
|
1567
1567
|
kind: "scalar",
|
|
1568
|
-
resolve:
|
|
1569
|
-
construct:
|
|
1570
|
-
predicate:
|
|
1568
|
+
resolve: Ya,
|
|
1569
|
+
construct: Ga,
|
|
1570
|
+
predicate: Qa,
|
|
1571
1571
|
represent: {
|
|
1572
1572
|
binary: function(e) {
|
|
1573
1573
|
return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
|
|
@@ -1590,21 +1590,21 @@ var In = new oe("tag:yaml.org,2002:int", {
|
|
|
1590
1590
|
decimal: [10, "dec"],
|
|
1591
1591
|
hexadecimal: [16, "hex"]
|
|
1592
1592
|
}
|
|
1593
|
-
}),
|
|
1593
|
+
}), Xa = new RegExp(
|
|
1594
1594
|
// 2.5e4, 2.5 and integers
|
|
1595
1595
|
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
|
|
1596
1596
|
);
|
|
1597
|
-
function
|
|
1598
|
-
return !(e === null || !
|
|
1597
|
+
function er(e) {
|
|
1598
|
+
return !(e === null || !Xa.test(e) || // Quick hack to not allow integers end with `_`
|
|
1599
1599
|
// Probably should update regexp & check speed
|
|
1600
1600
|
e[e.length - 1] === "_");
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function tr(e) {
|
|
1603
1603
|
var t, n;
|
|
1604
1604
|
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);
|
|
1605
1605
|
}
|
|
1606
|
-
var
|
|
1607
|
-
function
|
|
1606
|
+
var nr = /^[-+]?[0-9]+e/;
|
|
1607
|
+
function ir(e, t) {
|
|
1608
1608
|
var n;
|
|
1609
1609
|
if (isNaN(e))
|
|
1610
1610
|
switch (t) {
|
|
@@ -1635,17 +1635,17 @@ function nr(e, t) {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
else if (ie.isNegativeZero(e))
|
|
1637
1637
|
return "-0.0";
|
|
1638
|
-
return n = e.toString(10),
|
|
1638
|
+
return n = e.toString(10), nr.test(n) ? n.replace("e", ".e") : n;
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1640
|
+
function ar(e) {
|
|
1641
1641
|
return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ie.isNegativeZero(e));
|
|
1642
1642
|
}
|
|
1643
1643
|
var xn = new oe("tag:yaml.org,2002:float", {
|
|
1644
1644
|
kind: "scalar",
|
|
1645
|
-
resolve:
|
|
1646
|
-
construct:
|
|
1647
|
-
predicate:
|
|
1648
|
-
represent:
|
|
1645
|
+
resolve: er,
|
|
1646
|
+
construct: tr,
|
|
1647
|
+
predicate: ar,
|
|
1648
|
+
represent: ir,
|
|
1649
1649
|
defaultStyle: "lowercase"
|
|
1650
1650
|
}), An = wn.extend({
|
|
1651
1651
|
implicit: [
|
|
@@ -1659,10 +1659,10 @@ var xn = new oe("tag:yaml.org,2002:float", {
|
|
|
1659
1659
|
), Nn = new RegExp(
|
|
1660
1660
|
"^([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]))?))?$"
|
|
1661
1661
|
);
|
|
1662
|
-
function
|
|
1662
|
+
function rr(e) {
|
|
1663
1663
|
return e === null ? !1 : $n.exec(e) !== null || Nn.exec(e) !== null;
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function or(e) {
|
|
1666
1666
|
var t, n, i, a, r, o, l, c = 0, u = null, s, d, v;
|
|
1667
1667
|
if (t = $n.exec(e), t === null && (t = Nn.exec(e)), t === null)
|
|
1668
1668
|
throw new Error("Date resolve error");
|
|
@@ -1675,25 +1675,25 @@ function rr(e) {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
return t[9] && (s = +t[10], d = +(t[11] || 0), u = (s * 60 + d) * 6e4, t[9] === "-" && (u = -u)), v = new Date(Date.UTC(n, i, a, r, o, l, c)), u && v.setTime(v.getTime() - u), v;
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function lr(e) {
|
|
1679
1679
|
return e.toISOString();
|
|
1680
1680
|
}
|
|
1681
1681
|
var Tn = new oe("tag:yaml.org,2002:timestamp", {
|
|
1682
1682
|
kind: "scalar",
|
|
1683
|
-
resolve:
|
|
1684
|
-
construct:
|
|
1683
|
+
resolve: rr,
|
|
1684
|
+
construct: or,
|
|
1685
1685
|
instanceOf: Date,
|
|
1686
|
-
represent:
|
|
1686
|
+
represent: lr
|
|
1687
1687
|
});
|
|
1688
|
-
function
|
|
1688
|
+
function sr(e) {
|
|
1689
1689
|
return e === "<<" || e === null;
|
|
1690
1690
|
}
|
|
1691
1691
|
var On = new oe("tag:yaml.org,2002:merge", {
|
|
1692
1692
|
kind: "scalar",
|
|
1693
|
-
resolve:
|
|
1693
|
+
resolve: sr
|
|
1694
1694
|
}), _t = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
1695
1695
|
\r`;
|
|
1696
|
-
function
|
|
1696
|
+
function cr(e) {
|
|
1697
1697
|
if (e === null)
|
|
1698
1698
|
return !1;
|
|
1699
1699
|
var t, n, i = 0, a = e.length, r = _t;
|
|
@@ -1705,37 +1705,37 @@ function sr(e) {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
return i % 8 === 0;
|
|
1707
1707
|
}
|
|
1708
|
-
function
|
|
1708
|
+
function ur(e) {
|
|
1709
1709
|
var t, n, i = e.replace(/[\r\n=]/g, ""), a = i.length, r = _t, o = 0, l = [];
|
|
1710
1710
|
for (t = 0; t < a; t++)
|
|
1711
1711
|
t % 4 === 0 && t && (l.push(o >> 16 & 255), l.push(o >> 8 & 255), l.push(o & 255)), o = o << 6 | r.indexOf(i.charAt(t));
|
|
1712
1712
|
return n = a % 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);
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function dr(e) {
|
|
1715
1715
|
var t = "", n = 0, i, a, r = e.length, o = _t;
|
|
1716
1716
|
for (i = 0; i < r; i++)
|
|
1717
1717
|
i % 3 === 0 && i && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[i];
|
|
1718
1718
|
return a = r % 3, a === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : a === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : a === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
|
|
1719
1719
|
}
|
|
1720
|
-
function
|
|
1720
|
+
function pr(e) {
|
|
1721
1721
|
return Object.prototype.toString.call(e) === "[object Uint8Array]";
|
|
1722
1722
|
}
|
|
1723
1723
|
var Kn = new oe("tag:yaml.org,2002:binary", {
|
|
1724
1724
|
kind: "scalar",
|
|
1725
|
-
resolve:
|
|
1726
|
-
construct:
|
|
1727
|
-
predicate:
|
|
1728
|
-
represent:
|
|
1729
|
-
}),
|
|
1730
|
-
function
|
|
1725
|
+
resolve: cr,
|
|
1726
|
+
construct: ur,
|
|
1727
|
+
predicate: pr,
|
|
1728
|
+
represent: dr
|
|
1729
|
+
}), fr = Object.prototype.hasOwnProperty, yr = Object.prototype.toString;
|
|
1730
|
+
function mr(e) {
|
|
1731
1731
|
if (e === null)
|
|
1732
1732
|
return !0;
|
|
1733
1733
|
var t = [], n, i, a, r, o, l = e;
|
|
1734
1734
|
for (n = 0, i = l.length; n < i; n += 1) {
|
|
1735
|
-
if (a = l[n], o = !1,
|
|
1735
|
+
if (a = l[n], o = !1, yr.call(a) !== "[object Object]")
|
|
1736
1736
|
return !1;
|
|
1737
1737
|
for (r in a)
|
|
1738
|
-
if (
|
|
1738
|
+
if (fr.call(a, r))
|
|
1739
1739
|
if (!o)
|
|
1740
1740
|
o = !0;
|
|
1741
1741
|
else
|
|
@@ -1749,26 +1749,26 @@ function yr(e) {
|
|
|
1749
1749
|
}
|
|
1750
1750
|
return !0;
|
|
1751
1751
|
}
|
|
1752
|
-
function
|
|
1752
|
+
function gr(e) {
|
|
1753
1753
|
return e !== null ? e : [];
|
|
1754
1754
|
}
|
|
1755
1755
|
var Mn = new oe("tag:yaml.org,2002:omap", {
|
|
1756
1756
|
kind: "sequence",
|
|
1757
|
-
resolve:
|
|
1758
|
-
construct:
|
|
1759
|
-
}),
|
|
1760
|
-
function
|
|
1757
|
+
resolve: mr,
|
|
1758
|
+
construct: gr
|
|
1759
|
+
}), hr = Object.prototype.toString;
|
|
1760
|
+
function vr(e) {
|
|
1761
1761
|
if (e === null)
|
|
1762
1762
|
return !0;
|
|
1763
1763
|
var t, n, i, a, r, o = e;
|
|
1764
1764
|
for (r = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
|
|
1765
|
-
if (i = o[t],
|
|
1765
|
+
if (i = o[t], hr.call(i) !== "[object Object]" || (a = Object.keys(i), a.length !== 1))
|
|
1766
1766
|
return !1;
|
|
1767
1767
|
r[t] = [a[0], i[a[0]]];
|
|
1768
1768
|
}
|
|
1769
1769
|
return !0;
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function kr(e) {
|
|
1772
1772
|
if (e === null)
|
|
1773
1773
|
return [];
|
|
1774
1774
|
var t, n, i, a, r, o = e;
|
|
@@ -1778,25 +1778,25 @@ function vr(e) {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
var En = new oe("tag:yaml.org,2002:pairs", {
|
|
1780
1780
|
kind: "sequence",
|
|
1781
|
-
resolve:
|
|
1782
|
-
construct:
|
|
1783
|
-
}),
|
|
1784
|
-
function
|
|
1781
|
+
resolve: vr,
|
|
1782
|
+
construct: kr
|
|
1783
|
+
}), br = Object.prototype.hasOwnProperty;
|
|
1784
|
+
function Cr(e) {
|
|
1785
1785
|
if (e === null)
|
|
1786
1786
|
return !0;
|
|
1787
1787
|
var t, n = e;
|
|
1788
1788
|
for (t in n)
|
|
1789
|
-
if (
|
|
1789
|
+
if (br.call(n, t) && n[t] !== null)
|
|
1790
1790
|
return !1;
|
|
1791
1791
|
return !0;
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1793
|
+
function wr(e) {
|
|
1794
1794
|
return e !== null ? e : {};
|
|
1795
1795
|
}
|
|
1796
1796
|
var qn = new oe("tag:yaml.org,2002:set", {
|
|
1797
1797
|
kind: "mapping",
|
|
1798
|
-
resolve:
|
|
1799
|
-
construct:
|
|
1798
|
+
resolve: Cr,
|
|
1799
|
+
construct: wr
|
|
1800
1800
|
}), It = jn.extend({
|
|
1801
1801
|
implicit: [
|
|
1802
1802
|
Tn,
|
|
@@ -1808,7 +1808,7 @@ var qn = new oe("tag:yaml.org,2002:set", {
|
|
|
1808
1808
|
En,
|
|
1809
1809
|
qn
|
|
1810
1810
|
]
|
|
1811
|
-
}), Ne = Object.prototype.hasOwnProperty, nt = 1, Fn = 2, Bn = 3, it = 4, ft = 1,
|
|
1811
|
+
}), Ne = Object.prototype.hasOwnProperty, nt = 1, Fn = 2, Bn = 3, it = 4, ft = 1, Sr = 2, Rt = 3, _r = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ir = /[\x85\u2028\u2029]/, xr = /[,\[\]\{\}]/, Ln = /^(?:!|!!|![a-z\-]+!)$/i, Un = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1812
1812
|
function Vt(e) {
|
|
1813
1813
|
return Object.prototype.toString.call(e);
|
|
1814
1814
|
}
|
|
@@ -1824,21 +1824,21 @@ function pe(e) {
|
|
|
1824
1824
|
function Le(e) {
|
|
1825
1825
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
1826
1826
|
}
|
|
1827
|
-
function
|
|
1827
|
+
function Ar(e) {
|
|
1828
1828
|
var t;
|
|
1829
1829
|
return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function jr(e) {
|
|
1832
1832
|
return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
|
|
1833
1833
|
}
|
|
1834
|
-
function
|
|
1834
|
+
function $r(e) {
|
|
1835
1835
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
1836
1836
|
}
|
|
1837
1837
|
function Dt(e) {
|
|
1838
1838
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
1839
1839
|
` : 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" : "";
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function Nr(e) {
|
|
1842
1842
|
return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode(
|
|
1843
1843
|
(e - 65536 >> 10) + 55296,
|
|
1844
1844
|
(e - 65536 & 1023) + 56320
|
|
@@ -1847,7 +1847,7 @@ function $r(e) {
|
|
|
1847
1847
|
var Rn = new Array(256), Vn = new Array(256);
|
|
1848
1848
|
for (var Fe = 0; Fe < 256; Fe++)
|
|
1849
1849
|
Rn[Fe] = Dt(Fe) ? 1 : 0, Vn[Fe] = Dt(Fe);
|
|
1850
|
-
function
|
|
1850
|
+
function Tr(e, t) {
|
|
1851
1851
|
this.input = e, this.filename = t.filename || null, this.schema = t.schema || It, 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 = [];
|
|
1852
1852
|
}
|
|
1853
1853
|
function Dn(e, t) {
|
|
@@ -1859,7 +1859,7 @@ function Dn(e, t) {
|
|
|
1859
1859
|
line: e.line,
|
|
1860
1860
|
column: e.position - e.lineStart
|
|
1861
1861
|
};
|
|
1862
|
-
return n.snippet =
|
|
1862
|
+
return n.snippet = Ea(n), new ce(t, n);
|
|
1863
1863
|
}
|
|
1864
1864
|
function T(e, t) {
|
|
1865
1865
|
throw Dn(e, t);
|
|
@@ -1890,7 +1890,7 @@ function je(e, t, n, i) {
|
|
|
1890
1890
|
for (a = 0, r = l.length; a < r; a += 1)
|
|
1891
1891
|
o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || T(e, "expected valid JSON character");
|
|
1892
1892
|
else
|
|
1893
|
-
|
|
1893
|
+
_r.test(l) && T(e, "the stream contains non-printable characters");
|
|
1894
1894
|
e.result += l;
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
@@ -1947,7 +1947,7 @@ function At(e, t) {
|
|
|
1947
1947
|
t === 1 ? e.result += " " : t > 1 && (e.result += ie.repeat(`
|
|
1948
1948
|
`, t - 1));
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function Or(e, t, n) {
|
|
1951
1951
|
var i, a, r, o, l, c, u, s, d = e.kind, v = e.result, y;
|
|
1952
1952
|
if (y = e.input.charCodeAt(e.position), pe(y) || Le(y) || y === 35 || y === 38 || y === 42 || y === 33 || y === 124 || y === 62 || y === 39 || y === 34 || y === 37 || y === 64 || y === 96 || (y === 63 || y === 45) && (a = e.input.charCodeAt(e.position + 1), pe(a) || n && Le(a)))
|
|
1953
1953
|
return !1;
|
|
@@ -1974,7 +1974,7 @@ function Tr(e, t, n) {
|
|
|
1974
1974
|
}
|
|
1975
1975
|
return je(e, r, o, !1), e.result ? !0 : (e.kind = d, e.result = v, !1);
|
|
1976
1976
|
}
|
|
1977
|
-
function
|
|
1977
|
+
function Kr(e, t) {
|
|
1978
1978
|
var n, i, a;
|
|
1979
1979
|
if (n = e.input.charCodeAt(e.position), n !== 39)
|
|
1980
1980
|
return !1;
|
|
@@ -1988,7 +1988,7 @@ function Or(e, t) {
|
|
|
1988
1988
|
ke(n) ? (je(e, i, a, !0), At(e, ne(e, !1, t)), i = a = e.position) : e.position === e.lineStart && ct(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
|
|
1989
1989
|
T(e, "unexpected end of the stream within a single quoted scalar");
|
|
1990
1990
|
}
|
|
1991
|
-
function
|
|
1991
|
+
function Mr(e, t) {
|
|
1992
1992
|
var n, i, a, r, o, l;
|
|
1993
1993
|
if (l = e.input.charCodeAt(e.position), l !== 34)
|
|
1994
1994
|
return !1;
|
|
@@ -2000,10 +2000,10 @@ function Kr(e, t) {
|
|
|
2000
2000
|
ne(e, !1, t);
|
|
2001
2001
|
else if (l < 256 && Rn[l])
|
|
2002
2002
|
e.result += Vn[l], e.position++;
|
|
2003
|
-
else if ((o =
|
|
2003
|
+
else if ((o = jr(l)) > 0) {
|
|
2004
2004
|
for (a = o, r = 0; a > 0; a--)
|
|
2005
|
-
l = e.input.charCodeAt(++e.position), (o =
|
|
2006
|
-
e.result +=
|
|
2005
|
+
l = e.input.charCodeAt(++e.position), (o = Ar(l)) >= 0 ? r = (r << 4) + o : T(e, "expected hexadecimal character");
|
|
2006
|
+
e.result += Nr(r), e.position++;
|
|
2007
2007
|
} else
|
|
2008
2008
|
T(e, "unknown escape sequence");
|
|
2009
2009
|
n = i = e.position;
|
|
@@ -2012,7 +2012,7 @@ function Kr(e, t) {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
T(e, "unexpected end of the stream within a double quoted scalar");
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function Er(e, t) {
|
|
2016
2016
|
var n = !0, i, a, r, o = e.tag, l, c = e.anchor, u, s, d, v, y, I = /* @__PURE__ */ Object.create(null), N, _, B, g;
|
|
2017
2017
|
if (g = e.input.charCodeAt(e.position), g === 91)
|
|
2018
2018
|
s = 93, y = !1, l = [];
|
|
@@ -2027,7 +2027,7 @@ function Mr(e, t) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
T(e, "unexpected end of the stream within a flow collection");
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2030
|
+
function qr(e, t) {
|
|
2031
2031
|
var n, i, a = ft, r = !1, o = !1, l = t, c = 0, u = !1, s, d;
|
|
2032
2032
|
if (d = e.input.charCodeAt(e.position), d === 124)
|
|
2033
2033
|
i = !1;
|
|
@@ -2037,8 +2037,8 @@ function Er(e, t) {
|
|
|
2037
2037
|
return !1;
|
|
2038
2038
|
for (e.kind = "scalar", e.result = ""; d !== 0; )
|
|
2039
2039
|
if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45)
|
|
2040
|
-
ft === a ? a = d === 43 ? Rt :
|
|
2041
|
-
else if ((s =
|
|
2040
|
+
ft === a ? a = d === 43 ? Rt : Sr : T(e, "repeat of a chomping mode identifier");
|
|
2041
|
+
else if ((s = $r(d)) >= 0)
|
|
2042
2042
|
s === 0 ? T(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? T(e, "repeat of an indentation width identifier") : (l = t + s - 1, o = !0);
|
|
2043
2043
|
else
|
|
2044
2044
|
break;
|
|
@@ -2090,7 +2090,7 @@ function Jt(e, t) {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
return l ? (e.tag = i, e.anchor = a, e.kind = "sequence", e.result = r, !0) : !1;
|
|
2092
2092
|
}
|
|
2093
|
-
function
|
|
2093
|
+
function Fr(e, t, n) {
|
|
2094
2094
|
var i, a, r, o, l, c, u = e.tag, s = e.anchor, d = {}, v = /* @__PURE__ */ Object.create(null), y = null, I = null, N = null, _ = !1, B = !1, g;
|
|
2095
2095
|
if (e.firstTabInLine !== -1)
|
|
2096
2096
|
return !1;
|
|
@@ -2121,7 +2121,7 @@ function qr(e, t, n) {
|
|
|
2121
2121
|
}
|
|
2122
2122
|
return _ && Ue(e, d, v, y, I, null, o, l, c), B && (e.tag = u, e.anchor = s, e.kind = "mapping", e.result = d), B;
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2124
|
+
function Br(e) {
|
|
2125
2125
|
var t, n = !1, i = !1, a, r, o;
|
|
2126
2126
|
if (o = e.input.charCodeAt(e.position), o !== 33)
|
|
2127
2127
|
return !1;
|
|
@@ -2133,7 +2133,7 @@ function Fr(e) {
|
|
|
2133
2133
|
} else {
|
|
2134
2134
|
for (; o !== 0 && !pe(o); )
|
|
2135
2135
|
o === 33 && (i ? T(e, "tag suffix cannot contain exclamation marks") : (a = e.input.slice(t - 1, e.position + 1), Ln.test(a) || T(e, "named tag handle cannot contain such characters"), i = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
|
|
2136
|
-
r = e.input.slice(t, e.position),
|
|
2136
|
+
r = e.input.slice(t, e.position), xr.test(r) && T(e, "tag suffix cannot contain flow indicator characters");
|
|
2137
2137
|
}
|
|
2138
2138
|
r && !Un.test(r) && T(e, "tag name cannot contain such characters: " + r);
|
|
2139
2139
|
try {
|
|
@@ -2143,7 +2143,7 @@ function Fr(e) {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
return n ? e.tag = r : Ne.call(e.tagMap, a) ? e.tag = e.tagMap[a] + r : a === "!" ? e.tag = "!" + r : a === "!!" ? e.tag = "tag:yaml.org,2002:" + r : T(e, 'undeclared tag handle "' + a + '"'), !0;
|
|
2145
2145
|
}
|
|
2146
|
-
function
|
|
2146
|
+
function Lr(e) {
|
|
2147
2147
|
var t, n;
|
|
2148
2148
|
if (n = e.input.charCodeAt(e.position), n !== 38)
|
|
2149
2149
|
return !1;
|
|
@@ -2151,7 +2151,7 @@ function Br(e) {
|
|
|
2151
2151
|
n = e.input.charCodeAt(++e.position);
|
|
2152
2152
|
return e.position === t && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
2153
2153
|
}
|
|
2154
|
-
function
|
|
2154
|
+
function Ur(e) {
|
|
2155
2155
|
var t, n, i;
|
|
2156
2156
|
if (i = e.input.charCodeAt(e.position), i !== 42)
|
|
2157
2157
|
return !1;
|
|
@@ -2162,9 +2162,9 @@ function Lr(e) {
|
|
|
2162
2162
|
function Re(e, t, n, i, a) {
|
|
2163
2163
|
var r, o, l, c = 1, u = !1, s = !1, d, v, y, I, N, _;
|
|
2164
2164
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, r = o = l = it === n || Bn === n, i && ne(e, !0, -1) && (u = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1)
|
|
2165
|
-
for (;
|
|
2165
|
+
for (; Br(e) || Lr(e); )
|
|
2166
2166
|
ne(e, !0, -1) ? (u = !0, l = r, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : l = !1;
|
|
2167
|
-
if (l && (l = u || a), (c === 1 || it === n) && (nt === n || Fn === n ? N = t : N = t + 1, _ = e.position - e.lineStart, c === 1 ? l && (Jt(e, _) ||
|
|
2167
|
+
if (l && (l = u || a), (c === 1 || it === n) && (nt === n || Fn === n ? N = t : N = t + 1, _ = e.position - e.lineStart, c === 1 ? l && (Jt(e, _) || Fr(e, _, N)) || Er(e, N) ? s = !0 : (o && qr(e, N) || Kr(e, N) || Mr(e, N) ? s = !0 : Ur(e) ? (s = !0, (e.tag !== null || e.anchor !== null) && T(e, "alias node should not have any properties")) : Or(e, N, nt === n) && (s = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (s = l && Jt(e, _))), e.tag === null)
|
|
2168
2168
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
2169
2169
|
else if (e.tag === "?") {
|
|
2170
2170
|
for (e.result !== null && e.kind !== "scalar" && T(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), d = 0, v = e.implicitTypes.length; d < v; d += 1)
|
|
@@ -2185,7 +2185,7 @@ function Re(e, t, n, i, a) {
|
|
|
2185
2185
|
}
|
|
2186
2186
|
return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || s;
|
|
2187
2187
|
}
|
|
2188
|
-
function
|
|
2188
|
+
function Rr(e) {
|
|
2189
2189
|
var t = e.position, n, i, a, r = !1, o;
|
|
2190
2190
|
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 && (ne(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
|
|
2191
2191
|
for (r = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !pe(o); )
|
|
@@ -2207,7 +2207,7 @@ function Ur(e) {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
o !== 0 && xt(e), Ne.call(Pt, i) ? Pt[i](e, i, a) : at(e, 'unknown document directive "' + i + '"');
|
|
2209
2209
|
}
|
|
2210
|
-
if (ne(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, ne(e, !0, -1)) : r && T(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, it, !1, !0), ne(e, !0, -1), e.checkLineBreaks &&
|
|
2210
|
+
if (ne(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, ne(e, !0, -1)) : r && T(e, "directives end mark is expected"), Re(e, e.lineIndent - 1, it, !1, !0), ne(e, !0, -1), e.checkLineBreaks && Ir.test(e.input.slice(t, e.position)) && at(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && ct(e)) {
|
|
2211
2211
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, ne(e, !0, -1));
|
|
2212
2212
|
return;
|
|
2213
2213
|
}
|
|
@@ -2219,14 +2219,14 @@ function Ur(e) {
|
|
|
2219
2219
|
function Pn(e, t) {
|
|
2220
2220
|
e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += `
|
|
2221
2221
|
`), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
|
|
2222
|
-
var n = new
|
|
2222
|
+
var n = new Tr(e, t), i = e.indexOf("\0");
|
|
2223
2223
|
for (i !== -1 && (n.position = i, T(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
|
|
2224
2224
|
n.lineIndent += 1, n.position += 1;
|
|
2225
2225
|
for (; n.position < n.length - 1; )
|
|
2226
|
-
|
|
2226
|
+
Rr(n);
|
|
2227
2227
|
return n.documents;
|
|
2228
2228
|
}
|
|
2229
|
-
function
|
|
2229
|
+
function Vr(e, t, n) {
|
|
2230
2230
|
t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
|
|
2231
2231
|
var i = Pn(e, n);
|
|
2232
2232
|
if (typeof t != "function")
|
|
@@ -2234,7 +2234,7 @@ function Rr(e, t, n) {
|
|
|
2234
2234
|
for (var a = 0, r = i.length; a < r; a += 1)
|
|
2235
2235
|
t(i[a]);
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Dr(e, t) {
|
|
2238
2238
|
var n = Pn(e, t);
|
|
2239
2239
|
if (n.length !== 0) {
|
|
2240
2240
|
if (n.length === 1)
|
|
@@ -2242,10 +2242,10 @@ function Vr(e, t) {
|
|
|
2242
2242
|
throw new ce("expected a single document in the stream, but found more");
|
|
2243
2243
|
}
|
|
2244
2244
|
}
|
|
2245
|
-
var
|
|
2246
|
-
loadAll:
|
|
2247
|
-
load:
|
|
2248
|
-
}, Jn = Object.prototype.toString, Hn = Object.prototype.hasOwnProperty, jt = 65279,
|
|
2245
|
+
var Pr = Vr, zr = Dr, zn = {
|
|
2246
|
+
loadAll: Pr,
|
|
2247
|
+
load: zr
|
|
2248
|
+
}, Jn = Object.prototype.toString, Hn = Object.prototype.hasOwnProperty, jt = 65279, Jr = 9, We = 10, Hr = 13, Wr = 32, Zr = 33, Yr = 34, gt = 35, Gr = 37, Qr = 38, Xr = 39, eo = 42, Wn = 44, to = 45, rt = 58, no = 61, io = 62, ao = 63, ro = 64, Zn = 91, Yn = 93, oo = 96, Gn = 123, lo = 124, Qn = 125, le = {};
|
|
2249
2249
|
le[0] = "\\0";
|
|
2250
2250
|
le[7] = "\\a";
|
|
2251
2251
|
le[8] = "\\b";
|
|
@@ -2261,7 +2261,7 @@ le[133] = "\\N";
|
|
|
2261
2261
|
le[160] = "\\_";
|
|
2262
2262
|
le[8232] = "\\L";
|
|
2263
2263
|
le[8233] = "\\P";
|
|
2264
|
-
var
|
|
2264
|
+
var so = [
|
|
2265
2265
|
"y",
|
|
2266
2266
|
"Y",
|
|
2267
2267
|
"yes",
|
|
@@ -2278,8 +2278,8 @@ var lo = [
|
|
|
2278
2278
|
"off",
|
|
2279
2279
|
"Off",
|
|
2280
2280
|
"OFF"
|
|
2281
|
-
],
|
|
2282
|
-
function
|
|
2281
|
+
], co = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
2282
|
+
function uo(e, t) {
|
|
2283
2283
|
var n, i, a, r, o, l, c;
|
|
2284
2284
|
if (t === null)
|
|
2285
2285
|
return {};
|
|
@@ -2287,7 +2287,7 @@ function co(e, t) {
|
|
|
2287
2287
|
o = i[a], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Hn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[o] = l;
|
|
2288
2288
|
return n;
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function po(e) {
|
|
2291
2291
|
var t, n, i;
|
|
2292
2292
|
if (t = e.toString(16).toUpperCase(), e <= 255)
|
|
2293
2293
|
n = "x", i = 2;
|
|
@@ -2299,9 +2299,9 @@ function uo(e) {
|
|
|
2299
2299
|
throw new ce("code point within a string may not be greater than 0xFFFFFFFF");
|
|
2300
2300
|
return "\\" + n + ie.repeat("0", i - t.length) + t;
|
|
2301
2301
|
}
|
|
2302
|
-
var
|
|
2303
|
-
function
|
|
2304
|
-
this.schema = e.schema || It, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap =
|
|
2302
|
+
var fo = 1, Ze = 2;
|
|
2303
|
+
function yo(e) {
|
|
2304
|
+
this.schema = e.schema || It, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = ie.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = uo(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 === '"' ? Ze : fo, 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;
|
|
2305
2305
|
}
|
|
2306
2306
|
function Ht(e, t) {
|
|
2307
2307
|
for (var n = ie.repeat(" ", t), i = 0, a = -1, r = "", o, l = e.length; i < l; )
|
|
@@ -2314,7 +2314,7 @@ function ht(e, t) {
|
|
|
2314
2314
|
return `
|
|
2315
2315
|
` + ie.repeat(" ", e.indent * t);
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2317
|
+
function mo(e, t) {
|
|
2318
2318
|
var n, i, a;
|
|
2319
2319
|
for (n = 0, i = e.implicitTypes.length; n < i; n += 1)
|
|
2320
2320
|
if (a = e.implicitTypes[n], a.resolve(t))
|
|
@@ -2322,13 +2322,13 @@ function yo(e, t) {
|
|
|
2322
2322
|
return !1;
|
|
2323
2323
|
}
|
|
2324
2324
|
function ot(e) {
|
|
2325
|
-
return e ===
|
|
2325
|
+
return e === Wr || e === Jr;
|
|
2326
2326
|
}
|
|
2327
2327
|
function Ye(e) {
|
|
2328
2328
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== jt || 65536 <= e && e <= 1114111;
|
|
2329
2329
|
}
|
|
2330
2330
|
function Wt(e) {
|
|
2331
|
-
return Ye(e) && e !== jt && e !==
|
|
2331
|
+
return Ye(e) && e !== jt && e !== Hr && e !== We;
|
|
2332
2332
|
}
|
|
2333
2333
|
function Zt(e, t, n) {
|
|
2334
2334
|
var i = Wt(e), a = i && !ot(e);
|
|
@@ -2340,10 +2340,10 @@ function Zt(e, t, n) {
|
|
|
2340
2340
|
) : i && e !== Wn && e !== Zn && e !== Yn && e !== Gn && e !== Qn) && e !== gt && !(t === rt && !a) || Wt(t) && !ot(t) && e === gt || t === rt && a
|
|
2341
2341
|
);
|
|
2342
2342
|
}
|
|
2343
|
-
function mo(e) {
|
|
2344
|
-
return Ye(e) && e !== jt && !ot(e) && e !== eo && e !== io && e !== rt && e !== Wn && e !== Zn && e !== Yn && e !== Gn && e !== Qn && e !== gt && e !== Gr && e !== Xr && e !== Wr && e !== oo && e !== to && e !== no && e !== Qr && e !== Zr && e !== Yr && e !== ao && e !== ro;
|
|
2345
|
-
}
|
|
2346
2343
|
function go(e) {
|
|
2344
|
+
return Ye(e) && e !== jt && !ot(e) && e !== to && e !== ao && e !== rt && e !== Wn && e !== Zn && e !== Yn && e !== Gn && e !== Qn && e !== gt && e !== Qr && e !== eo && e !== Zr && e !== lo && e !== no && e !== io && e !== Xr && e !== Yr && e !== Gr && e !== ro && e !== oo;
|
|
2345
|
+
}
|
|
2346
|
+
function ho(e) {
|
|
2347
2347
|
return !ot(e) && e !== rt;
|
|
2348
2348
|
}
|
|
2349
2349
|
function Je(e, t) {
|
|
@@ -2355,8 +2355,8 @@ function Xn(e) {
|
|
|
2355
2355
|
return t.test(e);
|
|
2356
2356
|
}
|
|
2357
2357
|
var ei = 1, vt = 2, ti = 3, ni = 4, Be = 5;
|
|
2358
|
-
function
|
|
2359
|
-
var c, u = 0, s = null, d = !1, v = !1, y = i !== -1, I = -1, N =
|
|
2358
|
+
function vo(e, t, n, i, a, r, o, l) {
|
|
2359
|
+
var c, u = 0, s = null, d = !1, v = !1, y = i !== -1, I = -1, N = go(Je(e, 0)) && ho(Je(e, e.length - 1));
|
|
2360
2360
|
if (t || o)
|
|
2361
2361
|
for (c = 0; c < e.length; u >= 65536 ? c += 2 : c++) {
|
|
2362
2362
|
if (u = Je(e, c), !Ye(u))
|
|
@@ -2376,17 +2376,17 @@ function ho(e, t, n, i, a, r, o, l) {
|
|
|
2376
2376
|
}
|
|
2377
2377
|
return !d && !v ? N && !o && !a(e) ? ei : r === Ze ? Be : vt : n > 9 && Xn(e) ? Be : o ? r === Ze ? Be : vt : v ? ni : ti;
|
|
2378
2378
|
}
|
|
2379
|
-
function
|
|
2379
|
+
function ko(e, t, n, i, a) {
|
|
2380
2380
|
e.dump = function() {
|
|
2381
2381
|
if (t.length === 0)
|
|
2382
2382
|
return e.quotingType === Ze ? '""' : "''";
|
|
2383
|
-
if (!e.noCompatMode && (
|
|
2383
|
+
if (!e.noCompatMode && (so.indexOf(t) !== -1 || co.test(t)))
|
|
2384
2384
|
return e.quotingType === Ze ? '"' + t + '"' : "'" + t + "'";
|
|
2385
2385
|
var r = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - r), l = i || e.flowLevel > -1 && n >= e.flowLevel;
|
|
2386
2386
|
function c(u) {
|
|
2387
|
-
return
|
|
2387
|
+
return mo(e, u);
|
|
2388
2388
|
}
|
|
2389
|
-
switch (
|
|
2389
|
+
switch (vo(
|
|
2390
2390
|
t,
|
|
2391
2391
|
l,
|
|
2392
2392
|
e.indent,
|
|
@@ -2403,9 +2403,9 @@ function vo(e, t, n, i, a) {
|
|
|
2403
2403
|
case ti:
|
|
2404
2404
|
return "|" + Yt(t, e.indent) + Gt(Ht(t, r));
|
|
2405
2405
|
case ni:
|
|
2406
|
-
return ">" + Yt(t, e.indent) + Gt(Ht(
|
|
2406
|
+
return ">" + Yt(t, e.indent) + Gt(Ht(bo(t, o), r));
|
|
2407
2407
|
case Be:
|
|
2408
|
-
return '"' +
|
|
2408
|
+
return '"' + Co(t) + '"';
|
|
2409
2409
|
default:
|
|
2410
2410
|
throw new ce("impossible error: invalid scalar style");
|
|
2411
2411
|
}
|
|
@@ -2423,7 +2423,7 @@ function Gt(e) {
|
|
|
2423
2423
|
return e[e.length - 1] === `
|
|
2424
2424
|
` ? e.slice(0, -1) : e;
|
|
2425
2425
|
}
|
|
2426
|
-
function
|
|
2426
|
+
function bo(e, t) {
|
|
2427
2427
|
for (var n = /(\n+)([^\n]*)/g, i = function() {
|
|
2428
2428
|
var u = e.indexOf(`
|
|
2429
2429
|
`);
|
|
@@ -2446,30 +2446,30 @@ function Qt(e, t) {
|
|
|
2446
2446
|
`, e.length - a > t && o > a ? c += e.slice(a, o) + `
|
|
2447
2447
|
` + e.slice(o + 1) : c += e.slice(a), c.slice(1);
|
|
2448
2448
|
}
|
|
2449
|
-
function
|
|
2449
|
+
function Co(e) {
|
|
2450
2450
|
for (var t = "", n = 0, i, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
|
|
2451
|
-
n = Je(e, a), i = le[n], !i && Ye(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += i ||
|
|
2451
|
+
n = Je(e, a), i = le[n], !i && Ye(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += i || po(n);
|
|
2452
2452
|
return t;
|
|
2453
2453
|
}
|
|
2454
|
-
function
|
|
2454
|
+
function wo(e, t, n) {
|
|
2455
2455
|
var i = "", a = e.tag, r, o, l;
|
|
2456
2456
|
for (r = 0, o = n.length; r < o; r += 1)
|
|
2457
|
-
l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (
|
|
2457
|
+
l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (Ce(e, t, l, !1, !1) || typeof l > "u" && Ce(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
|
|
2458
2458
|
e.tag = a, e.dump = "[" + i + "]";
|
|
2459
2459
|
}
|
|
2460
2460
|
function Xt(e, t, n, i) {
|
|
2461
2461
|
var a = "", r = e.tag, o, l, c;
|
|
2462
2462
|
for (o = 0, l = n.length; o < l; o += 1)
|
|
2463
|
-
c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (
|
|
2463
|
+
c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Ce(e, t + 1, c, !0, !0, !1, !0) || typeof c > "u" && Ce(e, t + 1, null, !0, !0, !1, !0)) && ((!i || a !== "") && (a += ht(e, t)), e.dump && We === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
|
|
2464
2464
|
e.tag = r, e.dump = a || "[]";
|
|
2465
2465
|
}
|
|
2466
|
-
function
|
|
2466
|
+
function So(e, t, n) {
|
|
2467
2467
|
var i = "", a = e.tag, r = Object.keys(n), o, l, c, u, s;
|
|
2468
2468
|
for (o = 0, l = r.length; o < l; o += 1)
|
|
2469
|
-
s = "", i !== "" && (s += ", "), e.condenseFlow && (s += '"'), c = r[o], u = n[c], e.replacer && (u = e.replacer.call(n, c, u)),
|
|
2469
|
+
s = "", i !== "" && (s += ", "), e.condenseFlow && (s += '"'), c = r[o], u = n[c], e.replacer && (u = e.replacer.call(n, c, u)), Ce(e, t, c, !1, !1) && (e.dump.length > 1024 && (s += "? "), s += e.dump + (e.condenseFlow ? '"' : "") + ":" + (e.condenseFlow ? "" : " "), Ce(e, t, u, !1, !1) && (s += e.dump, i += s));
|
|
2470
2470
|
e.tag = a, e.dump = "{" + i + "}";
|
|
2471
2471
|
}
|
|
2472
|
-
function
|
|
2472
|
+
function _o(e, t, n, i) {
|
|
2473
2473
|
var a = "", r = e.tag, o = Object.keys(n), l, c, u, s, d, v;
|
|
2474
2474
|
if (e.sortKeys === !0)
|
|
2475
2475
|
o.sort();
|
|
@@ -2478,7 +2478,7 @@ function So(e, t, n, i) {
|
|
|
2478
2478
|
else if (e.sortKeys)
|
|
2479
2479
|
throw new ce("sortKeys must be a boolean or a function");
|
|
2480
2480
|
for (l = 0, c = o.length; l < c; l += 1)
|
|
2481
|
-
v = "", (!i || a !== "") && (v += ht(e, t)), u = o[l], s = n[u], e.replacer && (s = e.replacer.call(n, u, s)),
|
|
2481
|
+
v = "", (!i || a !== "") && (v += ht(e, t)), u = o[l], s = n[u], e.replacer && (s = e.replacer.call(n, u, s)), Ce(e, t + 1, u, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && We === e.dump.charCodeAt(0) ? v += "?" : v += "? "), v += e.dump, d && (v += ht(e, t)), Ce(e, t + 1, s, !0, d) && (e.dump && We === e.dump.charCodeAt(0) ? v += ":" : v += ": ", v += e.dump, a += v));
|
|
2482
2482
|
e.tag = r, e.dump = a || "{}";
|
|
2483
2483
|
}
|
|
2484
2484
|
function en(e, t, n) {
|
|
@@ -2498,7 +2498,7 @@ function en(e, t, n) {
|
|
|
2498
2498
|
}
|
|
2499
2499
|
return !1;
|
|
2500
2500
|
}
|
|
2501
|
-
function
|
|
2501
|
+
function Ce(e, t, n, i, a, r, o) {
|
|
2502
2502
|
e.tag = null, e.dump = n, en(e, n, !1) || en(e, n, !0);
|
|
2503
2503
|
var l = Jn.call(e.dump), c = i, u;
|
|
2504
2504
|
i && (i = e.flowLevel < 0 || e.flowLevel > t);
|
|
@@ -2507,11 +2507,11 @@ function we(e, t, n, i, a, r, o) {
|
|
|
2507
2507
|
e.dump = "*ref_" + d;
|
|
2508
2508
|
else {
|
|
2509
2509
|
if (s && v && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), l === "[object Object]")
|
|
2510
|
-
i && Object.keys(e.dump).length !== 0 ? (
|
|
2510
|
+
i && Object.keys(e.dump).length !== 0 ? (_o(e, t, e.dump, a), v && (e.dump = "&ref_" + d + e.dump)) : (So(e, t, e.dump), v && (e.dump = "&ref_" + d + " " + e.dump));
|
|
2511
2511
|
else if (l === "[object Array]")
|
|
2512
|
-
i && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Xt(e, t - 1, e.dump, a) : Xt(e, t, e.dump, a), v && (e.dump = "&ref_" + d + e.dump)) : (
|
|
2512
|
+
i && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Xt(e, t - 1, e.dump, a) : Xt(e, t, e.dump, a), v && (e.dump = "&ref_" + d + e.dump)) : (wo(e, t, e.dump), v && (e.dump = "&ref_" + d + " " + e.dump));
|
|
2513
2513
|
else if (l === "[object String]")
|
|
2514
|
-
e.tag !== "?" &&
|
|
2514
|
+
e.tag !== "?" && ko(e, e.dump, t, r, c);
|
|
2515
2515
|
else {
|
|
2516
2516
|
if (l === "[object Undefined]" || e.skipInvalid)
|
|
2517
2517
|
return !1;
|
|
@@ -2523,7 +2523,7 @@ function we(e, t, n, i, a, r, o) {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
return !0;
|
|
2525
2525
|
}
|
|
2526
|
-
function
|
|
2526
|
+
function Io(e, t) {
|
|
2527
2527
|
var n = [], i = [], a, r;
|
|
2528
2528
|
for (kt(e, n, i), a = 0, r = i.length; a < r; a += 1)
|
|
2529
2529
|
t.duplicates.push(n[i[a]]);
|
|
@@ -2541,23 +2541,23 @@ function kt(e, t, n) {
|
|
|
2541
2541
|
for (i = Object.keys(e), a = 0, r = i.length; a < r; a += 1)
|
|
2542
2542
|
kt(e[i[a]], t, n);
|
|
2543
2543
|
}
|
|
2544
|
-
function
|
|
2544
|
+
function xo(e, t) {
|
|
2545
2545
|
t = t || {};
|
|
2546
|
-
var n = new
|
|
2547
|
-
n.noRefs ||
|
|
2546
|
+
var n = new yo(t);
|
|
2547
|
+
n.noRefs || Io(e, n);
|
|
2548
2548
|
var i = e;
|
|
2549
|
-
return n.replacer && (i = n.replacer.call({ "": i }, "", i)),
|
|
2549
|
+
return n.replacer && (i = n.replacer.call({ "": i }, "", i)), Ce(n, 0, i, !0, !0) ? n.dump + `
|
|
2550
2550
|
` : "";
|
|
2551
2551
|
}
|
|
2552
|
-
var
|
|
2553
|
-
dump:
|
|
2552
|
+
var Ao = xo, jo = {
|
|
2553
|
+
dump: Ao
|
|
2554
2554
|
};
|
|
2555
2555
|
function $t(e, t) {
|
|
2556
2556
|
return function() {
|
|
2557
2557
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
2558
2558
|
};
|
|
2559
2559
|
}
|
|
2560
|
-
var
|
|
2560
|
+
var $o = oe, No = vn, To = wn, Oo = An, Ko = jn, Mo = It, Eo = zn.load, qo = zn.loadAll, Fo = jo.dump, Bo = ce, Lo = {
|
|
2561
2561
|
binary: Kn,
|
|
2562
2562
|
float: xn,
|
|
2563
2563
|
map: Cn,
|
|
@@ -2571,23 +2571,23 @@ var jo = oe, $o = vn, No = wn, To = An, Oo = jn, Ko = It, Mo = zn.load, Eo = zn.
|
|
|
2571
2571
|
omap: Mn,
|
|
2572
2572
|
seq: bn,
|
|
2573
2573
|
str: kn
|
|
2574
|
-
},
|
|
2575
|
-
Type:
|
|
2576
|
-
Schema:
|
|
2577
|
-
FAILSAFE_SCHEMA:
|
|
2578
|
-
JSON_SCHEMA:
|
|
2579
|
-
CORE_SCHEMA:
|
|
2580
|
-
DEFAULT_SCHEMA:
|
|
2581
|
-
load:
|
|
2582
|
-
loadAll:
|
|
2583
|
-
dump:
|
|
2584
|
-
YAMLException:
|
|
2585
|
-
types:
|
|
2586
|
-
safeLoad:
|
|
2587
|
-
safeLoadAll:
|
|
2588
|
-
safeDump:
|
|
2574
|
+
}, Uo = $t("safeLoad", "load"), Ro = $t("safeLoadAll", "loadAll"), Vo = $t("safeDump", "dump"), Do = {
|
|
2575
|
+
Type: $o,
|
|
2576
|
+
Schema: No,
|
|
2577
|
+
FAILSAFE_SCHEMA: To,
|
|
2578
|
+
JSON_SCHEMA: Oo,
|
|
2579
|
+
CORE_SCHEMA: Ko,
|
|
2580
|
+
DEFAULT_SCHEMA: Mo,
|
|
2581
|
+
load: Eo,
|
|
2582
|
+
loadAll: qo,
|
|
2583
|
+
dump: Fo,
|
|
2584
|
+
YAMLException: Bo,
|
|
2585
|
+
types: Lo,
|
|
2586
|
+
safeLoad: Uo,
|
|
2587
|
+
safeLoadAll: Ro,
|
|
2588
|
+
safeDump: Vo
|
|
2589
2589
|
};
|
|
2590
|
-
const
|
|
2590
|
+
const Po = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
2591
2591
|
__name: "YamlCodeBlock",
|
|
2592
2592
|
props: {
|
|
2593
2593
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2599,11 +2599,11 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2599
2599
|
setup(e) {
|
|
2600
2600
|
const t = e, n = S(() => {
|
|
2601
2601
|
const i = Object.fromEntries(Object.entries(t.yamlRecord).filter(([, a]) => a !== null && a !== "" && (Array.isArray(a) ? a.length !== 0 : !0)));
|
|
2602
|
-
return Object.keys(i).length === 0 && i.constructor === Object ? "" :
|
|
2602
|
+
return Object.keys(i).length === 0 && i.constructor === Object ? "" : Do.dump(i).trim();
|
|
2603
2603
|
});
|
|
2604
2604
|
return (i, a) => {
|
|
2605
2605
|
const r = R("KCodeBlock");
|
|
2606
|
-
return f(), A("div",
|
|
2606
|
+
return f(), A("div", Po, [
|
|
2607
2607
|
t.yamlRecord ? (f(), U(r, {
|
|
2608
2608
|
key: 0,
|
|
2609
2609
|
id: "yaml-codeblock",
|
|
@@ -2614,13 +2614,13 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2614
2614
|
]);
|
|
2615
2615
|
};
|
|
2616
2616
|
}
|
|
2617
|
-
}),
|
|
2617
|
+
}), zo = {
|
|
2618
2618
|
key: 0,
|
|
2619
2619
|
class: "config-card-display-form"
|
|
2620
|
-
},
|
|
2620
|
+
}, Jo = ["data-testid"], Ho = {
|
|
2621
2621
|
key: 0,
|
|
2622
2622
|
class: "config-card-prop-section-title"
|
|
2623
|
-
},
|
|
2623
|
+
}, Wo = /* @__PURE__ */ Q({
|
|
2624
2624
|
__name: "ConfigCardDisplay",
|
|
2625
2625
|
props: {
|
|
2626
2626
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -2666,13 +2666,13 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2666
2666
|
return delete o.created_at, delete o.updated_at, o;
|
|
2667
2667
|
});
|
|
2668
2668
|
return (o, l) => (f(), A(me, null, [
|
|
2669
|
-
e.format === "structured" ? (f(), A("div",
|
|
2669
|
+
e.format === "structured" ? (f(), A("div", zo, [
|
|
2670
2670
|
(f(!0), A(me, null, fe(e.propListTypes, (c) => (f(), A("div", {
|
|
2671
2671
|
key: `config-card-details-${c}-props`,
|
|
2672
2672
|
class: $e(`config-card-details-${c}-props`),
|
|
2673
2673
|
"data-testid": `config-card-details-${c}-props`
|
|
2674
2674
|
}, [
|
|
2675
|
-
c !== "basic" ? (f(), A("div",
|
|
2675
|
+
c !== "basic" ? (f(), A("div", Ho, E(c === "advanced" ? m(i)("baseConfigCard.sections.advanced") : m(i)("baseConfigCard.sections.plugin")), 1)) : J("", !0),
|
|
2676
2676
|
(f(!0), A(me, null, fe(e.propertyCollections[c], (u) => (f(), U(tt, {
|
|
2677
2677
|
key: u.key,
|
|
2678
2678
|
item: u
|
|
@@ -2696,7 +2696,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2696
2696
|
key: "0"
|
|
2697
2697
|
} : void 0
|
|
2698
2698
|
]), 1032, ["item"]))), 128))
|
|
2699
|
-
], 10,
|
|
2699
|
+
], 10, Jo))), 128))
|
|
2700
2700
|
])) : J("", !0),
|
|
2701
2701
|
e.format === "json" && t.record ? (f(), U(mn, {
|
|
2702
2702
|
key: 1,
|
|
@@ -2711,18 +2711,18 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2711
2711
|
}, null, 8, ["yaml-record"])) : J("", !0)
|
|
2712
2712
|
], 64));
|
|
2713
2713
|
}
|
|
2714
|
-
}),
|
|
2714
|
+
}), Zo = /* @__PURE__ */ ve(Wo, [["__scopeId", "data-v-147a2f70"]]), be = "24px", Ge = (e, t) => {
|
|
2715
2715
|
const n = e.__vccOpts || e;
|
|
2716
2716
|
for (const [i, a] of t)
|
|
2717
2717
|
n[i] = a;
|
|
2718
2718
|
return n;
|
|
2719
|
-
},
|
|
2719
|
+
}, Yo = (e) => (De("data-v-1d2a8d30"), e = e(), Pe(), e), Go = ["aria-hidden"], Qo = {
|
|
2720
2720
|
key: 0,
|
|
2721
2721
|
"data-testid": "kui-icon-svg-title"
|
|
2722
|
-
},
|
|
2722
|
+
}, Xo = /* @__PURE__ */ Yo(() => /* @__PURE__ */ L("path", {
|
|
2723
2723
|
d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
|
|
2724
2724
|
fill: "currentColor"
|
|
2725
|
-
}, null, -1)),
|
|
2725
|
+
}, null, -1)), el = /* @__PURE__ */ Q({
|
|
2726
2726
|
__name: "AddIcon",
|
|
2727
2727
|
props: {
|
|
2728
2728
|
/** The accessibility text provided to screen readers */
|
|
@@ -2791,7 +2791,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2791
2791
|
lineHeight: "0",
|
|
2792
2792
|
width: n.value
|
|
2793
2793
|
}));
|
|
2794
|
-
return (a, r) => (f(), U(
|
|
2794
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
2795
2795
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2796
2796
|
class: "kui-icon add-icon",
|
|
2797
2797
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
@@ -2808,20 +2808,20 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2808
2808
|
width: "100%",
|
|
2809
2809
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2810
2810
|
}, [
|
|
2811
|
-
e.title ? (f(), A("title",
|
|
2812
|
-
|
|
2813
|
-
], 8,
|
|
2811
|
+
e.title ? (f(), A("title", Qo, E(e.title), 1)) : J("", !0),
|
|
2812
|
+
Xo
|
|
2813
|
+
], 8, Go))
|
|
2814
2814
|
]),
|
|
2815
2815
|
_: 1
|
|
2816
2816
|
}, 8, ["aria-hidden", "style"]));
|
|
2817
2817
|
}
|
|
2818
|
-
}),
|
|
2818
|
+
}), tl = /* @__PURE__ */ Ge(el, [["__scopeId", "data-v-1d2a8d30"]]), nl = (e) => (De("data-v-929b4762"), e = e(), Pe(), e), il = ["aria-hidden"], al = {
|
|
2819
2819
|
key: 0,
|
|
2820
2820
|
"data-testid": "kui-icon-svg-title"
|
|
2821
|
-
},
|
|
2821
|
+
}, rl = /* @__PURE__ */ nl(() => /* @__PURE__ */ L("path", {
|
|
2822
2822
|
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",
|
|
2823
2823
|
fill: "currentColor"
|
|
2824
|
-
}, null, -1)),
|
|
2824
|
+
}, null, -1)), ol = /* @__PURE__ */ Q({
|
|
2825
2825
|
__name: "BookIcon",
|
|
2826
2826
|
props: {
|
|
2827
2827
|
/** The accessibility text provided to screen readers */
|
|
@@ -2890,7 +2890,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2890
2890
|
lineHeight: "0",
|
|
2891
2891
|
width: n.value
|
|
2892
2892
|
}));
|
|
2893
|
-
return (a, r) => (f(), U(
|
|
2893
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
2894
2894
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2895
2895
|
class: "kui-icon book-icon",
|
|
2896
2896
|
"data-testid": "kui-icon-wrapper-book-icon",
|
|
@@ -2907,20 +2907,20 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2907
2907
|
width: "100%",
|
|
2908
2908
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2909
2909
|
}, [
|
|
2910
|
-
e.title ? (f(), A("title",
|
|
2911
|
-
|
|
2912
|
-
], 8,
|
|
2910
|
+
e.title ? (f(), A("title", al, E(e.title), 1)) : J("", !0),
|
|
2911
|
+
rl
|
|
2912
|
+
], 8, il))
|
|
2913
2913
|
]),
|
|
2914
2914
|
_: 1
|
|
2915
2915
|
}, 8, ["aria-hidden", "style"]));
|
|
2916
2916
|
}
|
|
2917
|
-
}),
|
|
2917
|
+
}), ll = /* @__PURE__ */ Ge(ol, [["__scopeId", "data-v-929b4762"]]), sl = (e) => (De("data-v-219f8484"), e = e(), Pe(), e), cl = ["aria-hidden"], ul = {
|
|
2918
2918
|
key: 0,
|
|
2919
2919
|
"data-testid": "kui-icon-svg-title"
|
|
2920
|
-
},
|
|
2920
|
+
}, dl = /* @__PURE__ */ sl(() => /* @__PURE__ */ L("path", {
|
|
2921
2921
|
d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
|
|
2922
2922
|
fill: "currentColor"
|
|
2923
|
-
}, null, -1)),
|
|
2923
|
+
}, null, -1)), pl = /* @__PURE__ */ Q({
|
|
2924
2924
|
__name: "ChevronDownIcon",
|
|
2925
2925
|
props: {
|
|
2926
2926
|
/** The accessibility text provided to screen readers */
|
|
@@ -2989,7 +2989,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
2989
2989
|
lineHeight: "0",
|
|
2990
2990
|
width: n.value
|
|
2991
2991
|
}));
|
|
2992
|
-
return (a, r) => (f(), U(
|
|
2992
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
2993
2993
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2994
2994
|
class: "kui-icon chevron-down-icon",
|
|
2995
2995
|
"data-testid": "kui-icon-wrapper-chevron-down-icon",
|
|
@@ -3006,20 +3006,20 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3006
3006
|
width: "100%",
|
|
3007
3007
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3008
3008
|
}, [
|
|
3009
|
-
e.title ? (f(), A("title",
|
|
3010
|
-
|
|
3011
|
-
], 8,
|
|
3009
|
+
e.title ? (f(), A("title", ul, E(e.title), 1)) : J("", !0),
|
|
3010
|
+
dl
|
|
3011
|
+
], 8, cl))
|
|
3012
3012
|
]),
|
|
3013
3013
|
_: 1
|
|
3014
3014
|
}, 8, ["aria-hidden", "style"]));
|
|
3015
3015
|
}
|
|
3016
|
-
}),
|
|
3016
|
+
}), fl = /* @__PURE__ */ Ge(pl, [["__scopeId", "data-v-219f8484"]]), yl = (e) => (De("data-v-ed11facd"), e = e(), Pe(), e), ml = ["aria-hidden"], gl = {
|
|
3017
3017
|
key: 0,
|
|
3018
3018
|
"data-testid": "kui-icon-svg-title"
|
|
3019
|
-
},
|
|
3019
|
+
}, hl = /* @__PURE__ */ yl(() => /* @__PURE__ */ L("path", {
|
|
3020
3020
|
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",
|
|
3021
3021
|
fill: "currentColor"
|
|
3022
|
-
}, null, -1)),
|
|
3022
|
+
}, null, -1)), vl = /* @__PURE__ */ Q({
|
|
3023
3023
|
__name: "CloseIcon",
|
|
3024
3024
|
props: {
|
|
3025
3025
|
/** The accessibility text provided to screen readers */
|
|
@@ -3088,7 +3088,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3088
3088
|
lineHeight: "0",
|
|
3089
3089
|
width: n.value
|
|
3090
3090
|
}));
|
|
3091
|
-
return (a, r) => (f(), U(
|
|
3091
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
3092
3092
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
3093
3093
|
class: "kui-icon close-icon",
|
|
3094
3094
|
"data-testid": "kui-icon-wrapper-close-icon",
|
|
@@ -3105,20 +3105,20 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3105
3105
|
width: "100%",
|
|
3106
3106
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3107
3107
|
}, [
|
|
3108
|
-
e.title ? (f(), A("title",
|
|
3109
|
-
|
|
3110
|
-
], 8,
|
|
3108
|
+
e.title ? (f(), A("title", gl, E(e.title), 1)) : J("", !0),
|
|
3109
|
+
hl
|
|
3110
|
+
], 8, ml))
|
|
3111
3111
|
]),
|
|
3112
3112
|
_: 1
|
|
3113
3113
|
}, 8, ["aria-hidden", "style"]));
|
|
3114
3114
|
}
|
|
3115
|
-
}),
|
|
3115
|
+
}), kl = /* @__PURE__ */ Ge(vl, [["__scopeId", "data-v-ed11facd"]]), bl = (e) => (De("data-v-cf4e7d0b"), e = e(), Pe(), e), Cl = ["aria-hidden"], wl = {
|
|
3116
3116
|
key: 0,
|
|
3117
3117
|
"data-testid": "kui-icon-svg-title"
|
|
3118
|
-
},
|
|
3118
|
+
}, Sl = /* @__PURE__ */ bl(() => /* @__PURE__ */ L("path", {
|
|
3119
3119
|
d: "M12 20C11.45 20 10.9792 19.8042 10.5875 19.4125C10.1958 19.0208 10 18.55 10 18C10 17.45 10.1958 16.9792 10.5875 16.5875C10.9792 16.1958 11.45 16 12 16C12.55 16 13.0208 16.1958 13.4125 16.5875C13.8042 16.9792 14 17.45 14 18C14 18.55 13.8042 19.0208 13.4125 19.4125C13.0208 19.8042 12.55 20 12 20ZM12 14C11.45 14 10.9792 13.8042 10.5875 13.4125C10.1958 13.0208 10 12.55 10 12C10 11.45 10.1958 10.9792 10.5875 10.5875C10.9792 10.1958 11.45 10 12 10C12.55 10 13.0208 10.1958 13.4125 10.5875C13.8042 10.9792 14 11.45 14 12C14 12.55 13.8042 13.0208 13.4125 13.4125C13.0208 13.8042 12.55 14 12 14ZM12 8C11.45 8 10.9792 7.80417 10.5875 7.4125C10.1958 7.02083 10 6.55 10 6C10 5.45 10.1958 4.97917 10.5875 4.5875C10.9792 4.19583 11.45 4 12 4C12.55 4 13.0208 4.19583 13.4125 4.5875C13.8042 4.97917 14 5.45 14 6C14 6.55 13.8042 7.02083 13.4125 7.4125C13.0208 7.80417 12.55 8 12 8Z",
|
|
3120
3120
|
fill: "currentColor"
|
|
3121
|
-
}, null, -1)),
|
|
3121
|
+
}, null, -1)), _l = /* @__PURE__ */ Q({
|
|
3122
3122
|
__name: "MoreIcon",
|
|
3123
3123
|
props: {
|
|
3124
3124
|
/** The accessibility text provided to screen readers */
|
|
@@ -3187,7 +3187,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3187
3187
|
lineHeight: "0",
|
|
3188
3188
|
width: n.value
|
|
3189
3189
|
}));
|
|
3190
|
-
return (a, r) => (f(), U(
|
|
3190
|
+
return (a, r) => (f(), U(we(e.as), {
|
|
3191
3191
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
3192
3192
|
class: "kui-icon more-icon",
|
|
3193
3193
|
"data-testid": "kui-icon-wrapper-more-icon",
|
|
@@ -3204,17 +3204,17 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3204
3204
|
width: "100%",
|
|
3205
3205
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3206
3206
|
}, [
|
|
3207
|
-
e.title ? (f(), A("title",
|
|
3208
|
-
|
|
3209
|
-
], 8,
|
|
3207
|
+
e.title ? (f(), A("title", wl, E(e.title), 1)) : J("", !0),
|
|
3208
|
+
Sl
|
|
3209
|
+
], 8, Cl))
|
|
3210
3210
|
]),
|
|
3211
3211
|
_: 1
|
|
3212
3212
|
}, 8, ["aria-hidden", "style"]));
|
|
3213
3213
|
}
|
|
3214
|
-
}),
|
|
3214
|
+
}), Il = /* @__PURE__ */ Ge(_l, [["__scopeId", "data-v-cf4e7d0b"]]), xl = {
|
|
3215
3215
|
class: "config-card-title",
|
|
3216
3216
|
"data-testid": "config-card-title"
|
|
3217
|
-
},
|
|
3217
|
+
}, Al = { class: "config-card-actions" }, jl = ["href"], $l = { class: "config-card-details-section" }, Nl = /* @__PURE__ */ Q({
|
|
3218
3218
|
__name: "EntityBaseConfigCard",
|
|
3219
3219
|
props: {
|
|
3220
3220
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3437,7 +3437,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3437
3437
|
"title-tag": e.titleTag
|
|
3438
3438
|
}, Me({
|
|
3439
3439
|
actions: k(() => [
|
|
3440
|
-
L("div",
|
|
3440
|
+
L("div", Al, [
|
|
3441
3441
|
ee(p.$slots, "actions", {}, void 0, !0),
|
|
3442
3442
|
x(q, {
|
|
3443
3443
|
class: "config-format-select-label",
|
|
@@ -3465,8 +3465,8 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3465
3465
|
rel: "noopener",
|
|
3466
3466
|
target: "_blank"
|
|
3467
3467
|
}, [
|
|
3468
|
-
x(m(
|
|
3469
|
-
], 8,
|
|
3468
|
+
x(m(ll), { size: m(sa) }, null, 8, ["size"])
|
|
3469
|
+
], 8, jl)
|
|
3470
3470
|
]),
|
|
3471
3471
|
_: 1
|
|
3472
3472
|
})) : J("", !0)
|
|
@@ -3488,8 +3488,8 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3488
3488
|
]),
|
|
3489
3489
|
_: 1
|
|
3490
3490
|
})) : J("", !0),
|
|
3491
|
-
L("div",
|
|
3492
|
-
x(
|
|
3491
|
+
L("div", $l, [
|
|
3492
|
+
x(Zo, {
|
|
3493
3493
|
config: e.config,
|
|
3494
3494
|
"fetcher-url": w.value,
|
|
3495
3495
|
format: s.value,
|
|
@@ -3514,7 +3514,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3514
3514
|
e.hideTitle ? void 0 : {
|
|
3515
3515
|
name: "title",
|
|
3516
3516
|
fn: k(() => [
|
|
3517
|
-
L("span",
|
|
3517
|
+
L("span", xl, [
|
|
3518
3518
|
ee(p.$slots, "title", {}, () => [
|
|
3519
3519
|
G(E(m(r)("baseConfigCard.title")), 1)
|
|
3520
3520
|
], !0)
|
|
@@ -3525,10 +3525,10 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3525
3525
|
]), 1032, ["title-tag"]);
|
|
3526
3526
|
};
|
|
3527
3527
|
}
|
|
3528
|
-
}),
|
|
3528
|
+
}), Tl = /* @__PURE__ */ ve(Nl, [["__scopeId", "data-v-f40a683b"]]), Ol = ["novalidate"], Kl = {
|
|
3529
3529
|
class: "form-actions",
|
|
3530
3530
|
"data-testid": "form-actions"
|
|
3531
|
-
},
|
|
3531
|
+
}, Ml = /* @__PURE__ */ Q({
|
|
3532
3532
|
__name: "EntityBaseForm",
|
|
3533
3533
|
props: {
|
|
3534
3534
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -3658,7 +3658,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3658
3658
|
"data-testid": "form-error",
|
|
3659
3659
|
message: e.errorMessage
|
|
3660
3660
|
}, null, 8, ["message"])) : J("", !0),
|
|
3661
|
-
L("div",
|
|
3661
|
+
L("div", Kl, [
|
|
3662
3662
|
ee(h.$slots, "form-actions", {}, () => [
|
|
3663
3663
|
x(j, {
|
|
3664
3664
|
appearance: "tertiary",
|
|
@@ -3694,7 +3694,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3694
3694
|
}, 8, ["disabled"])
|
|
3695
3695
|
], !0)
|
|
3696
3696
|
])
|
|
3697
|
-
], 40,
|
|
3697
|
+
], 40, Ol)),
|
|
3698
3698
|
x(K, {
|
|
3699
3699
|
"close-on-blur": !1,
|
|
3700
3700
|
"data-testid": "form-view-configuration-slideout",
|
|
@@ -3733,7 +3733,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3733
3733
|
});
|
|
3734
3734
|
};
|
|
3735
3735
|
}
|
|
3736
|
-
}),
|
|
3736
|
+
}), El = /* @__PURE__ */ ve(Ml, [["__scopeId", "data-v-3def74fe"]]), ql = ["data-truncate"], Fl = /* @__PURE__ */ Q({
|
|
3737
3737
|
__name: "EntityBaseTableCell",
|
|
3738
3738
|
props: {
|
|
3739
3739
|
keyName: {
|
|
@@ -3812,14 +3812,14 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3812
3812
|
]),
|
|
3813
3813
|
_: 3
|
|
3814
3814
|
}, 8, ["text"])
|
|
3815
|
-
], 8,
|
|
3815
|
+
], 8, ql)) : ee(_.$slots, "default", { key: 1 }, void 0, !0)
|
|
3816
3816
|
], 512);
|
|
3817
3817
|
};
|
|
3818
3818
|
}
|
|
3819
|
-
}),
|
|
3819
|
+
}), Bl = /* @__PURE__ */ ve(Fl, [["__scopeId", "data-v-471ce76e"]]), Ll = { class: "toolbar-container" }, Ul = {
|
|
3820
3820
|
key: 0,
|
|
3821
3821
|
class: "toolbar-button-container"
|
|
3822
|
-
},
|
|
3822
|
+
}, Rl = ["data-testid"], Vl = /* @__PURE__ */ Q({
|
|
3823
3823
|
__name: "EntityBaseTable",
|
|
3824
3824
|
props: {
|
|
3825
3825
|
// table header configuration
|
|
@@ -3987,7 +3987,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
3987
3987
|
i("click:row", C);
|
|
3988
3988
|
}), _ = (p) => {
|
|
3989
3989
|
i("sort", p);
|
|
3990
|
-
}, { setTablePreferences: B, getTablePreferences: g } =
|
|
3990
|
+
}, { setTablePreferences: B, getTablePreferences: g } = ji(), V = M(g(o.value)), h = S(() => {
|
|
3991
3991
|
const p = g(o.value);
|
|
3992
3992
|
return {
|
|
3993
3993
|
...n.initialFetcherParams,
|
|
@@ -4038,9 +4038,9 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4038
4038
|
"onUpdate:tablePreferences": w
|
|
4039
4039
|
}, Me({
|
|
4040
4040
|
toolbar: k(({ state: O }) => [
|
|
4041
|
-
Ie(L("div",
|
|
4041
|
+
Ie(L("div", Ll, [
|
|
4042
4042
|
ee(p.$slots, "toolbar-filter", {}, void 0, !0),
|
|
4043
|
-
p.$slots["toolbar-button"] ? (f(), A("div",
|
|
4043
|
+
p.$slots["toolbar-button"] ? (f(), A("div", Ul, [
|
|
4044
4044
|
ee(p.$slots, "toolbar-button", {}, void 0, !0)
|
|
4045
4045
|
])) : J("", !0)
|
|
4046
4046
|
], 512), [
|
|
@@ -4072,21 +4072,21 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4072
4072
|
size: "small"
|
|
4073
4073
|
}, {
|
|
4074
4074
|
default: k(() => [
|
|
4075
|
-
x(m(
|
|
4075
|
+
x(m(Il))
|
|
4076
4076
|
]),
|
|
4077
4077
|
_: 1
|
|
4078
4078
|
})
|
|
4079
4079
|
]),
|
|
4080
4080
|
_: 2
|
|
4081
4081
|
}, 1032, ["width"])
|
|
4082
|
-
], 8,
|
|
4082
|
+
], 8, Rl)
|
|
4083
4083
|
]),
|
|
4084
4084
|
_: 2
|
|
4085
4085
|
}, [
|
|
4086
4086
|
fe(e.tableHeaders, (O, z) => ({
|
|
4087
4087
|
name: z,
|
|
4088
4088
|
fn: k(({ row: W, rowKey: ue, rowValue: de }) => [
|
|
4089
|
-
x(
|
|
4089
|
+
x(Bl, {
|
|
4090
4090
|
"key-name": String(z),
|
|
4091
4091
|
"row-el": d(W),
|
|
4092
4092
|
tooltip: O.tooltip
|
|
@@ -4107,7 +4107,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4107
4107
|
e.query ? void 0 : {
|
|
4108
4108
|
name: "empty-state-action-icon",
|
|
4109
4109
|
fn: k(() => [
|
|
4110
|
-
x(m(
|
|
4110
|
+
x(m(tl))
|
|
4111
4111
|
]),
|
|
4112
4112
|
key: "0"
|
|
4113
4113
|
}
|
|
@@ -4117,13 +4117,13 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4117
4117
|
}, 8, ["title", "title-tag"]);
|
|
4118
4118
|
};
|
|
4119
4119
|
}
|
|
4120
|
-
}),
|
|
4120
|
+
}), Dl = /* @__PURE__ */ ve(Vl, [["__scopeId", "data-v-0496d9a7"]]), Pl = {
|
|
4121
4121
|
key: 0,
|
|
4122
4122
|
class: "kong-ui-entity-delete-error"
|
|
4123
|
-
},
|
|
4123
|
+
}, zl = {
|
|
4124
4124
|
key: 1,
|
|
4125
4125
|
class: "description"
|
|
4126
|
-
},
|
|
4126
|
+
}, Jl = /* @__PURE__ */ Q({
|
|
4127
4127
|
__name: "EntityDeleteModal",
|
|
4128
4128
|
props: {
|
|
4129
4129
|
visible: {
|
|
@@ -4181,7 +4181,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4181
4181
|
onProceed: l
|
|
4182
4182
|
}, {
|
|
4183
4183
|
default: k(() => [
|
|
4184
|
-
e.error ? (f(), A("div",
|
|
4184
|
+
e.error ? (f(), A("div", Pl, [
|
|
4185
4185
|
x(s, { appearance: "danger" }, {
|
|
4186
4186
|
default: k(() => [
|
|
4187
4187
|
G(E(e.error), 1)
|
|
@@ -4207,7 +4207,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4207
4207
|
key: "0"
|
|
4208
4208
|
} : void 0
|
|
4209
4209
|
]), 1032, ["keypath"]),
|
|
4210
|
-
i.description || c.$slots.description ? (f(), A("div",
|
|
4210
|
+
i.description || c.$slots.description ? (f(), A("div", zl, [
|
|
4211
4211
|
ee(c.$slots, "description", {}, () => [
|
|
4212
4212
|
L("p", null, E(i.description), 1)
|
|
4213
4213
|
], !0)
|
|
@@ -4217,13 +4217,13 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4217
4217
|
}, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
|
|
4218
4218
|
};
|
|
4219
4219
|
}
|
|
4220
|
-
}),
|
|
4220
|
+
}), Hl = /* @__PURE__ */ ve(Jl, [["__scopeId", "data-v-4361d622"]]), Wl = {
|
|
4221
4221
|
fill: "none",
|
|
4222
4222
|
height: "20",
|
|
4223
4223
|
viewBox: "0 0 20 20",
|
|
4224
4224
|
width: "20",
|
|
4225
4225
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4226
|
-
},
|
|
4226
|
+
}, Zl = {
|
|
4227
4227
|
id: "mask0_180_20349",
|
|
4228
4228
|
height: "20",
|
|
4229
4229
|
maskUnits: "userSpaceOnUse",
|
|
@@ -4231,35 +4231,35 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4231
4231
|
width: "20",
|
|
4232
4232
|
x: "0",
|
|
4233
4233
|
y: "0"
|
|
4234
|
-
},
|
|
4234
|
+
}, Yl = ["fill"], Gl = { mask: "url(#mask0_180_20349)" }, Ql = ["fill"], tn = /* @__PURE__ */ Q({
|
|
4235
4235
|
__name: "IconFilter",
|
|
4236
4236
|
props: {
|
|
4237
4237
|
color: {
|
|
4238
4238
|
type: String,
|
|
4239
|
-
default: `var(--kong-ui-entity-filter-color, ${
|
|
4239
|
+
default: `var(--kong-ui-entity-filter-color, ${aa})`
|
|
4240
4240
|
}
|
|
4241
4241
|
},
|
|
4242
4242
|
setup(e) {
|
|
4243
|
-
return (t, n) => (f(), A("svg",
|
|
4244
|
-
L("mask",
|
|
4243
|
+
return (t, n) => (f(), A("svg", Wl, [
|
|
4244
|
+
L("mask", Zl, [
|
|
4245
4245
|
L("rect", {
|
|
4246
4246
|
fill: e.color,
|
|
4247
4247
|
height: "20",
|
|
4248
4248
|
width: "20"
|
|
4249
|
-
}, null, 8,
|
|
4249
|
+
}, null, 8, Yl)
|
|
4250
4250
|
]),
|
|
4251
|
-
L("g",
|
|
4251
|
+
L("g", Gl, [
|
|
4252
4252
|
L("path", {
|
|
4253
4253
|
d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
|
|
4254
4254
|
fill: e.color
|
|
4255
|
-
}, null, 8,
|
|
4255
|
+
}, null, 8, Ql)
|
|
4256
4256
|
])
|
|
4257
4257
|
]));
|
|
4258
4258
|
}
|
|
4259
|
-
}),
|
|
4259
|
+
}), Xl = {
|
|
4260
4260
|
key: 1,
|
|
4261
4261
|
class: "kong-ui-entity-filter"
|
|
4262
|
-
},
|
|
4262
|
+
}, es = { class: "kong-ui-entity-filter-menu" }, ts = ["data-testid"], ns = ["onClick", "onKeydown"], is = { class: "menu-item-indicator" }, as = { class: "menu-item-body" }, rs = ["for"], os = { class: "menu-item-buttons" }, ls = { class: "filter-clear-button-container" }, ss = /* @__PURE__ */ Q({
|
|
4263
4263
|
__name: "EntityFilter",
|
|
4264
4264
|
props: {
|
|
4265
4265
|
// filter config, either exact match or fuzzy match
|
|
@@ -4343,7 +4343,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4343
4343
|
x(tn)
|
|
4344
4344
|
]),
|
|
4345
4345
|
after: k(() => [
|
|
4346
|
-
Ie(x(m(
|
|
4346
|
+
Ie(x(m(kl), {
|
|
4347
4347
|
class: "kong-ui-entity-filter-clear",
|
|
4348
4348
|
onClick: y
|
|
4349
4349
|
}, null, 512), [
|
|
@@ -4351,7 +4351,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4351
4351
|
])
|
|
4352
4352
|
]),
|
|
4353
4353
|
_: 1
|
|
4354
|
-
}, 8, ["model-value", "placeholder"])) : (f(), A("div",
|
|
4354
|
+
}, 8, ["model-value", "placeholder"])) : (f(), A("div", Xl, [
|
|
4355
4355
|
x(C, {
|
|
4356
4356
|
appearance: "tertiary",
|
|
4357
4357
|
"data-testid": "filter-button",
|
|
@@ -4369,7 +4369,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4369
4369
|
}, null, 512), [
|
|
4370
4370
|
[xe, r.value]
|
|
4371
4371
|
]),
|
|
4372
|
-
Ie(L("div",
|
|
4372
|
+
Ie(L("div", es, [
|
|
4373
4373
|
(f(!0), A(me, null, fe(u.value, (j) => {
|
|
4374
4374
|
var P, K;
|
|
4375
4375
|
return f(), A("div", {
|
|
@@ -4385,19 +4385,19 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4385
4385
|
onKeydown: ci((O) => d(j.value), ["enter"])
|
|
4386
4386
|
}, [
|
|
4387
4387
|
G(E(j.label) + " ", 1),
|
|
4388
|
-
Ie(L("span",
|
|
4388
|
+
Ie(L("span", is, null, 512), [
|
|
4389
4389
|
[xe, c.value.includes(j.value)]
|
|
4390
4390
|
]),
|
|
4391
|
-
x(m(
|
|
4391
|
+
x(m(fl), {
|
|
4392
4392
|
class: $e(["menu-item-expand-icon", { expanded: l.value.has(j.value) }]),
|
|
4393
|
-
color: m(
|
|
4393
|
+
color: m(oa)
|
|
4394
4394
|
}, null, 8, ["class", "color"])
|
|
4395
|
-
], 42,
|
|
4396
|
-
Ie(L("div",
|
|
4395
|
+
], 42, ns),
|
|
4396
|
+
Ie(L("div", as, [
|
|
4397
4397
|
L("label", {
|
|
4398
4398
|
class: "menu-item-label",
|
|
4399
4399
|
for: I(j.value)
|
|
4400
|
-
}, E(m(n)("filter.fieldLabel")), 9,
|
|
4400
|
+
}, E(m(n)("filter.fieldLabel")), 9, rs),
|
|
4401
4401
|
((K = (P = e.config.schema) == null ? void 0 : P[j.value]) == null ? void 0 : K.type) === "select" ? (f(), U(q, {
|
|
4402
4402
|
key: 0,
|
|
4403
4403
|
id: I(j.value),
|
|
@@ -4417,7 +4417,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4417
4417
|
], 512), [
|
|
4418
4418
|
[xe, l.value.has(j.value)]
|
|
4419
4419
|
]),
|
|
4420
|
-
Ie(L("div",
|
|
4420
|
+
Ie(L("div", os, [
|
|
4421
4421
|
x(C, {
|
|
4422
4422
|
appearance: "tertiary",
|
|
4423
4423
|
"data-testid": "apply-filter",
|
|
@@ -4443,9 +4443,9 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4443
4443
|
], 512), [
|
|
4444
4444
|
[xe, l.value.has(j.value)]
|
|
4445
4445
|
])
|
|
4446
|
-
], 8,
|
|
4446
|
+
], 8, ts);
|
|
4447
4447
|
}), 128)),
|
|
4448
|
-
L("div",
|
|
4448
|
+
L("div", ls, [
|
|
4449
4449
|
x(C, {
|
|
4450
4450
|
appearance: "tertiary",
|
|
4451
4451
|
size: "small",
|
|
@@ -4463,7 +4463,7 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4463
4463
|
]));
|
|
4464
4464
|
};
|
|
4465
4465
|
}
|
|
4466
|
-
}),
|
|
4466
|
+
}), cs = /* @__PURE__ */ ve(ss, [["__scopeId", "data-v-94990087"]]), Xe = /* @__PURE__ */ Q({
|
|
4467
4467
|
__name: "PermissionsWrapper",
|
|
4468
4468
|
props: {
|
|
4469
4469
|
/**
|
|
@@ -4495,41 +4495,41 @@ const Do = { class: "yaml-config" }, ii = /* @__PURE__ */ Q({
|
|
|
4495
4495
|
}
|
|
4496
4496
|
});
|
|
4497
4497
|
let et;
|
|
4498
|
-
const
|
|
4499
|
-
function
|
|
4498
|
+
const us = new Uint8Array(16);
|
|
4499
|
+
function ds() {
|
|
4500
4500
|
if (!et && (et = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !et))
|
|
4501
4501
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
4502
|
-
return et(
|
|
4502
|
+
return et(us);
|
|
4503
4503
|
}
|
|
4504
4504
|
const re = [];
|
|
4505
4505
|
for (let e = 0; e < 256; ++e)
|
|
4506
4506
|
re.push((e + 256).toString(16).slice(1));
|
|
4507
|
-
function
|
|
4507
|
+
function ps(e, t = 0) {
|
|
4508
4508
|
return re[e[t + 0]] + re[e[t + 1]] + re[e[t + 2]] + re[e[t + 3]] + "-" + re[e[t + 4]] + re[e[t + 5]] + "-" + re[e[t + 6]] + re[e[t + 7]] + "-" + re[e[t + 8]] + re[e[t + 9]] + "-" + re[e[t + 10]] + re[e[t + 11]] + re[e[t + 12]] + re[e[t + 13]] + re[e[t + 14]] + re[e[t + 15]];
|
|
4509
4509
|
}
|
|
4510
|
-
const
|
|
4511
|
-
randomUUID:
|
|
4510
|
+
const fs = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), nn = {
|
|
4511
|
+
randomUUID: fs
|
|
4512
4512
|
};
|
|
4513
|
-
function
|
|
4513
|
+
function ys(e, t, n) {
|
|
4514
4514
|
if (nn.randomUUID && !t && !e)
|
|
4515
4515
|
return nn.randomUUID();
|
|
4516
4516
|
e = e || {};
|
|
4517
|
-
const i = e.random || (e.rng ||
|
|
4517
|
+
const i = e.random || (e.rng || ds)();
|
|
4518
4518
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) {
|
|
4519
4519
|
n = n || 0;
|
|
4520
4520
|
for (let a = 0; a < 16; ++a)
|
|
4521
4521
|
t[n + a] = i[a];
|
|
4522
4522
|
return t;
|
|
4523
4523
|
}
|
|
4524
|
-
return
|
|
4524
|
+
return ps(i);
|
|
4525
4525
|
}
|
|
4526
|
-
const
|
|
4526
|
+
const ms = ["aria-labelledby"], gs = { class: "form-section-wrapper" }, hs = {
|
|
4527
4527
|
key: 1,
|
|
4528
4528
|
class: "form-section-description"
|
|
4529
|
-
},
|
|
4529
|
+
}, vs = {
|
|
4530
4530
|
key: 2,
|
|
4531
4531
|
class: "form-section-footer"
|
|
4532
|
-
},
|
|
4532
|
+
}, ks = { class: "form-section-content" }, bs = /* @__PURE__ */ Q({
|
|
4533
4533
|
__name: "EntityFormSection",
|
|
4534
4534
|
props: {
|
|
4535
4535
|
title: {
|
|
@@ -4558,18 +4558,18 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4558
4558
|
}
|
|
4559
4559
|
},
|
|
4560
4560
|
setup(e) {
|
|
4561
|
-
const t = bt(), n =
|
|
4561
|
+
const t = bt(), n = ys();
|
|
4562
4562
|
return (i, a) => (f(), A("div", {
|
|
4563
4563
|
"aria-labelledby": e.title ? m(n) : void 0,
|
|
4564
4564
|
class: $e(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
|
|
4565
4565
|
role: "group"
|
|
4566
4566
|
}, [
|
|
4567
|
-
L("div",
|
|
4567
|
+
L("div", gs, [
|
|
4568
4568
|
e.hideInfoHeader ? J("", !0) : (f(), A("div", {
|
|
4569
4569
|
key: 0,
|
|
4570
4570
|
class: $e(["form-section-info", { sticky: e.stickyInfoHeader }])
|
|
4571
4571
|
}, [
|
|
4572
|
-
e.title ? (f(), U(
|
|
4572
|
+
e.title ? (f(), U(we(e.titleTag), {
|
|
4573
4573
|
key: 0,
|
|
4574
4574
|
id: m(n),
|
|
4575
4575
|
class: "form-section-title"
|
|
@@ -4579,22 +4579,22 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4579
4579
|
]),
|
|
4580
4580
|
_: 1
|
|
4581
4581
|
}, 8, ["id"])) : J("", !0),
|
|
4582
|
-
e.description || m(t).description ? (f(), A("div",
|
|
4582
|
+
e.description || m(t).description ? (f(), A("div", hs, [
|
|
4583
4583
|
ee(i.$slots, "description", {}, () => [
|
|
4584
4584
|
L("p", null, E(e.description), 1)
|
|
4585
4585
|
], !0)
|
|
4586
4586
|
])) : J("", !0),
|
|
4587
|
-
m(t).footer ? (f(), A("div",
|
|
4587
|
+
m(t).footer ? (f(), A("div", vs, [
|
|
4588
4588
|
ee(i.$slots, "footer", {}, void 0, !0)
|
|
4589
4589
|
])) : J("", !0)
|
|
4590
4590
|
], 2)),
|
|
4591
|
-
L("div",
|
|
4591
|
+
L("div", ks, [
|
|
4592
4592
|
ee(i.$slots, "default", {}, void 0, !0)
|
|
4593
4593
|
])
|
|
4594
4594
|
])
|
|
4595
|
-
], 10,
|
|
4595
|
+
], 10, ms));
|
|
4596
4596
|
}
|
|
4597
|
-
}), an = /* @__PURE__ */ ve(
|
|
4597
|
+
}), an = /* @__PURE__ */ ve(bs, [["__scopeId", "data-v-b1f74200"]]), { useAxios: Nt, useDeleteUrlBuilder: Cs, useErrors: ws, useExternalLinkCreator: Ps, useFetchUrlBuilder: zs, useFetcher: Ss, useDebouncedFilter: _s, useStringHelpers: Is, useHelpers: Js, useGatewayFeatureSupported: Hs, useTruncationDetector: Ws, useValidators: Zs } = ae, xs = { class: "kong-ui-entities-keys-list" }, As = { key: 1 }, js = /* @__PURE__ */ Q({
|
|
4598
4598
|
__name: "KeyList",
|
|
4599
4599
|
props: {
|
|
4600
4600
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -4663,7 +4663,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4663
4663
|
fields: b,
|
|
4664
4664
|
schema: i.config.filterSchema
|
|
4665
4665
|
};
|
|
4666
|
-
}), { fetcher: I, fetcherState: N } =
|
|
4666
|
+
}), { fetcher: I, fetcherState: N } = Ss(i.config, d.value), _ = () => {
|
|
4667
4667
|
v.value = "";
|
|
4668
4668
|
}, B = () => {
|
|
4669
4669
|
l.value++;
|
|
@@ -4708,7 +4708,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4708
4708
|
}), j = (F) => ({
|
|
4709
4709
|
label: a("keys.actions.edit"),
|
|
4710
4710
|
to: i.config.getEditRoute(F)
|
|
4711
|
-
}), P = M(void 0), K = M(!1), O = M(!1), z = M(""), W =
|
|
4711
|
+
}), P = M(void 0), K = M(!1), O = M(!1), z = M(""), W = Cs(i.config, d.value), ue = (F) => {
|
|
4712
4712
|
P.value = F, K.value = !0;
|
|
4713
4713
|
}, de = () => {
|
|
4714
4714
|
K.value = !1;
|
|
@@ -4745,8 +4745,8 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4745
4745
|
await i.canCreate() && (qe.value.title = a("keys.list.empty_state.title"), qe.value.ctaText = a("keys.actions.create"));
|
|
4746
4746
|
}), (F, b) => {
|
|
4747
4747
|
const $ = R("KButton"), H = R("KCopy"), te = R("KBadge"), ge = R("KTruncate"), D = R("KDropdownItem"), Z = R("KClipboardProvider");
|
|
4748
|
-
return f(), A("div",
|
|
4749
|
-
x(m(
|
|
4748
|
+
return f(), A("div", xs, [
|
|
4749
|
+
x(m(Dl), {
|
|
4750
4750
|
"cache-identifier": e.cacheIdentifier,
|
|
4751
4751
|
"disable-pagination-page-jump": "",
|
|
4752
4752
|
"disable-sorting": c.value,
|
|
@@ -4765,41 +4765,39 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4765
4765
|
onSort: B
|
|
4766
4766
|
}, {
|
|
4767
4767
|
"toolbar-filter": k(() => [
|
|
4768
|
-
x(m(
|
|
4768
|
+
x(m(cs), {
|
|
4769
4769
|
modelValue: v.value,
|
|
4770
4770
|
"onUpdate:modelValue": b[0] || (b[0] = (X) => v.value = X),
|
|
4771
4771
|
config: y.value
|
|
4772
4772
|
}, null, 8, ["modelValue", "config"])
|
|
4773
4773
|
]),
|
|
4774
4774
|
"toolbar-button": k(() => [
|
|
4775
|
-
(f(), U(
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
_: 1
|
|
4802
|
-
}, 8, ["to"]))
|
|
4775
|
+
(f(), U(fi, {
|
|
4776
|
+
disabled: !e.useActionOutside,
|
|
4777
|
+
to: "#kong-ui-app-page-header-action-button"
|
|
4778
|
+
}, [
|
|
4779
|
+
x(m(Xe), {
|
|
4780
|
+
"auth-function": () => e.canCreate()
|
|
4781
|
+
}, {
|
|
4782
|
+
default: k(() => [
|
|
4783
|
+
Ie(x($, {
|
|
4784
|
+
appearance: "primary",
|
|
4785
|
+
"data-testid": "toolbar-add-key",
|
|
4786
|
+
size: "large",
|
|
4787
|
+
to: e.config.createRoute
|
|
4788
|
+
}, {
|
|
4789
|
+
default: k(() => [
|
|
4790
|
+
x(m(Ci)),
|
|
4791
|
+
G(" " + E(m(a)("keys.list.toolbar_actions.new_key")), 1)
|
|
4792
|
+
]),
|
|
4793
|
+
_: 1
|
|
4794
|
+
}, 8, ["to"]), [
|
|
4795
|
+
[xe, Ee.value]
|
|
4796
|
+
])
|
|
4797
|
+
]),
|
|
4798
|
+
_: 1
|
|
4799
|
+
}, 8, ["auth-function"])
|
|
4800
|
+
], 8, ["disabled"]))
|
|
4803
4801
|
]),
|
|
4804
4802
|
name: k(({ rowValue: X }) => [
|
|
4805
4803
|
L("b", null, E(X ?? "-"), 1)
|
|
@@ -4822,7 +4820,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4822
4820
|
}, 1024))), 128))
|
|
4823
4821
|
]),
|
|
4824
4822
|
_: 2
|
|
4825
|
-
}, 1024)) : (f(), A("span",
|
|
4823
|
+
}, 1024)) : (f(), A("span", As, "-"))
|
|
4826
4824
|
]),
|
|
4827
4825
|
id: k(({ rowValue: X }) => [
|
|
4828
4826
|
x(H, {
|
|
@@ -4903,7 +4901,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4903
4901
|
]),
|
|
4904
4902
|
_: 1
|
|
4905
4903
|
}, 8, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "use-action-outside"]),
|
|
4906
|
-
x(m(
|
|
4904
|
+
x(m(Hl), {
|
|
4907
4905
|
"action-pending": O.value,
|
|
4908
4906
|
description: m(a)("keys.delete.description"),
|
|
4909
4907
|
"entity-name": P.value && (P.value.name || P.value.id),
|
|
@@ -4923,11 +4921,11 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4923
4921
|
for (const [i, a] of t)
|
|
4924
4922
|
n[i] = a;
|
|
4925
4923
|
return n;
|
|
4926
|
-
},
|
|
4924
|
+
}, Ys = /* @__PURE__ */ ai(js, [["__scopeId", "data-v-2f6bbde3"]]), $s = { class: "kong-ui-entities-keys-form" }, Ns = { "data-testid": "no-search-results" }, Ts = { class: "select-item-container" }, Os = { class: "select-item-label" }, Ks = { class: "select-item-description" }, Ms = {
|
|
4927
4925
|
key: 0,
|
|
4928
4926
|
class: "invalid-key-set-message",
|
|
4929
4927
|
"data-testid": "invalid-key-set-message"
|
|
4930
|
-
},
|
|
4928
|
+
}, Es = { "data-testid": "key-format-container" }, qs = /* @__PURE__ */ Q({
|
|
4931
4929
|
__name: "KeyForm",
|
|
4932
4930
|
props: {
|
|
4933
4931
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -4958,7 +4956,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
4958
4956
|
emits: ["update", "error", "loading"],
|
|
4959
4957
|
setup(e, { emit: t }) {
|
|
4960
4958
|
var F;
|
|
4961
|
-
const n = t, i = e, a = Ct(), { i18n: { t: r } } = wt.useI18n(), { getMessageFromError: o } =
|
|
4959
|
+
const n = t, i = e, a = Ct(), { i18n: { t: r } } = wt.useI18n(), { getMessageFromError: o } = ws(), { axiosInstance: l } = Nt((F = i.config) == null ? void 0 : F.axiosRequestConfig), c = S(() => i.keySetId ? Ae.form[i.config.app].edit.forKeySet.replace(/{keySetId}/gi, i.keySetId) : Ae.form[i.config.app].edit.all), u = S(() => i.keyId ? ze.Edit : ze.Create), s = Tt({
|
|
4962
4960
|
fields: {
|
|
4963
4961
|
name: "",
|
|
4964
4962
|
tags: "",
|
|
@@ -5034,7 +5032,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5034
5032
|
validationError: j,
|
|
5035
5033
|
loadItems: P,
|
|
5036
5034
|
results: K
|
|
5037
|
-
} =
|
|
5035
|
+
} = _s(i.config, Ae.form[i.config.app].keySets, void 0, {
|
|
5038
5036
|
fetchedItemsKey: "data",
|
|
5039
5037
|
searchKeys: ["id", "name"]
|
|
5040
5038
|
}), O = (b) => {
|
|
@@ -5063,8 +5061,8 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5063
5061
|
await P();
|
|
5064
5062
|
}), (b, $) => {
|
|
5065
5063
|
const H = R("KInput"), te = R("KSelect"), ge = R("KTextArea");
|
|
5066
|
-
return f(), A("div",
|
|
5067
|
-
x(m(
|
|
5064
|
+
return f(), A("div", $s, [
|
|
5065
|
+
x(m(El), {
|
|
5068
5066
|
"can-submit": N.value,
|
|
5069
5067
|
config: e.config,
|
|
5070
5068
|
"edit-id": e.keyId,
|
|
@@ -5129,20 +5127,20 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5129
5127
|
L("div", null, E(m(r)("keys.actions.loading")), 1)
|
|
5130
5128
|
]),
|
|
5131
5129
|
empty: k(() => [
|
|
5132
|
-
L("div",
|
|
5130
|
+
L("div", Ns, E(m(r)("keys.search.no_results")), 1)
|
|
5133
5131
|
]),
|
|
5134
5132
|
"selected-item-template": k(({ item: D }) => [
|
|
5135
5133
|
L("div", null, E(D.name), 1)
|
|
5136
5134
|
]),
|
|
5137
5135
|
"item-template": k(({ item: D }) => [
|
|
5138
|
-
L("div",
|
|
5139
|
-
L("div",
|
|
5140
|
-
L("div",
|
|
5136
|
+
L("div", Ts, [
|
|
5137
|
+
L("div", Os, E(D.name), 1),
|
|
5138
|
+
L("div", Ks, E(D.value), 1)
|
|
5141
5139
|
])
|
|
5142
5140
|
]),
|
|
5143
5141
|
_: 1
|
|
5144
5142
|
}, 8, ["modelValue", "clearable", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly"]),
|
|
5145
|
-
W.value ? (f(), A("p",
|
|
5143
|
+
W.value ? (f(), A("p", Ms, E(W.value), 1)) : J("", !0),
|
|
5146
5144
|
x(H, {
|
|
5147
5145
|
modelValue: s.fields.tags,
|
|
5148
5146
|
"onUpdate:modelValue": $[3] || ($[3] = (D) => s.fields.tags = D),
|
|
@@ -5165,7 +5163,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5165
5163
|
title: m(r)("keys.form.sections.keys.title")
|
|
5166
5164
|
}, {
|
|
5167
5165
|
default: k(() => [
|
|
5168
|
-
L("div",
|
|
5166
|
+
L("div", Es, [
|
|
5169
5167
|
x(te, {
|
|
5170
5168
|
modelValue: s.fields.key_format,
|
|
5171
5169
|
"onUpdate:modelValue": $[4] || ($[4] = (D) => s.fields.key_format = D),
|
|
@@ -5223,7 +5221,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5223
5221
|
]);
|
|
5224
5222
|
};
|
|
5225
5223
|
}
|
|
5226
|
-
}),
|
|
5224
|
+
}), Gs = /* @__PURE__ */ ai(qs, [["__scopeId", "data-v-e3c278d7"]]), Fs = { class: "kong-ui-entities-keys-entity-config-card" }, Bs = { key: 2 }, Qs = /* @__PURE__ */ Q({
|
|
5227
5225
|
__name: "KeyConfigCard",
|
|
5228
5226
|
props: {
|
|
5229
5227
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -5258,7 +5256,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5258
5256
|
emits: ["loading", "fetch:error", "fetch:success", "navigation-click"],
|
|
5259
5257
|
setup(e, { emit: t }) {
|
|
5260
5258
|
var B;
|
|
5261
|
-
const n = t, i = e, { axiosInstance: a } = Nt((B = i.config) == null ? void 0 : B.axiosRequestConfig), { convertKeyToTitle: r } =
|
|
5259
|
+
const n = t, i = e, { axiosInstance: a } = Nt((B = i.config) == null ? void 0 : B.axiosRequestConfig), { convertKeyToTitle: r } = Is(), { i18n: { t: o } } = wt.useI18n(), l = S(() => i.keySetId ? `${Ae.form[i.config.app].edit.forKeySet}`.replace(/{keySetId}/gi, i.keySetId) : Ae.form[i.config.app].edit.all), c = S(() => {
|
|
5262
5260
|
var g;
|
|
5263
5261
|
return (g = Ae.form[i.config.app]) == null ? void 0 : g.getKeySet;
|
|
5264
5262
|
}), u = M(), s = M({}), d = M(i.keySetId || ""), v = M(""), y = M(!1), I = async (g) => {
|
|
@@ -5336,8 +5334,8 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5336
5334
|
return (g, V) => {
|
|
5337
5335
|
var w, p;
|
|
5338
5336
|
const h = R("KSkeleton");
|
|
5339
|
-
return f(), A("div",
|
|
5340
|
-
x(m(
|
|
5337
|
+
return f(), A("div", Fs, [
|
|
5338
|
+
x(m(Tl), {
|
|
5341
5339
|
config: e.config,
|
|
5342
5340
|
"config-card-doc": e.configCardDoc,
|
|
5343
5341
|
"config-schema": _.value,
|
|
@@ -5360,7 +5358,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5360
5358
|
type: m(Y).LinkInternal
|
|
5361
5359
|
},
|
|
5362
5360
|
onClick: (q) => g.$emit("navigation-click", C.value.id, "key-sets")
|
|
5363
|
-
}, null, 8, ["item", "onClick"])) : (f(), A("div",
|
|
5361
|
+
}, null, 8, ["item", "onClick"])) : (f(), A("div", Bs, E("–")))
|
|
5364
5362
|
]),
|
|
5365
5363
|
_: 2
|
|
5366
5364
|
}, [
|
|
@@ -5400,7 +5398,7 @@ const ys = ["aria-labelledby"], ms = { class: "form-section-wrapper" }, gs = {
|
|
|
5400
5398
|
}
|
|
5401
5399
|
});
|
|
5402
5400
|
export {
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5401
|
+
Qs as KeyConfigCard,
|
|
5402
|
+
Gs as KeyForm,
|
|
5403
|
+
Ys as KeyList
|
|
5406
5404
|
};
|