@kong-ui-public/entities-consumers 3.0.1-pr.1253.cebdd2df.0 → 3.0.1

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as W, ref as N, computed as _, watch as ve, renderSlot as Q, createCommentVNode as G, unref as g, onBeforeMount as kt, resolveComponent as U, openBlock as y, createBlock as P, createSlots as Te, withCtx as v, createElementVNode as F, createVNode as T, createTextVNode as J, toDisplayString as j, renderList as de, createElementBlock as E, withModifiers as ft, withDirectives as ke, vShow as Ce, Fragment as pe, normalizeClass as Ie, withKeys as kr, useSlots as Ct, resolveDynamicComponent as xe, useCssVars as pn, inject as Cr, onMounted as wr, onUnmounted as Ir, normalizeStyle as Qe, normalizeProps as Ar, guardReactiveProps as Sr, mergeProps as xr, pushScopeId as Xe, popScopeId as et, reactive as Ut } from "vue";
1
+ import { defineComponent as Y, ref as N, computed as _, watch as ve, renderSlot as Q, createCommentVNode as G, unref as g, onBeforeMount as kt, resolveComponent as U, openBlock as y, createBlock as P, createSlots as Te, withCtx as v, createElementVNode as F, createVNode as T, createTextVNode as J, toDisplayString as j, renderList as de, createElementBlock as E, withModifiers as ft, withDirectives as ke, vShow as Ce, Fragment as pe, normalizeClass as Ie, withKeys as kr, useSlots as Ct, resolveDynamicComponent as xe, useCssVars as pn, inject as Cr, onMounted as wr, onUnmounted as Ir, normalizeStyle as Qe, normalizeProps as Ar, guardReactiveProps as Sr, mergeProps as xr, pushScopeId as Xe, popScopeId as et, reactive as Ut } from "vue";
2
2
  import { useRouter as wt } from "vue-router";
3
3
  import { createI18n as fn, i18nTComponent as mn } from "@kong-ui-public/i18n";
4
4
  import Rt from "axios";
@@ -137,7 +137,7 @@ const tt = {
137
137
  }
138
138
  }
139
139
  };
