@kong-ui-public/entities-plugins 4.6.2 → 4.6.3
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.
|
@@ -10,24 +10,24 @@ var zi = (e, t, n) => {
|
|
|
10
10
|
t instanceof WeakSet ? t.add(e) : t.set(e, n);
|
|
11
11
|
};
|
|
12
12
|
var li = (e, t, n) => (Wl(e, t, "access private method"), n);
|
|
13
|
-
import { defineComponent as ue, useCssVars as
|
|
14
|
-
import
|
|
13
|
+
import { defineComponent as ue, useCssVars as xr, computed as T, resolveComponent as V, openBlock as u, createElementBlock as A, createVNode as x, withCtx as b, createTextVNode as se, toDisplayString as j, createCommentVNode as q, createBlock as N, normalizeClass as ve, ref as K, Teleport as Aa, unref as v, createElementVNode as h, watch as ot, renderSlot as Le, onBeforeMount as qt, createSlots as ft, renderList as pe, withModifiers as Ft, withDirectives as he, vShow as wt, Fragment as le, withKeys as Ql, inject as _l, useSlots as Tr, onMounted as Bi, onUnmounted as $l, resolveDynamicComponent as Pe, normalizeStyle as Et, normalizeProps as ec, guardReactiveProps as tc, mergeProps as en, pushScopeId as Ze, popScopeId as We, nextTick as is, resolveDirective as un, vModelCheckbox as ha, toRefs as Lr, vModelSelect as ya, vModelText as mt, Transition as nc, vModelDynamic as ic, vModelRadio as as, provide as ac, reactive as Pn, mergeModels as ss, useModel as sc } from "vue";
|
|
14
|
+
import rs from "axios";
|
|
15
15
|
import { createI18n as $n, i18nTComponent as jr } from "@kong-ui-public/i18n";
|
|
16
16
|
import { BadgeMethodAppearances as rc } from "@kong/kongponents";
|
|
17
17
|
import { useRouter as ei, useRoute as oc } from "vue-router";
|
|
18
|
-
var
|
|
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 || {}), jt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(jt || {}), $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 || {}), be = /* @__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))(be || {}), Ke = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(Ke || {});
|
|
19
19
|
function lc() {
|
|
20
20
|
return {
|
|
21
21
|
getAxiosInstance: (e = {}) => {
|
|
22
22
|
try {
|
|
23
23
|
const t = _l("get-axios-instance", void 0);
|
|
24
|
-
return typeof t == "function" ? t(e) :
|
|
24
|
+
return typeof t == "function" ? t(e) : rs.create({
|
|
25
25
|
withCredentials: !0,
|
|
26
26
|
timeout: 3e4,
|
|
27
27
|
...e
|
|
28
28
|
});
|
|
29
29
|
} catch (t) {
|
|
30
|
-
return console.warn("getAxiosInstance:", t.message || t),
|
|
30
|
+
return console.warn("getAxiosInstance:", t.message || t), rs.create({
|
|
31
31
|
withCredentials: !0,
|
|
32
32
|
timeout: 3e4,
|
|
33
33
|
...e
|
|
@@ -90,7 +90,7 @@ function dc() {
|
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function ba(e = {}) {
|
|
94
94
|
const { getAxiosInstance: t } = lc();
|
|
95
95
|
return {
|
|
96
96
|
axiosInstance: t(e)
|
|
@@ -261,7 +261,7 @@ function Ec(e, t, n, i = {
|
|
|
261
261
|
searchKeys: ["id"]
|
|
262
262
|
}) {
|
|
263
263
|
n || (n = "1000");
|
|
264
|
-
const { axiosInstance: a } =
|
|
264
|
+
const { axiosInstance: a } = ba(e.axiosRequestConfig), { i18n: { t: s } } = Si(), { debounce: r } = cc(), o = r(async (E) => {
|
|
265
265
|
await U(E);
|
|
266
266
|
}, 200), l = K(!1), c = K(""), d = K(""), g = K([]), f = K([]), y = K(void 0), B = v(t);
|
|
267
267
|
let C = `${e.apiBaseUrl}${B}`;
|
|
@@ -398,7 +398,7 @@ function Pr(e, t) {
|
|
|
398
398
|
};
|
|
399
399
|
}
|
|
400
400
|
function Mc(e, t, n = "data") {
|
|
401
|
-
const i = v(t), { axiosInstance: a } =
|
|
401
|
+
const i = v(t), { axiosInstance: a } = ba(e.axiosRequestConfig), s = Pr(e, i), r = K({
|
|
402
402
|
status: $t.Idle
|
|
403
403
|
});
|
|
404
404
|
return { fetcher: async (o) => {
|
|
@@ -450,22 +450,22 @@ function Bc() {
|
|
|
450
450
|
convertKeyToTitle: e
|
|
451
451
|
};
|
|
452
452
|
}
|
|
453
|
-
const Ur = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,
|
|
453
|
+
const Ur = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i, os = (e) => {
|
|
454
454
|
if (typeof e != "string")
|
|
455
455
|
throw new TypeError("Invalid argument expected string");
|
|
456
456
|
const t = e.match(Ur);
|
|
457
457
|
if (!t)
|
|
458
458
|
throw new Error(`Invalid argument not valid semver ('${e}' received)`);
|
|
459
459
|
return t.shift(), t;
|
|
460
|
-
},
|
|
460
|
+
}, ls = (e) => e === "*" || e === "x" || e === "X", cs = (e) => {
|
|
461
461
|
const t = parseInt(e, 10);
|
|
462
462
|
return isNaN(t) ? e : t;
|
|
463
463
|
}, Sc = (e, t) => typeof e != typeof t ? [String(e), String(t)] : [e, t], Rc = (e, t) => {
|
|
464
|
-
if (
|
|
464
|
+
if (ls(e) || ls(t))
|
|
465
465
|
return 0;
|
|
466
|
-
const [n, i] = Sc(
|
|
466
|
+
const [n, i] = Sc(cs(e), cs(t));
|
|
467
467
|
return n > i ? 1 : n < i ? -1 : 0;
|
|
468
|
-
},
|
|
468
|
+
}, us = (e, t) => {
|
|
469
469
|
for (let n = 0; n < Math.max(e.length, t.length); n++) {
|
|
470
470
|
const i = Rc(e[n] || "0", t[n] || "0");
|
|
471
471
|
if (i !== 0)
|
|
@@ -473,9 +473,9 @@ const Ur = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
473
473
|
}
|
|
474
474
|
return 0;
|
|
475
475
|
}, xc = (e, t) => {
|
|
476
|
-
const n =
|
|
477
|
-
return r !== 0 ? r : a && s ?
|
|
478
|
-
},
|
|
476
|
+
const n = os(e), i = os(t), a = n.pop(), s = i.pop(), r = us(n, i);
|
|
477
|
+
return r !== 0 ? r : a && s ? us(a.split("."), s.split(".")) : a || s ? a ? -1 : 1 : 0;
|
|
478
|
+
}, ds = (e, t, n) => {
|
|
479
479
|
Tc(n);
|
|
480
480
|
const i = xc(e, t);
|
|
481
481
|
return Dr[n].includes(i);
|
|
@@ -486,11 +486,11 @@ const Ur = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-(
|
|
|
486
486
|
"<=": [-1, 0],
|
|
487
487
|
"<": [-1],
|
|
488
488
|
"!=": [-1, 1]
|
|
489
|
-
},
|
|
489
|
+
}, ps = Object.keys(Dr), Tc = (e) => {
|
|
490
490
|
if (typeof e != "string")
|
|
491
491
|
throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);
|
|
492
|
-
if (
|
|
493
|
-
throw new Error(`Invalid operator, expected one of ${
|
|
492
|
+
if (ps.indexOf(e) === -1)
|
|
493
|
+
throw new Error(`Invalid operator, expected one of ${ps.join("|")}`);
|
|
494
494
|
}, Lc = (e) => typeof e == "string" && /^[v\d]/.test(e) && Ur.test(e);
|
|
495
495
|
function jc(e) {
|
|
496
496
|
const { gatewayInfo: t, supportedRange: n } = e;
|
|
@@ -503,7 +503,7 @@ function jc(e) {
|
|
|
503
503
|
if (!s)
|
|
504
504
|
return !1;
|
|
505
505
|
const [r, o] = s;
|
|
506
|
-
return !(r &&
|
|
506
|
+
return !(r && ds(a, r, "<") || o && ds(a, o, ">"));
|
|
507
507
|
}
|
|
508
508
|
function Nc(e) {
|
|
509
509
|
const t = K(0), n = K(0), i = K(!1);
|
|
@@ -520,7 +520,7 @@ function Pc() {
|
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
522
|
const He = {
|
|
523
|
-
useAxios:
|
|
523
|
+
useAxios: ba,
|
|
524
524
|
useDebouncedFilter: Ec,
|
|
525
525
|
useDeleteUrlBuilder: kc,
|
|
526
526
|
useErrors: Oc,
|
|
@@ -656,7 +656,7 @@ const He = {
|
|
|
656
656
|
},
|
|
657
657
|
emits: ["navigation-click"],
|
|
658
658
|
setup(e, { emit: t }) {
|
|
659
|
-
|
|
659
|
+
xr((B) => ({
|
|
660
660
|
"07753575": d.value ? "none" : `solid ${v(zc)} ${v(Hc)}`,
|
|
661
661
|
"32d44ea8": c.value && o.value ? "block" : "flex",
|
|
662
662
|
"5036b738": c.value && o.value ? "100%" : n.slim ? "50%" : "25%",
|
|
@@ -895,7 +895,7 @@ const He = {
|
|
|
895
895
|
}), Gr = /* @__PURE__ */ Lt(iu, [["__scopeId", "data-v-d056663c"]]), au = { class: "json-config" }, su = {
|
|
896
896
|
key: 0,
|
|
897
897
|
class: "json-endpoint"
|
|
898
|
-
},
|
|
898
|
+
}, wa = /* @__PURE__ */ ue({
|
|
899
899
|
__name: "JsonCodeBlock",
|
|
900
900
|
props: {
|
|
901
901
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -923,7 +923,7 @@ const He = {
|
|
|
923
923
|
}
|
|
924
924
|
},
|
|
925
925
|
setup(e) {
|
|
926
|
-
|
|
926
|
+
xr((a) => ({
|
|
927
927
|
"4520e3ec": `${i.value}ch`
|
|
928
928
|
}));
|
|
929
929
|
const t = e, n = T(() => t.jsonRecord), i = T(() => {
|
|
@@ -1091,7 +1091,7 @@ function Cu(e, t) {
|
|
|
1091
1091
|
throw new nt('Unknown kind "' + this.kind + '" is specified for "' + e + '" YAML type.');
|
|
1092
1092
|
}
|
|
1093
1093
|
var Je = Cu;
|
|
1094
|
-
function
|
|
1094
|
+
function gs(e, t) {
|
|
1095
1095
|
var n = [];
|
|
1096
1096
|
return e[t].forEach(function(i) {
|
|
1097
1097
|
var a = n.length;
|
|
@@ -1145,7 +1145,7 @@ na.prototype.extend = function(e) {
|
|
|
1145
1145
|
throw new nt("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
1146
1146
|
});
|
|
1147
1147
|
var i = Object.create(na.prototype);
|
|
1148
|
-
return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit =
|
|
1148
|
+
return i.implicit = (this.implicit || []).concat(t), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = gs(i, "implicit"), i.compiledExplicit = gs(i, "explicit"), i.compiledTypeMap = Eu(i.compiledImplicit, i.compiledExplicit), i;
|
|
1149
1149
|
};
|
|
1150
1150
|
var Fr = na, zr = new Je("tag:yaml.org,2002:str", {
|
|
1151
1151
|
kind: "scalar",
|
|
@@ -1436,12 +1436,12 @@ function Ku(e) {
|
|
|
1436
1436
|
var io = new Je("tag:yaml.org,2002:merge", {
|
|
1437
1437
|
kind: "scalar",
|
|
1438
1438
|
resolve: Ku
|
|
1439
|
-
}),
|
|
1439
|
+
}), Ca = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
1440
1440
|
\r`;
|
|
1441
1441
|
function qu(e) {
|
|
1442
1442
|
if (e === null)
|
|
1443
1443
|
return !1;
|
|
1444
|
-
var t, n, i = 0, a = e.length, s =
|
|
1444
|
+
var t, n, i = 0, a = e.length, s = Ca;
|
|
1445
1445
|
for (n = 0; n < a; n++)
|
|
1446
1446
|
if (t = s.indexOf(e.charAt(n)), !(t > 64)) {
|
|
1447
1447
|
if (t < 0)
|
|
@@ -1451,13 +1451,13 @@ function qu(e) {
|
|
|
1451
1451
|
return i % 8 === 0;
|
|
1452
1452
|
}
|
|
1453
1453
|
function Xu(e) {
|
|
1454
|
-
var t, n, i = e.replace(/[\r\n=]/g, ""), a = i.length, s =
|
|
1454
|
+
var t, n, i = e.replace(/[\r\n=]/g, ""), a = i.length, s = Ca, r = 0, o = [];
|
|
1455
1455
|
for (t = 0; t < a; t++)
|
|
1456
1456
|
t % 4 === 0 && t && (o.push(r >> 16 & 255), o.push(r >> 8 & 255), o.push(r & 255)), r = r << 6 | s.indexOf(i.charAt(t));
|
|
1457
1457
|
return n = a % 4 * 6, n === 0 ? (o.push(r >> 16 & 255), o.push(r >> 8 & 255), o.push(r & 255)) : n === 18 ? (o.push(r >> 10 & 255), o.push(r >> 2 & 255)) : n === 12 && o.push(r >> 4 & 255), new Uint8Array(o);
|
|
1458
1458
|
}
|
|
1459
1459
|
function Ju(e) {
|
|
1460
|
-
var t = "", n = 0, i, a, s = e.length, r =
|
|
1460
|
+
var t = "", n = 0, i, a, s = e.length, r = Ca;
|
|
1461
1461
|
for (i = 0; i < s; i++)
|
|
1462
1462
|
i % 3 === 0 && i && (t += r[n >> 18 & 63], t += r[n >> 12 & 63], t += r[n >> 6 & 63], t += r[n & 63]), n = (n << 8) + e[i];
|
|
1463
1463
|
return a = s % 3, a === 0 ? (t += r[n >> 18 & 63], t += r[n >> 12 & 63], t += r[n >> 6 & 63], t += r[n & 63]) : a === 2 ? (t += r[n >> 10 & 63], t += r[n >> 4 & 63], t += r[n << 2 & 63], t += r[64]) : a === 1 && (t += r[n >> 2 & 63], t += r[n << 4 & 63], t += r[64], t += r[64]), t;
|
|
@@ -1542,7 +1542,7 @@ var oo = new Je("tag:yaml.org,2002:set", {
|
|
|
1542
1542
|
kind: "mapping",
|
|
1543
1543
|
resolve: ad,
|
|
1544
1544
|
construct: sd
|
|
1545
|
-
}),
|
|
1545
|
+
}), Ea = $r.extend({
|
|
1546
1546
|
implicit: [
|
|
1547
1547
|
no,
|
|
1548
1548
|
io
|
|
@@ -1553,8 +1553,8 @@ var oo = new Je("tag:yaml.org,2002:set", {
|
|
|
1553
1553
|
ro,
|
|
1554
1554
|
oo
|
|
1555
1555
|
]
|
|
1556
|
-
}), Kt = Object.prototype.hasOwnProperty, gi = 1, lo = 2, co = 3, mi = 4, Ji = 1, rd = 2,
|
|
1557
|
-
function
|
|
1556
|
+
}), Kt = Object.prototype.hasOwnProperty, gi = 1, lo = 2, co = 3, mi = 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]/, cd = /[,\[\]\{\}]/, uo = /^(?:!|!!|![a-z\-]+!)$/i, po = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
1557
|
+
function fs(e) {
|
|
1558
1558
|
return Object.prototype.toString.call(e);
|
|
1559
1559
|
}
|
|
1560
1560
|
function Bt(e) {
|
|
@@ -1579,7 +1579,7 @@ function dd(e) {
|
|
|
1579
1579
|
function pd(e) {
|
|
1580
1580
|
return 48 <= e && e <= 57 ? e - 48 : -1;
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function As(e) {
|
|
1583
1583
|
return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? `
|
|
1584
1584
|
` : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? '"' : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "
" : e === 95 ? " " : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
|
|
1585
1585
|
}
|
|
@@ -1591,9 +1591,9 @@ function gd(e) {
|
|
|
1591
1591
|
}
|
|
1592
1592
|
var go = new Array(256), mo = new Array(256);
|
|
1593
1593
|
for (var fn = 0; fn < 256; fn++)
|
|
1594
|
-
go[fn] =
|
|
1594
|
+
go[fn] = As(fn) ? 1 : 0, mo[fn] = As(fn);
|
|
1595
1595
|
function md(e, t) {
|
|
1596
|
-
this.input = e, this.filename = t.filename || null, this.schema = t.schema ||
|
|
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
|
}
|
|
1598
1598
|
function fo(e, t) {
|
|
1599
1599
|
var n = {
|
|
@@ -1612,7 +1612,7 @@ function oe(e, t) {
|
|
|
1612
1612
|
function fi(e, t) {
|
|
1613
1613
|
e.onWarning && e.onWarning.call(null, fo(e, t));
|
|
1614
1614
|
}
|
|
1615
|
-
var
|
|
1615
|
+
var hs = {
|
|
1616
1616
|
YAML: function(e, t, n) {
|
|
1617
1617
|
var i, a, s;
|
|
1618
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 && fi(e, "unsupported YAML version of the document");
|
|
@@ -1639,7 +1639,7 @@ function zt(e, t, n, i) {
|
|
|
1639
1639
|
e.result += o;
|
|
1640
1640
|
}
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function ys(e, t, n, i) {
|
|
1643
1643
|
var a, s, r, o;
|
|
1644
1644
|
for (Ve.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);
|
|
@@ -1648,13 +1648,13 @@ function vn(e, t, n, i, a, s, r, o, l) {
|
|
|
1648
1648
|
var c, d;
|
|
1649
1649
|
if (Array.isArray(a))
|
|
1650
1650
|
for (a = Array.prototype.slice.call(a), c = 0, d = a.length; c < d; c += 1)
|
|
1651
|
-
Array.isArray(a[c]) && oe(e, "nested arrays are not supported inside keys"), typeof a == "object" &&
|
|
1652
|
-
if (typeof a == "object" &&
|
|
1651
|
+
Array.isArray(a[c]) && oe(e, "nested arrays are not supported inside keys"), typeof a == "object" && fs(a[c]) === "[object Object]" && (a[c] = "[object Object]");
|
|
1652
|
+
if (typeof a == "object" && fs(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), i === "tag:yaml.org,2002:merge")
|
|
1653
1653
|
if (Array.isArray(s))
|
|
1654
1654
|
for (c = 0, d = s.length; c < d; c += 1)
|
|
1655
|
-
|
|
1655
|
+
ys(e, t, s[c], n);
|
|
1656
1656
|
else
|
|
1657
|
-
|
|
1657
|
+
ys(e, t, s, n);
|
|
1658
1658
|
else
|
|
1659
1659
|
!e.json && !Kt.call(n, a) && Kt.call(t, a) && (e.line = r || e.line, e.lineStart = o || e.lineStart, e.position = l || e.position, oe(e, "duplicated mapping key")), a === "__proto__" ? Object.defineProperty(t, a, {
|
|
1660
1660
|
configurable: !0,
|
|
@@ -1664,7 +1664,7 @@ function vn(e, t, n, i, a, s, r, o, l) {
|
|
|
1664
1664
|
}) : t[a] = s, delete n[a];
|
|
1665
1665
|
return t;
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1667
|
+
function ka(e) {
|
|
1668
1668
|
var t;
|
|
1669
1669
|
t = e.input.charCodeAt(e.position), t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : oe(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
|
|
1670
1670
|
}
|
|
@@ -1677,7 +1677,7 @@ function Ge(e, t, n) {
|
|
|
1677
1677
|
a = e.input.charCodeAt(++e.position);
|
|
1678
1678
|
while (a !== 10 && a !== 13 && a !== 0);
|
|
1679
1679
|
if (Bt(a))
|
|
1680
|
-
for (
|
|
1680
|
+
for (ka(e), a = e.input.charCodeAt(e.position), i++, e.lineIndent = 0; a === 32; )
|
|
1681
1681
|
e.lineIndent++, a = e.input.charCodeAt(++e.position);
|
|
1682
1682
|
else
|
|
1683
1683
|
break;
|
|
@@ -1688,7 +1688,7 @@ 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
|
}
|
|
1691
|
-
function
|
|
1691
|
+
function Oa(e, t) {
|
|
1692
1692
|
t === 1 ? e.result += " " : t > 1 && (e.result += Ve.repeat(`
|
|
1693
1693
|
`, t - 1));
|
|
1694
1694
|
}
|
|
@@ -1715,7 +1715,7 @@ function fd(e, t, n) {
|
|
|
1715
1715
|
break;
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
|
-
o && (zt(e, s, r, !1),
|
|
1718
|
+
o && (zt(e, s, r, !1), Oa(e, e.line - l), s = r = e.position, o = !1), nn(y) || (r = e.position + 1), y = e.input.charCodeAt(++e.position);
|
|
1719
1719
|
}
|
|
1720
1720
|
return zt(e, s, r, !1), e.result ? !0 : (e.kind = g, e.result = f, !1);
|
|
1721
1721
|
}
|
|
@@ -1730,7 +1730,7 @@ function Ad(e, t) {
|
|
|
1730
1730
|
else
|
|
1731
1731
|
return !0;
|
|
1732
1732
|
else
|
|
1733
|
-
Bt(n) ? (zt(e, i, a, !0),
|
|
1733
|
+
Bt(n) ? (zt(e, i, a, !0), Oa(e, Ge(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
|
-
Bt(o) ? (zt(e, n, i, !0),
|
|
1756
|
+
Bt(o) ? (zt(e, n, i, !0), Oa(e, Ge(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
|
}
|
|
@@ -1782,7 +1782,7 @@ function vd(e, t) {
|
|
|
1782
1782
|
return !1;
|
|
1783
1783
|
for (e.kind = "scalar", e.result = ""; g !== 0; )
|
|
1784
1784
|
if (g = e.input.charCodeAt(++e.position), g === 43 || g === 45)
|
|
1785
|
-
Ji === a ? a = g === 43 ?
|
|
1785
|
+
Ji === a ? a = g === 43 ? ms : rd : oe(e, "repeat of a chomping mode identifier");
|
|
1786
1786
|
else if ((d = pd(g)) >= 0)
|
|
1787
1787
|
d === 0 ? oe(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : r ? oe(e, "repeat of an indentation width identifier") : (o = t + d - 1, r = !0);
|
|
1788
1788
|
else
|
|
@@ -1797,14 +1797,14 @@ function vd(e, t) {
|
|
|
1797
1797
|
while (!Bt(g) && g !== 0);
|
|
1798
1798
|
}
|
|
1799
1799
|
for (; g !== 0; ) {
|
|
1800
|
-
for (
|
|
1800
|
+
for (ka(e), e.lineIndent = 0, g = e.input.charCodeAt(e.position); (!r || e.lineIndent < o) && g === 32; )
|
|
1801
1801
|
e.lineIndent++, g = e.input.charCodeAt(++e.position);
|
|
1802
1802
|
if (!r && e.lineIndent > o && (o = e.lineIndent), Bt(g)) {
|
|
1803
1803
|
l++;
|
|
1804
1804
|
continue;
|
|
1805
1805
|
}
|
|
1806
1806
|
if (e.lineIndent < o) {
|
|
1807
|
-
a ===
|
|
1807
|
+
a === ms ? e.result += Ve.repeat(`
|
|
1808
1808
|
`, s ? 1 + l : l) : a === Ji && s && (e.result += `
|
|
1809
1809
|
`);
|
|
1810
1810
|
break;
|
|
@@ -1819,7 +1819,7 @@ function vd(e, t) {
|
|
|
1819
1819
|
}
|
|
1820
1820
|
return !0;
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function vs(e, t) {
|
|
1823
1823
|
var n, i = e.tag, a = e.anchor, s = [], r, o = !1, l;
|
|
1824
1824
|
if (e.firstTabInLine !== -1)
|
|
1825
1825
|
return !1;
|
|
@@ -1909,7 +1909,7 @@ function Cn(e, t, n, i, a) {
|
|
|
1909
1909
|
if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, s = r = o = mi === n || co === n, i && Ge(e, !0, -1) && (c = !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
|
Ge(e, !0, -1) ? (c = !0, o = s, e.lineIndent > t ? l = 1 : e.lineIndent === t ? l = 0 : e.lineIndent < t && (l = -1)) : o = !1;
|
|
1912
|
-
if (o && (o = c || a), (l === 1 || mi === n) && (gi === n || lo === n ? C = t : C = t + 1, k = e.position - e.lineStart, l === 1 ? o && (
|
|
1912
|
+
if (o && (o = c || a), (l === 1 || mi === n) && (gi === n || lo === n ? C = t : C = t + 1, k = e.position - e.lineStart, l === 1 ? o && (vs(e, k) || bd(e, k, C)) || yd(e, C) ? d = !0 : (r && vd(e, C) || Ad(e, C) || hd(e, C) ? d = !0 : Ed(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && oe(e, "alias node should not have any properties")) : fd(e, C, gi === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : l === 0 && (d = o && vs(e, k))), 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,7 +1950,7 @@ 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 &&
|
|
1953
|
+
r !== 0 && ka(e), Kt.call(hs, i) ? hs[i](e, i, a) : fi(e, 'unknown document directive "' + i + '"');
|
|
1954
1954
|
}
|
|
1955
1955
|
if (Ge(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, Ge(e, !0, -1)) : s && oe(e, "directives end mark is expected"), Cn(e, e.lineIndent - 1, mi, !1, !0), Ge(e, !0, -1), e.checkLineBreaks && ld.test(e.input.slice(t, e.position)) && fi(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, Ge(e, !0, -1));
|
|
@@ -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,
|
|
1993
|
+
}, yo = Object.prototype.toString, vo = Object.prototype.hasOwnProperty, Ia = 65279, Sd = 9, zn = 10, Rd = 13, xd = 32, Td = 33, Ld = 34, ia = 35, jd = 37, Nd = 38, Pd = 39, Ud = 42, bo = 44, Dd = 45, Ai = 58, Yd = 61, Gd = 62, Vd = 63, Hd = 64, wo = 91, Co = 93, Fd = 96, Eo = 123, zd = 124, ko = 125, et = {};
|
|
1994
1994
|
et[0] = "\\0";
|
|
1995
1995
|
et[7] = "\\a";
|
|
1996
1996
|
et[8] = "\\b";
|
|
@@ -2046,9 +2046,9 @@ function Jd(e) {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
var Zd = 1, Kn = 2;
|
|
2048
2048
|
function Wd(e) {
|
|
2049
|
-
this.schema = e.schema ||
|
|
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 = Ve.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 === '"' ? Kn : 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
|
-
function
|
|
2051
|
+
function bs(e, t) {
|
|
2052
2052
|
for (var n = Ve.repeat(" ", t), i = 0, a = -1, s = "", r, o = e.length; i < o; )
|
|
2053
2053
|
a = e.indexOf(`
|
|
2054
2054
|
`, i), a === -1 ? (r = e.slice(i), i = o) : (r = e.slice(i, a + 1), i = a + 1), r.length && r !== `
|
|
@@ -2070,23 +2070,23 @@ function hi(e) {
|
|
|
2070
2070
|
return e === xd || e === Sd;
|
|
2071
2071
|
}
|
|
2072
2072
|
function qn(e) {
|
|
2073
|
-
return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !==
|
|
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
|
-
function
|
|
2076
|
-
return qn(e) && e !==
|
|
2075
|
+
function ws(e) {
|
|
2076
|
+
return qn(e) && e !== Ia && e !== Rd && e !== zn;
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2079
|
-
var i =
|
|
2078
|
+
function Cs(e, t, n) {
|
|
2079
|
+
var i = ws(e), a = i && !hi(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 === Ai && !a) ||
|
|
2085
|
+
) : i && e !== bo && e !== wo && e !== Co && e !== Eo && e !== ko) && e !== ia && !(t === Ai && !a) || ws(t) && !hi(t) && e === ia || t === Ai && a
|
|
2086
2086
|
);
|
|
2087
2087
|
}
|
|
2088
2088
|
function _d(e) {
|
|
2089
|
-
return qn(e) && e !==
|
|
2089
|
+
return qn(e) && e !== Ia && !hi(e) && e !== Dd && e !== Vd && e !== Ai && 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
2092
|
return !hi(e) && e !== Ai;
|
|
@@ -2106,7 +2106,7 @@ function ep(e, t, n, i, a, s, r, o) {
|
|
|
2106
2106
|
for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
|
|
2107
2107
|
if (c = Nn(e, l), !qn(c))
|
|
2108
2108
|
return An;
|
|
2109
|
-
C = C &&
|
|
2109
|
+
C = C && Cs(c, d, o), d = c;
|
|
2110
2110
|
}
|
|
2111
2111
|
else {
|
|
2112
2112
|
for (l = 0; l < e.length; c >= 65536 ? l += 2 : l++) {
|
|
@@ -2115,7 +2115,7 @@ function ep(e, t, n, i, a, s, r, o) {
|
|
|
2115
2115
|
l - B - 1 > i && e[B + 1] !== " ", B = l);
|
|
2116
2116
|
else if (!qn(c))
|
|
2117
2117
|
return An;
|
|
2118
|
-
C = C &&
|
|
2118
|
+
C = C && Cs(c, d, o), d = c;
|
|
2119
2119
|
}
|
|
2120
2120
|
f = f || y && l - B - 1 > i && e[B + 1] !== " ";
|
|
2121
2121
|
}
|
|
@@ -2146,9 +2146,9 @@ function tp(e, t, n, i, a) {
|
|
|
2146
2146
|
case sa:
|
|
2147
2147
|
return "'" + t.replace(/'/g, "''") + "'";
|
|
2148
2148
|
case Mo:
|
|
2149
|
-
return "|" +
|
|
2149
|
+
return "|" + Es(t, e.indent) + ks(bs(t, s));
|
|
2150
2150
|
case Bo:
|
|
2151
|
-
return ">" +
|
|
2151
|
+
return ">" + Es(t, e.indent) + ks(bs(np(t, r), s));
|
|
2152
2152
|
case An:
|
|
2153
2153
|
return '"' + ip(t) + '"';
|
|
2154
2154
|
default:
|
|
@@ -2156,7 +2156,7 @@ function tp(e, t, n, i, a) {
|
|
|
2156
2156
|
}
|
|
2157
2157
|
}();
|
|
2158
2158
|
}
|
|
2159
|
-
function
|
|
2159
|
+
function Es(e, t) {
|
|
2160
2160
|
var n = Oo(e) ? String(t) : "", i = e[e.length - 1] === `
|
|
2161
2161
|
`, a = i && (e[e.length - 2] === `
|
|
2162
2162
|
` || e === `
|
|
@@ -2164,7 +2164,7 @@ function Cs(e, t) {
|
|
|
2164
2164
|
return n + s + `
|
|
2165
2165
|
`;
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2167
|
+
function ks(e) {
|
|
2168
2168
|
return e[e.length - 1] === `
|
|
2169
2169
|
` ? e.slice(0, -1) : e;
|
|
2170
2170
|
}
|
|
@@ -2172,16 +2172,16 @@ function np(e, t) {
|
|
|
2172
2172
|
for (var n = /(\n+)([^\n]*)/g, i = function() {
|
|
2173
2173
|
var c = e.indexOf(`
|
|
2174
2174
|
`);
|
|
2175
|
-
return c = c !== -1 ? c : e.length, n.lastIndex = c,
|
|
2175
|
+
return c = c !== -1 ? c : e.length, n.lastIndex = c, Os(e.slice(0, c), t);
|
|
2176
2176
|
}(), a = e[0] === `
|
|
2177
2177
|
` || e[0] === " ", s, r; r = n.exec(e); ) {
|
|
2178
2178
|
var o = r[1], l = r[2];
|
|
2179
2179
|
s = l[0] === " ", i += o + (!a && !s && l !== "" ? `
|
|
2180
|
-
` : "") +
|
|
2180
|
+
` : "") + Os(l, t), a = s;
|
|
2181
2181
|
}
|
|
2182
2182
|
return i;
|
|
2183
2183
|
}
|
|
2184
|
-
function
|
|
2184
|
+
function Os(e, t) {
|
|
2185
2185
|
if (e === "" || e[0] === " ")
|
|
2186
2186
|
return e;
|
|
2187
2187
|
for (var n = / [^ ]/g, i, a = 0, s, r = 0, o = 0, l = ""; i = n.exec(e); )
|
|
@@ -2202,7 +2202,7 @@ function ap(e, t, n) {
|
|
|
2202
2202
|
o = n[s], e.replacer && (o = e.replacer.call(n, String(s), o)), (Pt(e, t, o, !1, !1) || typeof o > "u" && Pt(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
|
|
2203
2203
|
e.tag = a, e.dump = "[" + i + "]";
|
|
2204
2204
|
}
|
|
2205
|
-
function
|
|
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
2208
|
l = n[r], e.replacer && (l = e.replacer.call(n, String(r), l)), (Pt(e, t + 1, l, !0, !0, !1, !0) || typeof l > "u" && Pt(e, t + 1, null, !0, !0, !1, !0)) && ((!i || a !== "") && (a += aa(e, t)), e.dump && zn === e.dump.charCodeAt(0) ? a += "-" : a += "- ", a += e.dump);
|
|
@@ -2226,7 +2226,7 @@ function rp(e, t, n, i) {
|
|
|
2226
2226
|
f = "", (!i || a !== "") && (f += aa(e, t)), c = r[o], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), Pt(e, t + 1, c, !0, !0, !0) && (g = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, g && (e.dump && zn === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, g && (f += aa(e, t)), Pt(e, t + 1, d, !0, g) && (e.dump && zn === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, a += f));
|
|
2227
2227
|
e.tag = s, e.dump = a || "{}";
|
|
2228
2228
|
}
|
|
2229
|
-
function
|
|
2229
|
+
function Ms(e, t, n) {
|
|
2230
2230
|
var i, a, s, r, o, l;
|
|
2231
2231
|
for (a = n ? e.explicitTypes : e.implicitTypes, s = 0, r = a.length; s < r; s += 1)
|
|
2232
2232
|
if (o = a[s], (o.instanceOf || o.predicate) && (!o.instanceOf || typeof t == "object" && t instanceof o.instanceOf) && (!o.predicate || o.predicate(t))) {
|
|
@@ -2244,7 +2244,7 @@ function Is(e, t, n) {
|
|
|
2244
2244
|
return !1;
|
|
2245
2245
|
}
|
|
2246
2246
|
function Pt(e, t, n, i, a, s, r) {
|
|
2247
|
-
e.tag = null, e.dump = n,
|
|
2247
|
+
e.tag = null, e.dump = n, Ms(e, n, !1) || Ms(e, n, !0);
|
|
2248
2248
|
var o = yo.call(e.dump), l = i, c;
|
|
2249
2249
|
i && (i = e.flowLevel < 0 || e.flowLevel > t);
|
|
2250
2250
|
var d = o === "[object Object]" || o === "[object Array]", g, f;
|
|
@@ -2254,7 +2254,7 @@ function Pt(e, t, n, i, a, s, r) {
|
|
|
2254
2254
|
if (d && f && !e.usedDuplicates[g] && (e.usedDuplicates[g] = !0), o === "[object Object]")
|
|
2255
2255
|
i && Object.keys(e.dump).length !== 0 ? (rp(e, t, e.dump, a), f && (e.dump = "&ref_" + g + e.dump)) : (sp(e, t, e.dump), f && (e.dump = "&ref_" + g + " " + e.dump));
|
|
2256
2256
|
else if (o === "[object Array]")
|
|
2257
|
-
i && e.dump.length !== 0 ? (e.noArrayIndent && !r && t > 0 ?
|
|
2257
|
+
i && e.dump.length !== 0 ? (e.noArrayIndent && !r && t > 0 ? Is(e, t - 1, e.dump, a) : Is(e, t, e.dump, a), f && (e.dump = "&ref_" + g + e.dump)) : (ap(e, t, e.dump), f && (e.dump = "&ref_" + g + " " + e.dump));
|
|
2258
2258
|
else if (o === "[object String]")
|
|
2259
2259
|
e.tag !== "?" && tp(e, e.dump, t, s, l);
|
|
2260
2260
|
else {
|
|
@@ -2297,12 +2297,12 @@ function lp(e, t) {
|
|
|
2297
2297
|
var cp = lp, up = {
|
|
2298
2298
|
dump: cp
|
|
2299
2299
|
};
|
|
2300
|
-
function
|
|
2300
|
+
function Ma(e, t) {
|
|
2301
2301
|
return function() {
|
|
2302
2302
|
throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
|
|
2303
2303
|
};
|
|
2304
2304
|
}
|
|
2305
|
-
var dp = Je, pp = Fr, gp = Xr, mp = _r, fp = $r, Ap =
|
|
2305
|
+
var dp = Je, pp = Fr, gp = Xr, mp = _r, fp = $r, Ap = Ea, hp = ho.load, yp = ho.loadAll, vp = up.dump, bp = nt, wp = {
|
|
2306
2306
|
binary: ao,
|
|
2307
2307
|
float: Qr,
|
|
2308
2308
|
map: qr,
|
|
@@ -2316,7 +2316,7 @@ var dp = Je, pp = Fr, gp = Xr, mp = _r, fp = $r, Ap = Ca, hp = ho.load, yp = ho.
|
|
|
2316
2316
|
omap: so,
|
|
2317
2317
|
seq: Kr,
|
|
2318
2318
|
str: zr
|
|
2319
|
-
}, Cp =
|
|
2319
|
+
}, Cp = Ma("safeLoad", "load"), Ep = Ma("safeLoadAll", "loadAll"), kp = Ma("safeDump", "dump"), Op = {
|
|
2320
2320
|
Type: dp,
|
|
2321
2321
|
Schema: pp,
|
|
2322
2322
|
FAILSAFE_SCHEMA: gp,
|
|
@@ -2332,7 +2332,7 @@ var dp = Je, pp = Fr, gp = Xr, mp = _r, fp = $r, Ap = Ca, hp = ho.load, yp = ho.
|
|
|
2332
2332
|
safeLoadAll: Ep,
|
|
2333
2333
|
safeDump: kp
|
|
2334
2334
|
};
|
|
2335
|
-
const Ip = { class: "yaml-config" },
|
|
2335
|
+
const Ip = { class: "yaml-config" }, Ba = /* @__PURE__ */ ue({
|
|
2336
2336
|
__name: "YamlCodeBlock",
|
|
2337
2337
|
props: {
|
|
2338
2338
|
/** A record to indicate the entity's configuration, used to populate the YAML code block */
|
|
@@ -2443,14 +2443,14 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
2443
2443
|
]), 1032, ["item"]))), 128))
|
|
2444
2444
|
], 10, Bp))), 128))
|
|
2445
2445
|
])) : q("", !0),
|
|
2446
|
-
e.format === "json" && t.record ? (u(), N(
|
|
2446
|
+
e.format === "json" && t.record ? (u(), N(wa, {
|
|
2447
2447
|
key: 1,
|
|
2448
2448
|
config: t.config,
|
|
2449
2449
|
"fetcher-url": t.fetcherUrl,
|
|
2450
2450
|
"json-record": s.value,
|
|
2451
2451
|
"request-method": "get"
|
|
2452
2452
|
}, null, 8, ["config", "fetcher-url", "json-record"])) : q("", !0),
|
|
2453
|
-
e.format === "yaml" && t.record ? (u(), N(
|
|
2453
|
+
e.format === "yaml" && t.record ? (u(), N(Ba, {
|
|
2454
2454
|
key: 2,
|
|
2455
2455
|
"yaml-record": s.value
|
|
2456
2456
|
}, null, 8, ["yaml-record"])) : q("", !0)
|
|
@@ -3456,7 +3456,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
3456
3456
|
tabs: U.value
|
|
3457
3457
|
}, {
|
|
3458
3458
|
json: b(() => [
|
|
3459
|
-
x(
|
|
3459
|
+
x(wa, {
|
|
3460
3460
|
config: e.config,
|
|
3461
3461
|
"fetcher-url": B.value,
|
|
3462
3462
|
"json-record": a.formFields,
|
|
@@ -3464,7 +3464,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
3464
3464
|
}, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
|
|
3465
3465
|
]),
|
|
3466
3466
|
yaml: b(() => [
|
|
3467
|
-
x(
|
|
3467
|
+
x(Ba, {
|
|
3468
3468
|
"yaml-record": a.formFields
|
|
3469
3469
|
}, null, 8, ["yaml-record"])
|
|
3470
3470
|
]),
|
|
@@ -3976,7 +3976,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
3976
3976
|
width: "20",
|
|
3977
3977
|
x: "0",
|
|
3978
3978
|
y: "0"
|
|
3979
|
-
}, xg = ["fill"], Tg = { mask: "url(#mask0_180_20349)" }, Lg = ["fill"],
|
|
3979
|
+
}, xg = ["fill"], Tg = { mask: "url(#mask0_180_20349)" }, Lg = ["fill"], Bs = /* @__PURE__ */ ue({
|
|
3980
3980
|
__name: "IconFilter",
|
|
3981
3981
|
props: {
|
|
3982
3982
|
color: {
|
|
@@ -4085,7 +4085,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
4085
4085
|
"onUpdate:modelValue": f
|
|
4086
4086
|
}, {
|
|
4087
4087
|
before: b(() => [
|
|
4088
|
-
x(
|
|
4088
|
+
x(Bs)
|
|
4089
4089
|
]),
|
|
4090
4090
|
after: b(() => [
|
|
4091
4091
|
he(x(v(tg), {
|
|
@@ -4103,7 +4103,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
4103
4103
|
onClick: d
|
|
4104
4104
|
}, {
|
|
4105
4105
|
default: b(() => [
|
|
4106
|
-
x(
|
|
4106
|
+
x(Bs),
|
|
4107
4107
|
se(" " + j(v(n)("filter.filterButtonText")) + " " + j(l.value.length > 0 ? `(${l.value.length})` : ""), 1)
|
|
4108
4108
|
]),
|
|
4109
4109
|
_: 1
|
|
@@ -4258,7 +4258,7 @@ const Ip = { class: "yaml-config" }, Ma = /* @__PURE__ */ ue({
|
|
|
4258
4258
|
};
|
|
4259
4259
|
return (g, f) => {
|
|
4260
4260
|
const y = V("KPrompt");
|
|
4261
|
-
return u(), N(
|
|
4261
|
+
return u(), N(Aa, { to: "body" }, [
|
|
4262
4262
|
x(y, {
|
|
4263
4263
|
"action-button-disabled": r.value,
|
|
4264
4264
|
"action-button-text": l.value,
|
|
@@ -4321,8 +4321,8 @@ const Ip = { class: "yaml-config" }, Ma = /* @__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: In, useDeleteUrlBuilder: Xg, useErrors: xi, useExternalLinkCreator: iB, useFetchUrlBuilder: aB, useFetcher: Jg, useDebouncedFilter: sB, useStringHelpers:
|
|
4325
|
-
function
|
|
4324
|
+
const { useAxios: In, useDeleteUrlBuilder: Xg, useErrors: xi, useExternalLinkCreator: iB, useFetchUrlBuilder: aB, useFetcher: Jg, useDebouncedFilter: sB, useStringHelpers: Sa, useHelpers: Ti, useGatewayFeatureSupported: Zg, useTruncationDetector: rB, useValidators: oB } = He;
|
|
4325
|
+
function Ra() {
|
|
4326
4326
|
return {
|
|
4327
4327
|
async: !1,
|
|
4328
4328
|
breaks: !1,
|
|
@@ -4336,7 +4336,7 @@ function Sa() {
|
|
|
4336
4336
|
walkTokens: null
|
|
4337
4337
|
};
|
|
4338
4338
|
}
|
|
4339
|
-
let dn =
|
|
4339
|
+
let dn = Ra();
|
|
4340
4340
|
function Ro(e) {
|
|
4341
4341
|
dn = e;
|
|
4342
4342
|
}
|
|
@@ -4346,13 +4346,13 @@ const xo = /[&<>"']/, Wg = new RegExp(xo.source, "g"), To = /[<>"']|&(?!(#\d{1,7
|
|
|
4346
4346
|
">": ">",
|
|
4347
4347
|
'"': """,
|
|
4348
4348
|
"'": "'"
|
|
4349
|
-
},
|
|
4349
|
+
}, Ss = (e) => _g[e];
|
|
4350
4350
|
function ut(e, t) {
|
|
4351
4351
|
if (t) {
|
|
4352
4352
|
if (xo.test(e))
|
|
4353
|
-
return e.replace(Wg,
|
|
4353
|
+
return e.replace(Wg, Ss);
|
|
4354
4354
|
} else if (To.test(e))
|
|
4355
|
-
return e.replace(Qg,
|
|
4355
|
+
return e.replace(Qg, Ss);
|
|
4356
4356
|
return e;
|
|
4357
4357
|
}
|
|
4358
4358
|
const $g = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
|
|
@@ -4372,7 +4372,7 @@ function Ie(e, t) {
|
|
|
4372
4372
|
};
|
|
4373
4373
|
return i;
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function Rs(e) {
|
|
4376
4376
|
try {
|
|
4377
4377
|
e = encodeURI(e).replace(/%25/g, "%");
|
|
4378
4378
|
} catch {
|
|
@@ -4381,7 +4381,7 @@ function Ss(e) {
|
|
|
4381
4381
|
return e;
|
|
4382
4382
|
}
|
|
4383
4383
|
const Un = { exec: () => null };
|
|
4384
|
-
function
|
|
4384
|
+
function xs(e, t) {
|
|
4385
4385
|
const n = e.replace(/\|/g, (s, r, o) => {
|
|
4386
4386
|
let l = !1, c = r;
|
|
4387
4387
|
for (; --c >= 0 && o[c] === "\\"; )
|
|
@@ -4428,7 +4428,7 @@ function nm(e, t) {
|
|
|
4428
4428
|
return i;
|
|
4429
4429
|
return -1;
|
|
4430
4430
|
}
|
|
4431
|
-
function
|
|
4431
|
+
function Ts(e, t, n, i) {
|
|
4432
4432
|
const a = t.href, s = t.title ? ut(t.title) : null, r = e[1].replace(/\\([\[\]])/g, "$1");
|
|
4433
4433
|
if (e[0].charAt(0) !== "!") {
|
|
4434
4434
|
i.state.inLink = !0;
|
|
@@ -4648,7 +4648,7 @@ class yi {
|
|
|
4648
4648
|
const n = this.rules.block.table.exec(t);
|
|
4649
4649
|
if (!n || !/[:|]/.test(n[2]))
|
|
4650
4650
|
return;
|
|
4651
|
-
const i =
|
|
4651
|
+
const i = xs(n[1]), a = n[2].replace(/^\||\| *$/g, "").split("|"), s = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
|
|
4652
4652
|
`) : [], r = {
|
|
4653
4653
|
type: "table",
|
|
4654
4654
|
raw: n[0],
|
|
@@ -4665,7 +4665,7 @@ class yi {
|
|
|
4665
4665
|
tokens: this.lexer.inline(o)
|
|
4666
4666
|
});
|
|
4667
4667
|
for (const o of s)
|
|
4668
|
-
r.rows.push(
|
|
4668
|
+
r.rows.push(xs(o, r.header.length).map((l) => ({
|
|
4669
4669
|
text: l,
|
|
4670
4670
|
tokens: this.lexer.inline(l)
|
|
4671
4671
|
})));
|
|
@@ -4750,7 +4750,7 @@ class yi {
|
|
|
4750
4750
|
r && (a = r[1], s = r[3]);
|
|
4751
4751
|
} else
|
|
4752
4752
|
s = n[3] ? n[3].slice(1, -1) : "";
|
|
4753
|
-
return a = a.trim(), /^</.test(a) && (this.options.pedantic && !/>$/.test(i) ? a = a.slice(1) : a = a.slice(1, -1)),
|
|
4753
|
+
return a = a.trim(), /^</.test(a) && (this.options.pedantic && !/>$/.test(i) ? a = a.slice(1) : a = a.slice(1, -1)), Ts(n, {
|
|
4754
4754
|
href: a && a.replace(this.rules.inline.anyPunctuation, "$1"),
|
|
4755
4755
|
title: s && s.replace(this.rules.inline.anyPunctuation, "$1")
|
|
4756
4756
|
}, n[0], this.lexer);
|
|
@@ -4768,7 +4768,7 @@ class yi {
|
|
|
4768
4768
|
text: r
|
|
4769
4769
|
};
|
|
4770
4770
|
}
|
|
4771
|
-
return
|
|
4771
|
+
return Ts(i, s, i[0], this.lexer);
|
|
4772
4772
|
}
|
|
4773
4773
|
}
|
|
4774
4774
|
emStrong(t, n, i = "") {
|
|
@@ -4902,7 +4902,7 @@ 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|$)|$)/, ni = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, om = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Lo = /(?:[*+-]|\d{1,9}[.)])/, jo = Ie(/^(?!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(),
|
|
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|$)|$)/, ni = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, om = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Lo = /(?:[*+-]|\d{1,9}[.)])/, jo = Ie(/^(?!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(), xa = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, lm = /^[^\n]+/, Ta = /(?!\s*\])(?:\\.|[^\[\]\\])+/, cm = Ie(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", Ta).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), um = Ie(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Lo).getRegex(), Li = "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 = Ie("^ {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", Li).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), No = Ie(xa).replace("hr", ni).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", Li).getRegex(), pm = Ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", No).getRegex(), ja = {
|
|
4906
4906
|
blockquote: pm,
|
|
4907
4907
|
code: sm,
|
|
4908
4908
|
def: cm,
|
|
@@ -4916,21 +4916,21 @@ const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm =
|
|
|
4916
4916
|
paragraph: No,
|
|
4917
4917
|
table: Un,
|
|
4918
4918
|
text: lm
|
|
4919
|
-
},
|
|
4920
|
-
...
|
|
4921
|
-
table:
|
|
4922
|
-
paragraph: Ie(
|
|
4919
|
+
}, Ls = Ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ni).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", Li).getRegex(), gm = {
|
|
4920
|
+
...ja,
|
|
4921
|
+
table: Ls,
|
|
4922
|
+
paragraph: Ie(xa).replace("hr", ni).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", Li).getRegex()
|
|
4923
4923
|
}, mm = {
|
|
4924
|
-
...
|
|
4925
|
-
html: Ie(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",
|
|
4924
|
+
...ja,
|
|
4925
|
+
html: Ie(`^ *(?: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
4928
|
fences: Un,
|
|
4929
4929
|
// fences not supported
|
|
4930
4930
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
4931
|
-
paragraph: Ie(
|
|
4931
|
+
paragraph: Ie(xa).replace("hr", ni).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)))/, ii = "\\p{P}\\p{S}", hm = Ie(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, ii).getRegex(), ym = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, vm = Ie(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, ii).getRegex(), bm = Ie("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, ii).getRegex(), wm = Ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, ii).getRegex(), Cm = Ie(/\\([punct])/, "gu").replace(/punct/g, ii).getRegex(), Em = Ie(/^<(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 = Ie(
|
|
4933
|
+
}, Po = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, fm = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uo = /^( {2,}|\\)\n(?!\s*$)/, Am = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, ii = "\\p{P}\\p{S}", hm = Ie(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, ii).getRegex(), ym = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, vm = Ie(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, ii).getRegex(), bm = Ie("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, ii).getRegex(), wm = Ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, ii).getRegex(), Cm = Ie(/\\([punct])/, "gu").replace(/punct/g, ii).getRegex(), Em = Ie(/^<(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 = Ie(La).replace("(?:-->|$)", "-->").getRegex(), Om = Ie("^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(), vi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Im = Ie(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", vi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Do = Ie(/^!?\[(label)\]\[(ref)\]/).replace("label", vi).replace("ref", Ta).getRegex(), Yo = Ie(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ta).getRegex(), Mm = Ie("reflink|nolink(?!\\()", "g").replace("reflink", Do).replace("nolink", Yo).getRegex(), Na = {
|
|
4934
4934
|
_backpedal: Un,
|
|
4935
4935
|
// only used for GFM url
|
|
4936
4936
|
anyPunctuation: Cm,
|
|
@@ -4952,11 +4952,11 @@ const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm =
|
|
|
4952
4952
|
text: Am,
|
|
4953
4953
|
url: Un
|
|
4954
4954
|
}, Bm = {
|
|
4955
|
-
...
|
|
4955
|
+
...Na,
|
|
4956
4956
|
link: Ie(/^!?\[(label)\]\((.*?)\)/).replace("label", vi).getRegex(),
|
|
4957
4957
|
reflink: Ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", vi).getRegex()
|
|
4958
4958
|
}, oa = {
|
|
4959
|
-
...
|
|
4959
|
+
...Na,
|
|
4960
4960
|
escape: Ie(Po).replace("])", "~|])").getRegex(),
|
|
4961
4961
|
url: Ie(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
4962
4962
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
@@ -4967,11 +4967,11 @@ const am = /^(?: *(?:\n|$))+/, sm = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, rm =
|
|
|
4967
4967
|
br: Ie(Uo).replace("{2,}", "*").getRegex(),
|
|
4968
4968
|
text: Ie(oa.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
4969
4969
|
}, ui = {
|
|
4970
|
-
normal:
|
|
4970
|
+
normal: ja,
|
|
4971
4971
|
gfm: gm,
|
|
4972
4972
|
pedantic: mm
|
|
4973
4973
|
}, Tn = {
|
|
4974
|
-
normal:
|
|
4974
|
+
normal: Na,
|
|
4975
4975
|
gfm: oa,
|
|
4976
4976
|
breaks: Sm,
|
|
4977
4977
|
pedantic: Bm
|
|
@@ -5281,7 +5281,7 @@ ${t}</tr>
|
|
|
5281
5281
|
return `<del>${t}</del>`;
|
|
5282
5282
|
}
|
|
5283
5283
|
link(t, n, i) {
|
|
5284
|
-
const a =
|
|
5284
|
+
const a = Rs(t);
|
|
5285
5285
|
if (a === null)
|
|
5286
5286
|
return i;
|
|
5287
5287
|
t = a;
|
|
@@ -5289,7 +5289,7 @@ ${t}</tr>
|
|
|
5289
5289
|
return n && (s += ' title="' + n + '"'), s += ">" + i + "</a>", s;
|
|
5290
5290
|
}
|
|
5291
5291
|
image(t, n, i) {
|
|
5292
|
-
const a =
|
|
5292
|
+
const a = Rs(t);
|
|
5293
5293
|
if (a === null)
|
|
5294
5294
|
return i;
|
|
5295
5295
|
t = a;
|
|
@@ -5300,7 +5300,7 @@ ${t}</tr>
|
|
|
5300
5300
|
return t;
|
|
5301
5301
|
}
|
|
5302
5302
|
}
|
|
5303
|
-
class
|
|
5303
|
+
class Pa {
|
|
5304
5304
|
// no need for block level renderers
|
|
5305
5305
|
strong(t) {
|
|
5306
5306
|
return t;
|
|
@@ -5335,7 +5335,7 @@ class It {
|
|
|
5335
5335
|
xe(this, "options");
|
|
5336
5336
|
xe(this, "renderer");
|
|
5337
5337
|
xe(this, "textRenderer");
|
|
5338
|
-
this.options = t || dn, this.options.renderer = this.options.renderer || new bi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new
|
|
5338
|
+
this.options = t || dn, this.options.renderer = this.options.renderer || new bi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new Pa();
|
|
5339
5339
|
}
|
|
5340
5340
|
/**
|
|
5341
5341
|
* Static Parse Method
|
|
@@ -5558,13 +5558,13 @@ class Rm {
|
|
|
5558
5558
|
constructor(...t) {
|
|
5559
5559
|
zi(this, _n);
|
|
5560
5560
|
zi(this, Mi);
|
|
5561
|
-
xe(this, "defaults",
|
|
5561
|
+
xe(this, "defaults", Ra());
|
|
5562
5562
|
xe(this, "options", this.setOptions);
|
|
5563
5563
|
xe(this, "parse", li(this, _n, la).call(this, Ot.lex, It.parse));
|
|
5564
5564
|
xe(this, "parseInline", li(this, _n, la).call(this, Ot.lexInline, It.parseInline));
|
|
5565
5565
|
xe(this, "Parser", It);
|
|
5566
5566
|
xe(this, "Renderer", bi);
|
|
5567
|
-
xe(this, "TextRenderer",
|
|
5567
|
+
xe(this, "TextRenderer", Pa);
|
|
5568
5568
|
xe(this, "Lexer", Ot);
|
|
5569
5569
|
xe(this, "Tokenizer", yi);
|
|
5570
5570
|
xe(this, "Hooks", Dn);
|
|
@@ -5733,7 +5733,7 @@ function Ee(e, t) {
|
|
|
5733
5733
|
Ee.options = Ee.setOptions = function(e) {
|
|
5734
5734
|
return an.setOptions(e), Ee.defaults = an.defaults, Ro(Ee.defaults), Ee;
|
|
5735
5735
|
};
|
|
5736
|
-
Ee.getDefaults =
|
|
5736
|
+
Ee.getDefaults = Ra;
|
|
5737
5737
|
Ee.defaults = dn;
|
|
5738
5738
|
Ee.use = function(...e) {
|
|
5739
5739
|
return an.use(...e), Ee.defaults = an.defaults, Ro(Ee.defaults), Ee;
|
|
@@ -5745,7 +5745,7 @@ Ee.parseInline = an.parseInline;
|
|
|
5745
5745
|
Ee.Parser = It;
|
|
5746
5746
|
Ee.parser = It.parse;
|
|
5747
5747
|
Ee.Renderer = bi;
|
|
5748
|
-
Ee.TextRenderer =
|
|
5748
|
+
Ee.TextRenderer = Pa;
|
|
5749
5749
|
Ee.Lexer = Ot;
|
|
5750
5750
|
Ee.lexer = Ot.lex;
|
|
5751
5751
|
Ee.Tokenizer = yi;
|
|
@@ -6327,7 +6327,7 @@ function ji() {
|
|
|
6327
6327
|
};
|
|
6328
6328
|
}
|
|
6329
6329
|
function Vo() {
|
|
6330
|
-
const { capitalize: e } =
|
|
6330
|
+
const { capitalize: e } = Sa(), t = ["methods", "logout_methods"];
|
|
6331
6331
|
return {
|
|
6332
6332
|
setFieldType: (c, d, g) => {
|
|
6333
6333
|
var f, y, B;
|
|
@@ -6480,7 +6480,7 @@ const Qt = (e) => {
|
|
|
6480
6480
|
// eslint-disable-next-line camelcase
|
|
6481
6481
|
updated_at: MA,
|
|
6482
6482
|
fields: BA
|
|
6483
|
-
},
|
|
6483
|
+
}, js = {
|
|
6484
6484
|
fields: [
|
|
6485
6485
|
{
|
|
6486
6486
|
group: {
|
|
@@ -6529,7 +6529,7 @@ const Qt = (e) => {
|
|
|
6529
6529
|
}
|
|
6530
6530
|
], RA = {
|
|
6531
6531
|
fields: SA
|
|
6532
|
-
},
|
|
6532
|
+
}, Ns = {
|
|
6533
6533
|
fields: [
|
|
6534
6534
|
{
|
|
6535
6535
|
username: {}
|
|
@@ -6588,7 +6588,7 @@ const Qt = (e) => {
|
|
|
6588
6588
|
}
|
|
6589
6589
|
], TA = {
|
|
6590
6590
|
fields: xA
|
|
6591
|
-
},
|
|
6591
|
+
}, Ps = {
|
|
6592
6592
|
fields: [
|
|
6593
6593
|
{
|
|
6594
6594
|
key: {
|
|
@@ -6641,7 +6641,7 @@ const Qt = (e) => {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
], jA = {
|
|
6643
6643
|
fields: LA
|
|
6644
|
-
},
|
|
6644
|
+
}, Us = {
|
|
6645
6645
|
fields: [
|
|
6646
6646
|
{
|
|
6647
6647
|
username: {
|
|
@@ -6823,7 +6823,7 @@ const Qt = (e) => {
|
|
|
6823
6823
|
}
|
|
6824
6824
|
], GA = {
|
|
6825
6825
|
fields: YA
|
|
6826
|
-
},
|
|
6826
|
+
}, Ds = {
|
|
6827
6827
|
fields: [
|
|
6828
6828
|
{ name: {} },
|
|
6829
6829
|
{
|
|
@@ -6946,7 +6946,7 @@ const Qt = (e) => {
|
|
|
6946
6946
|
}
|
|
6947
6947
|
], HA = {
|
|
6948
6948
|
fields: VA
|
|
6949
|
-
},
|
|
6949
|
+
}, Ys = {
|
|
6950
6950
|
fields: [
|
|
6951
6951
|
{
|
|
6952
6952
|
key: {
|
|
@@ -7672,57 +7672,57 @@ const Qt = (e) => {
|
|
|
7672
7672
|
acl: {
|
|
7673
7673
|
titleKey: "plugins.meta.acl.name",
|
|
7674
7674
|
plugin: "acl",
|
|
7675
|
-
schema:
|
|
7675
|
+
schema: js,
|
|
7676
7676
|
nameKey: "plugins.meta.acl.credential_name",
|
|
7677
7677
|
endpoint: "/acls",
|
|
7678
7678
|
schemaEndpoint: "acls",
|
|
7679
|
-
fields: Qt(
|
|
7679
|
+
fields: Qt(js),
|
|
7680
7680
|
applyCredentialButtonText: "Add group to consumer"
|
|
7681
7681
|
},
|
|
7682
7682
|
"basic-auth": {
|
|
7683
7683
|
titleKey: "plugins.meta.basic-auth.name",
|
|
7684
7684
|
plugin: "basic-auth",
|
|
7685
|
-
schema:
|
|
7685
|
+
schema: Ns,
|
|
7686
7686
|
nameKey: "plugins.meta.basic-auth.credential_name",
|
|
7687
7687
|
endpoint: "/basic-auth",
|
|
7688
7688
|
schemaEndpoint: "basicauth_credentials",
|
|
7689
|
-
fields: Qt(
|
|
7689
|
+
fields: Qt(Ns)
|
|
7690
7690
|
},
|
|
7691
7691
|
"key-auth": {
|
|
7692
7692
|
titleKey: "plugins.meta.key-auth.name",
|
|
7693
7693
|
plugin: "key-auth",
|
|
7694
|
-
schema:
|
|
7694
|
+
schema: Ps,
|
|
7695
7695
|
nameKey: "plugins.meta.key-auth.credential_name",
|
|
7696
7696
|
endpoint: "/key-auth",
|
|
7697
7697
|
schemaEndpoint: "keyauth_credentials",
|
|
7698
|
-
fields: Qt(
|
|
7698
|
+
fields: Qt(Ps)
|
|
7699
7699
|
},
|
|
7700
7700
|
"key-auth-enc": {
|
|
7701
7701
|
titleKey: "plugins.meta.key-auth-enc.name",
|
|
7702
7702
|
plugin: "key-auth-enc",
|
|
7703
|
-
schema:
|
|
7703
|
+
schema: Ys,
|
|
7704
7704
|
nameKey: "plugins.meta.key-auth-enc.credential_name",
|
|
7705
7705
|
endpoint: "/key-auth-enc",
|
|
7706
7706
|
schemaEndpoint: "keyauth_enc_credentials",
|
|
7707
|
-
fields: Qt(
|
|
7707
|
+
fields: Qt(Ys)
|
|
7708
7708
|
},
|
|
7709
7709
|
oauth2: {
|
|
7710
7710
|
titleKey: "plugins.meta.oauth2.name",
|
|
7711
7711
|
plugin: "oauth2",
|
|
7712
|
-
schema:
|
|
7712
|
+
schema: Ds,
|
|
7713
7713
|
nameKey: "plugins.meta.oauth2.credential_name",
|
|
7714
7714
|
endpoint: "/oauth2",
|
|
7715
7715
|
schemaEndpoint: "oauth2_credentials",
|
|
7716
|
-
fields: Qt(
|
|
7716
|
+
fields: Qt(Ds)
|
|
7717
7717
|
},
|
|
7718
7718
|
"hmac-auth": {
|
|
7719
7719
|
titleKey: "plugins.meta.hmac-auth.name",
|
|
7720
7720
|
plugin: "hmac-auth",
|
|
7721
|
-
schema:
|
|
7721
|
+
schema: Us,
|
|
7722
7722
|
nameKey: "plugins.meta.hmac-auth.credential_name",
|
|
7723
7723
|
endpoint: "/hmac-auth",
|
|
7724
7724
|
schemaEndpoint: "hmacauth_credentials",
|
|
7725
|
-
fields: Qt(
|
|
7725
|
+
fields: Qt(Us)
|
|
7726
7726
|
},
|
|
7727
7727
|
jwt: {
|
|
7728
7728
|
titleKey: "plugins.meta.jwt.name",
|
|
@@ -7805,41 +7805,41 @@ var nh = Object.prototype, ih = nh.toString;
|
|
|
7805
7805
|
function ah(e) {
|
|
7806
7806
|
return ih.call(e);
|
|
7807
7807
|
}
|
|
7808
|
-
var sh = "[object Null]", rh = "[object Undefined]",
|
|
7808
|
+
var sh = "[object Null]", rh = "[object Undefined]", Gs = xt ? xt.toStringTag : void 0;
|
|
7809
7809
|
function Xt(e) {
|
|
7810
|
-
return e == null ? e === void 0 ? rh : sh :
|
|
7810
|
+
return e == null ? e === void 0 ? rh : sh : Gs && Gs in Object(e) ? th(e) : ah(e);
|
|
7811
7811
|
}
|
|
7812
7812
|
function Tt(e) {
|
|
7813
7813
|
return e != null && typeof e == "object";
|
|
7814
7814
|
}
|
|
7815
7815
|
var oh = "[object Arguments]";
|
|
7816
|
-
function
|
|
7816
|
+
function Vs(e) {
|
|
7817
7817
|
return Tt(e) && Xt(e) == oh;
|
|
7818
7818
|
}
|
|
7819
|
-
var Ko = Object.prototype, lh = Ko.hasOwnProperty, ch = Ko.propertyIsEnumerable,
|
|
7819
|
+
var Ko = Object.prototype, lh = Ko.hasOwnProperty, ch = Ko.propertyIsEnumerable, Ua = Vs(/* @__PURE__ */ function() {
|
|
7820
7820
|
return arguments;
|
|
7821
|
-
}()) ?
|
|
7821
|
+
}()) ? Vs : function(e) {
|
|
7822
7822
|
return Tt(e) && lh.call(e, "callee") && !ch.call(e, "callee");
|
|
7823
7823
|
}, dt = Array.isArray;
|
|
7824
7824
|
function uh() {
|
|
7825
7825
|
return !1;
|
|
7826
7826
|
}
|
|
7827
|
-
var qo = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7828
|
-
function
|
|
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 ? At.Buffer : void 0, ph = Fs ? Fs.isBuffer : void 0, Xn = ph || uh, gh = 9007199254740991, mh = /^(?:0|[1-9]\d*)$/;
|
|
7828
|
+
function Da(e, t) {
|
|
7829
7829
|
var n = typeof e;
|
|
7830
7830
|
return t = t ?? gh, !!t && (n == "number" || n != "symbol" && mh.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
7831
7831
|
}
|
|
7832
7832
|
var fh = 9007199254740991;
|
|
7833
|
-
function
|
|
7833
|
+
function Ya(e) {
|
|
7834
7834
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= fh;
|
|
7835
7835
|
}
|
|
7836
7836
|
var Ah = "[object Arguments]", hh = "[object Array]", yh = "[object Boolean]", vh = "[object Date]", bh = "[object Error]", wh = "[object Function]", Ch = "[object Map]", Eh = "[object Number]", kh = "[object Object]", Oh = "[object RegExp]", Ih = "[object Set]", Mh = "[object String]", Bh = "[object WeakMap]", Sh = "[object ArrayBuffer]", Rh = "[object DataView]", xh = "[object Float32Array]", Th = "[object Float64Array]", Lh = "[object Int8Array]", jh = "[object Int16Array]", Nh = "[object Int32Array]", Ph = "[object Uint8Array]", Uh = "[object Uint8ClampedArray]", Dh = "[object Uint16Array]", Yh = "[object Uint32Array]", Te = {};
|
|
7837
7837
|
Te[xh] = Te[Th] = Te[Lh] = Te[jh] = Te[Nh] = Te[Ph] = Te[Uh] = Te[Dh] = Te[Yh] = !0;
|
|
7838
7838
|
Te[Ah] = Te[hh] = Te[Sh] = Te[yh] = Te[Rh] = Te[vh] = Te[bh] = Te[wh] = Te[Ch] = Te[Eh] = Te[kh] = Te[Oh] = Te[Ih] = Te[Mh] = Te[Bh] = !1;
|
|
7839
7839
|
function Gh(e) {
|
|
7840
|
-
return Tt(e) &&
|
|
7840
|
+
return Tt(e) && Ya(e.length) && !!Te[Xt(e)];
|
|
7841
7841
|
}
|
|
7842
|
-
function
|
|
7842
|
+
function Ga(e) {
|
|
7843
7843
|
return function(t) {
|
|
7844
7844
|
return e(t);
|
|
7845
7845
|
};
|
|
@@ -7850,15 +7850,15 @@ var Xo = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
7850
7850
|
return e || Zi && Zi.binding && Zi.binding("util");
|
|
7851
7851
|
} catch {
|
|
7852
7852
|
}
|
|
7853
|
-
}(),
|
|
7853
|
+
}(), zs = En && En.isTypedArray, Va = zs ? Ga(zs) : Gh, Hh = Object.prototype, Fh = Hh.hasOwnProperty;
|
|
7854
7854
|
function Jo(e, t) {
|
|
7855
|
-
var n = dt(e), i = !n &&
|
|
7855
|
+
var n = dt(e), i = !n && Ua(e), a = !n && !i && Xn(e), s = !n && !i && !a && Va(e), r = n || i || a || s, o = r ? QA(e.length, String) : [], l = o.length;
|
|
7856
7856
|
for (var c in e)
|
|
7857
7857
|
(t || Fh.call(e, c)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7858
7858
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
7859
7859
|
a && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
7860
7860
|
s && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
7861
|
-
|
|
7861
|
+
Da(c, l))) && o.push(c);
|
|
7862
7862
|
return o;
|
|
7863
7863
|
}
|
|
7864
7864
|
var zh = Object.prototype;
|
|
@@ -7892,7 +7892,7 @@ function Ce(e) {
|
|
|
7892
7892
|
return t == Zh || t == Wh || t == Jh || t == Qh;
|
|
7893
7893
|
}
|
|
7894
7894
|
function Mn(e) {
|
|
7895
|
-
return e != null &&
|
|
7895
|
+
return e != null && Ya(e.length) && !Ce(e);
|
|
7896
7896
|
}
|
|
7897
7897
|
function Bn(e) {
|
|
7898
7898
|
return Mn(e) ? Jo(e) : Wo(e);
|
|
@@ -7928,18 +7928,18 @@ function Ui(e) {
|
|
|
7928
7928
|
return typeof e == "symbol" || Tt(e) && Xt(e) == iy;
|
|
7929
7929
|
}
|
|
7930
7930
|
var ay = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sy = /^\w*$/;
|
|
7931
|
-
function
|
|
7931
|
+
function Ha(e, t) {
|
|
7932
7932
|
if (dt(e))
|
|
7933
7933
|
return !1;
|
|
7934
7934
|
var n = typeof e;
|
|
7935
7935
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || Ui(e) ? !0 : sy.test(e) || !ay.test(e) || t != null && e in Object(t);
|
|
7936
7936
|
}
|
|
7937
|
-
var Wi = At["__core-js_shared__"],
|
|
7937
|
+
var Wi = At["__core-js_shared__"], Ks = function() {
|
|
7938
7938
|
var e = /[^.]+$/.exec(Wi && Wi.keys && Wi.keys.IE_PROTO || "");
|
|
7939
7939
|
return e ? "Symbol(src)_1." + e : "";
|
|
7940
7940
|
}();
|
|
7941
7941
|
function ry(e) {
|
|
7942
|
-
return !!
|
|
7942
|
+
return !!Ks && Ks in e;
|
|
7943
7943
|
}
|
|
7944
7944
|
var oy = Function.prototype, ly = oy.toString;
|
|
7945
7945
|
function pn(e) {
|
|
@@ -8096,7 +8096,7 @@ Dt.prototype.get = Yy;
|
|
|
8096
8096
|
Dt.prototype.has = Gy;
|
|
8097
8097
|
Dt.prototype.set = Vy;
|
|
8098
8098
|
var Hy = "Expected a function";
|
|
8099
|
-
function
|
|
8099
|
+
function Fa(e, t) {
|
|
8100
8100
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
8101
8101
|
throw new TypeError(Hy);
|
|
8102
8102
|
var n = function() {
|
|
@@ -8106,12 +8106,12 @@ function Ha(e, t) {
|
|
|
8106
8106
|
var r = e.apply(this, i);
|
|
8107
8107
|
return n.cache = s.set(a, r) || s, r;
|
|
8108
8108
|
};
|
|
8109
|
-
return n.cache = new (
|
|
8109
|
+
return n.cache = new (Fa.Cache || Dt)(), n;
|
|
8110
8110
|
}
|
|
8111
|
-
|
|
8111
|
+
Fa.Cache = Dt;
|
|
8112
8112
|
var Fy = 500;
|
|
8113
8113
|
function zy(e) {
|
|
8114
|
-
var t =
|
|
8114
|
+
var t = Fa(e, function(i) {
|
|
8115
8115
|
return n.size === Fy && n.clear(), i;
|
|
8116
8116
|
}), n = t.cache;
|
|
8117
8117
|
return t;
|
|
@@ -8127,14 +8127,14 @@ function Jy(e, t) {
|
|
|
8127
8127
|
a[n] = t(e[n], n, e);
|
|
8128
8128
|
return a;
|
|
8129
8129
|
}
|
|
8130
|
-
var Zy = 1 / 0,
|
|
8130
|
+
var Zy = 1 / 0, qs = xt ? xt.prototype : void 0, Xs = qs ? qs.toString : void 0;
|
|
8131
8131
|
function Qo(e) {
|
|
8132
8132
|
if (typeof e == "string")
|
|
8133
8133
|
return e;
|
|
8134
8134
|
if (dt(e))
|
|
8135
8135
|
return Jy(e, Qo) + "";
|
|
8136
8136
|
if (Ui(e))
|
|
8137
|
-
return
|
|
8137
|
+
return Xs ? Xs.call(e) : "";
|
|
8138
8138
|
var t = e + "";
|
|
8139
8139
|
return t == "0" && 1 / e == -Zy ? "-0" : t;
|
|
8140
8140
|
}
|
|
@@ -8142,7 +8142,7 @@ function _o(e) {
|
|
|
8142
8142
|
return e == null ? "" : Qo(e);
|
|
8143
8143
|
}
|
|
8144
8144
|
function $o(e, t) {
|
|
8145
|
-
return dt(e) ? e :
|
|
8145
|
+
return dt(e) ? e : Ha(e, t) ? [e] : Xy(_o(e));
|
|
8146
8146
|
}
|
|
8147
8147
|
var Wy = 1 / 0;
|
|
8148
8148
|
function Gi(e) {
|
|
@@ -8290,11 +8290,11 @@ function Hi(e) {
|
|
|
8290
8290
|
function dv(e, t) {
|
|
8291
8291
|
return e && Vi(t, Hi(t), e);
|
|
8292
8292
|
}
|
|
8293
|
-
var al = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
8293
|
+
var al = typeof exports == "object" && exports && !exports.nodeType && exports, Js = al && typeof module == "object" && module && !module.nodeType && module, pv = Js && Js.exports === al, Zs = pv ? At.Buffer : void 0, Ws = Zs ? Zs.allocUnsafe : void 0;
|
|
8294
8294
|
function gv(e, t) {
|
|
8295
8295
|
if (t)
|
|
8296
8296
|
return e.slice();
|
|
8297
|
-
var n = e.length, i =
|
|
8297
|
+
var n = e.length, i = Ws ? Ws(n) : new e.constructor(n);
|
|
8298
8298
|
return e.copy(i), i;
|
|
8299
8299
|
}
|
|
8300
8300
|
function mv(e, t) {
|
|
@@ -8313,13 +8313,13 @@ function fv(e, t) {
|
|
|
8313
8313
|
function sl() {
|
|
8314
8314
|
return [];
|
|
8315
8315
|
}
|
|
8316
|
-
var Av = Object.prototype, hv = Av.propertyIsEnumerable,
|
|
8317
|
-
return e == null ? [] : (e = Object(e), fv(
|
|
8316
|
+
var Av = Object.prototype, hv = Av.propertyIsEnumerable, Qs = Object.getOwnPropertySymbols, za = Qs ? function(e) {
|
|
8317
|
+
return e == null ? [] : (e = Object(e), fv(Qs(e), function(t) {
|
|
8318
8318
|
return hv.call(e, t);
|
|
8319
8319
|
}));
|
|
8320
8320
|
} : sl;
|
|
8321
8321
|
function yv(e, t) {
|
|
8322
|
-
return Vi(e,
|
|
8322
|
+
return Vi(e, za(e), t);
|
|
8323
8323
|
}
|
|
8324
8324
|
function rl(e, t) {
|
|
8325
8325
|
for (var n = -1, i = t.length, a = e.length; ++n < i; )
|
|
@@ -8330,7 +8330,7 @@ var vv = Zo(Object.getPrototypeOf, Object);
|
|
|
8330
8330
|
const ol = vv;
|
|
8331
8331
|
var bv = Object.getOwnPropertySymbols, ll = bv ? function(e) {
|
|
8332
8332
|
for (var t = []; e; )
|
|
8333
|
-
rl(t,
|
|
8333
|
+
rl(t, za(e)), e = ol(e);
|
|
8334
8334
|
return t;
|
|
8335
8335
|
} : sl;
|
|
8336
8336
|
function wv(e, t) {
|
|
@@ -8341,26 +8341,26 @@ function cl(e, t, n) {
|
|
|
8341
8341
|
return dt(e) ? i : rl(i, n(e));
|
|
8342
8342
|
}
|
|
8343
8343
|
function ca(e) {
|
|
8344
|
-
return cl(e, Bn,
|
|
8344
|
+
return cl(e, Bn, za);
|
|
8345
8345
|
}
|
|
8346
8346
|
function Cv(e) {
|
|
8347
8347
|
return cl(e, Hi, ll);
|
|
8348
8348
|
}
|
|
8349
|
-
var ua = gn(At, "DataView"), da = gn(At, "Promise"), wn = gn(At, "Set"), pa = gn(At, "WeakMap"),
|
|
8350
|
-
(ua && _t(new ua(new ArrayBuffer(1))) !=
|
|
8349
|
+
var ua = gn(At, "DataView"), da = gn(At, "Promise"), wn = gn(At, "Set"), pa = gn(At, "WeakMap"), _s = "[object Map]", Ev = "[object Object]", $s = "[object Promise]", er = "[object Set]", tr = "[object WeakMap]", nr = "[object DataView]", kv = pn(ua), Ov = pn(Zn), Iv = pn(da), Mv = pn(wn), Bv = pn(pa), _t = Xt;
|
|
8350
|
+
(ua && _t(new ua(new ArrayBuffer(1))) != nr || Zn && _t(new Zn()) != _s || da && _t(da.resolve()) != $s || wn && _t(new wn()) != er || pa && _t(new pa()) != tr) && (_t = function(e) {
|
|
8351
8351
|
var t = Xt(e), n = t == Ev ? e.constructor : void 0, i = n ? pn(n) : "";
|
|
8352
8352
|
if (i)
|
|
8353
8353
|
switch (i) {
|
|
8354
8354
|
case kv:
|
|
8355
|
-
return
|
|
8355
|
+
return nr;
|
|
8356
8356
|
case Ov:
|
|
8357
|
-
return Qs;
|
|
8358
|
-
case Iv:
|
|
8359
8357
|
return _s;
|
|
8360
|
-
case
|
|
8358
|
+
case Iv:
|
|
8361
8359
|
return $s;
|
|
8362
|
-
case
|
|
8360
|
+
case Mv:
|
|
8363
8361
|
return er;
|
|
8362
|
+
case Bv:
|
|
8363
|
+
return tr;
|
|
8364
8364
|
}
|
|
8365
8365
|
return t;
|
|
8366
8366
|
});
|
|
@@ -8371,12 +8371,12 @@ function xv(e) {
|
|
|
8371
8371
|
return t && typeof e[0] == "string" && Rv.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
8372
8372
|
}
|
|
8373
8373
|
var Ci = At.Uint8Array;
|
|
8374
|
-
function
|
|
8374
|
+
function Ka(e) {
|
|
8375
8375
|
var t = new e.constructor(e.byteLength);
|
|
8376
8376
|
return new Ci(t).set(new Ci(e)), t;
|
|
8377
8377
|
}
|
|
8378
8378
|
function Tv(e, t) {
|
|
8379
|
-
var n = t ?
|
|
8379
|
+
var n = t ? Ka(e.buffer) : e.buffer;
|
|
8380
8380
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
8381
8381
|
}
|
|
8382
8382
|
var Lv = /\w*$/;
|
|
@@ -8384,12 +8384,12 @@ function jv(e) {
|
|
|
8384
8384
|
var t = new e.constructor(e.source, Lv.exec(e));
|
|
8385
8385
|
return t.lastIndex = e.lastIndex, t;
|
|
8386
8386
|
}
|
|
8387
|
-
var
|
|
8387
|
+
var ir = xt ? xt.prototype : void 0, ar = ir ? ir.valueOf : void 0;
|
|
8388
8388
|
function Nv(e) {
|
|
8389
|
-
return
|
|
8389
|
+
return ar ? Object(ar.call(e)) : {};
|
|
8390
8390
|
}
|
|
8391
8391
|
function Pv(e, t) {
|
|
8392
|
-
var n = t ?
|
|
8392
|
+
var n = t ? Ka(e.buffer) : e.buffer;
|
|
8393
8393
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
8394
8394
|
}
|
|
8395
8395
|
var Uv = "[object Boolean]", Dv = "[object Date]", Yv = "[object Map]", Gv = "[object Number]", Vv = "[object RegExp]", Hv = "[object Set]", Fv = "[object String]", zv = "[object Symbol]", Kv = "[object ArrayBuffer]", qv = "[object DataView]", Xv = "[object Float32Array]", Jv = "[object Float64Array]", Zv = "[object Int8Array]", Wv = "[object Int16Array]", Qv = "[object Int32Array]", _v = "[object Uint8Array]", $v = "[object Uint8ClampedArray]", eb = "[object Uint16Array]", tb = "[object Uint32Array]";
|
|
@@ -8397,7 +8397,7 @@ function nb(e, t, n) {
|
|
|
8397
8397
|
var i = e.constructor;
|
|
8398
8398
|
switch (t) {
|
|
8399
8399
|
case Kv:
|
|
8400
|
-
return
|
|
8400
|
+
return Ka(e);
|
|
8401
8401
|
case Uv:
|
|
8402
8402
|
case Dv:
|
|
8403
8403
|
return new i(+e);
|
|
@@ -8426,14 +8426,14 @@ function nb(e, t, n) {
|
|
|
8426
8426
|
return Nv(e);
|
|
8427
8427
|
}
|
|
8428
8428
|
}
|
|
8429
|
-
var
|
|
8429
|
+
var sr = Object.create, ib = /* @__PURE__ */ function() {
|
|
8430
8430
|
function e() {
|
|
8431
8431
|
}
|
|
8432
8432
|
return function(t) {
|
|
8433
8433
|
if (!Fe(t))
|
|
8434
8434
|
return {};
|
|
8435
|
-
if (
|
|
8436
|
-
return
|
|
8435
|
+
if (sr)
|
|
8436
|
+
return sr(t);
|
|
8437
8437
|
e.prototype = t;
|
|
8438
8438
|
var n = new e();
|
|
8439
8439
|
return e.prototype = void 0, n;
|
|
@@ -8446,11 +8446,11 @@ var sb = "[object Map]";
|
|
|
8446
8446
|
function rb(e) {
|
|
8447
8447
|
return Tt(e) && kn(e) == sb;
|
|
8448
8448
|
}
|
|
8449
|
-
var
|
|
8449
|
+
var rr = En && En.isMap, ob = rr ? Ga(rr) : rb, lb = "[object Set]";
|
|
8450
8450
|
function cb(e) {
|
|
8451
8451
|
return Tt(e) && kn(e) == lb;
|
|
8452
8452
|
}
|
|
8453
|
-
var
|
|
8453
|
+
var or = En && En.isSet, ub = or ? Ga(or) : cb, db = 1, pb = 2, gb = 4, ul = "[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]", Rb = "[object Int8Array]", xb = "[object Int16Array]", Tb = "[object Int32Array]", Lb = "[object Uint8Array]", jb = "[object Uint8ClampedArray]", Nb = "[object Uint16Array]", Pb = "[object Uint32Array]", Se = {};
|
|
8454
8454
|
Se[ul] = Se[mb] = Se[Ib] = Se[Mb] = Se[fb] = Se[Ab] = Se[Bb] = Se[Sb] = Se[Rb] = Se[xb] = Se[Tb] = Se[vb] = Se[bb] = Se[pl] = Se[wb] = Se[Cb] = Se[Eb] = Se[kb] = Se[Lb] = Se[jb] = Se[Nb] = Se[Pb] = !0;
|
|
8455
8455
|
Se[hb] = Se[dl] = Se[Ob] = !1;
|
|
8456
8456
|
function Gn(e, t, n, i, a, s) {
|
|
@@ -8494,7 +8494,7 @@ var Ub = 1, Db = 4;
|
|
|
8494
8494
|
function Nt(e) {
|
|
8495
8495
|
return Gn(e, Ub | Db);
|
|
8496
8496
|
}
|
|
8497
|
-
const
|
|
8497
|
+
const qa = (e, t = "") => typeof e.id < "u" ? t + e.id : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), lr = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
|
|
8498
8498
|
var Qi = function() {
|
|
8499
8499
|
return At.Date.now();
|
|
8500
8500
|
}, Yb = /\s/;
|
|
@@ -8507,12 +8507,12 @@ var Vb = /^\s+/;
|
|
|
8507
8507
|
function Hb(e) {
|
|
8508
8508
|
return e && e.slice(0, Gb(e) + 1).replace(Vb, "");
|
|
8509
8509
|
}
|
|
8510
|
-
var
|
|
8510
|
+
var cr = NaN, Fb = /^[-+]0x[0-9a-f]+$/i, zb = /^0b[01]+$/i, Kb = /^0o[0-7]+$/i, qb = parseInt;
|
|
8511
8511
|
function ga(e) {
|
|
8512
8512
|
if (typeof e == "number")
|
|
8513
8513
|
return e;
|
|
8514
8514
|
if (Ui(e))
|
|
8515
|
-
return
|
|
8515
|
+
return cr;
|
|
8516
8516
|
if (Fe(e)) {
|
|
8517
8517
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
8518
8518
|
e = Fe(t) ? t + "" : t;
|
|
@@ -8521,7 +8521,7 @@ function ga(e) {
|
|
|
8521
8521
|
return e === 0 ? e : +e;
|
|
8522
8522
|
e = Hb(e);
|
|
8523
8523
|
var n = zb.test(e);
|
|
8524
|
-
return n || Kb.test(e) ? qb(e.slice(2), n ? 2 : 8) : Fb.test(e) ?
|
|
8524
|
+
return n || Kb.test(e) ? qb(e.slice(2), n ? 2 : 8) : Fb.test(e) ? cr : +e;
|
|
8525
8525
|
}
|
|
8526
8526
|
var Xb = "Expected a function", Jb = Math.max, Zb = Math.min;
|
|
8527
8527
|
function Wn(e, t, n) {
|
|
@@ -8618,13 +8618,13 @@ function ml(e, t) {
|
|
|
8618
8618
|
}
|
|
8619
8619
|
function a1() {
|
|
8620
8620
|
}
|
|
8621
|
-
function
|
|
8621
|
+
function Xa(e) {
|
|
8622
8622
|
var t = -1, n = Array(e.size);
|
|
8623
8623
|
return e.forEach(function(i) {
|
|
8624
8624
|
n[++t] = i;
|
|
8625
8625
|
}), n;
|
|
8626
8626
|
}
|
|
8627
|
-
var s1 = 1 / 0, r1 = wn && 1 /
|
|
8627
|
+
var s1 = 1 / 0, r1 = wn && 1 / Xa(new wn([, -0]))[1] == s1 ? function(e) {
|
|
8628
8628
|
return new wn(e);
|
|
8629
8629
|
} : a1, o1 = 200;
|
|
8630
8630
|
function l1(e, t, n) {
|
|
@@ -8634,7 +8634,7 @@ function l1(e, t, n) {
|
|
|
8634
8634
|
else if (s >= o1) {
|
|
8635
8635
|
var c = t ? null : r1(e);
|
|
8636
8636
|
if (c)
|
|
8637
|
-
return
|
|
8637
|
+
return Xa(c);
|
|
8638
8638
|
r = !1, a = ml, l = new Qn();
|
|
8639
8639
|
} else
|
|
8640
8640
|
l = t ? [] : o;
|
|
@@ -8672,10 +8672,10 @@ function u1(e, t, n) {
|
|
|
8672
8672
|
}
|
|
8673
8673
|
return e.apply(t, n);
|
|
8674
8674
|
}
|
|
8675
|
-
var
|
|
8675
|
+
var ur = Math.max;
|
|
8676
8676
|
function d1(e, t, n) {
|
|
8677
|
-
return t =
|
|
8678
|
-
for (var i = arguments, a = -1, s =
|
|
8677
|
+
return t = ur(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
8678
|
+
for (var i = arguments, a = -1, s = ur(i.length - t, 0), r = Array(s); ++a < s; )
|
|
8679
8679
|
r[a] = i[t + a];
|
|
8680
8680
|
a = -1;
|
|
8681
8681
|
for (var o = Array(t + 1); ++a < t; )
|
|
@@ -8718,7 +8718,7 @@ function w1(e, t, n) {
|
|
|
8718
8718
|
if (!Fe(n))
|
|
8719
8719
|
return !1;
|
|
8720
8720
|
var i = typeof t;
|
|
8721
|
-
return (i == "number" ? Mn(n) &&
|
|
8721
|
+
return (i == "number" ? Mn(n) && Da(t, n.length) : i == "string" && t in n) ? si(n[t], e) : !1;
|
|
8722
8722
|
}
|
|
8723
8723
|
var hl = Object.prototype, C1 = hl.hasOwnProperty, Jt = b1(function(e, t) {
|
|
8724
8724
|
e = Object(e);
|
|
@@ -8733,11 +8733,11 @@ var hl = Object.prototype, C1 = hl.hasOwnProperty, Jt = b1(function(e, t) {
|
|
|
8733
8733
|
function k1(e) {
|
|
8734
8734
|
return typeof e == "number" && E1(e);
|
|
8735
8735
|
}
|
|
8736
|
-
var
|
|
8736
|
+
var dr = 1 / 0, O1 = 17976931348623157e292;
|
|
8737
8737
|
function I1(e) {
|
|
8738
8738
|
if (!e)
|
|
8739
8739
|
return e === 0 ? e : 0;
|
|
8740
|
-
if (e = ga(e), e ===
|
|
8740
|
+
if (e = ga(e), e === dr || e === -dr) {
|
|
8741
8741
|
var t = e < 0 ? -1 : 1;
|
|
8742
8742
|
return t * O1;
|
|
8743
8743
|
}
|
|
@@ -8760,7 +8760,7 @@ function wl(e, t) {
|
|
|
8760
8760
|
n.push(e[i].substr(0, t));
|
|
8761
8761
|
return n;
|
|
8762
8762
|
}
|
|
8763
|
-
var
|
|
8763
|
+
var pr = function(e) {
|
|
8764
8764
|
return function(t, n) {
|
|
8765
8765
|
var i = n[e].map(function(s) {
|
|
8766
8766
|
return s.toLowerCase();
|
|
@@ -8810,7 +8810,7 @@ var Cl = [
|
|
|
8810
8810
|
}
|
|
8811
8811
|
}, Ei = on({}, kl), L1 = function(e) {
|
|
8812
8812
|
return Ei = on(Ei, e);
|
|
8813
|
-
},
|
|
8813
|
+
}, gr = function(e) {
|
|
8814
8814
|
return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
|
|
8815
8815
|
}, at = function(e, t) {
|
|
8816
8816
|
for (t === void 0 && (t = 2), e = String(e); e.length < t; )
|
|
@@ -8903,16 +8903,16 @@ var Cl = [
|
|
|
8903
8903
|
var t = e.getTimezoneOffset();
|
|
8904
8904
|
return (t > 0 ? "-" : "+") + at(Math.floor(Math.abs(t) / 60), 2) + ":" + at(Math.abs(t) % 60, 2);
|
|
8905
8905
|
}
|
|
8906
|
-
},
|
|
8906
|
+
}, mr = function(e) {
|
|
8907
8907
|
return +e - 1;
|
|
8908
|
-
},
|
|
8908
|
+
}, fr = [null, Vt], Ar = [null, Vn], hr = [
|
|
8909
8909
|
"isPm",
|
|
8910
8910
|
Vn,
|
|
8911
8911
|
function(e, t) {
|
|
8912
8912
|
var n = e.toLowerCase();
|
|
8913
8913
|
return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
|
|
8914
8914
|
}
|
|
8915
|
-
],
|
|
8915
|
+
], yr = [
|
|
8916
8916
|
"timezoneOffset",
|
|
8917
8917
|
"[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
|
|
8918
8918
|
function(e) {
|
|
@@ -8929,8 +8929,8 @@ var Cl = [
|
|
|
8929
8929
|
Do: ["day", Vt + Vn, function(e) {
|
|
8930
8930
|
return parseInt(e, 10);
|
|
8931
8931
|
}],
|
|
8932
|
-
M: ["month", Vt,
|
|
8933
|
-
MM: ["month", Gt,
|
|
8932
|
+
M: ["month", Vt, mr],
|
|
8933
|
+
MM: ["month", Gt, mr],
|
|
8934
8934
|
YY: [
|
|
8935
8935
|
"year",
|
|
8936
8936
|
Gt,
|
|
@@ -8955,16 +8955,16 @@ var Cl = [
|
|
|
8955
8955
|
return +e * 10;
|
|
8956
8956
|
}],
|
|
8957
8957
|
SSS: ["millisecond", S1],
|
|
8958
|
-
d:
|
|
8959
|
-
dd:
|
|
8960
|
-
ddd:
|
|
8961
|
-
dddd:
|
|
8962
|
-
MMM: ["month", Vn,
|
|
8963
|
-
MMMM: ["month", Vn,
|
|
8964
|
-
a:
|
|
8965
|
-
A:
|
|
8966
|
-
ZZ:
|
|
8967
|
-
Z:
|
|
8958
|
+
d: fr,
|
|
8959
|
+
dd: fr,
|
|
8960
|
+
ddd: Ar,
|
|
8961
|
+
dddd: Ar,
|
|
8962
|
+
MMM: ["month", Vn, pr("monthNamesShort")],
|
|
8963
|
+
MMMM: ["month", Vn, pr("monthNames")],
|
|
8964
|
+
a: hr,
|
|
8965
|
+
A: hr,
|
|
8966
|
+
ZZ: yr,
|
|
8967
|
+
Z: yr
|
|
8968
8968
|
}, ki = {
|
|
8969
8969
|
default: "ddd MMM DD YYYY HH:mm:ss",
|
|
8970
8970
|
shortDate: "M/D/YY",
|
|
@@ -9009,9 +9009,9 @@ function D1(e, t, n) {
|
|
|
9009
9009
|
isPm: null,
|
|
9010
9010
|
timezoneOffset: null
|
|
9011
9011
|
}, s = [], r = [], o = t.replace(bl, function(E, I) {
|
|
9012
|
-
return r.push(
|
|
9012
|
+
return r.push(gr(I)), "@@@";
|
|
9013
9013
|
}), l = {}, c = {};
|
|
9014
|
-
o =
|
|
9014
|
+
o = gr(o).replace(vl, function(E) {
|
|
9015
9015
|
var I = N1[E], m = I[0], M = I[1], O = I[3];
|
|
9016
9016
|
if (l[m])
|
|
9017
9017
|
throw new Error("Invalid format. " + m + " specified twice in format");
|
|
@@ -9205,7 +9205,7 @@ Object.keys(ln).forEach((e) => {
|
|
|
9205
9205
|
const t = ln[e];
|
|
9206
9206
|
Ce(t) && (t.locale = (n) => (i, a, s) => t(i, a, s, Jt(n, $e)));
|
|
9207
9207
|
});
|
|
9208
|
-
function
|
|
9208
|
+
function vr(e) {
|
|
9209
9209
|
return rn(e) ? ln[e] != null ? ln[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
|
|
9210
9210
|
}
|
|
9211
9211
|
function _i(e, t, n) {
|
|
@@ -9254,8 +9254,8 @@ const Oe = {
|
|
|
9254
9254
|
if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
|
|
9255
9255
|
const a = [];
|
|
9256
9256
|
Array.isArray(this.schema.validator) ? tt(this.schema.validator, (s) => {
|
|
9257
|
-
a.push(
|
|
9258
|
-
}) : a.push(
|
|
9257
|
+
a.push(vr(s).bind(this));
|
|
9258
|
+
}) : a.push(vr(this.schema.validator).bind(this)), tt(a, (s) => {
|
|
9259
9259
|
if (t)
|
|
9260
9260
|
n.push(s(this.value, this.schema, this.model));
|
|
9261
9261
|
else {
|
|
@@ -9311,7 +9311,7 @@ const Oe = {
|
|
|
9311
9311
|
},
|
|
9312
9312
|
getFieldID(e, t = !1) {
|
|
9313
9313
|
const n = we(this.formOptions, "fieldIdPrefix", "");
|
|
9314
|
-
return
|
|
9314
|
+
return qa(e, n) + (t ? "-" + Al() : "");
|
|
9315
9315
|
},
|
|
9316
9316
|
getLabelId(e) {
|
|
9317
9317
|
return `${this.getFieldID(e)}-label`;
|
|
@@ -9341,7 +9341,7 @@ function V1(e, t, n, i, a, s) {
|
|
|
9341
9341
|
class: ve(e.schema.fieldClasses),
|
|
9342
9342
|
required: e.schema.required
|
|
9343
9343
|
}, null, 10, G1)), [
|
|
9344
|
-
[
|
|
9344
|
+
[ha, e.value],
|
|
9345
9345
|
[r, "input"]
|
|
9346
9346
|
]);
|
|
9347
9347
|
}
|
|
@@ -9352,7 +9352,7 @@ const Ae = (e, t) => {
|
|
|
9352
9352
|
return n;
|
|
9353
9353
|
}, H1 = /* @__PURE__ */ Ae(Y1, [["render", V1]]);
|
|
9354
9354
|
var F1 = 4;
|
|
9355
|
-
function
|
|
9355
|
+
function br(e) {
|
|
9356
9356
|
return Gn(e, F1);
|
|
9357
9357
|
}
|
|
9358
9358
|
const z1 = { class: "wrapper" }, K1 = ["disabled"], q1 = ["id", "checked", "disabled", "onChange", "name"], X1 = ["disabled"], J1 = { class: "info" }, Z1 = /* @__PURE__ */ h("div", { class: "arrow" }, null, -1), W1 = { class: "dropList" }, Q1 = ["id", "checked", "disabled", "onChange", "name"];
|
|
@@ -9436,7 +9436,7 @@ const $1 = {
|
|
|
9436
9436
|
},
|
|
9437
9437
|
methods: {
|
|
9438
9438
|
getInputName(e) {
|
|
9439
|
-
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ?
|
|
9439
|
+
return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? lr(this.schema.inputName + "_" + this.getItemValue(e)) : lr(this.getItemValue(e));
|
|
9440
9440
|
},
|
|
9441
9441
|
getItemValue(e) {
|
|
9442
9442
|
if (Fe(e)) {
|
|
@@ -9463,10 +9463,10 @@ const $1 = {
|
|
|
9463
9463
|
},
|
|
9464
9464
|
onChanged(e, t) {
|
|
9465
9465
|
if ((Ye(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
|
|
9466
|
-
const n =
|
|
9466
|
+
const n = br(this.value);
|
|
9467
9467
|
n.push(this.getItemValue(t)), this.value = n;
|
|
9468
9468
|
} else {
|
|
9469
|
-
const n =
|
|
9469
|
+
const n = br(this.value);
|
|
9470
9470
|
n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
|
|
9471
9471
|
}
|
|
9472
9472
|
},
|
|
@@ -9550,7 +9550,7 @@ function t0(e) {
|
|
|
9550
9550
|
}
|
|
9551
9551
|
}, d = (C, k = !1) => {
|
|
9552
9552
|
const S = we(e.formOptions, "fieldIdPrefix", "");
|
|
9553
|
-
return
|
|
9553
|
+
return qa(C, S) + (k ? "-" + Al() : "");
|
|
9554
9554
|
}, g = (C) => `${d(C)}-label`, f = () => we(e.schema, "fieldClasses", []), y = (C) => C, B = (C) => C;
|
|
9555
9555
|
return {
|
|
9556
9556
|
value: a,
|
|
@@ -9878,7 +9878,7 @@ function m0(e) {
|
|
|
9878
9878
|
n[++t] = [a, i];
|
|
9879
9879
|
}), n;
|
|
9880
9880
|
}
|
|
9881
|
-
var f0 = 1, A0 = 2, h0 = "[object Boolean]", y0 = "[object Date]", v0 = "[object Error]", b0 = "[object Map]", w0 = "[object Number]", C0 = "[object RegExp]", E0 = "[object Set]", k0 = "[object String]", O0 = "[object Symbol]", I0 = "[object ArrayBuffer]", M0 = "[object DataView]",
|
|
9881
|
+
var f0 = 1, A0 = 2, h0 = "[object Boolean]", y0 = "[object Date]", v0 = "[object Error]", b0 = "[object Map]", w0 = "[object Number]", C0 = "[object RegExp]", E0 = "[object Set]", k0 = "[object String]", O0 = "[object Symbol]", I0 = "[object ArrayBuffer]", M0 = "[object DataView]", wr = xt ? xt.prototype : void 0, $i = wr ? wr.valueOf : void 0;
|
|
9882
9882
|
function B0(e, t, n, i, a, s, r) {
|
|
9883
9883
|
switch (n) {
|
|
9884
9884
|
case M0:
|
|
@@ -9900,7 +9900,7 @@ function B0(e, t, n, i, a, s, r) {
|
|
|
9900
9900
|
var o = m0;
|
|
9901
9901
|
case E0:
|
|
9902
9902
|
var l = i & f0;
|
|
9903
|
-
if (o || (o =
|
|
9903
|
+
if (o || (o = Xa), e.size != t.size && !l)
|
|
9904
9904
|
return !1;
|
|
9905
9905
|
var c = r.get(e);
|
|
9906
9906
|
if (c)
|
|
@@ -9946,10 +9946,10 @@ function T0(e, t, n, i, a, s) {
|
|
|
9946
9946
|
}
|
|
9947
9947
|
return s.delete(e), s.delete(t), C;
|
|
9948
9948
|
}
|
|
9949
|
-
var L0 = 1,
|
|
9949
|
+
var L0 = 1, Cr = "[object Arguments]", Er = "[object Array]", di = "[object Object]", j0 = Object.prototype, kr = j0.hasOwnProperty;
|
|
9950
9950
|
function N0(e, t, n, i, a, s) {
|
|
9951
|
-
var r = dt(e), o = dt(t), l = r ?
|
|
9952
|
-
l = l ==
|
|
9951
|
+
var r = dt(e), o = dt(t), l = r ? Er : kn(e), c = o ? Er : kn(t);
|
|
9952
|
+
l = l == Cr ? di : l, c = c == Cr ? di : c;
|
|
9953
9953
|
var d = l == di, g = c == di, f = l == c;
|
|
9954
9954
|
if (f && Xn(e)) {
|
|
9955
9955
|
if (!Xn(t))
|
|
@@ -9957,9 +9957,9 @@ function N0(e, t, n, i, a, s) {
|
|
|
9957
9957
|
r = !0, d = !1;
|
|
9958
9958
|
}
|
|
9959
9959
|
if (f && !d)
|
|
9960
|
-
return s || (s = new St()), r ||
|
|
9960
|
+
return s || (s = new St()), r || Va(e) ? Ml(e, t, n, i, a, s) : B0(e, t, l, n, i, a, s);
|
|
9961
9961
|
if (!(n & L0)) {
|
|
9962
|
-
var y = d &&
|
|
9962
|
+
var y = d && kr.call(e, "__wrapped__"), B = g && kr.call(t, "__wrapped__");
|
|
9963
9963
|
if (y || B) {
|
|
9964
9964
|
var C = y ? e.value() : e, k = B ? t.value() : t;
|
|
9965
9965
|
return s || (s = new St()), a(C, k, n, i, s);
|
|
@@ -9967,8 +9967,8 @@ function N0(e, t, n, i, a, s) {
|
|
|
9967
9967
|
}
|
|
9968
9968
|
return f ? (s || (s = new St()), T0(e, t, n, i, a, s)) : !1;
|
|
9969
9969
|
}
|
|
9970
|
-
function
|
|
9971
|
-
return e === t ? !0 : e == null || t == null || !Tt(e) && !Tt(t) ? e !== e && t !== t : N0(e, t, n, i,
|
|
9970
|
+
function Ja(e, t, n, i, a) {
|
|
9971
|
+
return e === t ? !0 : e == null || t == null || !Tt(e) && !Tt(t) ? e !== e && t !== t : N0(e, t, n, i, Ja, a);
|
|
9972
9972
|
}
|
|
9973
9973
|
var P0 = 1, U0 = 2;
|
|
9974
9974
|
function D0(e, t, n, i) {
|
|
@@ -9990,7 +9990,7 @@ function D0(e, t, n, i) {
|
|
|
9990
9990
|
var g = new St();
|
|
9991
9991
|
if (i)
|
|
9992
9992
|
var f = i(c, d, l, e, t, g);
|
|
9993
|
-
if (!(f === void 0 ?
|
|
9993
|
+
if (!(f === void 0 ? Ja(d, c, P0 | U0, i, g) : f))
|
|
9994
9994
|
return !1;
|
|
9995
9995
|
}
|
|
9996
9996
|
}
|
|
@@ -10028,16 +10028,16 @@ function H0(e, t, n) {
|
|
|
10028
10028
|
break;
|
|
10029
10029
|
e = e[r];
|
|
10030
10030
|
}
|
|
10031
|
-
return s || ++i != a ? s : (a = e == null ? 0 : e.length, !!a &&
|
|
10031
|
+
return s || ++i != a ? s : (a = e == null ? 0 : e.length, !!a && Ya(a) && Da(r, a) && (dt(e) || Ua(e)));
|
|
10032
10032
|
}
|
|
10033
10033
|
function F0(e, t) {
|
|
10034
10034
|
return e != null && H0(e, t, V0);
|
|
10035
10035
|
}
|
|
10036
10036
|
var z0 = 1, K0 = 2;
|
|
10037
10037
|
function q0(e, t) {
|
|
10038
|
-
return
|
|
10038
|
+
return Ha(e) && Bl(t) ? Sl(Gi(e), t) : function(n) {
|
|
10039
10039
|
var i = we(n, e);
|
|
10040
|
-
return i === void 0 && i === t ? F0(n, e) :
|
|
10040
|
+
return i === void 0 && i === t ? F0(n, e) : Ja(t, i, z0 | K0);
|
|
10041
10041
|
};
|
|
10042
10042
|
}
|
|
10043
10043
|
function X0(e) {
|
|
@@ -10051,7 +10051,7 @@ function J0(e) {
|
|
|
10051
10051
|
};
|
|
10052
10052
|
}
|
|
10053
10053
|
function Z0(e) {
|
|
10054
|
-
return
|
|
10054
|
+
return Ha(e) ? X0(Gi(e)) : J0(e);
|
|
10055
10055
|
}
|
|
10056
10056
|
function Rl(e) {
|
|
10057
10057
|
return typeof e == "function" ? e : e == null ? Pi : typeof e == "object" ? dt(e) ? q0(e[0], e[1]) : G0(e) : Z0(e);
|
|
@@ -10108,7 +10108,7 @@ function sw(e, t, n, i, a, s) {
|
|
|
10108
10108
|
}, j(s.getItemName(o)), 9, aw))
|
|
10109
10109
|
], 64))), 256))
|
|
10110
10110
|
], 10, ew)), [
|
|
10111
|
-
[
|
|
10111
|
+
[ya, e.value],
|
|
10112
10112
|
[r, "input"]
|
|
10113
10113
|
]);
|
|
10114
10114
|
}
|
|
@@ -10174,7 +10174,7 @@ var ow = "[object Map]", lw = "[object Set]", cw = Object.prototype, uw = cw.has
|
|
|
10174
10174
|
function dw(e) {
|
|
10175
10175
|
if (e == null)
|
|
10176
10176
|
return !0;
|
|
10177
|
-
if (Mn(e) && (dt(e) || typeof e == "string" || typeof e.splice == "function" || Xn(e) ||
|
|
10177
|
+
if (Mn(e) && (dt(e) || typeof e == "string" || typeof e.splice == "function" || Xn(e) || Va(e) || Ua(e)))
|
|
10178
10178
|
return !e.length;
|
|
10179
10179
|
var t = kn(e);
|
|
10180
10180
|
if (t == ow || t == lw)
|
|
@@ -10362,7 +10362,7 @@ function xw(e, t, n, i, a, s) {
|
|
|
10362
10362
|
Rw
|
|
10363
10363
|
]);
|
|
10364
10364
|
}
|
|
10365
|
-
const
|
|
10365
|
+
const Or = "YYYY-MM-DD HH:mm:ss", Tw = {
|
|
10366
10366
|
mixins: [Oe],
|
|
10367
10367
|
mounted() {
|
|
10368
10368
|
this.$nextTick(function() {
|
|
@@ -10370,7 +10370,7 @@ const kr = "YYYY-MM-DD HH:mm:ss", Tw = {
|
|
|
10370
10370
|
const e = this.$el.querySelector(".form-control");
|
|
10371
10371
|
$(this.$el).datetimepicker(
|
|
10372
10372
|
Jt(this.schema.dateTimePickerOptions || {}, {
|
|
10373
|
-
format:
|
|
10373
|
+
format: Or
|
|
10374
10374
|
})
|
|
10375
10375
|
).on("dp.change", () => {
|
|
10376
10376
|
this.value = e.value;
|
|
@@ -10386,7 +10386,7 @@ const kr = "YYYY-MM-DD HH:mm:ss", Tw = {
|
|
|
10386
10386
|
},
|
|
10387
10387
|
methods: {
|
|
10388
10388
|
getDateFormat() {
|
|
10389
|
-
return this.schema.dateTimePickerOptions && this.schema.dateTimePickerOptions.format ? this.schema.dateTimePickerOptions.format :
|
|
10389
|
+
return this.schema.dateTimePickerOptions && this.schema.dateTimePickerOptions.format ? this.schema.dateTimePickerOptions.format : Or;
|
|
10390
10390
|
},
|
|
10391
10391
|
...Ll
|
|
10392
10392
|
}
|
|
@@ -10767,7 +10767,7 @@ function uC(e, t, n, i, a, s) {
|
|
|
10767
10767
|
value: s.getItemValue(r)
|
|
10768
10768
|
}, j(s.getItemName(r)), 9, cC))), 256))
|
|
10769
10769
|
], 8, oC)), [
|
|
10770
|
-
[
|
|
10770
|
+
[ya, e.value]
|
|
10771
10771
|
]);
|
|
10772
10772
|
}
|
|
10773
10773
|
const dC = {
|
|
@@ -10903,7 +10903,7 @@ function kC(e, t, n, i, a, s) {
|
|
|
10903
10903
|
name: e.schema.inputName,
|
|
10904
10904
|
id: e.getFieldID(e.schema)
|
|
10905
10905
|
}, null, 8, wC), [
|
|
10906
|
-
[
|
|
10906
|
+
[ha, e.value]
|
|
10907
10907
|
]),
|
|
10908
10908
|
h("span", {
|
|
10909
10909
|
class: "label",
|
|
@@ -10992,7 +10992,7 @@ function HC(e, t, n, i, a, s) {
|
|
|
10992
10992
|
"onUpdate:modelValue": (d) => e.value[c] = d,
|
|
10993
10993
|
type: "checkbox"
|
|
10994
10994
|
}, null, 8, jC), [
|
|
10995
|
-
[
|
|
10995
|
+
[ha, e.value[c]]
|
|
10996
10996
|
])
|
|
10997
10997
|
])) : q("", !0),
|
|
10998
10998
|
a.keyTypes[c] === "number" ? (u(), A("td", NC, [
|
|
@@ -11015,7 +11015,7 @@ function HC(e, t, n, i, a, s) {
|
|
|
11015
11015
|
he(h("select", {
|
|
11016
11016
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => a.newKeyType = l)
|
|
11017
11017
|
}, VC, 512), [
|
|
11018
|
-
[
|
|
11018
|
+
[ya, a.newKeyType]
|
|
11019
11019
|
]),
|
|
11020
11020
|
he(h("input", {
|
|
11021
11021
|
"onUpdate:modelValue": t[1] || (t[1] = (l) => a.newKeyName = l),
|
|
@@ -11033,7 +11033,7 @@ function HC(e, t, n, i, a, s) {
|
|
|
11033
11033
|
[o, a.attributes]
|
|
11034
11034
|
]);
|
|
11035
11035
|
}
|
|
11036
|
-
const jl = /* @__PURE__ */ Ae(MC, [["render", HC]]), On = "24px",
|
|
11036
|
+
const jl = /* @__PURE__ */ Ae(MC, [["render", HC]]), On = "24px", Za = (e, t) => {
|
|
11037
11037
|
const n = e.__vccOpts || e;
|
|
11038
11038
|
for (const [i, a] of t)
|
|
11039
11039
|
n[i] = a;
|
|
@@ -11137,7 +11137,7 @@ const jl = /* @__PURE__ */ Ae(MC, [["render", HC]]), On = "24px", Ja = (e, t) =>
|
|
|
11137
11137
|
_: 1
|
|
11138
11138
|
}, 8, ["aria-hidden", "style"]));
|
|
11139
11139
|
}
|
|
11140
|
-
}), Nl = /* @__PURE__ */
|
|
11140
|
+
}), Nl = /* @__PURE__ */ Za(XC, [["__scopeId", "data-v-1d2a8d30"]]), JC = (e) => (Ze("data-v-ddb48b32"), e = e(), We(), e), ZC = ["aria-hidden"], WC = {
|
|
11141
11141
|
key: 0,
|
|
11142
11142
|
"data-testid": "kui-icon-svg-title"
|
|
11143
11143
|
}, QC = /* @__PURE__ */ JC(() => /* @__PURE__ */ h("path", {
|
|
@@ -11236,7 +11236,7 @@ const jl = /* @__PURE__ */ Ae(MC, [["render", HC]]), On = "24px", Ja = (e, t) =>
|
|
|
11236
11236
|
_: 1
|
|
11237
11237
|
}, 8, ["aria-hidden", "style"]));
|
|
11238
11238
|
}
|
|
11239
|
-
}), $C = /* @__PURE__ */
|
|
11239
|
+
}), $C = /* @__PURE__ */ Za(_C, [["__scopeId", "data-v-ddb48b32"]]), eE = (e) => (Ze("data-v-b199fa56"), e = e(), We(), e), tE = ["aria-hidden"], nE = {
|
|
11240
11240
|
key: 0,
|
|
11241
11241
|
"data-testid": "kui-icon-svg-title"
|
|
11242
11242
|
}, iE = /* @__PURE__ */ eE(() => /* @__PURE__ */ h("path", {
|
|
@@ -11335,7 +11335,7 @@ const jl = /* @__PURE__ */ Ae(MC, [["render", HC]]), On = "24px", Ja = (e, t) =>
|
|
|
11335
11335
|
_: 1
|
|
11336
11336
|
}, 8, ["aria-hidden", "style"]));
|
|
11337
11337
|
}
|
|
11338
|
-
}), ri = /* @__PURE__ */
|
|
11338
|
+
}), ri = /* @__PURE__ */ Za(aE, [["__scopeId", "data-v-b199fa56"]]), sE = {
|
|
11339
11339
|
components: {
|
|
11340
11340
|
TrashIcon: ri
|
|
11341
11341
|
},
|
|
@@ -12120,7 +12120,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12120
12120
|
type: "radio",
|
|
12121
12121
|
value: l
|
|
12122
12122
|
}, null, 8, ck), [
|
|
12123
|
-
[
|
|
12123
|
+
[as, a.checkedGroup]
|
|
12124
12124
|
]),
|
|
12125
12125
|
se(" " + j(o.label) + " ", 1),
|
|
12126
12126
|
h("div", uk, j(o.description), 1)
|
|
@@ -12159,7 +12159,7 @@ function yk(e, t, n, i, a, s) {
|
|
|
12159
12159
|
type: "radio",
|
|
12160
12160
|
value: l
|
|
12161
12161
|
}, null, 8, mk), [
|
|
12162
|
-
[
|
|
12162
|
+
[as, a.checkedGroup]
|
|
12163
12163
|
]),
|
|
12164
12164
|
se(" " + j(o.label) + " ", 1),
|
|
12165
12165
|
h("div", fk, j(o.description), 1)
|
|
@@ -12395,7 +12395,7 @@ const Bk = /* @__PURE__ */ Ae(Ek, [["render", Mk], ["__scopeId", "data-v-29d1537
|
|
|
12395
12395
|
},
|
|
12396
12396
|
getFieldID(e) {
|
|
12397
12397
|
const t = we(this.options, "fieldIdPrefix", "");
|
|
12398
|
-
return
|
|
12398
|
+
return qa(e, t);
|
|
12399
12399
|
},
|
|
12400
12400
|
getTooltipId(e) {
|
|
12401
12401
|
return `${this.getFieldID(e)}-tooltip`;
|
|
@@ -13415,7 +13415,7 @@ const gO = /* @__PURE__ */ Ae(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13415
13415
|
title: "Configure your Redis",
|
|
13416
13416
|
address_example: "e.g. localhost:6379"
|
|
13417
13417
|
}
|
|
13418
|
-
},
|
|
13418
|
+
}, Wa = {
|
|
13419
13419
|
general: mO,
|
|
13420
13420
|
"post-function": {
|
|
13421
13421
|
tags: {
|
|
@@ -13504,7 +13504,7 @@ const gO = /* @__PURE__ */ Ae(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13504
13504
|
}
|
|
13505
13505
|
},
|
|
13506
13506
|
setup(e) {
|
|
13507
|
-
const { t, te: n } = $n("en-us",
|
|
13507
|
+
const { t, te: n } = $n("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13508
13508
|
const r = i.formSchema;
|
|
13509
13509
|
return r.fields.map((o) => {
|
|
13510
13510
|
const l = `post-function.${o.model}`;
|
|
@@ -13545,7 +13545,7 @@ const gO = /* @__PURE__ */ Ae(_k, [["render", pO], ["__scopeId", "data-v-e7395ff
|
|
|
13545
13545
|
}
|
|
13546
13546
|
},
|
|
13547
13547
|
setup(e) {
|
|
13548
|
-
const { t, te: n } = $n("en-us",
|
|
13548
|
+
const { t, te: n } = $n("en-us", Wa), i = e, a = T(() => i.formModel.id && i.isEditing || !i.isEditing), s = T(() => {
|
|
13549
13549
|
const r = i.formSchema;
|
|
13550
13550
|
return r.fields.map((o) => {
|
|
13551
13551
|
const l = `exit-transformer.${o.model}`;
|
|
@@ -13945,7 +13945,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
13945
13945
|
], n = /* @__PURE__ */ new Set([
|
|
13946
13946
|
"selectionGroup",
|
|
13947
13947
|
...["identifier", "limit", "window_size", "error_code", "error_message"].map((w) => `config-${w}`)
|
|
13948
|
-
]), i = (w) => w === void 0 ? !1 : n.has(w), { t: a } = $n("en-us",
|
|
13948
|
+
]), i = (w) => w === void 0 ? !1 : n.has(w), { t: a } = $n("en-us", Wa), s = e, r = T(() => {
|
|
13949
13949
|
var w, L;
|
|
13950
13950
|
const P = (L = (w = s.formSchema) == null ? void 0 : w.fields) == null ? void 0 : L.find((D) => D.model === "selectionGroup");
|
|
13951
13951
|
if (P)
|
|
@@ -14023,12 +14023,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14023
14023
|
}
|
|
14024
14024
|
), U = (w, L) => {
|
|
14025
14025
|
if (L === g.value) {
|
|
14026
|
-
s.onModelUpdated([], "config-limit"), s.onModelUpdated([], "config-window_size"),
|
|
14026
|
+
s.onModelUpdated([], "config-limit"), s.onModelUpdated([], "config-window_size"), is(() => {
|
|
14027
14027
|
g.value = void 0;
|
|
14028
14028
|
});
|
|
14029
14029
|
return;
|
|
14030
14030
|
}
|
|
14031
|
-
s.onModelUpdated([w.config.limit], "config-limit"), s.onModelUpdated([w.config.window_size], "config-window_size"),
|
|
14031
|
+
s.onModelUpdated([w.config.limit], "config-limit"), s.onModelUpdated([w.config.window_size], "config-window_size"), is(() => {
|
|
14032
14032
|
g.value = L;
|
|
14033
14033
|
});
|
|
14034
14034
|
}, E = (w) => {
|
|
@@ -14578,7 +14578,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14578
14578
|
default: "cluster",
|
|
14579
14579
|
values: ["cluster", "redis"]
|
|
14580
14580
|
}
|
|
14581
|
-
},
|
|
14581
|
+
}, Ir = {
|
|
14582
14582
|
"config-bootstrap_servers": {
|
|
14583
14583
|
...cn,
|
|
14584
14584
|
newElementButtonLabel: "+ Add Bootstrap Server",
|
|
@@ -14618,7 +14618,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14618
14618
|
"config-functions": {},
|
|
14619
14619
|
"config-log": {},
|
|
14620
14620
|
"config-rewrite": {}
|
|
14621
|
-
},
|
|
14621
|
+
}, Mr = [
|
|
14622
14622
|
"config-access",
|
|
14623
14623
|
"config-body_filter",
|
|
14624
14624
|
"config-header_filter",
|
|
@@ -14992,8 +14992,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
14992
14992
|
}, vI = (e, t) => {
|
|
14993
14993
|
const n = e.model.startsWith("config-"), i = t.model.startsWith("config-");
|
|
14994
14994
|
return n && !i ? 1 : !n && i ? -1 : 0;
|
|
14995
|
-
}, ql = (e, t) => (e.order ?? 0) - (t.order ?? 0),
|
|
14996
|
-
const { capitalize: n } =
|
|
14995
|
+
}, 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, t) => {
|
|
14996
|
+
const { capitalize: n } = Sa(), { convertToDotNotation: i } = Vo(), { i18n: { t: a } } = ji(), s = {
|
|
14997
14997
|
"application-registration": {
|
|
14998
14998
|
overwriteDefault: !0,
|
|
14999
14999
|
formSchema: {
|
|
@@ -15016,10 +15016,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15016
15016
|
...UA
|
|
15017
15017
|
},
|
|
15018
15018
|
"kafka-upstream": {
|
|
15019
|
-
...
|
|
15019
|
+
...Ir
|
|
15020
15020
|
},
|
|
15021
15021
|
"kafka-log": {
|
|
15022
|
-
...
|
|
15022
|
+
...Ir
|
|
15023
15023
|
},
|
|
15024
15024
|
statsd: {
|
|
15025
15025
|
...fI
|
|
@@ -15066,11 +15066,11 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15066
15066
|
...pi
|
|
15067
15067
|
},
|
|
15068
15068
|
"pre-function": {
|
|
15069
|
-
...
|
|
15069
|
+
...Mr
|
|
15070
15070
|
},
|
|
15071
15071
|
// both post and pre function plugin forms need identical schema overrides, so we use PreFunction for both
|
|
15072
15072
|
"post-function": {
|
|
15073
|
-
...
|
|
15073
|
+
...Mr
|
|
15074
15074
|
},
|
|
15075
15075
|
"request-transformer-advanced": {
|
|
15076
15076
|
...dI
|
|
@@ -15127,12 +15127,12 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15127
15127
|
ne.length > 0 && X.push({
|
|
15128
15128
|
fields: ne.sort(ql)
|
|
15129
15129
|
}), (de.length > 0 || Z.length > 0) && X.push({
|
|
15130
|
-
fields: de.sort(
|
|
15130
|
+
fields: de.sort(Br),
|
|
15131
15131
|
collapsible: {
|
|
15132
15132
|
title: a("plugins.form.grouping.plugin_configuration.title"),
|
|
15133
15133
|
description: a("plugins.form.grouping.plugin_configuration.description"),
|
|
15134
15134
|
nestedCollapsible: {
|
|
15135
|
-
fields: Z.sort(
|
|
15135
|
+
fields: Z.sort(Br),
|
|
15136
15136
|
triggerLabel: {
|
|
15137
15137
|
expand: a("plugins.form.grouping.advanced_parameters.view"),
|
|
15138
15138
|
collapse: a("plugins.form.grouping.advanced_parameters.hide")
|
|
@@ -15723,7 +15723,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15723
15723
|
emits: ["cancel", "error:fetch-schema", "error", "loading", "update", "model-updated"],
|
|
15724
15724
|
setup(e, { emit: t }) {
|
|
15725
15725
|
var ce;
|
|
15726
|
-
const n = t, i = e, a = ei(), { i18n: { t: s } } = Ue.useI18n(), { customSchemas: r, typedefs: o } = Ue.useSchemas(void 0, { app: i.config.app }), { formatPluginFieldLabel: l } = Ue.usePluginHelpers(), { getMessageFromError: c } = xi(), { capitalize: d } =
|
|
15726
|
+
const n = t, i = e, a = ei(), { i18n: { t: s } } = Ue.useI18n(), { customSchemas: r, typedefs: o } = Ue.useSchemas(void 0, { app: i.config.app }), { formatPluginFieldLabel: l } = Ue.usePluginHelpers(), { getMessageFromError: c } = xi(), { capitalize: d } = Sa(), { objectsAreEqual: g } = Ti(), { axiosInstance: f } = In((ce = i.config) == null ? void 0 : ce.axiosRequestConfig), y = K(!1), B = T(() => i.pluginId ? jt.Edit : jt.Create), C = K(null), k = T(() => !!(i.credential && i.config.entityId)), S = K(null), R = K({}), U = K(!1), E = K(null), I = Pn({
|
|
15727
15727
|
enabled: !0,
|
|
15728
15728
|
protocols: [],
|
|
15729
15729
|
tags: []
|
|
@@ -15878,7 +15878,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15878
15878
|
fieldNameHasDashes: !0
|
|
15879
15879
|
} : ke[ee] = Q[ee], ke;
|
|
15880
15880
|
}, {})), Object.keys(fe).sort().forEach((ke) => {
|
|
15881
|
-
var Zt, Yt,
|
|
15881
|
+
var Zt, Yt, _a, $a, es, ts;
|
|
15882
15882
|
const Q = fe[ke], ee = H ? `${H}-${ke}` : `${ke}`;
|
|
15883
15883
|
if (Object.prototype.hasOwnProperty.call(Q, "overwrite") || Q.hidden)
|
|
15884
15884
|
return;
|
|
@@ -15946,10 +15946,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15946
15946
|
let Be = {};
|
|
15947
15947
|
for (const Qe of Q.elements.fields)
|
|
15948
15948
|
Be = { ...Be, ...Qe };
|
|
15949
|
-
const vt = (
|
|
15949
|
+
const vt = (es = ($a = (_a = Y[ee]) == null ? void 0 : _a.items) == null ? void 0 : $a.schema) == null ? void 0 : es.fields;
|
|
15950
15950
|
if (Array.isArray(vt))
|
|
15951
15951
|
for (const Qe of Y[ee].items.schema.fields) {
|
|
15952
|
-
const it = (
|
|
15952
|
+
const it = (ts = Be[Qe.model]) == null ? void 0 : ts.description;
|
|
15953
15953
|
Qe.help === void 0 && typeof it == "string" && (Qe.help = Ee.parse(it, { mangle: !1, headerIds: !1 }));
|
|
15954
15954
|
}
|
|
15955
15955
|
vt || (Y[ee].fieldClasses = "array-card-container-wrapper", Y[ee].itemContainerComponent = "FieldArrayCardContainer", Y[ee].items = {
|
|
@@ -15961,8 +15961,8 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
15961
15961
|
(Qe) => {
|
|
15962
15962
|
var it, bt;
|
|
15963
15963
|
for (const xn of Q.elements.fields) {
|
|
15964
|
-
const Fi = Object.keys(xn)[0],
|
|
15965
|
-
if (
|
|
15964
|
+
const Fi = Object.keys(xn)[0], ns = ((bt = (it = Qe.id) == null ? void 0 : it.split) == null ? void 0 : bt.call(it, "-")) ?? [];
|
|
15965
|
+
if (ns[ns.length - 1] === Fi) {
|
|
15966
15966
|
Qe.model = Fi, Qe.label = l(Fi);
|
|
15967
15967
|
break;
|
|
15968
15968
|
}
|
|
@@ -16184,7 +16184,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16184
16184
|
ref_key: "actionsDivRef",
|
|
16185
16185
|
ref: E
|
|
16186
16186
|
}, null, 8, xI),
|
|
16187
|
-
!e.isWizardStep && Rn.value ? (u(), N(
|
|
16187
|
+
!e.isWizardStep && Rn.value ? (u(), N(Aa, {
|
|
16188
16188
|
key: 0,
|
|
16189
16189
|
to: e.actionsTeleportTarget ? e.actionsTeleportTarget : `#plugin-form-default-actions-container-${e.config.workspace || e.config.controlPlaneId}`
|
|
16190
16190
|
}, [
|
|
@@ -16274,7 +16274,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16274
16274
|
tabs: M.value
|
|
16275
16275
|
}, {
|
|
16276
16276
|
json: b(() => [
|
|
16277
|
-
x(v(
|
|
16277
|
+
x(v(wa), {
|
|
16278
16278
|
config: e.config,
|
|
16279
16279
|
"fetcher-url": pt.value,
|
|
16280
16280
|
"json-record": m.fields,
|
|
@@ -16282,7 +16282,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16282
16282
|
}, null, 8, ["config", "fetcher-url", "json-record", "request-method"])
|
|
16283
16283
|
]),
|
|
16284
16284
|
yaml: b(() => [
|
|
16285
|
-
x(v(
|
|
16285
|
+
x(v(Ba), {
|
|
16286
16286
|
"yaml-record": m.fields
|
|
16287
16287
|
}, null, 8, ["yaml-record"])
|
|
16288
16288
|
]),
|
|
@@ -16294,7 +16294,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16294
16294
|
]);
|
|
16295
16295
|
};
|
|
16296
16296
|
}
|
|
16297
|
-
}), lB = /* @__PURE__ */ kt(LI, [["__scopeId", "data-v-7fad210b"]]), jI = ["alt", "src", "width"],
|
|
16297
|
+
}), lB = /* @__PURE__ */ kt(LI, [["__scopeId", "data-v-7fad210b"]]), jI = ["alt", "src", "width"], Qa = /* @__PURE__ */ ue({
|
|
16298
16298
|
__name: "PluginIcon",
|
|
16299
16299
|
props: {
|
|
16300
16300
|
name: {
|
|
@@ -16808,38 +16808,36 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
16808
16808
|
}, null, 8, ["modelValue", "config"])
|
|
16809
16809
|
]),
|
|
16810
16810
|
"toolbar-button": b(() => [
|
|
16811
|
-
(u(), N(
|
|
16812
|
-
|
|
16813
|
-
|
|
16814
|
-
|
|
16815
|
-
|
|
16816
|
-
|
|
16817
|
-
|
|
16818
|
-
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
|
|
16822
|
-
|
|
16823
|
-
|
|
16824
|
-
|
|
16825
|
-
|
|
16826
|
-
|
|
16827
|
-
|
|
16828
|
-
|
|
16829
|
-
|
|
16830
|
-
|
|
16831
|
-
|
|
16832
|
-
|
|
16833
|
-
|
|
16834
|
-
|
|
16835
|
-
|
|
16836
|
-
|
|
16837
|
-
_: 1
|
|
16838
|
-
}, 8, ["to"]))
|
|
16811
|
+
(u(), N(Aa, {
|
|
16812
|
+
disabled: !e.useActionOutside,
|
|
16813
|
+
to: "#kong-ui-app-page-header-action-button"
|
|
16814
|
+
}, [
|
|
16815
|
+
x(v(Wt), {
|
|
16816
|
+
"auth-function": () => e.canCreate()
|
|
16817
|
+
}, {
|
|
16818
|
+
default: b(() => [
|
|
16819
|
+
he(x(H, {
|
|
16820
|
+
appearance: "primary",
|
|
16821
|
+
"data-testid": "toolbar-add-plugin",
|
|
16822
|
+
size: "large",
|
|
16823
|
+
to: e.config.createRoute
|
|
16824
|
+
}, {
|
|
16825
|
+
default: b(() => [
|
|
16826
|
+
x(v(GI)),
|
|
16827
|
+
se(" " + j(v(s)("plugins.list.toolbar_actions.new_plugin")), 1)
|
|
16828
|
+
]),
|
|
16829
|
+
_: 1
|
|
16830
|
+
}, 8, ["to"]), [
|
|
16831
|
+
[wt, Re.value]
|
|
16832
|
+
])
|
|
16833
|
+
]),
|
|
16834
|
+
_: 1
|
|
16835
|
+
}, 8, ["auth-function"])
|
|
16836
|
+
], 8, ["disabled"]))
|
|
16839
16837
|
]),
|
|
16840
16838
|
name: b(({ row: re }) => [
|
|
16841
16839
|
h("div", JI, [
|
|
16842
|
-
x(
|
|
16840
|
+
x(Qa, {
|
|
16843
16841
|
class: "plugin-icon",
|
|
16844
16842
|
name: re.name,
|
|
16845
16843
|
width: 24
|
|
@@ -17026,7 +17024,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17026
17024
|
"action-pending": ye.value,
|
|
17027
17025
|
description: v(s)("delete.description"),
|
|
17028
17026
|
"entity-name": J.value && (J.value.instance_name || J.value.name || J.value.id),
|
|
17029
|
-
"entity-type": v(
|
|
17027
|
+
"entity-type": v(va).Plugin,
|
|
17030
17028
|
error: Me.value,
|
|
17031
17029
|
title: v(s)("delete.title"),
|
|
17032
17030
|
visible: X.value,
|
|
@@ -17036,7 +17034,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17036
17034
|
]);
|
|
17037
17035
|
};
|
|
17038
17036
|
}
|
|
17039
|
-
}), cB = /* @__PURE__ */ kt(tM, [["__scopeId", "data-v-
|
|
17037
|
+
}), cB = /* @__PURE__ */ kt(tM, [["__scopeId", "data-v-326733ae"]]), nM = (e) => (Ze("data-v-14bc032f"), e = e(), We(), e), iM = { class: "plugin-card-header" }, aM = { class: "plugin-card-footer" }, sM = /* @__PURE__ */ nM(() => /* @__PURE__ */ h("hr", { class: "plugin-card-footer-divider" }, null, -1)), rM = { class: "footer-skeleton" }, oM = /* @__PURE__ */ ue({
|
|
17040
17038
|
__name: "PluginCardSkeleton",
|
|
17041
17039
|
props: {
|
|
17042
17040
|
cardCount: {
|
|
@@ -17202,7 +17200,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17202
17200
|
title: e.plugin.available ? e.plugin.name : v(s)("plugins.select.unavailable_tooltip"),
|
|
17203
17201
|
onClick: k
|
|
17204
17202
|
}, [
|
|
17205
|
-
x(
|
|
17203
|
+
x(Qa, {
|
|
17206
17204
|
alt: e.plugin.name,
|
|
17207
17205
|
class: "plugin-card-icon",
|
|
17208
17206
|
name: e.plugin.imageName || e.plugin.id,
|
|
@@ -17269,7 +17267,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17269
17267
|
"data-testid": "delete-custom-plugin-schema-modal",
|
|
17270
17268
|
description: v(s)("delete.description_custom"),
|
|
17271
17269
|
"entity-name": e.plugin.name,
|
|
17272
|
-
"entity-type": v(
|
|
17270
|
+
"entity-type": v(va).Plugin,
|
|
17273
17271
|
error: d.value,
|
|
17274
17272
|
"need-confirm": "",
|
|
17275
17273
|
title: l.value,
|
|
@@ -17472,7 +17470,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17472
17470
|
}
|
|
17473
17471
|
}), MM = /* @__PURE__ */ kt(IM, [["__scopeId", "data-v-acd8a972"]]), BM = { class: "plugin-card-container" }, SM = { class: "plugin-card-container" }, RM = /* @__PURE__ */ ue({
|
|
17474
17472
|
__name: "PluginSelectGroup",
|
|
17475
|
-
props: /* @__PURE__ */
|
|
17473
|
+
props: /* @__PURE__ */ ss({
|
|
17476
17474
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
17477
17475
|
config: {
|
|
17478
17476
|
type: Object,
|
|
@@ -17512,7 +17510,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17512
17510
|
modelValue: { type: Boolean, required: !0 },
|
|
17513
17511
|
modelModifiers: {}
|
|
17514
17512
|
}),
|
|
17515
|
-
emits: /* @__PURE__ */
|
|
17513
|
+
emits: /* @__PURE__ */ ss(["plugin-clicked"], ["update:modelValue"]),
|
|
17516
17514
|
setup(e, { emit: t }) {
|
|
17517
17515
|
const n = sc(e, "modelValue"), i = e, a = t, { i18n: { t: s } } = Ue.useI18n(), { getPluginCards: r } = Ue.usePluginHelpers(), o = T(() => {
|
|
17518
17516
|
var d, g;
|
|
@@ -17563,7 +17561,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17563
17561
|
]), 1032, ["modelValue", "data-testid", "title", "trigger-label"]);
|
|
17564
17562
|
};
|
|
17565
17563
|
}
|
|
17566
|
-
}),
|
|
17564
|
+
}), Sr = /* @__PURE__ */ kt(RM, [["__scopeId", "data-v-12700243"]]), xM = { class: "plugin-select-grid" }, TM = { class: "empty-state-title" }, LM = { class: "empty-state-description" }, Rr = /* @__PURE__ */ ue({
|
|
17567
17565
|
__name: "PluginSelectGrid",
|
|
17568
17566
|
props: {
|
|
17569
17567
|
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
@@ -17642,7 +17640,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17642
17640
|
]),
|
|
17643
17641
|
_: 1
|
|
17644
17642
|
})),
|
|
17645
|
-
!n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (u(), N(
|
|
17643
|
+
!n.hideHighlightedPlugins && n.highlightedPlugins.length > 0 ? (u(), N(Sr, {
|
|
17646
17644
|
key: 1,
|
|
17647
17645
|
modelValue: s.value,
|
|
17648
17646
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => s.value = f),
|
|
@@ -17655,7 +17653,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17655
17653
|
}, null, 8, ["modelValue", "config", "name", "navigate-on-click", "plugins", "plugins-per-row"])) : q("", !0),
|
|
17656
17654
|
(u(!0), A(le, null, pe(v(wA), (f) => (u(), A(le, null, [
|
|
17657
17655
|
l.value[f] ? (u(), A("div", { key: f }, [
|
|
17658
|
-
x(
|
|
17656
|
+
x(Sr, {
|
|
17659
17657
|
modelValue: r.value[f],
|
|
17660
17658
|
"onUpdate:modelValue": (y) => r.value[f] = y,
|
|
17661
17659
|
config: e.config,
|
|
@@ -17926,7 +17924,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17926
17924
|
kong: b(() => [
|
|
17927
17925
|
h("div", DM, [
|
|
17928
17926
|
h("p", YM, j(v(r)("plugins.select.tabs.kong.description")), 1),
|
|
17929
|
-
x(
|
|
17927
|
+
x(Rr, {
|
|
17930
17928
|
config: e.config,
|
|
17931
17929
|
"hide-highlighted-plugins": g.value.length > 0,
|
|
17932
17930
|
"highlighted-plugins": I.value,
|
|
@@ -17972,7 +17970,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
17972
17970
|
]),
|
|
17973
17971
|
key: "0"
|
|
17974
17972
|
} : void 0
|
|
17975
|
-
]), 1032, ["modelValue", "tabs"])) : (u(), N(
|
|
17973
|
+
]), 1032, ["modelValue", "tabs"])) : (u(), N(Rr, {
|
|
17976
17974
|
key: 1,
|
|
17977
17975
|
config: e.config,
|
|
17978
17976
|
"hide-highlighted-plugins": g.value.length > 0,
|
|
@@ -18143,7 +18141,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
|
|
|
18143
18141
|
}, {
|
|
18144
18142
|
name: b((O) => [
|
|
18145
18143
|
h("div", zM, [
|
|
18146
|
-
x(
|
|
18144
|
+
x(Qa, {
|
|
18147
18145
|
class: "plugin-icon",
|
|
18148
18146
|
name: v(o)("rowValue", O),
|
|
18149
18147
|
width: 24
|
|
@@ -18228,12 +18226,12 @@ export {
|
|
|
18228
18226
|
lB as PluginForm,
|
|
18229
18227
|
z as PluginGroup,
|
|
18230
18228
|
wA as PluginGroupArray,
|
|
18231
|
-
|
|
18229
|
+
Qa as PluginIcon,
|
|
18232
18230
|
cB as PluginList,
|
|
18233
18231
|
p as PluginScope,
|
|
18234
18232
|
uB as PluginSelect,
|
|
18235
18233
|
Ii as PluginSelectCard,
|
|
18236
|
-
|
|
18234
|
+
Rr as PluginSelectGrid,
|
|
18237
18235
|
ct as VueFormGenerator,
|
|
18238
18236
|
qA as getPluginIconURL,
|
|
18239
18237
|
qe as pluginEndpoints,
|