@kong-ui-public/entities-snis 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.
@@ -315,13 +315,11 @@ function Je() {
315
315
  }
316
316
  function Qt() {
317
317
  const e = (n, i) => (i == null ? void 0 : i[n]) ?? void 0, t = (n, i) => {
318
- if (n.length !== i.length)
319
- return !1;
318
+ if (n.length !== i.length) return !1;
320
319
  const r = /* @__PURE__ */ new Set([...n, ...i]);
321
320
  for (const o of r) {
322
321
  const a = n.filter((s) => s === o).length, l = i.filter((s) => s === o).length;
323
- if (a !== l)
324
- return !1;
322
+ if (a !== l) return !1;
325
323
  }
326
324
  return !0;
327
325
  };
@@ -773,8 +771,7 @@ function et(e, t) {
773
771
  return J.repeat(" ", t - e.length) + e;
774
772
  }
775
773
  function Xi(e, t) {
776
- if (t = Object.create(t || null), !e.buffer)
777
- return null;
774
+ if (t = Object.create(t || null), !e.buffer) return null;
778
775
  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);
779
776
  for (var n = /\r?\n|\r|\0/g, i = [0], r = [], o, a = -1; o = n.exec(e.buffer); )
780
777
  r.push(o.index), i.push(o.index + o[0].length), e.position <= o.index && a < 0 && (a = i.length - 2);
@@ -917,8 +914,7 @@ var an = rt, on = new ee("tag:yaml.org,2002:str", {
917
914
  ]
918
915
  });
919
916
  function or(e) {
920
- if (e === null)
921
- return !0;
917
+ if (e === null) return !0;
922
918
  var t = e.length;
923
919
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
924
920
  }
@@ -953,8 +949,7 @@ var un = new ee("tag:yaml.org,2002:null", {
953
949
  defaultStyle: "lowercase"
954
950
  });
955
951
  function cr(e) {
956
- if (e === null)
957
- return !1;
952
+ if (e === null) return !1;
958
953
  var t = e.length;
959
954
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
960
955
  }
@@ -992,19 +987,15 @@ function gr(e) {
992
987
  return 48 <= e && e <= 57;
993
988
  }
