@kong-ui-public/entities-upstreams-targets 3.3.3 → 3.3.5

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.
@@ -202,13 +202,11 @@ function Ct() {
202
202
  }
203
203
  function Jl() {
204
204
  const e = (t, l) => (l == null ? void 0 : l[t]) ?? void 0, a = (t, l) => {
205
- if (t.length !== l.length)
206
- return !1;
205
+ if (t.length !== l.length) return !1;
207
206
  const r = /* @__PURE__ */ new Set([...t, ...l]);
208
207
  for (const s of r) {
209
208
  const i = t.filter((o) => o === s).length, c = l.filter((o) => o === s).length;
210
- if (i !== c)
211
- return !1;
209
+ if (i !== c) return !1;
212
210
  }
213
211
  return !0;
214
212
  };
@@ -1014,8 +1012,7 @@ function Tt(e, a) {
1014
1012
  return ce.repeat(" ", a - e.length) + e;
1015
1013
  }
1016
1014
  function gs(e, a) {
1017
- if (a = Object.create(a || null), !e.buffer)
1018
- return null;
1015
+ if (a = Object.create(a || null), !e.buffer) return null;
1019
1016
  a.maxLength || (a.maxLength = 79), typeof a.indent != "number" && (a.indent = 1), typeof a.linesBefore != "number" && (a.linesBefore = 3), typeof a.linesAfter != "number" && (a.linesAfter = 2);
1020
1017
  for (var t = /\r?\n|\r|\0/g, l = [0], r = [], s, i = -1; s = t.exec(e.buffer); )
1021
1018
  r.push(s.index), l.push(s.index + s[0].length), e.position <= s.index && i < 0 && (i = l.length - 2);
@@ -1158,8 +1155,7 @@ var ar = Ot, lr = new me("tag:yaml.org,2002:str", {
1158
1155
  ]
1159
1156
  });
1160
1157
  function ws(e) {
1161
- if (e === null)
1162
- return !0;
1158
+ if (e === null) return !0;
1163
1159
  var a = e.length;
1164
1160
  return a === 1 && e === "~" || a === 4 && (e === "null" || e === "Null" || e === "NULL");
1165
1161
  }
@@ -1194,8 +1190,7 @@ var nr = new me("tag:yaml.org,2002:null", {
1194
1190
  defaultStyle: "lowercase"
1195
1191
  });
1196
1192
  function xs(e) {
1197
- if (e === null)
1198
- return !1;
1193
+ if (e === null) return !1;
1199
1194
  var a = e.length;
1200
1195
  return a === 4 && (e === "true" || e === "True" || e === "TRUE") || a === 5 && (e === "false" || e === "False" || e === "FALSE");
1201
1196
  }
@@ -1233,19 +1228,15 @@ function Os(e) {
1233
1228
  return 48 <= e && e <= 57;
1234
1229
  }
1235
1230
  function Fs(e) {
1236
- if (e === null)
1237
- return !1;
1231
+ if (e === null) return !1;
1238
1232
  var a = e.length, t = 0, l = !1, r;
1239
- if (!a)
1240
- return !1;
1233
+ if (!a) return !1;
1241
1234
  if (r = e[t], (r === "-" || r === "+") && (r = e[++t]), r === "0") {
1242
- if (t + 1 === a)
1243
- return !0;
1235
+ if (t + 1 === a) return !0;
1244
1236
  if (r = e[++t], r === "b") {
1245
1237
  for (t++; t < a; t++)
1246
1238
  if (r = e[t], r !== "_") {
1247
- if (r !== "0" && r !== "1")
1248
- return !1;
1239
+ if (r !== "0" && r !== "1") return !1;
1249
1240
  l = !0;
1250
1241
  }
1251
1242
  return l && r !== "_";
@@ -1253,8 +1244,7 @@ function Fs(e) {
1253
1244
  if (r === "x") {
1254
1245
  for (t++; t < a; t++)
1255
1246
  if (r = e[t], r !== "_") {
1256
- if (!Ts(e.charCodeAt(t)))
1257
- return !1;
1247
+ if (!Ts(e.charCodeAt(t))) return !1;
1258
1248
  l = !0;
1259
1249
  }
1260
1250
  return l && r !== "_";
@@ -1262,15 +1252,13 @@ function Fs(e) {
1262
1252
  if (r === "o") {
1263
1253
  for (t++; t < a; t++)
1264
1254
  if (r = e[t], r !== "_") {
1265
- if (!qs(e.charCodeAt(t)))
1266
- return !1;
1255
+ if (!qs(e.charCodeAt(t))) return !1;
1267
1256
  l = !0;
1268
1257
  }
1269
1258
  return l && r !== "_";
1270
1259
  }
1271
1260
  }
1272
- if (r === "_")
1273
- return !1;
1261
+ if (r === "_") return !1;
1274
1262
  for (; t < a; t++)
1275
1263
  if (r = e[t], r !== "_") {
1276
1264
  if (!Os(e.charCodeAt(t)))
@@ -1281,15 +1269,11 @@ function Fs(e) {
1281
1269
  }
1282
1270
  function Us(e) {
1283
1271
  var a = e, t = 1, l;
1284
- if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), l = a[0], (l === "-" || l === "+") && (l === "-" && (t = -1), a = a.slice(1), l = a[0]), a === "0")
1285
- return 0;
1272
+ if (a.indexOf("_") !== -1 && (a = a.replace(/_/g, "")), l = a[0], (l === "-" || l === "+") && (l === "-" && (t = -1), a = a.slice(1), l = a[0]), a === "0") return 0;
1286
1273
  if (l === "0") {
1287
- if (a[1] === "b")
1288
- return t * parseInt(a.slice(2), 2);
1289
- if (a[1] === "x")
1290
- return t * parseInt(a.slice(2), 16);
1291
- if (a[1] === "o")
1292
- return t * parseInt(a.slice(2), 8);
1274
+ if (a[1] === "b") return t * parseInt(a.slice(2), 2);
1275
+ if (a[1] === "x") return t * parseInt(a.slice(2), 16);
1276
+ if (a[1] === "o") return t * parseInt(a.slice(2), 8);
1293
1277
  }
1294
1278
  return t * parseInt(a, 10);
1295
1279
  }
@@ -1397,8 +1381,7 @@ function Vs(e) {
1397
1381
  }
1398
1382
  function Ps(e) {
1399
1383
  var a, t, l, r, s, i, c, o = 0, d = null, h, p, g;
1400
- if (a = pr.exec(e), a === null && (a = fr.exec(e)), a === null)
1401
- throw new Error("Date resolve error");
1384
+ if (a = pr.exec(e), a === null && (a = fr.exec(e)), a === null) throw new Error("Date resolve error");
1402
1385
  if (t = +a[1], l = +a[2] - 1, r = +a[3], !a[4])
1403
1386
  return new Date(Date.UTC(t, l, r));
1404
1387
  if (s = +a[4], i = +a[5], c = +a[6], a[7]) {
@@ -1427,13 +1410,11 @@ var gr = new me("tag:yaml.org,2002:merge", {
1427
1410
  }), zt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1428
1411
  \r`;
1429
1412
  function Ds(e) {
1430
- if (e === null)
1431
- return !1;
1413
+ if (e === null) return !1;
1432
1414
  var a, t, l = 0, r = e.length, s = zt;
1433
1415
  for (t = 0; t < r; t++)
1434
1416
  if (a = s.indexOf(e.charAt(t)), !(a > 64)) {
1435
- if (a < 0)
1436
- return !1;
1417
+ if (a < 0) return !1;
1437
1418
  l += 6;
1438
1419
  }
1439
1420
  return l % 8 === 0;
@@ -1461,24 +1442,17 @@ var vr = new me("tag:yaml.org,2002:binary", {
1461
1442
  represent: Js
1462
1443
  }), Qs = Object.prototype.hasOwnProperty, Zs = Object.prototype.toString;
1463
1444
  function Ys(e) {
1464
- if (e === null)
1465
- return !0;
1445
+ if (e === null) return !0;
1466
1446
  var a = [], t, l, r, s, i, c = e;
1467
1447
  for (t = 0, l = c.length; t < l; t += 1) {
1468
- if (r = c[t], i = !1, Zs.call(r) !== "[object Object]")
1469
- return !1;
1448
+ if (r = c[t], i = !1, Zs.call(r) !== "[object Object]") return !1;
1470
1449
  for (s in r)
1471
1450
  if (Qs.call(r, s))
1472
- if (!i)
1473
- i = !0;
1474
- else
1475
- return !1;
1476
- if (!i)
1477
- return !1;
1478
- if (a.indexOf(s) === -1)
1479
- a.push(s);
1480
- else
1481
- return !1;
1451
+ if (!i) i = !0;
1452
+ else return !1;
1453
+ if (!i) return !1;
1454
+ if (a.indexOf(s) === -1) a.push(s);
1455
+ else return !1;
1482
1456
  }
1483
1457
  return !0;
1484
1458
  }
@@ -1491,19 +1465,16 @@ var yr = new me("tag:yaml.org,2002:omap", {
1491
1465
  construct: Gs
1492
1466
  }), Xs = Object.prototype.toString;
1493
1467
  function en(e) {
1494
- if (e === null)
1495
- return !0;
1468
+ if (e === null) return !0;
1496
1469
  var a, t, l, r, s, i = e;
1497
1470
  for (s = new Array(i.length), a = 0, t = i.length; a < t; a += 1) {
1498
- if (l = i[a], Xs.call(l) !== "[object Object]" || (r = Object.keys(l), r.length !== 1))
1499
- return !1;
1471
+ if (l = i[a], Xs.call(l) !== "[object Object]" || (r = Object.keys(l), r.length !== 1)) return !1;
1500
1472
  s[a] = [r[0], l[r[0]]];
1501
1473
  }
1502
1474
  return !0;
1503
1475
  }
1504
1476
  function tn(e) {
1505
- if (e === null)
1506
- return [];
1477
+ if (e === null) return [];
1507
1478
  var a, t, l, r, s, i = e;
1508
1479
  for (s = new Array(i.length), a = 0, t = i.length; a < t; a += 1)
1509
1480
  l = i[a], r = Object.keys(l), s[a] = [r[0], l[r[0]]];
@@ -1515,8 +1486,7 @@ var br = new me("tag:yaml.org,2002:pairs", {
1515
1486
  construct: tn
1516
1487
  }), an = Object.prototype.hasOwnProperty;
1517
1488
  function ln(e) {
1518
- if (e === null)
1519
- return !0;
1489
+ if (e === null) return !0;
1520
1490
  var a, t = e;
1521
1491
  for (a in t)
1522
1492
  if (an.call(t, a) && t[a] !== null)
@@ -1622,8 +1592,7 @@ function Ne(e, a, t, l) {
1622
1592
  if (c = e.input.slice(a, t), l)
1623
1593
  for (r = 0, s = c.length; r < s; r += 1)
1624
1594
  i = c.charCodeAt(r), i === 9 || 32 <= i && i <= 1114111 || L(e, "expected valid JSON character");
1625
- else
1626
- nn.test(c) && L(e, "the stream contains non-printable characters");
1595
+ else nn.test(c) && L(e, "the stream contains non-printable characters");
1627
1596
  e.result += c;
1628
1597
  }
1629
1598
  }
@@ -1717,8 +1686,7 @@ function gn(e, a) {
1717
1686
  l = e.position, e.position++, r = e.position;
1718
1687
  else
1719
1688
  return !0;
1720
- else
1721
- Ie(t) ? (Ne(e, l, r, !0), Qt(e, oe(e, !1, a)), l = r = e.position) : e.position === e.lineStart && _t(e) ? L(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1689
+ else Ie(t) ? (Ne(e, l, r, !0), Qt(e, oe(e, !1, a)), l = r = e.position) : e.position === e.lineStart && _t(e) ? L(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1722
1690
  L(e, "unexpected end of the stream within a single quoted scalar");
1723
1691
  }
1724
1692
  function vn(e, a) {
@@ -1740,8 +1708,7 @@ function vn(e, a) {
1740
1708
  } else
1741
1709
  L(e, "unknown escape sequence");
1742
1710
  t = l = e.position;
1743
- } else
1744
- Ie(c) ? (Ne(e, t, l, !0), Qt(e, oe(e, !1, a)), t = l = e.position) : e.position === e.lineStart && _t(e) ? L(e, "unexpected end of the document within a double quoted scalar") : (e.position++, l = e.position);
1711
+ } else Ie(c) ? (Ne(e, t, l, !0), Qt(e, oe(e, !1, a)), t = l = e.position) : e.position === e.lineStart && _t(e) ? L(e, "unexpected end of the document within a double quoted scalar") : (e.position++, l = e.position);
1745
1712
  }
1746
1713
  L(e, "unexpected end of the stream within a double quoted scalar");
1747
1714
  }
@@ -1809,8 +1776,7 @@ function bn(e, a) {
1809
1776
  }
1810
1777
  function Tl(e, a) {
1811
1778
  var t, l = e.tag, r = e.anchor, s = [], i, c = !1, o;
1812
- if (e.firstTabInLine !== -1)
1813
- return !1;
1779
+ if (e.firstTabInLine !== -1) return !1;
1814
1780
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), o = e.input.charCodeAt(e.position); o !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, L(e, "tab characters must not be used in indentation")), !(o !== 45 || (i = e.input.charCodeAt(e.position + 1), !be(i)))); ) {
1815
1781
  if (c = !0, e.position++, oe(e, !0, -1) && e.lineIndent <= a) {
1816
1782
  s.push(null), o = e.input.charCodeAt(e.position);
@@ -1825,8 +1791,7 @@ function Tl(e, a) {
1825
1791
  }
1826
1792
  function kn(e, a, t) {
1827
1793
  var l, r, s, i, c, o, d = e.tag, h = e.anchor, p = {}, g = /* @__PURE__ */ Object.create(null), n = null, O = null, H = null, v = !1, U = !1, $;
1828
- if (e.firstTabInLine !== -1)
1829
- return !1;
1794
+ if (e.firstTabInLine !== -1) return !1;
1830
1795
  for (e.anchor !== null && (e.anchorMap[e.anchor] = p), $ = e.input.charCodeAt(e.position); $ !== 0; ) {
1831
1796
  if (!v && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, L(e, "tab characters must not be used in indentation")), l = e.input.charCodeAt(e.position + 1), s = e.line, ($ === 63 || $ === 58) && be(l))
1832
1797
  $ === 63 ? (v && (Qe(e, p, g, n, O, null, i, c, o), n = O = H = null), U = !0, v = !0, r = !0) : v ? (v = !1, r = !0) : L(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, $ = l;
@@ -1856,8 +1821,7 @@ function kn(e, a, t) {
1856
1821
  }
1857
1822
  function Cn(e) {
1858
1823
  var a, t = !1, l = !1, r, s, i;
1859
- if (i = e.input.charCodeAt(e.position), i !== 33)
1860
- return !1;
1824
+ if (i = e.input.charCodeAt(e.position), i !== 33) return !1;
1861
1825
  if (e.tag !== null && L(e, "duplication of a tag property"), i = e.input.charCodeAt(++e.position), i === 60 ? (t = !0, i = e.input.charCodeAt(++e.position)) : i === 33 ? (l = !0, r = "!!", i = e.input.charCodeAt(++e.position)) : r = "!", a = e.position, t) {
1862
1826
  do
1863
1827
  i = e.input.charCodeAt(++e.position);
@@ -1878,16 +1842,14 @@ function Cn(e) {
1878
1842
  }
1879
1843
  function _n(e) {
1880
1844
  var a, t;
1881
- if (t = e.input.charCodeAt(e.position), t !== 38)
1882
- return !1;
1845
+ if (t = e.input.charCodeAt(e.position), t !== 38) return !1;
1883
1846
  for (e.anchor !== null && L(e, "duplication of an anchor property"), t = e.input.charCodeAt(++e.position), a = e.position; t !== 0 && !be(t) && !We(t); )
1884
1847
  t = e.input.charCodeAt(++e.position);
1885
1848
  return e.position === a && L(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(a, e.position), !0;
1886
1849
  }
1887
1850
  function wn(e) {
1888
1851
  var a, t, l;
1889
- if (l = e.input.charCodeAt(e.position), l !== 42)
1890
- return !1;
1852
+ if (l = e.input.charCodeAt(e.position), l !== 42) return !1;
1891
1853
  for (l = e.input.charCodeAt(++e.position), a = e.position; l !== 0 && !be(l) && !We(l); )
1892
1854
  l = e.input.charCodeAt(++e.position);
1893
1855
  return e.position === a && L(e, "name of an alias node must contain at least one character"), t = e.input.slice(a, e.position), Me.call(e.anchorMap, t) || L(e, 'unidentified alias "' + t + '"'), e.result = e.anchorMap[t], oe(e, !0, -1), !0;
@@ -1932,8 +1894,7 @@ function Sn(e) {
1932
1894
  while (i !== 0 && !Ie(i));
1933
1895
  break;
1934
1896
  }
1935
- if (Ie(i))
1936
- break;
1897
+ if (Ie(i)) break;
1937
1898
  for (t = e.position; i !== 0 && !be(i); )
1938
1899
  i = e.input.charCodeAt(++e.position);
1939
1900
  r.push(e.input.slice(t, e.position));
@@ -2014,8 +1975,7 @@ var Dn = [
2014
1975
  ], zn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2015
1976
  function Jn(e, a) {
2016
1977
  var t, l, r, s, i, c, o;
2017
- if (a === null)
2018
- return {};
1978
+ if (a === null) return {};
2019
1979
  for (t = {}, l = Object.keys(a), r = 0, s = l.length; r < s; r += 1)
2020
1980
  i = l[r], c = String(a[i]), i.slice(0, 2) === "!!" && (i = "tag:yaml.org,2002:" + i.slice(2)), o = e.compiledTypeMap.fallback[i], o && Or.call(o.styleAliases, c) && (c = o.styleAliases[c]), t[i] = c;
2021
1981
  return t;
@@ -2170,8 +2130,7 @@ function ao(e, a) {
2170
2130
  return l;
2171
2131
  }
2172
2132
  function Nl(e, a) {
2173
- if (e === "" || e[0] === " ")
2174
- return e;
2133
+ if (e === "" || e[0] === " ") return e;
2175
2134
  for (var t = / [^ ]/g, l, r = 0, s, i = 0, c = 0, o = ""; l = t.exec(e); )
2176
2135
  c = l.index, c - r > a && (s = i > r ? i : c, o += `
2177
2136
  ` + e.slice(r, s), r = s + 1), i = c;
@@ -2246,8 +2205,7 @@ function Oe(e, a, t, l, r, s, i) {
2246
2205
  else if (c === "[object String]")
2247
2206
  e.tag !== "?" && to(e, e.dump, a, s, o);
2248
2207
  else {
2249
- if (c === "[object Undefined]" || e.skipInvalid)
2250
- return !1;
2208
+ if (c === "[object Undefined]" || e.skipInvalid) return !1;
2251
2209
  throw new ye("unacceptable kind of an object to dump " + c);
2252
2210
  }
2253
2211
  e.tag !== null && e.tag !== "?" && (d = encodeURI(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-upstreams-targets",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-upstreams-targets.umd.js",
6
6
  "module": "./dist/entities-upstreams-targets.es.js",
@@ -24,15 +24,15 @@
24
24
  "@kong/kongponents": "^9.0.8",
25
25
  "axios": "^1.6.8",
26
26
  "vue": ">= 3.3.13 < 4",
27
- "vue-router": "^4.3.2",
27
+ "vue-router": "^4.3.3",
28
28
  "@kong-ui-public/i18n": "^2.2.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@kong/design-tokens": "1.15.1",
32
32
  "@kong/kongponents": "9.0.8",
33
33
  "axios": "^1.6.8",
34
- "vue": "^3.4.27",
35
- "vue-router": "^4.3.2",
34
+ "vue": "^3.4.31",
35
+ "vue-router": "^4.4.0",
36
36
  "@kong-ui-public/i18n": "^2.2.2"
37
37
  },
38
38
  "repository": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@kong/icons": "^1.14.2",
54
- "@kong-ui-public/entities-shared": "^3.4.3"
54
+ "@kong-ui-public/entities-shared": "^3.4.5"
55
55
  },
56
56
  "scripts": {
57
57
  "dev": "cross-env USE_SANDBOX=true vite",