@kong-ui-public/entities-consumers 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.
@@ -440,13 +440,11 @@ function it() {
440
440
  }
441
441
  function Cn() {
442
442
  const e = (n, r) => (r == null ? void 0 : r[n]) ?? void 0, t = (n, r) => {
443
- if (n.length !== r.length)
444
- return !1;
443
+ if (n.length !== r.length) return !1;
445
444
  const a = /* @__PURE__ */ new Set([...n, ...r]);
446
445
  for (const i of a) {
447
446
  const o = n.filter((s) => s === i).length, l = r.filter((s) => s === i).length;
448
- if (o !== l)
449
- return !1;
447
+ if (o !== l) return !1;
450
448
  }
451
449
  return !0;
452
450
  };
@@ -1252,8 +1250,7 @@ function ft(e, t) {
1252
1250
  return te.repeat(" ", t - e.length) + e;
1253
1251
  }
1254
1252
  function Xa(e, t) {
1255
- if (t = Object.create(t || null), !e.buffer)
1256
- return null;
1253
+ if (t = Object.create(t || null), !e.buffer) return null;
1257
1254
  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);
1258
1255
  for (var n = /\r?\n|\r|\0/g, r = [0], a = [], i, o = -1; i = n.exec(e.buffer); )
1259
1256
  a.push(i.index), r.push(i.index + i[0].length), e.position <= i.index && o < 0 && (o = r.length - 2);
@@ -1396,8 +1393,7 @@ var Nn = ht, Tn = new ie("tag:yaml.org,2002:str", {
1396
1393
  ]
1397
1394
  });
1398
1395
  function oi(e) {
1399
- if (e === null)
1400
- return !0;
1396
+ if (e === null) return !0;
1401
1397
  var t = e.length;
1402
1398
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1403
1399
  }
@@ -1432,8 +1428,7 @@ var qn = new ie("tag:yaml.org,2002:null", {
1432
1428
  defaultStyle: "lowercase"
1433
1429
  });
1434
1430
  function ui(e) {
1435
- if (e === null)
1436
- return !1;
1431
+ if (e === null) return !1;
1437
1432
  var t = e.length;
1438
1433
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
1439
1434
  }
@@ -1471,19 +1466,15 @@ function mi(e) {
1471
1466
  return 48 <= e && e <= 57;
1472
1467
  }