994
989
  function hr(e) {
995
- if (e === null)
996
- return !1;
990
+ if (e === null) return !1;
997
991
  var t = e.length, n = 0, i = !1, r;
998
- if (!t)
999
- return !1;
992
+ if (!t) return !1;
1000
993
  if (r = e[n], (r === "-" || r === "+") && (r = e[++n]), r === "0") {
1001
- if (n + 1 === t)
1002
- return !0;
994
+ if (n + 1 === t) return !0;
1003
995
  if (r = e[++n], r === "b") {
1004
996
  for (n++; n < t; n++)
1005
997
  if (r = e[n], r !== "_") {
1006
- if (r !== "0" && r !== "1")
1007
- return !1;
998
+ if (r !== "0" && r !== "1") return !1;
1008
999
  i = !0;
1009
1000
  }
1010
1001
  return i && r !== "_";
@@ -1012,8 +1003,7 @@ function hr(e) {
1012
1003
  if (r === "x") {
1013
1004
  for (n++; n < t; n++)
1014
1005
  if (r = e[n], r !== "_") {
1015
- if (!pr(e.charCodeAt(n)))
1016
- return !1;
1006
+ if (!pr(e.charCodeAt(n))) return !1;
1017
1007
  i = !0;
1018
1008
  }
1019
1009
  return i && r !== "_";
@@ -1021,15 +1011,13 @@ function hr(e) {
1021
1011
  if (r === "o") {
1022
1012
  for (n++; n < t; n++)
1023
1013
  if (r = e[n], r !== "_") {
1024
- if (!fr(e.charCodeAt(n)))
1025
- return !1;
1014
+ if (!fr(e.charCodeAt(n))) return !1;
1026
1015
  i = !0;
1027
1016
  }
1028
1017
  return i && r !== "_";
1029
1018
  }
1030
1019
  }
1031
- if (r === "_")
1032
- return !1;
1020
+ if (r === "_") return !1;
1033
1021
  for (; n < t; n++)
1034
1022
  if (r = e[n], r !== "_") {
1035
1023
  if (!gr(e.charCodeAt(n)))
@@ -1040,15 +1028,11 @@ function hr(e) {
1040
1028
  }
1041
1029
  function mr(e) {
1042
1030
  var t = e, n = 1, i;
1043
- 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")
1044
- return 0;
1031
+ 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;
1045
1032
  if (i === "0") {
1046
- if (t[1] === "b")
1047
- return n * parseInt(t.slice(2), 2);
1048
- if (t[1] === "x")
1049
- return n * parseInt(t.slice(2), 16);
1050
- if (t[1] === "o")
1051
- return n * parseInt(t.slice(2), 8);
1033
+ if (t[1] === "b") return n * parseInt(t.slice(2), 2);
1034
+ if (t[1] === "x") return n * parseInt(t.slice(2), 16);
1035
+ if (t[1] === "o") return n * parseInt(t.slice(2), 8);
1052
1036
  }
1053
1037
  return n * parseInt(t, 10);
1054
1038
  }
@@ -1156,8 +1140,7 @@ function Ir(e) {
1156
1140
  }
1157
1141
  function Ar(e) {
1158
1142
  var t, n, i, r, o, a, l, s = 0, u = null, d, c, f;
1159
- if (t = mn.exec(e), t === null && (t = yn.exec(e)), t === null)
1160
- throw new Error("Date resolve error");
1143
+ if (t = mn.exec(e), t === null && (t = yn.exec(e)), t === null) throw new Error("Date resolve error");
1161
1144
  if (n = +t[1], i = +t[2] - 1, r = +t[3], !t[4])
1162
1145
  return new Date(Date.UTC(n, i, r));
1163
1146
  if (o = +t[4], a = +t[5], l = +t[6], t[7]) {
@@ -1186,13 +1169,11 @@ var bn = new ee("tag:yaml.org,2002:merge", {
1186
1169
  }), pt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1187
1170
  \r`;
1188
1171
  function Nr(e) {
1189
- if (e === null)
1190
- return !1;
1172
+ if (e === null) return !1;
1191
1173
  var t, n, i = 0, r = e.length, o = pt;
1192
1174
  for (n = 0; n < r; n++)
1193
1175
  if (t = o.indexOf(e.charAt(n)), !(t > 64)) {
1194
- if (t < 0)
1195
- return !1;
1176
+ if (t < 0) return !1;
1196
1177
  i += 6;
1197
1178
  }
1198
1179
  return i % 8 === 0;
@@ -1220,24 +1201,17 @@ var wn = new ee("tag:yaml.org,2002:binary", {
1220
1201
  represent: jr
1221
1202
  }), Fr = Object.prototype.hasOwnProperty, Mr = Object.prototype.toString;
1222
1203
  function Er(e) {
1223
- if (e === null)
1224
- return !0;
1204
+ if (e === null) return !0;
1225
1205
  var t = [], n, i, r, o, a, l = e;
1226
1206
  for (n = 0, i = l.length; n < i; n += 1) {
1227
- if (r = l[n], a = !1, Mr.call(r) !== "[object Object]")
1228
- return !1;
1207
+ if (r = l[n], a = !1, Mr.call(r) !== "[object Object]") return !1;
1229
1208
  for (o in r)
1230
1209
  if (Fr.call(r, o))
1231
- if (!a)
1232
- a = !0;
1233
- else
1234
- return !1;
1235
- if (!a)
1236
- return !1;
1237
- if (t.indexOf(o) === -1)
1238
- t.push(o);
1239
- else
1240
- return !1;
1210
+ if (!a) a = !0;
1211
+ else return !1;
1212
+ if (!a) return !1;
1213
+ if (t.indexOf(o) === -1) t.push(o);
1214
+ else return !1;
1241
1215
  }
1242
1216
  return !0;
1243
1217
  }
@@ -1250,19 +1224,16 @@ var kn = new ee("tag:yaml.org,2002:omap", {
1250
1224
  construct: $r
1251
1225
  }), qr = Object.prototype.toString;
1252
1226
  function Lr(e) {
1253
- if (e === null)
1254
- return !0;
1227
+ if (e === null) return !0;
1255
1228
  var t, n, i, r, o, a = e;
1256
1229
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1) {
1257
- if (i = a[t], qr.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1))
1258
- return !1;
1230
+ if (i = a[t], qr.call(i) !== "[object Object]" || (r = Object.keys(i), r.length !== 1)) return !1;
1259
1231
  o[t] = [r[0], i[r[0]]];
1260
1232
  }
1261
1233
  return !0;
1262
1234
  }
1263
1235
  function Ur(e) {
1264
- if (e === null)
1265
- return [];
1236
+ if (e === null) return [];
1266
1237
  var t, n, i, r, o, a = e;
1267
1238
  for (o = new Array(a.length), t = 0, n = a.length; t < n; t += 1)
1268
1239
  i = a[t], r = Object.keys(i), o[t] = [r[0], i[r[0]]];
@@ -1274,8 +1245,7 @@ var Cn = new ee("tag:yaml.org,2002:pairs", {
1274
1245
  construct: Ur
1275
1246
  }), Rr = Object.prototype.hasOwnProperty;
1276
1247
  function Br(e) {
1277
- if (e === null)
1278
- return !0;
1248
+ if (e === null) return !0;
1279
1249
  var t, n = e;
1280
1250
  for (t in n)
1281
1251
  if (Rr.call(n, t) && n[t] !== null)
@@ -1381,8 +1351,7 @@ function he(e, t, n, i) {
1381
1351
  if (l = e.input.slice(t, n), i)
1382
1352
  for (r = 0, o = l.length; r < o; r += 1)
1383
1353
  a = l.charCodeAt(r), a === 9 || 32 <= a && a <= 1114111 || b(e, "expected valid JSON character");
1384
- else
1385
- Pr.test(l) && b(e, "the stream contains non-printable characters");
1354
+ else Pr.test(l) && b(e, "the stream contains non-printable characters");
1386
1355
  e.result += l;
1387
1356
  }
1388
1357
  }
@@ -1476,8 +1445,7 @@ function Qr(e, t) {
1476
1445
  i = e.position, e.position++, r = e.position;
1477
1446
  else
1478
1447
  return !0;
1479
- else
1480
- se(n) ? (he(e, i, r, !0), ht(e, W(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ze(e) ? b(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1448
+ else se(n) ? (he(e, i, r, !0), ht(e, W(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ze(e) ? b(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1481
1449
  b(e, "unexpected end of the stream within a single quoted scalar");
1482
1450
  }
1483
1451
  function Xr(e, t) {
@@ -1499,8 +1467,7 @@ function Xr(e, t) {
1499
1467
  } else
1500
1468
  b(e, "unknown escape sequence");
1501
1469
  n = i = e.position;
1502
- } else
1503
- se(l) ? (he(e, n, i, !0), ht(e, W(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ze(e) ? b(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1470
+ } else se(l) ? (he(e, n, i, !0), ht(e, W(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ze(e) ? b(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1504
1471
  }
1505
1472
  b(e, "unexpected end of the stream within a double quoted scalar");
1506
1473
  }
@@ -1568,8 +1535,7 @@ function ta(e, t) {
1568
1535
  }
1569
1536
  function Ft(e, t) {
1570
1537
  var n, i = e.tag, r = e.anchor, o = [], a, l = !1, s;
1571
- if (e.firstTabInLine !== -1)
1572
- return !1;
1538
+ if (e.firstTabInLine !== -1) return !1;
1573
1539
  for (e.anchor !== null && (e.anchorMap[e.anchor] = o), s = e.input.charCodeAt(e.position); s !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, b(e, "tab characters must not be used in indentation")), !(s !== 45 || (a = e.input.charCodeAt(e.position + 1), !oe(a)))); ) {
1574
1540
  if (l = !0, e.position++, W(e, !0, -1) && e.lineIndent <= t) {
1575
1541
  o.push(null), s = e.input.charCodeAt(e.position);
@@ -1584,8 +1550,7 @@ function Ft(e, t) {
1584
1550
  }
1585
1551
  function na(e, t, n) {
1586
1552
  var i, r, o, a, l, s, u = e.tag, d = e.anchor, c = {}, f = /* @__PURE__ */ Object.create(null), p = null, k = null, C = null, S = !1, O = !1, y;
1587
- if (e.firstTabInLine !== -1)
1588
- return !1;
1553
+ if (e.firstTabInLine !== -1) return !1;
1589
1554
  for (e.anchor !== null && (e.anchorMap[e.anchor] = c), y = e.input.charCodeAt(e.position); y !== 0; ) {
1590
1555
  if (!S && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, b(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (y === 63 || y === 58) && oe(i))
1591
1556
  y === 63 ? (S && (_e(e, c, f, p, k, null, a, l, s), p = k = C = null), O = !0, S = !0, r = !0) : S ? (S = !1, r = !0) : b(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, y = i;
@@ -1615,8 +1580,7 @@ function na(e, t, n) {
1615
1580
  }
1616
1581
  function ia(e) {
1617
1582
  var t, n = !1, i = !1, r, o, a;
1618
- if (a = e.input.charCodeAt(e.position), a !== 33)
1619
- return !1;
1583
+ if (a = e.input.charCodeAt(e.position), a !== 33) return !1;
1620
1584
  if (e.tag !== null && b(e, "duplication of a tag property"), a = e.input.charCodeAt(++e.position), a === 60 ? (n = !0, a = e.input.charCodeAt(++e.position)) : a === 33 ? (i = !0, r = "!!", a = e.input.charCodeAt(++e.position)) : r = "!", t = e.position, n) {
1621
1585
  do
1622
1586
  a = e.input.charCodeAt(++e.position);
@@ -1637,16 +1601,14 @@ function ia(e) {
1637
1601
  }
1638
1602
  function ra(e) {
1639
1603
  var t, n;
1640
- if (n = e.input.charCodeAt(e.position), n !== 38)
1641
- return !1;
1604
+ if (n = e.input.charCodeAt(e.position), n !== 38) return !1;
1642
1605
  for (e.anchor !== null && b(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !oe(n) && !xe(n); )
1643
1606
  n = e.input.charCodeAt(++e.position);
1644
1607
  return e.position === t && b(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
1645
1608
  }
1646
1609
  function aa(e) {
1647
1610
  var t, n, i;
1648
- if (i = e.input.charCodeAt(e.position), i !== 42)
1649
- return !1;
1611
+ if (i = e.input.charCodeAt(e.position), i !== 42) return !1;
1650
1612
  for (i = e.input.charCodeAt(++e.position), t = e.position; i !== 0 && !oe(i) && !xe(i); )
1651
1613
  i = e.input.charCodeAt(++e.position);
1652
1614
  return e.position === t && b(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ye.call(e.anchorMap, n) || b(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], W(e, !0, -1), !0;
@@ -1691,8 +1653,7 @@ function oa(e) {
1691
1653
  while (a !== 0 && !se(a));
1692
1654
  break;
1693
1655
  }
1694
- if (se(a))
1695
- break;
1656
+ if (se(a)) break;
1696
1657
  for (n = e.position; a !== 0 && !oe(a); )
1697
1658
  a = e.input.charCodeAt(++e.position);
1698
1659
  r.push(e.input.slice(n, e.position));
@@ -1773,8 +1734,7 @@ var _a = [
1773
1734
  ], Na = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
1774
1735
  function Ta(e, t) {
1775
1736
  var n, i, r, o, a, l, s;
1776
- if (t === null)
1777
- return {};
1737
+ if (t === null) return {};
1778
1738
  for (n = {}, i = Object.keys(t), r = 0, o = i.length; r < o; r += 1)
1779
1739
  a = i[r], l = String(t[a]), a.slice(0, 2) === "!!" && (a = "tag:yaml.org,2002:" + a.slice(2)), s = e.compiledTypeMap.fallback[a], s && En.call(s.styleAliases, l) && (l = s.styleAliases[l]), n[a] = l;
1780
1740
  return n;
@@ -1929,8 +1889,7 @@ function Ua(e, t) {
1929
1889
  return i;
1930
1890
  }
1931
1891
  function Ut(e, t) {
1932
- if (e === "" || e[0] === " ")
1933
- return e;
1892
+ if (e === "" || e[0] === " ") return e;
1934
1893
  for (var n = / [^ ]/g, i, r = 0, o, a = 0, l = 0, s = ""; i = n.exec(e); )
1935
1894
  l = i.index, l - r > t && (o = a > r ? a : l, s += `
1936
1895
  ` + e.slice(r, o), r = o + 1), a = l;
@@ -2005,8 +1964,7 @@ function de(e, t, n, i, r, o, a) {
2005
1964
  else if (l === "[object String]")
2006
1965
  e.tag !== "?" && La(e, e.dump, t, o, s);
2007
1966
  else {
2008
- if (l === "[object Undefined]" || e.skipInvalid)
2009
- return !1;
1967
+ if (l === "[object Undefined]" || e.skipInvalid) return !1;
2010
1968
  throw new ae("unacceptable kind of an object to dump " + l);
2011
1969
  }
2012
1970
  e.tag !== null && e.tag !== "?" && (u = encodeURI(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-snis",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-snis.umd.js",
6
6
  "module": "./dist/entities-snis.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",