@kong-ui-public/entities-key-sets 3.3.3 → 3.3.4

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.
@@ -396,13 +396,11 @@ function Qe() {
396
396
  }
397
397
  function rn() {
398
398
  const e = (n, i) => (i == null ? void 0 : i[n]) ?? void 0, t = (n, i) => {
399
- if (n.length !== i.length)
400
- return !1;
399
+ if (n.length !== i.length) return !1;
401
400
  const a = /* @__PURE__ */ new Set([...n, ...i]);
402
401
  for (const o of a) {
403
402
  const r = n.filter((s) => s === o).length, l = i.filter((s) => s === o).length;
404
- if (r !== l)
405
- return !1;
403
+ if (r !== l) return !1;
406
404
  }
407
405
  return !0;
408
406
  };
@@ -1208,8 +1206,7 @@ function rt(e, t) {
1208
1206
  return Q.repeat(" ", t - e.length) + e;
1209
1207
  }
1210
1208
  function Mi(e, t) {
1211
- if (t = Object.create(t || null), !e.buffer)
1212
- return null;
1209
+ if (t = Object.create(t || null), !e.buffer) return null;
1213
1210
  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);
1214
1211
  for (var n = /\r?\n|\r|\0/g, i = [0], a = [], o, r = -1; o = n.exec(e.buffer); )
1215
1212
  a.push(o.index), i.push(o.index + o[0].length), e.position <= o.index && r < 0 && (r = i.length - 2);
@@ -1352,8 +1349,7 @@ var gn = ct, yn = new ne("tag:yaml.org,2002:str", {
1352
1349
  ]
1353
1350
  });
1354
1351
  function Ui(e) {
1355
- if (e === null)
1356
- return !0;
1352
+ if (e === null) return !0;
1357
1353
  var t = e.length;
1358
1354
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1359
1355
  }
@@ -1388,8 +1384,7 @@ var bn = new ne("tag:yaml.org,2002:null", {
1388
1384
  defaultStyle: "lowercase"
1389
1385
  });
1390
1386
  function Di(e) {
1391
- if (e === null)
1392
- return !1;
1387
+ if (e === null) return !1;
1393
1388
  var t = e.length;
1394
1389
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1395
1390
  }
@@ -1427,19 +1422,15 @@ function Wi(e) {
1427
1422
  return 48 <= e && e <= 57;
1428
1423
  }
