@kong-ui-public/entities-plugins 5.0.1 → 5.1.0
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 +422 -424
- package/dist/entities-plugins.umd.js +27 -27
- package/dist/style.css +1 -1
- package/dist/types/components/PluginEntityForm.vue.d.ts.map +1 -1
- package/dist/types/components/PluginSelect.vue.d.ts +3 -3
- package/dist/types/types/plugin-form.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -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: {
|
|
@@ -657,10 +657,10 @@ const Ve = {
|
|
|
657
657
|
emits: ["navigation-click"],
|
|
658
658
|
setup(e, { emit: t }) {
|
|
659
659
|
Rr((M) => ({
|
|
660
|
-
|
|
661
|
-
"
|
|
662
|
-
"
|
|
663
|
-
"
|
|
660
|
+
dc1d91a8: c.value ? "none" : `solid ${b(zu)} ${b(Hu)}`,
|
|
661
|
+
"59ccec5f": u.value && o.value ? "block" : "flex",
|
|
662
|
+
"29318fbe": u.value && o.value ? "100%" : n.slim ? "50%" : "25%",
|
|
663
|
+
"292d0408": u.value && o.value ? "100%" : n.slim ? "50%" : "75%"
|
|
664
664
|
}));
|
|
665
665
|
const n = e, i = t, a = Tr(), { i18n: { t: s, formatUnixTimeStamp: r } } = Ve.useI18n(), o = T(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), l = T(() => !!(n.item.tooltip || a["label-tooltip"])), u = T(() => n.item.type === ye.Json || n.item.type === ye.JsonArray), c = T(() => n.item.type === ye.JsonArray), g = T(() => {
|
|
666
666
|
switch (n.item.type) {
|
|
@@ -892,7 +892,7 @@ const Ve = {
|
|
|
892
892
|
]);
|
|
893
893
|
};
|
|
894
894
|
}
|
|
895
|
-
}), Gr = /* @__PURE__ */ Tt(ic, [["__scopeId", "data-v-
|
|
895
|
+
}), Gr = /* @__PURE__ */ Tt(ic, [["__scopeId", "data-v-d268261c"]]), ac = { class: "json-config" }, sc = {
|
|
896
896
|
key: 0,
|
|
897
897
|
class: "json-endpoint"
|
|
898
898
|
}, wa = /* @__PURE__ */ ue({
|
|
@@ -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-
|
|
2459
|
+
}), Rp = /* @__PURE__ */ Tt(xp, [["__scopeId", "data-v-2052238b"]]), 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 }) => [
|
|
@@ -3862,7 +3862,7 @@ const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
|
3862
3862
|
}, 8, ["title", "title-tag"]);
|
|
3863
3863
|
};
|
|
3864
3864
|
}
|
|
3865
|
-
}), Og = /* @__PURE__ */ Tt(kg, [["__scopeId", "data-v-
|
|
3865
|
+
}), Og = /* @__PURE__ */ Tt(kg, [["__scopeId", "data-v-67bd29c7"]]), Ig = {
|
|
3866
3866
|
key: 0,
|
|
3867
3867
|
class: "kong-ui-entity-delete-error"
|
|
3868
3868
|
}, Mg = {
|
|
@@ -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,14 +6470,12 @@ 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,
|
|
6477
6477
|
enabled: OA,
|
|
6478
|
-
// eslint-disable-next-line camelcase
|
|
6479
6478
|
created_at: IA,
|
|
6480
|
-
// eslint-disable-next-line camelcase
|
|
6481
6479
|
updated_at: MA,
|
|
6482
6480
|
fields: BA
|
|
6483
6481
|
}, js = {
|
|
@@ -6845,7 +6843,7 @@ const Qt = (e) => {
|
|
|
6845
6843
|
}
|
|
6846
6844
|
},
|
|
6847
6845
|
{
|
|
6848
|
-
redirect_uris:
|
|
6846
|
+
redirect_uris: si.fields.arrayItems({
|
|
6849
6847
|
label: "Redirect URI(s)",
|
|
6850
6848
|
hint: `One or more URLs in your app where users will be sent after
|
|
6851
6849
|
authorization (RFC 6742 Section 3.1.2)`,
|
|
@@ -7005,7 +7003,7 @@ const Qt = (e) => {
|
|
|
7005
7003
|
}
|
|
7006
7004
|
], zA = {
|
|
7007
7005
|
fields: FA
|
|
7008
|
-
},
|
|
7006
|
+
}, vt = {
|
|
7009
7007
|
"basic-auth": {
|
|
7010
7008
|
descriptionKey: "plugins.meta.basic-auth.description",
|
|
7011
7009
|
group: K.AUTHENTICATION,
|
|
@@ -7668,7 +7666,7 @@ const Qt = (e) => {
|
|
|
7668
7666
|
nameKey: "plugins.meta.app-dynamics.name",
|
|
7669
7667
|
scope: [p.GLOBAL, p.SERVICE, p.ROUTE, p.CONSUMER]
|
|
7670
7668
|
}
|
|
7671
|
-
},
|
|
7669
|
+
}, wn = {
|
|
7672
7670
|
acl: {
|
|
7673
7671
|
titleKey: "plugins.meta.acl.name",
|
|
7674
7672
|
plugin: "acl",
|
|
@@ -7747,23 +7745,23 @@ const Qt = (e) => {
|
|
|
7747
7745
|
jwt_secrets: GA
|
|
7748
7746
|
}, qA = (e) => {
|
|
7749
7747
|
var i;
|
|
7750
|
-
const t = ((i =
|
|
7748
|
+
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
7749
|
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
7750
|
}, XA = () => {
|
|
7753
|
-
const { i18n: { t: e } } =
|
|
7754
|
-
for (const [a, s] of Object.entries(
|
|
7751
|
+
const { i18n: { t: e } } = Ni(), t = {}, n = {};
|
|
7752
|
+
for (const [a, s] of Object.entries(vt))
|
|
7755
7753
|
t[a] = {
|
|
7756
7754
|
...s,
|
|
7757
7755
|
name: e(s.nameKey),
|
|
7758
7756
|
description: e(s.descriptionKey)
|
|
7759
7757
|
};
|
|
7760
|
-
for (const [a, s] of Object.entries(
|
|
7758
|
+
for (const [a, s] of Object.entries(wn))
|
|
7761
7759
|
n[a] = {
|
|
7762
7760
|
...s,
|
|
7763
7761
|
name: e(s.nameKey),
|
|
7764
7762
|
title: e(s.titleKey)
|
|
7765
7763
|
};
|
|
7766
|
-
return { pluginMetaData: t, credentialMetaData: n, credentialSchemas:
|
|
7764
|
+
return { pluginMetaData: t, credentialMetaData: n, credentialSchemas: wn, getDisplayName: (a) => {
|
|
7767
7765
|
var s;
|
|
7768
7766
|
return ((s = t[a]) == null ? void 0 : s.name) || a;
|
|
7769
7767
|
} };
|
|
@@ -7790,16 +7788,16 @@ function QA(e, t) {
|
|
|
7790
7788
|
i[n] = t(n);
|
|
7791
7789
|
return i;
|
|
7792
7790
|
}
|
|
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,
|
|
7791
|
+
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
7792
|
function th(e) {
|
|
7795
|
-
var t = $A.call(e,
|
|
7793
|
+
var t = $A.call(e, jn), n = e[jn];
|
|
7796
7794
|
try {
|
|
7797
|
-
e[
|
|
7795
|
+
e[jn] = void 0;
|
|
7798
7796
|
var i = !0;
|
|
7799
7797
|
} catch {
|
|
7800
7798
|
}
|
|
7801
7799
|
var a = eh.call(e);
|
|
7802
|
-
return i && (t ? e[
|
|
7800
|
+
return i && (t ? e[jn] = n : delete e[jn]), a;
|
|
7803
7801
|
}
|
|
7804
7802
|
var nh = Object.prototype, ih = nh.toString;
|
|
7805
7803
|
function ah(e) {
|
|
@@ -7824,7 +7822,7 @@ var Ko = Object.prototype, lh = Ko.hasOwnProperty, uh = Ko.propertyIsEnumerable,
|
|
|
7824
7822
|
function ch() {
|
|
7825
7823
|
return !1;
|
|
7826
7824
|
}
|
|
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,
|
|
7825
|
+
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
7826
|
function Da(e, t) {
|
|
7829
7827
|
var n = typeof e;
|
|
7830
7828
|
return t = t ?? gh, !!t && (n == "number" || n != "symbol" && mh.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
@@ -7844,15 +7842,15 @@ function Ga(e) {
|
|
|
7844
7842
|
return e(t);
|
|
7845
7843
|
};
|
|
7846
7844
|
}
|
|
7847
|
-
var Xo = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7845
|
+
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
7846
|
try {
|
|
7849
|
-
var e =
|
|
7847
|
+
var e = Gn && Gn.require && Gn.require("util").types;
|
|
7850
7848
|
return e || Zi && Zi.binding && Zi.binding("util");
|
|
7851
7849
|
} catch {
|
|
7852
7850
|
}
|
|
7853
|
-
}(), zs =
|
|
7851
|
+
}(), zs = kn && kn.isTypedArray, Va = zs ? Ga(zs) : Gh, Hh = Object.prototype, Fh = Hh.hasOwnProperty;
|
|
7854
7852
|
function Jo(e, t) {
|
|
7855
|
-
var n = ct(e), i = !n && Ua(e), a = !n && !i &&
|
|
7853
|
+
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
7854
|
for (var u in e)
|
|
7857
7855
|
(t || Fh.call(e, u)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7858
7856
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7862,7 +7860,7 @@ function Jo(e, t) {
|
|
|
7862
7860
|
return o;
|
|
7863
7861
|
}
|
|
7864
7862
|
var zh = Object.prototype;
|
|
7865
|
-
function
|
|
7863
|
+
function Pi(e) {
|
|
7866
7864
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || zh;
|
|
7867
7865
|
return e === n;
|
|
7868
7866
|
}
|
|
@@ -7873,7 +7871,7 @@ function Zo(e, t) {
|
|
|
7873
7871
|
}
|
|
7874
7872
|
var Kh = Zo(Object.keys, Object), qh = Object.prototype, Xh = qh.hasOwnProperty;
|
|
7875
7873
|
function Wo(e) {
|
|
7876
|
-
if (!
|
|
7874
|
+
if (!Pi(e))
|
|
7877
7875
|
return Kh(e);
|
|
7878
7876
|
var t = [];
|
|
7879
7877
|
for (var n in Object(e))
|
|
@@ -7891,20 +7889,20 @@ function be(e) {
|
|
|
7891
7889
|
var t = Xt(e);
|
|
7892
7890
|
return t == Zh || t == Wh || t == Jh || t == Qh;
|
|
7893
7891
|
}
|
|
7894
|
-
function
|
|
7892
|
+
function Bn(e) {
|
|
7895
7893
|
return e != null && Ya(e.length) && !be(e);
|
|
7896
7894
|
}
|
|
7897
|
-
function
|
|
7898
|
-
return
|
|
7895
|
+
function Sn(e) {
|
|
7896
|
+
return Bn(e) ? Jo(e) : Wo(e);
|
|
7899
7897
|
}
|
|
7900
7898
|
function _h(e, t) {
|
|
7901
|
-
return e && WA(e, t,
|
|
7899
|
+
return e && WA(e, t, Sn);
|
|
7902
7900
|
}
|
|
7903
7901
|
function $h(e, t) {
|
|
7904
7902
|
return function(n, i) {
|
|
7905
7903
|
if (n == null)
|
|
7906
7904
|
return n;
|
|
7907
|
-
if (!
|
|
7905
|
+
if (!Bn(n))
|
|
7908
7906
|
return e(n, i);
|
|
7909
7907
|
for (var a = n.length, s = t ? a : -1, r = Object(n); (t ? s-- : ++s < a) && i(r[s], s, r) !== !1; )
|
|
7910
7908
|
;
|
|
@@ -7913,18 +7911,18 @@ function $h(e, t) {
|
|
|
7913
7911
|
}
|
|
7914
7912
|
var ey = $h(_h);
|
|
7915
7913
|
const ty = ey;
|
|
7916
|
-
function
|
|
7914
|
+
function Ui(e) {
|
|
7917
7915
|
return e;
|
|
7918
7916
|
}
|
|
7919
7917
|
function ny(e) {
|
|
7920
|
-
return typeof e == "function" ? e :
|
|
7918
|
+
return typeof e == "function" ? e : Ui;
|
|
7921
7919
|
}
|
|
7922
7920
|
function et(e, t) {
|
|
7923
7921
|
var n = ct(e) ? Ho : ty;
|
|
7924
7922
|
return n(e, ny(t));
|
|
7925
7923
|
}
|
|
7926
7924
|
var iy = "[object Symbol]";
|
|
7927
|
-
function
|
|
7925
|
+
function Di(e) {
|
|
7928
7926
|
return typeof e == "symbol" || Rt(e) && Xt(e) == iy;
|
|
7929
7927
|
}
|
|
7930
7928
|
var ay = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sy = /^\w*$/;
|
|
@@ -7932,7 +7930,7 @@ function Ha(e, t) {
|
|
|
7932
7930
|
if (ct(e))
|
|
7933
7931
|
return !1;
|
|
7934
7932
|
var n = typeof e;
|
|
7935
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
7933
|
+
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
7934
|
}
|
|
7937
7935
|
var Wi = ft["__core-js_shared__"], Ks = function() {
|
|
7938
7936
|
var e = /[^.]+$/.exec(Wi && Wi.keys && Wi.keys.IE_PROTO || "");
|
|
@@ -7971,9 +7969,9 @@ function pn(e, t) {
|
|
|
7971
7969
|
var n = hy(e, t);
|
|
7972
7970
|
return Ay(n) ? n : void 0;
|
|
7973
7971
|
}
|
|
7974
|
-
var
|
|
7972
|
+
var Zn = pn(Object, "create");
|
|
7975
7973
|
function yy() {
|
|
7976
|
-
this.__data__ =
|
|
7974
|
+
this.__data__ = Zn ? Zn(null) : {}, this.size = 0;
|
|
7977
7975
|
}
|
|
7978
7976
|
function vy(e) {
|
|
7979
7977
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -7982,7 +7980,7 @@ function vy(e) {
|
|
|
7982
7980
|
var by = "__lodash_hash_undefined__", wy = Object.prototype, Cy = wy.hasOwnProperty;
|
|
7983
7981
|
function Ey(e) {
|
|
7984
7982
|
var t = this.__data__;
|
|
7985
|
-
if (
|
|
7983
|
+
if (Zn) {
|
|
7986
7984
|
var n = t[e];
|
|
7987
7985
|
return n === by ? void 0 : n;
|
|
7988
7986
|
}
|
|
@@ -7991,12 +7989,12 @@ function Ey(e) {
|
|
|
7991
7989
|
var ky = Object.prototype, Oy = ky.hasOwnProperty;
|
|
7992
7990
|
function Iy(e) {
|
|
7993
7991
|
var t = this.__data__;
|
|
7994
|
-
return
|
|
7992
|
+
return Zn ? t[e] !== void 0 : Oy.call(t, e);
|
|
7995
7993
|
}
|
|
7996
7994
|
var My = "__lodash_hash_undefined__";
|
|
7997
7995
|
function By(e, t) {
|
|
7998
7996
|
var n = this.__data__;
|
|
7999
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
7997
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Zn && t === void 0 ? My : t, this;
|
|
8000
7998
|
}
|
|
8001
7999
|
function an(e) {
|
|
8002
8000
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -8013,32 +8011,32 @@ an.prototype.set = By;
|
|
|
8013
8011
|
function Sy() {
|
|
8014
8012
|
this.__data__ = [], this.size = 0;
|
|
8015
8013
|
}
|
|
8016
|
-
function
|
|
8014
|
+
function ri(e, t) {
|
|
8017
8015
|
return e === t || e !== e && t !== t;
|
|
8018
8016
|
}
|
|
8019
|
-
function
|
|
8017
|
+
function Yi(e, t) {
|
|
8020
8018
|
for (var n = e.length; n--; )
|
|
8021
|
-
if (
|
|
8019
|
+
if (ri(e[n][0], t))
|
|
8022
8020
|
return n;
|
|
8023
8021
|
return -1;
|
|
8024
8022
|
}
|
|
8025
8023
|
var xy = Array.prototype, Ry = xy.splice;
|
|
8026
8024
|
function Ty(e) {
|
|
8027
|
-
var t = this.__data__, n =
|
|
8025
|
+
var t = this.__data__, n = Yi(t, e);
|
|
8028
8026
|
if (n < 0)
|
|
8029
8027
|
return !1;
|
|
8030
8028
|
var i = t.length - 1;
|
|
8031
8029
|
return n == i ? t.pop() : Ry.call(t, n, 1), --this.size, !0;
|
|
8032
8030
|
}
|
|
8033
8031
|
function Ly(e) {
|
|
8034
|
-
var t = this.__data__, n =
|
|
8032
|
+
var t = this.__data__, n = Yi(t, e);
|
|
8035
8033
|
return n < 0 ? void 0 : t[n][1];
|
|
8036
8034
|
}
|
|
8037
8035
|
function jy(e) {
|
|
8038
|
-
return
|
|
8036
|
+
return Yi(this.__data__, e) > -1;
|
|
8039
8037
|
}
|
|
8040
8038
|
function Ny(e, t) {
|
|
8041
|
-
var n = this.__data__, i =
|
|
8039
|
+
var n = this.__data__, i = Yi(n, e);
|
|
8042
8040
|
return i < 0 ? (++this.size, n.push([e, t])) : n[i][1] = t, this;
|
|
8043
8041
|
}
|
|
8044
8042
|
function Pt(e) {
|
|
@@ -8053,11 +8051,11 @@ Pt.prototype.delete = Ty;
|
|
|
8053
8051
|
Pt.prototype.get = Ly;
|
|
8054
8052
|
Pt.prototype.has = jy;
|
|
8055
8053
|
Pt.prototype.set = Ny;
|
|
8056
|
-
var
|
|
8054
|
+
var Wn = pn(ft, "Map");
|
|
8057
8055
|
function Py() {
|
|
8058
8056
|
this.size = 0, this.__data__ = {
|
|
8059
8057
|
hash: new an(),
|
|
8060
|
-
map: new (
|
|
8058
|
+
map: new (Wn || Pt)(),
|
|
8061
8059
|
string: new an()
|
|
8062
8060
|
};
|
|
8063
8061
|
}
|
|
@@ -8065,22 +8063,22 @@ function Uy(e) {
|
|
|
8065
8063
|
var t = typeof e;
|
|
8066
8064
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
8067
8065
|
}
|
|
8068
|
-
function
|
|
8066
|
+
function Gi(e, t) {
|
|
8069
8067
|
var n = e.__data__;
|
|
8070
8068
|
return Uy(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
8071
8069
|
}
|
|
8072
8070
|
function Dy(e) {
|
|
8073
|
-
var t =
|
|
8071
|
+
var t = Gi(this, e).delete(e);
|
|
8074
8072
|
return this.size -= t ? 1 : 0, t;
|
|
8075
8073
|
}
|
|
8076
8074
|
function Yy(e) {
|
|
8077
|
-
return
|
|
8075
|
+
return Gi(this, e).get(e);
|
|
8078
8076
|
}
|
|
8079
8077
|
function Gy(e) {
|
|
8080
|
-
return
|
|
8078
|
+
return Gi(this, e).has(e);
|
|
8081
8079
|
}
|
|
8082
8080
|
function Vy(e, t) {
|
|
8083
|
-
var n =
|
|
8081
|
+
var n = Gi(this, e), i = n.size;
|
|
8084
8082
|
return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
|
|
8085
8083
|
}
|
|
8086
8084
|
function Ut(e) {
|
|
@@ -8133,7 +8131,7 @@ function Qo(e) {
|
|
|
8133
8131
|
return e;
|
|
8134
8132
|
if (ct(e))
|
|
8135
8133
|
return Jy(e, Qo) + "";
|
|
8136
|
-
if (
|
|
8134
|
+
if (Di(e))
|
|
8137
8135
|
return Xs ? Xs.call(e) : "";
|
|
8138
8136
|
var t = e + "";
|
|
8139
8137
|
return t == "0" && 1 / e == -Zy ? "-0" : t;
|
|
@@ -8145,8 +8143,8 @@ function $o(e, t) {
|
|
|
8145
8143
|
return ct(e) ? e : Ha(e, t) ? [e] : Xy(_o(e));
|
|
8146
8144
|
}
|
|
8147
8145
|
var Wy = 1 / 0;
|
|
8148
|
-
function
|
|
8149
|
-
if (typeof e == "string" ||
|
|
8146
|
+
function Vi(e) {
|
|
8147
|
+
if (typeof e == "string" || Di(e))
|
|
8150
8148
|
return e;
|
|
8151
8149
|
var t = e + "";
|
|
8152
8150
|
return t == "0" && 1 / e == -Wy ? "-0" : t;
|
|
@@ -8154,7 +8152,7 @@ function Gi(e) {
|
|
|
8154
8152
|
function el(e, t) {
|
|
8155
8153
|
t = $o(t, e);
|
|
8156
8154
|
for (var n = 0, i = t.length; e != null && n < i; )
|
|
8157
|
-
e = e[
|
|
8155
|
+
e = e[Vi(t[n++])];
|
|
8158
8156
|
return n && n == i ? e : void 0;
|
|
8159
8157
|
}
|
|
8160
8158
|
function ve(e, t, n) {
|
|
@@ -8221,7 +8219,7 @@ function iv(e, t) {
|
|
|
8221
8219
|
var n = this.__data__;
|
|
8222
8220
|
if (n instanceof Pt) {
|
|
8223
8221
|
var i = n.__data__;
|
|
8224
|
-
if (!
|
|
8222
|
+
if (!Wn || i.length < nv - 1)
|
|
8225
8223
|
return i.push([e, t]), this.size = ++n.size, this;
|
|
8226
8224
|
n = this.__data__ = new Ut(i);
|
|
8227
8225
|
}
|
|
@@ -8236,7 +8234,7 @@ Bt.prototype.delete = $y;
|
|
|
8236
8234
|
Bt.prototype.get = ev;
|
|
8237
8235
|
Bt.prototype.has = tv;
|
|
8238
8236
|
Bt.prototype.set = iv;
|
|
8239
|
-
var
|
|
8237
|
+
var Ci = function() {
|
|
8240
8238
|
try {
|
|
8241
8239
|
var e = pn(Object, "defineProperty");
|
|
8242
8240
|
return e({}, "", {}), e;
|
|
@@ -8244,7 +8242,7 @@ var wi = function() {
|
|
|
8244
8242
|
}
|
|
8245
8243
|
}();
|
|
8246
8244
|
function nl(e, t, n) {
|
|
8247
|
-
t == "__proto__" &&
|
|
8245
|
+
t == "__proto__" && Ci ? Ci(e, t, {
|
|
8248
8246
|
configurable: !0,
|
|
8249
8247
|
enumerable: !0,
|
|
8250
8248
|
value: n,
|
|
@@ -8254,9 +8252,9 @@ function nl(e, t, n) {
|
|
|
8254
8252
|
var av = Object.prototype, sv = av.hasOwnProperty;
|
|
8255
8253
|
function il(e, t, n) {
|
|
8256
8254
|
var i = e[t];
|
|
8257
|
-
(!(sv.call(e, t) &&
|
|
8255
|
+
(!(sv.call(e, t) && ri(i, n)) || n === void 0 && !(t in e)) && nl(e, t, n);
|
|
8258
8256
|
}
|
|
8259
|
-
function
|
|
8257
|
+
function Hi(e, t, n, i) {
|
|
8260
8258
|
var a = !n;
|
|
8261
8259
|
n || (n = {});
|
|
8262
8260
|
for (var s = -1, r = t.length; ++s < r; ) {
|
|
@@ -8266,7 +8264,7 @@ function Vi(e, t, n, i) {
|
|
|
8266
8264
|
return n;
|
|
8267
8265
|
}
|
|
8268
8266
|
function rv(e, t) {
|
|
8269
|
-
return e &&
|
|
8267
|
+
return e && Hi(t, Sn(t), e);
|
|
8270
8268
|
}
|
|
8271
8269
|
function ov(e) {
|
|
8272
8270
|
var t = [];
|
|
@@ -8279,16 +8277,16 @@ var lv = Object.prototype, uv = lv.hasOwnProperty;
|
|
|
8279
8277
|
function cv(e) {
|
|
8280
8278
|
if (!He(e))
|
|
8281
8279
|
return ov(e);
|
|
8282
|
-
var t =
|
|
8280
|
+
var t = Pi(e), n = [];
|
|
8283
8281
|
for (var i in e)
|
|
8284
8282
|
i == "constructor" && (t || !uv.call(e, i)) || n.push(i);
|
|
8285
8283
|
return n;
|
|
8286
8284
|
}
|
|
8287
|
-
function
|
|
8288
|
-
return
|
|
8285
|
+
function Fi(e) {
|
|
8286
|
+
return Bn(e) ? Jo(e, !0) : cv(e);
|
|
8289
8287
|
}
|
|
8290
8288
|
function dv(e, t) {
|
|
8291
|
-
return e &&
|
|
8289
|
+
return e && Hi(t, Fi(t), e);
|
|
8292
8290
|
}
|
|
8293
8291
|
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
8292
|
function gv(e, t) {
|
|
@@ -8319,7 +8317,7 @@ var Av = Object.prototype, hv = Av.propertyIsEnumerable, Qs = Object.getOwnPrope
|
|
|
8319
8317
|
}));
|
|
8320
8318
|
} : sl;
|
|
8321
8319
|
function yv(e, t) {
|
|
8322
|
-
return
|
|
8320
|
+
return Hi(e, za(e), t);
|
|
8323
8321
|
}
|
|
8324
8322
|
function rl(e, t) {
|
|
8325
8323
|
for (var n = -1, i = t.length, a = e.length; ++n < i; )
|
|
@@ -8334,20 +8332,20 @@ var bv = Object.getOwnPropertySymbols, ll = bv ? function(e) {
|
|
|
8334
8332
|
return t;
|
|
8335
8333
|
} : sl;
|
|
8336
8334
|
function wv(e, t) {
|
|
8337
|
-
return
|
|
8335
|
+
return Hi(e, ll(e), t);
|
|
8338
8336
|
}
|
|
8339
8337
|
function ul(e, t, n) {
|
|
8340
8338
|
var i = t(e);
|
|
8341
8339
|
return ct(e) ? i : rl(i, n(e));
|
|
8342
8340
|
}
|
|
8343
8341
|
function ua(e) {
|
|
8344
|
-
return ul(e,
|
|
8342
|
+
return ul(e, Sn, za);
|
|
8345
8343
|
}
|
|
8346
8344
|
function Cv(e) {
|
|
8347
|
-
return ul(e,
|
|
8345
|
+
return ul(e, Fi, ll);
|
|
8348
8346
|
}
|
|
8349
|
-
var ca = pn(ft, "DataView"), da = pn(ft, "Promise"),
|
|
8350
|
-
(ca && _t(new ca(new ArrayBuffer(1))) != nr ||
|
|
8347
|
+
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;
|
|
8348
|
+
(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
8349
|
var t = Xt(e), n = t == Ev ? e.constructor : void 0, i = n ? dn(n) : "";
|
|
8352
8350
|
if (i)
|
|
8353
8351
|
switch (i) {
|
|
@@ -8364,16 +8362,16 @@ var ca = pn(ft, "DataView"), da = pn(ft, "Promise"), wn = pn(ft, "Set"), pa = pn
|
|
|
8364
8362
|
}
|
|
8365
8363
|
return t;
|
|
8366
8364
|
});
|
|
8367
|
-
const
|
|
8365
|
+
const On = _t;
|
|
8368
8366
|
var Sv = Object.prototype, xv = Sv.hasOwnProperty;
|
|
8369
8367
|
function Rv(e) {
|
|
8370
8368
|
var t = e.length, n = new e.constructor(t);
|
|
8371
8369
|
return t && typeof e[0] == "string" && xv.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
8372
8370
|
}
|
|
8373
|
-
var
|
|
8371
|
+
var Ei = ft.Uint8Array;
|
|
8374
8372
|
function Ka(e) {
|
|
8375
8373
|
var t = new e.constructor(e.byteLength);
|
|
8376
|
-
return new
|
|
8374
|
+
return new Ei(t).set(new Ei(e)), t;
|
|
8377
8375
|
}
|
|
8378
8376
|
function Tv(e, t) {
|
|
8379
8377
|
var n = t ? Ka(e.buffer) : e.buffer;
|
|
@@ -8440,20 +8438,20 @@ var sr = Object.create, ib = /* @__PURE__ */ function() {
|
|
|
8440
8438
|
};
|
|
8441
8439
|
}();
|
|
8442
8440
|
function ab(e) {
|
|
8443
|
-
return typeof e.constructor == "function" && !
|
|
8441
|
+
return typeof e.constructor == "function" && !Pi(e) ? ib(ol(e)) : {};
|
|
8444
8442
|
}
|
|
8445
8443
|
var sb = "[object Map]";
|
|
8446
8444
|
function rb(e) {
|
|
8447
|
-
return Rt(e) &&
|
|
8445
|
+
return Rt(e) && On(e) == sb;
|
|
8448
8446
|
}
|
|
8449
|
-
var rr =
|
|
8447
|
+
var rr = kn && kn.isMap, ob = rr ? Ga(rr) : rb, lb = "[object Set]";
|
|
8450
8448
|
function ub(e) {
|
|
8451
|
-
return Rt(e) &&
|
|
8449
|
+
return Rt(e) && On(e) == lb;
|
|
8452
8450
|
}
|
|
8453
|
-
var or =
|
|
8451
|
+
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
8452
|
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
8453
|
Be[hb] = Be[dl] = Be[Ob] = !1;
|
|
8456
|
-
function
|
|
8454
|
+
function Vn(e, t, n, i, a, s) {
|
|
8457
8455
|
var r, o = t & db, l = t & pb, u = t & gb;
|
|
8458
8456
|
if (n && (r = a ? n(e, i, a, s) : n(e)), r !== void 0)
|
|
8459
8457
|
return r;
|
|
@@ -8464,8 +8462,8 @@ function Gn(e, t, n, i, a, s) {
|
|
|
8464
8462
|
if (r = Rv(e), !o)
|
|
8465
8463
|
return mv(e, r);
|
|
8466
8464
|
} else {
|
|
8467
|
-
var g =
|
|
8468
|
-
if (
|
|
8465
|
+
var g = On(e), f = g == dl || g == yb;
|
|
8466
|
+
if (Jn(e))
|
|
8469
8467
|
return gv(e, o);
|
|
8470
8468
|
if (g == pl || g == cl || f && !a) {
|
|
8471
8469
|
if (r = l || f ? {} : ab(e), !o)
|
|
@@ -8481,18 +8479,18 @@ function Gn(e, t, n, i, a, s) {
|
|
|
8481
8479
|
if (v)
|
|
8482
8480
|
return v;
|
|
8483
8481
|
s.set(e, r), cb(e) ? e.forEach(function(O) {
|
|
8484
|
-
r.add(
|
|
8482
|
+
r.add(Vn(O, t, n, O, e, s));
|
|
8485
8483
|
}) : ob(e) && e.forEach(function(O, I) {
|
|
8486
|
-
r.set(I,
|
|
8484
|
+
r.set(I, Vn(O, t, n, I, e, s));
|
|
8487
8485
|
});
|
|
8488
|
-
var M = u ? l ? Cv : ua : l ?
|
|
8486
|
+
var M = u ? l ? Cv : ua : l ? Fi : Sn, C = c ? void 0 : M(e);
|
|
8489
8487
|
return Ho(C || e, function(O, I) {
|
|
8490
|
-
C && (I = O, O = e[I]), il(r, I,
|
|
8488
|
+
C && (I = O, O = e[I]), il(r, I, Vn(O, t, n, I, e, s));
|
|
8491
8489
|
}), r;
|
|
8492
8490
|
}
|
|
8493
8491
|
var Ub = 1, Db = 4;
|
|
8494
8492
|
function jt(e) {
|
|
8495
|
-
return
|
|
8493
|
+
return Vn(e, Ub | Db);
|
|
8496
8494
|
}
|
|
8497
8495
|
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
8496
|
var Qi = function() {
|
|
@@ -8511,7 +8509,7 @@ var ur = NaN, Fb = /^[-+]0x[0-9a-f]+$/i, zb = /^0b[01]+$/i, Kb = /^0o[0-7]+$/i,
|
|
|
8511
8509
|
function ga(e) {
|
|
8512
8510
|
if (typeof e == "number")
|
|
8513
8511
|
return e;
|
|
8514
|
-
if (
|
|
8512
|
+
if (Di(e))
|
|
8515
8513
|
return ur;
|
|
8516
8514
|
if (He(e)) {
|
|
8517
8515
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -8524,7 +8522,7 @@ function ga(e) {
|
|
|
8524
8522
|
return n || Kb.test(e) ? qb(e.slice(2), n ? 2 : 8) : Fb.test(e) ? ur : +e;
|
|
8525
8523
|
}
|
|
8526
8524
|
var Xb = "Expected a function", Jb = Math.max, Zb = Math.min;
|
|
8527
|
-
function
|
|
8525
|
+
function Qn(e, t, n) {
|
|
8528
8526
|
var i, a, s, r, o, l, u = 0, c = !1, g = !1, f = !0;
|
|
8529
8527
|
if (typeof e != "function")
|
|
8530
8528
|
throw new TypeError(Xb);
|
|
@@ -8578,13 +8576,13 @@ function Qb(e) {
|
|
|
8578
8576
|
function _b(e) {
|
|
8579
8577
|
return this.__data__.has(e);
|
|
8580
8578
|
}
|
|
8581
|
-
function
|
|
8579
|
+
function _n(e) {
|
|
8582
8580
|
var t = -1, n = e == null ? 0 : e.length;
|
|
8583
8581
|
for (this.__data__ = new Ut(); ++t < n; )
|
|
8584
8582
|
this.add(e[t]);
|
|
8585
8583
|
}
|
|
8586
|
-
|
|
8587
|
-
|
|
8584
|
+
_n.prototype.add = _n.prototype.push = Qb;
|
|
8585
|
+
_n.prototype.has = _b;
|
|
8588
8586
|
function gl(e, t, n, i) {
|
|
8589
8587
|
for (var a = e.length, s = n + (i ? 1 : -1); i ? s-- : ++s < a; )
|
|
8590
8588
|
if (t(e[s], s, e))
|
|
@@ -8624,8 +8622,8 @@ function Xa(e) {
|
|
|
8624
8622
|
n[++t] = i;
|
|
8625
8623
|
}), n;
|
|
8626
8624
|
}
|
|
8627
|
-
var s1 = 1 / 0, r1 =
|
|
8628
|
-
return new
|
|
8625
|
+
var s1 = 1 / 0, r1 = Cn && 1 / Xa(new Cn([, -0]))[1] == s1 ? function(e) {
|
|
8626
|
+
return new Cn(e);
|
|
8629
8627
|
} : a1, o1 = 200;
|
|
8630
8628
|
function l1(e, t, n) {
|
|
8631
8629
|
var i = -1, a = n1, s = e.length, r = !0, o = [], l = o;
|
|
@@ -8635,7 +8633,7 @@ function l1(e, t, n) {
|
|
|
8635
8633
|
var u = t ? null : r1(e);
|
|
8636
8634
|
if (u)
|
|
8637
8635
|
return Xa(u);
|
|
8638
|
-
r = !1, a = ml, l = new
|
|
8636
|
+
r = !1, a = ml, l = new _n();
|
|
8639
8637
|
} else
|
|
8640
8638
|
l = t ? [] : o;
|
|
8641
8639
|
e:
|
|
@@ -8688,14 +8686,14 @@ function p1(e) {
|
|
|
8688
8686
|
return e;
|
|
8689
8687
|
};
|
|
8690
8688
|
}
|
|
8691
|
-
var g1 =
|
|
8692
|
-
return
|
|
8689
|
+
var g1 = Ci ? function(e, t) {
|
|
8690
|
+
return Ci(e, "toString", {
|
|
8693
8691
|
configurable: !0,
|
|
8694
8692
|
enumerable: !1,
|
|
8695
8693
|
value: p1(t),
|
|
8696
8694
|
writable: !0
|
|
8697
8695
|
});
|
|
8698
|
-
} :
|
|
8696
|
+
} : Ui;
|
|
8699
8697
|
const m1 = g1;
|
|
8700
8698
|
var f1 = 800, A1 = 16, h1 = Date.now;
|
|
8701
8699
|
function y1(e) {
|
|
@@ -8712,21 +8710,21 @@ function y1(e) {
|
|
|
8712
8710
|
}
|
|
8713
8711
|
var v1 = y1(m1);
|
|
8714
8712
|
function b1(e, t) {
|
|
8715
|
-
return v1(d1(e, t,
|
|
8713
|
+
return v1(d1(e, t, Ui), e + "");
|
|
8716
8714
|
}
|
|
8717
8715
|
function w1(e, t, n) {
|
|
8718
8716
|
if (!He(n))
|
|
8719
8717
|
return !1;
|
|
8720
8718
|
var i = typeof t;
|
|
8721
|
-
return (i == "number" ?
|
|
8719
|
+
return (i == "number" ? Bn(n) && Da(t, n.length) : i == "string" && t in n) ? ri(n[t], e) : !1;
|
|
8722
8720
|
}
|
|
8723
8721
|
var hl = Object.prototype, C1 = hl.hasOwnProperty, Jt = b1(function(e, t) {
|
|
8724
8722
|
e = Object(e);
|
|
8725
8723
|
var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
|
|
8726
8724
|
for (a && w1(t[0], t[1], a) && (i = 1); ++n < i; )
|
|
8727
|
-
for (var s = t[n], r =
|
|
8725
|
+
for (var s = t[n], r = Fi(s), o = -1, l = r.length; ++o < l; ) {
|
|
8728
8726
|
var u = r[o], c = e[u];
|
|
8729
|
-
(c === void 0 ||
|
|
8727
|
+
(c === void 0 || ri(c, hl[u]) && !C1.call(e, u)) && (e[u] = s[u]);
|
|
8730
8728
|
}
|
|
8731
8729
|
return e;
|
|
8732
8730
|
}), E1 = ft.isFinite;
|
|
@@ -8754,7 +8752,7 @@ var B1 = "[object Number]";
|
|
|
8754
8752
|
function ma(e) {
|
|
8755
8753
|
return typeof e == "number" || Rt(e) && Xt(e) == B1;
|
|
8756
8754
|
}
|
|
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}",
|
|
8755
|
+
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
8756
|
function wl(e, t) {
|
|
8759
8757
|
for (var n = [], i = 0, a = e.length; i < a; i++)
|
|
8760
8758
|
n.push(e[i].substr(0, t));
|
|
@@ -8808,8 +8806,8 @@ var Cl = [
|
|
|
8808
8806
|
DoFn: function(e) {
|
|
8809
8807
|
return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
|
|
8810
8808
|
}
|
|
8811
|
-
},
|
|
8812
|
-
return
|
|
8809
|
+
}, ki = rn({}, kl), L1 = function(e) {
|
|
8810
|
+
return ki = rn(ki, e);
|
|
8813
8811
|
}, gr = function(e) {
|
|
8814
8812
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
8815
8813
|
}, at = function(e, t) {
|
|
@@ -8905,9 +8903,9 @@ var Cl = [
|
|
|
8905
8903
|
}
|
|
8906
8904
|
}, mr = function(e) {
|
|
8907
8905
|
return +e - 1;
|
|
8908
|
-
}, fr = [null, Gt], Ar = [null,
|
|
8906
|
+
}, fr = [null, Gt], Ar = [null, Hn], hr = [
|
|
8909
8907
|
"isPm",
|
|
8910
|
-
|
|
8908
|
+
Hn,
|
|
8911
8909
|
function(e, t) {
|
|
8912
8910
|
var n = e.toLowerCase();
|
|
8913
8911
|
return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
|
|
@@ -8926,7 +8924,7 @@ var Cl = [
|
|
|
8926
8924
|
], N1 = {
|
|
8927
8925
|
D: ["day", Gt],
|
|
8928
8926
|
DD: ["day", Yt],
|
|
8929
|
-
Do: ["day", Gt +
|
|
8927
|
+
Do: ["day", Gt + Hn, function(e) {
|
|
8930
8928
|
return parseInt(e, 10);
|
|
8931
8929
|
}],
|
|
8932
8930
|
M: ["month", Gt, mr],
|
|
@@ -8959,13 +8957,13 @@ var Cl = [
|
|
|
8959
8957
|
dd: fr,
|
|
8960
8958
|
ddd: Ar,
|
|
8961
8959
|
dddd: Ar,
|
|
8962
|
-
MMM: ["month",
|
|
8963
|
-
MMMM: ["month",
|
|
8960
|
+
MMM: ["month", Hn, pr("monthNamesShort")],
|
|
8961
|
+
MMMM: ["month", Hn, pr("monthNames")],
|
|
8964
8962
|
a: hr,
|
|
8965
8963
|
A: hr,
|
|
8966
8964
|
ZZ: yr,
|
|
8967
8965
|
Z: yr
|
|
8968
|
-
},
|
|
8966
|
+
}, Oi = {
|
|
8969
8967
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
8970
8968
|
shortDate: "M/D/YY",
|
|
8971
8969
|
mediumDate: "MMM D, YYYY",
|
|
@@ -8977,16 +8975,16 @@ var Cl = [
|
|
|
8977
8975
|
mediumTime: "HH:mm:ss",
|
|
8978
8976
|
longTime: "HH:mm:ss.SSS"
|
|
8979
8977
|
}, P1 = function(e) {
|
|
8980
|
-
return rn(
|
|
8978
|
+
return rn(Oi, e);
|
|
8981
8979
|
}, U1 = function(e, t, n) {
|
|
8982
|
-
if (t === void 0 && (t =
|
|
8980
|
+
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
8981
|
throw new Error("Invalid Date pass to format");
|
|
8984
|
-
t =
|
|
8982
|
+
t = Oi[t] || t;
|
|
8985
8983
|
var i = [];
|
|
8986
8984
|
t = t.replace(bl, function(s, r) {
|
|
8987
8985
|
return i.push(r), "@@@";
|
|
8988
8986
|
});
|
|
8989
|
-
var a = rn(rn({},
|
|
8987
|
+
var a = rn(rn({}, ki), n);
|
|
8990
8988
|
return t = t.replace(vl, function(s) {
|
|
8991
8989
|
return j1[s](e, a);
|
|
8992
8990
|
}), t.replace(/@@@/g, function() {
|
|
@@ -8996,7 +8994,7 @@ var Cl = [
|
|
|
8996
8994
|
function D1(e, t, n) {
|
|
8997
8995
|
if (n === void 0 && (n = {}), typeof t != "string")
|
|
8998
8996
|
throw new Error("Invalid format in fecha parse");
|
|
8999
|
-
if (t =
|
|
8997
|
+
if (t = Oi[t] || t, e.length > 1e3)
|
|
9000
8998
|
return null;
|
|
9001
8999
|
var i = /* @__PURE__ */ new Date(), a = {
|
|
9002
9000
|
year: i.getFullYear(),
|
|
@@ -9025,7 +9023,7 @@ function D1(e, t, n) {
|
|
|
9025
9023
|
var c = e.match(new RegExp(o, "i"));
|
|
9026
9024
|
if (!c)
|
|
9027
9025
|
return null;
|
|
9028
|
-
for (var g = rn(rn({},
|
|
9026
|
+
for (var g = rn(rn({}, ki), n), f = 1; f < c.length; f++) {
|
|
9029
9027
|
var v = s[f - 1], M = v[0], C = v[2], O = C ? C(c[f], g) : +c[f];
|
|
9030
9028
|
if (O == null)
|
|
9031
9029
|
return null;
|
|
@@ -9279,7 +9277,7 @@ const Ce = {
|
|
|
9279
9277
|
return t ? Promise.all(n).then(i) : i(n);
|
|
9280
9278
|
},
|
|
9281
9279
|
debouncedValidate() {
|
|
9282
|
-
be(this.debouncedValidateFunc) || (this.debouncedValidateFunc =
|
|
9280
|
+
be(this.debouncedValidateFunc) || (this.debouncedValidateFunc = Qn(
|
|
9283
9281
|
this.validate.bind(this),
|
|
9284
9282
|
ve(this.schema, "validateDebounceTime", ve(this.formOptions, "validateDebounceTime", 500))
|
|
9285
9283
|
)), this.debouncedValidateFunc();
|
|
@@ -9353,7 +9351,7 @@ const me = (e, t) => {
|
|
|
9353
9351
|
}, H1 = /* @__PURE__ */ me(Y1, [["render", V1]]);
|
|
9354
9352
|
var F1 = 4;
|
|
9355
9353
|
function br(e) {
|
|
9356
|
-
return
|
|
9354
|
+
return Vn(e, F1);
|
|
9357
9355
|
}
|
|
9358
9356
|
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
9357
|
function _1(e, t, n, i, a, s) {
|
|
@@ -9522,7 +9520,7 @@ function t0(e) {
|
|
|
9522
9520
|
};
|
|
9523
9521
|
return x ? Promise.all(D).then(E) : E(D);
|
|
9524
9522
|
}, r = () => {
|
|
9525
|
-
be(n.value) ? n.value() : n.value =
|
|
9523
|
+
be(n.value) ? n.value() : n.value = Qn(
|
|
9526
9524
|
s,
|
|
9527
9525
|
ve(e.schema, "validateDebounceTime", ve(e.formOptions, "validateDebounceTime", 500))
|
|
9528
9526
|
);
|
|
@@ -9642,11 +9640,11 @@ const Ol = {
|
|
|
9642
9640
|
var I;
|
|
9643
9641
|
be(C.value) && ((I = C.value) == null || I.flush());
|
|
9644
9642
|
};
|
|
9645
|
-
return
|
|
9643
|
+
return Si(() => {
|
|
9646
9644
|
switch (c.value) {
|
|
9647
9645
|
case "number":
|
|
9648
9646
|
case "range":
|
|
9649
|
-
C.value =
|
|
9647
|
+
C.value = Qn(
|
|
9650
9648
|
(I, x) => {
|
|
9651
9649
|
v(I, x);
|
|
9652
9650
|
},
|
|
@@ -9660,7 +9658,7 @@ const Ol = {
|
|
|
9660
9658
|
case "date":
|
|
9661
9659
|
case "datetime":
|
|
9662
9660
|
case "datetime-local":
|
|
9663
|
-
C.value =
|
|
9661
|
+
C.value = Qn(
|
|
9664
9662
|
(I, x) => {
|
|
9665
9663
|
f(I, x);
|
|
9666
9664
|
},
|
|
@@ -9846,7 +9844,7 @@ function Ml(e, t, n, i, a, s) {
|
|
|
9846
9844
|
var u = s.get(e), c = s.get(t);
|
|
9847
9845
|
if (u && c)
|
|
9848
9846
|
return u == t && c == e;
|
|
9849
|
-
var g = -1, f = !0, v = n & g0 ? new
|
|
9847
|
+
var g = -1, f = !0, v = n & g0 ? new _n() : void 0;
|
|
9850
9848
|
for (s.set(e, t), s.set(t, e); ++g < o; ) {
|
|
9851
9849
|
var M = e[g], C = t[g];
|
|
9852
9850
|
if (i)
|
|
@@ -9886,11 +9884,11 @@ function B0(e, t, n, i, a, s, r) {
|
|
|
9886
9884
|
return !1;
|
|
9887
9885
|
e = e.buffer, t = t.buffer;
|
|
9888
9886
|
case I0:
|
|
9889
|
-
return !(e.byteLength != t.byteLength || !s(new
|
|
9887
|
+
return !(e.byteLength != t.byteLength || !s(new Ei(e), new Ei(t)));
|
|
9890
9888
|
case h0:
|
|
9891
9889
|
case y0:
|
|
9892
9890
|
case w0:
|
|
9893
|
-
return
|
|
9891
|
+
return ri(+e, +t);
|
|
9894
9892
|
case v0:
|
|
9895
9893
|
return e.name == t.name && e.message == t.message;
|
|
9896
9894
|
case C0:
|
|
@@ -9946,13 +9944,13 @@ function T0(e, t, n, i, a, s) {
|
|
|
9946
9944
|
}
|
|
9947
9945
|
return s.delete(e), s.delete(t), C;
|
|
9948
9946
|
}
|
|
9949
|
-
var L0 = 1, Cr = "[object Arguments]", Er = "[object Array]",
|
|
9947
|
+
var L0 = 1, Cr = "[object Arguments]", Er = "[object Array]", pi = "[object Object]", j0 = Object.prototype, kr = j0.hasOwnProperty;
|
|
9950
9948
|
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 (!
|
|
9949
|
+
var r = ct(e), o = ct(t), l = r ? Er : On(e), u = o ? Er : On(t);
|
|
9950
|
+
l = l == Cr ? pi : l, u = u == Cr ? pi : u;
|
|
9951
|
+
var c = l == pi, g = u == pi, f = l == u;
|
|
9952
|
+
if (f && Jn(e)) {
|
|
9953
|
+
if (!Jn(t))
|
|
9956
9954
|
return !1;
|
|
9957
9955
|
r = !0, c = !1;
|
|
9958
9956
|
}
|
|
@@ -10000,7 +9998,7 @@ function Bl(e) {
|
|
|
10000
9998
|
return e === e && !He(e);
|
|
10001
9999
|
}
|
|
10002
10000
|
function Y0(e) {
|
|
10003
|
-
for (var t =
|
|
10001
|
+
for (var t = Sn(e), n = t.length; n--; ) {
|
|
10004
10002
|
var i = t[n], a = e[i];
|
|
10005
10003
|
t[n] = [i, a, Bl(a)];
|
|
10006
10004
|
}
|
|
@@ -10023,7 +10021,7 @@ function V0(e, t) {
|
|
|
10023
10021
|
function H0(e, t, n) {
|
|
10024
10022
|
t = $o(t, e);
|
|
10025
10023
|
for (var i = -1, a = t.length, s = !1; ++i < a; ) {
|
|
10026
|
-
var r =
|
|
10024
|
+
var r = Vi(t[i]);
|
|
10027
10025
|
if (!(s = e != null && n(e, r)))
|
|
10028
10026
|
break;
|
|
10029
10027
|
e = e[r];
|
|
@@ -10035,7 +10033,7 @@ function F0(e, t) {
|
|
|
10035
10033
|
}
|
|
10036
10034
|
var z0 = 1, K0 = 2;
|
|
10037
10035
|
function q0(e, t) {
|
|
10038
|
-
return Ha(e) && Bl(t) ? Sl(
|
|
10036
|
+
return Ha(e) && Bl(t) ? Sl(Vi(e), t) : function(n) {
|
|
10039
10037
|
var i = ve(n, e);
|
|
10040
10038
|
return i === void 0 && i === t ? F0(n, e) : Ja(t, i, z0 | K0);
|
|
10041
10039
|
};
|
|
@@ -10051,17 +10049,17 @@ function J0(e) {
|
|
|
10051
10049
|
};
|
|
10052
10050
|
}
|
|
10053
10051
|
function Z0(e) {
|
|
10054
|
-
return Ha(e) ? X0(
|
|
10052
|
+
return Ha(e) ? X0(Vi(e)) : J0(e);
|
|
10055
10053
|
}
|
|
10056
10054
|
function xl(e) {
|
|
10057
|
-
return typeof e == "function" ? e : e == null ?
|
|
10055
|
+
return typeof e == "function" ? e : e == null ? Ui : typeof e == "object" ? ct(e) ? q0(e[0], e[1]) : G0(e) : Z0(e);
|
|
10058
10056
|
}
|
|
10059
10057
|
function W0(e) {
|
|
10060
10058
|
return function(t, n, i) {
|
|
10061
10059
|
var a = Object(t);
|
|
10062
|
-
if (!
|
|
10060
|
+
if (!Bn(t)) {
|
|
10063
10061
|
var s = xl(n);
|
|
10064
|
-
t =
|
|
10062
|
+
t = Sn(t), n = function(o) {
|
|
10065
10063
|
return s(a[o], o, a);
|
|
10066
10064
|
};
|
|
10067
10065
|
}
|
|
@@ -10174,12 +10172,12 @@ var ow = "[object Map]", lw = "[object Set]", uw = Object.prototype, cw = uw.has
|
|
|
10174
10172
|
function dw(e) {
|
|
10175
10173
|
if (e == null)
|
|
10176
10174
|
return !0;
|
|
10177
|
-
if (
|
|
10175
|
+
if (Bn(e) && (ct(e) || typeof e == "string" || typeof e.splice == "function" || Jn(e) || Va(e) || Ua(e)))
|
|
10178
10176
|
return !e.length;
|
|
10179
|
-
var t =
|
|
10177
|
+
var t = On(e);
|
|
10180
10178
|
if (t == ow || t == lw)
|
|
10181
10179
|
return !e.size;
|
|
10182
|
-
if (
|
|
10180
|
+
if (Pi(e))
|
|
10183
10181
|
return !Wo(e).length;
|
|
10184
10182
|
for (var n in e)
|
|
10185
10183
|
if (cw.call(e, n))
|
|
@@ -10482,7 +10480,7 @@ function Vw(e, t, n, i, a, s) {
|
|
|
10482
10480
|
placeholder: e.schema.placeholder,
|
|
10483
10481
|
readonly: e.schema.readonly
|
|
10484
10482
|
}, null, 8, Yw), [
|
|
10485
|
-
[
|
|
10483
|
+
[yt, e.schema.hideInput !== !0],
|
|
10486
10484
|
[gt, s.wrappedValue]
|
|
10487
10485
|
]),
|
|
10488
10486
|
e.schema.browse !== !1 ? (d(), h("input", {
|
|
@@ -10495,7 +10493,7 @@ function Vw(e, t, n, i, a, s) {
|
|
|
10495
10493
|
}, null, 40, Gw)) : X("", !0),
|
|
10496
10494
|
y("div", {
|
|
10497
10495
|
class: "preview",
|
|
10498
|
-
style:
|
|
10496
|
+
style: bt(s.previewStyle)
|
|
10499
10497
|
}, [
|
|
10500
10498
|
y("div", {
|
|
10501
10499
|
class: "remove",
|
|
@@ -11033,7 +11031,7 @@ function HC(e, t, n, i, a, s) {
|
|
|
11033
11031
|
[o, a.attributes]
|
|
11034
11032
|
]);
|
|
11035
11033
|
}
|
|
11036
|
-
const jl = /* @__PURE__ */ me(MC, [["render", HC]]),
|
|
11034
|
+
const jl = /* @__PURE__ */ me(MC, [["render", HC]]), In = "24px", Za = (e, t) => {
|
|
11037
11035
|
const n = e.__vccOpts || e;
|
|
11038
11036
|
for (const [i, a] of t)
|
|
11039
11037
|
n[i] = a;
|
|
@@ -11075,7 +11073,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11075
11073
|
size: {
|
|
11076
11074
|
type: [Number, String],
|
|
11077
11075
|
required: !1,
|
|
11078
|
-
default:
|
|
11076
|
+
default: In,
|
|
11079
11077
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11080
11078
|
validator: (e) => {
|
|
11081
11079
|
if (typeof e == "number" && e > 0)
|
|
@@ -11104,7 +11102,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11104
11102
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11105
11103
|
return `${s}px`;
|
|
11106
11104
|
}
|
|
11107
|
-
return
|
|
11105
|
+
return In;
|
|
11108
11106
|
}), i = T(() => ({
|
|
11109
11107
|
boxSizing: "border-box",
|
|
11110
11108
|
color: t.color,
|
|
@@ -11117,7 +11115,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11117
11115
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11118
11116
|
class: "kui-icon add-icon",
|
|
11119
11117
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
11120
|
-
style:
|
|
11118
|
+
style: bt(i.value)
|
|
11121
11119
|
}, {
|
|
11122
11120
|
default: w(() => [
|
|
11123
11121
|
(d(), h("svg", {
|
|
@@ -11174,7 +11172,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11174
11172
|
size: {
|
|
11175
11173
|
type: [Number, String],
|
|
11176
11174
|
required: !1,
|
|
11177
|
-
default:
|
|
11175
|
+
default: In,
|
|
11178
11176
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11179
11177
|
validator: (e) => {
|
|
11180
11178
|
if (typeof e == "number" && e > 0)
|
|
@@ -11203,7 +11201,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11203
11201
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11204
11202
|
return `${s}px`;
|
|
11205
11203
|
}
|
|
11206
|
-
return
|
|
11204
|
+
return In;
|
|
11207
11205
|
}), i = T(() => ({
|
|
11208
11206
|
boxSizing: "border-box",
|
|
11209
11207
|
color: t.color,
|
|
@@ -11216,7 +11214,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11216
11214
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11217
11215
|
class: "kui-icon remove-icon",
|
|
11218
11216
|
"data-testid": "kui-icon-wrapper-remove-icon",
|
|
11219
|
-
style:
|
|
11217
|
+
style: bt(i.value)
|
|
11220
11218
|
}, {
|
|
11221
11219
|
default: w(() => [
|
|
11222
11220
|
(d(), h("svg", {
|
|
@@ -11273,7 +11271,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11273
11271
|
size: {
|
|
11274
11272
|
type: [Number, String],
|
|
11275
11273
|
required: !1,
|
|
11276
|
-
default:
|
|
11274
|
+
default: In,
|
|
11277
11275
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
11278
11276
|
validator: (e) => {
|
|
11279
11277
|
if (typeof e == "number" && e > 0)
|
|
@@ -11302,7 +11300,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11302
11300
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
11303
11301
|
return `${s}px`;
|
|
11304
11302
|
}
|
|
11305
|
-
return
|
|
11303
|
+
return In;
|
|
11306
11304
|
}), i = T(() => ({
|
|
11307
11305
|
boxSizing: "border-box",
|
|
11308
11306
|
color: t.color,
|
|
@@ -11315,7 +11313,7 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11315
11313
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
11316
11314
|
class: "kui-icon trash-icon",
|
|
11317
11315
|
"data-testid": "kui-icon-wrapper-trash-icon",
|
|
11318
|
-
style:
|
|
11316
|
+
style: bt(i.value)
|
|
11319
11317
|
}, {
|
|
11320
11318
|
default: w(() => [
|
|
11321
11319
|
(d(), h("svg", {
|
|
@@ -11335,9 +11333,9 @@ const jl = /* @__PURE__ */ me(MC, [["render", HC]]), On = "24px", Za = (e, t) =>
|
|
|
11335
11333
|
_: 1
|
|
11336
11334
|
}, 8, ["aria-hidden", "style"]));
|
|
11337
11335
|
}
|
|
11338
|
-
}),
|
|
11336
|
+
}), oi = /* @__PURE__ */ Za(aE, [["__scopeId", "data-v-b199fa56"]]), sE = {
|
|
11339
11337
|
components: {
|
|
11340
|
-
TrashIcon:
|
|
11338
|
+
TrashIcon: oi
|
|
11341
11339
|
},
|
|
11342
11340
|
mixins: [Ce],
|
|
11343
11341
|
emits: ["model-updated"],
|
|
@@ -11530,7 +11528,7 @@ const Ul = /* @__PURE__ */ me(sE, [["render", vE], ["__scopeId", "data-v-b35063f
|
|
|
11530
11528
|
onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
|
|
11531
11529
|
}, {
|
|
11532
11530
|
default: w(() => [
|
|
11533
|
-
R(b(
|
|
11531
|
+
R(b(oi))
|
|
11534
11532
|
]),
|
|
11535
11533
|
_: 1
|
|
11536
11534
|
})
|
|
@@ -11561,7 +11559,7 @@ const Ul = /* @__PURE__ */ me(sE, [["render", vE], ["__scopeId", "data-v-b35063f
|
|
|
11561
11559
|
}
|
|
11562
11560
|
}), Yl = /* @__PURE__ */ me(OE, [["__scopeId", "data-v-27d212bd"]]), IE = {
|
|
11563
11561
|
name: "FieldMetric",
|
|
11564
|
-
components: { AddIcon: Nl, TrashIcon:
|
|
11562
|
+
components: { AddIcon: Nl, TrashIcon: oi },
|
|
11565
11563
|
mixins: [Ce],
|
|
11566
11564
|
emits: ["remove-item"],
|
|
11567
11565
|
data() {
|
|
@@ -11671,7 +11669,7 @@ const TE = {
|
|
|
11671
11669
|
},
|
|
11672
11670
|
methods: {
|
|
11673
11671
|
onQueryChange(e) {
|
|
11674
|
-
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch =
|
|
11672
|
+
e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = Qn(
|
|
11675
11673
|
this.search,
|
|
11676
11674
|
500
|
|
11677
11675
|
)), this.performSearch(e);
|
|
@@ -11804,7 +11802,7 @@ const Vl = /* @__PURE__ */ me(TE, [["render", UE], ["__scopeId", "data-v-647bb71
|
|
|
11804
11802
|
onClick: n[0] || (n[0] = (s) => t.$emit("remove-item"))
|
|
11805
11803
|
}, {
|
|
11806
11804
|
default: w(() => [
|
|
11807
|
-
R(b(
|
|
11805
|
+
R(b(oi))
|
|
11808
11806
|
]),
|
|
11809
11807
|
_: 1
|
|
11810
11808
|
})
|
|
@@ -12150,7 +12148,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12150
12148
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
12151
12149
|
])
|
|
12152
12150
|
], 512), [
|
|
12153
|
-
[
|
|
12151
|
+
[yt, o.fields && a.checkedGroup === l]
|
|
12154
12152
|
])
|
|
12155
12153
|
]))), 128))
|
|
12156
12154
|
], 64)) : (d(!0), h(le, { key: 1 }, de(e.schema.fields, (o, l) => (d(), h("div", {
|
|
@@ -12183,7 +12181,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12183
12181
|
}, null, 8, ["model", "schema", "onModelUpdated"])
|
|
12184
12182
|
])
|
|
12185
12183
|
], 512), [
|
|
12186
|
-
[
|
|
12184
|
+
[yt, o.fields && a.checkedGroup === l]
|
|
12187
12185
|
])
|
|
12188
12186
|
]))), 128))
|
|
12189
12187
|
]);
|
|
@@ -12213,7 +12211,7 @@ function wk(e, t, n, i, a, s) {
|
|
|
12213
12211
|
}
|
|
12214
12212
|
const Ck = /* @__PURE__ */ me(bk, [["render", wk]]), Ek = {
|
|
12215
12213
|
name: "FieldKeyValuePairs",
|
|
12216
|
-
components: { TrashIcon:
|
|
12214
|
+
components: { TrashIcon: oi },
|
|
12217
12215
|
mixins: [Ce],
|
|
12218
12216
|
data() {
|
|
12219
12217
|
return {
|
|
@@ -13270,7 +13268,7 @@ const lt = /* @__PURE__ */ me(Kk, [["render", Jk]]), Zk = {
|
|
|
13270
13268
|
this.formModel["config-auth_methods"] = this.getAuthMethodsValue(t, e), this.onModelUpdated();
|
|
13271
13269
|
}
|
|
13272
13270
|
}
|
|
13273
|
-
},
|
|
13271
|
+
}, 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
13272
|
function pO(e, t, n, i, a, s) {
|
|
13275
13273
|
const r = V("VueFormGenerator"), o = V("KExternalLink"), l = V("KLabel"), u = V("KCheckbox"), c = V("KInputSwitch"), g = V("KTabs");
|
|
13276
13274
|
return d(), h("div", null, [
|
|
@@ -13512,7 +13510,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13512
13510
|
}
|
|
13513
13511
|
},
|
|
13514
13512
|
setup(e) {
|
|
13515
|
-
const { t, te: n } =
|
|
13513
|
+
const { t, te: n } = ei("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13516
13514
|
const r = i.formSchema;
|
|
13517
13515
|
return r.fields.map((o) => {
|
|
13518
13516
|
const l = `post-function.${o.model}`;
|
|
@@ -13527,7 +13525,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13527
13525
|
onModelUpdated: e.onModelUpdated
|
|
13528
13526
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : X("", !0);
|
|
13529
13527
|
}
|
|
13530
|
-
}), hO = /* @__PURE__ */ me(AO, [["__scopeId", "data-v-
|
|
13528
|
+
}), hO = /* @__PURE__ */ me(AO, [["__scopeId", "data-v-a0470d09"]]), yO = /* @__PURE__ */ ue({
|
|
13531
13529
|
__name: "ExitTransformer",
|
|
13532
13530
|
props: {
|
|
13533
13531
|
formModel: {
|
|
@@ -13553,7 +13551,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13553
13551
|
}
|
|
13554
13552
|
},
|
|
13555
13553
|
setup(e) {
|
|
13556
|
-
const { t, te: n } =
|
|
13554
|
+
const { t, te: n } = ei("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13557
13555
|
const r = i.formSchema;
|
|
13558
13556
|
return r.fields.map((o) => {
|
|
13559
13557
|
const l = `exit-transformer.${o.model}`;
|
|
@@ -13568,7 +13566,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13568
13566
|
onModelUpdated: e.onModelUpdated
|
|
13569
13567
|
}, null, 8, ["model", "options", "schema", "onModelUpdated"])) : X("", !0);
|
|
13570
13568
|
}
|
|
13571
|
-
}), vO = /* @__PURE__ */ me(yO, [["__scopeId", "data-v-
|
|
13569
|
+
}), vO = /* @__PURE__ */ me(yO, [["__scopeId", "data-v-9d23f812"]]), bO = {
|
|
13572
13570
|
fields: [
|
|
13573
13571
|
{
|
|
13574
13572
|
inputType: "text",
|
|
@@ -13656,7 +13654,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13656
13654
|
disabled: !1
|
|
13657
13655
|
}
|
|
13658
13656
|
]
|
|
13659
|
-
}, gn = (e) => (Xe("data-v-
|
|
13657
|
+
}, gn = (e) => (Xe("data-v-136dc132"), e = e(), Je(), e), EO = { class: "general-settings" }, kO = /* @__PURE__ */ gn(() => /* @__PURE__ */ y("div", { class: "header-wrapper" }, [
|
|
13660
13658
|
/* @__PURE__ */ y("span", { class: "section-header" }, "General Configuration Settings")
|
|
13661
13659
|
], -1)), OO = /* @__PURE__ */ gn(() => /* @__PURE__ */ y("div", { class: "description" }, " Parameters for enabling the ACME plugin. ", -1)), IO = /* @__PURE__ */ gn(() => /* @__PURE__ */ y("hr", null, null, -1)), MO = { class: "sub-form" }, BO = { class: "general-settings" }, SO = /* @__PURE__ */ gn(() => /* @__PURE__ */ y("div", { class: "header-wrapper" }, [
|
|
13662
13660
|
/* @__PURE__ */ y("span", { class: "section-header" }, "Storage Configuration Settings")
|
|
@@ -13765,7 +13763,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13765
13763
|
value: "other"
|
|
13766
13764
|
}
|
|
13767
13765
|
];
|
|
13768
|
-
|
|
13766
|
+
Si(() => {
|
|
13769
13767
|
n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
|
|
13770
13768
|
});
|
|
13771
13769
|
const D = (m) => {
|
|
@@ -13882,7 +13880,7 @@ const gO = /* @__PURE__ */ me(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13882
13880
|
]);
|
|
13883
13881
|
};
|
|
13884
13882
|
}
|
|
13885
|
-
}), PO = /* @__PURE__ */ me(NO, [["__scopeId", "data-v-
|
|
13883
|
+
}), PO = /* @__PURE__ */ me(NO, [["__scopeId", "data-v-136dc132"]]), zl = (e) => (Xe("data-v-947f593a"), e = e(), Je(), e), UO = { class: "rla-form-basic-fields" }, DO = { class: "rla-form-request-limits-subtitle" }, YO = { class: "rla-form-request-limits-content" }, GO = { class: "rla-form-window-type" }, VO = ["innerHTML"], HO = { class: "rla-form-window-type-radios" }, FO = { class: "rla-form-request-limits-items" }, zO = { class: "rla-form-request-limits-row" }, KO = ["id"], qO = { class: "rla-form-request-limits-actions" }, XO = {
|
|
13886
13884
|
key: 0,
|
|
13887
13885
|
class: "rla-form-request-limits-examples"
|
|
13888
13886
|
}, JO = { class: "rla-form-request-limits-examples-badges" }, ZO = /* @__PURE__ */ zl(() => /* @__PURE__ */ y("br", null, null, -1)), WO = ["innerHTML"], QO = {
|
|
@@ -13953,7 +13951,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
13953
13951
|
], n = /* @__PURE__ */ new Set([
|
|
13954
13952
|
"selectionGroup",
|
|
13955
13953
|
...["identifier", "limit", "window_size", "error_code", "error_message"].map((k) => `config-${k}`)
|
|
13956
|
-
]), i = (k) => k === void 0 ? !1 : n.has(k), { t: a } =
|
|
13954
|
+
]), i = (k) => k === void 0 ? !1 : n.has(k), { t: a } = ei("en-us", Wa), s = e, r = T(() => {
|
|
13957
13955
|
var k, P;
|
|
13958
13956
|
const j = (P = (k = s.formSchema) == null ? void 0 : k.fields) == null ? void 0 : P.find((G) => G.model === "selectionGroup");
|
|
13959
13957
|
if (j)
|
|
@@ -14477,7 +14475,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14477
14475
|
},
|
|
14478
14476
|
help: "The Gateway Service that this plugin configuration will target"
|
|
14479
14477
|
},
|
|
14480
|
-
tags:
|
|
14478
|
+
tags: si.tags,
|
|
14481
14479
|
protocols: {
|
|
14482
14480
|
id: "protocols",
|
|
14483
14481
|
default: [],
|
|
@@ -14499,7 +14497,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14499
14497
|
placeholder: "Select valid protocols for the plugin",
|
|
14500
14498
|
styleClasses: "plugin-protocols-select"
|
|
14501
14499
|
}
|
|
14502
|
-
},
|
|
14500
|
+
}, Fn = {
|
|
14503
14501
|
type: "array",
|
|
14504
14502
|
valueType: "string",
|
|
14505
14503
|
valueArrayType: "array",
|
|
@@ -14511,7 +14509,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14511
14509
|
styleClasses: "kong-form-field-wrapper",
|
|
14512
14510
|
newElementButtonLabel: "+ Add",
|
|
14513
14511
|
newElementButtonLabelClasses: "kong-form-new-element-button-label"
|
|
14514
|
-
},
|
|
14512
|
+
}, li = {
|
|
14515
14513
|
type: "array",
|
|
14516
14514
|
showRemoveButton: !1,
|
|
14517
14515
|
newElementButtonLabelClasses: "kong-form-new-element-button-label",
|
|
@@ -14519,7 +14517,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14519
14517
|
fieldClasses: "metrics-wrapper"
|
|
14520
14518
|
}, rI = {
|
|
14521
14519
|
"config-metrics": {
|
|
14522
|
-
...
|
|
14520
|
+
...li,
|
|
14523
14521
|
items: {
|
|
14524
14522
|
type: "object",
|
|
14525
14523
|
default: () => ({}),
|
|
@@ -14636,10 +14634,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14636
14634
|
"config-rewrite"
|
|
14637
14635
|
].reduce((e, t) => ({
|
|
14638
14636
|
...e,
|
|
14639
|
-
[t]:
|
|
14637
|
+
[t]: si.fields.arrayItems({
|
|
14640
14638
|
newElementButtonLabel: "Add"
|
|
14641
14639
|
})
|
|
14642
|
-
}), uI),
|
|
14640
|
+
}), uI), gi = {
|
|
14643
14641
|
"config-strategy": {
|
|
14644
14642
|
label: "Config.Strategy",
|
|
14645
14643
|
type: "select",
|
|
@@ -14688,12 +14686,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14688
14686
|
"config-allow-body"
|
|
14689
14687
|
].reduce((e, t) => ({
|
|
14690
14688
|
...e,
|
|
14691
|
-
[t]:
|
|
14689
|
+
[t]: si.fields.arrayItems({
|
|
14692
14690
|
newElementButtonLabel: "Add"
|
|
14693
14691
|
})
|
|
14694
14692
|
}), cI), pI = {
|
|
14695
14693
|
"config-parameter_schema": {
|
|
14696
|
-
...
|
|
14694
|
+
...li,
|
|
14697
14695
|
items: {
|
|
14698
14696
|
type: "object",
|
|
14699
14697
|
default: () => ({
|
|
@@ -14802,7 +14800,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14802
14800
|
}
|
|
14803
14801
|
}, fI = {
|
|
14804
14802
|
"config-metrics": {
|
|
14805
|
-
...
|
|
14803
|
+
...li,
|
|
14806
14804
|
items: {
|
|
14807
14805
|
type: "object",
|
|
14808
14806
|
default: () => ({}),
|
|
@@ -14885,7 +14883,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14885
14883
|
help: "A list of status code ranges, separated by commas. e.g. 200-204, 500-505"
|
|
14886
14884
|
},
|
|
14887
14885
|
"config-metrics": {
|
|
14888
|
-
...
|
|
14886
|
+
...li,
|
|
14889
14887
|
items: {
|
|
14890
14888
|
type: "object",
|
|
14891
14889
|
default: () => ({}),
|
|
@@ -14973,7 +14971,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14973
14971
|
}
|
|
14974
14972
|
}, yI = {
|
|
14975
14973
|
"config-static_tags": {
|
|
14976
|
-
...
|
|
14974
|
+
...li,
|
|
14977
14975
|
items: {
|
|
14978
14976
|
type: "object",
|
|
14979
14977
|
default: () => ({}),
|
|
@@ -15001,7 +14999,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15001
14999
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
15002
15000
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
15003
15001
|
}, 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 } } =
|
|
15002
|
+
const { capitalize: t } = Sa(), { convertToDotNotation: n } = Vo(), { i18n: { t: i } } = Ni(), a = {
|
|
15005
15003
|
"application-registration": {
|
|
15006
15004
|
overwriteDefault: !0,
|
|
15007
15005
|
formSchema: {
|
|
@@ -15060,18 +15058,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15060
15058
|
...lI
|
|
15061
15059
|
},
|
|
15062
15060
|
"rate-limiting": {
|
|
15063
|
-
...
|
|
15061
|
+
...gi
|
|
15064
15062
|
},
|
|
15065
15063
|
"rate-limiting-advanced": (e == null ? void 0 : e.app) === "kongManager" ? {
|
|
15066
|
-
"config-consumer_groups":
|
|
15064
|
+
"config-consumer_groups": gi["config-consumer_groups"]
|
|
15067
15065
|
} : {
|
|
15068
|
-
...
|
|
15066
|
+
...gi
|
|
15069
15067
|
},
|
|
15070
15068
|
"graphql-rate-limiting-advanced": {
|
|
15071
15069
|
...oI
|
|
15072
15070
|
},
|
|
15073
15071
|
"response-ratelimiting": {
|
|
15074
|
-
...
|
|
15072
|
+
...gi
|
|
15075
15073
|
},
|
|
15076
15074
|
"pre-function": {
|
|
15077
15075
|
...Mr
|
|
@@ -15102,7 +15100,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15102
15100
|
P.forEach((Q) => {
|
|
15103
15101
|
l(B[Q], Q, B, H, G, S);
|
|
15104
15102
|
});
|
|
15105
|
-
const z = H.name, te =
|
|
15103
|
+
const z = H.name, te = vt[z];
|
|
15106
15104
|
if (Kl(z, { useRLARedesignedForm: e == null ? void 0 : e.useRLARedesignedForm }) || te != null && te.useLegacyForm || e != null && e.credential)
|
|
15107
15105
|
G.fields.sort((Q, se) => (Q.order = Q.order || 0, se.order = se.order || 0, Q.order - se.order));
|
|
15108
15106
|
else {
|
|
@@ -15196,11 +15194,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15196
15194
|
fields: [{
|
|
15197
15195
|
schema: {
|
|
15198
15196
|
fields: [{
|
|
15199
|
-
...
|
|
15197
|
+
...Fn,
|
|
15200
15198
|
model: m.model,
|
|
15201
15199
|
valueArrayType: A === "integer" ? "number" : A || "string",
|
|
15202
15200
|
inputAttributes: {
|
|
15203
|
-
...
|
|
15201
|
+
...Fn.inputAttributes,
|
|
15204
15202
|
type: A === "integer" ? "number" : "text",
|
|
15205
15203
|
inputMode: A === "integer" ? "numeric" : "text"
|
|
15206
15204
|
}
|
|
@@ -15271,10 +15269,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15271
15269
|
buildFormSchema: l,
|
|
15272
15270
|
parseSchema: r,
|
|
15273
15271
|
customSchemas: a,
|
|
15274
|
-
typedefs:
|
|
15272
|
+
typedefs: si
|
|
15275
15273
|
};
|
|
15276
15274
|
}, Pe = {
|
|
15277
|
-
useI18n:
|
|
15275
|
+
useI18n: Ni,
|
|
15278
15276
|
usePluginMetaData: XA,
|
|
15279
15277
|
usePluginHelpers: Vo,
|
|
15280
15278
|
useSchemas: bI
|
|
@@ -15397,12 +15395,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15397
15395
|
});
|
|
15398
15396
|
};
|
|
15399
15397
|
}
|
|
15400
|
-
}),
|
|
15398
|
+
}), wt = (e, t) => {
|
|
15401
15399
|
const n = e.__vccOpts || e;
|
|
15402
15400
|
for (const [i, a] of t)
|
|
15403
15401
|
n[i] = a;
|
|
15404
15402
|
return n;
|
|
15405
|
-
}, EI = /* @__PURE__ */
|
|
15403
|
+
}, EI = /* @__PURE__ */ wt(CI, [["__scopeId", "data-v-17c1f232"]]), kI = { class: "kong-ui-entities-plugin-form" }, OI = {
|
|
15406
15404
|
key: 1,
|
|
15407
15405
|
class: "entity-form"
|
|
15408
15406
|
}, II = { class: "plugin-config-empty-state" }, MI = ue({
|
|
@@ -15456,11 +15454,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15456
15454
|
emits: ["loading", "model-updated"],
|
|
15457
15455
|
setup(e, { emit: t }) {
|
|
15458
15456
|
var j, G;
|
|
15459
|
-
const n = t, i = e, { axiosInstance: a } =
|
|
15457
|
+
const n = t, i = e, { axiosInstance: a } = Mn((j = i.config) == null ? void 0 : j.axiosRequestConfig), { parseSchema: s } = Pe.useSchemas({
|
|
15460
15458
|
entityId: ((G = i.entityMap.focusedEntity) == null ? void 0 : G.id) || void 0,
|
|
15461
15459
|
credential: i.credential,
|
|
15462
15460
|
useRLARedesignedForm: i.config.useRLARedesignedForm
|
|
15463
|
-
}), { convertToDotNotation: r, unFlattenObject: o, isObjectEmpty: l, unsetNullForeignKey: u } = Pe.usePluginHelpers(), { objectsAreEqual: c } =
|
|
15461
|
+
}), { convertToDotNotation: r, unFlattenObject: o, isObjectEmpty: l, unsetNullForeignKey: u } = Pe.usePluginHelpers(), { objectsAreEqual: c } = Li(), { i18n: { t: g } } = Ni(), f = (H, z) => {
|
|
15464
15462
|
let te = `${i.config.apiBaseUrl}${Ke.form[i.config.app].entityGetOne}`;
|
|
15465
15463
|
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
15464
|
}, v = (H) => {
|
|
@@ -15484,7 +15482,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15484
15482
|
}) : a.get(te, { params: z });
|
|
15485
15483
|
}
|
|
15486
15484
|
});
|
|
15487
|
-
const O = q(""), I = q(null), x = q({}), D =
|
|
15485
|
+
const O = q(""), I = q(null), x = q({}), D = Un({}), E = Un({}), m = T(() => {
|
|
15488
15486
|
var H;
|
|
15489
15487
|
return (H = I.value) == null ? void 0 : H.options;
|
|
15490
15488
|
}), A = () => {
|
|
@@ -15543,14 +15541,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15543
15541
|
}
|
|
15544
15542
|
let Ue = r(_);
|
|
15545
15543
|
if (W.fieldNameHasDashes) {
|
|
15546
|
-
const [Te, ...
|
|
15547
|
-
Ue = [Te.replace(/_/g, "-"), ...
|
|
15544
|
+
const [Te, ...Ct] = Ue.split(".").reverse();
|
|
15545
|
+
Ue = [Te.replace(/_/g, "-"), ...Ct].reverse().join(".");
|
|
15548
15546
|
}
|
|
15549
15547
|
if (Ze === "object-expand") {
|
|
15550
15548
|
let Te;
|
|
15551
15549
|
[Ue, Te] = Ue.split(".");
|
|
15552
|
-
let
|
|
15553
|
-
se[Ue] && (
|
|
15550
|
+
let Ct = {};
|
|
15551
|
+
se[Ue] && (Ct = se[Ue]), Ct[Te] = F, F = Ct;
|
|
15554
15552
|
}
|
|
15555
15553
|
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
15554
|
}), o(se);
|
|
@@ -15659,11 +15657,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15659
15657
|
]),
|
|
15660
15658
|
_: 2
|
|
15661
15659
|
}, [
|
|
15662
|
-
b(
|
|
15660
|
+
b(vt)[E.name] && b(vt)[E.name].fieldRules ? {
|
|
15663
15661
|
name: "plugin-config-before-content",
|
|
15664
15662
|
fn: w(() => [
|
|
15665
15663
|
R(EI, {
|
|
15666
|
-
rules: b(
|
|
15664
|
+
rules: b(vt)[E.name].fieldRules
|
|
15667
15665
|
}, null, 8, ["rules"])
|
|
15668
15666
|
]),
|
|
15669
15667
|
key: "0"
|
|
@@ -15673,7 +15671,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15673
15671
|
]);
|
|
15674
15672
|
};
|
|
15675
15673
|
}
|
|
15676
|
-
}), SI = /* @__PURE__ */
|
|
15674
|
+
}), SI = /* @__PURE__ */ wt(BI, [["__scopeId", "data-v-5c805a69"]]), xI = { class: "kong-ui-entities-plugin-form-container" }, RI = ["id"], TI = { class: "plugin-form-actions" }, LI = /* @__PURE__ */ ue({
|
|
15677
15675
|
__name: "PluginForm",
|
|
15678
15676
|
props: {
|
|
15679
15677
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -15733,11 +15731,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15733
15731
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated"],
|
|
15734
15732
|
setup(e, { emit: t }) {
|
|
15735
15733
|
var ie;
|
|
15736
|
-
const n = t, i = e, a =
|
|
15734
|
+
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
15735
|
enabled: !0,
|
|
15738
15736
|
protocols: [],
|
|
15739
15737
|
tags: []
|
|
15740
|
-
}), A =
|
|
15738
|
+
}), A = Un({
|
|
15741
15739
|
fields: {
|
|
15742
15740
|
enabled: !0,
|
|
15743
15741
|
protocols: [],
|
|
@@ -15777,29 +15775,29 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15777
15775
|
entity: p.SERVICE,
|
|
15778
15776
|
entityEndpoint: "services",
|
|
15779
15777
|
id: U,
|
|
15780
|
-
idField:
|
|
15778
|
+
idField: yn.SERVICE
|
|
15781
15779
|
}), ce && (ge.route = {
|
|
15782
15780
|
entity: p.ROUTE,
|
|
15783
15781
|
entityEndpoint: "routes",
|
|
15784
15782
|
id: ce,
|
|
15785
|
-
idField:
|
|
15783
|
+
idField: yn.ROUTE
|
|
15786
15784
|
}), Y && (ge.consumer = {
|
|
15787
15785
|
entity: p.CONSUMER,
|
|
15788
15786
|
entityEndpoint: "consumers",
|
|
15789
15787
|
id: Y,
|
|
15790
|
-
idField:
|
|
15788
|
+
idField: yn.CONSUMER
|
|
15791
15789
|
}), ee && (ge.consumer_group = {
|
|
15792
15790
|
entity: p.CONSUMER_GROUP,
|
|
15793
15791
|
entityEndpoint: "consumer_groups",
|
|
15794
15792
|
id: ee,
|
|
15795
|
-
idField:
|
|
15793
|
+
idField: yn.CONSUMER_GROUP
|
|
15796
15794
|
}), i.config.entityType && (ge.focusedEntity = {
|
|
15797
15795
|
entity: p[i.config.entityType.substring(0, i.config.entityType.length - 1).toUpperCase()],
|
|
15798
15796
|
entityEndpoint: i.config.entityType,
|
|
15799
15797
|
id: i.config.entityId,
|
|
15800
|
-
idField:
|
|
15798
|
+
idField: yn[i.config.entityType.substring(0, i.config.entityType.length - 1).toUpperCase()]
|
|
15801
15799
|
}), ge;
|
|
15802
|
-
}), j =
|
|
15800
|
+
}), j = Un({
|
|
15803
15801
|
// this is a required field that the user cannot set, it's always the name of the plugin
|
|
15804
15802
|
// ex. 'acl'
|
|
15805
15803
|
name: {
|
|
@@ -15870,7 +15868,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15870
15868
|
tags: o.tags
|
|
15871
15869
|
}), G = T(() => {
|
|
15872
15870
|
var U;
|
|
15873
|
-
const Y = i.developer ? "developers" : "consumers", ee = ((U =
|
|
15871
|
+
const Y = i.developer ? "developers" : "consumers", ee = ((U = wn[i.pluginType]) == null ? void 0 : U.endpoint) || "/plugins";
|
|
15874
15872
|
return `${Y}/${i.config.entityId}${i.developer ? "/credentials" : ""}${ee}`;
|
|
15875
15873
|
}), H = (Y) => {
|
|
15876
15874
|
const ee = [...new Set(Y.map((U) => typeof U))];
|
|
@@ -15878,7 +15876,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15878
15876
|
}, z = (Y, ee, U) => {
|
|
15879
15877
|
var je, ae;
|
|
15880
15878
|
let ce = ee && ee.fields || [];
|
|
15881
|
-
const ge = r[i.pluginType], Ee = (ae = (je =
|
|
15879
|
+
const ge = r[i.pluginType], Ee = (ae = (je = wn[i.pluginType]) == null ? void 0 : je.schema) == null ? void 0 : ae.fields;
|
|
15882
15880
|
return Array.isArray(ce) && (ce = ce.reduce((Ae, Z) => {
|
|
15883
15881
|
const ne = Object.keys(Z)[0];
|
|
15884
15882
|
return ne.match(/-/g) ? Ae[ne.replace(/-/g, "_")] = {
|
|
@@ -15903,11 +15901,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15903
15901
|
fields: [{
|
|
15904
15902
|
schema: {
|
|
15905
15903
|
fields: [{
|
|
15906
|
-
...
|
|
15904
|
+
...Fn,
|
|
15907
15905
|
model: ne,
|
|
15908
15906
|
valueArrayType: Me === "integer" ? "number" : Me || "string",
|
|
15909
15907
|
inputAttributes: {
|
|
15910
|
-
...
|
|
15908
|
+
...Fn.inputAttributes,
|
|
15911
15909
|
type: Me === "integer" ? "number" : "text",
|
|
15912
15910
|
inputMode: Me === "integer" ? "numeric" : "text"
|
|
15913
15911
|
}
|
|
@@ -15943,14 +15941,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15943
15941
|
}), Z.elements && Z.type === "array") {
|
|
15944
15942
|
const Me = Z.elements;
|
|
15945
15943
|
if (Me.type === "string" && !Me.one_of) {
|
|
15946
|
-
const {
|
|
15947
|
-
U[ne] = {
|
|
15944
|
+
const { id: ht, help: We, label: it, hint: Et } = U[ne], { help: fn, ...Tn } = JSON.parse(JSON.stringify(Fn));
|
|
15945
|
+
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
15946
|
}
|
|
15949
15947
|
}
|
|
15950
15948
|
if (Z.hint && (U[ne].hint = Z.hint), ge && !ge.overwriteDefault && Object.keys(ge).forEach((Me) => {
|
|
15951
15949
|
if (Me === ne) {
|
|
15952
|
-
const { help: ht, label: We, hint: it } = U[ne], { help:
|
|
15953
|
-
U[ne] = { help: ht, label: We, hint: it, ...
|
|
15950
|
+
const { help: ht, label: We, hint: it } = U[ne], { help: Et, ...fn } = ge[Me];
|
|
15951
|
+
U[ne] = { help: ht, label: We, hint: it, ...fn }, typeof Et == "string" && (U[ne].help = we.parse(Et, { mangle: !1, headerIds: !1 }));
|
|
15954
15952
|
}
|
|
15955
15953
|
}), Z.type === "array" && ((Dt = Z.elements) == null ? void 0 : Dt.type) === "record" && Array.isArray(Z.elements.fields)) {
|
|
15956
15954
|
let Me = {};
|
|
@@ -15969,18 +15967,18 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15969
15967
|
}
|
|
15970
15968
|
}, U[ne].type = "array", U[ne].newElementButtonLabelClasses = "kong-form-new-element-button-label", U[ne].items.schema.fields.forEach(
|
|
15971
15969
|
(We) => {
|
|
15972
|
-
var it,
|
|
15973
|
-
for (const
|
|
15974
|
-
const
|
|
15975
|
-
if (ns[ns.length - 1] ===
|
|
15976
|
-
We.model =
|
|
15970
|
+
var it, Et;
|
|
15971
|
+
for (const fn of Z.elements.fields) {
|
|
15972
|
+
const Tn = Object.keys(fn)[0], ns = ((Et = (it = We.id) == null ? void 0 : it.split) == null ? void 0 : Et.call(it, "-")) ?? [];
|
|
15973
|
+
if (ns[ns.length - 1] === Tn) {
|
|
15974
|
+
We.model = Tn, We.label = l(Tn);
|
|
15977
15975
|
break;
|
|
15978
15976
|
}
|
|
15979
15977
|
}
|
|
15980
15978
|
}
|
|
15981
15979
|
)), U[ne].items.default = () => Z.elements.fields.reduce((We, it) => {
|
|
15982
|
-
const
|
|
15983
|
-
return We[
|
|
15980
|
+
const Et = Object.keys(it)[0];
|
|
15981
|
+
return We[Et] = it[Et].default, We;
|
|
15984
15982
|
}, {});
|
|
15985
15983
|
}
|
|
15986
15984
|
if (O.value && Ee) {
|
|
@@ -16004,7 +16002,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16004
16002
|
}), U;
|
|
16005
16003
|
}, te = () => {
|
|
16006
16004
|
var Ee, je, ae, Ae;
|
|
16007
|
-
const Y = ((Ee =
|
|
16005
|
+
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
16006
|
if (Y && ge.push({
|
|
16009
16007
|
id: "service-id",
|
|
16010
16008
|
model: "service-id",
|
|
@@ -16098,7 +16096,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16098
16096
|
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
16097
|
let U = `${i.config.apiBaseUrl}${ee}`;
|
|
16100
16098
|
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(
|
|
16099
|
+
}), Fe = T(() => !Object.keys(vt).includes(i.pluginType)), Ue = T(() => {
|
|
16102
16100
|
const Y = W.value;
|
|
16103
16101
|
if (O.value) {
|
|
16104
16102
|
for (const ee in p) {
|
|
@@ -16119,25 +16117,25 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16119
16117
|
} finally {
|
|
16120
16118
|
A.isReadonly = !1;
|
|
16121
16119
|
}
|
|
16122
|
-
},
|
|
16120
|
+
}, Ct = T(() => {
|
|
16123
16121
|
var ce;
|
|
16124
|
-
const Y = O.value ? (ce =
|
|
16122
|
+
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
16123
|
let U = `${i.config.apiBaseUrl}${ee}`;
|
|
16126
16124
|
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
16125
|
}), mn = q(!1);
|
|
16128
16126
|
ot(E, (Y) => {
|
|
16129
16127
|
Y && (mn.value = !0);
|
|
16130
16128
|
});
|
|
16131
|
-
const At = q(!1),
|
|
16129
|
+
const At = q(!1), Rn = q("");
|
|
16132
16130
|
return qt(async () => {
|
|
16133
16131
|
var Y, ee, U;
|
|
16134
16132
|
At.value = !0;
|
|
16135
16133
|
try {
|
|
16136
16134
|
if (O.value && i.config.app === "konnect") {
|
|
16137
|
-
const ce = (Y =
|
|
16135
|
+
const ce = (Y = wn[i.pluginType]) == null ? void 0 : Y.schemaEndpoint, ge = KA[ce];
|
|
16138
16136
|
C.value = z("", ge, {}), At.value = !1;
|
|
16139
16137
|
} else {
|
|
16140
|
-
const ce = await f.get(
|
|
16138
|
+
const ce = await f.get(Ct.value), { data: ge } = ce;
|
|
16141
16139
|
if (ge)
|
|
16142
16140
|
if (O.value)
|
|
16143
16141
|
C.value = z("", ge, {}), At.value = !1;
|
|
@@ -16153,7 +16151,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16153
16151
|
}
|
|
16154
16152
|
}
|
|
16155
16153
|
} catch (ce) {
|
|
16156
|
-
|
|
16154
|
+
Rn.value = u(ce), n("error:fetch-schema", ce);
|
|
16157
16155
|
} finally {
|
|
16158
16156
|
At.value = !1;
|
|
16159
16157
|
}
|
|
@@ -16163,7 +16161,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16163
16161
|
At.value ? (d(), N(U, {
|
|
16164
16162
|
key: 0,
|
|
16165
16163
|
type: "form"
|
|
16166
|
-
})) :
|
|
16164
|
+
})) : Rn.value ? (d(), N(ce, {
|
|
16167
16165
|
key: 1,
|
|
16168
16166
|
"action-button-visible": !1,
|
|
16169
16167
|
"data-testid": "plugin-form-schema-error",
|
|
@@ -16304,7 +16302,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16304
16302
|
]);
|
|
16305
16303
|
};
|
|
16306
16304
|
}
|
|
16307
|
-
}), lB = /* @__PURE__ */
|
|
16305
|
+
}), lB = /* @__PURE__ */ wt(LI, [["__scopeId", "data-v-27ea7aba"]]), jI = ["alt", "src", "width"], Qa = /* @__PURE__ */ ue({
|
|
16308
16306
|
__name: "PluginIcon",
|
|
16309
16307
|
props: {
|
|
16310
16308
|
name: {
|
|
@@ -16336,7 +16334,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16336
16334
|
onError: a
|
|
16337
16335
|
}, null, 40, jI));
|
|
16338
16336
|
}
|
|
16339
|
-
}),
|
|
16337
|
+
}), Ii = "24px", Xl = (e, t) => {
|
|
16340
16338
|
const n = e.__vccOpts || e;
|
|
16341
16339
|
for (const [i, a] of t)
|
|
16342
16340
|
n[i] = a;
|
|
@@ -16378,7 +16376,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16378
16376
|
size: {
|
|
16379
16377
|
type: [Number, String],
|
|
16380
16378
|
required: !1,
|
|
16381
|
-
default:
|
|
16379
|
+
default: Ii,
|
|
16382
16380
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
16383
16381
|
validator: (e) => {
|
|
16384
16382
|
if (typeof e == "number" && e > 0)
|
|
@@ -16407,7 +16405,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16407
16405
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
16408
16406
|
return `${s}px`;
|
|
16409
16407
|
}
|
|
16410
|
-
return
|
|
16408
|
+
return Ii;
|
|
16411
16409
|
}), i = T(() => ({
|
|
16412
16410
|
boxSizing: "border-box",
|
|
16413
16411
|
color: t.color,
|
|
@@ -16420,7 +16418,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16420
16418
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
16421
16419
|
class: "kui-icon add-icon",
|
|
16422
16420
|
"data-testid": "kui-icon-wrapper-add-icon",
|
|
16423
|
-
style:
|
|
16421
|
+
style: bt(i.value)
|
|
16424
16422
|
}, {
|
|
16425
16423
|
default: w(() => [
|
|
16426
16424
|
(d(), h("svg", {
|
|
@@ -16477,7 +16475,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16477
16475
|
size: {
|
|
16478
16476
|
type: [Number, String],
|
|
16479
16477
|
required: !1,
|
|
16480
|
-
default:
|
|
16478
|
+
default: Ii,
|
|
16481
16479
|
// if setting to the imported const fails, just pass a number of 24 as the default.
|
|
16482
16480
|
validator: (e) => {
|
|
16483
16481
|
if (typeof e == "number" && e > 0)
|
|
@@ -16506,7 +16504,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16506
16504
|
if (s && !isNaN(s) && Number.isInteger(s) && s > 0)
|
|
16507
16505
|
return `${s}px`;
|
|
16508
16506
|
}
|
|
16509
|
-
return
|
|
16507
|
+
return Ii;
|
|
16510
16508
|
}), i = T(() => ({
|
|
16511
16509
|
boxSizing: "border-box",
|
|
16512
16510
|
color: t.color,
|
|
@@ -16519,7 +16517,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16519
16517
|
"aria-hidden": e.decorative ? "true" : void 0,
|
|
16520
16518
|
class: "kui-icon more-icon",
|
|
16521
16519
|
"data-testid": "kui-icon-wrapper-more-icon",
|
|
16522
|
-
style:
|
|
16520
|
+
style: bt(i.value)
|
|
16523
16521
|
}, {
|
|
16524
16522
|
default: w(() => [
|
|
16525
16523
|
(d(), h("svg", {
|
|
@@ -16620,8 +16618,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16620
16618
|
},
|
|
16621
16619
|
emits: ["error", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
|
|
16622
16620
|
setup(e, { emit: t }) {
|
|
16623
|
-
var At,
|
|
16624
|
-
const n = Pe.usePluginMetaData(), i = t, a = e, { i18n: { t: s } } = Pe.useI18n(), r =
|
|
16621
|
+
var At, Rn;
|
|
16622
|
+
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
16623
|
var ie;
|
|
16626
16624
|
return ((ie = a.config) == null ? void 0 : ie.entityType) === "consumers";
|
|
16627
16625
|
}), u = T(() => {
|
|
@@ -16636,7 +16634,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16636
16634
|
}), g = T(() => a.config.app !== "kongManager" || !!a.config.disableSorting), f = {
|
|
16637
16635
|
name: { label: s("plugins.list.table_headers.name"), searchable: !0, sortable: !0 }
|
|
16638
16636
|
};
|
|
16639
|
-
(
|
|
16637
|
+
(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
16638
|
const v = f, M = T(() => {
|
|
16641
16639
|
var Y, ee, U, ce;
|
|
16642
16640
|
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 +16768,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16770
16768
|
Ie.value = !1;
|
|
16771
16769
|
}
|
|
16772
16770
|
}
|
|
16773
|
-
},
|
|
16771
|
+
}, Ct = q(!0);
|
|
16774
16772
|
ot(D, (ie) => {
|
|
16775
16773
|
var Y, ee, U, ce;
|
|
16776
|
-
if (Array.isArray((Y = ie == null ? void 0 : ie.response) == null ? void 0 : Y.data) && (
|
|
16774
|
+
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
16775
|
A.value = {
|
|
16778
16776
|
title: s("errors.general")
|
|
16779
16777
|
}, (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 +16839,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16841
16839
|
]),
|
|
16842
16840
|
_: 1
|
|
16843
16841
|
}, 8, ["to"]), [
|
|
16844
|
-
[
|
|
16842
|
+
[yt, Ct.value]
|
|
16845
16843
|
])
|
|
16846
16844
|
]),
|
|
16847
16845
|
_: 1
|
|
@@ -17047,7 +17045,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17047
17045
|
]);
|
|
17048
17046
|
};
|
|
17049
17047
|
}
|
|
17050
|
-
}), uB = /* @__PURE__ */
|
|
17048
|
+
}), 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
17049
|
__name: "PluginCardSkeleton",
|
|
17052
17050
|
props: {
|
|
17053
17051
|
cardCount: {
|
|
@@ -17083,7 +17081,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17083
17081
|
}, 8, ["card-count"]);
|
|
17084
17082
|
};
|
|
17085
17083
|
}
|
|
17086
|
-
}), lM = /* @__PURE__ */
|
|
17084
|
+
}), 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
17085
|
key: 0,
|
|
17088
17086
|
class: "plugin-card-actions"
|
|
17089
17087
|
}, mM = ["data-testid", "title"], fM = {
|
|
@@ -17123,7 +17121,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17123
17121
|
},
|
|
17124
17122
|
emits: ["plugin-clicked", "custom-plugin-delete"],
|
|
17125
17123
|
setup(e, { emit: t }) {
|
|
17126
|
-
const n = t, i = e, a =
|
|
17124
|
+
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
17125
|
a.push(i.config.getCreateRoute(i.plugin.id));
|
|
17128
17126
|
}, c = () => {
|
|
17129
17127
|
i.navigateOnClick ? u() : g();
|
|
@@ -17238,7 +17236,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17238
17236
|
}, 8, ["text"]);
|
|
17239
17237
|
};
|
|
17240
17238
|
}
|
|
17241
|
-
}),
|
|
17239
|
+
}), Mi = /* @__PURE__ */ wt(yM, [["__scopeId", "data-v-e7e8d9d8"]]), vM = /* @__PURE__ */ ue({
|
|
17242
17240
|
__name: "DeleteCustomPluginSchemaModal",
|
|
17243
17241
|
props: {
|
|
17244
17242
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17255,7 +17253,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17255
17253
|
emits: ["closed", "proceed"],
|
|
17256
17254
|
setup(e, { emit: t }) {
|
|
17257
17255
|
var v;
|
|
17258
|
-
const n = e, i = t, { i18nT: a, i18n: { t: s } } = Pe.useI18n(), { getMessageFromError: r } =
|
|
17256
|
+
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
17257
|
var M;
|
|
17260
17258
|
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
17259
|
}), u = q(!1), c = q(""), g = q(!1), f = async () => {
|
|
@@ -17328,7 +17326,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17328
17326
|
}, 8, ["action-button-disabled", "title"])) : X("", !0);
|
|
17329
17327
|
};
|
|
17330
17328
|
}
|
|
17331
|
-
}), bM = /* @__PURE__ */
|
|
17329
|
+
}), 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
17330
|
__name: "PluginCustomGrid",
|
|
17333
17331
|
props: {
|
|
17334
17332
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17423,7 +17421,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17423
17421
|
}, mt({
|
|
17424
17422
|
"visible-content": w(() => [
|
|
17425
17423
|
y("div", kM, [
|
|
17426
|
-
(d(!0), h(le, null, de(b(s)("visible", l.value, e.pluginsPerRow), (x, D) => (d(), N(
|
|
17424
|
+
(d(!0), h(le, null, de(b(s)("visible", l.value, e.pluginsPerRow), (x, D) => (d(), N(Mi, {
|
|
17427
17425
|
key: `plugin-card-${D}`,
|
|
17428
17426
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
17429
17427
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
@@ -17437,7 +17435,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17437
17435
|
]),
|
|
17438
17436
|
default: w(() => [
|
|
17439
17437
|
y("div", OM, [
|
|
17440
|
-
(d(!0), h(le, null, de(b(s)("hidden", l.value, e.pluginsPerRow), (x, D) => (d(), N(
|
|
17438
|
+
(d(!0), h(le, null, de(b(s)("hidden", l.value, e.pluginsPerRow), (x, D) => (d(), N(Mi, {
|
|
17441
17439
|
key: `plugin-card-${D}`,
|
|
17442
17440
|
"can-delete-custom-plugin": e.canDeleteCustomPlugin,
|
|
17443
17441
|
"can-edit-custom-plugin": e.canEditCustomPlugin,
|
|
@@ -17481,7 +17479,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17481
17479
|
]);
|
|
17482
17480
|
};
|
|
17483
17481
|
}
|
|
17484
|
-
}), MM = /* @__PURE__ */
|
|
17482
|
+
}), MM = /* @__PURE__ */ wt(IM, [["__scopeId", "data-v-acd8a972"]]), BM = { class: "plugin-card-container" }, SM = { class: "plugin-card-container" }, xM = /* @__PURE__ */ ue({
|
|
17485
17483
|
__name: "PluginSelectGroup",
|
|
17486
17484
|
props: /* @__PURE__ */ ss({
|
|
17487
17485
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17542,7 +17540,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17542
17540
|
}, mt({
|
|
17543
17541
|
"visible-content": w(() => [
|
|
17544
17542
|
y("div", BM, [
|
|
17545
|
-
(d(!0), h(le, null, de(b(r)("visible", i.plugins, i.pluginsPerRow), (g) => (d(), N(
|
|
17543
|
+
(d(!0), h(le, null, de(b(r)("visible", i.plugins, i.pluginsPerRow), (g) => (d(), N(Mi, {
|
|
17546
17544
|
key: `plugin-card-${g.id}`,
|
|
17547
17545
|
config: e.config,
|
|
17548
17546
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -17553,7 +17551,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17553
17551
|
]),
|
|
17554
17552
|
default: w(() => [
|
|
17555
17553
|
y("div", SM, [
|
|
17556
|
-
(d(!0), h(le, null, de(b(r)("hidden", i.plugins, i.pluginsPerRow), (g) => (d(), N(
|
|
17554
|
+
(d(!0), h(le, null, de(b(r)("hidden", i.plugins, i.pluginsPerRow), (g) => (d(), N(Mi, {
|
|
17557
17555
|
key: `plugin-card-${g.id}`,
|
|
17558
17556
|
config: e.config,
|
|
17559
17557
|
"navigate-on-click": e.navigateOnClick,
|
|
@@ -17574,7 +17572,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17574
17572
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
17575
17573
|
};
|
|
17576
17574
|
}
|
|
17577
|
-
}), Sr = /* @__PURE__ */
|
|
17575
|
+
}), 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
17576
|
__name: "PluginSelectGrid",
|
|
17579
17577
|
props: {
|
|
17580
17578
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17781,7 +17779,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17781
17779
|
emits: ["loading", "plugin-clicked", "delete-custom:success"],
|
|
17782
17780
|
setup(e, { emit: t }) {
|
|
17783
17781
|
var se, pe;
|
|
17784
|
-
const n = e, i = t, a = ou(), s =
|
|
17782
|
+
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
17783
|
for (const W of _)
|
|
17786
17784
|
J[W.id] = W;
|
|
17787
17785
|
return J;
|
|
@@ -17850,7 +17848,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17850
17848
|
const z = q(!1), te = q(!1), Q = q(!1);
|
|
17851
17849
|
return qt(async () => {
|
|
17852
17850
|
z.value = await n.canCreateCustomPlugin(), te.value = await n.canEditCustomPlugin(), Q.value = await n.canDeleteCustomPlugin();
|
|
17853
|
-
}),
|
|
17851
|
+
}), Si(async () => {
|
|
17854
17852
|
try {
|
|
17855
17853
|
const { data: J } = await x.get(j.value);
|
|
17856
17854
|
if (n.config.app === "konnect") {
|
|
@@ -17998,7 +17996,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17998
17996
|
]);
|
|
17999
17997
|
};
|
|
18000
17998
|
}
|
|
18001
|
-
}), cB = /* @__PURE__ */
|
|
17999
|
+
}), cB = /* @__PURE__ */ wt(HM, [["__scopeId", "data-v-a110ea85"]]), 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
18000
|
__name: "PluginConfigCard",
|
|
18003
18001
|
props: {
|
|
18004
18002
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -18042,7 +18040,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18042
18040
|
emits: ["loading", "fetch:error", "error:fetch-schema", "fetch:success", "navigation-click"],
|
|
18043
18041
|
setup(e, { emit: t }) {
|
|
18044
18042
|
var x;
|
|
18045
|
-
const n = t, i = e, { i18n: { t: a } } = Pe.useI18n(), s = Pe.usePluginMetaData(), { setFieldType: r } = Pe.usePluginHelpers(), { getPropValue: o } =
|
|
18043
|
+
const n = t, i = e, { i18n: { t: a } } = Pe.useI18n(), s = Pe.usePluginMetaData(), { setFieldType: r } = Pe.usePluginHelpers(), { getPropValue: o } = Li(), l = T(
|
|
18046
18044
|
() => {
|
|
18047
18045
|
var D;
|
|
18048
18046
|
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 +18105,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18107
18105
|
}), r(D, B, k);
|
|
18108
18106
|
}
|
|
18109
18107
|
return D;
|
|
18110
|
-
}), { getMessageFromError: f } =
|
|
18108
|
+
}), { getMessageFromError: f } = Ti(), { axiosInstance: v } = Mn((x = i.config) == null ? void 0 : x.axiosRequestConfig), M = T(() => {
|
|
18111
18109
|
var E, m;
|
|
18112
18110
|
let D = `${i.config.apiBaseUrl}${Ke.form[i.config.app].pluginSchema}`;
|
|
18113
18111
|
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 +18161,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18163
18161
|
])
|
|
18164
18162
|
]),
|
|
18165
18163
|
consumer: w((B) => [
|
|
18166
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18164
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18167
18165
|
key: 1,
|
|
18168
18166
|
item: {
|
|
18169
18167
|
key: b(o)("rowValue", B).id,
|
|
@@ -18179,7 +18177,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18179
18177
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", qM, "–"))
|
|
18180
18178
|
]),
|
|
18181
18179
|
route: w((B) => [
|
|
18182
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18180
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18183
18181
|
key: 1,
|
|
18184
18182
|
item: {
|
|
18185
18183
|
key: b(o)("rowValue", B).id,
|
|
@@ -18195,7 +18193,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18195
18193
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", XM, "–"))
|
|
18196
18194
|
]),
|
|
18197
18195
|
service: w((B) => [
|
|
18198
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18196
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18199
18197
|
key: 1,
|
|
18200
18198
|
item: {
|
|
18201
18199
|
key: b(o)("rowValue", B).id,
|
|
@@ -18211,7 +18209,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18211
18209
|
}, null, 8, ["copy-tooltip", "text"])) : (d(), h("span", JM, "–"))
|
|
18212
18210
|
]),
|
|
18213
18211
|
consumer_group: w((B) => [
|
|
18214
|
-
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(
|
|
18212
|
+
b(o)("rowValue", B) ? e.showIdAsLink ? (d(), N(b(Nn), {
|
|
18215
18213
|
key: 1,
|
|
18216
18214
|
item: {
|
|
18217
18215
|
key: b(o)("rowValue", B).id,
|
|
@@ -18231,9 +18229,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18231
18229
|
]);
|
|
18232
18230
|
};
|
|
18233
18231
|
}
|
|
18234
|
-
}), dB = /* @__PURE__ */
|
|
18232
|
+
}), dB = /* @__PURE__ */ wt(WM, [["__scopeId", "data-v-3e4f66ec"]]), { usePluginMetaData: pB } = Pe;
|
|
18235
18233
|
export {
|
|
18236
|
-
|
|
18234
|
+
yn as EntityTypeIdField,
|
|
18237
18235
|
CA as PLUGIN_GROUPS_COLLAPSE_STATUS,
|
|
18238
18236
|
dB as PluginConfigCard,
|
|
18239
18237
|
lB as PluginForm,
|
|
@@ -18243,7 +18241,7 @@ export {
|
|
|
18243
18241
|
uB as PluginList,
|
|
18244
18242
|
p as PluginScope,
|
|
18245
18243
|
cB as PluginSelect,
|
|
18246
|
-
|
|
18244
|
+
Mi as PluginSelectCard,
|
|
18247
18245
|
xr as PluginSelectGrid,
|
|
18248
18246
|
lt as VueFormGenerator,
|
|
18249
18247
|
qA as getPluginIconURL,
|