@kong-ui-public/entities-keys 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.
@@ -469,13 +469,11 @@ function st() {
469
469
  }
470
470
  function cn() {
471
471
  const e = (n, i) => (i == null ? void 0 : i[n]) ?? void 0, t = (n, i) => {
472
- if (n.length !== i.length)
473
- return !1;
472
+ if (n.length !== i.length) return !1;
474
473
  const a = /* @__PURE__ */ new Set([...n, ...i]);
475
474
  for (const r of a) {
476
475
  const o = n.filter((c) => c === r).length, l = i.filter((c) => c === r).length;
477
- if (o !== l)
478
- return !1;
476
+ if (o !== l) return !1;
479
477
  }
480
478
  return !0;
481
479
  };
@@ -1281,8 +1279,7 @@ function pt(e, t) {
1281
1279
  return ie.repeat(" ", t - e.length) + e;
1282
1280
  }
1283
1281
  function Ma(e, t) {
1284
- if (t = Object.create(t || null), !e.buffer)
1285
- return null;
1282
+ if (t = Object.create(t || null), !e.buffer) return null;
1286
1283
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1287
1284
  for (var n = /\r?\n|\r|\0/g, i = [0], a = [], r, o = -1; r = n.exec(e.buffer); )
1288
1285
  a.push(r.index), i.push(r.index + r[0].length), e.position <= r.index && o < 0 && (o = i.length - 2);
@@ -1425,8 +1422,7 @@ var vn = mt, kn = new oe("tag:yaml.org,2002:str", {
1425
1422
  ]
1426
1423
  });
1427
1424
  function Va(e) {
1428
- if (e === null)
1429
- return !0;
1425
+ if (e === null) return !0;
1430
1426
  var t = e.length;
1431
1427
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1432
1428
  }
@@ -1461,8 +1457,7 @@ var Sn = new oe("tag:yaml.org,2002:null", {
1461
1457
  defaultStyle: "lowercase"
1462
1458
  });
1463
1459
  function Pa(e) {
1464
- if (e === null)
1465
- return !1;
1460
+ if (e === null) return !1;
1466
1461
  var t = e.length;
1467
1462
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1468
1463
  }
@@ -1500,19 +1495,15 @@ function Ya(e) {
1500
1495
  return 48 <= e && e <= 57;
1501
1496
  }
1502
1497
  function Za(e) {
1503
- if (e === null)
1504
- return !1;
1498
+ if (e === null) return !1;
1505
1499
  var t = e.length, n = 0, i = !1, a;
1506
- if (!t)
1507
- return !1;
1500
+ if (!t) return !1;
1508
1501
  if (a = e[n], (a === "-" || a === "+") && (a = e[++n]), a === "0") {
1509
- if (n + 1 === t)
1510
- return !0;
1502
+ if (n + 1 === t) return !0;
1511
1503
  if (a = e[++n], a === "b") {
1512
1504
  for (n++; n < t; n++)
1513
1505
  if (a = e[n], a !== "_") {
1514
- if (a !== "0" && a !== "1")
1515
- return !1;
1506
+ if (a !== "0" && a !== "1") return !1;
1516
1507
  i = !0;
1517
1508
  }
1518
1509
  return i && a !== "_";
@@ -1520,8 +1511,7 @@ function Za(e) {
1520
1511
  if (a === "x") {
1521
1512
  for (n++; n < t; n++)
1522
1513
  if (a = e[n], a !== "_") {
1523
- if (!Ha(e.charCodeAt(n)))
1524
- return !1;
1514
+ if (!Ha(e.charCodeAt(n))) return !1;
1525
1515
  i = !0;
1526
1516
  }
1527
1517
  return i && a !== "_";
@@ -1529,15 +1519,13 @@ function Za(e) {
1529
1519
  if (a === "o") {
1530
1520
  for (n++; n < t; n++)
1531
1521
  if (a = e[n], a !== "_") {
1532
- if (!Wa(e.charCodeAt(n)))
1533
- return !1;
1522
+ if (!Wa(e.charCodeAt(n))) return !1;
1534
1523
  i = !0;
1535
1524
  }
1536
1525
  return i && a !== "_";
1537
1526
  }
1538
1527
  }
1539
- if (a === "_")
1540
- return !1;
1528
+ if (a === "_") return !1;
1541
1529
  for (; n < t; n++)
1542
1530
  if (a = e[n], a !== "_") {
1543
1531
  if (!Ya(e.charCodeAt(n)))
@@ -1548,15 +1536,11 @@ function Za(e) {
1548
1536
  }
1549
1537
  function Ga(e) {
1550
1538
  var t = e, n = 1, i;
1551
- if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0")
1552
- return 0;
1539
+ if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), i = t[0], (i === "-" || i === "+") && (i === "-" && (n = -1), t = t.slice(1), i = t[0]), t === "0") return 0;
1553
1540
  if (i === "0") {
1554
- if (t[1] === "b")
1555
- return n * parseInt(t.slice(2), 2);
1556
- if (t[1] === "x")
1557
- return n * parseInt(t.slice(2), 16);
1558
- if (t[1] === "o")
1559
- return n * parseInt(t.slice(2), 8);
1541
+ if (t[1] === "b") return n * parseInt(t.slice(2), 2);
1542
+ if (t[1] === "x") return n * parseInt(t.slice(2), 16);
1543
+ if (t[1] === "o") return n * parseInt(t.slice(2), 8);
1560
1544
  }
1561
1545
  return n * parseInt(t, 10);
1562
1546
  }
@@ -1664,8 +1648,7 @@ function rr(e) {
1664
1648
  }
1665
1649
  function or(e) {
1666
1650
  var t, n, i, a, r, o, l, c = 0, u = null, s, d, v;
1667
- if (t = $n.exec(e), t === null && (t = Nn.exec(e)), t === null)
1668
- throw new Error("Date resolve error");
1651
+ if (t = $n.exec(e), t === null && (t = Nn.exec(e)), t === null) throw new Error("Date resolve error");
1669
1652
  if (n = +t[1], i = +t[2] - 1, a = +t[3], !t[4])
1670
1653
  return new Date(Date.UTC(n, i, a));
1671
1654
  if (r = +t[4], o = +t[5], l = +t[6], t[7]) {
@@ -1694,13 +1677,11 @@ var On = new oe("tag:yaml.org,2002:merge", {
1694
1677
  }), _t = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1695
1678
  \r`;
1696
1679
  function cr(e) {
1697
- if (e === null)
1698
- return !1;
1680
+ if (e === null) return !1;
1699
1681
  var t, n, i = 0, a = e.length, r = _t;
1700
1682
  for (n = 0; n < a; n++)
1701
1683
  if (t = r.indexOf(e.charAt(n)), !(t > 64)) {
1702
- if (t < 0)
1703
- return !1;
1684
+ if (t < 0) return !1;
1704
1685
  i += 6;
1705
1686
  }
1706
1687
  return i % 8 === 0;
@@ -1728,24 +1709,17 @@ var Kn = new oe("tag:yaml.org,2002:binary", {
1728
1709
  represent: dr
1729
1710
  }), fr = Object.prototype.hasOwnProperty, yr = Object.prototype.toString;
1730
1711
  function mr(e) {
1731
- if (e === null)
1732
- return !0;
1712
+ if (e === null) return !0;
1733
1713
  var t = [], n, i, a, r, o, l = e;
1734
1714
  for (n = 0, i = l.length; n < i; n += 1) {
1735
- if (a = l[n], o = !1, yr.call(a) !== "[object Object]")
1736
- return !1;
1715
+ if (a = l[n], o = !1, yr.call(a) !== "[object Object]") return !1;
1737
1716
  for (r in a)
1738
1717
  if (fr.call(a, r))
1739
- if (!o)
1740
- o = !0;
1741
- else
1742
- return !1;
1743
- if (!o)
1744
- return !1;
1745
- if (t.indexOf(r) === -1)
1746
- t.push(r);
1747
- else
1748
- return !1;
1718
+ if (!o) o = !0;
1719
+ else return !1;
1720
+ if (!o) return !1;
1721
+ if (t.indexOf(r) === -1) t.push(r);
1722
+ else return !1;
1749
1723
  }
1750
1724
  return !0;
1751
1725
  }
@@ -1758,19 +1732,16 @@ var Mn = new oe("tag:yaml.org,2002:omap", {
1758
1732
  construct: gr
1759
1733
  }), hr = Object.prototype.toString;
1760
1734
  function vr(e) {
1761
- if (e === null)
1762
- return !0;
1735
+ if (e === null) return !0;
1763
1736
  var t, n, i, a, r, o = e;
1764
1737
  for (r = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
1765
- if (i = o[t], hr.call(i) !== "[object Object]" || (a = Object.keys(i), a.length !== 1))
1766
- return !1;
1738
+ if (i = o[t], hr.call(i) !== "[object Object]" || (a = Object.keys(i), a.length !== 1)) return !1;
1767
1739
  r[t] = [a[0], i[a[0]]];
1768
1740
  }
1769
1741
  return !0;
1770
1742
  }
1771
1743
  function kr(e) {
1772
- if (e === null)
1773
- return [];
1744
+ if (e === null) return [];
1774
1745
  var t, n, i, a, r, o = e;
1775
1746
  for (r = new Array(o.length), t = 0, n = o.length; t < n; t += 1)
1776
1747
  i = o[t], a = Object.keys(i), r[t] = [a[0], i[a[0]]];
@@ -1782,8 +1753,7 @@ var Fn = new oe("tag:yaml.org,2002:pairs", {
1782
1753
  construct: kr
1783
1754
  }), br = Object.prototype.hasOwnProperty;
1784
1755
  function Cr(e) {
1785
- if (e === null)
1786
- return !0;
1756
+ if (e === null) return !0;
1787
1757
  var t, n = e;
1788
1758
  for (t in n)
1789
1759
  if (br.call(n, t) && n[t] !== null)
@@ -1889,8 +1859,7 @@ function je(e, t, n, i) {
1889
1859
  if (l = e.input.slice(t, n), i)
1890
1860
  for (a = 0, r = l.length; a < r; a += 1)
1891
1861
  o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || T(e, "expected valid JSON character");
1892
- else
1893
- _r.test(l) && T(e, "the stream contains non-printable characters");
1862
+ else _r.test(l) && T(e, "the stream contains non-printable characters");
1894
1863
  e.result += l;
1895
1864
  }
1896
1865
  }
@@ -1984,8 +1953,7 @@ function Kr(e, t) {
1984
1953
  i = e.position, e.position++, a = e.position;
1985
1954
  else
1986
1955
  return !0;
1987
- else
1988
- ke(n) ? (je(e, i, a, !0), At(e, ne(e, !1, t)), i = a = e.position) : e.position === e.lineStart && ct(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1956
+ else ke(n) ? (je(e, i, a, !0), At(e, ne(e, !1, t)), i = a = e.position) : e.position === e.lineStart && ct(e) ? T(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1989
1957
  T(e, "unexpected end of the stream within a single quoted scalar");
1990
1958
  }
1991
1959
  function Mr(e, t) {
@@ -2007,8 +1975,7 @@ function Mr(e, t) {
2007
1975
  } else
2008
1976
  T(e, "unknown escape sequence");
2009
1977
  n = i = e.position;
2010
- } else
2011
- ke(l) ? (je(e, n, i, !0), At(e, ne(e, !1, t)), n = i = e.position) : e.position === e.lineStart && ct(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1978
+ } else ke(l) ? (je(e, n, i, !0), At(e, ne(e, !1, t)), n = i = e.position) : e.position === e.lineStart && ct(e) ? T(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
2012
1979
  }
2013
1980
  T(e, "unexpected end of the stream within a double quoted scalar");
2014
1981
  }
@@ -2076,8 +2043,7 @@ function qr(e, t) {
2076
2043
  }
2077
2044
  function Jt(e, t) {
2078
2045
  var n, i = e.tag, a = e.anchor, r = [], o, l = !1, c;
2079
- if (e.firstTabInLine !== -1)
2080
- return !1;
2046
+ if (e.firstTabInLine !== -1) return !1;
2081
2047
  for (e.anchor !== null && (e.anchorMap[e.anchor] = r), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !pe(o)))); ) {
2082
2048
  if (l = !0, e.position++, ne(e, !0, -1) && e.lineIndent <= t) {
2083
2049
  r.push(null), c = e.input.charCodeAt(e.position);
@@ -2092,8 +2058,7 @@ function Jt(e, t) {
2092
2058
  }
2093
2059
  function Er(e, t, n) {
2094
2060
  var i, a, r, o, l, c, u = e.tag, s = e.anchor, d = {}, v = /* @__PURE__ */ Object.create(null), y = null, I = null, N = null, _ = !1, B = !1, g;
2095
- if (e.firstTabInLine !== -1)
2096
- return !1;
2061
+ if (e.firstTabInLine !== -1) return !1;
2097
2062
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), g = e.input.charCodeAt(e.position); g !== 0; ) {
2098
2063
  if (!_ && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, T(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), r = e.line, (g === 63 || g === 58) && pe(i))
2099
2064
  g === 63 ? (_ && (Ue(e, d, v, y, I, null, o, l, c), y = I = N = null), B = !0, _ = !0, a = !0) : _ ? (_ = !1, a = !0) : T(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, g = i;
@@ -2123,8 +2088,7 @@ function Er(e, t, n) {
2123
2088
  }
2124
2089
  function Br(e) {
2125
2090
  var t, n = !1, i = !1, a, r, o;
2126
- if (o = e.input.charCodeAt(e.position), o !== 33)
2127
- return !1;
2091
+ if (o = e.input.charCodeAt(e.position), o !== 33) return !1;
2128
2092
  if (e.tag !== null && T(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (i = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2129
2093
  do
2130
2094
  o = e.input.charCodeAt(++e.position);
@@ -2145,16 +2109,14 @@ function Br(e) {
2145
2109
  }
2146
2110
  function Lr(e) {
2147
2111
  var t, n;
2148
- if (n = e.input.charCodeAt(e.position), n !== 38)
2149
- return !1;
2112
+ if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
2150
2113
  for (e.anchor !== null && T(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !pe(n) && !Le(n); )
2151
2114
  n = e.input.charCodeAt(++e.position);
2152
2115
  return e.position === t && T(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2153
2116
  }
2154
2117
  function Ur(e) {
2155
2118
  var t, n, i;
2156
- if (i = e.input.charCodeAt(e.position), i !== 42)
2157
- return !1;
2119
+ if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
2158
2120
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !pe(i) && !Le(i); )
2159
2121
  i = e.input.charCodeAt(++e.position);
2160
2122
  return e.position === t && T(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Ne.call(e.anchorMap, n) || T(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], ne(e, !0, -1), !0;
@@ -2199,8 +2161,7 @@ function Vr(e) {
2199
2161
  while (o !== 0 && !ke(o));
2200
2162
  break;
2201
2163
  }
2202
- if (ke(o))
2203
- break;
2164
+ if (ke(o)) break;
2204
2165
  for (n = e.position; o !== 0 && !pe(o); )
2205
2166
  o = e.input.charCodeAt(++e.position);
2206
2167
  a.push(e.input.slice(n, e.position));
@@ -2281,8 +2242,7 @@ var so = [
2281
2242
  ], co = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2282
2243
  function uo(e, t) {
2283
2244
  var n, i, a, r, o, l, c;
2284
- if (t === null)
2285
- return {};
2245
+ if (t === null) return {};
2286
2246
  for (n = {}, i = Object.keys(t), a = 0, r = i.length; a < r; a += 1)
2287
2247
  o = i[a], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && Hn.call(c.styleAliases, l) && (l = c.styleAliases[l]), n[o] = l;
2288
2248
  return n;
@@ -2437,8 +2397,7 @@ function bo(e, t) {
2437
2397
  return i;
2438
2398
  }
2439
2399
  function Qt(e, t) {
2440
- if (e === "" || e[0] === " ")
2441
- return e;
2400
+ if (e === "" || e[0] === " ") return e;
2442
2401
  for (var n = / [^ ]/g, i, a = 0, r, o = 0, l = 0, c = ""; i = n.exec(e); )
2443
2402
  l = i.index, l - a > t && (r = o > a ? o : l, c += `
2444
2403
  ` + e.slice(a, r), a = r + 1), o = l;
@@ -2513,8 +2472,7 @@ function we(e, t, n, i, a, r, o) {
2513
2472
  else if (l === "[object String]")
2514
2473
  e.tag !== "?" && ko(e, e.dump, t, r, c);
2515
2474
  else {
2516
- if (l === "[object Undefined]" || e.skipInvalid)
2517
- return !1;
2475
+ if (l === "[object Undefined]" || e.skipInvalid) return !1;
2518
2476
  throw new ce("unacceptable kind of an object to dump " + l);
2519
2477
  }
2520
2478
  e.tag !== null && e.tag !== "?" && (u = encodeURI(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-keys",
3
- "version": "3.3.3",
3
+ "version": "3.3.5",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-keys.umd.js",
6
6
  "module": "./dist/entities-keys.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",