140
- var gn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(gn || {}), mt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(mt || {}), _e = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(_e || {}), Y = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(Y || {}), ue = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ue || {});
140
+ var gn = /* @__PURE__ */ ((e) => (e.GatewayService = "service", e.Route = "route", e.Consumer = "consumer", e.ConsumerGroup = "consumer group", e.Plugin = "plugin", e.Upstream = "upstream", e.Certificate = "certificate", e.CACertificate = "ca certificate", e.SNI = "SNI", e.Key = "key", e.KeySet = "key set", e.Vault = "vault", e.Application = "application", e.Developer = "developer", e.acls = "ACL Credential", e["basic-auth"] = "Basic Auth Credential", e["key-auth"] = "Key Auth Credential", e["key-auth-enc"] = "Key Auth Encrypted Credential", e.oauth2 = "OAuth 2.0 Credential", e["hmac-auth"] = "HMAC Credential", e.jwt = "JWT Credential", e.Target = "target", e.Policy = "policy", e))(gn || {}), mt = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(mt || {}), _e = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(_e || {}), W = /* @__PURE__ */ ((e) => (e.ID = "id", e.IdArray = "id-array", e.Text = "plain-text", e.Date = "date", e.Redacted = "redacted", e.RedactedArray = "redacted-array", e.Json = "json", e.JsonArray = "json-array", e.BadgeTag = "badge-tag", e.BadgeStatus = "badge-status", e.BadgeMethod = "badge-method", e.LinkInternal = "link-internal", e.LinkExternal = "link-external", e))(W || {}), ue = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ue || {});
141
141
  function Mr() {
142
142
  return {
143
143
  getAxiosInstance: (e = {}) => {
@@ -488,7 +488,7 @@ function Hr() {
488
488
  }
489
489
  };
490
490
  }
491
- function Wr(e) {
491
+ function Yr(e) {
492
492
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
493
493
  try {
494
494
  const r = e.join("/"), a = `${n}${r}`, i = e.some((o) => o.trim() === "");
@@ -517,7 +517,7 @@ function yn(e, t) {
517
517
  }
518
518
  };
519
519
  }
520
- function Yr(e, t, n = "data") {
520
+ function Wr(e, t, n = "data") {
521
521
  const r = g(t), { axiosInstance: a } = It(e.axiosRequestConfig), i = yn(e, r), o = N({
522
522
  status: _e.Idle
523
523
  });
@@ -644,8 +644,8 @@ const ne = {
644
644
  useDebouncedFilter: Gr,
645
645
  useDeleteUrlBuilder: Jr,
646
646
  useErrors: Hr,
647
- useExternalLinkCreator: Wr,
648
- useFetcher: Yr,
647
+ useExternalLinkCreator: Yr,
648
+ useFetcher: Wr,
649
649
  useFetchUrlBuilder: yn,
650
650
  useHelpers: hn,
651
651
  useStringHelpers: Zr,
@@ -656,7 +656,7 @@ const ne = {
656
656
  }, oa = {
657
657
  key: 0,
658
658
  class: "config-card-fieldset-title"
659
- }, la = /* @__PURE__ */ W({
659
+ }, la = /* @__PURE__ */ Y({
660
660
  __name: "JsonCardItem",
661
661
  props: {
662
662
  item: {
@@ -704,7 +704,7 @@ const ne = {
704
704
  for (const [r, a] of t)
705
705
  n[r] = a;
706
706
  return n;
707
- }, kn = /* @__PURE__ */ fe(la, [["__scopeId", "data-v-68ca83ec"]]), sa = /* @__PURE__ */ W({
707
+ }, kn = /* @__PURE__ */ fe(la, [["__scopeId", "data-v-68ca83ec"]]), sa = /* @__PURE__ */ Y({
708
708
  __name: "InternalLinkItem",
709
709
  props: {
710
710
  item: {
@@ -731,7 +731,7 @@ const ne = {
731
731
  ]);
732
732
  };
733
733
  }
734
- }), ua = /* @__PURE__ */ fe(sa, [["__scopeId", "data-v-c96811e5"]]), ca = /* @__PURE__ */ W({
734
+ }), ua = /* @__PURE__ */ fe(sa, [["__scopeId", "data-v-c96811e5"]]), ca = /* @__PURE__ */ Y({
735
735
  __name: "StatusBadge",
736
736
  props: {
737
737
  status: {
@@ -756,7 +756,7 @@ const ne = {
756
756
  }), da = "#0044f4", pa = "#e0e4ea", fa = "#3a3f51", ma = "#afb7c5", ga = "1px", ha = "20px", ya = { class: "config-card-details-row" }, va = ["data-testid"], ba = ["data-testid"], ka = ["data-testid"], Ca = ["data-testid"], wa = { key: 1 }, Ia = ["data-testid"], Aa = ["data-testid"], Sa = ["data-testid"], xa = ["data-testid"], _a = {
757
757
  name: "ConfigCardItem",
758
758
  components: { JsonCardItem: kn, StatusBadge: ca, InternalLinkItem: ua }
759
- }, $a = /* @__PURE__ */ W({
759
+ }, $a = /* @__PURE__ */ Y({
760
760
  ..._a,
761
761
  props: {
762
762
  item: {
@@ -782,9 +782,9 @@ const ne = {
782
782
  "5036b738": u.value && l.value ? "100%" : n.slim ? "50%" : "25%",
783
783
  "5038fd13": u.value && l.value ? "100%" : n.slim ? "50%" : "75%"
784
784
  }));
785
- const n = e, r = t, a = Ct(), { i18n: { t: i, formatUnixTimeStamp: o } } = ne.useI18n(), l = _(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = _(() => !!(n.item.tooltip || a["label-tooltip"])), u = _(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), d = _(() => n.item.type === Y.JsonArray), c = _(() => {
785
+ const n = e, r = t, a = Ct(), { i18n: { t: i, formatUnixTimeStamp: o } } = ne.useI18n(), l = _(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), s = _(() => !!(n.item.tooltip || a["label-tooltip"])), u = _(() => n.item.type === W.Json || n.item.type === W.JsonArray), d = _(() => n.item.type === W.JsonArray), c = _(() => {
786
786
  switch (n.item.type) {
787
- case Y.ID:
787
+ case W.ID:
788
788
  return {
789
789
  tag: "KCopy",
790
790
  attrs: {
@@ -793,7 +793,7 @@ const ne = {
793
793
  text: n.item.value
794
794
  }
795
795
  };
796
- case Y.IdArray:
796
+ case W.IdArray:
797
797
  return {
798
798
  tag: "div",
799
799
  additionalComponent: "KCopy",
@@ -801,7 +801,7 @@ const ne = {
801
801
  "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: n.item.label })
802
802
  }
803
803
  };
804
- case Y.Redacted:
804
+ case W.Redacted:
805
805
  return {
806
806
  tag: "KCopy",
807
807
  attrs: {
@@ -811,7 +811,7 @@ const ne = {
811
811
  text: n.item.value
812
812
  }
813
813
  };
814
- case Y.RedactedArray:
814
+ case W.RedactedArray:
815
815
  return {
816
816
  tag: "div",
817
817
  additionalComponent: "KCopy",
@@ -820,7 +820,7 @@ const ne = {
820
820
  "copy-tooltip": i("baseConfigCard.copy.tooltip", { label: n.item.label })
821
821
  }
822
822
  };
823
- case Y.Date:
823
+ case W.Date:
824
824
  return {
825
825
  tag: "div",
826
826
  attrs: {
@@ -828,7 +828,7 @@ const ne = {
828
828
  },
829
829
  text: o(n.item.value)
830
830
  };
831
- case Y.BadgeStatus:
831
+ case W.BadgeStatus:
832
832
  return {
833
833
  tag: "StatusBadge",
834
834
  attrs: {
@@ -836,17 +836,17 @@ const ne = {
836
836
  status: n.item.value
837
837
  }
838
838
  };
839
- case Y.BadgeTag:
839
+ case W.BadgeTag:
840
840
  return {
841
841
  tag: "div",
842
842
  additionalComponent: "KBadge"
843
843
  };
844
- case Y.BadgeMethod:
844
+ case W.BadgeMethod:
845
845
  return {
846
846
  tag: "div",
847
847
  additionalComponent: "KMethodBadge"
848
848
  };
849
- case Y.LinkInternal:
849
+ case W.LinkInternal:
850
850
  return {
851
851
  tag: "InternalLinkItem",
852
852
  attrs: {
@@ -857,7 +857,7 @@ const ne = {
857
857
  }
858
858
  }
859
859
  };
860
- case Y.LinkExternal:
860
+ case W.LinkExternal:
861
861
  return {
862
862
  tag: "KExternalLink",
863
863
  attrs: {
@@ -866,7 +866,7 @@ const ne = {
866
866
  },
867
867
  text: n.item.value
868
868
  };
869
- case Y.Json:
869
+ case W.Json:
870
870
  return {
871
871
  tag: "JsonCardItem",
872
872
  attrs: {
@@ -874,7 +874,7 @@ const ne = {
874
874
  item: n.item
875
875
  }
876
876
  };
877
- case Y.JsonArray:
877
+ case W.JsonArray:
878
878
  return {
879
879
  tag: "div",
880
880
  additionalComponent: "JsonCardItem",
@@ -1015,7 +1015,7 @@ const ne = {
1015
1015
  }), Cn = /* @__PURE__ */ fe($a, [["__scopeId", "data-v-d056663c"]]), Ta = { class: "json-config" }, ja = {
1016
1016
  key: 0,
1017
1017
  class: "json-endpoint"
1018
- }, wn = /* @__PURE__ */ W({
1018
+ }, wn = /* @__PURE__ */ Y({
1019
1019
  __name: "JsonCodeBlock",
1020
1020
  props: {
1021
1021
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -1289,13 +1289,13 @@ var Sn = gt, xn = new ae("tag:yaml.org,2002:str", {
1289
1289
  $n
1290
1290
  ]
1291
1291
  });
1292
- function Wa(e) {
1292
+ function Ya(e) {
1293
1293
  if (e === null)
1294
1294
  return !0;
1295
1295
  var t = e.length;
1296
1296
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
1297
1297
  }
1298
- function Ya() {
1298
+ function Wa() {
1299
1299
  return null;
1300
1300
  }
1301
1301
  function Za(e) {
@@ -1303,8 +1303,8 @@ function Za(e) {
1303
1303
  }
1304
1304
  var jn = new ae("tag:yaml.org,2002:null", {
1305
1305
  kind: "scalar",
1306
- resolve: Wa,
1307
- construct: Ya,
1306
+ resolve: Ya,
1307
+ construct: Wa,
1308
1308
  predicate: Za,
1309
1309
  represent: {
1310
1310
  canonical: function() {
@@ -1673,8 +1673,8 @@ var Vn = new ae("tag:yaml.org,2002:set", {
1673
1673
  Pn,
1674
1674
  Vn
1675
1675
  ]
1676
- }), Ae = Object.prototype.hasOwnProperty, Je = 1, Dn = 2, zn = 3, He = 4, pt = 1, Mi = 2, Wt = 3, Oi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ei = /[\x85\u2028\u2029]/, Ni = /[,\[\]\{\}]/, Gn = /^(?:!|!!|![a-z\-]+!)$/i, Jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1677
- function Yt(e) {
1676
+ }), Ae = Object.prototype.hasOwnProperty, Je = 1, Dn = 2, zn = 3, He = 4, pt = 1, Mi = 2, Yt = 3, Oi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Ei = /[\x85\u2028\u2029]/, Ni = /[,\[\]\{\}]/, Gn = /^(?:!|!!|![a-z\-]+!)$/i, Jn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1677
+ function Wt(e) {
1678
1678
  return Object.prototype.toString.call(e);
1679
1679
  }
1680
1680
  function he(e) {
@@ -1709,13 +1709,13 @@ function Bi(e) {
1709
1709
  (e - 65536 & 1023) + 56320
1710
1710
  );
1711
1711
  }
1712
- var Hn = new Array(256), Wn = new Array(256);
1712
+ var Hn = new Array(256), Yn = new Array(256);
1713
1713
  for (var Ne = 0; Ne < 256; Ne++)
1714
- Hn[Ne] = Zt(Ne) ? 1 : 0, Wn[Ne] = Zt(Ne);
1714
+ Hn[Ne] = Zt(Ne) ? 1 : 0, Yn[Ne] = Zt(Ne);
1715
1715
  function Li(e, t) {
1716
1716
  this.input = e, this.filename = t.filename || null, this.schema = t.schema || St, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
1717
1717
  }
1718
- function Yn(e, t) {
1718
+ function Wn(e, t) {
1719
1719
  var n = {
1720
1720
  name: e.filename,
1721
1721
  buffer: e.input.slice(0, -1),
@@ -1727,15 +1727,15 @@ function Yn(e, t) {
1727
1727
  return n.snippet = Va(n), new le(t, n);
1728
1728
  }
1729
1729
  function O(e, t) {
1730
- throw Yn(e, t);
1730
+ throw Wn(e, t);
1731
1731
  }
1732
- function We(e, t) {
1733
- e.onWarning && e.onWarning.call(null, Yn(e, t));
1732
+ function Ye(e, t) {
1733
+ e.onWarning && e.onWarning.call(null, Wn(e, t));
1734
1734
  }
1735
1735
  var Qt = {
1736
1736
  YAML: function(e, t, n) {
1737
1737
  var r, a, i;
1738
- e.version !== null && O(e, "duplication of %YAML directive"), n.length !== 1 && O(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && O(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && O(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && We(e, "unsupported YAML version of the document");
1738
+ e.version !== null && O(e, "duplication of %YAML directive"), n.length !== 1 && O(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && O(e, "ill-formed argument of the YAML directive"), a = parseInt(r[1], 10), i = parseInt(r[2], 10), a !== 1 && O(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = i < 2, i !== 1 && i !== 2 && Ye(e, "unsupported YAML version of the document");
1739
1739
  },
1740
1740
  TAG: function(e, t, n) {
1741
1741
  var r, a;
@@ -1768,8 +1768,8 @@ function Ke(e, t, n, r, a, i, o, l, s) {
1768
1768
  var u, d;
1769
1769
  if (Array.isArray(a))
1770
1770
  for (a = Array.prototype.slice.call(a), u = 0, d = a.length; u < d; u += 1)
1771
- Array.isArray(a[u]) && O(e, "nested arrays are not supported inside keys"), typeof a == "object" && Yt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1772
- if (typeof a == "object" && Yt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1771
+ Array.isArray(a[u]) && O(e, "nested arrays are not supported inside keys"), typeof a == "object" && Wt(a[u]) === "[object Object]" && (a[u] = "[object Object]");
1772
+ if (typeof a == "object" && Wt(a) === "[object Object]" && (a = "[object Object]"), a = String(a), t === null && (t = {}), r === "tag:yaml.org,2002:merge")
1773
1773
  if (Array.isArray(i))
1774
1774
  for (u = 0, d = i.length; u < d; u += 1)
1775
1775
  Xt(e, t, i[u], n);
@@ -1802,7 +1802,7 @@ function ee(e, t, n) {
1802
1802
  else
1803
1803
  break;
1804
1804
  }
1805
- return n !== -1 && r !== 0 && e.lineIndent < n && We(e, "deficient indentation"), r;
1805
+ return n !== -1 && r !== 0 && e.lineIndent < n && Ye(e, "deficient indentation"), r;
1806
1806
  }
1807
1807
  function rt(e) {
1808
1808
  var t = e.position, n;
@@ -1864,7 +1864,7 @@ function Pi(e, t) {
1864
1864
  if (we(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), he(l))
1865
1865
  ee(e, !1, t);
1866
1866
  else if (l < 256 && Hn[l])
1867
- e.result += Wn[l], e.position++;
1867
+ e.result += Yn[l], e.position++;
1868
1868
  else if ((o = qi(l)) > 0) {
1869
1869
  for (a = o, i = 0; a > 0; a--)
1870
1870
  l = e.input.charCodeAt(++e.position), (o = Fi(l)) >= 0 ? i = (i << 4) + o : O(e, "expected hexadecimal character");
@@ -1902,7 +1902,7 @@ function Di(e, t) {
1902
1902
  return !1;
1903
1903
  for (e.kind = "scalar", e.result = ""; c !== 0; )
1904
1904
  if (c = e.input.charCodeAt(++e.position), c === 43 || c === 45)
1905
- pt === a ? a = c === 43 ? Wt : Mi : O(e, "repeat of a chomping mode identifier");
1905
+ pt === a ? a = c === 43 ? Yt : Mi : O(e, "repeat of a chomping mode identifier");
1906
1906
  else if ((d = Ki(c)) >= 0)
1907
1907
  d === 0 ? O(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? O(e, "repeat of an indentation width identifier") : (l = t + d - 1, o = !0);
1908
1908
  else
@@ -1924,7 +1924,7 @@ function Di(e, t) {
1924
1924
  continue;
1925
1925
  }
1926
1926
  if (e.lineIndent < l) {
1927
- a === Wt ? e.result += te.repeat(`
1927
+ a === Yt ? e.result += te.repeat(`
1928
1928
  `, i ? 1 + s : s) : a === pt && i && (e.result += `
1929
1929
  `);
1930
1930
  break;
@@ -2050,7 +2050,7 @@ function Be(e, t, n, r, a) {
2050
2050
  }
2051
2051
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || d;
2052
2052
  }
2053
- function Wi(e) {
2053
+ function Yi(e) {
2054
2054
  var t = e.position, n, r, a, i = !1, o;
2055
2055
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (ee(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37)); ) {
2056
2056
  for (i = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !ce(o); )
@@ -2070,9 +2070,9 @@ function Wi(e) {
2070
2070
  o = e.input.charCodeAt(++e.position);
2071
2071
  a.push(e.input.slice(n, e.position));
2072
2072
  }
2073
- o !== 0 && xt(e), Ae.call(Qt, r) ? Qt[r](e, r, a) : We(e, 'unknown document directive "' + r + '"');
2073
+ o !== 0 && xt(e), Ae.call(Qt, r) ? Qt[r](e, r, a) : Ye(e, 'unknown document directive "' + r + '"');
2074
2074
  }
2075
- if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : i && O(e, "directives end mark is expected"), Be(e, e.lineIndent - 1, He, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Ei.test(e.input.slice(t, e.position)) && We(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && rt(e)) {
2075
+ if (ee(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, ee(e, !0, -1)) : i && O(e, "directives end mark is expected"), Be(e, e.lineIndent - 1, He, !1, !0), ee(e, !0, -1), e.checkLineBreaks && Ei.test(e.input.slice(t, e.position)) && Ye(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && rt(e)) {
2076
2076
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, ee(e, !0, -1));
2077
2077
  return;
2078
2078
  }
@@ -2088,10 +2088,10 @@ function Zn(e, t) {
2088
2088
  for (r !== -1 && (n.position = r, O(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32; )
2089
2089
  n.lineIndent += 1, n.position += 1;
2090
2090
  for (; n.position < n.length - 1; )
2091
- Wi(n);
2091
+ Yi(n);
2092
2092
  return n.documents;
2093
2093
  }
2094
- function Yi(e, t, n) {
2094
+ function Wi(e, t, n) {
2095
2095
  t !== null && typeof t == "object" && typeof n > "u" && (n = t, t = null);
2096
2096
  var r = Zn(e, n);
2097
2097
  if (typeof t != "function")
@@ -2107,10 +2107,10 @@ function Zi(e, t) {
2107
2107
  throw new le("expected a single document in the stream, but found more");
2108
2108
  }
2109
2109
  }
2110
- var Qi = Yi, Xi = Zi, Qn = {
2110
+ var Qi = Wi, Xi = Zi, Qn = {
2111
2111
  loadAll: Qi,
2112
2112
  load: Xi
2113
- }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, $t = 65279, eo = 9, Pe = 10, to = 13, no = 32, ro = 33, ao = 34, ht = 35, io = 37, oo = 38, lo = 39, so = 42, tr = 44, uo = 45, Ye = 58, co = 61, po = 62, fo = 63, mo = 64, nr = 91, rr = 93, go = 96, ar = 123, ho = 124, ir = 125, oe = {};
2113
+ }, Xn = Object.prototype.toString, er = Object.prototype.hasOwnProperty, $t = 65279, eo = 9, Pe = 10, to = 13, no = 32, ro = 33, ao = 34, ht = 35, io = 37, oo = 38, lo = 39, so = 42, tr = 44, uo = 45, We = 58, co = 61, po = 62, fo = 63, mo = 64, nr = 91, rr = 93, go = 96, ar = 123, ho = 124, ir = 125, oe = {};
2114
2114
  oe[0] = "\\0";
2115
2115
  oe[7] = "\\a";
2116
2116
  oe[8] = "\\b";
@@ -2202,14 +2202,14 @@ function rn(e, t, n) {
2202
2202
  (n ? (
2203
2203
  // c = flow-in
2204
2204
  r
2205
- ) : r && e !== tr && e !== nr && e !== rr && e !== ar && e !== ir) && e !== ht && !(t === Ye && !a) || nn(t) && !Ze(t) && e === ht || t === Ye && a
2205
+ ) : r && e !== tr && e !== nr && e !== rr && e !== ar && e !== ir) && e !== ht && !(t === We && !a) || nn(t) && !Ze(t) && e === ht || t === We && a
2206
2206
  );
2207
2207
  }
2208
2208
  function Ao(e) {
2209
- return De(e) && e !== $t && !Ze(e) && e !== uo && e !== fo && e !== Ye && e !== tr && e !== nr && e !== rr && e !== ar && e !== ir && e !== ht && e !== oo && e !== so && e !== ro && e !== ho && e !== co && e !== po && e !== lo && e !== ao && e !== io && e !== mo && e !== go;
2209
+ return De(e) && e !== $t && !Ze(e) && e !== uo && e !== fo && e !== We && e !== tr && e !== nr && e !== rr && e !== ar && e !== ir && e !== ht && e !== oo && e !== so && e !== ro && e !== ho && e !== co && e !== po && e !== lo && e !== ao && e !== io && e !== mo && e !== go;
2210
2210
  }
2211
2211
  function So(e) {
2212
- return !Ze(e) && e !== Ye;
2212
+ return !Ze(e) && e !== We;
2213
2213
  }
2214
2214
  function Ue(e, t) {
2215
2215
  var n = e.charCodeAt(t), r;
@@ -2436,7 +2436,7 @@ var Ko = ae, Bo = Sn, Lo = Tn, Uo = Nn, Ro = Fn, Po = St, Vo = Qn.load, Do = Qn.
2436
2436
  omap: Rn,
2437
2437
  seq: _n,
2438
2438
  str: xn
2439
- }, Ho = Tt("safeLoad", "load"), Wo = Tt("safeLoadAll", "loadAll"), Yo = Tt("safeDump", "dump"), Zo = {
2439
+ }, Ho = Tt("safeLoad", "load"), Yo = Tt("safeLoadAll", "loadAll"), Wo = Tt("safeDump", "dump"), Zo = {
2440
2440
  Type: Ko,
2441
2441
  Schema: Bo,
2442
2442
  FAILSAFE_SCHEMA: Lo,
@@ -2449,10 +2449,10 @@ var Ko = ae, Bo = Sn, Lo = Tn, Uo = Nn, Ro = Fn, Po = St, Vo = Qn.load, Do = Qn.
2449
2449
  YAMLException: Go,
2450
2450
  types: Jo,
2451
2451
  safeLoad: Ho,
2452
- safeLoadAll: Wo,
2453
- safeDump: Yo
2452
+ safeLoadAll: Yo,
2453
+ safeDump: Wo
2454
2454
  };
2455
- const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2455
+ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ Y({
2456
2456
  __name: "YamlCodeBlock",
2457
2457
  props: {
2458
2458
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
@@ -2485,7 +2485,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2485
2485
  }, el = ["data-testid"], tl = {
2486
2486
  key: 0,
2487
2487
  class: "config-card-prop-section-title"
2488
- }, nl = /* @__PURE__ */ W({
2488
+ }, nl = /* @__PURE__ */ Y({
2489
2489
  __name: "ConfigCardDisplay",
2490
2490
  props: {
2491
2491
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -2587,7 +2587,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2587
2587
  }, ll = /* @__PURE__ */ al(() => /* @__PURE__ */ F("path", {
2588
2588
  d: "M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",
2589
2589
  fill: "currentColor"
2590
- }, null, -1)), sl = /* @__PURE__ */ W({
2590
+ }, null, -1)), sl = /* @__PURE__ */ Y({
2591
2591
  __name: "AddIcon",
2592
2592
  props: {
2593
2593
  /** The accessibility text provided to screen readers */
@@ -2686,7 +2686,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2686
2686
  }, fl = /* @__PURE__ */ cl(() => /* @__PURE__ */ F("path", {
2687
2687
  d: "M14 9.9V8.2C14.55 7.96667 15.1125 7.79167 15.6875 7.675C16.2625 7.55833 16.8667 7.5 17.5 7.5C17.9333 7.5 18.3583 7.53333 18.775 7.6C19.1917 7.66667 19.6 7.75 20 7.85V9.45C19.6 9.3 19.1958 9.1875 18.7875 9.1125C18.3792 9.0375 17.95 9 17.5 9C16.8667 9 16.2583 9.07917 15.675 9.2375C15.0917 9.39583 14.5333 9.61667 14 9.9ZM14 15.4V13.7C14.55 13.4667 15.1125 13.2917 15.6875 13.175C16.2625 13.0583 16.8667 13 17.5 13C17.9333 13 18.3583 13.0333 18.775 13.1C19.1917 13.1667 19.6 13.25 20 13.35V14.95C19.6 14.8 19.1958 14.6875 18.7875 14.6125C18.3792 14.5375 17.95 14.5 17.5 14.5C16.8667 14.5 16.2583 14.575 15.675 14.725C15.0917 14.875 14.5333 15.1 14 15.4ZM14 12.65V10.95C14.55 10.7167 15.1125 10.5417 15.6875 10.425C16.2625 10.3083 16.8667 10.25 17.5 10.25C17.9333 10.25 18.3583 10.2833 18.775 10.35C19.1917 10.4167 19.6 10.5 20 10.6V12.2C19.6 12.05 19.1958 11.9375 18.7875 11.8625C18.3792 11.7875 17.95 11.75 17.5 11.75C16.8667 11.75 16.2583 11.8292 15.675 11.9875C15.0917 12.1458 14.5333 12.3667 14 12.65ZM6.5 16C7.28333 16 8.04583 16.0875 8.7875 16.2625C9.52917 16.4375 10.2667 16.7 11 17.05V7.2C10.3167 6.8 9.59167 6.5 8.825 6.3C8.05833 6.1 7.28333 6 6.5 6C5.9 6 5.30417 6.05833 4.7125 6.175C4.12083 6.29167 3.55 6.46667 3 6.7V16.6C3.58333 16.4 4.1625 16.25 4.7375 16.15C5.3125 16.05 5.9 16 6.5 16ZM13 17.05C13.7333 16.7 14.4708 16.4375 15.2125 16.2625C15.9542 16.0875 16.7167 16 17.5 16C18.1 16 18.6875 16.05 19.2625 16.15C19.8375 16.25 20.4167 16.4 21 16.6V6.7C20.45 6.46667 19.8792 6.29167 19.2875 6.175C18.6958 6.05833 18.1 6 17.5 6C16.7167 6 15.9417 6.1 15.175 6.3C14.4083 6.5 13.6833 6.8 13 7.2V17.05ZM12 20C11.2 19.3667 10.3333 18.875 9.4 18.525C8.46667 18.175 7.5 18 6.5 18C5.8 18 5.1125 18.0917 4.4375 18.275C3.7625 18.4583 3.11667 18.7167 2.5 19.05C2.15 19.2333 1.8125 19.225 1.4875 19.025C1.1625 18.825 1 18.5333 1 18.15V6.1C1 5.91667 1.04583 5.74167 1.1375 5.575C1.22917 5.40833 1.36667 5.28333 1.55 5.2C2.31667 4.8 3.11667 4.5 3.95 4.3C4.78333 4.1 5.63333 4 6.5 4C7.46667 4 8.4125 4.125 9.3375 4.375C10.2625 4.625 11.15 5 12 5.5C12.85 5 13.7375 4.625 14.6625 4.375C15.5875 4.125 16.5333 4 17.5 4C18.3667 4 19.2167 4.1 20.05 4.3C20.8833 4.5 21.6833 4.8 22.45 5.2C22.6333 5.28333 22.7708 5.40833 22.8625 5.575C22.9542 5.74167 23 5.91667 23 6.1V18.15C23 18.5333 22.8375 18.825 22.5125 19.025C22.1875 19.225 21.85 19.2333 21.5 19.05C20.8833 18.7167 20.2375 18.4583 19.5625 18.275C18.8875 18.0917 18.2 18 17.5 18C16.5 18 15.5333 18.175 14.6 18.525C13.6667 18.875 12.8 19.3667 12 20Z",
2688
2688
  fill: "currentColor"
2689
- }, null, -1)), ml = /* @__PURE__ */ W({
2689
+ }, null, -1)), ml = /* @__PURE__ */ Y({
2690
2690
  __name: "BookIcon",
2691
2691
  props: {
2692
2692
  /** The accessibility text provided to screen readers */
@@ -2785,7 +2785,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2785
2785
  }, bl = /* @__PURE__ */ hl(() => /* @__PURE__ */ F("path", {
2786
2786
  d: "M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",
2787
2787
  fill: "currentColor"
2788
- }, null, -1)), kl = /* @__PURE__ */ W({
2788
+ }, null, -1)), kl = /* @__PURE__ */ Y({
2789
2789
  __name: "ChevronDownIcon",
2790
2790
  props: {
2791
2791
  /** The accessibility text provided to screen readers */
@@ -2884,7 +2884,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2884
2884
  }, Sl = /* @__PURE__ */ wl(() => /* @__PURE__ */ F("path", {
2885
2885
  d: "M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z",
2886
2886
  fill: "currentColor"
2887
- }, null, -1)), xl = /* @__PURE__ */ W({
2887
+ }, null, -1)), xl = /* @__PURE__ */ Y({
2888
2888
  __name: "CloseIcon",
2889
2889
  props: {
2890
2890
  /** The accessibility text provided to screen readers */
@@ -2980,7 +2980,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
2980
2980
  }), _l = /* @__PURE__ */ at(xl, [["__scopeId", "data-v-f8cd1668"]]), $l = {
2981
2981
  class: "config-card-title",
2982
2982
  "data-testid": "config-card-title"
2983
- }, Tl = { class: "config-card-actions" }, jl = ["href"], Ml = { class: "config-card-details-section" }, Ol = /* @__PURE__ */ W({
2983
+ }, Tl = { class: "config-card-actions" }, jl = ["href"], Ml = { class: "config-card-details-section" }, Ol = /* @__PURE__ */ Y({
2984
2984
  __name: "EntityBaseConfigCard",
2985
2985
  props: {
2986
2986
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3077,7 +3077,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3077
3077
  d.value = m == null ? void 0 : m.value;
3078
3078
  }, b = {
3079
3079
  id: {
3080
- type: Y.ID,
3080
+ type: W.ID,
3081
3081
  label: i("baseConfigCard.commonFields.id_label"),
3082
3082
  order: 0,
3083
3083
  section: ue.Basic
@@ -3087,24 +3087,24 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3087
3087
  section: ue.Basic
3088
3088
  },
3089
3089
  enabled: {
3090
- type: Y.BadgeStatus,
3090
+ type: W.BadgeStatus,
3091
3091
  order: 2,
3092
3092
  section: ue.Basic
3093
3093
  },
3094
3094
  updated_at: {
3095
- type: Y.Date,
3095
+ type: W.Date,
3096
3096
  label: i("baseConfigCard.commonFields.updated_at_label"),
3097
3097
  order: 3,
3098
3098
  section: ue.Basic
3099
3099
  },
3100
3100
  created_at: {
3101
- type: Y.Date,
3101
+ type: W.Date,
3102
3102
  label: i("baseConfigCard.commonFields.created_at_label"),
3103
3103
  order: 4,
3104
3104
  section: ue.Basic
3105
3105
  },
3106
3106
  tags: {
3107
- type: Y.BadgeTag,
3107
+ type: W.BadgeTag,
3108
3108
  order: -1,
3109
3109
  // the last property displayed
3110
3110
  section: ue.Basic
@@ -3128,7 +3128,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3128
3128
  key: B,
3129
3129
  value: V,
3130
3130
  hidden: D.hidden || !1,
3131
- type: D.type ?? ((ie == null ? void 0 : ie.type) || Y.Text),
3131
+ type: D.type ?? ((ie == null ? void 0 : ie.type) || W.Text),
3132
3132
  label: D.label ?? ((ie == null ? void 0 : ie.label) || l(B)),
3133
3133
  tooltip: D.tooltip ?? ((ie == null ? void 0 : ie.tooltip) || void 0),
3134
3134
  section: D.section ?? ((ie == null ? void 0 : ie.section) || ue.Advanced)
@@ -3153,7 +3153,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3153
3153
  key: x,
3154
3154
  value: B,
3155
3155
  hidden: V.hidden || !1,
3156
- type: V.type ?? Y.Text,
3156
+ type: V.type ?? W.Text,
3157
3157
  label: V.label ?? l(x),
3158
3158
  tooltip: V.tooltip ?? void 0,
3159
3159
  section: ue.Plugin
@@ -3291,10 +3291,10 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3291
3291
  ]), 1032, ["title-tag"]);
3292
3292
  };
3293
3293
  }
3294
- }), El = /* @__PURE__ */ fe(Ol, [["__scopeId", "data-v-f40a683b"]]), Nl = {
3294
+ }), El = /* @__PURE__ */ fe(Ol, [["__scopeId", "data-v-f40a683b"]]), Nl = ["novalidate"], Fl = {
3295
3295
  class: "form-actions",
3296
3296
  "data-testid": "form-actions"
3297
- }, Fl = /* @__PURE__ */ W({
3297
+ }, ql = /* @__PURE__ */ Y({
3298
3298
  __name: "EntityBaseForm",
3299
3299
  props: {
3300
3300
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3344,6 +3344,13 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3344
3344
  formFields: {
3345
3345
  type: Object,
3346
3346
  required: !0
3347
+ },
3348
+ /**
3349
+ * Set true to disable the form validation upon submission.
3350
+ */
3351
+ noValidate: {
3352
+ type: Boolean,
3353
+ default: !1
3347
3354
  }
3348
3355
  },
3349
3356
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
@@ -3406,6 +3413,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3406
3413
  }, 8, ["action-button-text"])) : (y(), E("form", {
3407
3414
  key: 2,
3408
3415
  "data-testid": "form-content",
3416
+ novalidate: a.noValidate,
3409
3417
  onReset: ft(R, ["prevent"]),
3410
3418
  onSubmit: ft(q, ["prevent"])
3411
3419
  }, [
@@ -3416,7 +3424,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3416
3424
  "data-testid": "form-error",
3417
3425
  message: e.errorMessage
3418
3426
  }, null, 8, ["message"])) : G("", !0),
3419
- F("div", Nl, [
3427
+ F("div", Fl, [
3420
3428
  Q(C.$slots, "form-actions", {}, () => [
3421
3429
  T(p, {
3422
3430
  appearance: "tertiary",
@@ -3452,7 +3460,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3452
3460
  }, 8, ["disabled"])
3453
3461
  ], !0)
3454
3462
  ])
3455
- ], 32)),
3463
+ ], 40, Nl)),
3456
3464
  T(M, {
3457
3465
  "close-on-blur": !1,
3458
3466
  "data-testid": "form-view-configuration-slideout",
@@ -3491,10 +3499,10 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3491
3499
  });
3492
3500
  };
3493
3501
  }
3494
- }), ql = /* @__PURE__ */ fe(Fl, [["__scopeId", "data-v-46e6a6e5"]]), Kl = {
3502
+ }), Kl = /* @__PURE__ */ fe(ql, [["__scopeId", "data-v-3def74fe"]]), Bl = {
3495
3503
  key: 0,
3496
3504
  "data-testid": "first-col"
3497
- }, Bl = /* @__PURE__ */ W({
3505
+ }, Ll = /* @__PURE__ */ Y({
3498
3506
  __name: "EntityBaseTableCell",
3499
3507
  props: {
3500
3508
  keyName: {
@@ -3550,7 +3558,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3550
3558
  ref: s,
3551
3559
  class: "content-wrapper"
3552
3560
  }, [
3553
- a.value ? (y(), E("span", Kl, [
3561
+ a.value ? (y(), E("span", Bl, [
3554
3562
  T(R, {
3555
3563
  "max-width": "300",
3556
3564
  placement: "bottomStart",
@@ -3565,10 +3573,10 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3565
3573
  ], 512);
3566
3574
  };
3567
3575
  }
3568
- }), Ll = /* @__PURE__ */ fe(Bl, [["__scopeId", "data-v-c4379fd4"]]), Ul = { class: "toolbar-container" }, Rl = {
3576
+ }), Ul = /* @__PURE__ */ fe(Ll, [["__scopeId", "data-v-c4379fd4"]]), Rl = { class: "toolbar-container" }, Pl = {
3569
3577
  key: 0,
3570
3578
  class: "toolbar-button-container"
3571
- }, Pl = ["data-testid"], Vl = /* @__PURE__ */ W({
3579
+ }, Vl = ["data-testid"], Dl = /* @__PURE__ */ Y({
3572
3580
  __name: "EntityBaseTable",
3573
3581
  props: {
3574
3582
  // table header configuration
@@ -3779,9 +3787,9 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3779
3787
  "onUpdate:tablePreferences": C
3780
3788
  }, Te({
3781
3789
  toolbar: v(({ state: S }) => [
3782
- ke(F("div", Ul, [
3790
+ ke(F("div", Rl, [
3783
3791
  Q(h.$slots, "toolbar-filter", {}, void 0, !0),
3784
- h.$slots["toolbar-button"] ? (y(), E("div", Rl, [
3792
+ h.$slots["toolbar-button"] ? (y(), E("div", Pl, [
3785
3793
  Q(h.$slots, "toolbar-button", {}, void 0, !0)
3786
3794
  ])) : G("", !0)
3787
3795
  ], 512), [
@@ -3822,14 +3830,14 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3822
3830
  ]),
3823
3831
  _: 2
3824
3832
  }, 1032, ["width"])
3825
- ], 8, Pl)
3833
+ ], 8, Vl)
3826
3834
  ]),
3827
3835
  _: 2
3828
3836
  }, [
3829
3837
  de(e.tableHeaders, (S, x) => ({
3830
3838
  name: x,
3831
3839
  fn: v(({ row: B, rowKey: V, rowValue: D }) => [
3832
- T(Ll, {
3840
+ T(Ul, {
3833
3841
  "key-name": String(x),
3834
3842
  "row-el": c(B)
3835
3843
  }, {
@@ -3859,13 +3867,13 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3859
3867
  }, 8, ["title", "title-tag"]);
3860
3868
  };
3861
3869
  }
3862
- }), Dl = /* @__PURE__ */ fe(Vl, [["__scopeId", "data-v-99908c24"]]), zl = {
3870
+ }), zl = /* @__PURE__ */ fe(Dl, [["__scopeId", "data-v-99908c24"]]), Gl = {
3863
3871
  key: 0,
3864
3872
  class: "kong-ui-entity-delete-error"
3865
- }, Gl = {
3873
+ }, Jl = {
3866
3874
  key: 1,
3867
3875
  class: "description"
3868
- }, Jl = /* @__PURE__ */ W({
3876
+ }, Hl = /* @__PURE__ */ Y({
3869
3877
  __name: "EntityDeleteModal",
3870
3878
  props: {
3871
3879
  visible: {
@@ -3923,7 +3931,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3923
3931
  onProceed: l
3924
3932
  }, {
3925
3933
  default: v(() => [
3926
- e.error ? (y(), E("div", zl, [
3934
+ e.error ? (y(), E("div", Gl, [
3927
3935
  T(d, { appearance: "danger" }, {
3928
3936
  default: v(() => [
3929
3937
  J(j(e.error), 1)
@@ -3949,7 +3957,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3949
3957
  key: "0"
3950
3958
  } : void 0
3951
3959
  ]), 1032, ["keypath"]),
3952
- r.description || s.$slots.description ? (y(), E("div", Gl, [
3960
+ r.description || s.$slots.description ? (y(), E("div", Jl, [
3953
3961
  Q(s.$slots, "description", {}, () => [
3954
3962
  F("p", null, j(r.description), 1)
3955
3963
  ], !0)
@@ -3959,13 +3967,13 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3959
3967
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3960
3968
  };
3961
3969
  }
3962
- }), Hl = /* @__PURE__ */ fe(Jl, [["__scopeId", "data-v-4361d622"]]), Wl = {
3970
+ }), Yl = /* @__PURE__ */ fe(Hl, [["__scopeId", "data-v-4361d622"]]), Wl = {
3963
3971
  fill: "none",
3964
3972
  height: "20",
3965
3973
  viewBox: "0 0 20 20",
3966
3974
  width: "20",
3967
3975
  xmlns: "http://www.w3.org/2000/svg"
3968
- }, Yl = {
3976
+ }, Zl = {
3969
3977
  id: "mask0_180_20349",
3970
3978
  height: "20",
3971
3979
  maskUnits: "userSpaceOnUse",
@@ -3973,7 +3981,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3973
3981
  width: "20",
3974
3982
  x: "0",
3975
3983
  y: "0"
3976
- }, Zl = ["fill"], Ql = { mask: "url(#mask0_180_20349)" }, Xl = ["fill"], cn = /* @__PURE__ */ W({
3984
+ }, Ql = ["fill"], Xl = { mask: "url(#mask0_180_20349)" }, es = ["fill"], cn = /* @__PURE__ */ Y({
3977
3985
  __name: "IconFilter",
3978
3986
  props: {
3979
3987
  color: {
@@ -3983,25 +3991,25 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
3983
3991
  },
3984
3992
  setup(e) {
3985
3993
  return (t, n) => (y(), E("svg", Wl, [
3986
- F("mask", Yl, [
3994
+ F("mask", Zl, [
3987
3995
  F("rect", {
3988
3996
  fill: e.color,
3989
3997
  height: "20",
3990
3998
  width: "20"
3991
- }, null, 8, Zl)
3999
+ }, null, 8, Ql)
3992
4000
  ]),
3993
- F("g", Ql, [
4001
+ F("g", Xl, [
3994
4002
  F("path", {
3995
4003
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3996
4004
  fill: e.color
3997
- }, null, 8, Xl)
4005
+ }, null, 8, es)
3998
4006
  ])
3999
4007
  ]));
4000
4008
  }
4001
- }), es = {
4009
+ }), ts = {
4002
4010
  key: 1,
4003
4011
  class: "kong-ui-entity-filter"
4004
- }, ts = { class: "kong-ui-entity-filter-menu" }, ns = ["data-testid"], rs = ["onClick", "onKeydown"], as = { class: "menu-item-indicator" }, is = { class: "menu-item-body" }, os = ["for"], ls = { class: "menu-item-buttons" }, ss = { class: "filter-clear-button-container" }, us = /* @__PURE__ */ W({
4012
+ }, ns = { class: "kong-ui-entity-filter-menu" }, rs = ["data-testid"], as = ["onClick", "onKeydown"], is = { class: "menu-item-indicator" }, os = { class: "menu-item-body" }, ls = ["for"], ss = { class: "menu-item-buttons" }, us = { class: "filter-clear-button-container" }, cs = /* @__PURE__ */ Y({
4005
4013
  __name: "EntityFilter",
4006
4014
  props: {
4007
4015
  // filter config, either exact match or fuzzy match
@@ -4090,7 +4098,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4090
4098
  ])
4091
4099
  ]),
4092
4100
  _: 1
4093
- }, 8, ["model-value", "placeholder"])) : (y(), E("div", es, [
4101
+ }, 8, ["model-value", "placeholder"])) : (y(), E("div", ts, [
4094
4102
  T(L, {
4095
4103
  appearance: "tertiary",
4096
4104
  "data-testid": "filter-button",
@@ -4108,7 +4116,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4108
4116
  }, null, 512), [
4109
4117
  [Ce, i.value]
4110
4118
  ]),
4111
- ke(F("div", ts, [
4119
+ ke(F("div", ns, [
4112
4120
  (y(!0), E(pe, null, de(u.value, (p) => {
4113
4121
  var K, M;
4114
4122
  return y(), E("div", {
@@ -4124,19 +4132,19 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4124
4132
  onKeydown: kr((S) => c(p.value), ["enter"])
4125
4133
  }, [
4126
4134
  J(j(p.label) + " ", 1),
4127
- ke(F("span", as, null, 512), [
4135
+ ke(F("span", is, null, 512), [
4128
4136
  [Ce, s.value.includes(p.value)]
4129
4137
  ]),
4130
4138
  T(g(Cl), {
4131
4139
  class: Ie(["menu-item-expand-icon", { expanded: l.value.has(p.value) }]),
4132
4140
  color: g(ma)
4133
4141
  }, null, 8, ["class", "color"])
4134
- ], 42, rs),
4135
- ke(F("div", is, [
4142
+ ], 42, as),
4143
+ ke(F("div", os, [
4136
4144
  F("label", {
4137
4145
  class: "menu-item-label",
4138
4146
  for: A(p.value)
4139
- }, j(g(n)("filter.fieldLabel")), 9, os),
4147
+ }, j(g(n)("filter.fieldLabel")), 9, ls),
4140
4148
  ((M = (K = e.config.schema) == null ? void 0 : K[p.value]) == null ? void 0 : M.type) === "select" ? (y(), P(k, {
4141
4149
  key: 0,
4142
4150
  id: A(p.value),
@@ -4156,7 +4164,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4156
4164
  ], 512), [
4157
4165
  [Ce, l.value.has(p.value)]
4158
4166
  ]),
4159
- ke(F("div", ls, [
4167
+ ke(F("div", ss, [
4160
4168
  T(L, {
4161
4169
  appearance: "tertiary",
4162
4170
  "data-testid": "apply-filter",
@@ -4182,9 +4190,9 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4182
4190
  ], 512), [
4183
4191
  [Ce, l.value.has(p.value)]
4184
4192
  ])
4185
- ], 8, ns);
4193
+ ], 8, rs);
4186
4194
  }), 128)),
4187
- F("div", ss, [
4195
+ F("div", us, [
4188
4196
  T(L, {
4189
4197
  appearance: "tertiary",
4190
4198
  size: "small",
@@ -4202,7 +4210,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4202
4210
  ]));
4203
4211
  };
4204
4212
  }
4205
- }), cs = /* @__PURE__ */ fe(us, [["__scopeId", "data-v-8cfadde3"]]), ze = /* @__PURE__ */ W({
4213
+ }), ds = /* @__PURE__ */ fe(cs, [["__scopeId", "data-v-8cfadde3"]]), ze = /* @__PURE__ */ Y({
4206
4214
  __name: "PermissionsWrapper",
4207
4215
  props: {
4208
4216
  /**
@@ -4232,13 +4240,13 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4232
4240
  isAllowed: n.value
4233
4241
  }) : G("", !0);
4234
4242
  }
4235
- }), ds = { class: "form-section-wrapper" }, ps = {
4243
+ }), ps = { class: "form-section-wrapper" }, fs = {
4236
4244
  key: 1,
4237
4245
  class: "form-section-description"
4238
- }, fs = {
4246
+ }, ms = {
4239
4247
  key: 2,
4240
4248
  class: "form-section-footer"
4241
- }, ms = { class: "form-section-content" }, gs = /* @__PURE__ */ W({
4249
+ }, gs = { class: "form-section-content" }, hs = /* @__PURE__ */ Y({
4242
4250
  __name: "EntityFormSection",
4243
4251
  props: {
4244
4252
  title: {
@@ -4271,7 +4279,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4271
4279
  return (n, r) => (y(), E("fieldset", {
4272
4280
  class: Ie(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4273
4281
  }, [
4274
- F("div", ds, [
4282
+ F("div", ps, [
4275
4283
  e.hideInfoHeader ? G("", !0) : (y(), E("div", {
4276
4284
  key: 0,
4277
4285
  class: Ie(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -4285,28 +4293,28 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4285
4293
  ]),
4286
4294
  _: 1
4287
4295
  })) : G("", !0),
4288
- e.description || g(t).description ? (y(), E("div", ps, [
4296
+ e.description || g(t).description ? (y(), E("div", fs, [
4289
4297
  Q(n.$slots, "description", {}, () => [
4290
4298
  F("p", null, j(e.description), 1)
4291
4299
  ], !0)
4292
4300
  ])) : G("", !0),
4293
- g(t).footer ? (y(), E("div", fs, [
4301
+ g(t).footer ? (y(), E("div", ms, [
4294
4302
  Q(n.$slots, "footer", {}, void 0, !0)
4295
4303
  ])) : G("", !0)
4296
4304
  ], 2)),
4297
- F("div", ms, [
4305
+ F("div", gs, [
4298
4306
  Q(n.$slots, "default", {}, void 0, !0)
4299
4307
  ])
4300
4308
  ])
4301
4309
  ], 2));
4302
4310
  }
4303
- }), hs = /* @__PURE__ */ fe(gs, [["__scopeId", "data-v-4bb31634"]]), { useAxios: jt, useDeleteUrlBuilder: ys, useErrors: vs, useExternalLinkCreator: Hs, useFetchUrlBuilder: Ws, useFetcher: bs, useDebouncedFilter: ks, useStringHelpers: Ys, useHelpers: Zs, useGatewayFeatureSupported: Qs, useTruncationDetector: Xs, useValidators: eu } = ne, Cs = { class: "add-consumer-form-container" }, ws = { class: "add-consumer-form-cta" }, Is = { class: "select-item-label" }, As = {
4311
+ }), ys = /* @__PURE__ */ fe(hs, [["__scopeId", "data-v-4bb31634"]]), { useAxios: jt, useDeleteUrlBuilder: vs, useErrors: bs, useExternalLinkCreator: Ys, useFetchUrlBuilder: Ws, useFetcher: ks, useDebouncedFilter: Cs, useStringHelpers: Zs, useHelpers: Qs, useGatewayFeatureSupported: Xs, useTruncationDetector: eu, useValidators: tu } = ne, ws = { class: "add-consumer-form-container" }, Is = { class: "add-consumer-form-cta" }, As = { class: "select-item-label" }, Ss = {
4304
4312
  key: 0,
4305
4313
  class: "select-item-desc"
4306
- }, Ss = {
4314
+ }, xs = {
4307
4315
  key: 0,
4308
4316
  class: "kong-ui-entity-add-consumers-error"
4309
- }, xs = { key: 0 }, _s = /* @__PURE__ */ W({
4317
+ }, _s = { key: 0 }, $s = /* @__PURE__ */ Y({
4310
4318
  __name: "AddConsumerModal",
4311
4319
  props: {
4312
4320
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4331,7 +4339,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4331
4339
  error: d,
4332
4340
  loadItems: c,
4333
4341
  results: b
4334
- } = ks(
4342
+ } = Cs(
4335
4343
  r.config,
4336
4344
  je.list[r.config.app].all,
4337
4345
  "",
@@ -4405,8 +4413,8 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4405
4413
  onProceed: L
4406
4414
  }, {
4407
4415
  default: v(() => [
4408
- F("div", Cs, [
4409
- F("p", ws, j(g(n)("consumers.consumer_groups.add.ctaText")), 1),
4416
+ F("div", ws, [
4417
+ F("p", Is, j(g(n)("consumers.consumer_groups.add.ctaText")), 1),
4410
4418
  T(V, {
4411
4419
  modelValue: o.value,
4412
4420
  "onUpdate:modelValue": B[0] || (B[0] = (me) => o.value = me),
@@ -4423,16 +4431,16 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4423
4431
  onQueryChange: g(l)
4424
4432
  }, {
4425
4433
  "item-template": v(({ item: me }) => [
4426
- F("div", Is, j(me.label), 1),
4427
- f(me).data.username && f(me).data.custom_id ? (y(), E("div", As, j(f(me).data.custom_id), 1)) : G("", !0)
4434
+ F("div", As, j(me.label), 1),
4435
+ f(me).data.username && f(me).data.custom_id ? (y(), E("div", Ss, j(f(me).data.custom_id), 1)) : G("", !0)
4428
4436
  ]),
4429
4437
  _: 1
4430
4438
  }, 8, ["modelValue", "dropdown-footer-text", "items", "label", "loading", "placeholder", "readonly", "onQueryChange"]),
4431
- m.value || A.value || K.value.length ? (y(), E("div", Ss, [
4439
+ m.value || A.value || K.value.length ? (y(), E("div", xs, [
4432
4440
  T(D, { appearance: "danger" }, {
4433
4441
  default: v(() => [
4434
4442
  F("p", null, j(g(n)("consumers.errors.add")), 1),
4435
- K.value.length ? (y(), E("ul", xs, [
4443
+ K.value.length ? (y(), E("ul", _s, [
4436
4444
  (y(!0), E(pe, null, de(K.value, (me, it) => (y(), E("li", { key: it }, j(me), 1))), 128))
4437
4445
  ])) : G("", !0),
4438
4446
  F("div", null, j(m.value || A.value), 1)
@@ -4451,7 +4459,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4451
4459
  for (const [r, a] of t)
4452
4460
  n[r] = a;
4453
4461
  return n;
4454
- }, $s = /* @__PURE__ */ Mt(_s, [["__scopeId", "data-v-d54468ab"]]), Ts = { class: "kong-ui-entities-consumers-list" }, js = { key: 1 }, Ms = /* @__PURE__ */ W({
4462
+ }, Ts = /* @__PURE__ */ Mt($s, [["__scopeId", "data-v-d54468ab"]]), js = { class: "kong-ui-entities-consumers-list" }, Ms = { key: 1 }, Os = /* @__PURE__ */ Y({
4455
4463
  __name: "ConsumerList",
4456
4464
  props: {
4457
4465
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4523,7 +4531,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4523
4531
  },
4524
4532
  schema: r.config.filterSchema
4525
4533
  };
4526
- }), q = _(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: Z, fetcherState: C } = bs(r.config, w.value, q.value), h = () => {
4534
+ }), q = _(() => u.value && !r.config.paginatedEndpoint ? "consumers" : void 0), { fetcher: Z, fetcherState: C } = ks(r.config, w.value, q.value), h = () => {
4527
4535
  I.value = "";
4528
4536
  }, m = () => {
4529
4537
  s.value++;
@@ -4564,7 +4572,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4564
4572
  }), x = ($) => ({
4565
4573
  label: i("consumers.actions.edit"),
4566
4574
  to: r.config.getEditRoute($)
4567
- }), B = N(void 0), V = N(!1), D = N(!1), ie = N(""), me = ys(r.config, w.value), it = ($) => {
4575
+ }), B = N(void 0), V = N(!1), D = N(!1), ie = N(""), me = vs(r.config, w.value), it = ($) => {
4568
4576
  B.value = $, V.value = !0;
4569
4577
  }, dr = () => {
4570
4578
  V.value = !1;
@@ -4629,8 +4637,8 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4629
4637
  await r.canCreate() && (st.value.title = u.value ? i("consumers.list.empty_state.title_for_consumer_group") : i("consumers.list.empty_state.title"), st.value.ctaText = u.value ? i("consumers.actions.add_consumer") : i("consumers.actions.create"));
4630
4638
  }), ($, z) => {
4631
4639
  const X = U("KButton"), se = U("KBadge"), ge = U("KTruncate"), Le = U("KDropdownItem"), Lt = U("KClipboardProvider"), vr = U("KPrompt");
4632
- return y(), E("div", Ts, [
4633
- T(g(Dl), {
4640
+ return y(), E("div", js, [
4641
+ T(g(zl), {
4634
4642
  "cache-identifier": e.cacheIdentifier,
4635
4643
  "disable-pagination": u.value && !e.config.paginatedEndpoint,
4636
4644
  "disable-pagination-page-jump": "",
@@ -4652,7 +4660,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4652
4660
  onSort: m
4653
4661
  }, {
4654
4662
  "toolbar-filter": v(() => [
4655
- u.value ? G("", !0) : (y(), P(g(cs), {
4663
+ u.value ? G("", !0) : (y(), P(g(ds), {
4656
4664
  key: 0,
4657
4665
  modelValue: I.value,
4658
4666
  "onUpdate:modelValue": z[0] || (z[0] = (H) => I.value = H),
@@ -4711,7 +4719,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4711
4719
  }, 1024))), 128))
4712
4720
  ]),
4713
4721
  _: 2
4714
- }, 1024)) : (y(), E("span", js, "-"))
4722
+ }, 1024)) : (y(), E("span", Ms, "-"))
4715
4723
  ]),
4716
4724
  actions: v(({ row: H }) => [
4717
4725
  T(Lt, null, {
@@ -4786,7 +4794,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4786
4794
  ]),
4787
4795
  _: 1
4788
4796
  }, 8, ["cache-identifier", "disable-pagination", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "preferences-storage-key", "query", "table-headers", "use-action-outside"]),
4789
- T(g(Hl), {
4797
+ T(g(Yl), {
4790
4798
  "action-button-disabled": D.value,
4791
4799
  "data-testid": "delete-consumer-modal",
4792
4800
  description: g(i)("consumers.delete.description"),
@@ -4798,7 +4806,7 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4798
4806
  onCancel: dr,
4799
4807
  onProceed: pr
4800
4808
  }, null, 8, ["action-button-disabled", "description", "entity-name", "entity-type", "error", "title", "visible"]),
4801
- e.config.consumerGroupId ? (y(), P($s, {
4809
+ e.config.consumerGroupId ? (y(), P(Ts, {
4802
4810
  key: 0,
4803
4811
  config: e.config,
4804
4812
  "data-testid": "add-consumer-modal",
@@ -4842,37 +4850,37 @@ const Qo = { class: "yaml-config" }, cr = /* @__PURE__ */ W({
4842
4850
  ]);
4843
4851
  };
4844
4852
  }
4845
- }), tu = /* @__PURE__ */ Mt(Ms, [["__scopeId", "data-v-7bf00df6"]]);
4853
+ }), nu = /* @__PURE__ */ Mt(Os, [["__scopeId", "data-v-7bf00df6"]]);
4846
4854
  let Ge;
4847
- const Os = new Uint8Array(16);
4848
- function Es() {
4855
+ const Es = new Uint8Array(16);
4856
+ function Ns() {
4849
4857
  if (!Ge && (Ge = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ge))
4850
4858
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
4851
- return Ge(Os);
4859
+ return Ge(Es);
4852
4860
  }
4853
4861
  const re = [];
4854
4862
  for (let e = 0; e < 256; ++e)
4855
4863
  re.push((e + 256).toString(16).slice(1));
4856
- function Ns(e, t = 0) {
4864
+ function Fs(e, t = 0) {
4857
4865
  return re[e[t + 0]] + re[e[t + 1]] + re[e[t + 2]] + re[e[t + 3]] + "-" + re[e[t + 4]] + re[e[t + 5]] + "-" + re[e[t + 6]] + re[e[t + 7]] + "-" + re[e[t + 8]] + re[e[t + 9]] + "-" + re[e[t + 10]] + re[e[t + 11]] + re[e[t + 12]] + re[e[t + 13]] + re[e[t + 14]] + re[e[t + 15]];
4858
4866
  }
4859
- const Fs = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), dn = {
4860
- randomUUID: Fs
4867
+ const qs = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), dn = {
4868
+ randomUUID: qs
4861
4869
  };
4862
- function qs(e, t, n) {
4870
+ function Ks(e, t, n) {
4863
4871
  if (dn.randomUUID && !t && !e)
4864
4872
  return dn.randomUUID();
4865
4873
  e = e || {};
4866
- const r = e.random || (e.rng || Es)();
4874
+ const r = e.random || (e.rng || Ns)();
4867
4875
  if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
4868
4876
  n = n || 0;
4869
4877
  for (let a = 0; a < 16; ++a)
4870
4878
  t[n + a] = r[a];
4871
4879
  return t;
4872
4880
  }
4873
- return Ns(r);
4881
+ return Fs(r);
4874
4882
  }
4875
- const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { class: "fields-group-text" }, Us = ["aria-labelledby"], Rs = /* @__PURE__ */ W({
4883
+ const Bs = { class: "kong-ui-entities-consumer-form" }, Ls = ["id"], Us = { class: "fields-group-text" }, Rs = ["aria-labelledby"], Ps = /* @__PURE__ */ Y({
4876
4884
  __name: "ConsumerForm",
4877
4885
  props: {
4878
4886
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -4891,7 +4899,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
4891
4899
  emits: ["update", "error", "loading"],
4892
4900
  setup(e, { emit: t }) {
4893
4901
  var L;
4894
- const n = e, r = t, { i18nT: a, i18n: { t: i } } = tt.useI18n(), o = wt(), { axiosInstance: l } = jt((L = n.config) == null ? void 0 : L.axiosRequestConfig), { getMessageFromError: s } = vs(), u = qs(), d = Ut({
4902
+ const n = e, r = t, { i18nT: a, i18n: { t: i } } = tt.useI18n(), o = wt(), { axiosInstance: l } = jt((L = n.config) == null ? void 0 : L.axiosRequestConfig), { getMessageFromError: s } = bs(), u = Ks(), d = Ut({
4895
4903
  fields: {
4896
4904
  username: "",
4897
4905
  customId: "",
@@ -4943,8 +4951,8 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
4943
4951
  };
4944
4952
  return (k, p) => {
4945
4953
  const K = U("KInput"), M = U("KCard");
4946
- return y(), E("div", Ks, [
4947
- T(g(ql), {
4954
+ return y(), E("div", Bs, [
4955
+ T(g(Kl), {
4948
4956
  "can-submit": Z.value && C.value,
4949
4957
  config: e.config,
4950
4958
  "edit-id": e.consumerId,
@@ -4960,7 +4968,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
4960
4968
  }, {
4961
4969
  default: v(() => [
4962
4970
  F("div", null, [
4963
- T(g(hs), {
4971
+ T(g(ys), {
4964
4972
  description: g(i)("consumers.form.info.description"),
4965
4973
  "has-divider": "",
4966
4974
  title: g(i)("consumers.form.info.title")
@@ -4970,8 +4978,8 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
4970
4978
  F("h3", {
4971
4979
  id: `fields-group-title-${g(u)}`,
4972
4980
  class: "fields-group-title"
4973
- }, j(g(i)("consumers.form.consumer_identification.title")) + "* ", 9, Bs),
4974
- F("p", Ls, j(g(i)("consumers.form.consumer_identification.description")), 1)
4981
+ }, j(g(i)("consumers.form.consumer_identification.title")) + "* ", 9, Ls),
4982
+ F("p", Us, j(g(i)("consumers.form.consumer_identification.description")), 1)
4975
4983
  ]),
4976
4984
  T(M, null, {
4977
4985
  default: v(() => [
@@ -5033,7 +5041,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
5033
5041
  ]),
5034
5042
  _: 1
5035
5043
  }, 8, ["modelValue", "label", "placeholder", "readonly"])
5036
- ], 8, Us)
5044
+ ], 8, Rs)
5037
5045
  ]),
5038
5046
  _: 1
5039
5047
  }),
@@ -5063,7 +5071,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
5063
5071
  ]);
5064
5072
  };
5065
5073
  }
5066
- }), nu = /* @__PURE__ */ Mt(Rs, [["__scopeId", "data-v-d3813a74"]]), Ps = { class: "kong-ui-consumer-entity-config-card" }, ru = /* @__PURE__ */ W({
5074
+ }), ru = /* @__PURE__ */ Mt(Ps, [["__scopeId", "data-v-d3813a74"]]), Vs = { class: "kong-ui-consumer-entity-config-card" }, au = /* @__PURE__ */ Y({
5067
5075
  __name: "ConsumerConfigCard",
5068
5076
  props: {
5069
5077
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -5115,7 +5123,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
5115
5123
  hidden: !0
5116
5124
  }
5117
5125
  });
5118
- return (o, l) => (y(), E("div", Ps, [
5126
+ return (o, l) => (y(), E("div", Vs, [
5119
5127
  T(g(El), {
5120
5128
  config: e.config,
5121
5129
  "config-card-doc": e.configCardDoc,
@@ -5154,7 +5162,7 @@ const Ks = { class: "kong-ui-entities-consumer-form" }, Bs = ["id"], Ls = { clas
5154
5162
  }
5155
5163
  });
5156
5164
  export {
5157
- ru as ConsumerConfigCard,
5158
- nu as ConsumerForm,
5159
- tu as ConsumerList
5165
+ au as ConsumerConfigCard,
5166
+ ru as ConsumerForm,
5167
+ nu as ConsumerList
5160
5168
  };