@kong-ui-public/entities-plugins 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities-plugins.es.js +412 -412
- package/dist/entities-plugins.umd.js +27 -27
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -9,12 +9,12 @@ var zi = (e, t, n) => {
|
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
import { defineComponent as ue, useCssVars as Rr, computed as T, resolveComponent as V, openBlock as d, createElementBlock as h, createVNode as R, withCtx as w, createTextVNode as re, toDisplayString as L, createCommentVNode as X, createBlock as N, normalizeClass as he, ref as q, Teleport as Aa, unref as b, createElementVNode as y, watch as ot, renderSlot as Re, onBeforeMount as qt, createSlots as mt, renderList as de, withModifiers as Ft, withDirectives as fe, vShow as
|
|
12
|
+
var ui = (e, t, n) => (Wl(e, t, "access private method"), n);
|
|
13
|
+
import { defineComponent as ue, useCssVars as Rr, computed as T, resolveComponent as V, openBlock as d, createElementBlock as h, createVNode as R, withCtx as w, createTextVNode as re, toDisplayString as L, createCommentVNode as X, createBlock as N, normalizeClass as he, ref as q, Teleport as Aa, unref as b, createElementVNode as y, watch as ot, renderSlot as Re, onBeforeMount as qt, createSlots as mt, renderList as de, withModifiers as Ft, withDirectives as fe, vShow as yt, Fragment as le, withKeys as Ql, inject as _l, useSlots as Tr, onMounted as Si, onUnmounted as $l, resolveDynamicComponent as Ne, normalizeStyle as bt, normalizeProps as eu, guardReactiveProps as tu, mergeProps as Ht, pushScopeId as Xe, popScopeId as Je, nextTick as is, resolveDirective as un, vModelCheckbox as ha, toRefs as Lr, vModelSelect as ya, vModelText as gt, Transition as nu, vModelDynamic as iu, vModelRadio as as, provide as au, reactive as Un, mergeModels as ss, useModel as su } from "vue";
|
|
14
14
|
import rs from "axios";
|
|
15
|
-
import { createI18n as
|
|
15
|
+
import { createI18n as ei, i18nTComponent as jr } from "@kong-ui-public/i18n";
|
|
16
16
|
import { BadgeMethodAppearances as ru } from "@kong/kongponents";
|
|
17
|
-
import { useRouter as
|
|
17
|
+
import { useRouter as ti, useRoute as ou } from "vue-router";
|
|
18
18
|
var va = /* @__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))(va || {}), Lt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(Lt || {}), $t = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))($t || {}), ye = /* @__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))(ye || {}), ze = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ze || {});
|
|
19
19
|
function lu() {
|
|
20
20
|
return {
|
|
@@ -204,8 +204,8 @@ const pu = {
|
|
|
204
204
|
validationErrors: bu,
|
|
205
205
|
toggleModal: wu
|
|
206
206
|
};
|
|
207
|
-
function
|
|
208
|
-
const e =
|
|
207
|
+
function xi() {
|
|
208
|
+
const e = ei("en-us", Cu);
|
|
209
209
|
return {
|
|
210
210
|
i18n: e,
|
|
211
211
|
i18nT: jr(e)
|
|
@@ -261,7 +261,7 @@ function Eu(e, t, n, i = {
|
|
|
261
261
|
searchKeys: ["id"]
|
|
262
262
|
}) {
|
|
263
263
|
n || (n = "1000");
|
|
264
|
-
const { axiosInstance: a } = ba(e.axiosRequestConfig), { i18n: { t: s } } =
|
|
264
|
+
const { axiosInstance: a } = ba(e.axiosRequestConfig), { i18n: { t: s } } = xi(), { debounce: r } = uu(), o = r(async (E) => {
|
|
265
265
|
await D(E);
|
|
266
266
|
}, 200), l = q(!1), u = q(""), c = q(""), g = q([]), f = q([]), v = q(void 0), M = b(t);
|
|
267
267
|
let C = `${e.apiBaseUrl}${M}`;
|
|
@@ -339,7 +339,7 @@ function ku(e, t) {
|
|
|
339
339
|
return i.value.search = "", (a) => `${i.value.href}/${a}`;
|
|
340
340
|
}
|
|
341
341
|
function Ou() {
|
|
342
|
-
const { i18n: { t: e } } =
|
|
342
|
+
const { i18n: { t: e } } = xi();
|
|
343
343
|
return {
|
|
344
344
|
getMessageFromError: (t) => {
|
|
345
345
|
var n, i, a, s;
|
|
@@ -514,7 +514,7 @@ function Nu(e) {
|
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
function Pu() {
|
|
517
|
-
const { i18n: { t: e } } =
|
|
517
|
+
const { i18n: { t: e } } = xi();
|
|
518
518
|
return {
|
|
519
519
|
utf8Name: (t) => /^[\p{N}\p{L}.\-_~]*$/u.test(t) ? "" : e("validationErrors.utf8Name")
|
|
520
520
|
};
|
|
@@ -529,7 +529,7 @@ const Ve = {
|
|
|
529
529
|
useFetchUrlBuilder: Pr,
|
|
530
530
|
useHelpers: Nr,
|
|
531
531
|
useStringHelpers: Bu,
|
|
532
|
-
useI18n:
|
|
532
|
+
useI18n: xi,
|
|
533
533
|
useGatewayFeatureSupported: ju,
|
|
534
534
|
useTruncationDetector: Nu,
|
|
535
535
|
useValidators: Pu
|
|
@@ -611,7 +611,7 @@ const Ve = {
|
|
|
611
611
|
]);
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
|
-
}),
|
|
614
|
+
}), Nn = /* @__PURE__ */ Tt(Yu, [["__scopeId", "data-v-c96811e5"]]), Gu = /* @__PURE__ */ ue({
|
|
615
615
|
__name: "StatusBadge",
|
|
616
616
|
props: {
|
|
617
617
|
status: {
|
|
@@ -635,7 +635,7 @@ const Ve = {
|
|
|
635
635
|
}
|
|
636
636
|
}), Vu = "#0044f4", Hu = "#e0e4ea", Fu = "#afb7c5", zu = "1px", Ku = "20px", qu = { class: "config-card-details-row" }, Xu = ["data-testid"], Ju = ["data-testid"], Zu = ["data-testid"], Wu = ["data-testid"], Qu = { key: 1 }, _u = ["data-testid"], $u = ["data-testid"], ec = ["data-testid"], tc = ["data-testid"], nc = {
|
|
637
637
|
name: "ConfigCardItem",
|
|
638
|
-
components: { JsonCardItem: Yr, StatusBadge: Gu, InternalLinkItem:
|
|
638
|
+
components: { JsonCardItem: Yr, StatusBadge: Gu, InternalLinkItem: Nn }
|
|
639
639
|
}, ic = /* @__PURE__ */ ue({
|
|
640
640
|
...nc,
|
|
641
641
|
props: {
|
|
@@ -1005,15 +1005,15 @@ function Hr(e, t) {
|
|
|
1005
1005
|
|
|
1006
1006
|
` + e.mark.snippet), i + " " + n) : i;
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function zn(e, t) {
|
|
1009
1009
|
Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Hr(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
|
|
1010
1010
|
}
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1011
|
+
zn.prototype = Object.create(Error.prototype);
|
|
1012
|
+
zn.prototype.constructor = zn;
|
|
1013
|
+
zn.prototype.toString = function(e) {
|
|
1014
1014
|
return this.name + ": " + Hr(this, e);
|
|
1015
1015
|
};
|
|
1016
|
-
var tt =
|
|
1016
|
+
var tt = zn;
|
|
1017
1017
|
function qi(e, t, n, i, a) {
|
|
1018
1018
|
var s = "", r = "", o = Math.floor(a / 2) - 1;
|
|
1019
1019
|
return i - t > o && (s = " ... ", t = i - o + s.length), n - i > o && (r = " ...", n = i + o - r.length), {
|
|
@@ -1553,7 +1553,7 @@ var oo = new qe("tag:yaml.org,2002:set", {
|
|
|
1553
1553
|
ro,
|
|
1554
1554
|
oo
|
|
1555
1555
|
]
|
|
1556
|
-
}), Kt = Object.prototype.hasOwnProperty,
|
|
1556
|
+
}), Kt = Object.prototype.hasOwnProperty, mi = 1, lo = 2, uo = 3, fi = 4, Ji = 1, rd = 2, ms = 3, od = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ld = /[\x85\u2028\u2029]/, ud = /[,\[\]\{\}]/, co = /^(?:!|!!|![a-z\-]+!)$/i, po = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1557
1557
|
function fs(e) {
|
|
1558
1558
|
return Object.prototype.toString.call(e);
|
|
1559
1559
|
}
|
|
@@ -1566,7 +1566,7 @@ function tn(e) {
|
|
|
1566
1566
|
function rt(e) {
|
|
1567
1567
|
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
1568
1568
|
}
|
|
1569
|
-
function
|
|
1569
|
+
function vn(e) {
|
|
1570
1570
|
return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
|
|
1571
1571
|
}
|
|
1572
1572
|
function cd(e) {
|
|
@@ -1590,8 +1590,8 @@ function gd(e) {
|
|
|
1590
1590
|
);
|
|
1591
1591
|
}
|
|
1592
1592
|
var go = new Array(256), mo = new Array(256);
|
|
1593
|
-
for (var
|
|
1594
|
-
go[
|
|
1593
|
+
for (var An = 0; An < 256; An++)
|
|
1594
|
+
go[An] = As(An) ? 1 : 0, mo[An] = As(An);
|
|
1595
1595
|
function md(e, t) {
|
|
1596
1596
|
this.input = e, this.filename = t.filename || null, this.schema = t.schema || Ea, 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 = [];
|
|
1597
1597
|
}
|
|
@@ -1609,13 +1609,13 @@ function fo(e, t) {
|
|
|
1609
1609
|
function oe(e, t) {
|
|
1610
1610
|
throw fo(e, t);
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function Ai(e, t) {
|
|
1613
1613
|
e.onWarning && e.onWarning.call(null, fo(e, t));
|
|
1614
1614
|
}
|
|
1615
1615
|
var hs = {
|
|
1616
1616
|
YAML: function(e, t, n) {
|
|
1617
1617
|
var i, a, s;
|
|
1618
|
-
e.version !== null && oe(e, "duplication of %YAML directive"), n.length !== 1 && oe(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), i === null && oe(e, "ill-formed argument of the YAML directive"), a = parseInt(i[1], 10), s = parseInt(i[2], 10), a !== 1 && oe(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 &&
|
|
1618
|
+
e.version !== null && oe(e, "duplication of %YAML directive"), n.length !== 1 && oe(e, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), i === null && oe(e, "ill-formed argument of the YAML directive"), a = parseInt(i[1], 10), s = parseInt(i[2], 10), a !== 1 && oe(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = s < 2, s !== 1 && s !== 2 && Ai(e, "unsupported YAML version of the document");
|
|
1619
1619
|
},
|
|
1620
1620
|
TAG: function(e, t, n) {
|
|
1621
1621
|
var i, a;
|
|
@@ -1644,7 +1644,7 @@ function ys(e, t, n, i) {
|
|
|
1644
1644
|
for (Ge.isObject(n) || oe(e, "cannot merge mappings; the provided source object is unacceptable"), a = Object.keys(n), r = 0, o = a.length; r < o; r += 1)
|
|
1645
1645
|
s = a[r], Kt.call(t, s) || (t[s] = n[s], i[s] = !0);
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function bn(e, t, n, i, a, s, r, o, l) {
|
|
1648
1648
|
var u, c;
|
|
1649
1649
|
if (Array.isArray(a))
|
|
1650
1650
|
for (a = Array.prototype.slice.call(a), u = 0, c = a.length; u < c; u += 1)
|
|
@@ -1682,9 +1682,9 @@ function Ye(e, t, n) {
|
|
|
1682
1682
|
else
|
|
1683
1683
|
break;
|
|
1684
1684
|
}
|
|
1685
|
-
return n !== -1 && i !== 0 && e.lineIndent < n &&
|
|
1685
|
+
return n !== -1 && i !== 0 && e.lineIndent < n && Ai(e, "deficient indentation"), i;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Ri(e) {
|
|
1688
1688
|
var t = e.position, n;
|
|
1689
1689
|
return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || rt(n)));
|
|
1690
1690
|
}
|
|
@@ -1694,17 +1694,17 @@ function Oa(e, t) {
|
|
|
1694
1694
|
}
|
|
1695
1695
|
function fd(e, t, n) {
|
|
1696
1696
|
var i, a, s, r, o, l, u, c, g = e.kind, f = e.result, v;
|
|
1697
|
-
if (v = e.input.charCodeAt(e.position), rt(v) ||
|
|
1697
|
+
if (v = e.input.charCodeAt(e.position), rt(v) || vn(v) || v === 35 || v === 38 || v === 42 || v === 33 || v === 124 || v === 62 || v === 39 || v === 34 || v === 37 || v === 64 || v === 96 || (v === 63 || v === 45) && (a = e.input.charCodeAt(e.position + 1), rt(a) || n && vn(a)))
|
|
1698
1698
|
return !1;
|
|
1699
1699
|
for (e.kind = "scalar", e.result = "", s = r = e.position, o = !1; v !== 0; ) {
|
|
1700
1700
|
if (v === 58) {
|
|
1701
|
-
if (a = e.input.charCodeAt(e.position + 1), rt(a) || n &&
|
|
1701
|
+
if (a = e.input.charCodeAt(e.position + 1), rt(a) || n && vn(a))
|
|
1702
1702
|
break;
|
|
1703
1703
|
} else if (v === 35) {
|
|
1704
1704
|
if (i = e.input.charCodeAt(e.position - 1), rt(i))
|
|
1705
1705
|
break;
|
|
1706
1706
|
} else {
|
|
1707
|
-
if (e.position === e.lineStart &&
|
|
1707
|
+
if (e.position === e.lineStart && Ri(e) || n && vn(v))
|
|
1708
1708
|
break;
|
|
1709
1709
|
if (Mt(v))
|
|
1710
1710
|
if (l = e.line, u = e.lineStart, c = e.lineIndent, Ye(e, !1, -1), e.lineIndent >= t) {
|
|
@@ -1730,7 +1730,7 @@ function Ad(e, t) {
|
|
|
1730
1730
|
else
|
|
1731
1731
|
return !0;
|
|
1732
1732
|
else
|
|
1733
|
-
Mt(n) ? (zt(e, i, a, !0), Oa(e, Ye(e, !1, t)), i = a = e.position) : e.position === e.lineStart &&
|
|
1733
|
+
Mt(n) ? (zt(e, i, a, !0), Oa(e, Ye(e, !1, t)), i = a = e.position) : e.position === e.lineStart && Ri(e) ? oe(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
|
|
1734
1734
|
oe(e, "unexpected end of the stream within a single quoted scalar");
|
|
1735
1735
|
}
|
|
1736
1736
|
function hd(e, t) {
|
|
@@ -1753,7 +1753,7 @@ function hd(e, t) {
|
|
|
1753
1753
|
oe(e, "unknown escape sequence");
|
|
1754
1754
|
n = i = e.position;
|
|
1755
1755
|
} else
|
|
1756
|
-
Mt(o) ? (zt(e, n, i, !0), Oa(e, Ye(e, !1, t)), n = i = e.position) : e.position === e.lineStart &&
|
|
1756
|
+
Mt(o) ? (zt(e, n, i, !0), Oa(e, Ye(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ri(e) ? oe(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
|
|
1757
1757
|
}
|
|
1758
1758
|
oe(e, "unexpected end of the stream within a double quoted scalar");
|
|
1759
1759
|
}
|
|
@@ -1768,7 +1768,7 @@ function yd(e, t) {
|
|
|
1768
1768
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = o), x = e.input.charCodeAt(++e.position); x !== 0; ) {
|
|
1769
1769
|
if (Ye(e, !0, t), x = e.input.charCodeAt(e.position), x === c)
|
|
1770
1770
|
return e.position++, e.tag = r, e.anchor = l, e.kind = v ? "mapping" : "sequence", e.result = o, !0;
|
|
1771
|
-
n ? x === 44 && oe(e, "expected the node content, but found ','") : oe(e, "missed comma between flow collection entries"), O = C = I = null, g = f = !1, x === 63 && (u = e.input.charCodeAt(e.position + 1), rt(u) && (g = f = !0, e.position++, Ye(e, !0, t))), i = e.line, a = e.lineStart, s = e.position,
|
|
1771
|
+
n ? x === 44 && oe(e, "expected the node content, but found ','") : oe(e, "missed comma between flow collection entries"), O = C = I = null, g = f = !1, x === 63 && (u = e.input.charCodeAt(e.position + 1), rt(u) && (g = f = !0, e.position++, Ye(e, !0, t))), i = e.line, a = e.lineStart, s = e.position, En(e, t, mi, !1, !0), O = e.tag, C = e.result, Ye(e, !0, t), x = e.input.charCodeAt(e.position), (f || e.line === i) && x === 58 && (g = !0, x = e.input.charCodeAt(++e.position), Ye(e, !0, t), En(e, t, mi, !1, !0), I = e.result), v ? bn(e, o, M, O, C, I, i, a, s) : g ? o.push(bn(e, null, M, O, C, I, i, a, s)) : o.push(C), Ye(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
|
|
1772
1772
|
}
|
|
1773
1773
|
oe(e, "unexpected end of the stream within a flow collection");
|
|
1774
1774
|
}
|
|
@@ -1828,7 +1828,7 @@ function vs(e, t) {
|
|
|
1828
1828
|
s.push(null), l = e.input.charCodeAt(e.position);
|
|
1829
1829
|
continue;
|
|
1830
1830
|
}
|
|
1831
|
-
if (n = e.line,
|
|
1831
|
+
if (n = e.line, En(e, t, uo, !1, !0), s.push(e.result), Ye(e, !0, -1), l = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && l !== 0)
|
|
1832
1832
|
oe(e, "bad indentation of a sequence entry");
|
|
1833
1833
|
else if (e.lineIndent < t)
|
|
1834
1834
|
break;
|
|
@@ -1841,15 +1841,15 @@ function bd(e, t, n) {
|
|
|
1841
1841
|
return !1;
|
|
1842
1842
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = g), x = e.input.charCodeAt(e.position); x !== 0; ) {
|
|
1843
1843
|
if (!O && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, oe(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), s = e.line, (x === 63 || x === 58) && rt(i))
|
|
1844
|
-
x === 63 ? (O && (
|
|
1844
|
+
x === 63 ? (O && (bn(e, g, f, v, M, null, r, o, l), v = M = C = null), I = !0, O = !0, a = !0) : O ? (O = !1, a = !0) : oe(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = i;
|
|
1845
1845
|
else {
|
|
1846
|
-
if (r = e.line, o = e.lineStart, l = e.position, !
|
|
1846
|
+
if (r = e.line, o = e.lineStart, l = e.position, !En(e, n, lo, !1, !0))
|
|
1847
1847
|
break;
|
|
1848
1848
|
if (e.line === s) {
|
|
1849
1849
|
for (x = e.input.charCodeAt(e.position); tn(x); )
|
|
1850
1850
|
x = e.input.charCodeAt(++e.position);
|
|
1851
1851
|
if (x === 58)
|
|
1852
|
-
x = e.input.charCodeAt(++e.position), rt(x) || oe(e, "a whitespace character is expected after the key-value separator within a block mapping"), O && (
|
|
1852
|
+
x = e.input.charCodeAt(++e.position), rt(x) || oe(e, "a whitespace character is expected after the key-value separator within a block mapping"), O && (bn(e, g, f, v, M, null, r, o, l), v = M = C = null), I = !0, O = !1, a = !1, v = e.tag, M = e.result;
|
|
1853
1853
|
else if (I)
|
|
1854
1854
|
oe(e, "can not read an implicit mapping pair; a colon is missed");
|
|
1855
1855
|
else
|
|
@@ -1859,12 +1859,12 @@ function bd(e, t, n) {
|
|
|
1859
1859
|
else
|
|
1860
1860
|
return e.tag = u, e.anchor = c, !0;
|
|
1861
1861
|
}
|
|
1862
|
-
if ((e.line === s || e.lineIndent > t) && (O && (r = e.line, o = e.lineStart, l = e.position),
|
|
1862
|
+
if ((e.line === s || e.lineIndent > t) && (O && (r = e.line, o = e.lineStart, l = e.position), En(e, t, fi, !0, a) && (O ? M = e.result : C = e.result), O || (bn(e, g, f, v, M, C, r, o, l), v = M = C = null), Ye(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === s || e.lineIndent > t) && x !== 0)
|
|
1863
1863
|
oe(e, "bad indentation of a mapping entry");
|
|
1864
1864
|
else if (e.lineIndent < t)
|
|
1865
1865
|
break;
|
|
1866
1866
|
}
|
|
1867
|
-
return O &&
|
|
1867
|
+
return O && bn(e, g, f, v, M, null, r, o, l), I && (e.tag = u, e.anchor = c, e.kind = "mapping", e.result = g), I;
|
|
1868
1868
|
}
|
|
1869
1869
|
function wd(e) {
|
|
1870
1870
|
var t, n = !1, i = !1, a, s, r;
|
|
@@ -1892,7 +1892,7 @@ function Cd(e) {
|
|
|
1892
1892
|
var t, n;
|
|
1893
1893
|
if (n = e.input.charCodeAt(e.position), n !== 38)
|
|
1894
1894
|
return !1;
|
|
1895
|
-
for (e.anchor !== null && oe(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !rt(n) && !
|
|
1895
|
+
for (e.anchor !== null && oe(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !rt(n) && !vn(n); )
|
|
1896
1896
|
n = e.input.charCodeAt(++e.position);
|
|
1897
1897
|
return e.position === t && oe(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
1898
1898
|
}
|
|
@@ -1900,16 +1900,16 @@ function Ed(e) {
|
|
|
1900
1900
|
var t, n, i;
|
|
1901
1901
|
if (i = e.input.charCodeAt(e.position), i !== 42)
|
|
1902
1902
|
return !1;
|
|
1903
|
-
for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !rt(i) && !
|
|
1903
|
+
for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !rt(i) && !vn(i); )
|
|
1904
1904
|
i = e.input.charCodeAt(++e.position);
|
|
1905
1905
|
return e.position === t && oe(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Kt.call(e.anchorMap, n) || oe(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Ye(e, !0, -1), !0;
|
|
1906
1906
|
}
|
|
1907
|
-
function
|
|
1907
|
+
function En(e, t, n, i, a) {
|
|
1908
1908
|
var s, r, o, l = 1, u = !1, c = !1, g, f, v, M, C, O;
|
|
1909
|
-
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = r = o =
|
|
1909
|
+
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = r = o = fi === n || uo === n, i && Ye(e, !0, -1) && (u = !0, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)), l === 1)
|
|
1910
1910
|
for (; wd(e) || Cd(e); )
|
|
1911
1911
|
Ye(e, !0, -1) ? (u = !0, o = s, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : o = !1;
|
|
1912
|
-
if (o && (o = u || a), (l === 1 ||
|
|
1912
|
+
if (o && (o = u || a), (l === 1 || fi === n) && (mi === n || lo === n ? C = t : C = t + 1, O = e.position - e.lineStart, l === 1 ? o && (vs(e, O) || bd(e, O, C)) || yd(e, C) ? c = !0 : (r && vd(e, C) || Ad(e, C) || hd(e, C) ? c = !0 : Ed(e) ? (c = !0, (e.tag !== null || e.anchor !== null) && oe(e, "alias node should not have any properties")) : fd(e, C, mi === n) && (c = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (c = o && vs(e, O))), e.tag === null)
|
|
1913
1913
|
e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
|
|
1914
1914
|
else if (e.tag === "?") {
|
|
1915
1915
|
for (e.result !== null && e.kind !== "scalar" && oe(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), g = 0, f = e.implicitTypes.length; g < f; g += 1)
|
|
@@ -1950,9 +1950,9 @@ function kd(e) {
|
|
|
1950
1950
|
r = e.input.charCodeAt(++e.position);
|
|
1951
1951
|
a.push(e.input.slice(n, e.position));
|
|
1952
1952
|
}
|
|
1953
|
-
r !== 0 && ka(e), Kt.call(hs, i) ? hs[i](e, i, a) :
|
|
1953
|
+
r !== 0 && ka(e), Kt.call(hs, i) ? hs[i](e, i, a) : Ai(e, 'unknown document directive "' + i + '"');
|
|
1954
1954
|
}
|
|
1955
|
-
if (Ye(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, Ye(e, !0, -1)) : s && oe(e, "directives end mark is expected"),
|
|
1955
|
+
if (Ye(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, Ye(e, !0, -1)) : s && oe(e, "directives end mark is expected"), En(e, e.lineIndent - 1, fi, !1, !0), Ye(e, !0, -1), e.checkLineBreaks && ld.test(e.input.slice(t, e.position)) && Ai(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Ri(e)) {
|
|
1956
1956
|
e.input.charCodeAt(e.position) === 46 && (e.position += 3, Ye(e, !0, -1));
|
|
1957
1957
|
return;
|
|
1958
1958
|
}
|
|
@@ -1990,7 +1990,7 @@ function Id(e, t) {
|
|
|
1990
1990
|
var Md = Od, Bd = Id, ho = {
|
|
1991
1991
|
loadAll: Md,
|
|
1992
1992
|
load: Bd
|
|
1993
|
-
}, yo = Object.prototype.toString, vo = Object.prototype.hasOwnProperty, Ia = 65279, Sd = 9,
|
|
1993
|
+
}, yo = Object.prototype.toString, vo = Object.prototype.hasOwnProperty, Ia = 65279, Sd = 9, Kn = 10, xd = 13, Rd = 32, Td = 33, Ld = 34, ia = 35, jd = 37, Nd = 38, Pd = 39, Ud = 42, bo = 44, Dd = 45, hi = 58, Yd = 61, Gd = 62, Vd = 63, Hd = 64, wo = 91, Co = 93, Fd = 96, Eo = 123, zd = 124, ko = 125, $e = {};
|
|
1994
1994
|
$e[0] = "\\0";
|
|
1995
1995
|
$e[7] = "\\a";
|
|
1996
1996
|
$e[8] = "\\b";
|
|
@@ -2044,9 +2044,9 @@ function Jd(e) {
|
|
|
2044
2044
|
throw new tt("code point within a string may not be greater than 0xFFFFFFFF");
|
|
2045
2045
|
return "\\" + n + Ge.repeat("0", i - t.length) + t;
|
|
2046
2046
|
}
|
|
2047
|
-
var Zd = 1,
|
|
2047
|
+
var Zd = 1, qn = 2;
|
|
2048
2048
|
function Wd(e) {
|
|
2049
|
-
this.schema = e.schema || Ea, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Ge.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Xd(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 === '"' ?
|
|
2049
|
+
this.schema = e.schema || Ea, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = Ge.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Xd(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 === '"' ? qn : Zd, 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;
|
|
2050
2050
|
}
|
|
2051
2051
|
function bs(e, t) {
|
|
2052
2052
|
for (var n = Ge.repeat(" ", t), i = 0, a = -1, s = "", r, o = e.length; i < o; )
|
|
@@ -2066,32 +2066,32 @@ function Qd(e, t) {
|
|
|
2066
2066
|
return !0;
|
|
2067
2067
|
return !1;
|
|
2068
2068
|
}
|
|
2069
|
-
function
|
|
2069
|
+
function yi(e) {
|
|
2070
2070
|
return e === Rd || e === Sd;
|
|
2071
2071
|
}
|
|
2072
|
-
function
|
|
2072
|
+
function Xn(e) {
|
|
2073
2073
|
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Ia || 65536 <= e && e <= 1114111;
|
|
2074
2074
|
}
|
|
2075
2075
|
function ws(e) {
|
|
2076
|
-
return
|
|
2076
|
+
return Xn(e) && e !== Ia && e !== xd && e !== Kn;
|
|
2077
2077
|
}
|
|
2078
2078
|
function Cs(e, t, n) {
|
|
2079
|
-
var i = ws(e), a = i && !
|
|
2079
|
+
var i = ws(e), a = i && !yi(e);
|
|
2080
2080
|
return (
|
|
2081
2081
|
// ns-plain-safe
|
|
2082
2082
|
(n ? (
|
|
2083
2083
|
// c = flow-in
|
|
2084
2084
|
i
|
|
2085
|
-
) : i && e !== bo && e !== wo && e !== Co && e !== Eo && e !== ko) && e !== ia && !(t ===
|
|
2085
|
+
) : i && e !== bo && e !== wo && e !== Co && e !== Eo && e !== ko) && e !== ia && !(t === hi && !a) || ws(t) && !yi(t) && e === ia || t === hi && a
|
|
2086
2086
|
);
|
|
2087
2087
|
}
|
|
2088
2088
|
function _d(e) {
|
|
2089
|
-
return
|
|
2089
|
+
return Xn(e) && e !== Ia && !yi(e) && e !== Dd && e !== Vd && e !== hi && e !== bo && e !== wo && e !== Co && e !== Eo && e !== ko && e !== ia && e !== Nd && e !== Ud && e !== Td && e !== zd && e !== Yd && e !== Gd && e !== Pd && e !== Ld && e !== jd && e !== Hd && e !== Fd;
|
|
2090
2090
|
}
|
|
2091
2091
|
function $d(e) {
|
|
2092
|
-
return !
|
|
2092
|
+
return !yi(e) && e !== hi;
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function Pn(e, t) {
|
|
2095
2095
|
var n = e.charCodeAt(t), i;
|
|
2096
2096
|
return n >= 55296 && n <= 56319 && t + 1 < e.length && (i = e.charCodeAt(t + 1), i >= 56320 && i <= 57343) ? (n - 55296) * 1024 + i - 56320 + 65536 : n;
|
|
2097
2097
|
}
|
|
@@ -2099,34 +2099,34 @@ function Oo(e) {
|
|
|
2099
2099
|
var t = /^\n* /;
|
|
2100
2100
|
return t.test(e);
|
|
2101
2101
|
}
|
|
2102
|
-
var Io = 1, sa = 2, Mo = 3, Bo = 4,
|
|
2102
|
+
var Io = 1, sa = 2, Mo = 3, Bo = 4, hn = 5;
|
|
2103
2103
|
function ep(e, t, n, i, a, s, r, o) {
|
|
2104
|
-
var l, u = 0, c = null, g = !1, f = !1, v = i !== -1, M = -1, C = _d(
|
|
2104
|
+
var l, u = 0, c = null, g = !1, f = !1, v = i !== -1, M = -1, C = _d(Pn(e, 0)) && $d(Pn(e, e.length - 1));
|
|
2105
2105
|
if (t || r)
|
|
2106
2106
|
for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
|
|
2107
|
-
if (u =
|
|
2108
|
-
return
|
|
2107
|
+
if (u = Pn(e, l), !Xn(u))
|
|
2108
|
+
return hn;
|
|
2109
2109
|
C = C && Cs(u, c, o), c = u;
|
|
2110
2110
|
}
|
|
2111
2111
|
else {
|
|
2112
2112
|
for (l = 0; l < e.length; u >= 65536 ? l += 2 : l++) {
|
|
2113
|
-
if (u =
|
|
2113
|
+
if (u = Pn(e, l), u === Kn)
|
|
2114
2114
|
g = !0, v && (f = f || // Foldable line = too long, and not more-indented.
|
|
2115
2115
|
l - M - 1 > i && e[M + 1] !== " ", M = l);
|
|
2116
|
-
else if (!
|
|
2117
|
-
return
|
|
2116
|
+
else if (!Xn(u))
|
|
2117
|
+
return hn;
|
|
2118
2118
|
C = C && Cs(u, c, o), c = u;
|
|
2119
2119
|
}
|
|
2120
2120
|
f = f || v && l - M - 1 > i && e[M + 1] !== " ";
|
|
2121
2121
|
}
|
|
2122
|
-
return !g && !f ? C && !r && !a(e) ? Io : s ===
|
|
2122
|
+
return !g && !f ? C && !r && !a(e) ? Io : s === qn ? hn : sa : n > 9 && Oo(e) ? hn : r ? s === qn ? hn : sa : f ? Bo : Mo;
|
|
2123
2123
|
}
|
|
2124
2124
|
function tp(e, t, n, i, a) {
|
|
2125
2125
|
e.dump = function() {
|
|
2126
2126
|
if (t.length === 0)
|
|
2127
|
-
return e.quotingType ===
|
|
2127
|
+
return e.quotingType === qn ? '""' : "''";
|
|
2128
2128
|
if (!e.noCompatMode && (Kd.indexOf(t) !== -1 || qd.test(t)))
|
|
2129
|
-
return e.quotingType ===
|
|
2129
|
+
return e.quotingType === qn ? '"' + t + '"' : "'" + t + "'";
|
|
2130
2130
|
var s = e.indent * Math.max(1, n), r = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - s), o = i || e.flowLevel > -1 && n >= e.flowLevel;
|
|
2131
2131
|
function l(u) {
|
|
2132
2132
|
return Qd(e, u);
|
|
@@ -2149,7 +2149,7 @@ function tp(e, t, n, i, a) {
|
|
|
2149
2149
|
return "|" + Es(t, e.indent) + ks(bs(t, s));
|
|
2150
2150
|
case Bo:
|
|
2151
2151
|
return ">" + Es(t, e.indent) + ks(bs(np(t, r), s));
|
|
2152
|
-
case
|
|
2152
|
+
case hn:
|
|
2153
2153
|
return '"' + ip(t) + '"';
|
|
2154
2154
|
default:
|
|
2155
2155
|
throw new tt("impossible error: invalid scalar style");
|
|
@@ -2193,7 +2193,7 @@ function Os(e, t) {
|
|
|
2193
2193
|
}
|
|
2194
2194
|
function ip(e) {
|
|
2195
2195
|
for (var t = "", n = 0, i, a = 0; a < e.length; n >= 65536 ? a += 2 : a++)
|
|
2196
|
-
n =
|
|
2196
|
+
n = Pn(e, a), i = $e[n], !i && Xn(n) ? (t += e[a], n >= 65536 && (t += e[a + 1])) : t += i || Jd(n);
|
|
2197
2197
|
return t;
|
|
2198
2198
|
}
|
|
2199
2199
|
function ap(e, t, n) {
|
|
@@ -2205,7 +2205,7 @@ function ap(e, t, n) {
|
|
|
2205
2205
|
function Is(e, t, n, i) {
|
|
2206
2206
|
var a = "", s = e.tag, r, o, l;
|
|
2207
2207
|
for (r = 0, o = n.length; r < o; r += 1)
|
|
2208
|
-
l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (Nt(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Nt(e, t + 1, null, !0, !0, !1, !0)) && ((!i || a !== "") && (a += aa(e, t)), e.dump &&
|
|
2208
|
+
l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (Nt(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Nt(e, t + 1, null, !0, !0, !1, !0)) && ((!i || a !== "") && (a += aa(e, t)), e.dump && Kn === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
|
|
2209
2209
|
e.tag = s, e.dump = a || "[]";
|
|
2210
2210
|
}
|
|
2211
2211
|
function sp(e, t, n) {
|
|
@@ -2223,7 +2223,7 @@ function rp(e, t, n, i) {
|
|
|
2223
2223
|
else if (e.sortKeys)
|
|
2224
2224
|
throw new tt("sortKeys must be a boolean or a function");
|
|
2225
2225
|
for (o = 0, l = r.length; o < l; o += 1)
|
|
2226
|
-
f = "", (!i || a !== "") && (f += aa(e, t)), u = r[o], c = n[u], e.replacer && (c = e.replacer.call(n, u, c)), Nt(e, t + 1, u, !0, !0, !0) && (g = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, g && (e.dump &&
|
|
2226
|
+
f = "", (!i || a !== "") && (f += aa(e, t)), u = r[o], c = n[u], e.replacer && (c = e.replacer.call(n, u, c)), Nt(e, t + 1, u, !0, !0, !0) && (g = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, g && (e.dump && Kn === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, g && (f += aa(e, t)), Nt(e, t + 1, c, !0, g) && (e.dump && Kn === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, a += f));
|
|
2227
2227
|
e.tag = s, e.dump = a || "{}";
|
|
2228
2228
|
}
|
|
2229
2229
|
function Ms(e, t, n) {
|
|
@@ -2456,7 +2456,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2456
2456
|
}, null, 8, ["yaml-record"])) : X("", !0)
|
|
2457
2457
|
], 64));
|
|
2458
2458
|
}
|
|
2459
|
-
}), Rp = /* @__PURE__ */ Tt(xp, [["__scopeId", "data-v-147a2f70"]]), St = "24px",
|
|
2459
|
+
}), Rp = /* @__PURE__ */ Tt(xp, [["__scopeId", "data-v-147a2f70"]]), St = "24px", ni = (e, t) => {
|
|
2460
2460
|
const n = e.__vccOpts || e;
|
|
2461
2461
|
for (const [i, a] of t)
|
|
2462
2462
|
n[i] = a;
|
|
@@ -2540,7 +2540,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2540
2540
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2541
2541
|
class: "kui-icon add-icon",
|
|
2542
2542
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
2543
|
-
style:
|
|
2543
|
+
style: bt(i.value)
|
|
2544
2544
|
}, {
|
|
2545
2545
|
default: w(() => [
|
|
2546
2546
|
(d(), h("svg", {
|
|
@@ -2560,7 +2560,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2560
2560
|
_: 1
|
|
2561
2561
|
}, 8, ["aria-hidden", "style"]));
|
|
2562
2562
|
}
|
|
2563
|
-
}), Up = /* @__PURE__ */
|
|
2563
|
+
}), Up = /* @__PURE__ */ ni(Pp, [["__scopeId", "data-v-1d2a8d30"]]), Dp = (e) => (Xe("data-v-929b4762"), e = e(), Je(), e), Yp = ["aria-hidden"], Gp = {
|
|
2564
2564
|
key: 0,
|
|
2565
2565
|
"data-testid": "kui-icon-svg-title"
|
|
2566
2566
|
}, Vp = /* @__PURE__ */ Dp(() => /* @__PURE__ */ y("path", {
|
|
@@ -2639,7 +2639,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2639
2639
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2640
2640
|
class: "kui-icon book-icon",
|
|
2641
2641
|
"data-testid": "kui-icon-wrapper-book-icon",
|
|
2642
|
-
style:
|
|
2642
|
+
style: bt(i.value)
|
|
2643
2643
|
}, {
|
|
2644
2644
|
default: w(() => [
|
|
2645
2645
|
(d(), h("svg", {
|
|
@@ -2659,7 +2659,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2659
2659
|
_: 1
|
|
2660
2660
|
}, 8, ["aria-hidden", "style"]));
|
|
2661
2661
|
}
|
|
2662
|
-
}), Fp = /* @__PURE__ */
|
|
2662
|
+
}), Fp = /* @__PURE__ */ ni(Hp, [["__scopeId", "data-v-929b4762"]]), zp = (e) => (Xe("data-v-219f8484"), e = e(), Je(), e), Kp = ["aria-hidden"], qp = {
|
|
2663
2663
|
key: 0,
|
|
2664
2664
|
"data-testid": "kui-icon-svg-title"
|
|
2665
2665
|
}, Xp = /* @__PURE__ */ zp(() => /* @__PURE__ */ y("path", {
|
|
@@ -2738,7 +2738,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2738
2738
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2739
2739
|
class: "kui-icon chevron-down-icon",
|
|
2740
2740
|
"data-testid": "kui-icon-wrapper-chevron-down-icon",
|
|
2741
|
-
style:
|
|
2741
|
+
style: bt(i.value)
|
|
2742
2742
|
}, {
|
|
2743
2743
|
default: w(() => [
|
|
2744
2744
|
(d(), h("svg", {
|
|
@@ -2758,7 +2758,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2758
2758
|
_: 1
|
|
2759
2759
|
}, 8, ["aria-hidden", "style"]));
|
|
2760
2760
|
}
|
|
2761
|
-
}), Zp = /* @__PURE__ */
|
|
2761
|
+
}), Zp = /* @__PURE__ */ ni(Jp, [["__scopeId", "data-v-219f8484"]]), Wp = (e) => (Xe("data-v-ed11facd"), e = e(), Je(), e), Qp = ["aria-hidden"], _p = {
|
|
2762
2762
|
key: 0,
|
|
2763
2763
|
"data-testid": "kui-icon-svg-title"
|
|
2764
2764
|
}, $p = /* @__PURE__ */ Wp(() => /* @__PURE__ */ y("path", {
|
|
@@ -2837,7 +2837,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2837
2837
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2838
2838
|
class: "kui-icon close-icon",
|
|
2839
2839
|
"data-testid": "kui-icon-wrapper-close-icon",
|
|
2840
|
-
style:
|
|
2840
|
+
style: bt(i.value)
|
|
2841
2841
|
}, {
|
|
2842
2842
|
default: w(() => [
|
|
2843
2843
|
(d(), h("svg", {
|
|
@@ -2857,7 +2857,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2857
2857
|
_: 1
|
|
2858
2858
|
}, 8, ["aria-hidden", "style"]));
|
|
2859
2859
|
}
|
|
2860
|
-
}), tg = /* @__PURE__ */
|
|
2860
|
+
}), tg = /* @__PURE__ */ ni(eg, [["__scopeId", "data-v-ed11facd"]]), ng = (e) => (Xe("data-v-cf4e7d0b"), e = e(), Je(), e), ig = ["aria-hidden"], ag = {
|
|
2861
2861
|
key: 0,
|
|
2862
2862
|
"data-testid": "kui-icon-svg-title"
|
|
2863
2863
|
}, sg = /* @__PURE__ */ ng(() => /* @__PURE__ */ y("path", {
|
|
@@ -2936,7 +2936,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2936
2936
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
2937
2937
|
class: "kui-icon more-icon",
|
|
2938
2938
|
"data-testid": "kui-icon-wrapper-more-icon",
|
|
2939
|
-
style:
|
|
2939
|
+
style: bt(i.value)
|
|
2940
2940
|
}, {
|
|
2941
2941
|
default: w(() => [
|
|
2942
2942
|
(d(), h("svg", {
|
|
@@ -2956,7 +2956,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
2956
2956
|
_: 1
|
|
2957
2957
|
}, 8, ["aria-hidden", "style"]));
|
|
2958
2958
|
}
|
|
2959
|
-
}), og = /* @__PURE__ */
|
|
2959
|
+
}), og = /* @__PURE__ */ ni(rg, [["__scopeId", "data-v-cf4e7d0b"]]), lg = {
|
|
2960
2960
|
class: "config-card-title",
|
|
2961
2961
|
"data-testid": "config-card-title"
|
|
2962
2962
|
}, ug = { class: "config-card-actions" }, cg = ["href"], dg = { class: "config-card-details-section" }, pg = /* @__PURE__ */ ue({
|
|
@@ -3335,7 +3335,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
3335
3335
|
emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
|
|
3336
3336
|
setup(e, { emit: t }) {
|
|
3337
3337
|
var n;
|
|
3338
|
-
const i = t, a = e, s =
|
|
3338
|
+
const i = t, a = e, s = ti(), { i18n: { t: r } } = Ve.useI18n(), { getMessageFromError: o } = Ve.useErrors(), { axiosInstance: l } = Ve.useAxios((n = a.config) == null ? void 0 : n.axiosRequestConfig), u = q(!1), c = q(!1), g = q(""), f = T(() => a.canSubmit === !1 || a.isReadonly), v = q(!1), M = T(() => {
|
|
3339
3339
|
var E, m;
|
|
3340
3340
|
let A = `${a.config.apiBaseUrl}${a.fetchUrl}`;
|
|
3341
3341
|
return a.config.app === "konnect" ? A = A.replace(/{controlPlaneId}/gi, ((E = a.config) == null ? void 0 : E.controlPlaneId) || "") : a.config.app === "kongManager" && (A = A.replace(/\/{workspace}/gi, (m = a.config) != null && m.workspace ? `/${a.config.workspace}` : "")), a.editId ? (A = A.replace(/{id}/gi, a.editId), A) : (A = A.replace(/\/{id}/gi, ""), A);
|
|
@@ -3532,7 +3532,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
3532
3532
|
},
|
|
3533
3533
|
{ immediate: !0, flush: "post", deep: !0 }
|
|
3534
3534
|
), C = T(() => s.value ? c.value > g.value : !1);
|
|
3535
|
-
return
|
|
3535
|
+
return Si(() => {
|
|
3536
3536
|
l();
|
|
3537
3537
|
}), $l(() => {
|
|
3538
3538
|
M();
|
|
@@ -3789,7 +3789,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
3789
3789
|
Re(A.$slots, "toolbar-button", {}, void 0, !0)
|
|
3790
3790
|
])) : X("", !0)
|
|
3791
3791
|
], 512), [
|
|
3792
|
-
[
|
|
3792
|
+
[yt, o(G)]
|
|
3793
3793
|
])
|
|
3794
3794
|
]),
|
|
3795
3795
|
actions: w(({ row: G, rowKey: H, rowValue: z }) => [
|
|
@@ -4092,7 +4092,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4092
4092
|
class: "kong-ui-entity-filter-clear",
|
|
4093
4093
|
onClick: v
|
|
4094
4094
|
}, null, 512), [
|
|
4095
|
-
[
|
|
4095
|
+
[yt, e.modelValue !== ""]
|
|
4096
4096
|
])
|
|
4097
4097
|
]),
|
|
4098
4098
|
_: 1
|
|
@@ -4112,7 +4112,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4112
4112
|
class: "kong-ui-entity-filter-backdrop",
|
|
4113
4113
|
onClick: c
|
|
4114
4114
|
}, null, 512), [
|
|
4115
|
-
[
|
|
4115
|
+
[yt, s.value]
|
|
4116
4116
|
]),
|
|
4117
4117
|
fe(y("div", Ng, [
|
|
4118
4118
|
(d(!0), h(le, null, de(u.value, (k) => {
|
|
@@ -4131,7 +4131,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4131
4131
|
}, [
|
|
4132
4132
|
re(L(k.label) + " ", 1),
|
|
4133
4133
|
fe(y("span", Dg, null, 512), [
|
|
4134
|
-
[
|
|
4134
|
+
[yt, l.value.includes(k.value)]
|
|
4135
4135
|
]),
|
|
4136
4136
|
R(b(Zp), {
|
|
4137
4137
|
class: he(["menu-item-expand-icon", { expanded: o.value.has(k.value) }]),
|
|
@@ -4160,7 +4160,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4160
4160
|
type: O(k.value)
|
|
4161
4161
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "type"]))
|
|
4162
4162
|
], 512), [
|
|
4163
|
-
[
|
|
4163
|
+
[yt, o.value.has(k.value)]
|
|
4164
4164
|
]),
|
|
4165
4165
|
fe(y("div", Vg, [
|
|
4166
4166
|
R(S, {
|
|
@@ -4186,7 +4186,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4186
4186
|
_: 2
|
|
4187
4187
|
}, 1032, ["onClick"])
|
|
4188
4188
|
], 512), [
|
|
4189
|
-
[
|
|
4189
|
+
[yt, o.value.has(k.value)]
|
|
4190
4190
|
])
|
|
4191
4191
|
], 8, Pg);
|
|
4192
4192
|
}), 128)),
|
|
@@ -4203,7 +4203,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4203
4203
|
})
|
|
4204
4204
|
])
|
|
4205
4205
|
], 512), [
|
|
4206
|
-
[
|
|
4206
|
+
[yt, s.value]
|
|
4207
4207
|
])
|
|
4208
4208
|
]));
|
|
4209
4209
|
};
|
|
@@ -4321,7 +4321,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
4321
4321
|
for (let e = 0; e < 256; ++e)
|
|
4322
4322
|
qg.push((e + 256).toString(16).slice(1));
|
|
4323
4323
|
typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
4324
|
-
const { useAxios:
|
|
4324
|
+
const { useAxios: Mn, useDeleteUrlBuilder: Xg, useErrors: Ti, useExternalLinkCreator: iB, useFetchUrlBuilder: aB, useFetcher: Jg, useDebouncedFilter: sB, useStringHelpers: Sa, useHelpers: Li, useGatewayFeatureSupported: Zg, useTruncationDetector: rB, useValidators: oB } = Ve;
|
|
4325
4325
|
function xa() {
|
|
4326
4326
|
return {
|
|
4327
4327
|
async: !1,
|
|
@@ -4380,7 +4380,7 @@ function xs(e) {
|
|
|
4380
4380
|
}
|
|
4381
4381
|
return e;
|
|
4382
4382
|
}
|
|
4383
|
-
const
|
|
4383
|
+
const Dn = { exec: () => null };
|
|
4384
4384
|
function Rs(e, t) {
|
|
4385
4385
|
const n = e.replace(/\|/g, (s, r, o) => {
|
|
4386
4386
|
let l = !1, u = r;
|
|
@@ -4399,7 +4399,7 @@ function Rs(e, t) {
|
|
|
4399
4399
|
i[a] = i[a].trim().replace(/\\\|/g, "|");
|
|
4400
4400
|
return i;
|
|
4401
4401
|
}
|
|
4402
|
-
function
|
|
4402
|
+
function ci(e, t, n) {
|
|
4403
4403
|
const i = e.length;
|
|
4404
4404
|
if (i === 0)
|
|
4405
4405
|
return "";
|
|
@@ -4465,7 +4465,7 @@ function im(e, t) {
|
|
|
4465
4465
|
}).join(`
|
|
4466
4466
|
`);
|
|
4467
4467
|
}
|
|
4468
|
-
class
|
|
4468
|
+
class vi {
|
|
4469
4469
|
// set by the lexer
|
|
4470
4470
|
constructor(t) {
|
|
4471
4471
|
Se(this, "options");
|
|
@@ -4490,7 +4490,7 @@ class yi {
|
|
|
4490
4490
|
type: "code",
|
|
4491
4491
|
raw: n[0],
|
|
4492
4492
|
codeBlockStyle: "indented",
|
|
4493
|
-
text: this.options.pedantic ? i :
|
|
4493
|
+
text: this.options.pedantic ? i : ci(i, `
|
|
4494
4494
|
`)
|
|
4495
4495
|
};
|
|
4496
4496
|
}
|
|
@@ -4512,7 +4512,7 @@ class yi {
|
|
|
4512
4512
|
if (n) {
|
|
4513
4513
|
let i = n[2].trim();
|
|
4514
4514
|
if (/#$/.test(i)) {
|
|
4515
|
-
const a =
|
|
4515
|
+
const a = ci(i, "#");
|
|
4516
4516
|
(this.options.pedantic || !a || / $/.test(a)) && (i = a.trim());
|
|
4517
4517
|
}
|
|
4518
4518
|
return {
|
|
@@ -4537,7 +4537,7 @@ class yi {
|
|
|
4537
4537
|
if (n) {
|
|
4538
4538
|
let i = n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g, `
|
|
4539
4539
|
$1`);
|
|
4540
|
-
i =
|
|
4540
|
+
i = ci(i.replace(/^ *>[ \t]?/gm, ""), `
|
|
4541
4541
|
`);
|
|
4542
4542
|
const a = this.lexer.state.top;
|
|
4543
4543
|
this.lexer.state.top = !0;
|
|
@@ -4734,7 +4734,7 @@ class yi {
|
|
|
4734
4734
|
if (!this.options.pedantic && /^</.test(i)) {
|
|
4735
4735
|
if (!/>$/.test(i))
|
|
4736
4736
|
return;
|
|
4737
|
-
const r =
|
|
4737
|
+
const r = ci(i.slice(0, -1), "\\");
|
|
4738
4738
|
if ((i.length - r.length) % 2 === 0)
|
|
4739
4739
|
return;
|
|
4740
4740
|
} else {
|
|
@@ -4902,43 +4902,43 @@ class yi {
|
|
|
4902
4902
|
}
|
|
4903
4903
|
}
|
|
4904
4904
|
}
|
|
4905
|
-
const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
|
4905
|
+
const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ii = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, om = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Lo = /(?:[*+-]|\d{1,9}[.)])/, jo = ke(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Lo).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Ra = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, lm = /^[^\n]+/, Ta = /(?!\s*\])(?:\\.|[^\[\]\\])+/, um = ke(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", Ta).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), cm = ke(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Lo).getRegex(), ji = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", La = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, dm = ke("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", La).replace("tag", ji).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), No = ke(Ra).replace("hr", ii).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ji).getRegex(), pm = ke(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", No).getRegex(), ja = {
|
|
4906
4906
|
blockquote: pm,
|
|
4907
4907
|
code: sm,
|
|
4908
4908
|
def: um,
|
|
4909
4909
|
fences: rm,
|
|
4910
4910
|
heading: om,
|
|
4911
|
-
hr:
|
|
4911
|
+
hr: ii,
|
|
4912
4912
|
html: dm,
|
|
4913
4913
|
lheading: jo,
|
|
4914
4914
|
list: cm,
|
|
4915
4915
|
newline: am,
|
|
4916
4916
|
paragraph: No,
|
|
4917
|
-
table:
|
|
4917
|
+
table: Dn,
|
|
4918
4918
|
text: lm
|
|
4919
|
-
}, Ls = ke("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
|
4919
|
+
}, Ls = ke("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ii).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ji).getRegex(), gm = {
|
|
4920
4920
|
...ja,
|
|
4921
4921
|
table: Ls,
|
|
4922
|
-
paragraph: ke(Ra).replace("hr",
|
|
4922
|
+
paragraph: ke(Ra).replace("hr", ii).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ls).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", ji).getRegex()
|
|
4923
4923
|
}, mm = {
|
|
4924
4924
|
...ja,
|
|
4925
4925
|
html: ke(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", La).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
4926
4926
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
4927
4927
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
4928
|
-
fences:
|
|
4928
|
+
fences: Dn,
|
|
4929
4929
|
// fences not supported
|
|
4930
4930
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
4931
|
-
paragraph: ke(Ra).replace("hr",
|
|
4931
|
+
paragraph: ke(Ra).replace("hr", ii).replace("heading", ` *#{1,6} *[^
|
|
4932
4932
|
]`).replace("lheading", jo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
4933
|
-
}, Po = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, fm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uo = /^( {2,}|\\)\n(?!\s*$)/, Am = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
|
4934
|
-
_backpedal:
|
|
4933
|
+
}, Po = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, fm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uo = /^( {2,}|\\)\n(?!\s*$)/, Am = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ai = "\\p{P}\\p{S}", hm = ke(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, ai).getRegex(), ym = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, vm = ke(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, ai).getRegex(), bm = ke("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, ai).getRegex(), wm = ke("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, ai).getRegex(), Cm = ke(/\\([punct])/, "gu").replace(/punct/g, ai).getRegex(), Em = ke(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), km = ke(La).replace("(?:-->|$)", "-->").getRegex(), Om = ke("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", km).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), bi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Im = ke(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", bi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Do = ke(/^!?\[(label)\]\[(ref)\]/).replace("label", bi).replace("ref", Ta).getRegex(), Yo = ke(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ta).getRegex(), Mm = ke("reflink|nolink(?!\\()", "g").replace("reflink", Do).replace("nolink", Yo).getRegex(), Na = {
|
|
4934
|
+
_backpedal: Dn,
|
|
4935
4935
|
// only used for GFM url
|
|
4936
4936
|
anyPunctuation: Cm,
|
|
4937
4937
|
autolink: Em,
|
|
4938
4938
|
blockSkip: ym,
|
|
4939
4939
|
br: Uo,
|
|
4940
4940
|
code: fm,
|
|
4941
|
-
del:
|
|
4941
|
+
del: Dn,
|
|
4942
4942
|
emStrongLDelim: vm,
|
|
4943
4943
|
emStrongRDelimAst: bm,
|
|
4944
4944
|
emStrongRDelimUnd: wm,
|
|
@@ -4950,11 +4950,11 @@ const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm =
|
|
|
4950
4950
|
reflinkSearch: Mm,
|
|
4951
4951
|
tag: Om,
|
|
4952
4952
|
text: Am,
|
|
4953
|
-
url:
|
|
4953
|
+
url: Dn
|
|
4954
4954
|
}, Bm = {
|
|
4955
4955
|
...Na,
|
|
4956
|
-
link: ke(/^!?\[(label)\]\((.*?)\)/).replace("label",
|
|
4957
|
-
reflink: ke(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",
|
|
4956
|
+
link: ke(/^!?\[(label)\]\((.*?)\)/).replace("label", bi).getRegex(),
|
|
4957
|
+
reflink: ke(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", bi).getRegex()
|
|
4958
4958
|
}, oa = {
|
|
4959
4959
|
...Na,
|
|
4960
4960
|
escape: ke(Po).replace("])", "~|])").getRegex(),
|
|
@@ -4966,11 +4966,11 @@ const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm =
|
|
|
4966
4966
|
...oa,
|
|
4967
4967
|
br: ke(Uo).replace("{2,}", "*").getRegex(),
|
|
4968
4968
|
text: ke(oa.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
4969
|
-
},
|
|
4969
|
+
}, di = {
|
|
4970
4970
|
normal: ja,
|
|
4971
4971
|
gfm: gm,
|
|
4972
4972
|
pedantic: mm
|
|
4973
|
-
},
|
|
4973
|
+
}, Ln = {
|
|
4974
4974
|
normal: Na,
|
|
4975
4975
|
gfm: oa,
|
|
4976
4976
|
breaks: Sm,
|
|
@@ -4983,24 +4983,24 @@ class kt {
|
|
|
4983
4983
|
Se(this, "state");
|
|
4984
4984
|
Se(this, "tokenizer");
|
|
4985
4985
|
Se(this, "inlineQueue");
|
|
4986
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || cn, this.options.tokenizer = this.options.tokenizer || new
|
|
4986
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = t || cn, this.options.tokenizer = this.options.tokenizer || new vi(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
4987
4987
|
inLink: !1,
|
|
4988
4988
|
inRawBlock: !1,
|
|
4989
4989
|
top: !0
|
|
4990
4990
|
};
|
|
4991
4991
|
const n = {
|
|
4992
|
-
block:
|
|
4993
|
-
inline:
|
|
4992
|
+
block: di.normal,
|
|
4993
|
+
inline: Ln.normal
|
|
4994
4994
|
};
|
|
4995
|
-
this.options.pedantic ? (n.block =
|
|
4995
|
+
this.options.pedantic ? (n.block = di.pedantic, n.inline = Ln.pedantic) : this.options.gfm && (n.block = di.gfm, this.options.breaks ? n.inline = Ln.breaks : n.inline = Ln.gfm), this.tokenizer.rules = n;
|
|
4996
4996
|
}
|
|
4997
4997
|
/**
|
|
4998
4998
|
* Expose Rules
|
|
4999
4999
|
*/
|
|
5000
5000
|
static get rules() {
|
|
5001
5001
|
return {
|
|
5002
|
-
block:
|
|
5003
|
-
inline:
|
|
5002
|
+
block: di,
|
|
5003
|
+
inline: Ln
|
|
5004
5004
|
};
|
|
5005
5005
|
}
|
|
5006
5006
|
/**
|
|
@@ -5199,7 +5199,7 @@ class kt {
|
|
|
5199
5199
|
return n;
|
|
5200
5200
|
}
|
|
5201
5201
|
}
|
|
5202
|
-
class
|
|
5202
|
+
class wi {
|
|
5203
5203
|
constructor(t) {
|
|
5204
5204
|
Se(this, "options");
|
|
5205
5205
|
this.options = t || cn;
|
|
@@ -5335,7 +5335,7 @@ class Ot {
|
|
|
5335
5335
|
Se(this, "options");
|
|
5336
5336
|
Se(this, "renderer");
|
|
5337
5337
|
Se(this, "textRenderer");
|
|
5338
|
-
this.options = t || cn, this.options.renderer = this.options.renderer || new
|
|
5338
|
+
this.options = t || cn, this.options.renderer = this.options.renderer || new wi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new Pa();
|
|
5339
5339
|
}
|
|
5340
5340
|
/**
|
|
5341
5341
|
* Static Parse Method
|
|
@@ -5524,7 +5524,7 @@ class Ot {
|
|
|
5524
5524
|
return i;
|
|
5525
5525
|
}
|
|
5526
5526
|
}
|
|
5527
|
-
class
|
|
5527
|
+
class Yn {
|
|
5528
5528
|
constructor(t) {
|
|
5529
5529
|
Se(this, "options");
|
|
5530
5530
|
this.options = t || cn;
|
|
@@ -5548,26 +5548,26 @@ class Dn {
|
|
|
5548
5548
|
return t;
|
|
5549
5549
|
}
|
|
5550
5550
|
}
|
|
5551
|
-
Se(
|
|
5551
|
+
Se(Yn, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
5552
5552
|
"preprocess",
|
|
5553
5553
|
"postprocess",
|
|
5554
5554
|
"processAllTokens"
|
|
5555
5555
|
]));
|
|
5556
|
-
var
|
|
5556
|
+
var $n, la, Bi, Go;
|
|
5557
5557
|
class xm {
|
|
5558
5558
|
constructor(...t) {
|
|
5559
|
-
zi(this,
|
|
5560
|
-
zi(this,
|
|
5559
|
+
zi(this, $n);
|
|
5560
|
+
zi(this, Bi);
|
|
5561
5561
|
Se(this, "defaults", xa());
|
|
5562
5562
|
Se(this, "options", this.setOptions);
|
|
5563
|
-
Se(this, "parse",
|
|
5564
|
-
Se(this, "parseInline",
|
|
5563
|
+
Se(this, "parse", ui(this, $n, la).call(this, kt.lex, Ot.parse));
|
|
5564
|
+
Se(this, "parseInline", ui(this, $n, la).call(this, kt.lexInline, Ot.parseInline));
|
|
5565
5565
|
Se(this, "Parser", Ot);
|
|
5566
|
-
Se(this, "Renderer",
|
|
5566
|
+
Se(this, "Renderer", wi);
|
|
5567
5567
|
Se(this, "TextRenderer", Pa);
|
|
5568
5568
|
Se(this, "Lexer", kt);
|
|
5569
|
-
Se(this, "Tokenizer",
|
|
5570
|
-
Se(this, "Hooks",
|
|
5569
|
+
Se(this, "Tokenizer", vi);
|
|
5570
|
+
Se(this, "Hooks", Yn);
|
|
5571
5571
|
this.use(...t);
|
|
5572
5572
|
}
|
|
5573
5573
|
/**
|
|
@@ -5624,7 +5624,7 @@ class xm {
|
|
|
5624
5624
|
}
|
|
5625
5625
|
"childTokens" in s && s.childTokens && (n.childTokens[s.name] = s.childTokens);
|
|
5626
5626
|
}), a.extensions = n), i.renderer) {
|
|
5627
|
-
const s = this.defaults.renderer || new
|
|
5627
|
+
const s = this.defaults.renderer || new wi(this.defaults);
|
|
5628
5628
|
for (const r in i.renderer) {
|
|
5629
5629
|
if (!(r in s))
|
|
5630
5630
|
throw new Error(`renderer '${r}' does not exist`);
|
|
@@ -5639,7 +5639,7 @@ class xm {
|
|
|
5639
5639
|
a.renderer = s;
|
|
5640
5640
|
}
|
|
5641
5641
|
if (i.tokenizer) {
|
|
5642
|
-
const s = this.defaults.tokenizer || new
|
|
5642
|
+
const s = this.defaults.tokenizer || new vi(this.defaults);
|
|
5643
5643
|
for (const r in i.tokenizer) {
|
|
5644
5644
|
if (!(r in s))
|
|
5645
5645
|
throw new Error(`tokenizer '${r}' does not exist`);
|
|
@@ -5654,14 +5654,14 @@ class xm {
|
|
|
5654
5654
|
a.tokenizer = s;
|
|
5655
5655
|
}
|
|
5656
5656
|
if (i.hooks) {
|
|
5657
|
-
const s = this.defaults.hooks || new
|
|
5657
|
+
const s = this.defaults.hooks || new Yn();
|
|
5658
5658
|
for (const r in i.hooks) {
|
|
5659
5659
|
if (!(r in s))
|
|
5660
5660
|
throw new Error(`hook '${r}' does not exist`);
|
|
5661
5661
|
if (r === "options")
|
|
5662
5662
|
continue;
|
|
5663
5663
|
const o = r, l = i.hooks[o], u = s[o];
|
|
5664
|
-
|
|
5664
|
+
Yn.passThroughHooks.has(r) ? s[o] = (c) => {
|
|
5665
5665
|
if (this.defaults.async)
|
|
5666
5666
|
return Promise.resolve(l.call(s, c)).then((f) => u.call(s, f));
|
|
5667
5667
|
const g = l.call(s, c);
|
|
@@ -5693,11 +5693,11 @@ class xm {
|
|
|
5693
5693
|
return Ot.parse(t, n ?? this.defaults);
|
|
5694
5694
|
}
|
|
5695
5695
|
}
|
|
5696
|
-
|
|
5696
|
+
$n = new WeakSet(), la = function(t, n) {
|
|
5697
5697
|
return (i, a) => {
|
|
5698
5698
|
const s = { ...a }, r = { ...this.defaults, ...s };
|
|
5699
5699
|
this.defaults.async === !0 && s.async === !1 && (r.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), r.async = !0);
|
|
5700
|
-
const o =
|
|
5700
|
+
const o = ui(this, Bi, Go).call(this, !!r.silent, !!r.async);
|
|
5701
5701
|
if (typeof i > "u" || i === null)
|
|
5702
5702
|
return o(new Error("marked(): input parameter is undefined or null"));
|
|
5703
5703
|
if (typeof i != "string")
|
|
@@ -5714,7 +5714,7 @@ _n = new WeakSet(), la = function(t, n) {
|
|
|
5714
5714
|
return o(l);
|
|
5715
5715
|
}
|
|
5716
5716
|
};
|
|
5717
|
-
},
|
|
5717
|
+
}, Bi = new WeakSet(), Go = function(t, n) {
|
|
5718
5718
|
return (i) => {
|
|
5719
5719
|
if (i.message += `
|
|
5720
5720
|
Please report this to https://github.com/markedjs/marked.`, t) {
|
|
@@ -5744,12 +5744,12 @@ we.walkTokens = function(e, t) {
|
|
|
5744
5744
|
we.parseInline = nn.parseInline;
|
|
5745
5745
|
we.Parser = Ot;
|
|
5746
5746
|
we.parser = Ot.parse;
|
|
5747
|
-
we.Renderer =
|
|
5747
|
+
we.Renderer = wi;
|
|
5748
5748
|
we.TextRenderer = Pa;
|
|
5749
5749
|
we.Lexer = kt;
|
|
5750
5750
|
we.lexer = kt.lex;
|
|
5751
|
-
we.Tokenizer =
|
|
5752
|
-
we.Hooks =
|
|
5751
|
+
we.Tokenizer = vi;
|
|
5752
|
+
we.Hooks = Yn;
|
|
5753
5753
|
we.parse = we;
|
|
5754
5754
|
we.options;
|
|
5755
5755
|
we.setOptions;
|
|
@@ -6318,8 +6318,8 @@ const Rm = {
|
|
|
6318
6318
|
plugins: Pm,
|
|
6319
6319
|
glossary: Um
|
|
6320
6320
|
};
|
|
6321
|
-
function
|
|
6322
|
-
const e =
|
|
6321
|
+
function Ni() {
|
|
6322
|
+
const e = ei("en-us", Dm);
|
|
6323
6323
|
return {
|
|
6324
6324
|
i18n: e,
|
|
6325
6325
|
i18nT: jr(e)
|
|
@@ -6428,7 +6428,7 @@ const wA = [
|
|
|
6428
6428
|
Deployment: !1,
|
|
6429
6429
|
"Custom Plugins": !1
|
|
6430
6430
|
};
|
|
6431
|
-
var
|
|
6431
|
+
var yn = /* @__PURE__ */ ((e) => (e.SERVICE = "service_id", e.ROUTE = "route_id", e.CONSUMER = "consumer_id", e.CONSUMER_GROUP = "consumer_group_id", e))(yn || {}), p = /* @__PURE__ */ ((e) => (e.GLOBAL = "global", e.SERVICE = "service", e.ROUTE = "route", e.CONSUMER = "consumer", e.CONSUMER_GROUP = "consumer_group", e))(p || {});
|
|
6432
6432
|
const Qt = (e) => {
|
|
6433
6433
|
const t = Object.fromEntries(e.fields.map((n) => Object.entries(n)[0]));
|
|
6434
6434
|
return "id" in t || (t.id = {}), t;
|
|
@@ -6470,7 +6470,7 @@ const Qt = (e) => {
|
|
|
6470
6470
|
...e
|
|
6471
6471
|
};
|
|
6472
6472
|
}
|
|
6473
|
-
},
|
|
6473
|
+
}, si = {
|
|
6474
6474
|
getColumnFields: Qt,
|
|
6475
6475
|
tags: EA,
|
|
6476
6476
|
id: kA,
|
|
@@ -6845,7 +6845,7 @@ const Qt = (e) => {
|
|
|
6845
6845
|
}
|
|
6846
6846
|
},
|
|
6847
6847
|
{
|
|
6848
|
-
redirect_uris:
|
|
6848
|
+
redirect_uris: si.fields.arrayItems({
|
|
6849
6849
|
label: "Redirect URI(s)",
|
|
6850
6850
|
hint: `One or more URLs in your app where users will be sent after
|
|
6851
6851
|
authorization (RFC 6742 Section 3.1.2)`,
|
|
@@ -7005,7 +7005,7 @@ const Qt = (e) => {
|
|
|
7005
7005
|
}
|
|
7006
7006
|
], zA = {
|
|
7007
7007
|
fields: FA
|
|
7008
|
-
},
|
|
7008
|
+
}, vt = {
|
|
7009
7009
|
"basic-auth": {
|
|
7010
7010
|
descriptionKey: "plugins.meta.basic-auth.description",
|
|
7011
7011
|
group: K.AUTHENTICATION,
|
|
@@ -7668,7 +7668,7 @@ const Qt = (e) => {
|
|
|
7668
7668
|
nameKey: "plugins.meta.app-dynamics.name",
|
|
7669
7669
|
scope: [p.GLOBAL, p.SERVICE, p.ROUTE, p.CONSUMER]
|
|
7670
7670
|
}
|
|
7671
|
-
},
|
|
7671
|
+
}, wn = {
|
|
7672
7672
|
acl: {
|
|
7673
7673
|
titleKey: "plugins.meta.acl.name",
|
|
7674
7674
|
plugin: "acl",
|
|
@@ -7747,23 +7747,23 @@ const Qt = (e) => {
|
|
|
7747
7747
|
jwt_secrets: GA
|
|
7748
7748
|
}, qA = (e) => {
|
|
7749
7749
|
var i;
|
|
7750
|
-
const t = ((i =
|
|
7750
|
+
const t = ((i = vt[e]) == null ? void 0 : i.imageName) || e || "missing", n = new URL((/* @__PURE__ */ Object.assign({ "../assets/images/plugin-icons/acl.png": Ym, "../assets/images/plugin-icons/acme.png": Gm, "../assets/images/plugin-icons/ai-azure-content-safety.png": Vm, "../assets/images/plugin-icons/ai-data-sanitization.png": Hm, "../assets/images/plugin-icons/ai-prompt-decorator.png": Fm, "../assets/images/plugin-icons/ai-prompt-guard.png": zm, "../assets/images/plugin-icons/ai-prompt-template.png": Km, "../assets/images/plugin-icons/ai-proxy.png": qm, "../assets/images/plugin-icons/ai-rate-limiting-advanced.png": Xm, "../assets/images/plugin-icons/ai-request-transformer.png": Jm, "../assets/images/plugin-icons/ai-response-transformer.png": Zm, "../assets/images/plugin-icons/app-dynamics.png": Wm, "../assets/images/plugin-icons/application-registration.png": Qm, "../assets/images/plugin-icons/aws-lambda.png": _m, "../assets/images/plugin-icons/azure-functions.png": $m, "../assets/images/plugin-icons/basic-auth.png": ef, "../assets/images/plugin-icons/bot-detection.png": tf, "../assets/images/plugin-icons/canary.png": nf, "../assets/images/plugin-icons/collector.png": af, "../assets/images/plugin-icons/correlation-id.png": sf, "../assets/images/plugin-icons/cors.png": rf, "../assets/images/plugin-icons/datadog.png": of, "../assets/images/plugin-icons/degraphql.png": lf, "../assets/images/plugin-icons/dynamic-ssl.png": uf, "../assets/images/plugin-icons/exit-transformer.png": cf, "../assets/images/plugin-icons/file-log.png": df, "../assets/images/plugin-icons/forward-proxy.png": pf, "../assets/images/plugin-icons/graphql-rate-limiting-advanced.png": gf, "../assets/images/plugin-icons/graphql.png": mf, "../assets/images/plugin-icons/grpc-gateway.png": ff, "../assets/images/plugin-icons/grpc-web.png": Af, "../assets/images/plugin-icons/hmac-auth.png": hf, "../assets/images/plugin-icons/http-log.png": yf, "../assets/images/plugin-icons/ip-restriction.png": vf, "../assets/images/plugin-icons/jq.png": bf, "../assets/images/plugin-icons/jwe-decrypt.png": wf, "../assets/images/plugin-icons/jwt-signer.png": Cf, "../assets/images/plugin-icons/jwt.png": Ef, "../assets/images/plugin-icons/kafka-log.png": kf, "../assets/images/plugin-icons/kafka-upstream.png": Of, "../assets/images/plugin-icons/key-auth-enc.png": If, "../assets/images/plugin-icons/key-auth.png": Mf, "../assets/images/plugin-icons/kong-function.png": Bf, "../assets/images/plugin-icons/kubernetes-sidecar-injector.png": Sf, "../assets/images/plugin-icons/ldap-auth-advanced.png": xf, "../assets/images/plugin-icons/ldap-auth.png": Rf, "../assets/images/plugin-icons/loggly.png": Tf, "../assets/images/plugin-icons/missing.png": Lf, "../assets/images/plugin-icons/mocking.png": jf, "../assets/images/plugin-icons/mtls-auth.png": Nf, "../assets/images/plugin-icons/new.png": Pf, "../assets/images/plugin-icons/oas-validation.png": Uf, "../assets/images/plugin-icons/oauth2-introspection.png": Df, "../assets/images/plugin-icons/oauth2.png": Yf, "../assets/images/plugin-icons/opa.png": Gf, "../assets/images/plugin-icons/openid-connect.png": Vf, "../assets/images/plugin-icons/opentelemetry.png": Hf, "../assets/images/plugin-icons/openwhisk.png": Ff, "../assets/images/plugin-icons/prometheus.png": zf, "../assets/images/plugin-icons/proxy-cache.png": Kf, "../assets/images/plugin-icons/rate-limiting-advanced.png": qf, "../assets/images/plugin-icons/rate-limiting.png": Xf, "../assets/images/plugin-icons/request-size-limiting.png": Jf, "../assets/images/plugin-icons/request-termination.png": Zf, "../assets/images/plugin-icons/request-transformer-advanced.png": Wf, "../assets/images/plugin-icons/request-transformer.png": Qf, "../assets/images/plugin-icons/request-validator.png": _f, "../assets/images/plugin-icons/response-ratelimiting.png": $f, "../assets/images/plugin-icons/response-transformer-advanced.png": eA, "../assets/images/plugin-icons/response-transformer.png": tA, "../assets/images/plugin-icons/route-by-header.png": nA, "../assets/images/plugin-icons/route-transformer-advanced.png": iA, "../assets/images/plugin-icons/runscope.png": aA, "../assets/images/plugin-icons/saml.png": sA, "../assets/images/plugin-icons/session.png": rA, "../assets/images/plugin-icons/statsd-advanced.png": oA, "../assets/images/plugin-icons/statsd.png": lA, "../assets/images/plugin-icons/syslog.png": uA, "../assets/images/plugin-icons/tcp-log.png": cA, "../assets/images/plugin-icons/tls-handshake-modifier.png": dA, "../assets/images/plugin-icons/tls-metadata-headers.png": pA, "../assets/images/plugin-icons/udp-log.png": gA, "../assets/images/plugin-icons/upstream-timeout.png": mA, "../assets/images/plugin-icons/upstream-tls.png": fA, "../assets/images/plugin-icons/vault-auth.png": AA, "../assets/images/plugin-icons/websocket-size-limit.png": hA, "../assets/images/plugin-icons/websocket-validator.png": yA, "../assets/images/plugin-icons/xml-threat-protection.png": vA, "../assets/images/plugin-icons/zipkin.png": bA }))[`../assets/images/plugin-icons/${t}.png`], import.meta.url).href;
|
|
7751
7751
|
return n.includes("undefined") ? new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAHgCAMAAABKCk6nAAAAhFBMVEUAAADs+fnr8PTo7fLm7PDl6e7j6+7j6O3i6Ozh5+vp9PTm7PDj6e319fXn7PHj6O739/fn7PDi6e3////o7fLj6Ozt8fbj6u7r7vPi6ezo7fL////n7PHm6/Dl6+/q8PTs8vbu9Pjv9frw9vri6ezv9fnp7/Pt8vfk6u6cpar////e4ePLpSv+AAAAHnRSTlMAKIq93/T6/f7/W8z3GbL4Hr/9AZ39OPFo/Z4FzOeuk05oAAAFJklEQVR4Ae3ThZLjyhWA4SNdWJ9BMy/KA3n/twoXBafWWYb2QPi6Vd9XKGz4q5t4QPNZHDP2n8W/4uT0bJBUZHB2ehL/pPOLy6wQlxfn8bThaJxUajwaxuMm01lSsdl0Eo+YL5LKLebxoOUqqd5qGQ9YD7IHGKzjPptt9gTbzT19n2dv8Pyw8DZ7hG0U1tkrrOM7y0H2CoNlfGO+yp5hNY8vJovsHRaT+GyaPcQ03mkiYvjnNu4za94Ljtn+vd/Efc7+/sf4YJT32L286qjE1ctd3mMUH5yP89D1m46KvLnOQ+PzeO8iD+xuOipzs8sDF/HeZZZuX3dU5/Vtli7jnZMs7fSts/AuSycRcZqlm44q3WTpNCLOsnDdUanrLJxF29zF9zZ3QaXuNuWNJtosvOyo1ssstG0ThZ+Dah3Ea+LHIvmLjoq9KHL+2DYHyanYQc6jDYzACCxwZKGjallog177DwIjMAIjMAIjsMAIjMAIjMAIjMAILDACIzACIzACI7DACIzACIzACIzAAiMwAiMwAiMwAiOwwAiMwAiMwAiMwAIjMAIjMAIjMAILjMAIjMAIjMAIjMACIzACIzACIzACC4zACIzACIzACIzAAiMwAiMwAiMwAguMwAiMwAiMwAgsMAIjMAIjMAIjMAILjMAIjMAIjMAILDACIzACI/DP/6GjGENgBEZgBBYYgREYgREYgRGYJwMjMAIjMAI3TziCMQTmaAIjMAIjMAIjMAILjMAIjMAIjMAITBa6X9CveqD7hWWhDXpNYIERGIERGIERGIEFRmAERmAERuBKCdw2R68VGIERGIERWGAERmAERmAERmCBERiBERiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgRFYYARGYARGYARGYIERGIERGIERGIEFRmAERmAERuB+EPjt/ui9FRiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgWshcNscvVZgBEZgBEZggREYgREYgREYgQVGYARGYARGYARGYIERGIERGIERGIEFRmAERmAERmAERmCBERiBERiBERiBBUZgBEZgBEZgBBYYgREYgREYgftB4Lf7o/dWYARGYARGYIERGIERGIERGIEFRmAE5kj9GEfkb/EfwwkWGIERGIERGIERWGAERmAERmAERmAEFhiBERiBERiBEVhgBEZgBEZgBEZggREYgREYgREYgRFYYARGYARGYARGYIERGIERGIERGIERWGAERmAERmAERmCBERiBERiBERiBBUZgBEZgBEZgBEZggREYgREYgREYgQVGYARGYARGYAQWGIERGIERGIERGIEFRmAERmAERmAEFhiBERiBERiBEZh2r3iflPn2B4HvgordPRl4H1RsL7DAfSJw/JCFq45qXWXhh3Yfhb8F1TqIt2/3ZeGf9kGl9j/F997XPcvCdUelrrNwFhGnWbrpqNJNlk4j4iRLu9cdFXq9y9JJvHOZpVuFa+x7m6XLeO8iD+xuOipzs8sDF/He+TgPXb/pqMib6zw0Po8PRnmP3curjkpcvdzlPUYR0UTE8M9t3GfWvBfHjP17v4n7nP39j/HRNOmhaXw2WSS9s5jEF/NV0jOreXxjOUh6ZbCM76yTXllHYZv0yDZKm+dJbzzfxGHhbdIT203cZz1IemCwjgcsV0n1Vst40HyRVG4xj0dMprOkYrPpJB43HI2TSo1Hw3ja+cVlUqHLi/P4J52cng2SigzOTk/iPk08oPksjhn7z+J+/wBSUhUZLUGZBgAAAABJRU5ErkJggg==", import.meta.url).href : n;
|
|
7752
7752
|
}, XA = () => {
|
|
7753
|
-
const { i18n: { t: e } } =
|
|
7754
|
-
for (const [a, s] of Object.entries(
|
|
7753
|
+
const { i18n: { t: e } } = Ni(), t = {}, n = {};
|
|
7754
|
+
for (const [a, s] of Object.entries(vt))
|
|
7755
7755
|
t[a] = {
|
|
7756
7756
|
...s,
|
|
7757
7757
|
name: e(s.nameKey),
|
|
7758
7758
|
description: e(s.descriptionKey)
|
|
7759
7759
|
};
|
|
7760
|
-
for (const [a, s] of Object.entries(
|
|
7760
|
+
for (const [a, s] of Object.entries(wn))
|
|
7761
7761
|
n[a] = {
|
|
7762
7762
|
...s,
|
|
7763
7763
|
name: e(s.nameKey),
|
|
7764
7764
|
title: e(s.titleKey)
|
|
7765
7765
|
};
|
|
7766
|
-
return { pluginMetaData: t, credentialMetaData: n, credentialSchemas:
|
|
7766
|
+
return { pluginMetaData: t, credentialMetaData: n, credentialSchemas: wn, getDisplayName: (a) => {
|
|
7767
7767
|
var s;
|
|
7768
7768
|
return ((s = t[a]) == null ? void 0 : s.name) || a;
|
|
7769
7769
|
} };
|
|
@@ -7790,16 +7790,16 @@ function QA(e, t) {
|
|
|
7790
7790
|
i[n] = t(n);
|
|
7791
7791
|
return i;
|
|
7792
7792
|
}
|
|
7793
|
-
var Fo = typeof global == "object" && global && global.Object === Object && global, _A = typeof self == "object" && self && self.Object === Object && self, ft = Fo || _A || Function("return this")(), xt = ft.Symbol, zo = Object.prototype, $A = zo.hasOwnProperty, eh = zo.toString,
|
|
7793
|
+
var Fo = typeof global == "object" && global && global.Object === Object && global, _A = typeof self == "object" && self && self.Object === Object && self, ft = Fo || _A || Function("return this")(), xt = ft.Symbol, zo = Object.prototype, $A = zo.hasOwnProperty, eh = zo.toString, jn = xt ? xt.toStringTag : void 0;
|
|
7794
7794
|
function th(e) {
|
|
7795
|
-
var t = $A.call(e,
|
|
7795
|
+
var t = $A.call(e, jn), n = e[jn];
|
|
7796
7796
|
try {
|
|
7797
|
-
e[
|
|
7797
|
+
e[jn] = void 0;
|
|
7798
7798
|
var i = !0;
|
|
7799
7799
|
} catch {
|
|
7800
7800
|
}
|
|
7801
7801
|
var a = eh.call(e);
|
|
7802
|
-
return i && (t ? e[
|
|
7802
|
+
return i && (t ? e[jn] = n : delete e[jn]), a;
|
|
7803
7803
|
}
|
|
7804
7804
|
var nh = Object.prototype, ih = nh.toString;
|
|
7805
7805
|
function ah(e) {
|
|
@@ -7824,7 +7824,7 @@ var Ko = Object.prototype, lh = Ko.hasOwnProperty, uh = Ko.propertyIsEnumerable,
|
|
|
7824
7824
|
function ch() {
|
|
7825
7825
|
return !1;
|
|
7826
7826
|
}
|
|
7827
|
-
var qo = typeof exports == "object" && exports && !exports.nodeType && exports, Hs = qo && typeof module == "object" && module && !module.nodeType && module, dh = Hs && Hs.exports === qo, Fs = dh ? ft.Buffer : void 0, ph = Fs ? Fs.isBuffer : void 0,
|
|
7827
|
+
var qo = typeof exports == "object" && exports && !exports.nodeType && exports, Hs = qo && typeof module == "object" && module && !module.nodeType && module, dh = Hs && Hs.exports === qo, Fs = dh ? ft.Buffer : void 0, ph = Fs ? Fs.isBuffer : void 0, Jn = ph || ch, gh = 9007199254740991, mh = /^(?:0|[1-9]\d*)$/;
|
|
7828
7828
|
function Da(e, t) {
|
|
7829
7829
|
var n = typeof e;
|
|
7830
7830
|
return t = t ?? gh, !!t && (n == "number" || n != "symbol" && mh.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -7844,15 +7844,15 @@ function Ga(e) {
|
|
|
7844
7844
|
return e(t);
|
|
7845
7845
|
};
|
|
7846
7846
|
}
|
|
7847
|
-
var Xo = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7847
|
+
var Xo = typeof exports == "object" && exports && !exports.nodeType && exports, Gn = Xo && typeof module == "object" && module && !module.nodeType && module, Vh = Gn && Gn.exports === Xo, Zi = Vh && Fo.process, kn = function() {
|
|
7848
7848
|
try {
|
|
7849
|
-
var e =
|
|
7849
|
+
var e = Gn && Gn.require && Gn.require("util").types;
|
|
7850
7850
|
return e || Zi && Zi.binding && Zi.binding("util");
|
|
7851
7851
|
} catch {
|
|
7852
7852
|
}
|
|
7853
|
-
}(), zs =
|
|
7853
|
+
}(), zs = kn && kn.isTypedArray, Va = zs ? Ga(zs) : Gh, Hh = Object.prototype, Fh = Hh.hasOwnProperty;
|
|
7854
7854
|
function Jo(e, t) {
|
|
7855
|
-
var n = ct(e), i = !n && Ua(e), a = !n && !i &&
|
|
7855
|
+
var n = ct(e), i = !n && Ua(e), a = !n && !i && Jn(e), s = !n && !i && !a && Va(e), r = n || i || a || s, o = r ? QA(e.length, String) : [], l = o.length;
|
|
7856
7856
|
for (var u in e)
|
|
7857
7857
|
(t || Fh.call(e, u)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7858
7858
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7862,7 +7862,7 @@ function Jo(e, t) {
|
|
|
7862
7862
|
return o;
|
|
7863
7863
|
}
|
|
7864
7864
|
var zh = Object.prototype;
|
|
7865
|
-
function
|
|
7865
|
+
function Pi(e) {
|
|
7866
7866
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || zh;
|
|
7867
7867
|
return e === n;
|
|
7868
7868
|
}
|
|
@@ -7873,7 +7873,7 @@ function Zo(e, t) {
|
|
|
7873
7873
|
}
|
|
7874
7874
|
var Kh = Zo(Object.keys, Object), qh = Object.prototype, Xh = qh.hasOwnProperty;
|
|
7875
7875
|
function Wo(e) {
|
|
7876
|
-
if (!
|
|
7876
|
+
if (!Pi(e))
|
|
7877
7877
|
return Kh(e);
|
|
7878
7878
|
var t = [];
|
|
7879
7879
|
for (var n in Object(e))
|
|
@@ -7891,20 +7891,20 @@ function be(e) {
|
|
|
7891
7891
|
var t = Xt(e);
|
|
7892
7892
|
return t == Zh || t == Wh || t == Jh || t == Qh;
|
|
7893
7893
|
}
|
|
7894
|
-
function
|
|
7894
|
+
function Bn(e) {
|
|
7895
7895
|
return e != null && Ya(e.length) && !be(e);
|
|
7896
7896
|
}
|
|
7897
|
-
function
|
|
7898
|
-
return
|
|
7897
|
+
function Sn(e) {
|
|
7898
|
+
return Bn(e) ? Jo(e) : Wo(e);
|
|
7899
7899
|
}
|
|
7900
7900
|
function _h(e, t) {
|
|
7901
|
-
return e && WA(e, t,
|
|
7901
|
+
return e && WA(e, t, Sn);
|
|
7902
7902
|
}
|
|
7903
7903
|
function $h(e, t) {
|
|
7904
7904
|
return function(n, i) {
|
|
7905
7905
|
if (n == null)
|
|
7906
7906
|
return n;
|
|
7907
|
-
if (!
|
|
7907
|
+
if (!Bn(n))
|
|
7908
7908
|
return e(n, i);
|
|
7909
7909
|
for (var a = n.length, s = t ? a : -1, r = Object(n); (t ? s-- : ++s < a) && i(r[s], s, r) !== !1; )
|
|
7910
7910
|
;
|
|
@@ -7913,18 +7913,18 @@ function $h(e, t) {
|
|
|
7913
7913
|
}
|
|
7914
7914
|
var ey = $h(_h);
|
|
7915
7915
|
const ty = ey;
|
|
7916
|
-
function
|
|
7916
|
+
function Ui(e) {
|
|
7917
7917
|
return e;
|
|
7918
7918
|
}
|
|
7919
7919
|
function ny(e) {
|
|
7920
|
-
return typeof e == "function" ? e :
|
|
7920
|
+
return typeof e == "function" ? e : Ui;
|
|
7921
7921
|
}
|
|
7922
7922
|
function et(e, t) {
|
|
7923
7923
|
var n = ct(e) ? Ho : ty;
|
|
7924
7924
|
return n(e, ny(t));
|
|
7925
7925
|
}
|
|
7926
7926
|
var iy = "[object Symbol]";
|
|
7927
|
-
function
|
|
7927
|
+
function Di(e) {
|
|
7928
7928
|
return typeof e == "symbol" || Rt(e) && Xt(e) == iy;
|
|
7929
7929
|
}
|
|
7930
7930
|
var ay = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sy = /^\w*$/;
|
|
@@ -7932,7 +7932,7 @@ function Ha(e, t) {
|
|
|
7932
7932
|
if (ct(e))
|
|
7933
7933
|
return !1;
|
|
7934
7934
|
var n = typeof e;
|
|
7935
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
7935
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || Di(e) ? !0 : sy.test(e) || !ay.test(e) || t != null && e in Object(t);
|
|
7936
7936
|
}
|
|
7937
7937
|
var Wi = ft["__core-js_shared__"], Ks = function() {
|
|
7938
7938
|
var e = /[^.]+$/.exec(Wi && Wi.keys && Wi.keys.IE_PROTO || "");
|
|
@@ -7971,9 +7971,9 @@ function pn(e, t) {
|
|
|
7971
7971
|
var n = hy(e, t);
|
|
7972
7972
|
return Ay(n) ? n : void 0;
|
|
7973
7973
|
}
|
|
7974
|
-
var
|
|
7974
|
+
var Zn = pn(Object, "create");
|
|
7975
7975
|
function yy() {
|
|
7976
|
-
this.__data__ =
|
|
7976
|
+
this.__data__ = Zn ? Zn(null) : {}, this.size = 0;
|
|
7977
7977
|
}
|
|
7978
7978
|
function vy(e) {
|
|
7979
7979
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -7982,7 +7982,7 @@ function vy(e) {
|
|
|
7982
7982
|
var by = "__lodash_hash_undefined__", wy = Object.prototype, Cy = wy.hasOwnProperty;
|
|
7983
7983
|
function Ey(e) {
|
|
7984
7984
|
var t = this.__data__;
|
|
7985
|
-
if (
|
|
7985
|
+
if (Zn) {
|
|
7986
7986
|
var n = t[e];
|
|
7987
7987
|
return n === by ? void 0 : n;
|
|
7988
7988
|
}
|
|
@@ -7991,12 +7991,12 @@ function Ey(e) {
|
|
|
7991
7991
|
var ky = Object.prototype, Oy = ky.hasOwnProperty;
|
|
7992
7992
|
function Iy(e) {
|
|
7993
7993
|
var t = this.__data__;
|
|
7994
|
-
return
|
|
7994
|
+
return Zn ? t[e] !== void 0 : Oy.call(t, e);
|
|
7995
7995
|
}
|
|
7996
7996
|
var My = "__lodash_hash_undefined__";
|
|
7997
7997
|
function By(e, t) {
|
|
7998
7998
|
var n = this.__data__;
|
|
7999
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
7999
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Zn && t === void 0 ? My : t, this;
|
|
8000
8000
|
}
|
|
8001
8001
|
function an(e) {
|
|
8002
8002
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -8013,32 +8013,32 @@ an.prototype.set = By;
|
|
|
8013
8013
|
function Sy() {
|
|
8014
8014
|
this.__data__ = [], this.size = 0;
|
|
8015
8015
|
}
|
|
8016
|
-
function
|
|
8016
|
+
function ri(e, t) {
|
|
8017
8017
|
return e === t || e !== e && t !== t;
|
|
8018
8018
|
}
|
|
8019
|
-
function
|
|
8019
|
+
function Yi(e, t) {
|
|
8020
8020
|
for (var n = e.length; n--; )
|
|
8021
|
-
if (
|
|
8021
|
+
if (ri(e[n][0], t))
|
|
8022
8022
|
return n;
|
|
8023
8023
|
return -1;
|
|
8024
8024
|
}
|
|
8025
8025
|
var xy = Array.prototype, Ry = xy.splice;
|
|
8026
8026
|
function Ty(e) {
|
|
8027
|
-
var t = this.__data__, n =
|
|
8027
|
+
var t = this.__data__, n = Yi(t, e);
|
|
8028
8028
|
if (n < 0)
|
|
8029
8029
|
return !1;
|
|
8030
8030
|
var i = t.length - 1;
|
|
8031
8031
|
return n == i ? t.pop() : Ry.call(t, n, 1), --this.size, !0;
|
|
8032
8032
|
}
|
|
8033
8033
|
function Ly(e) {
|
|
8034
|
-
var t = this.__data__, n =
|
|
8034
|
+
var t = this.__data__, n = Yi(t, e);
|
|
8035
8035
|
return n < 0 ? void 0 : t[n][1];
|
|
8036
8036
|
}
|
|
8037
8037
|
function jy(e) {
|
|
8038
|
-
return
|
|
8038
|
+
return Yi(this.__data__, e) > -1;
|
|
8039
8039
|
}
|
|
8040
8040
|
function Ny(e, t) {
|
|
8041
|
-
var n = this.__data__, i =
|
|
8041
|
+
var n = this.__data__, i = Yi(n, e);
|
|
8042
8042
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
8043
8043
|
}
|
|
8044
8044
|
function Pt(e) {
|
|
@@ -8053,11 +8053,11 @@ Pt.prototype.delete = Ty;
|
|
|
8053
8053
|
Pt.prototype.get = Ly;
|
|
8054
8054
|
Pt.prototype.has = jy;
|
|
8055
8055
|
Pt.prototype.set = Ny;
|
|
8056
|
-
var
|
|
8056
|
+
var Wn = pn(ft, "Map");
|
|
8057
8057
|
function Py() {
|
|
8058
8058
|
this.size = 0, this.__data__ = {
|
|
8059
8059
|
hash: new an(),
|
|
8060
|
-
map: new (
|
|
8060
|
+
map: new (Wn || Pt)(),
|
|
8061
8061
|
string: new an()
|
|
8062
8062
|
};
|
|
8063
8063
|
}
|
|
@@ -8065,22 +8065,22 @@ function Uy(e) {
|
|
|
8065
8065
|
var t = typeof e;
|
|
8066
8066
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
8067
8067
|
}
|
|
8068
|
-
function
|
|
8068
|
+
function Gi(e, t) {
|
|
8069
8069
|
var n = e.__data__;
|
|
8070
8070
|
return Uy(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
8071
8071
|
}
|
|
8072
8072
|
function Dy(e) {
|
|
8073
|
-
var t =
|
|
8073
|
+
var t = Gi(this, e).delete(e);
|
|
8074
8074
|
return this.size -= t ? 1 : 0, t;
|
|
8075
8075
|
}
|
|
8076
8076
|
function Yy(e) {
|
|
8077
|
-
return
|
|
8077
|
+
return Gi(this, e).get(e);
|
|
8078
8078
|
}
|
|
8079
8079
|
function Gy(e) {
|
|
8080
|
-
return
|
|
8080
|
+
return Gi(this, e).has(e);
|
|
8081
8081
|
}
|
|
8082
8082
|
function Vy(e, t) {
|
|
8083
|
-
var n =
|
|
8083
|
+
var n = Gi(this, e), i = n.size;
|
|
8084
8084
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
8085
8085
|
}
|
|
8086
8086
|
function Ut(e) {
|
|
@@ -8133,7 +8133,7 @@ function Qo(e) {
|
|
|
8133
8133
|
return e;
|
|
8134
8134
|
if (ct(e))
|
|
8135
8135
|
return Jy(e, Qo) + "";
|
|
8136
|
-
if (
|
|
8136
|
+
if (Di(e))
|
|
8137
8137
|
return Xs ? Xs.call(e) : "";
|
|
8138
8138
|
var t = e + "";
|
|
8139
8139
|
return t == "0" && 1 / e == -Zy ? "-0" : t;
|
|
@@ -8145,8 +8145,8 @@ function $o(e, t) {
|
|
|
8145
8145
|
return ct(e) ? e : Ha(e, t) ? [e] : Xy(_o(e));
|
|
8146
8146
|
}
|
|
8147
8147
|
var Wy = 1 / 0;
|
|
8148
|
-
function
|
|
8149
|
-
if (typeof e == "string" ||
|
|
8148
|
+
function Vi(e) {
|
|
8149
|
+
if (typeof e == "string" || Di(e))
|
|
8150
8150
|
return e;
|
|
8151
8151
|
var t = e + "";
|
|
8152
8152
|
return t == "0" && 1 / e == -Wy ? "-0" : t;
|
|
@@ -8154,7 +8154,7 @@ function Gi(e) {
|
|
|
8154
8154
|
function el(e, t) {
|
|
8155
8155
|
t = $o(t, e);
|
|
8156
8156
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
8157
|
-
e = e[
|
|
8157
|
+
e = e[Vi(t[n++])];
|
|
8158
8158
|
return n && n == i ? e : void 0;
|
|
8159
8159
|
}
|
|
8160
8160
|
function ve(e, t, n) {
|
|
@@ -8221,7 +8221,7 @@ function iv(e, t) {
|
|
|
8221
8221
|
var n = this.__data__;
|
|
8222
8222
|
if (n instanceof Pt) {
|
|
8223
8223
|
var i = n.__data__;
|
|
8224
|
-
if (!
|
|
8224
|
+
if (!Wn || i.length < nv - 1)
|
|
8225
8225
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
8226
8226
|
n = this.__data__ = new Ut(i);
|
|
8227
8227
|
}
|
|
@@ -8236,7 +8236,7 @@ Bt.prototype.delete = $y;
|
|
|
8236
8236
|
Bt.prototype.get = ev;
|
|
8237
8237
|
Bt.prototype.has = tv;
|
|
8238
8238
|
Bt.prototype.set = iv;
|
|
8239
|
-
var
|
|
8239
|
+
var Ci = function() {
|
|
8240
8240
|
try {
|
|
8241
8241
|
var e = pn(Object, "defineProperty");
|
|
8242
8242
|
return e({}, "", {}), e;
|
|
@@ -8244,7 +8244,7 @@ var wi = function() {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
}();
|
|
8246
8246
|
function nl(e, t, n) {
|
|
8247
|
-
t == "__proto__" &&
|
|
8247
|
+
t == "__proto__" && Ci ? Ci(e, t, {
|
|
8248
8248
|
configurable: !0,
|
|
8249
8249
|
enumerable: !0,
|
|
8250
8250
|
value: n,
|
|
@@ -8254,9 +8254,9 @@ function nl(e, t, n) {
|
|
|
8254
8254
|
var av = Object.prototype, sv = av.hasOwnProperty;
|
|
8255
8255
|
function il(e, t, n) {
|
|
8256
8256
|
var i = e[t];
|
|
8257
|
-
(!(sv.call(e, t) &&
|
|
8257
|
+
(!(sv.call(e, t) && ri(i, n)) || n === void 0 && !(t in e)) && nl(e, t, n);
|
|
8258
8258
|
}
|
|
8259
|
-
function
|
|
8259
|
+
function Hi(e, t, n, i) {
|
|
8260
8260
|
var a = !n;
|
|
8261
8261
|
n || (n = {});
|
|
8262
8262
|
for (var s = -1, r = t.length; ++s < r; ) {
|
|
@@ -8266,7 +8266,7 @@ function Vi(e, t, n, i) {
|
|
|
8266
8266
|
return n;
|
|
8267
8267
|
}
|
|
8268
8268
|
function rv(e, t) {
|
|
8269
|
-
return e &&
|
|
8269
|
+
return e && Hi(t, Sn(t), e);
|
|
8270
8270
|
}
|
|
8271
8271
|
function ov(e) {
|
|
8272
8272
|
var t = [];
|
|
@@ -8279,16 +8279,16 @@ var lv = Object.prototype, uv = lv.hasOwnProperty;
|
|
|
8279
8279
|
function cv(e) {
|
|
8280
8280
|
if (!He(e))
|
|
8281
8281
|
return ov(e);
|
|
8282
|
-
var t =
|
|
8282
|
+
var t = Pi(e), n = [];
|
|
8283
8283
|
for (var i in e)
|
|
8284
8284
|
i == "constructor" && (t || !uv.call(e, i)) || n.push(i);
|
|
8285
8285
|
return n;
|
|
8286
8286
|
}
|
|
8287
|
-
function
|
|
8288
|
-
return
|
|
8287
|
+
function Fi(e) {
|
|
8288
|
+
return Bn(e) ? Jo(e, !0) : cv(e);
|
|
8289
8289
|
}
|
|
8290
8290
|
function dv(e, t) {
|
|
8291
|
-
return e &&
|
|
8291
|
+
return e && Hi(t, Fi(t), e);
|
|
8292
8292
|
}
|
|
8293
8293
|
var al = typeof exports == "object" && exports && !exports.nodeType && exports, Js = al && typeof module == "object" && module && !module.nodeType && module, pv = Js && Js.exports === al, Zs = pv ? ft.Buffer : void 0, Ws = Zs ? Zs.allocUnsafe : void 0;
|
|
8294
8294
|
function gv(e, t) {
|
|
@@ -8319,7 +8319,7 @@ var Av = Object.prototype, hv = Av.propertyIsEnumerable, Qs = Object.getOwnPrope
|
|
|
8319
8319
|
}));
|
|
8320
8320
|
} : sl;
|
|
8321
8321
|
function yv(e, t) {
|
|
8322
|
-
return
|
|
8322
|
+
return Hi(e, za(e), t);
|
|
8323
8323
|
}
|
|
8324
8324
|
function rl(e, t) {
|
|
8325
8325
|
for (var n = -1, i = t.length, a = e.length; ++n < i; )
|
|
@@ -8334,20 +8334,20 @@ var bv = Object.getOwnPropertySymbols, ll = bv ? function(e) {
|
|
|
8334
8334
|
return t;
|
|
8335
8335
|
} : sl;
|
|
8336
8336
|
function wv(e, t) {
|
|
8337
|
-
return
|
|
8337
|
+
return Hi(e, ll(e), t);
|
|
8338
8338
|
}
|
|
8339
8339
|
function ul(e, t, n) {
|
|
8340
8340
|
var i = t(e);
|
|
8341
8341
|
return ct(e) ? i : rl(i, n(e));
|
|
8342
8342
|
}
|
|
8343
8343
|
function ua(e) {
|
|
8344
|
-
return ul(e,
|
|
8344
|
+
return ul(e, Sn, za);
|
|
8345
8345
|
}
|
|
8346
8346
|
function Cv(e) {
|
|
8347
|
-
return ul(e,
|
|
8347
|
+
return ul(e, Fi, ll);
|
|
8348
8348
|
}
|
|
8349
|
-
var ca = pn(ft, "DataView"), da = pn(ft, "Promise"),
|
|
8350
|
-
(ca && _t(new ca(new ArrayBuffer(1))) != nr ||
|
|
8349
|
+
var ca = pn(ft, "DataView"), da = pn(ft, "Promise"), Cn = pn(ft, "Set"), pa = pn(ft, "WeakMap"), _s = "[object Map]", Ev = "[object Object]", $s = "[object Promise]", er = "[object Set]", tr = "[object WeakMap]", nr = "[object DataView]", kv = dn(ca), Ov = dn(Wn), Iv = dn(da), Mv = dn(Cn), Bv = dn(pa), _t = Xt;
|
|
8350
|
+
(ca && _t(new ca(new ArrayBuffer(1))) != nr || Wn && _t(new Wn()) != _s || da && _t(da.resolve()) != $s || Cn && _t(new Cn()) != er || pa && _t(new pa()) != tr) && (_t = function(e) {
|
|
8351
8351
|
var t = Xt(e), n = t == Ev ? e.constructor : void 0, i = n ? dn(n) : "";
|
|
8352
8352
|
if (i)
|
|
8353
8353
|
switch (i) {
|
|
@@ -8364,16 +8364,16 @@ var ca = pn(ft, "DataView"), da = pn(ft, "Promise"), wn = pn(ft, "Set"), pa = pn
|
|
|
8364
8364
|
}
|
|
8365
8365
|
return t;
|
|
8366
8366
|
});
|
|
8367
|
-
const
|
|
8367
|
+
const On = _t;
|
|
8368
8368
|
var Sv = Object.prototype, xv = Sv.hasOwnProperty;
|
|
8369
8369
|
function Rv(e) {
|
|
8370
8370
|
var t = e.length, n = new e.constructor(t);
|
|
8371
8371
|
return t && typeof e[0] == "string" && xv.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
8372
8372
|
}
|
|
8373
|
-
var
|
|
8373
|
+
var Ei = ft.Uint8Array;
|
|
8374
8374
|
function Ka(e) {
|
|
8375
8375
|
var t = new e.constructor(e.byteLength);
|
|
8376
|
-
return new
|
|
8376
|
+
return new Ei(t).set(new Ei(e)), t;
|
|
8377
8377
|
}
|
|
8378
8378
|
function Tv(e, t) {
|
|
8379
8379
|
var n = t ? Ka(e.buffer) : e.buffer;
|
|
@@ -8440,20 +8440,20 @@ var sr = Object.create, ib = /* @__PURE__ */ function() {
|
|
|
8440
8440
|
};
|
|
8441
8441
|
}();
|
|
8442
8442
|
function ab(e) {
|
|
8443
|
-
return typeof e.constructor == "function" && !
|
|
8443
|
+
return typeof e.constructor == "function" && !Pi(e) ? ib(ol(e)) : {};
|
|
8444
8444
|
}
|
|
8445
8445
|
var sb = "[object Map]";
|
|
8446
8446
|
function rb(e) {
|
|
8447
|
-
return Rt(e) &&
|
|
8447
|
+
return Rt(e) && On(e) == sb;
|
|
8448
8448
|
}
|
|
8449
|
-
var rr =
|
|
8449
|
+
var rr = kn && kn.isMap, ob = rr ? Ga(rr) : rb, lb = "[object Set]";
|
|
8450
8450
|
function ub(e) {
|
|
8451
|
-
return Rt(e) &&
|
|
8451
|
+
return Rt(e) && On(e) == lb;
|
|
8452
8452
|
}
|
|
8453
|
-
var or =
|
|
8453
|
+
var or = kn && kn.isSet, cb = or ? Ga(or) : ub, db = 1, pb = 2, gb = 4, cl = "[object Arguments]", mb = "[object Array]", fb = "[object Boolean]", Ab = "[object Date]", hb = "[object Error]", dl = "[object Function]", yb = "[object GeneratorFunction]", vb = "[object Map]", bb = "[object Number]", pl = "[object Object]", wb = "[object RegExp]", Cb = "[object Set]", Eb = "[object String]", kb = "[object Symbol]", Ob = "[object WeakMap]", Ib = "[object ArrayBuffer]", Mb = "[object DataView]", Bb = "[object Float32Array]", Sb = "[object Float64Array]", xb = "[object Int8Array]", Rb = "[object Int16Array]", Tb = "[object Int32Array]", Lb = "[object Uint8Array]", jb = "[object Uint8ClampedArray]", Nb = "[object Uint16Array]", Pb = "[object Uint32Array]", Be = {};
|
|
8454
8454
|
Be[cl] = Be[mb] = Be[Ib] = Be[Mb] = Be[fb] = Be[Ab] = Be[Bb] = Be[Sb] = Be[xb] = Be[Rb] = Be[Tb] = Be[vb] = Be[bb] = Be[pl] = Be[wb] = Be[Cb] = Be[Eb] = Be[kb] = Be[Lb] = Be[jb] = Be[Nb] = Be[Pb] = !0;
|
|
8455
8455
|
Be[hb] = Be[dl] = Be[Ob] = !1;
|
|
8456
|
-
function
|
|
8456
|
+
function Vn(e, t, n, i, a, s) {
|
|
8457
8457
|
var r, o = t & db, l = t & pb, u = t & gb;
|
|
8458
8458
|
if (n && (r = a ? n(e, i, a, s) : n(e)), r !== void 0)
|
|
8459
8459
|
return r;
|
|
@@ -8464,8 +8464,8 @@ function Gn(e, t, n, i, a, s) {
|
|
|
8464
8464
|
if (r = Rv(e), !o)
|
|
8465
8465
|
return mv(e, r);
|
|
8466
8466
|
} else {
|
|
8467
|
-
var g =
|
|
8468
|
-
if (
|
|
8467
|
+
var g = On(e), f = g == dl || g == yb;
|
|
8468
|
+
if (Jn(e))
|
|
8469
8469
|
return gv(e, o);
|
|
8470
8470
|
if (g == pl || g == cl || f && !a) {
|
|
8471
8471
|
if (r = l || f ? {} : ab(e), !o)
|
|
@@ -8481,18 +8481,18 @@ function Gn(e, t, n, i, a, s) {
|
|
|
8481
8481
|
if (v)
|
|
8482
8482
|
return v;
|
|
8483
8483
|
s.set(e, r), cb(e) ? e.forEach(function(O) {
|
|
8484
|
-
r.add(
|
|
8484
|
+
r.add(Vn(O, t, n, O, e, s));
|
|
8485
8485
|
}) : ob(e) && e.forEach(function(O, I) {
|
|
8486
|
-
r.set(I,
|
|
8486
|
+
r.set(I, Vn(O, t, n, I, e, s));
|
|
8487
8487
|
});
|
|
8488
|
-
var M = u ? l ? Cv : ua : l ?
|
|
8488
|
+
var M = u ? l ? Cv : ua : l ? Fi : Sn, C = c ? void 0 : M(e);
|
|
8489
8489
|
return Ho(C || e, function(O, I) {
|
|
8490
|
-
C && (I = O, O = e[I]), il(r, I,
|
|
8490
|
+
C && (I = O, O = e[I]), il(r, I, Vn(O, t, n, I, e, s));
|
|
8491
8491
|
}), r;
|
|
8492
8492
|
}
|
|
8493
8493
|
var Ub = 1, Db = 4;
|
|
8494
8494
|
function jt(e) {
|
|
8495
|
-
return
|
|
8495
|
+
return Vn(e, Ub | Db);
|
|
8496
8496
|
}
|
|
8497
8497
|
const qa = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), lr = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
8498
8498
|
var Qi = function() {
|
|
@@ -8511,7 +8511,7 @@ var ur = NaN, Fb = /^[-+]0x[0-9a-f]+$/i, zb = /^0b[01]+$/i, Kb = /^0o[0-7]+$/i,
|
|
|
8511
8511
|
function ga(e) {
|
|
8512
8512
|
if (typeof e == "number")
|
|
8513
8513
|
return e;
|
|
8514
|
-
if (
|
|
8514
|
+
if (Di(e))
|
|
8515
8515
|
return ur;
|
|
8516
8516
|
if (He(e)) {
|
|
8517
8517
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -8524,7 +8524,7 @@ function ga(e) {
|
|
|
8524
8524
|
return n || Kb.test(e) ? qb(e.slice(2), n ? 2 : 8) : Fb.test(e) ? ur : +e;
|
|
8525
8525
|
}
|
|
8526
8526
|
var Xb = "Expected a function", Jb = Math.max, Zb = Math.min;
|
|
8527
|
-
function
|
|
8527
|
+
function Qn(e, t, n) {
|
|
8528
8528
|
var i, a, s, r, o, l, u = 0, c = !1, g = !1, f = !0;
|
|
8529
8529
|
if (typeof e != "function")
|
|
8530
8530
|
throw new TypeError(Xb);
|
|
@@ -8578,13 +8578,13 @@ function Qb(e) {
|
|
|
8578
8578
|
function _b(e) {
|
|
8579
8579
|
return this.__data__.has(e);
|
|
8580
8580
|
}
|
|
8581
|
-
function
|
|
8581
|
+
function _n(e) {
|
|
8582
8582
|
var t = -1, n = e == null ? 0 : e.length;
|
|
8583
8583
|
for (this.__data__ = new Ut(); ++t < n; )
|
|
8584
8584
|
this.add(e[t]);
|
|
8585
8585
|
}
|
|
8586
|
-
|
|
8587
|
-
|
|
8586
|
+
_n.prototype.add = _n.prototype.push = Qb;
|
|
8587
|
+
_n.prototype.has = _b;
|
|
8588
8588
|
function gl(e, t, n, i) {
|
|
8589
8589
|
for (var a = e.length, s = n + (i ? 1 : -1); i ? s-- : ++s < a; )
|
|
8590
8590
|
if (t(e[s], s, e))
|
|
@@ -8624,8 +8624,8 @@ function Xa(e) {
|
|
|
8624
8624
|
n[++t] = i;
|
|
8625
8625
|
}), n;
|
|
8626
8626
|
}
|
|
8627
|
-
var s1 = 1 / 0, r1 =
|
|
8628
|
-
return new
|
|
8627
|
+
var s1 = 1 / 0, r1 = Cn && 1 / Xa(new Cn([, -0]))[1] == s1 ? function(e) {
|
|
8628
|
+
return new Cn(e);
|
|
8629
8629
|
} : a1, o1 = 200;
|
|
8630
8630
|
function l1(e, t, n) {
|
|
8631
8631
|
var i = -1, a = n1, s = e.length, r = !0, o = [], l = o;
|
|
@@ -8635,7 +8635,7 @@ function l1(e, t, n) {
|
|
|
8635
8635
|
var u = t ? null : r1(e);
|
|
8636
8636
|
if (u)
|
|
8637
8637
|
return Xa(u);
|
|
8638
|
-
r = !1, a = ml, l = new
|
|
8638
|
+
r = !1, a = ml, l = new _n();
|
|
8639
8639
|
} else
|
|
8640
8640
|
l = t ? [] : o;
|
|
8641
8641
|
e:
|
|
@@ -8688,14 +8688,14 @@ function p1(e) {
|
|
|
8688
8688
|
return e;
|
|
8689
8689
|
};
|
|
8690
8690
|
}
|
|
8691
|
-
var g1 =
|
|
8692
|
-
return
|
|
8691
|
+
var g1 = Ci ? function(e, t) {
|
|
8692
|
+
return Ci(e, "toString", {
|
|
8693
8693
|
configurable: !0,
|
|
8694
8694
|
enumerable: !1,
|
|
8695
8695
|
value: p1(t),
|
|
8696
8696
|
writable: !0
|
|
8697
8697
|
});
|
|
8698
|
-
} :
|
|
8698
|
+
} : Ui;
|
|
8699
8699
|
const m1 = g1;
|
|
8700
8700
|
var f1 = 800, A1 = 16, h1 = Date.now;
|
|
8701
8701
|
function y1(e) {
|
|
@@ -8712,21 +8712,21 @@ function y1(e) {
|
|
|
8712
8712
|
}
|
|
8713
8713
|
var v1 = y1(m1);
|
|
8714
8714
|
function b1(e, t) {
|
|
8715
|
-
return v1(d1(e, t,
|
|
8715
|
+
return v1(d1(e, t, Ui), e + "");
|
|
8716
8716
|
}
|
|
8717
8717
|
function w1(e, t, n) {
|
|
8718
8718
|
if (!He(n))
|
|
8719
8719
|
return !1;
|
|
8720
8720
|
var i = typeof t;
|
|
8721
|
-
return (i == "number" ?
|
|
8721
|
+
return (i == "number" ? Bn(n) && Da(t, n.length) : i == "string" && t in n) ? ri(n[t], e) : !1;
|
|
8722
8722
|
}
|
|
8723
8723
|
var hl = Object.prototype, C1 = hl.hasOwnProperty, Jt = b1(function(e, t) {
|
|
8724
8724
|
e = Object(e);
|
|
8725
8725
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
8726
8726
|
for (a && w1(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
8727
|
-
for (var s = t[n], r =
|
|
8727
|
+
for (var s = t[n], r = Fi(s), o = -1, l = r.length; ++o < l; ) {
|
|
8728
8728
|
var u = r[o], c = e[u];
|
|
8729
|
-
(c === void 0 ||
|
|
8729
|
+
(c === void 0 || ri(c, hl[u]) && !C1.call(e, u)) && (e[u] = s[u]);
|
|
8730
8730
|
}
|
|
8731
8731
|
return e;
|
|
8732
8732
|
}), E1 = ft.isFinite;
|
|
@@ -8754,7 +8754,7 @@ var B1 = "[object Number]";
|
|
|
8754
8754
|
function ma(e) {
|
|
8755
8755
|
return typeof e == "number" || Rt(e) && Xt(e) == B1;
|
|
8756
8756
|
}
|
|
8757
|
-
var vl = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Gt = "\\d\\d?", Yt = "\\d\\d", S1 = "\\d{3}", x1 = "\\d{4}",
|
|
8757
|
+
var vl = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, Gt = "\\d\\d?", Yt = "\\d\\d", S1 = "\\d{3}", x1 = "\\d{4}", Hn = "[^\\s]+", bl = /\[([^]*?)\]/gm;
|
|
8758
8758
|
function wl(e, t) {
|
|
8759
8759
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
8760
8760
|
n.push(e[i].substr(0, t));
|
|
@@ -8808,8 +8808,8 @@ var Cl = [
|
|
|
8808
8808
|
DoFn: function(e) {
|
|
8809
8809
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
8810
8810
|
}
|
|
8811
|
-
},
|
|
8812
|
-
return
|
|
8811
|
+
}, ki = rn({}, kl), L1 = function(e) {
|
|
8812
|
+
return ki = rn(ki, e);
|
|
8813
8813
|
}, gr = function(e) {
|
|
8814
8814
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
8815
8815
|
}, at = function(e, t) {
|
|
@@ -8905,9 +8905,9 @@ var Cl = [
|
|
|
8905
8905
|
}
|
|
8906
8906
|
}, mr = function(e) {
|
|
8907
8907
|
return +e - 1;
|
|
8908
|
-
}, fr = [null, Gt], Ar = [null,
|
|
8908
|
+
}, fr = [null, Gt], Ar = [null, Hn], hr = [
|
|
8909
8909
|
"isPm",
|
|
8910
|
-
|
|
8910
|
+
Hn,
|
|
8911
8911
|
function(e, t) {
|
|
8912
8912
|
var n = e.toLowerCase();
|
|
8913
8913
|
return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
|
|
@@ -8926,7 +8926,7 @@ var Cl = [
|
|
|
8926
8926
|
], N1 = {
|
|
8927
8927
|
D: ["day", Gt],
|
|
8928
8928
|
DD: ["day", Yt],
|
|
8929
|
-
Do: ["day", Gt +
|
|
8929
|
+
Do: ["day", Gt + Hn, function(e) {
|
|
8930
8930
|
return parseInt(e, 10);
|
|
8931
8931
|
}],
|
|
8932
8932
|
M: ["month", Gt, mr],
|
|
@@ -8959,13 +8959,13 @@ var Cl = [
|
|
|
8959
8959
|
dd: fr,
|
|
8960
8960
|
ddd: Ar,
|
|
8961
8961
|
dddd: Ar,
|
|
8962
|
-
MMM: ["month",
|
|
8963
|
-
MMMM: ["month",
|
|
8962
|
+
MMM: ["month", Hn, pr("monthNamesShort")],
|
|
8963
|
+
MMMM: ["month", Hn, pr("monthNames")],
|
|
8964
8964
|
a: hr,
|
|
8965
8965
|
A: hr,
|
|
8966
8966
|
ZZ: yr,
|
|
8967
8967
|
Z: yr
|
|
8968
|
-
},
|
|
8968
|
+
}, Oi = {
|
|
8969
8969
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
8970
8970
|
shortDate: "M/D/YY",
|
|
8971
8971
|
mediumDate: "MMM D, YYYY",
|
|
@@ -8977,16 +8977,16 @@ var Cl = [
|
|
|
8977
8977
|
mediumTime: "HH:mm:ss",
|
|
8978
8978
|
longTime: "HH:mm:ss.SSS"
|
|
8979
8979
|
}, P1 = function(e) {
|
|
8980
|
-
return rn(
|
|
8980
|
+
return rn(Oi, e);
|
|
8981
8981
|
}, U1 = function(e, t, n) {
|
|
8982
|
-
if (t === void 0 && (t =
|
|
8982
|
+
if (t === void 0 && (t = Oi.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
|
|
8983
8983
|
throw new Error("Invalid Date pass to format");
|
|
8984
|
-
t =
|
|
8984
|
+
t = Oi[t] || t;
|
|
8985
8985
|
var i = [];
|
|
8986
8986
|
t = t.replace(bl, function(s, r) {
|
|
8987
8987
|
return i.push(r), "@@@";
|
|
8988
8988
|
});
|
|
8989
|
-
var a = rn(rn({},
|
|
8989
|
+
var a = rn(rn({}, ki), n);
|
|
8990
8990
|
return t = t.replace(vl, function(s) {
|
|
8991
8991
|
return j1[s](e, a);
|
|
8992
8992
|
}), t.replace(/@@@/g, function() {
|
|
@@ -8996,7 +8996,7 @@ var Cl = [
|
|
|
8996
8996
|
function D1(e, t, n) {
|
|
8997
8997
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
8998
8998
|
throw new Error("Invalid format in fecha parse");
|
|
8999
|
-
if (t =
|
|
8999
|
+
if (t = Oi[t] || t, e.length > 1e3)
|
|
9000
9000
|
return null;
|
|
9001
9001
|
var i = /* @__PURE__ */ new Date(), a = {
|
|
9002
9002
|
year: i.getFullYear(),
|
|
@@ -9025,7 +9025,7 @@ function D1(e, t, n) {
|
|
|
9025
9025
|
var c = e.match(new RegExp(o, "i"));
|
|
9026
9026
|
if (!c)
|
|
9027
9027
|
return null;
|
|
9028
|
-
for (var g = rn(rn({},
|
|
9028
|
+
for (var g = rn(rn({}, ki), n), f = 1; f < c.length; f++) {
|
|
9029
9029
|
var v = s[f - 1], M = v[0], C = v[2], O = C ? C(c[f], g) : +c[f];
|
|
9030
9030
|
if (O == null)
|
|
9031
9031
|
return null;
|
|
@@ -9279,7 +9279,7 @@ const Ce = {
|
|
|
9279
9279
|
return t ? Promise.all(n).then(i) : i(n);
|
|
9280
9280
|
},
|
|
9281
9281
|
debouncedValidate() {
|
|
9282
|
-
be(this.debouncedValidateFunc) || (this.debouncedValidateFunc =
|
|
9282
|
+
be(this.debouncedValidateFunc) || (this.debouncedValidateFunc = Qn(
|
|
9283
9283
|
this.validate.bind(this),
|
|
9284
9284
|
ve(this.schema, "validateDebounceTime", ve(this.formOptions, "validateDebounceTime", 500))
|
|
9285
9285
|
)), this.debouncedValidateFunc();
|
|
@@ -9353,7 +9353,7 @@ const me = (e, t) => {
|
|
|
9353
9353
|
}, H1 = /* @__PURE__ */ me(Y1, [["render", V1]]);
|
|
9354
9354
|
var F1 = 4;
|
|
9355
9355
|
function br(e) {
|
|
9356
|
-
return
|
|
9356
|
+
return Vn(e, F1);
|
|
9357
9357
|
}
|
|
9358
9358
|
const z1 = { class: "wrapper" }, K1 = ["disabled"], q1 = ["id", "checked", "disabled", "onChange", "name"], X1 = ["disabled"], J1 = { class: "info" }, Z1 = /* @__PURE__ */ y("div", { class: "arrow" }, null, -1), W1 = { class: "dropList" }, Q1 = ["id", "checked", "disabled", "onChange", "name"];
|
|
9359
9359
|
function _1(e, t, n, i, a, s) {
|
|
@@ -9522,7 +9522,7 @@ function t0(e) {
|
|
|
9522
9522
|
};
|
|
9523
9523
|
return x ? Promise.all(D).then(E) : E(D);
|
|
9524
9524
|
}, r = () => {
|
|
9525
|
-
be(n.value) ? n.value() : n.value =
|
|
9525
|
+
be(n.value) ? n.value() : n.value = Qn(
|
|
9526
9526
|
s,
|
|
9527
9527
|
ve(e.schema, "validateDebounceTime", ve(e.formOptions, "validateDebounceTime", 500))
|
|
9528
9528
|
);
|
|
@@ -9642,11 +9642,11 @@ const Ol = {
|
|
|
9642
9642
|
var I;
|
|
9643
9643
|
be(C.value) && ((I = C.value) == null || I.flush());
|
|
9644
9644
|
};
|
|
9645
|
-
return
|
|
9645
|
+
return Si(() => {
|
|
9646
9646
|
switch (c.value) {
|
|
9647
9647
|
case "number":
|
|
9648
9648
|
case "range":
|
|
9649
|
-
C.value =
|
|
9649
|
+
C.value = Qn(
|
|
9650
9650
|
(I, x) => {
|
|
9651
9651
|
v(I, x);
|
|
9652
9652
|
},
|
|
@@ -9660,7 +9660,7 @@ const Ol = {
|
|
|
9660
9660
|
case "date":
|
|
9661
9661
|
case "datetime":
|
|
9662
9662
|
case "datetime-local":
|
|
9663
|
-
C.value =
|
|
9663
|
+
C.value = Qn(
|
|
9664
9664
|
(I, x) => {
|
|
9665
9665
|
f(I, x);
|
|
9666
9666
|
},
|
|
@@ -9846,7 +9846,7 @@ function Ml(e, t, n, i, a, s) {
|
|
|
9846
9846
|
var u = s.get(e), c = s.get(t);
|
|
9847
9847
|
if (u && c)
|
|
9848
9848
|
return u == t && c == e;
|
|
9849
|
-
var g = -1, f = !0, v = n & g0 ? new
|
|
9849
|
+
var g = -1, f = !0, v = n & g0 ? new _n() : void 0;
|
|
9850
9850
|
for (s.set(e, t), s.set(t, e); ++g < o; ) {
|
|
9851
9851
|
var M = e[g], C = t[g];
|
|
9852
9852
|
if (i)
|
|
@@ -9886,11 +9886,11 @@ function B0(e, t, n, i, a, s, r) {
|
|
|
9886
9886
|
return !1;
|
|
9887
9887
|
e = e.buffer, t = t.buffer;
|
|
9888
9888
|
case I0:
|
|
9889
|
-
return !(e.byteLength != t.byteLength || !s(new
|
|
9889
|
+
return !(e.byteLength != t.byteLength || !s(new Ei(e), new Ei(t)));
|
|
9890
9890
|
case h0:
|
|
9891
9891
|
case y0:
|
|
9892
9892
|
case w0:
|
|
9893
|
-
return
|
|
9893
|
+
return ri(+e, +t);
|
|
9894
9894
|
case v0:
|
|
9895
9895
|
return e.name == t.name && e.message == t.message;
|
|
9896
9896
|
case C0:
|
|
@@ -9946,13 +9946,13 @@ function T0(e, t, n, i, a, s) {
|
|
|
9946
9946
|
}
|
|
9947
9947
|
return s.delete(e), s.delete(t), C;
|
|
9948
9948
|
}
|
|
9949
|
-
var L0 = 1, Cr = "[object Arguments]", Er = "[object Array]",
|
|
9949
|
+
var L0 = 1, Cr = "[object Arguments]", Er = "[object Array]", pi = "[object Object]", j0 = Object.prototype, kr = j0.hasOwnProperty;
|
|
9950
9950
|
function N0(e, t, n, i, a, s) {
|
|
9951
|
-
var r = ct(e), o = ct(t), l = r ? Er :
|
|
9952
|
-
l = l == Cr ?
|
|
9953
|
-
var c = l ==
|
|
9954
|
-
if (f &&
|
|
9955
|
-
if (!
|
|
9951
|
+
var r = ct(e), o = ct(t), l = r ? Er : On(e), u = o ? Er : On(t);
|
|
9952
|
+
l = l == Cr ? pi : l, u = u == Cr ? pi : u;
|
|
9953
|
+
var c = l == pi, g = u == pi, f = l == u;
|
|
9954
|
+
if (f && Jn(e)) {
|
|
9955
|
+
if (!Jn(t))
|
|
9956
9956
|
return !1;
|
|
9957
9957
|
r = !0, c = !1;
|
|
9958
9958
|
}
|
|
@@ -10000,7 +10000,7 @@ function Bl(e) {
|
|
|
10000
10000
|
return e === e && !He(e);
|
|
10001
10001
|
}
|
|
10002
10002
|
function Y0(e) {
|
|
10003
|
-
for (var t =
|
|
10003
|
+
for (var t = Sn(e), n = t.length; n--; ) {
|
|
10004
10004
|
var i = t[n], a = e[i];
|
|
10005
10005
|
t[n] = [i, a, Bl(a)];
|
|
10006
10006
|
}
|
|
@@ -10023,7 +10023,7 @@ function V0(e, t) {
|
|
|
10023
10023
|
function H0(e, t, n) {
|
|
10024
10024
|
t = $o(t, e);
|
|
10025
10025
|
for (var i = -1, a = t.length, s = !1; ++i < a; ) {
|
|
10026
|
-
var r =
|
|
10026
|
+
var r = Vi(t[i]);
|
|
10027
10027
|
if (!(s = e != null && n(e, r)))
|
|
10028
10028
|
break;
|
|
10029
10029
|
e = e[r];
|
|
@@ -10035,7 +10035,7 @@ function F0(e, t) {
|
|
|
10035
10035
|
}
|
|
10036
10036
|
var z0 = 1, K0 = 2;
|
|
10037
10037
|
function q0(e, t) {
|
|
10038
|
-
return Ha(e) && Bl(t) ? Sl(
|
|
10038
|
+
return Ha(e) && Bl(t) ? Sl(Vi(e), t) : function(n) {
|
|
10039
10039
|
var i = ve(n, e);
|
|
10040
10040
|
return i === void 0 && i === t ? F0(n, e) : Ja(t, i, z0 | K0);
|
|
10041
10041
|
};
|
|
@@ -10051,17 +10051,17 @@ function J0(e) {
|
|
|
10051
10051
|
};
|
|
10052
10052
|
}
|
|
10053
10053
|
function Z0(e) {
|
|
10054
|
-
return Ha(e) ? X0(
|
|
10054
|
+
return Ha(e) ? X0(Vi(e)) : J0(e);
|
|
10055
10055
|
}
|
|
10056
10056
|
function xl(e) {
|
|
10057
|
-
return typeof e == "function" ? e : e == null ?
|
|
10057
|
+
return typeof e == "function" ? e : e == null ? Ui : typeof e == "object" ? ct(e) ? q0(e[0], e[1]) : G0(e) : Z0(e);
|
|
10058
10058
|
}
|
|
10059
10059
|
function W0(e) {
|
|
10060
10060
|
return function(t, n, i) {
|
|
10061
10061
|
var a = Object(t);
|
|
10062
|
-
if (!
|
|
10062
|
+
if (!Bn(t)) {
|
|
10063
10063
|
var s = xl(n);
|
|
10064
|
-
t =
|
|
10064
|
+
t = Sn(t), n = function(o) {
|
|
10065
10065
|
return s(a[o], o, a);
|
|
10066
10066
|
};
|
|
10067
10067
|
}
|
|
@@ -10174,12 +10174,12 @@ var ow = "[object Map]", lw = "[object Set]", uw = Object.prototype, cw = uw.has
|
|
|
10174
10174
|
function dw(e) {
|
|
10175
10175
|
if (e == null)
|
|
10176
10176
|
return !0;
|
|
10177
|
-
if (
|
|
10177
|
+
if (Bn(e) && (ct(e) || typeof e == "string" || typeof e.splice == "function" || Jn(e) || Va(e) || Ua(e)))
|
|
10178
10178
|
return !e.length;
|
|
10179
|
-
var t =
|
|
10179
|
+
var t = On(e);
|
|
10180
10180
|
if (t == ow || t == lw)
|
|
10181
10181
|
return !e.size;
|
|
10182
|
-
if (
|
|
10182
|
+
if (Pi(e))
|
|
10183
10183
|
return !Wo(e).length;
|
|
10184
10184
|
for (var n in e)
|
|
10185
10185
|
if (cw.call(e, n))
|
|
@@ -10482,7 +10482,7 @@ function Vw(e, t, n, i, a, s) {
|
|
|
10482
10482
|
placeholder: e.schema.placeholder,
|
|
10483
10483
|
readonly: e.schema.readonly
|
|
10484
10484
|
}, null, 8, Yw), [
|
|
10485
|
-
[
|
|
10485
|
+
[yt, e.schema.hideInput !== !0],
|
|
10486
10486
|
[gt, s.wrappedValue]
|
|
10487
10487
|
]),
|
|
10488
10488
|
e.schema.browse !== !1 ? (d(), h("input", {
|
|
@@ -10495,7 +10495,7 @@ function Vw(e, t, n, i, a, s) {
|
|
|
10495
10495
|
}, null, 40, Gw)) : X("", !0),
|
|
10496
10496
|
y("div", {
|
|
10497
10497
|
class: "preview",
|
|
10498
|
-
style:
|
|
10498
|
+
style: bt(s.previewStyle)
|
|
10499
10499
|
}, [
|
|
10500
10500
|
y("div", {
|
|
10501
10501
|
class: "remove",
|
|
@@ -11033,7 +11033,7 @@ function HC(e, t, n, i, a, s) {
|
|
|
11033
11033
|
[o, a.attributes]
|
|
11034
11034
|
]);
|
|
11035
11035
|
}
|
|
11036
|
-
const jl = /* @__PURE__ */ me(MC, [["render", HC]]),
|
|
11036
|
+
const jl = /* @__PURE__ */ me(MC, [["render", HC]]), In = "24px", Za = (e, t) => {
|
|
11037
11037
|
const n = e.__vccOpts || e;
|
|
11038
11038
|
for (const [i, a] of t)
|
|
11039
11039
|
n[i] = a;
|
|
@@ -11075,7 +11075,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11075
11075
|
size: {
|
|
11076
11076
|
type: [Number, String],
|
|
11077
11077
|
required: !1,
|
|
11078
|
-
default:
|
|
11078
|
+
default: In,
|
|
11079
11079
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11080
11080
|
validator: (e) => {
|
|
11081
11081
|
if (typeof e == "number" && e > 0)
|
|
@@ -11104,7 +11104,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11104
11104
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11105
11105
|
return `${s}px`;
|
|
11106
11106
|
}
|
|
11107
|
-
return
|
|
11107
|
+
return In;
|
|
11108
11108
|
}), i = T(() => ({
|
|
11109
11109
|
boxSizing: "border-box",
|
|
11110
11110
|
color: t.color,
|
|
@@ -11117,7 +11117,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11117
11117
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11118
11118
|
class: "kui-icon add-icon",
|
|
11119
11119
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
11120
|
-
style:
|
|
11120
|
+
style: bt(i.value)
|
|
11121
11121
|
}, {
|
|
11122
11122
|
default: w(() => [
|
|
11123
11123
|
(d(), h("svg", {
|
|
@@ -11174,7 +11174,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11174
11174
|
size: {
|
|
11175
11175
|
type: [Number, String],
|
|
11176
11176
|
required: !1,
|
|
11177
|
-
default:
|
|
11177
|
+
default: In,
|
|
11178
11178
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11179
11179
|
validator: (e) => {
|
|
11180
11180
|
if (typeof e == "number" && e > 0)
|
|
@@ -11203,7 +11203,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11203
11203
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11204
11204
|
return `${s}px`;
|
|
11205
11205
|
}
|
|
11206
|
-
return
|
|
11206
|
+
return In;
|
|
11207
11207
|
}), i = T(() => ({
|
|
11208
11208
|
boxSizing: "border-box",
|
|
11209
11209
|
color: t.color,
|
|
@@ -11216,7 +11216,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11216
11216
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11217
11217
|
class: "kui-icon remove-icon",
|
|
11218
11218
|
"data-testid": "kui-icon-wrapper-remove-icon",
|
|
11219
|
-
style:
|
|
11219
|
+
style: bt(i.value)
|
|
11220
11220
|
}, {
|
|
11221
11221
|
default: w(() => [
|
|
11222
11222
|
(d(), h("svg", {
|
|
@@ -11273,7 +11273,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11273
11273
|
size: {
|
|
11274
11274
|
type: [Number, String],
|
|
11275
11275
|
required: !1,
|
|
11276
|
-
default:
|
|
11276
|
+
default: In,
|
|
11277
11277
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11278
11278
|
validator: (e) => {
|
|
11279
11279
|
if (typeof e == "number" && e > 0)
|
|
@@ -11302,7 +11302,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11302
11302
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11303
11303
|
return `${s}px`;
|
|
11304
11304
|
}
|
|
11305
|
-
return
|
|
11305
|
+
return In;
|
|
11306
11306
|
}), i = T(() => ({
|
|
11307
11307
|
boxSizing: "border-box",
|
|
11308
11308
|
color: t.color,
|
|
@@ -11315,7 +11315,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11315
11315
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11316
11316
|
class: "kui-icon trash-icon",
|
|
11317
11317
|
"data-testid": "kui-icon-wrapper-trash-icon",
|
|
11318
|
-
style:
|
|
11318
|
+
style: bt(i.value)
|
|
11319
11319
|
}, {
|
|
11320
11320
|
default: w(() => [
|
|
11321
11321
|
(d(), h("svg", {
|
|
@@ -11335,9 +11335,9 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11335
11335
|
_: 1
|
|
11336
11336
|
}, 8, ["aria-hidden", "style"]));
|
|
11337
11337
|
}
|
|
11338
|
-
}),
|
|
11338
|
+
}), oi = /* @__PURE__ */ Za(aE, [["__scopeId", "data-v-b199fa56"]]), sE = {
|
|
11339
11339
|
components: {
|
|
11340
|
-
TrashIcon:
|
|
11340
|
+
TrashIcon: oi
|
|
11341
11341
|
},
|
|
11342
11342
|
mixins: [Ce],
|
|
11343
11343
|
emits: ["model-updated"],
|
|
@@ -11530,7 +11530,7 @@ const Ul = /* @__PURE__ */ me(sE, [["render", vE], ["__scopeId", "data-v-b35063f
|
|
|
11530
11530
|
onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
|
|
11531
11531
|
}, {
|
|
11532
11532
|
default: w(() => [
|
|
11533
|
-
R(b(
|
|
11533
|
+
R(b(oi))
|
|
11534
11534
|
]),
|
|
11535
11535
|
_: 1
|
|
11536
11536
|
})
|
|
@@ -11561,7 +11561,7 @@ const Ul = /* @__PURE__ */ me(sE, [["render", vE], ["__scopeId", "data-v-b35063f
|
|
|
11561
11561
|
}
|
|
11562
11562
|
}), Yl = /* @__PURE__ */ me(OE, [["__scopeId", "data-v-27d212bd"]]), IE = {
|
|
11563
11563
|
name: "FieldMetric",
|
|
11564
|
-
components: { AddIcon: Nl, TrashIcon:
|
|
11564
|
+
components: { AddIcon: Nl, TrashIcon: oi },
|
|
11565
11565
|
mixins: [Ce],
|
|
11566
11566
|
emits: ["remove-item"],
|
|
11567
11567
|
data() {
|
|
@@ -11671,7 +11671,7 @@ const TE = {
|
|
|
11671
11671
|
},
|
|
11672
11672
|
methods: {
|
|
11673
11673
|
onQueryChange(e) {
|
|
11674
|
-
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch =
|
|
11674
|
+
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = Qn(
|
|
11675
11675
|
this.search,
|
|
11676
11676
|
500
|
|
11677
11677
|
)), this.performSearch(e);
|
|
@@ -11804,7 +11804,7 @@ const Vl = /* @__PURE__ */ me(TE, [["render", UE], ["__scopeId", "data-v-647bb71
|
|
|
11804
11804
|
onClick: n[0] || (n[0] = (s) => t.$emit("remove-item"))
|
|
11805
11805
|
}, {
|
|
11806
11806
|
default: w(() => [
|
|
11807
|
-
R(b(
|
|
11807
|
+
R(b(oi))
|
|
11808
11808
|
]),
|
|
11809
11809
|
_: 1
|
|
11810
11810
|
})
|
|
@@ -12150,7 +12150,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12150
12150
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
12151
12151
|
])
|
|
12152
12152
|
], 512), [
|
|
12153
|
-
[
|
|
12153
|
+
[yt, o.fields && a.checkedGroup === l]
|
|
12154
12154
|
])
|
|
12155
12155
|
]))), 128))
|
|
12156
12156
|
], 64)) : (d(!0), h(le, { key: 1 }, de(e.schema.fields, (o, l) => (d(), h("div", {
|
|
@@ -12183,7 +12183,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12183
12183
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
12184
12184
|
])
|
|
12185
12185
|
], 512), [
|
|
12186
|
-
[
|
|
12186
|
+
[yt, o.fields && a.checkedGroup === l]
|
|
12187
12187
|
])
|
|
12188
12188
|
]))), 128))
|
|
12189
12189
|
]);
|
|
@@ -12213,7 +12213,7 @@ function wk(e, t, n, i, a, s) {
|
|
|
12213
12213
|
}
|
|
12214
12214
|
const Ck = /* @__PURE__ */ me(bk, [["render", wk]]), Ek = {
|
|
12215
12215
|
name: "FieldKeyValuePairs",
|
|
12216
|
-
components: { TrashIcon:
|
|
12216
|
+
components: { TrashIcon: oi },
|
|
12217
12217
|
mixins: [Ce],
|
|
12218
12218
|
data() {
|
|
12219
12219
|
return {
|
|
@@ -13270,7 +13270,7 @@ const lt = /* @__PURE__ */ me(Kk, [["render", Jk]]), Zk = {
|
|
|
13270
13270
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
13271
13271
|
}
|
|
13272
13272
|
}
|
|
13273
|
-
},
|
|
13273
|
+
}, xn = (e) => (Xe("data-v-e7395ff0"), e = e(), Je(), e), $k = { class: "general-settings" }, eO = { class: "link-wrapper" }, tO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("span", { class: "section-header" }, "Common Configuration Settings", -1)), nO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("div", { class: "description" }, " Parameters for enabling the OpenID Connect plugin. Set these parameters before adding authorization, authentication, or other advanced configuration details. ", -1)), iO = { class: "auth-method-container" }, aO = { class: "general-settings" }, sO = { class: "link-wrapper" }, rO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("span", { class: "section-header" }, "Authorization Configuration Settings", -1)), oO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("div", { class: "description" }, " Parameters for setting up claims-based authorization. ", -1)), lO = { class: "general-settings" }, uO = { class: "link-wrapper" }, cO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("span", { class: "section-header" }, "Advanced Configuration Settings", -1)), dO = /* @__PURE__ */ xn(() => /* @__PURE__ */ y("div", { class: "description" }, " Advanced parameters for manually configuring the OpenID Connect plugin. ", -1));
|
|
13274
13274
|
function pO(e, t, n, i, a, s) {
|
|
13275
13275
|
const r = V("VueFormGenerator"), o = V("KExternalLink"), l = V("KLabel"), u = V("KCheckbox"), c = V("KInputSwitch"), g = V("KTabs");
|
|
13276
13276
|
return d(), h("div", null, [
|
|
@@ -13512,7 +13512,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13512
13512
|
}
|
|
13513
13513
|
},
|
|
13514
13514
|
setup(e) {
|
|
13515
|
-
const { t, te: n } =
|
|
13515
|
+
const { t, te: n } = ei("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13516
13516
|
const r = i.formSchema;
|
|
13517
13517
|
return r.fields.map((o) => {
|
|
13518
13518
|
const l = `post-function.${o.model}`;
|
|
@@ -13553,7 +13553,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13553
13553
|
}
|
|
13554
13554
|
},
|
|
13555
13555
|
setup(e) {
|
|
13556
|
-
const { t, te: n } =
|
|
13556
|
+
const { t, te: n } = ei("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13557
13557
|
const r = i.formSchema;
|
|
13558
13558
|
return r.fields.map((o) => {
|
|
13559
13559
|
const l = `exit-transformer.${o.model}`;
|
|
@@ -13765,7 +13765,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13765
13765
|
value: "other"
|
|
13766
13766
|
}
|
|
13767
13767
|
];
|
|
13768
|
-
|
|
13768
|
+
Si(() => {
|
|
13769
13769
|
n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
|
|
13770
13770
|
});
|
|
13771
13771
|
const D = (m) => {
|
|
@@ -13953,7 +13953,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
13953
13953
|
], n = /* @__PURE__ */ new Set([
|
|
13954
13954
|
"selectionGroup",
|
|
13955
13955
|
...["identifier", "limit", "window_size", "error_code", "error_message"].map((k) => `config-${k}`)
|
|
13956
|
-
]), i = (k) => k === void 0 ? !1 : n.has(k), { t: a } =
|
|
13956
|
+
]), i = (k) => k === void 0 ? !1 : n.has(k), { t: a } = ei("en-us", Wa), s = e, r = T(() => {
|
|
13957
13957
|
var k, P;
|
|
13958
13958
|
const j = (P = (k = s.formSchema) == null ? void 0 : k.fields) == null ? void 0 : P.find((G) => G.model === "selectionGroup");
|
|
13959
13959
|
if (j)
|
|
@@ -14477,7 +14477,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14477
14477
|
},
|
|
14478
14478
|
help: "The Gateway Service that this plugin configuration will target"
|
|
14479
14479
|
},
|
|
14480
|
-
tags:
|
|
14480
|
+
tags: si.tags,
|
|
14481
14481
|
protocols: {
|
|
14482
14482
|
id: "protocols",
|
|
14483
14483
|
default: [],
|
|
@@ -14499,7 +14499,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14499
14499
|
placeholder: "Select valid protocols for the plugin",
|
|
14500
14500
|
styleClasses: "plugin-protocols-select"
|
|
14501
14501
|
}
|
|
14502
|
-
},
|
|
14502
|
+
}, Fn = {
|
|
14503
14503
|
type: "array",
|
|
14504
14504
|
valueType: "string",
|
|
14505
14505
|
valueArrayType: "array",
|
|
@@ -14511,7 +14511,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14511
14511
|
styleClasses: "kong-form-field-wrapper",
|
|
14512
14512
|
newElementButtonLabel: "+ Add",
|
|
14513
14513
|
newElementButtonLabelClasses: "kong-form-new-element-button-label"
|
|
14514
|
-
},
|
|
14514
|
+
}, li = {
|
|
14515
14515
|
type: "array",
|
|
14516
14516
|
showRemoveButton: !1,
|
|
14517
14517
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
@@ -14519,7 +14519,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14519
14519
|
fieldClasses: "metrics-wrapper"
|
|
14520
14520
|
}, rI = {
|
|
14521
14521
|
"config-metrics": {
|
|
14522
|
-
...
|
|
14522
|
+
...li,
|
|
14523
14523
|
items: {
|
|
14524
14524
|
type: "object",
|
|
14525
14525
|
default: () => ({}),
|
|
@@ -14636,10 +14636,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14636
14636
|
"config-rewrite"
|
|
14637
14637
|
].reduce((e, t) => ({
|
|
14638
14638
|
...e,
|
|
14639
|
-
[t]:
|
|
14639
|
+
[t]: si.fields.arrayItems({
|
|
14640
14640
|
newElementButtonLabel: "Add"
|
|
14641
14641
|
})
|
|
14642
|
-
}), uI),
|
|
14642
|
+
}), uI), gi = {
|
|
14643
14643
|
"config-strategy": {
|
|
14644
14644
|
label: "Config.Strategy",
|
|
14645
14645
|
type: "select",
|
|
@@ -14688,12 +14688,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14688
14688
|
"config-allow-body"
|
|
14689
14689
|
].reduce((e, t) => ({
|
|
14690
14690
|
...e,
|
|
14691
|
-
[t]:
|
|
14691
|
+
[t]: si.fields.arrayItems({
|
|
14692
14692
|
newElementButtonLabel: "Add"
|
|
14693
14693
|
})
|
|
14694
14694
|
}), cI), pI = {
|
|
14695
14695
|
"config-parameter_schema": {
|
|
14696
|
-
...
|
|
14696
|
+
...li,
|
|
14697
14697
|
items: {
|
|
14698
14698
|
type: "object",
|
|
14699
14699
|
default: () => ({
|
|
@@ -14802,7 +14802,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14802
14802
|
}
|
|
14803
14803
|
}, fI = {
|
|
14804
14804
|
"config-metrics": {
|
|
14805
|
-
...
|
|
14805
|
+
...li,
|
|
14806
14806
|
items: {
|
|
14807
14807
|
type: "object",
|
|
14808
14808
|
default: () => ({}),
|
|
@@ -14885,7 +14885,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14885
14885
|
help: "A list of status code ranges, separated by commas. e.g. 200-204, 500-505"
|
|
14886
14886
|
},
|
|
14887
14887
|
"config-metrics": {
|
|
14888
|
-
...
|
|
14888
|
+
...li,
|
|
14889
14889
|
items: {
|
|
14890
14890
|
type: "object",
|
|
14891
14891
|
default: () => ({}),
|
|
@@ -14973,7 +14973,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14973
14973
|
}
|
|
14974
14974
|
}, yI = {
|
|
14975
14975
|
"config-static_tags": {
|
|
14976
|
-
...
|
|
14976
|
+
...li,
|
|
14977
14977
|
items: {
|
|
14978
14978
|
type: "object",
|
|
14979
14979
|
default: () => ({}),
|
|
@@ -15001,7 +15001,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15001
15001
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
15002
15002
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
15003
15003
|
}, ql = (e, t) => (e.order ?? 0) - (t.order ?? 0), Br = (e, t) => vI(e, t) || ql(e, t) || e.model.localeCompare(t.model), bI = (e) => {
|
|
15004
|
-
const { capitalize: t } = Sa(), { convertToDotNotation: n } = Vo(), { i18n: { t: i } } =
|
|
15004
|
+
const { capitalize: t } = Sa(), { convertToDotNotation: n } = Vo(), { i18n: { t: i } } = Ni(), a = {
|
|
15005
15005
|
"application-registration": {
|
|
15006
15006
|
overwriteDefault: !0,
|
|
15007
15007
|
formSchema: {
|
|
@@ -15060,18 +15060,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15060
15060
|
...lI
|
|
15061
15061
|
},
|
|
15062
15062
|
"rate-limiting": {
|
|
15063
|
-
...
|
|
15063
|
+
...gi
|
|
15064
15064
|
},
|
|
15065
15065
|
"rate-limiting-advanced": (e == null ? void 0 : e.app) === "kongManager" ? {
|
|
15066
|
-
"config-consumer_groups":
|
|
15066
|
+
"config-consumer_groups": gi["config-consumer_groups"]
|
|
15067
15067
|
} : {
|
|
15068
|
-
...
|
|
15068
|
+
...gi
|
|
15069
15069
|
},
|
|
15070
15070
|
"graphql-rate-limiting-advanced": {
|
|
15071
15071
|
...oI
|
|
15072
15072
|
},
|
|
15073
15073
|
"response-ratelimiting": {
|
|
15074
|
-
...
|
|
15074
|
+
...gi
|
|
15075
15075
|
},
|
|
15076
15076
|
"pre-function": {
|
|
15077
15077
|
...Mr
|
|
@@ -15102,7 +15102,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15102
15102
|
P.forEach((Q) => {
|
|
15103
15103
|
l(B[Q], Q, B, H, G, S);
|
|
15104
15104
|
});
|
|
15105
|
-
const z = H.name, te =
|
|
15105
|
+
const z = H.name, te = vt[z];
|
|
15106
15106
|
if (Kl(z, { useRLARedesignedForm: e == null ? void 0 : e.useRLARedesignedForm }) || te != null && te.useLegacyForm || e != null && e.credential)
|
|
15107
15107
|
G.fields.sort((Q, se) => (Q.order = Q.order || 0, se.order = se.order || 0, Q.order - se.order));
|
|
15108
15108
|
else {
|
|
@@ -15196,11 +15196,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15196
15196
|
fields: [{
|
|
15197
15197
|
schema: {
|
|
15198
15198
|
fields: [{
|
|
15199
|
-
...
|
|
15199
|
+
...Fn,
|
|
15200
15200
|
model: m.model,
|
|
15201
15201
|
valueArrayType: A === "integer" ? "number" : A || "string",
|
|
15202
15202
|
inputAttributes: {
|
|
15203
|
-
...
|
|
15203
|
+
...Fn.inputAttributes,
|
|
15204
15204
|
type: A === "integer" ? "number" : "text",
|
|
15205
15205
|
inputMode: A === "integer" ? "numeric" : "text"
|
|
15206
15206
|
}
|
|
@@ -15271,10 +15271,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15271
15271
|
buildFormSchema: l,
|
|
15272
15272
|
parseSchema: r,
|
|
15273
15273
|
customSchemas: a,
|
|
15274
|
-
typedefs:
|
|
15274
|
+
typedefs: si
|
|
15275
15275
|
};
|
|
15276
15276
|
}, Pe = {
|
|
15277
|
-
useI18n:
|
|
15277
|
+
useI18n: Ni,
|
|
15278
15278
|
usePluginMetaData: XA,
|
|
15279
15279
|
usePluginHelpers: Vo,
|
|
15280
15280
|
useSchemas: bI
|
|
@@ -15397,12 +15397,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15397
15397
|
});
|
|
15398
15398
|
};
|
|
15399
15399
|
}
|
|
15400
|
-
}),
|
|
15400
|
+
}), wt = (e, t) => {
|
|
15401
15401
|
const n = e.__vccOpts || e;
|
|
15402
15402
|
for (const [i, a] of t)
|
|
15403
15403
|
n[i] = a;
|
|
15404
15404
|
return n;
|
|
15405
|
-
}, EI = /* @__PURE__ */
|
|
15405
|
+
}, EI = /* @__PURE__ */ wt(CI, [["__scopeId", "data-v-17c1f232"]]), kI = { class: "kong-ui-entities-plugin-form" }, OI = {
|
|
15406
15406
|
key: 1,
|
|
15407
15407
|
class: "entity-form"
|
|
15408
15408
|
}, II = { class: "plugin-config-empty-state" }, MI = ue({
|
|
@@ -15456,11 +15456,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15456
15456
|
emits: ["loading", "model-updated"],
|
|
15457
15457
|
setup(e, { emit: t }) {
|
|
15458
15458
|
var j, G;
|
|
15459
|
-
const n = t, i = e, { axiosInstance: a } =
|
|
15459
|
+
const n = t, i = e, { axiosInstance: a } = Mn((j = i.config) == null ? void 0 : j.axiosRequestConfig), { parseSchema: s } = Pe.useSchemas({
|
|
15460
15460
|
entityId: ((G = i.entityMap.focusedEntity) == null ? void 0 : G.id) || void 0,
|
|
15461
15461
|
credential: i.credential,
|
|
15462
15462
|
useRLARedesignedForm: i.config.useRLARedesignedForm
|
|
15463
|
-
}), { convertToDotNotation: r, unFlattenObject: o, isObjectEmpty: l, unsetNullForeignKey: u } = Pe.usePluginHelpers(), { objectsAreEqual: c } =
|
|
15463
|
+
}), { convertToDotNotation: r, unFlattenObject: o, isObjectEmpty: l, unsetNullForeignKey: u } = Pe.usePluginHelpers(), { objectsAreEqual: c } = Li(), { i18n: { t: g } } = Ni(), f = (H, z) => {
|
|
15464
15464
|
let te = `${i.config.apiBaseUrl}${Ke.form[i.config.app].entityGetOne}`;
|
|
15465
15465
|
return i.config.app === "konnect" ? te = te.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (te = te.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), te = te.replace(/{entity}/gi, H), te = te.replace(/{id}/gi, z), te;
|
|
15466
15466
|
}, v = (H) => {
|
|
@@ -15484,7 +15484,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15484
15484
|
}) : a.get(te, { params: z });
|
|
15485
15485
|
}
|
|
15486
15486
|
});
|
|
15487
|
-
const O = q(""), I = q(null), x = q({}), D =
|
|
15487
|
+
const O = q(""), I = q(null), x = q({}), D = Un({}), E = Un({}), m = T(() => {
|
|
15488
15488
|
var H;
|
|
15489
15489
|
return (H = I.value) == null ? void 0 : H.options;
|
|
15490
15490
|
}), A = () => {
|
|
@@ -15543,14 +15543,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15543
15543
|
}
|
|
15544
15544
|
let Ue = r(_);
|
|
15545
15545
|
if (W.fieldNameHasDashes) {
|
|
15546
|
-
const [Te, ...
|
|
15547
|
-
Ue = [Te.replace(/_/g, "-"), ...
|
|
15546
|
+
const [Te, ...Ct] = Ue.split(".").reverse();
|
|
15547
|
+
Ue = [Te.replace(/_/g, "-"), ...Ct].reverse().join(".");
|
|
15548
15548
|
}
|
|
15549
15549
|
if (Ze === "object-expand") {
|
|
15550
15550
|
let Te;
|
|
15551
15551
|
[Ue, Te] = Ue.split(".");
|
|
15552
|
-
let
|
|
15553
|
-
se[Ue] && (
|
|
15552
|
+
let Ct = {};
|
|
15553
|
+
se[Ue] && (Ct = se[Ue]), Ct[Te] = F, F = Ct;
|
|
15554
15554
|
}
|
|
15555
15555
|
Oe !== void 0 && F === "" && F !== Oe ? se[Ue] = Ze === "object" ? {} : null : W.type === "checklist" && F === "" ? se[Ue] = [] : F !== "" && (se[Ue] = F), se[Ue] = Fe ? Fe(F) : se[Ue], u(Ue, se);
|
|
15556
15556
|
}), o(se);
|
|
@@ -15659,11 +15659,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15659
15659
|
]),
|
|
15660
15660
|
_: 2
|
|
15661
15661
|
}, [
|
|
15662
|
-
b(
|
|
15662
|
+
b(vt)[E.name] && b(vt)[E.name].fieldRules ? {
|
|
15663
15663
|
name: "plugin-config-before-content",
|
|
15664
15664
|
fn: w(() => [
|
|
15665
15665
|
R(EI, {
|
|
15666
|
-
rules: b(
|
|
15666
|
+
rules: b(vt)[E.name].fieldRules
|
|
15667
15667
|
}, null, 8, ["rules"])
|
|
15668
15668
|
]),
|
|
15669
15669
|
key: "0"
|
|
@@ -15673,7 +15673,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15673
15673
|
]);
|
|
15674
15674
|
};
|
|
15675
15675
|
}
|
|
15676
|
-
}), SI = /* @__PURE__ */
|
|
15676
|
+
}), SI = /* @__PURE__ */ wt(BI, [["__scopeId", "data-v-b77d0a8a"]]), xI = { class: "kong-ui-entities-plugin-form-container" }, RI = ["id"], TI = { class: "plugin-form-actions" }, LI = /* @__PURE__ */ ue({
|
|
15677
15677
|
__name: "PluginForm",
|
|
15678
15678
|
props: {
|
|
15679
15679
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -15733,11 +15733,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15733
15733
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated"],
|
|
15734
15734
|
setup(e, { emit: t }) {
|
|
15735
15735
|
var ie;
|
|
15736
|
-
const n = t, i = e, a =
|
|
15736
|
+
const n = t, i = e, a = ti(), { i18n: { t: s } } = Pe.useI18n(), { customSchemas: r, typedefs: o } = Pe.useSchemas({ app: i.config.app, credential: i.credential }), { formatPluginFieldLabel: l } = Pe.usePluginHelpers(), { getMessageFromError: u } = Ti(), { capitalize: c } = Sa(), { objectsAreEqual: g } = Li(), { axiosInstance: f } = Mn((ie = i.config) == null ? void 0 : ie.axiosRequestConfig), v = q(!1), M = T(() => i.pluginId ? Lt.Edit : Lt.Create), C = q(null), O = T(() => !!(i.credential && i.config.entityId)), I = q(null), x = q({}), D = q(!1), E = q(null), m = Un({
|
|
15737
15737
|
enabled: !0,
|
|
15738
15738
|
protocols: [],
|
|
15739
15739
|
tags: []
|
|
15740
|
-
}), A =
|
|
15740
|
+
}), A = Un({
|
|
15741
15741
|
fields: {
|
|
15742
15742
|
enabled: !0,
|
|
15743
15743
|
protocols: [],
|
|
@@ -15777,29 +15777,29 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15777
15777
|
entity: p.SERVICE,
|
|
15778
15778
|
entityEndpoint: "services",
|
|
15779
15779
|
id: U,
|
|
15780
|
-
idField:
|
|
15780
|
+
idField: yn.SERVICE
|
|
15781
15781
|
}), ce && (ge.route = {
|
|
15782
15782
|
entity: p.ROUTE,
|
|
15783
15783
|
entityEndpoint: "routes",
|
|
15784
15784
|
id: ce,
|
|
15785
|
-
idField:
|
|
15785
|
+
idField: yn.ROUTE
|
|
15786
15786
|
}), Y && (ge.consumer = {
|
|
15787
15787
|
entity: p.CONSUMER,
|
|
15788
15788
|
entityEndpoint: "consumers",
|
|
15789
15789
|
id: Y,
|
|
15790
|
-
idField:
|
|
15790
|
+
idField: yn.CONSUMER
|
|
15791
15791
|
}), ee && (ge.consumer_group = {
|
|
15792
15792
|
entity: p.CONSUMER_GROUP,
|
|
15793
15793
|
entityEndpoint: "consumer_groups",
|
|
15794
15794
|
id: ee,
|
|
15795
|
-
idField:
|
|
15795
|
+
idField: yn.CONSUMER_GROUP
|
|
15796
15796
|
}), i.config.entityType && (ge.focusedEntity = {
|
|
15797
15797
|
entity: p[i.config.entityType.substring(0, i.config.entityType.length - 1).toUpperCase()],
|
|
15798
15798
|
entityEndpoint: i.config.entityType,
|
|
15799
15799
|
id: i.config.entityId,
|
|
15800
|
-
idField:
|
|
15800
|
+
idField: yn[i.config.entityType.substring(0, i.config.entityType.length - 1).toUpperCase()]
|
|
15801
15801
|
}), ge;
|
|
15802
|
-
}), j =
|
|
15802
|
+
}), j = Un({
|
|
15803
15803
|
// this is a required field that the user cannot set, it's always the name of the plugin
|
|
15804
15804
|
// ex. 'acl'
|
|
15805
15805
|
name: {
|
|
@@ -15870,7 +15870,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15870
15870
|
tags: o.tags
|
|
15871
15871
|
}), G = T(() => {
|
|
15872
15872
|
var U;
|
|
15873
|
-
const Y = i.developer ? "developers" : "consumers", ee = ((U =
|
|
15873
|
+
const Y = i.developer ? "developers" : "consumers", ee = ((U = wn[i.pluginType]) == null ? void 0 : U.endpoint) || "/plugins";
|
|
15874
15874
|
return `${Y}/${i.config.entityId}${i.developer ? "/credentials" : ""}${ee}`;
|
|
15875
15875
|
}), H = (Y) => {
|
|
15876
15876
|
const ee = [...new Set(Y.map((U) => typeof U))];
|
|
@@ -15878,7 +15878,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15878
15878
|
}, z = (Y, ee, U) => {
|
|
15879
15879
|
var je, ae;
|
|
15880
15880
|
let ce = ee && ee.fields || [];
|
|
15881
|
-
const ge = r[i.pluginType], Ee = (ae = (je =
|
|
15881
|
+
const ge = r[i.pluginType], Ee = (ae = (je = wn[i.pluginType]) == null ? void 0 : je.schema) == null ? void 0 : ae.fields;
|
|
15882
15882
|
return Array.isArray(ce) && (ce = ce.reduce((Ae, Z) => {
|
|
15883
15883
|
const ne = Object.keys(Z)[0];
|
|
15884
15884
|
return ne.match(/-/g) ? Ae[ne.replace(/-/g, "_")] = {
|
|
@@ -15903,11 +15903,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15903
15903
|
fields: [{
|
|
15904
15904
|
schema: {
|
|
15905
15905
|
fields: [{
|
|
15906
|
-
...
|
|
15906
|
+
...Fn,
|
|
15907
15907
|
model: ne,
|
|
15908
15908
|
valueArrayType: Me === "integer" ? "number" : Me || "string",
|
|
15909
15909
|
inputAttributes: {
|
|
15910
|
-
...
|
|
15910
|
+
...Fn.inputAttributes,
|
|
15911
15911
|
type: Me === "integer" ? "number" : "text",
|
|
15912
15912
|
inputMode: Me === "integer" ? "numeric" : "text"
|
|
15913
15913
|
}
|
|
@@ -15943,14 +15943,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15943
15943
|
}), Z.elements && Z.type === "array") {
|
|
15944
15944
|
const Me = Z.elements;
|
|
15945
15945
|
if (Me.type === "string" && !Me.one_of) {
|
|
15946
|
-
const {
|
|
15947
|
-
U[ne] = {
|
|
15946
|
+
const { id: ht, help: We, label: it, hint: Et } = U[ne], { help: fn, ...Tn } = JSON.parse(JSON.stringify(Fn));
|
|
15947
|
+
U[ne] = { id: ht, help: We, label: it, hint: Et, ...Tn }, U[ne].help === void 0 && typeof fn == "string" && (U[ne].help = we.parse(fn, { mangle: !1, headerIds: !1 }));
|
|
15948
15948
|
}
|
|
15949
15949
|
}
|
|
15950
15950
|
if (Z.hint && (U[ne].hint = Z.hint), ge && !ge.overwriteDefault && Object.keys(ge).forEach((Me) => {
|
|
15951
15951
|
if (Me === ne) {
|
|
15952
|
-
const { help: ht, label: We, hint: it } = U[ne], { help:
|
|
15953
|
-
U[ne] = { help: ht, label: We, hint: it, ...
|
|
15952
|
+
const { help: ht, label: We, hint: it } = U[ne], { help: Et, ...fn } = ge[Me];
|
|
15953
|
+
U[ne] = { help: ht, label: We, hint: it, ...fn }, typeof Et == "string" && (U[ne].help = we.parse(Et, { mangle: !1, headerIds: !1 }));
|
|
15954
15954
|
}
|
|
15955
15955
|
}), Z.type === "array" && ((Dt = Z.elements) == null ? void 0 : Dt.type) === "record" && Array.isArray(Z.elements.fields)) {
|
|
15956
15956
|
let Me = {};
|
|
@@ -15969,18 +15969,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15969
15969
|
}
|
|
15970
15970
|
}, U[ne].type = "array", U[ne].newElementButtonLabelClasses = "kong-form-new-element-button-label", U[ne].items.schema.fields.forEach(
|
|
15971
15971
|
(We) => {
|
|
15972
|
-
var it,
|
|
15973
|
-
for (const
|
|
15974
|
-
const
|
|
15975
|
-
if (ns[ns.length - 1] ===
|
|
15976
|
-
We.model =
|
|
15972
|
+
var it, Et;
|
|
15973
|
+
for (const fn of Z.elements.fields) {
|
|
15974
|
+
const Tn = Object.keys(fn)[0], ns = ((Et = (it = We.id) == null ? void 0 : it.split) == null ? void 0 : Et.call(it, "-")) ?? [];
|
|
15975
|
+
if (ns[ns.length - 1] === Tn) {
|
|
15976
|
+
We.model = Tn, We.label = l(Tn);
|
|
15977
15977
|
break;
|
|
15978
15978
|
}
|
|
15979
15979
|
}
|
|
15980
15980
|
}
|
|
15981
15981
|
)), U[ne].items.default = () => Z.elements.fields.reduce((We, it) => {
|
|
15982
|
-
const
|
|
15983
|
-
return We[
|
|
15982
|
+
const Et = Object.keys(it)[0];
|
|
15983
|
+
return We[Et] = it[Et].default, We;
|
|
15984
15984
|
}, {});
|
|
15985
15985
|
}
|
|
15986
15986
|
if (O.value && Ee) {
|
|
@@ -16004,7 +16004,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16004
16004
|
}), U;
|
|
16005
16005
|
}, te = () => {
|
|
16006
16006
|
var Ee, je, ae, Ae;
|
|
16007
|
-
const Y = ((Ee =
|
|
16007
|
+
const Y = ((Ee = vt[i.pluginType]) == null ? void 0 : Ee.scope.includes(p.SERVICE)) ?? !0, ee = ((je = vt[i.pluginType]) == null ? void 0 : je.scope.includes(p.ROUTE)) ?? !0, U = ((ae = vt[i.pluginType]) == null ? void 0 : ae.scope.includes(p.CONSUMER)) ?? !0, ce = i.config.disableConsumerGroupScope ? !1 : ((Ae = vt[i.pluginType]) == null ? void 0 : Ae.scope.includes(p.CONSUMER_GROUP)) ?? !0, ge = [];
|
|
16008
16008
|
if (Y && ge.push({
|
|
16009
16009
|
id: "service-id",
|
|
16010
16010
|
model: "service-id",
|
|
@@ -16098,7 +16098,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16098
16098
|
const Y = i.config.entityType && i.config.entityId && !i.developer, ee = O.value ? Ke.form[i.config.app].credential[M.value] : Ke.form[i.config.app][M.value][Y ? "forEntity" : "all"];
|
|
16099
16099
|
let U = `${i.config.apiBaseUrl}${ee}`;
|
|
16100
16100
|
return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{resourceEndpoint}/gi, G.value), U = U.replace(/{id}/gi, i.pluginId), U = U.replace(/{entityType}/gi, i.config.entityType || ""), U = U.replace(/{entityId}/gi, i.config.entityId || ""), U;
|
|
16101
|
-
}), Fe = T(() => !Object.keys(
|
|
16101
|
+
}), Fe = T(() => !Object.keys(vt).includes(i.pluginType)), Ue = T(() => {
|
|
16102
16102
|
const Y = W.value;
|
|
16103
16103
|
if (O.value) {
|
|
16104
16104
|
for (const ee in p) {
|
|
@@ -16119,25 +16119,25 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16119
16119
|
} finally {
|
|
16120
16120
|
A.isReadonly = !1;
|
|
16121
16121
|
}
|
|
16122
|
-
},
|
|
16122
|
+
}, Ct = T(() => {
|
|
16123
16123
|
var ce;
|
|
16124
|
-
const Y = O.value ? (ce =
|
|
16124
|
+
const Y = O.value ? (ce = wn[i.pluginType]) == null ? void 0 : ce.schemaEndpoint : i.pluginType, ee = O.value ? Ke.form[i.config.app].credentialSchema : Ke.form[i.config.app].pluginSchema;
|
|
16125
16125
|
let U = `${i.config.apiBaseUrl}${ee}`;
|
|
16126
16126
|
return i.config.app === "konnect" ? U = U.replace(/{controlPlaneId}/gi, i.config.controlPlaneId || "") : i.config.app === "kongManager" && (U = U.replace(/\/{workspace}/gi, i.config.workspace ? `/${i.config.workspace}` : "")), U = U.replace(/{plugin}/gi, Y), U;
|
|
16127
16127
|
}), mn = q(!1);
|
|
16128
16128
|
ot(E, (Y) => {
|
|
16129
16129
|
Y && (mn.value = !0);
|
|
16130
16130
|
});
|
|
16131
|
-
const At = q(!1),
|
|
16131
|
+
const At = q(!1), Rn = q("");
|
|
16132
16132
|
return qt(async () => {
|
|
16133
16133
|
var Y, ee, U;
|
|
16134
16134
|
At.value = !0;
|
|
16135
16135
|
try {
|
|
16136
16136
|
if (O.value && i.config.app === "konnect") {
|
|
16137
|
-
const ce = (Y =
|
|
16137
|
+
const ce = (Y = wn[i.pluginType]) == null ? void 0 : Y.schemaEndpoint, ge = KA[ce];
|
|
16138
16138
|
C.value = z("", ge, {}), At.value = !1;
|
|
16139
16139
|
} else {
|
|
16140
|
-
const ce = await f.get(
|
|
16140
|
+
const ce = await f.get(Ct.value), { data: ge } = ce;
|
|
16141
16141
|
if (ge)
|
|
16142
16142
|
if (O.value)
|
|
16143
16143
|
C.value = z("", ge, {}), At.value = !1;
|
|
@@ -16153,7 +16153,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16153
16153
|
}
|
|
16154
16154
|
}
|
|
16155
16155
|
} catch (ce) {
|
|
16156
|
-
|
|
16156
|
+
Rn.value = u(ce), n("error:fetch-schema", ce);
|
|
16157
16157
|
} finally {
|
|
16158
16158
|
At.value = !1;
|
|
16159
16159
|
}
|
|
@@ -16163,7 +16163,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16163
16163
|
At.value ? (d(), N(U, {
|
|
16164
16164
|
key: 0,
|
|
16165
16165
|
type: "form"
|
|
16166
|
-
})) :
|
|
16166
|
+
})) : Rn.value ? (d(), N(ce, {
|
|
16167
16167
|
key: 1,
|
|
16168
16168
|
"action-button-visible": !1,
|
|
16169
16169
|
"data-testid": "plugin-form-schema-error",
|
|
@@ -16304,7 +16304,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16304
16304
|
]);
|
|
16305
16305
|
};
|
|
16306
16306
|
}
|
|
16307
|
-
}), lB = /* @__PURE__ */
|
|
16307
|
+
}), lB = /* @__PURE__ */ wt(LI, [["__scopeId", "data-v-27ea7aba"]]), jI = ["alt", "src", "width"], Qa = /* @__PURE__ */ ue({
|
|
16308
16308
|
__name: "PluginIcon",
|
|
16309
16309
|
props: {
|
|
16310
16310
|
name: {
|
|
@@ -16336,7 +16336,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16336
16336
|
onError: a
|
|
16337
16337
|
}, null, 40, jI));
|
|
16338
16338
|
}
|
|
16339
|
-
}),
|
|
16339
|
+
}), Ii = "24px", Xl = (e, t) => {
|
|
16340
16340
|
const n = e.__vccOpts || e;
|
|
16341
16341
|
for (const [i, a] of t)
|
|
16342
16342
|
n[i] = a;
|
|
@@ -16378,7 +16378,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16378
16378
|
size: {
|
|
16379
16379
|
type: [Number, String],
|
|
16380
16380
|
required: !1,
|
|
16381
|
-
default:
|
|
16381
|
+
default: Ii,
|
|
16382
16382
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
16383
16383
|
validator: (e) => {
|
|
16384
16384
|
if (typeof e == "number" && e > 0)
|
|
@@ -16407,7 +16407,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16407
16407
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
16408
16408
|
return `${s}px`;
|
|
16409
16409
|
}
|
|
16410
|
-
return
|
|
16410
|
+
return Ii;
|
|
16411
16411
|
}), i = T(() => ({
|
|
16412
16412
|
boxSizing: "border-box",
|
|
16413
16413
|
color: t.color,
|
|
@@ -16420,7 +16420,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16420
16420
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
16421
16421
|
class: "kui-icon add-icon",
|
|
16422
16422
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
16423
|
-
style:
|
|
16423
|
+
style: bt(i.value)
|
|
16424
16424
|
}, {
|
|
16425
16425
|
default: w(() => [
|
|
16426
16426
|
(d(), h("svg", {
|
|
@@ -16477,7 +16477,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16477
16477
|
size: {
|
|
16478
16478
|
type: [Number, String],
|
|
16479
16479
|
required: !1,
|
|
16480
|
-
default:
|
|
16480
|
+
default: Ii,
|
|
16481
16481
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
16482
16482
|
validator: (e) => {
|
|
16483
16483
|
if (typeof e == "number" && e > 0)
|
|
@@ -16506,7 +16506,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16506
16506
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
16507
16507
|
return `${s}px`;
|
|
16508
16508
|
}
|
|
16509
|
-
return
|
|
16509
|
+
return Ii;
|
|
16510
16510
|
}), i = T(() => ({
|
|
16511
16511
|
boxSizing: "border-box",
|
|
16512
16512
|
color: t.color,
|
|
@@ -16519,7 +16519,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16519
16519
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
16520
16520
|
class: "kui-icon more-icon",
|
|
16521
16521
|
"data-testid": "kui-icon-wrapper-more-icon",
|
|
16522
|
-
style:
|
|
16522
|
+
style: bt(i.value)
|
|
16523
16523
|
}, {
|
|
16524
16524
|
default: w(() => [
|
|
16525
16525
|
(d(), h("svg", {
|
|
@@ -16620,8 +16620,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16620
16620
|
},
|
|
16621
16621
|
emits: ["error", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
|
|
16622
16622
|
setup(e, { emit: t }) {
|
|
16623
|
-
var At,
|
|
16624
|
-
const n = Pe.usePluginMetaData(), i = t, a = e, { i18n: { t: s } } = Pe.useI18n(), r =
|
|
16623
|
+
var At, Rn;
|
|
16624
|
+
const n = Pe.usePluginMetaData(), i = t, a = e, { i18n: { t: s } } = Pe.useI18n(), r = ti(), { axiosInstance: o } = Mn((At = a.config) == null ? void 0 : At.axiosRequestConfig), l = T(() => {
|
|
16625
16625
|
var ie;
|
|
16626
16626
|
return ((ie = a.config) == null ? void 0 : ie.entityType) === "consumers";
|
|
16627
16627
|
}), u = T(() => {
|
|
@@ -16636,7 +16636,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16636
16636
|
}), g = T(() => a.config.app !== "kongManager" || !!a.config.disableSorting), f = {
|
|
16637
16637
|
name: { label: s("plugins.list.table_headers.name"), searchable: !0, sortable: !0 }
|
|
16638
16638
|
};
|
|
16639
|
-
(
|
|
16639
|
+
(Rn = a.config) != null && Rn.entityId || (f.appliedTo = { label: s("plugins.list.table_headers.applied_to"), sortable: !1 }), f.enabled = { label: s("plugins.list.table_headers.enabled"), searchable: !0, sortable: !0 }, c && (f.ordering = { label: s("plugins.list.table_headers.ordering"), sortable: !0 }), f.tags = { label: s("plugins.list.table_headers.tags"), sortable: !1 };
|
|
16640
16640
|
const v = f, M = T(() => {
|
|
16641
16641
|
var Y, ee, U, ce;
|
|
16642
16642
|
let ie = a.config.entityType ? `${a.config.apiBaseUrl}${Ke.list[a.config.app].forEntity}` : `${a.config.apiBaseUrl}${Ke.list[a.config.app].all}`;
|
|
@@ -16770,10 +16770,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16770
16770
|
Ie.value = !1;
|
|
16771
16771
|
}
|
|
16772
16772
|
}
|
|
16773
|
-
},
|
|
16773
|
+
}, Ct = q(!0);
|
|
16774
16774
|
ot(D, (ie) => {
|
|
16775
16775
|
var Y, ee, U, ce;
|
|
16776
|
-
if (Array.isArray((Y = ie == null ? void 0 : ie.response) == null ? void 0 : Y.data) && (
|
|
16776
|
+
if (Array.isArray((Y = ie == null ? void 0 : ie.response) == null ? void 0 : Y.data) && (Ct.value = ie.response.data.length > 0), ie.status === $t.Error) {
|
|
16777
16777
|
A.value = {
|
|
16778
16778
|
title: s("errors.general")
|
|
16779
16779
|
}, (ce = (U = (ee = ie.error) == null ? void 0 : ee.response) == null ? void 0 : U.data) != null && ce.message && (A.value.message = ie.error.response.data.message), i("error", ie.error);
|
|
@@ -16841,7 +16841,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16841
16841
|
]),
|
|
16842
16842
|
_: 1
|
|
16843
16843
|
}, 8, ["to"]), [
|
|
16844
|
-
[
|
|
16844
|
+
[yt, Ct.value]
|
|
16845
16845
|
])
|
|
16846
16846
|
]),
|
|
16847
16847
|
_: 1
|
|
@@ -17047,7 +17047,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17047
17047
|
]);
|
|
17048
17048
|
};
|
|
17049
17049
|
}
|
|
17050
|
-
}), uB = /* @__PURE__ */
|
|
17050
|
+
}), uB = /* @__PURE__ */ wt(tM, [["__scopeId", "data-v-482731cb"]]), nM = (e) => (Xe("data-v-14bc032f"), e = e(), Je(), e), iM = { class: "plugin-card-header" }, aM = { class: "plugin-card-footer" }, sM = /* @__PURE__ */ nM(() => /* @__PURE__ */ y("hr", { class: "plugin-card-footer-divider" }, null, -1)), rM = { class: "footer-skeleton" }, oM = /* @__PURE__ */ ue({
|
|
17051
17051
|
__name: "PluginCardSkeleton",
|
|
17052
17052
|
props: {
|
|
17053
17053
|
cardCount: {
|
|
@@ -17083,7 +17083,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17083
17083
|
}, 8, ["card-count"]);
|
|
17084
17084
|
};
|
|
17085
17085
|
}
|
|
17086
|
-
}), lM = /* @__PURE__ */
|
|
17086
|
+
}), lM = /* @__PURE__ */ wt(oM, [["__scopeId", "data-v-14bc032f"]]), uM = "16px", cM = ["data-testid"], dM = { class: "plugin-card-header" }, pM = { class: "plugin-card-title" }, gM = {
|
|
17087
17087
|
key: 0,
|
|
17088
17088
|
class: "plugin-card-actions"
|
|
17089
17089
|
}, mM = ["data-testid", "title"], fM = {
|
|
@@ -17123,7 +17123,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17123
17123
|
},
|
|
17124
17124
|
emits: ["plugin-clicked", "custom-plugin-delete"],
|
|
17125
17125
|
setup(e, { emit: t }) {
|
|
17126
|
-
const n = t, i = e, a =
|
|
17126
|
+
const n = t, i = e, a = ti(), { i18n: { t: s } } = Pe.useI18n(), r = T(() => i.config.app === "konnect" ? i.config.controlPlaneId : ""), o = T(() => !!(!i.plugin.available || i.plugin.disabledMessage)), l = T(() => !!(v.value && !f.value && i.navigateOnClick && r.value && (i.canDeleteCustomPlugin || i.canEditCustomPlugin))), u = () => {
|
|
17127
17127
|
a.push(i.config.getCreateRoute(i.plugin.id));
|
|
17128
17128
|
}, c = () => {
|
|
17129
17129
|
i.navigateOnClick ? u() : g();
|
|
@@ -17238,7 +17238,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17238
17238
|
}, 8, ["text"]);
|
|
17239
17239
|
};
|
|
17240
17240
|
}
|
|
17241
|
-
}),
|
|
17241
|
+
}), Mi = /* @__PURE__ */ wt(yM, [["__scopeId", "data-v-e7e8d9d8"]]), vM = /* @__PURE__ */ ue({
|
|
17242
17242
|
__name: "DeleteCustomPluginSchemaModal",
|
|
17243
17243
|
props: {
|
|
17244
17244
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17255,7 +17255,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17255
17255
|
emits: ["closed", "proceed"],
|
|
17256
17256
|
setup(e, { emit: t }) {
|
|
17257
17257
|
var v;
|
|
17258
|
-
const n = e, i = t, { i18nT: a, i18n: { t: s } } = Pe.useI18n(), { getMessageFromError: r } =
|
|
17258
|
+
const n = e, i = t, { i18nT: a, i18n: { t: s } } = Pe.useI18n(), { getMessageFromError: r } = Ti(), { axiosInstance: o } = Mn((v = n.config) == null ? void 0 : v.axiosRequestConfig), l = T(() => {
|
|
17259
17259
|
var M;
|
|
17260
17260
|
return g.value ? s("delete.plugin_schema_in_use_title") : s("delete.title", { name: ((M = n.plugin) == null ? void 0 : M.name) || s("delete.custom_plugin") });
|
|
17261
17261
|
}), u = q(!1), c = q(""), g = q(!1), f = async () => {
|
|
@@ -17328,7 +17328,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17328
17328
|
}, 8, ["action-button-disabled", "title"])) : X("", !0);
|
|
17329
17329
|
};
|
|
17330
17330
|
}
|
|
17331
|
-
}), bM = /* @__PURE__ */
|
|
17331
|
+
}), bM = /* @__PURE__ */ wt(vM, [["__scopeId", "data-v-4148beb9"]]), wM = { class: "custom-plugins-grid" }, CM = { class: "empty-state-title" }, EM = { class: "empty-state-description" }, kM = { class: "plugin-card-container" }, OM = { class: "plugin-card-container" }, IM = /* @__PURE__ */ ue({
|
|
17332
17332
|
__name: "PluginCustomGrid",
|
|
17333
17333
|
props: {
|
|
17334
17334
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17423,7 +17423,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17423
17423
|
}, mt({
|
|
17424
17424
|
"visible-content": w(() => [
|
|
17425
17425
|
y("div", kM, [
|
|
17426
|
-
(d(!0), h(le, null, de(b(s)("visible", l.value, e.pluginsPerRow), (x, D) => (d(), N(
|
|
17426
|
+
(d(!0), h(le, null, de(b(s)("visible", l.value, e.pluginsPerRow), (x, D) => (d(), N(Mi, {
|
|
17427
17427
|
key: `plugin-card-${D}`,
|
|
17428
17428
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
17429
17429
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
@@ -17437,7 +17437,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17437
17437
|
]),
|
|
17438
17438
|
default: w(() => [
|
|
17439
17439
|
y("div", OM, [
|
|
17440
|
-
(d(!0), h(le, null, de(b(s)("hidden", l.value, e.pluginsPerRow), (x, D) => (d(), N(
|
|
17440
|
+
(d(!0), h(le, null, de(b(s)("hidden", l.value, e.pluginsPerRow), (x, D) => (d(), N(Mi, {
|
|
17441
17441
|
key: `plugin-card-${D}`,
|
|
17442
17442
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
17443
17443
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
@@ -17481,7 +17481,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17481
17481
|
]);
|
|
17482
17482
|
};
|
|
17483
17483
|
}
|
|
17484
|
-
}), MM = /* @__PURE__ */
|
|
17484
|
+
}), MM = /* @__PURE__ */ wt(IM, [["__scopeId", "data-v-acd8a972"]]), BM = { class: "plugin-card-container" }, SM = { class: "plugin-card-container" }, xM = /* @__PURE__ */ ue({
|
|
17485
17485
|
__name: "PluginSelectGroup",
|
|
17486
17486
|
props: /* @__PURE__ */ ss({
|
|
17487
17487
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17542,7 +17542,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17542
17542
|
}, mt({
|
|
17543
17543
|
"visible-content": w(() => [
|
|
17544
17544
|
y("div", BM, [
|
|
17545
|
-
(d(!0), h(le, null, de(b(r)("visible", i.plugins, i.pluginsPerRow), (g) => (d(), N(
|
|
17545
|
+
(d(!0), h(le, null, de(b(r)("visible", i.plugins, i.pluginsPerRow), (g) => (d(), N(Mi, {
|
|
17546
17546
|
key: `plugin-card-${g.id}`,
|
|
17547
17547
|
config: e.config,
|
|
17548
17548
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -17553,7 +17553,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17553
17553
|
]),
|
|
17554
17554
|
default: w(() => [
|
|
17555
17555
|
y("div", SM, [
|
|
17556
|
-
(d(!0), h(le, null, de(b(r)("hidden", i.plugins, i.pluginsPerRow), (g) => (d(), N(
|
|
17556
|
+
(d(!0), h(le, null, de(b(r)("hidden", i.plugins, i.pluginsPerRow), (g) => (d(), N(Mi, {
|
|
17557
17557
|
key: `plugin-card-${g.id}`,
|
|
17558
17558
|
config: e.config,
|
|
17559
17559
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -17574,7 +17574,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17574
17574
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
17575
17575
|
};
|
|
17576
17576
|
}
|
|
17577
|
-
}), Sr = /* @__PURE__ */
|
|
17577
|
+
}), Sr = /* @__PURE__ */ wt(xM, [["__scopeId", "data-v-12700243"]]), RM = { class: "plugin-select-grid" }, TM = { class: "empty-state-title" }, LM = { class: "empty-state-description" }, xr = /* @__PURE__ */ ue({
|
|
17578
17578
|
__name: "PluginSelectGrid",
|
|
17579
17579
|
props: {
|
|
17580
17580
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17781,7 +17781,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17781
17781
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
17782
17782
|
setup(e, { emit: t }) {
|
|
17783
17783
|
var se, pe;
|
|
17784
|
-
const n = e, i = t, a = ou(), s =
|
|
17784
|
+
const n = e, i = t, a = ou(), s = ti(), { i18n: { t: r } } = Pe.useI18n(), { pluginMetaData: o } = Pe.usePluginMetaData(), { getMessageFromError: l } = Ti(), { sortAlpha: u, objectsAreEqual: c } = Li(), g = q(""), f = q(!0), v = q(!1), M = q(""), C = q([]), O = q({}), I = q([]), { axiosInstance: x } = Mn((se = n.config) == null ? void 0 : se.axiosRequestConfig), D = T(() => O.value ? Object.entries(O.value).filter(([J]) => J !== K.CUSTOM_PLUGINS).reduce((J, [, _]) => {
|
|
17785
17785
|
for (const W of _)
|
|
17786
17786
|
J[W.id] = W;
|
|
17787
17787
|
return J;
|
|
@@ -17850,7 +17850,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17850
17850
|
const z = q(!1), te = q(!1), Q = q(!1);
|
|
17851
17851
|
return qt(async () => {
|
|
17852
17852
|
z.value = await n.canCreateCustomPlugin(), te.value = await n.canEditCustomPlugin(), Q.value = await n.canDeleteCustomPlugin();
|
|
17853
|
-
}),
|
|
17853
|
+
}), Si(async () => {
|
|
17854
17854
|
try {
|
|
17855
17855
|
const { data: J } = await x.get(j.value);
|
|
17856
17856
|
if (n.config.app === "konnect") {
|
|
@@ -17998,7 +17998,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17998
17998
|
]);
|
|
17999
17999
|
};
|
|
18000
18000
|
}
|
|
18001
|
-
}), cB = /* @__PURE__ */
|
|
18001
|
+
}), cB = /* @__PURE__ */ wt(HM, [["__scopeId", "data-v-c0dec08e"]]), FM = { class: "kong-ui-entity-plugin-config-card" }, zM = { class: "name-cell-wrapper" }, KM = { class: "info-name" }, qM = { key: 0 }, XM = { key: 0 }, JM = { key: 0 }, ZM = { key: 0 }, ta = "config", WM = /* @__PURE__ */ ue({
|
|
18002
18002
|
__name: "PluginConfigCard",
|
|
18003
18003
|
props: {
|
|
18004
18004
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18042,7 +18042,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18042
18042
|
emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
|
|
18043
18043
|
setup(e, { emit: t }) {
|
|
18044
18044
|
var x;
|
|
18045
|
-
const n = t, i = e, { i18n: { t: a } } = Pe.useI18n(), s = Pe.usePluginMetaData(), { setFieldType: r } = Pe.usePluginHelpers(), { getPropValue: o } =
|
|
18045
|
+
const n = t, i = e, { i18n: { t: a } } = Pe.useI18n(), s = Pe.usePluginMetaData(), { setFieldType: r } = Pe.usePluginHelpers(), { getPropValue: o } = Li(), l = T(
|
|
18046
18046
|
() => {
|
|
18047
18047
|
var D;
|
|
18048
18048
|
return (D = Ke.item[i.config.app]) == null ? void 0 : D[i.scopedEntityType ? "forEntity" : "all"].replace(/{entityType}/gi, i.scopedEntityType).replace(/{entityId}/gi, i.scopedEntityId);
|
|
@@ -18107,7 +18107,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18107
18107
|
}), r(D, B, k);
|
|
18108
18108
|
}
|
|
18109
18109
|
return D;
|
|
18110
|
-
}), { getMessageFromError: f } =
|
|
18110
|
+
}), { getMessageFromError: f } = Ti(), { axiosInstance: v } = Mn((x = i.config) == null ? void 0 : x.axiosRequestConfig), M = T(() => {
|
|
18111
18111
|
var E, m;
|
|
18112
18112
|
let D = `${i.config.apiBaseUrl}${Ke.form[i.config.app].pluginSchema}`;
|
|
18113
18113
|
return i.config.app === "konnect" ? D = D.replace(/{controlPlaneId}/gi, ((E = i.config) == null ? void 0 : E.controlPlaneId) || "") : i.config.app === "kongManager" && (D = D.replace(/\/{workspace}/gi, (m = i.config) != null && m.workspace ? `/${i.config.workspace}` : "")), D = D.replace(/{plugin}/gi, i.config.pluginType), D;
|
|
@@ -18163,7 +18163,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18163
18163
|
])
|
|
18164
18164
|
]),
|
|
18165
18165
|
consumer: w((B) => [
|
|
18166
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18166
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18167
18167
|
key: 1,
|
|
18168
18168
|
item: {
|
|
18169
18169
|
key: b(o)("rowValue", B).id,
|
|
@@ -18179,7 +18179,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18179
18179
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", qM, "–"))
|
|
18180
18180
|
]),
|
|
18181
18181
|
route: w((B) => [
|
|
18182
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18182
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18183
18183
|
key: 1,
|
|
18184
18184
|
item: {
|
|
18185
18185
|
key: b(o)("rowValue", B).id,
|
|
@@ -18195,7 +18195,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18195
18195
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", XM, "–"))
|
|
18196
18196
|
]),
|
|
18197
18197
|
service: w((B) => [
|
|
18198
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18198
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18199
18199
|
key: 1,
|
|
18200
18200
|
item: {
|
|
18201
18201
|
key: b(o)("rowValue", B).id,
|
|
@@ -18211,7 +18211,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18211
18211
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", JM, "–"))
|
|
18212
18212
|
]),
|
|
18213
18213
|
consumer_group: w((B) => [
|
|
18214
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18214
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18215
18215
|
key: 1,
|
|
18216
18216
|
item: {
|
|
18217
18217
|
key: b(o)("rowValue", B).id,
|
|
@@ -18231,9 +18231,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18231
18231
|
]);
|
|
18232
18232
|
};
|
|
18233
18233
|
}
|
|
18234
|
-
}), dB = /* @__PURE__ */
|
|
18234
|
+
}), dB = /* @__PURE__ */ wt(WM, [["__scopeId", "data-v-3e4f66ec"]]), { usePluginMetaData: pB } = Pe;
|
|
18235
18235
|
export {
|
|
18236
|
-
|
|
18236
|
+
yn as EntityTypeIdField,
|
|
18237
18237
|
CA as PLUGIN_GROUPS_COLLAPSE_STATUS,
|
|
18238
18238
|
dB as PluginConfigCard,
|
|
18239
18239
|
lB as PluginForm,
|
|
@@ -18243,7 +18243,7 @@ export {
|
|
|
18243
18243
|
uB as PluginList,
|
|
18244
18244
|
p as PluginScope,
|
|
18245
18245
|
cB as PluginSelect,
|
|
18246
|
-
|
|
18246
|
+
Mi as PluginSelectCard,
|
|
18247
18247
|
xr as PluginSelectGrid,
|
|
18248
18248
|
lt as VueFormGenerator,
|
|
18249
18249
|
qA as getPluginIconURL,
|