1429
1424
  function Yi(e) {
1430
- if (e === null)
1431
- return !1;
1425
+ if (e === null) return !1;
1432
1426
  var t = e.length, n = 0, i = !1, a;
1433
- if (!t)
1434
- return !1;
1427
+ if (!t) return !1;
1435
1428
  if (a = e[n], (a === "-" || a === "+") && (a = e[++n]), a === "0") {
1436
- if (n + 1 === t)
1437
- return !0;
1429
+ if (n + 1 === t) return !0;
1438
1430
  if (a = e[++n], a === "b") {
1439
1431
  for (n++; n < t; n++)
1440
1432
  if (a = e[n], a !== "_") {
1441
- if (a !== "0" && a !== "1")
1442
- return !1;
1433
+ if (a !== "0" && a !== "1") return !1;
1443
1434
  i = !0;
1444
1435
  }
1445
1436
  return i && a !== "_";
@@ -1447,8 +1438,7 @@ function Yi(e) {
1447
1438
  if (a === "x") {
1448
1439
  for (n++; n < t; n++)
1449
1440
  if (a = e[n], a !== "_") {
1450
- if (!Hi(e.charCodeAt(n)))
1451
- return !1;
1441
+ if (!Hi(e.charCodeAt(n))) return !1;
1452
1442
  i = !0;
1453
1443
  }
1454
1444
  return i && a !== "_";
@@ -1456,15 +1446,13 @@ function Yi(e) {
1456
1446
  if (a === "o") {
1457
1447
  for (n++; n < t; n++)
1458
1448
  if (a = e[n], a !== "_") {
1459
- if (!Ji(e.charCodeAt(n)))
1460
- return !1;
1449
+ if (!Ji(e.charCodeAt(n))) return !1;
1461
1450
  i = !0;
1462
1451
  }
1463
1452
  return i && a !== "_";
1464
1453
  }
1465
1454
  }
1466
- if (a === "_")
1467
- return !1;
1455
+ if (a === "_") return !1;
1468
1456
  for (; n < t; n++)
1469
1457
  if (a = e[n], a !== "_") {
1470
1458
  if (!Wi(e.charCodeAt(n)))
@@ -1475,15 +1463,11 @@ function Yi(e) {
1475
1463
  }
1476
1464
  function Zi(e) {
1477
1465
  var t = e, n = 1, i;
1478
- 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")
1479
- return 0;
1466
+ 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;
1480
1467
  if (i === "0") {
1481
- if (t[1] === "b")
1482
- return n * parseInt(t.slice(2), 2);
1483
- if (t[1] === "x")
1484
- return n * parseInt(t.slice(2), 16);
1485
- if (t[1] === "o")
1486
- return n * parseInt(t.slice(2), 8);
1468
+ if (t[1] === "b") return n * parseInt(t.slice(2), 2);
1469
+ if (t[1] === "x") return n * parseInt(t.slice(2), 16);
1470
+ if (t[1] === "o") return n * parseInt(t.slice(2), 8);
1487
1471
  }
1488
1472
  return n * parseInt(t, 10);
1489
1473
  }
@@ -1591,8 +1575,7 @@ function ir(e) {
1591
1575
  }
1592
1576
  function rr(e) {
1593
1577
  var t, n, i, a, o, r, l, s = 0, c = null, d, u, m;
1594
- if (t = An.exec(e), t === null && (t = In.exec(e)), t === null)
1595
- throw new Error("Date resolve error");
1578
+ if (t = An.exec(e), t === null && (t = In.exec(e)), t === null) throw new Error("Date resolve error");
1596
1579
  if (n = +t[1], i = +t[2] - 1, a = +t[3], !t[4])
1597
1580
  return new Date(Date.UTC(n, i, a));
1598
1581
  if (o = +t[4], r = +t[5], l = +t[6], t[7]) {
@@ -1621,13 +1604,11 @@ var Nn = new ne("tag:yaml.org,2002:merge", {
1621
1604
  }), bt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1622
1605
  \r`;
1623
1606
  function sr(e) {
1624
- if (e === null)
1625
- return !1;
1607
+ if (e === null) return !1;
1626
1608
  var t, n, i = 0, a = e.length, o = bt;
1627
1609
  for (n = 0; n < a; n++)
1628
1610
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1629
- if (t < 0)
1630
- return !1;
1611
+ if (t < 0) return !1;
1631
1612
  i += 6;
1632
1613
  }
1633
1614
  return i % 8 === 0;
@@ -1655,24 +1636,17 @@ var jn = new ne("tag:yaml.org,2002:binary", {
1655
1636
  represent: ur
1656
1637
  }), pr = Object.prototype.hasOwnProperty, fr = Object.prototype.toString;
1657
1638
  function gr(e) {
1658
- if (e === null)
1659
- return !0;
1639
+ if (e === null) return !0;
1660
1640
  var t = [], n, i, a, o, r, l = e;
1661
1641
  for (n = 0, i = l.length; n < i; n += 1) {
1662
- if (a = l[n], r = !1, fr.call(a) !== "[object Object]")
1663
- return !1;
1642
+ if (a = l[n], r = !1, fr.call(a) !== "[object Object]") return !1;
1664
1643
  for (o in a)
1665
1644
  if (pr.call(a, o))
1666
- if (!r)
1667
- r = !0;
1668
- else
1669
- return !1;
1670
- if (!r)
1671
- return !1;
1672
- if (t.indexOf(o) === -1)
1673
- t.push(o);
1674
- else
1675
- return !1;
1645
+ if (!r) r = !0;
1646
+ else return !1;
1647
+ if (!r) return !1;
1648
+ if (t.indexOf(o) === -1) t.push(o);
1649
+ else return !1;
1676
1650
  }
1677
1651
  return !0;
1678
1652
  }
@@ -1685,19 +1659,16 @@ var $n = new ne("tag:yaml.org,2002:omap", {
1685
1659
  construct: yr
1686
1660
  }), mr = Object.prototype.toString;
1687
1661
  function hr(e) {
1688
- if (e === null)
1689
- return !0;
1662
+ if (e === null) return !0;
1690
1663
  var t, n, i, a, o, r = e;
1691
1664
  for (o = new Array(r.length), t = 0, n = r.length; t < n; t += 1) {
1692
- if (i = r[t], mr.call(i) !== "[object Object]" || (a = Object.keys(i), a.length !== 1))
1693
- return !1;
1665
+ if (i = r[t], mr.call(i) !== "[object Object]" || (a = Object.keys(i), a.length !== 1)) return !1;
1694
1666
  o[t] = [a[0], i[a[0]]];
1695
1667
  }
1696
1668
  return !0;
1697
1669
  }
1698
1670
  function vr(e) {
1699
- if (e === null)
1700
- return [];
1671
+ if (e === null) return [];
1701
1672
  var t, n, i, a, o, r = e;
1702
1673
  for (o = new Array(r.length), t = 0, n = r.length; t < n; t += 1)
1703
1674
  i = r[t], a = Object.keys(i), o[t] = [a[0], i[a[0]]];
@@ -1709,8 +1680,7 @@ var Tn = new ne("tag:yaml.org,2002:pairs", {
1709
1680
  construct: vr
1710
1681
  }), br = Object.prototype.hasOwnProperty;
1711
1682
  function kr(e) {
1712
- if (e === null)
1713
- return !0;
1683
+ if (e === null) return !0;
1714
1684
  var t, n = e;
1715
1685
  for (t in n)
1716
1686
  if (br.call(n, t) && n[t] !== null)
@@ -1816,8 +1786,7 @@ function ke(e, t, n, i) {
1816
1786
  if (l = e.input.slice(t, n), i)
1817
1787
  for (a = 0, o = l.length; a < o; a += 1)
1818
1788
  r = l.charCodeAt(a), r === 9 || 32 <= r && r <= 1114111 || I(e, "expected valid JSON character");
1819
- else
1820
- Sr.test(l) && I(e, "the stream contains non-printable characters");
1789
+ else Sr.test(l) && I(e, "the stream contains non-printable characters");
1821
1790
  e.result += l;
1822
1791
  }
1823
1792
  }
@@ -1911,8 +1880,7 @@ function Or(e, t) {
1911
1880
  i = e.position, e.position++, a = e.position;
1912
1881
  else
1913
1882
  return !0;
1914
- else
1915
- fe(n) ? (ke(e, i, a, !0), wt(e, G(e, !1, t)), i = a = e.position) : e.position === e.lineStart && Xe(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1883
+ else fe(n) ? (ke(e, i, a, !0), wt(e, G(e, !1, t)), i = a = e.position) : e.position === e.lineStart && Xe(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1916
1884
  I(e, "unexpected end of the stream within a single quoted scalar");
1917
1885
  }
1918
1886
  function Mr(e, t) {
@@ -1934,8 +1902,7 @@ function Mr(e, t) {
1934
1902
  } else
1935
1903
  I(e, "unknown escape sequence");
1936
1904
  n = i = e.position;
1937
- } else
1938
- fe(l) ? (ke(e, n, i, !0), wt(e, G(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Xe(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1905
+ } else fe(l) ? (ke(e, n, i, !0), wt(e, G(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Xe(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1939
1906
  }
1940
1907
  I(e, "unexpected end of the stream within a double quoted scalar");
1941
1908
  }
@@ -2003,8 +1970,7 @@ function qr(e, t) {
2003
1970
  }
2004
1971
  function Dt(e, t) {
2005
1972
  var n, i = e.tag, a = e.anchor, o = [], r, l = !1, s;
2006
- if (e.firstTabInLine !== -1)
2007
- return !1;
1973
+ if (e.firstTabInLine !== -1) return !1;
2008
1974
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), !(s !== 45 || (r = e.input.charCodeAt(e.position + 1), !re(r)))); ) {
2009
1975
  if (l = !0, e.position++, G(e, !0, -1) && e.lineIndent <= t) {
2010
1976
  o.push(null), s = e.input.charCodeAt(e.position);
@@ -2019,8 +1985,7 @@ function Dt(e, t) {
2019
1985
  }
2020
1986
  function Er(e, t, n) {
2021
1987
  var i, a, o, r, l, s, c = e.tag, d = e.anchor, u = {}, m = /* @__PURE__ */ Object.create(null), g = null, C = null, A = null, k = !1, q = !1, S;
2022
- if (e.firstTabInLine !== -1)
2023
- return !1;
1988
+ if (e.firstTabInLine !== -1) return !1;
2024
1989
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), S = e.input.charCodeAt(e.position); S !== 0; ) {
2025
1990
  if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (S === 63 || S === 58) && re(i))
2026
1991
  S === 63 ? (k && ($e(e, u, m, g, C, null, r, l, s), g = C = A = null), q = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, S = i;
@@ -2050,8 +2015,7 @@ function Er(e, t, n) {
2050
2015
  }
2051
2016
  function Kr(e) {
2052
2017
  var t, n = !1, i = !1, a, o, r;
2053
- if (r = e.input.charCodeAt(e.position), r !== 33)
2054
- return !1;
2018
+ if (r = e.input.charCodeAt(e.position), r !== 33) return !1;
2055
2019
  if (e.tag !== null && I(e, "duplication of a tag property"), r = e.input.charCodeAt(++e.position), r === 60 ? (n = !0, r = e.input.charCodeAt(++e.position)) : r === 33 ? (i = !0, a = "!!", r = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2056
2020
  do
2057
2021
  r = e.input.charCodeAt(++e.position);
@@ -2072,16 +2036,14 @@ function Kr(e) {
2072
2036
  }
2073
2037
  function Br(e) {
2074
2038
  var t, n;
2075
- if (n = e.input.charCodeAt(e.position), n !== 38)
2076
- return !1;
2039
+ if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
2077
2040
  for (e.anchor !== null && I(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !re(n) && !je(n); )
2078
2041
  n = e.input.charCodeAt(++e.position);
2079
2042
  return e.position === t && I(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2080
2043
  }
2081
2044
  function Lr(e) {
2082
2045
  var t, n, i;
2083
- if (i = e.input.charCodeAt(e.position), i !== 42)
2084
- return !1;
2046
+ if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
2085
2047
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !re(i) && !je(i); )
2086
2048
  i = e.input.charCodeAt(++e.position);
2087
2049
  return e.position === t && I(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), we.call(e.anchorMap, n) || I(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], G(e, !0, -1), !0;
@@ -2126,8 +2088,7 @@ function Ur(e) {
2126
2088
  while (r !== 0 && !fe(r));
2127
2089
  break;
2128
2090
  }
2129
- if (fe(r))
2130
- break;
2091
+ if (fe(r)) break;
2131
2092
  for (n = e.position; r !== 0 && !re(r); )
2132
2093
  r = e.input.charCodeAt(++e.position);
2133
2094
  a.push(e.input.slice(n, e.position));
@@ -2208,8 +2169,7 @@ var lo = [
2208
2169
  ], so = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2209
2170
  function co(e, t) {
2210
2171
  var n, i, a, o, r, l, s;
2211
- if (t === null)
2212
- return {};
2172
+ if (t === null) return {};
2213
2173
  for (n = {}, i = Object.keys(t), a = 0, o = i.length; a < o; a += 1)
2214
2174
  r = i[a], l = String(t[r]), r.slice(0, 2) === "!!" && (r = "tag:yaml.org,2002:" + r.slice(2)), s = e.compiledTypeMap.fallback[r], s && Dn.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[r] = l;
2215
2175
  return n;
@@ -2364,8 +2324,7 @@ function bo(e, t) {
2364
2324
  return i;
2365
2325
  }
2366
2326
  function Yt(e, t) {
2367
- if (e === "" || e[0] === " ")
2368
- return e;
2327
+ if (e === "" || e[0] === " ") return e;
2369
2328
  for (var n = / [^ ]/g, i, a = 0, o, r = 0, l = 0, s = ""; i = n.exec(e); )
2370
2329
  l = i.index, l - a > t && (o = r > a ? r : l, s += `
2371
2330
  ` + e.slice(a, o), a = o + 1), r = l;
@@ -2440,8 +2399,7 @@ function me(e, t, n, i, a, o, r) {
2440
2399
  else if (l === "[object String]")
2441
2400
  e.tag !== "?" && vo(e, e.dump, t, o, s);
2442
2401
  else {
2443
- if (l === "[object Undefined]" || e.skipInvalid)
2444
- return !1;
2402
+ if (l === "[object Undefined]" || e.skipInvalid) return !1;
2445
2403
  throw new ie("unacceptable kind of an object to dump " + l);
2446
2404
  }
2447
2405
  e.tag !== null && e.tag !== "?" && (c = encodeURI(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-key-sets",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-key-sets.umd.js",
6
6
  "module": "./dist/entities-key-sets.es.js",
@@ -24,14 +24,14 @@
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/kongponents": "9.0.8",
32
32
  "axios": "^1.6.8",
33
- "vue": "^3.4.27",
34
- "vue-router": "^4.3.2",
33
+ "vue": "^3.4.31",
34
+ "vue-router": "^4.3.3",
35
35
  "@kong-ui-public/i18n": "^2.2.2"
36
36
  },
37
37
  "repository": {
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@kong/icons": "^1.14.2",
53
- "@kong-ui-public/entities-shared": "^3.4.3"
53
+ "@kong-ui-public/entities-shared": "^3.4.4"
54
54
  },
55
55
  "scripts": {
56
56
  "dev": "cross-env USE_SANDBOX=true vite",