1473
1468
  function gi(e) {
1474
- if (e === null)
1475
- return !1;
1469
+ if (e === null) return !1;
1476
1470
  var t = e.length, n = 0, r = !1, a;
1477
- if (!t)
1478
- return !1;
1471
+ if (!t) return !1;
1479
1472
  if (a = e[n], (a === "-" || a === "+") && (a = e[++n]), a === "0") {
1480
- if (n + 1 === t)
1481
- return !0;
1473
+ if (n + 1 === t) return !0;
1482
1474
  if (a = e[++n], a === "b") {
1483
1475
  for (n++; n < t; n++)
1484
1476
  if (a = e[n], a !== "_") {
1485
- if (a !== "0" && a !== "1")
1486
- return !1;
1477
+ if (a !== "0" && a !== "1") return !1;
1487
1478
  r = !0;
1488
1479
  }
1489
1480
  return r && a !== "_";
@@ -1491,8 +1482,7 @@ function gi(e) {
1491
1482
  if (a === "x") {
1492
1483
  for (n++; n < t; n++)
1493
1484
  if (a = e[n], a !== "_") {
1494
- if (!pi(e.charCodeAt(n)))
1495
- return !1;
1485
+ if (!pi(e.charCodeAt(n))) return !1;
1496
1486
  r = !0;
1497
1487
  }
1498
1488
  return r && a !== "_";
@@ -1500,15 +1490,13 @@ function gi(e) {
1500
1490
  if (a === "o") {
1501
1491
  for (n++; n < t; n++)
1502
1492
  if (a = e[n], a !== "_") {
1503
- if (!fi(e.charCodeAt(n)))
1504
- return !1;
1493
+ if (!fi(e.charCodeAt(n))) return !1;
1505
1494
  r = !0;
1506
1495
  }
1507
1496
  return r && a !== "_";
1508
1497
  }
1509
1498
  }
1510
- if (a === "_")
1511
- return !1;
1499
+ if (a === "_") return !1;
1512
1500
  for (; n < t; n++)
1513
1501
  if (a = e[n], a !== "_") {
1514
1502
  if (!mi(e.charCodeAt(n)))
@@ -1519,15 +1507,11 @@ function gi(e) {
1519
1507
  }
1520
1508
  function yi(e) {
1521
1509
  var t = e, n = 1, r;
1522
- if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0")
1523
- return 0;
1510
+ if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
1524
1511
  if (r === "0") {
1525
- if (t[1] === "b")
1526
- return n * parseInt(t.slice(2), 2);
1527
- if (t[1] === "x")
1528
- return n * parseInt(t.slice(2), 16);
1529
- if (t[1] === "o")
1530
- return n * parseInt(t.slice(2), 8);
1512
+ if (t[1] === "b") return n * parseInt(t.slice(2), 2);
1513
+ if (t[1] === "x") return n * parseInt(t.slice(2), 16);
1514
+ if (t[1] === "o") return n * parseInt(t.slice(2), 8);
1531
1515
  }
1532
1516
  return n * parseInt(t, 10);
1533
1517
  }
@@ -1635,8 +1619,7 @@ function Si(e) {
1635
1619
  }
1636
1620
  function _i(e) {
1637
1621
  var t, n, r, a, i, o, l, s = 0, u = null, d, c, C;
1638
- if (t = Un.exec(e), t === null && (t = Rn.exec(e)), t === null)
1639
- throw new Error("Date resolve error");
1622
+ if (t = Un.exec(e), t === null && (t = Rn.exec(e)), t === null) throw new Error("Date resolve error");
1640
1623
  if (n = +t[1], r = +t[2] - 1, a = +t[3], !t[4])
1641
1624
  return new Date(Date.UTC(n, r, a));
1642
1625
  if (i = +t[4], o = +t[5], l = +t[6], t[7]) {
@@ -1665,13 +1648,11 @@ var Dn = new ie("tag:yaml.org,2002:merge", {
1665
1648
  }), xt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1666
1649
  \r`;
1667
1650
  function $i(e) {
1668
- if (e === null)
1669
- return !1;
1651
+ if (e === null) return !1;
1670
1652
  var t, n, r = 0, a = e.length, i = xt;
1671
1653
  for (n = 0; n < a; n++)
1672
1654
  if (t = i.indexOf(e.charAt(n)), !(t > 64)) {
1673
- if (t < 0)
1674
- return !1;
1655
+ if (t < 0) return !1;
1675
1656
  r += 6;
1676
1657
  }
1677
1658
  return r % 8 === 0;
@@ -1699,24 +1680,17 @@ var Pn = new ie("tag:yaml.org,2002:binary", {
1699
1680
  represent: Ti
1700
1681
  }), Oi = Object.prototype.hasOwnProperty, Mi = Object.prototype.toString;
1701
1682
  function qi(e) {
1702
- if (e === null)
1703
- return !0;
1683
+ if (e === null) return !0;
1704
1684
  var t = [], n, r, a, i, o, l = e;
1705
1685
  for (n = 0, r = l.length; n < r; n += 1) {
1706
- if (a = l[n], o = !1, Mi.call(a) !== "[object Object]")
1707
- return !1;
1686
+ if (a = l[n], o = !1, Mi.call(a) !== "[object Object]") return !1;
1708
1687
  for (i in a)
1709
1688
  if (Oi.call(a, i))
1710
- if (!o)
1711
- o = !0;
1712
- else
1713
- return !1;
1714
- if (!o)
1715
- return !1;
1716
- if (t.indexOf(i) === -1)
1717
- t.push(i);
1718
- else
1719
- return !1;
1689
+ if (!o) o = !0;
1690
+ else return !1;
1691
+ if (!o) return !1;
1692
+ if (t.indexOf(i) === -1) t.push(i);
1693
+ else return !1;
1720
1694
  }
1721
1695
  return !0;
1722
1696
  }
@@ -1729,19 +1703,16 @@ var zn = new ie("tag:yaml.org,2002:omap", {
1729
1703
  construct: Fi
1730
1704
  }), Ei = Object.prototype.toString;
1731
1705
  function Bi(e) {
1732
- if (e === null)
1733
- return !0;
1706
+ if (e === null) return !0;
1734
1707
  var t, n, r, a, i, o = e;
1735
1708
  for (i = new Array(o.length), t = 0, n = o.length; t < n; t += 1) {
1736
- if (r = o[t], Ei.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1))
1737
- return !1;
1709
+ if (r = o[t], Ei.call(r) !== "[object Object]" || (a = Object.keys(r), a.length !== 1)) return !1;
1738
1710
  i[t] = [a[0], r[a[0]]];
1739
1711
  }
1740
1712
  return !0;
1741
1713
  }
1742
1714
  function Ki(e) {
1743
- if (e === null)
1744
- return [];
1715
+ if (e === null) return [];
1745
1716
  var t, n, r, a, i, o = e;
1746
1717
  for (i = new Array(o.length), t = 0, n = o.length; t < n; t += 1)
1747
1718
  r = o[t], a = Object.keys(r), i[t] = [a[0], r[a[0]]];
@@ -1753,8 +1724,7 @@ var Gn = new ie("tag:yaml.org,2002:pairs", {
1753
1724
  construct: Ki
1754
1725
  }), Li = Object.prototype.hasOwnProperty;
1755
1726
  function Ui(e) {
1756
- if (e === null)
1757
- return !0;
1727
+ if (e === null) return !0;
1758
1728
  var t, n = e;
1759
1729
  for (t in n)
1760
1730
  if (Li.call(n, t) && n[t] !== null)
@@ -1860,8 +1830,7 @@ function _e(e, t, n, r) {
1860
1830
  if (l = e.input.slice(t, n), r)
1861
1831
  for (a = 0, i = l.length; a < i; a += 1)
1862
1832
  o = l.charCodeAt(a), o === 9 || 32 <= o && o <= 1114111 || F(e, "expected valid JSON character");
1863
- else
1864
- Di.test(l) && F(e, "the stream contains non-printable characters");
1833
+ else Di.test(l) && F(e, "the stream contains non-printable characters");
1865
1834
  e.result += l;
1866
1835
  }
1867
1836
  }
@@ -1955,8 +1924,7 @@ function Qi(e, t) {
1955
1924
  r = e.position, e.position++, a = e.position;
1956
1925
  else
1957
1926
  return !0;
1958
- else
1959
- he(n) ? (_e(e, r, a, !0), Nt(e, ee(e, !1, t)), r = a = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1927
+ else he(n) ? (_e(e, r, a, !0), Nt(e, ee(e, !1, t)), r = a = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a single quoted scalar") : (e.position++, a = e.position);
1960
1928
  F(e, "unexpected end of the stream within a single quoted scalar");
1961
1929
  }
1962
1930
  function Xi(e, t) {
@@ -1978,8 +1946,7 @@ function Xi(e, t) {
1978
1946
  } else
1979
1947
  F(e, "unknown escape sequence");
1980
1948
  n = r = e.position;
1981
- } else
1982
- he(l) ? (_e(e, n, r, !0), Nt(e, ee(e, !1, t)), n = r = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1949
+ } else he(l) ? (_e(e, n, r, !0), Nt(e, ee(e, !1, t)), n = r = e.position) : e.position === e.lineStart && ot(e) ? F(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
1983
1950
  }
1984
1951
  F(e, "unexpected end of the stream within a double quoted scalar");
1985
1952
  }
@@ -2047,8 +2014,7 @@ function to(e, t) {
2047
2014
  }
2048
2015
  function rn(e, t) {
2049
2016
  var n, r = e.tag, a = e.anchor, i = [], o, l = !1, s;
2050
- if (e.firstTabInLine !== -1)
2051
- return !1;
2017
+ if (e.firstTabInLine !== -1) return !1;
2052
2018
  for (e.anchor !== null && (e.anchorMap[e.anchor] = i), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), !(s !== 45 || (o = e.input.charCodeAt(e.position + 1), !de(o)))); ) {
2053
2019
  if (l = !0, e.position++, ee(e, !0, -1) && e.lineIndent <= t) {
2054
2020
  i.push(null), s = e.input.charCodeAt(e.position);
@@ -2063,8 +2029,7 @@ function rn(e, t) {
2063
2029
  }
2064
2030
  function no(e, t, n) {
2065
2031
  var r, a, i, o, l, s, u = e.tag, d = e.anchor, c = {}, C = /* @__PURE__ */ Object.create(null), y = null, I = null, M = null, k = !1, U = !1, A;
2066
- if (e.firstTabInLine !== -1)
2067
- return !1;
2032
+ if (e.firstTabInLine !== -1) return !1;
2068
2033
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), A = e.input.charCodeAt(e.position); A !== 0; ) {
2069
2034
  if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, F(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), i = e.line, (A === 63 || A === 58) && de(r))
2070
2035
  A === 63 ? (k && (Ke(e, c, C, y, I, null, o, l, s), y = I = M = null), U = !0, k = !0, a = !0) : k ? (k = !1, a = !0) : F(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, A = r;
@@ -2094,8 +2059,7 @@ function no(e, t, n) {
2094
2059
  }
2095
2060
  function ro(e) {
2096
2061
  var t, n = !1, r = !1, a, i, o;
2097
- if (o = e.input.charCodeAt(e.position), o !== 33)
2098
- return !1;
2062
+ if (o = e.input.charCodeAt(e.position), o !== 33) return !1;
2099
2063
  if (e.tag !== null && F(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, a = "!!", o = e.input.charCodeAt(++e.position)) : a = "!", t = e.position, n) {
2100
2064
  do
2101
2065
  o = e.input.charCodeAt(++e.position);
@@ -2116,16 +2080,14 @@ function ro(e) {
2116
2080
  }
2117
2081
  function ao(e) {
2118
2082
  var t, n;
2119
- if (n = e.input.charCodeAt(e.position), n !== 38)
2120
- return !1;
2083
+ if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
2121
2084
  for (e.anchor !== null && F(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !de(n) && !Be(n); )
2122
2085
  n = e.input.charCodeAt(++e.position);
2123
2086
  return e.position === t && F(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
2124
2087
  }
2125
2088
  function io(e) {
2126
2089
  var t, n, r;
2127
- if (r = e.input.charCodeAt(e.position), r !== 42)
2128
- return !1;
2090
+ if (r = e.input.charCodeAt(e.position), r !== 42) return !1;
2129
2091
  for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !de(r) && !Be(r); )
2130
2092
  r = e.input.charCodeAt(++e.position);
2131
2093
  return e.position === t && F(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), Ae.call(e.anchorMap, n) || F(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], ee(e, !0, -1), !0;
@@ -2170,8 +2132,7 @@ function oo(e) {
2170
2132
  while (o !== 0 && !he(o));
2171
2133
  break;
2172
2134
  }
2173
- if (he(o))
2174
- break;
2135
+ if (he(o)) break;
2175
2136
  for (n = e.position; o !== 0 && !de(o); )
2176
2137
  o = e.input.charCodeAt(++e.position);
2177
2138
  a.push(e.input.slice(n, e.position));
@@ -2252,8 +2213,7 @@ var $o = [
2252
2213
  ], No = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2253
2214
  function To(e, t) {
2254
2215
  var n, r, a, i, o, l, s;
2255
- if (t === null)
2256
- return {};
2216
+ if (t === null) return {};
2257
2217
  for (n = {}, r = Object.keys(t), a = 0, i = r.length; a < i; a += 1)
2258
2218
  o = r[a], l = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), s = e.compiledTypeMap.fallback[o], s && ar.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[o] = l;
2259
2219
  return n;
@@ -2408,8 +2368,7 @@ function Lo(e, t) {
2408
2368
  return r;
2409
2369
  }
2410
2370
  function cn(e, t) {
2411
- if (e === "" || e[0] === " ")
2412
- return e;
2371
+ if (e === "" || e[0] === " ") return e;
2413
2372
  for (var n = / [^ ]/g, r, a = 0, i, o = 0, l = 0, s = ""; r = n.exec(e); )
2414
2373
  l = r.index, l - a > t && (i = o > a ? o : l, s += `
2415
2374
  ` + e.slice(a, i), a = i + 1), o = l;
@@ -2484,8 +2443,7 @@ function we(e, t, n, r, a, i, o) {
2484
2443
  else if (l === "[object String]")
2485
2444
  e.tag !== "?" && Ko(e, e.dump, t, i, s);
2486
2445
  else {
2487
- if (l === "[object Undefined]" || e.skipInvalid)
2488
- return !1;
2446
+ if (l === "[object Undefined]" || e.skipInvalid) return !1;
2489
2447
  throw new se("unacceptable kind of an object to dump " + l);
2490
2448
  }
2491
2449
  e.tag !== null && e.tag !== "?" && (u = encodeURI(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-consumers",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-consumers.umd.js",
6
6
  "module": "./dist/entities-consumers.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.3.3",
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.4"
55
55
  },
56
56
  "scripts": {
57
57
  "dev": "cross-env USE_SANDBOX=true vite",