@kong-ui-public/entities-shared 2.12.11-pr.1301.c5a972cd.0 → 3.0.0

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,6 +1,6 @@
1
- import { inject as In, ref as R, unref as I, computed as k, watch as Ae, defineComponent as H, openBlock as h, createBlock as K, resolveDynamicComponent as fe, normalizeClass as ue, withCtx as x, createElementBlock as S, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as B, createVNode as N, createTextVNode as V, useCssVars as Tt, useSlots as Ze, renderSlot as Y, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as $e, onBeforeMount as Ft, withModifiers as Ve, onMounted as On, onUnmounted as $n, withDirectives as he, vShow as me, withKeys as Ln, Teleport as Nn } from "vue";
1
+ import { inject as In, ref as B, unref as I, computed as k, watch as Ae, defineComponent as H, openBlock as h, createBlock as K, resolveDynamicComponent as fe, normalizeClass as ue, withCtx as x, createElementBlock as S, createElementVNode as L, toDisplayString as O, createCommentVNode as D, Fragment as le, renderList as ie, resolveComponent as R, createVNode as N, createTextVNode as V, useCssVars as Tt, useSlots as Ze, renderSlot as Y, createSlots as _e, normalizeProps as En, guardReactiveProps as Tn, mergeProps as Fn, normalizeStyle as Fe, pushScopeId as Oe, popScopeId as $e, onBeforeMount as Ft, withModifiers as Ve, onMounted as On, onUnmounted as $n, withDirectives as he, vShow as me, withKeys as Ln, Teleport as Nn } from "vue";
2
2
  import ot from "axios";
3
- import { createI18n as Bn, i18nTComponent as Rn } from "@kong-ui-public/i18n";
3
+ import { createI18n as Rn, i18nTComponent as Bn } from "@kong-ui-public/i18n";
4
4
  import { BadgeMethodAppearances as Kn } from "@kong/kongponents";
5
5
  import { useRouter as Mn } from "vue-router";
6
6
  var Dn = /* @__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))(Dn || {}), jn = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(jn || {}), ve = /* @__PURE__ */ ((e) => (e[e.Loading = 0] = "Loading", e[e.Idle = 1] = "Idle", e[e.NoResults = 2] = "NoResults", e[e.Error = 3] = "Error", e))(ve || {}), P = /* @__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))(P || {}), ne = /* @__PURE__ */ ((e) => (e.Basic = "basic", e.Advanced = "advanced", e.Plugin = "plugin", e))(ne || {});
@@ -191,10 +191,10 @@ const Vn = {
191
191
  toggleModal: er
192
192
  };
193
193
  function De() {
194
- const e = Bn("en-us", tr);
194
+ const e = Rn("en-us", tr);
195
195
  return {
196
196
  i18n: e,
197
- i18nT: Rn(e)
197
+ i18nT: Bn(e)
198
198
  // Translation component <i18n-t>
199
199
  };
200
200
  }
@@ -249,7 +249,7 @@ function nr(e, t, n, r = {
249
249
  n || (n = "1000");
250
250
  const { axiosInstance: i } = Qe(e.axiosRequestConfig), { i18n: { t: a } } = De(), { debounce: o } = qn(), l = o(async (m) => {
251
251
  await ee(m);
252
- }, 200), s = R(!1), u = R(""), d = R(""), c = R([]), p = R([]), f = R(void 0), b = I(t);
252
+ }, 200), s = B(!1), u = B(""), d = B(""), c = B([]), p = B([]), f = B(void 0), b = I(t);
253
253
  let v = `${e.apiBaseUrl}${b}`;
254
254
  e.app === "konnect" ? v = v.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" && (v = v.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : ""));
255
255
  const { isValidUuid: A } = Ot(), M = async () => {
@@ -262,7 +262,7 @@ function nr(e, t, n, r = {
262
262
  } finally {
263
263
  s.value = !1;
264
264
  }
265
- }, E = R(""), ee = async (m) => {
265
+ }, E = B(""), ee = async (m) => {
266
266
  var y, g, $;
267
267
  if (E.value !== m)
268
268
  if (E.value = m || "", f.value === void 0)
@@ -366,7 +366,7 @@ function ar(e) {
366
366
  }
367
367
  }
368
368
  function $t(e, t) {
369
- const n = R(I(e)), r = R(I(t)), i = k(
369
+ const n = B(I(e)), r = B(I(t)), i = k(
370
370
  () => !!(n.value.app === "konnect" || n.value.isExactMatch)
371
371
  ), a = k(
372
372
  () => r.value.startsWith("/") ? new URL(`${window.location.origin}${r.value}`) : new URL(r.value)
@@ -384,7 +384,7 @@ function $t(e, t) {
384
384
  };
385
385
  }
386
386
  function or(e, t, n = "data") {
387
- const r = I(t), { axiosInstance: i } = Qe(e.axiosRequestConfig), a = $t(e, r), o = R({
387
+ const r = I(t), { axiosInstance: i } = Qe(e.axiosRequestConfig), a = $t(e, r), o = B({
388
388
  status: ve.Idle
389
389
  });
390
390
  return { fetcher: async (s) => {
@@ -492,7 +492,7 @@ function pr(e) {
492
492
  return !(o && dt(i, o, "<") || l && dt(i, l, ">"));
493
493
  }
494
494
  function hr(e) {
495
- const t = R(0), n = R(0), r = R(!1);
495
+ const t = B(0), n = B(0), r = B(!1);
496
496
  return Ae(e, (a) => {
497
497
  a && !r.value && (t.value = a.offsetWidth, n.value = a.scrollWidth, r.value = !0);
498
498
  }), {
@@ -553,7 +553,7 @@ const z = {
553
553
  e.isArrayItem ? (h(), S("legend", gr, [
554
554
  L("b", null, O(l.value), 1)
555
555
  ])) : D("", !0),
556
- (h(!0), S(le, null, ie(Object.keys(o.value), (d, c) => (h(), K(Rt, {
556
+ (h(!0), S(le, null, ie(Object.keys(o.value), (d, c) => (h(), K(Bt, {
557
557
  key: `${i.value}-property-${c}`,
558
558
  item: {
559
559
  key: d,
@@ -570,7 +570,7 @@ const z = {
570
570
  for (const [r, i] of t)
571
571
  n[r] = i;
572
572
  return n;
573
- }, Bt = /* @__PURE__ */ re(yr, [["__scopeId", "data-v-68ca83ec"]]), vr = /* @__PURE__ */ H({
573
+ }, Rt = /* @__PURE__ */ re(yr, [["__scopeId", "data-v-68ca83ec"]]), vr = /* @__PURE__ */ H({
574
574
  __name: "InternalLinkItem",
575
575
  props: {
576
576
  item: {
@@ -582,7 +582,7 @@ const z = {
582
582
  setup(e) {
583
583
  const { i18n: { t } } = z.useI18n();
584
584
  return (n, r) => {
585
- const i = B("KButton");
585
+ const i = R("KButton");
586
586
  return h(), S("div", null, [
587
587
  N(i, {
588
588
  appearance: "tertiary",
@@ -608,7 +608,7 @@ const z = {
608
608
  setup(e) {
609
609
  const { i18n: { t } } = z.useI18n();
610
610
  return (n, r) => {
611
- const i = B("KBadge");
611
+ const i = R("KBadge");
612
612
  return h(), K(i, {
613
613
  appearance: e.status ? "success" : "neutral"
614
614
  }, {
@@ -619,9 +619,9 @@ const z = {
619
619
  }, 8, ["appearance"]);
620
620
  };
621
621
  }
622
- }), Cr = "#0044f4", _r = "#e0e4ea", kr = "#3a3f51", Ar = "#afb7c5", wr = "#0044f4", Sr = "1px", Ir = "16px", Er = "20px", Tr = { class: "config-card-details-row" }, Fr = ["data-testid"], Or = ["data-testid"], $r = ["data-testid"], Lr = ["data-testid"], Nr = { key: 1 }, Br = ["data-testid"], Rr = ["data-testid"], Kr = ["data-testid"], Mr = ["data-testid"], Dr = {
622
+ }), Cr = "#0044f4", _r = "#e0e4ea", kr = "#3a3f51", Ar = "#afb7c5", wr = "#0044f4", Sr = "1px", Ir = "16px", Er = "20px", Tr = { class: "config-card-details-row" }, Fr = ["data-testid"], Or = ["data-testid"], $r = ["data-testid"], Lr = ["data-testid"], Nr = { key: 1 }, Rr = ["data-testid"], Br = ["data-testid"], Kr = ["data-testid"], Mr = ["data-testid"], Dr = {
623
623
  name: "ConfigCardItem",
624
- components: { JsonCardItem: Bt, StatusBadge: xr, InternalLinkItem: br }
624
+ components: { JsonCardItem: Rt, StatusBadge: xr, InternalLinkItem: br }
625
625
  }, jr = /* @__PURE__ */ H({
626
626
  ...Dr,
627
627
  props: {
@@ -758,9 +758,9 @@ const z = {
758
758
  text: n.item.value
759
759
  };
760
760
  }
761
- }), p = R(), { isTruncated: f } = z.useTruncationDetector(p);
761
+ }), p = B(), { isTruncated: f } = z.useTruncationDetector(p);
762
762
  return (b, v) => {
763
- const A = B("KLabel"), M = B("KBadge"), E = B("KCopy"), ee = B("KTooltip");
763
+ const A = R("KLabel"), M = R("KBadge"), E = R("KCopy"), ee = R("KTooltip");
764
764
  return h(), S("div", Tr, [
765
765
  L("div", {
766
766
  class: "config-card-details-label",
@@ -815,7 +815,7 @@ const z = {
815
815
  ]),
816
816
  _: 2
817
817
  }, 1032, ["data-testid", "tooltip"]))), 128))
818
- ], 8, Br)) : D("", !0),
818
+ ], 8, Rr)) : D("", !0),
819
819
  c.value.additionalComponent === "KCopy" ? (h(), S("div", {
820
820
  key: 1,
821
821
  class: "copy-uuid-array",
@@ -826,7 +826,7 @@ const z = {
826
826
  "data-testid": `${e.item.key}-copy-uuid-${y}`,
827
827
  text: m
828
828
  }), null, 16, ["data-testid", "text"]))), 128))
829
- ], 8, Rr)) : c.value.additionalComponent === "KMethodBadge" ? (h(), S("div", {
829
+ ], 8, Br)) : c.value.additionalComponent === "KMethodBadge" ? (h(), S("div", {
830
830
  key: 2,
831
831
  class: "method-badge-array",
832
832
  "data-testid": `${e.item.key}-badge-methods`
@@ -847,7 +847,7 @@ const z = {
847
847
  key: 3,
848
848
  "data-testid": `${n.item.key}-json-array-content`
849
849
  }, [
850
- (h(!0), S(le, null, ie(e.item.value, (m, y) => (h(), K(Bt, {
850
+ (h(!0), S(le, null, ie(e.item.value, (m, y) => (h(), K(Rt, {
851
851
  key: `json-array-item-${y}`,
852
852
  index: y,
853
853
  "is-array-item": "",
@@ -878,7 +878,7 @@ const z = {
878
878
  ]);
879
879
  };
880
880
  }
881
- }), Rt = /* @__PURE__ */ re(jr, [["__scopeId", "data-v-d056663c"]]), Ur = { class: "json-config" }, qr = {
881
+ }), Bt = /* @__PURE__ */ re(jr, [["__scopeId", "data-v-d056663c"]]), Ur = { class: "json-config" }, qr = {
882
882
  key: 0,
883
883
  class: "json-endpoint"
884
884
  }, Kt = /* @__PURE__ */ H({
@@ -920,7 +920,7 @@ const z = {
920
920
  return i.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? i[i.length - 1] : i[i.length - 2]).length;
921
921
  });
922
922
  return (i, a) => {
923
- const o = B("KBadge"), l = B("KCodeBlock");
923
+ const o = R("KBadge"), l = R("KCodeBlock");
924
924
  return h(), S("div", Ur, [
925
925
  t.fetcherUrl ? (h(), S("div", qr, [
926
926
  N(o, {
@@ -1458,7 +1458,7 @@ var tn = new Z("tag:yaml.org,2002:binary", {
1458
1458
  predicate: $i,
1459
1459
  represent: Oi
1460
1460
  }), Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.toString;
1461
- function Bi(e) {
1461
+ function Ri(e) {
1462
1462
  if (e === null)
1463
1463
  return !0;
1464
1464
  var t = [], n, r, i, a, o, l = e;
@@ -1480,13 +1480,13 @@ function Bi(e) {
1480
1480
  }
1481
1481
  return !0;
1482
1482
  }
1483
- function Ri(e) {
1483
+ function Bi(e) {
1484
1484
  return e !== null ? e : [];
1485
1485
  }
1486
1486
  var nn = new Z("tag:yaml.org,2002:omap", {
1487
1487
  kind: "sequence",
1488
- resolve: Bi,
1489
- construct: Ri
1488
+ resolve: Ri,
1489
+ construct: Bi
1490
1490
  }), Ki = Object.prototype.toString;
1491
1491
  function Mi(e) {
1492
1492
  if (e === null)
@@ -1539,7 +1539,7 @@ var an = new Z("tag:yaml.org,2002:set", {
1539
1539
  rn,
1540
1540
  an
1541
1541
  ]
1542
- }), de = Object.prototype.hasOwnProperty, Ne = 1, on = 2, ln = 3, Be = 4, He = 1, Pi = 2, ht = 3, Hi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vi = /[\x85\u2028\u2029]/, Yi = /[,\[\]\{\}]/, sn = /^(?:!|!!|![a-z\-]+!)$/i, cn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1542
+ }), de = Object.prototype.hasOwnProperty, Ne = 1, on = 2, ln = 3, Re = 4, He = 1, Pi = 2, ht = 3, Hi = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Vi = /[\x85\u2028\u2029]/, Yi = /[,\[\]\{\}]/, sn = /^(?:!|!!|![a-z\-]+!)$/i, cn = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
1543
1543
  function mt(e) {
1544
1544
  return Object.prototype.toString.call(e);
1545
1545
  }
@@ -1595,13 +1595,13 @@ function fn(e, t) {
1595
1595
  function C(e, t) {
1596
1596
  throw fn(e, t);
1597
1597
  }
1598
- function Re(e, t) {
1598
+ function Be(e, t) {
1599
1599
  e.onWarning && e.onWarning.call(null, fn(e, t));
1600
1600
  }
1601
1601
  var yt = {
1602
1602
  YAML: function(t, n, r) {
1603
1603
  var i, a, o;
1604
- t.version !== null && C(t, "duplication of %YAML directive"), r.length !== 1 && C(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && C(t, "ill-formed argument of the YAML directive"), a = parseInt(i[1], 10), o = parseInt(i[2], 10), a !== 1 && C(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Re(t, "unsupported YAML version of the document");
1604
+ t.version !== null && C(t, "duplication of %YAML directive"), r.length !== 1 && C(t, "YAML directive accepts exactly one argument"), i = /^([0-9]+)\.([0-9]+)$/.exec(r[0]), i === null && C(t, "ill-formed argument of the YAML directive"), a = parseInt(i[1], 10), o = parseInt(i[2], 10), a !== 1 && C(t, "unacceptable YAML version of the document"), t.version = r[0], t.checkLineBreaks = o < 2, o !== 1 && o !== 2 && Be(t, "unsupported YAML version of the document");
1605
1605
  },
1606
1606
  TAG: function(t, n, r) {
1607
1607
  var i, a;
@@ -1668,7 +1668,7 @@ function W(e, t, n) {
1668
1668
  else
1669
1669
  break;
1670
1670
  }
1671
- return n !== -1 && r !== 0 && e.lineIndent < n && Re(e, "deficient indentation"), r;
1671
+ return n !== -1 && r !== 0 && e.lineIndent < n && Be(e, "deficient indentation"), r;
1672
1672
  }
1673
1673
  function je(e) {
1674
1674
  var t = e.position, n;
@@ -1845,7 +1845,7 @@ function ra(e, t, n) {
1845
1845
  else
1846
1846
  return e.tag = u, e.anchor = d, !0;
1847
1847
  }
1848
- if ((e.line === a || e.lineIndent > t) && (A && (o = e.line, l = e.lineStart, s = e.position), ke(e, t, Be, !0, i) && (A ? b = e.result : v = e.result), A || (Ce(e, c, p, f, b, v, o, l, s), f = b = v = null), W(e, !0, -1), E = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && E !== 0)
1848
+ if ((e.line === a || e.lineIndent > t) && (A && (o = e.line, l = e.lineStart, s = e.position), ke(e, t, Re, !0, i) && (A ? b = e.result : v = e.result), A || (Ce(e, c, p, f, b, v, o, l, s), f = b = v = null), W(e, !0, -1), E = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && E !== 0)
1849
1849
  C(e, "bad indentation of a mapping entry");
1850
1850
  else if (e.lineIndent < t)
1851
1851
  break;
@@ -1892,10 +1892,10 @@ function oa(e) {
1892
1892
  }
1893
1893
  function ke(e, t, n, r, i) {
1894
1894
  var a, o, l, s = 1, u = !1, d = !1, c, p, f, b, v, A;
1895
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Be === n || ln === n, r && W(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1895
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = l = Re === n || ln === n, r && W(e, !0, -1) && (u = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
1896
1896
  for (; ia(e) || aa(e); )
1897
1897
  W(e, !0, -1) ? (u = !0, l = a, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
1898
- if (l && (l = u || i), (s === 1 || Be === n) && (Ne === n || on === n ? v = t : v = t + 1, A = e.position - e.lineStart, s === 1 ? l && (bt(e, A) || ra(e, A, v)) || ta(e, v) ? d = !0 : (o && na(e, v) || Xi(e, v) || ea(e, v) ? d = !0 : oa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Qi(e, v, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, A))), e.tag === null)
1898
+ if (l && (l = u || i), (s === 1 || Re === n) && (Ne === n || on === n ? v = t : v = t + 1, A = e.position - e.lineStart, s === 1 ? l && (bt(e, A) || ra(e, A, v)) || ta(e, v) ? d = !0 : (o && na(e, v) || Xi(e, v) || ea(e, v) ? d = !0 : oa(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && C(e, "alias node should not have any properties")) : Qi(e, v, Ne === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && bt(e, A))), e.tag === null)
1899
1899
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
1900
1900
  else if (e.tag === "?") {
1901
1901
  for (e.result !== null && e.kind !== "scalar" && C(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), c = 0, p = e.implicitTypes.length; c < p; c += 1)
@@ -1936,9 +1936,9 @@ function la(e) {
1936
1936
  o = e.input.charCodeAt(++e.position);
1937
1937
  i.push(e.input.slice(n, e.position));
1938
1938
  }
1939
- o !== 0 && tt(e), de.call(yt, r) ? yt[r](e, r, i) : Re(e, 'unknown document directive "' + r + '"');
1939
+ o !== 0 && tt(e), de.call(yt, r) ? yt[r](e, r, i) : Be(e, 'unknown document directive "' + r + '"');
1940
1940
  }
1941
- if (W(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, W(e, !0, -1)) : a && C(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Be, !1, !0), W(e, !0, -1), e.checkLineBreaks && Vi.test(e.input.slice(t, e.position)) && Re(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
1941
+ if (W(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, W(e, !0, -1)) : a && C(e, "directives end mark is expected"), ke(e, e.lineIndent - 1, Re, !1, !0), W(e, !0, -1), e.checkLineBreaks && Vi.test(e.input.slice(t, e.position)) && Be(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && je(e)) {
1942
1942
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, W(e, !0, -1));
1943
1943
  return;
1944
1944
  }
@@ -2071,10 +2071,10 @@ function _t(e, t, n) {
2071
2071
  ) : r && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn) && e !== ze && !(t === Ke && !i) || Ct(t) && !Me(t) && e === ze || t === Ke && i
2072
2072
  );
2073
2073
  }
2074
- function Ba(e) {
2074
+ function Ra(e) {
2075
2075
  return Te(e) && e !== rt && !Me(e) && e !== Ca && e !== Aa && e !== Ke && e !== yn && e !== vn && e !== bn && e !== xn && e !== Cn && e !== ze && e !== va && e !== xa && e !== ma && e !== Ia && e !== _a && e !== ka && e !== ba && e !== ga && e !== ya && e !== wa && e !== Sa;
2076
2076
  }
2077
- function Ra(e) {
2077
+ function Ba(e) {
2078
2078
  return !Me(e) && e !== Ke;
2079
2079
  }
2080
2080
  function we(e, t) {
@@ -2087,7 +2087,7 @@ function _n(e) {
2087
2087
  }
2088
2088
  var kn = 1, Je = 2, An = 3, wn = 4, be = 5;
2089
2089
  function Ka(e, t, n, r, i, a, o, l) {
2090
- var s, u = 0, d = null, c = !1, p = !1, f = r !== -1, b = -1, v = Ba(we(e, 0)) && Ra(we(e, e.length - 1));
2090
+ var s, u = 0, d = null, c = !1, p = !1, f = r !== -1, b = -1, v = Ra(we(e, 0)) && Ba(we(e, e.length - 1));
2091
2091
  if (t || o)
2092
2092
  for (s = 0; s < e.length; u >= 65536 ? s += 2 : s++) {
2093
2093
  if (u = we(e, s), !Te(u))
@@ -2335,7 +2335,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2335
2335
  return Object.keys(r).length === 0 && r.constructor === Object ? "" : so.dump(r).trim();
2336
2336
  });
2337
2337
  return (r, i) => {
2338
- const a = B("KCodeBlock");
2338
+ const a = R("KCodeBlock");
2339
2339
  return h(), S("div", co, [
2340
2340
  t.yamlRecord ? (h(), K(a, {
2341
2341
  key: 0,
@@ -2406,7 +2406,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2406
2406
  "data-testid": `config-card-details-${s}-props`
2407
2407
  }, [
2408
2408
  s !== "basic" ? (h(), S("div", po, O(s === "advanced" ? I(r)("baseConfigCard.sections.advanced") : I(r)("baseConfigCard.sections.plugin")), 1)) : D("", !0),
2409
- (h(!0), S(le, null, ie(e.propertyCollections[s], (u) => (h(), K(Rt, {
2409
+ (h(!0), S(le, null, ie(e.propertyCollections[s], (u) => (h(), K(Bt, {
2410
2410
  key: u.key,
2411
2411
  item: u
2412
2412
  }, _e({
@@ -2746,7 +2746,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2746
2746
  _: 1
2747
2747
  }, 8, ["aria-hidden", "style"]));
2748
2748
  }
2749
- }), Lo = /* @__PURE__ */ Le($o, [["__scopeId", "data-v-b2c75f11"]]), No = (e) => (Oe("data-v-f8cd1668"), e = e(), $e(), e), Bo = ["aria-hidden"], Ro = {
2749
+ }), Lo = /* @__PURE__ */ Le($o, [["__scopeId", "data-v-b2c75f11"]]), No = (e) => (Oe("data-v-f8cd1668"), e = e(), $e(), e), Ro = ["aria-hidden"], Bo = {
2750
2750
  key: 0,
2751
2751
  "data-testid": "kui-icon-svg-title"
2752
2752
  }, Ko = /* @__PURE__ */ No(() => /* @__PURE__ */ L("path", {
@@ -2838,9 +2838,9 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
2838
2838
  width: "100%",
2839
2839
  xmlns: "http://www.w3.org/2000/svg"
2840
2840
  }, [
2841
- e.title ? (h(), S("title", Ro, O(e.title), 1)) : D("", !0),
2841
+ e.title ? (h(), S("title", Bo, O(e.title), 1)) : D("", !0),
2842
2842
  Ko
2843
- ], 8, Bo))
2843
+ ], 8, Ro))
2844
2844
  ]),
2845
2845
  _: 1
2846
2846
  }, 8, ["aria-hidden", "style"]));
@@ -3040,7 +3040,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3040
3040
  label: "YAML",
3041
3041
  value: "yaml"
3042
3042
  }
3043
- ], u = R("structured"), d = (g) => {
3043
+ ], u = B("structured"), d = (g) => {
3044
3044
  u.value = g == null ? void 0 : g.value;
3045
3045
  }, c = {
3046
3046
  id: {
@@ -3076,7 +3076,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3076
3076
  // the last property displayed
3077
3077
  section: ne.Basic
3078
3078
  }
3079
- }, p = R(!1), f = R(!1), b = R(""), v = R({}), A = k(() => {
3079
+ }, p = B(!1), f = B(!1), b = B(""), v = B({}), A = k(() => {
3080
3080
  var F, _, j;
3081
3081
  if (!v.value)
3082
3082
  return [];
@@ -3164,7 +3164,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3164
3164
  p.value = !1;
3165
3165
  }
3166
3166
  }), (g, $) => {
3167
- const F = B("KLabel"), _ = B("KSelect"), j = B("KButton"), T = B("KSkeleton"), w = B("KEmptyState"), U = B("KCard");
3167
+ const F = R("KLabel"), _ = R("KSelect"), j = R("KButton"), T = R("KSkeleton"), w = R("KEmptyState"), U = R("KCard");
3168
3168
  return h(), K(U, {
3169
3169
  class: "kong-ui-entity-base-config-card",
3170
3170
  "title-tag": e.titleTag
@@ -3258,10 +3258,10 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3258
3258
  ]), 1032, ["title-tag"]);
3259
3259
  };
3260
3260
  }
3261
- }), jl = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-f40a683b"]]), Zo = ["novalidate"], Qo = {
3261
+ }), Dl = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-f40a683b"]]), Zo = {
3262
3262
  class: "form-actions",
3263
3263
  "data-testid": "form-actions"
3264
- }, Xo = /* @__PURE__ */ H({
3264
+ }, Qo = /* @__PURE__ */ H({
3265
3265
  __name: "EntityBaseForm",
3266
3266
  props: {
3267
3267
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3311,19 +3311,12 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3311
3311
  formFields: {
3312
3312
  type: Object,
3313
3313
  required: !0
3314
- },
3315
- /**
3316
- * Set true to disable the form validation upon submission.
3317
- */
3318
- noValidate: {
3319
- type: Boolean,
3320
- default: !1
3321
3314
  }
3322
3315
  },
3323
3316
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel"],
3324
3317
  setup(e, { emit: t }) {
3325
3318
  var ee;
3326
- const n = t, r = e, i = Mn(), { i18n: { t: a } } = z.useI18n(), { getMessageFromError: o } = z.useErrors(), { axiosInstance: l } = z.useAxios((ee = r.config) == null ? void 0 : ee.axiosRequestConfig), s = R(!1), u = R(!1), d = R(""), c = k(() => r.canSubmit === !1 || r.isReadonly), p = R(!1), f = k(() => {
3319
+ const n = t, r = e, i = Mn(), { i18n: { t: a } } = z.useI18n(), { getMessageFromError: o } = z.useErrors(), { axiosInstance: l } = z.useAxios((ee = r.config) == null ? void 0 : ee.axiosRequestConfig), s = B(!1), u = B(!1), d = B(""), c = k(() => r.canSubmit === !1 || r.isReadonly), p = B(!1), f = k(() => {
3327
3320
  var y, g;
3328
3321
  let m = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3329
3322
  return r.config.app === "konnect" ? m = m.replace(/{controlPlaneId}/gi, ((y = r.config) == null ? void 0 : y.controlPlaneId) || "") : r.config.app === "kongManager" && (m = m.replace(/\/{workspace}/gi, (g = r.config) != null && g.workspace ? `/${r.config.workspace}` : "")), r.editId ? (m = m.replace(/{id}/gi, r.editId), m) : (m = m.replace(/\/{id}/gi, ""), m);
@@ -3335,7 +3328,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3335
3328
  n("cancel");
3336
3329
  }, M = () => {
3337
3330
  c.value || n("submit");
3338
- }, E = R([
3331
+ }, E = B([
3339
3332
  {
3340
3333
  title: a("baseForm.configuration.yaml"),
3341
3334
  hash: "#yaml"
@@ -3360,7 +3353,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3360
3353
  s.value = !1;
3361
3354
  }
3362
3355
  }), (m, y) => {
3363
- const g = B("KSkeleton"), $ = B("KEmptyState"), F = B("KAlert"), _ = B("KButton"), j = B("KTabs"), T = B("KSlideout"), w = B("KCard");
3356
+ const g = R("KSkeleton"), $ = R("KEmptyState"), F = R("KAlert"), _ = R("KButton"), j = R("KTabs"), T = R("KSlideout"), w = R("KCard");
3364
3357
  return h(), K(w, { class: "kong-ui-entity-base-form" }, {
3365
3358
  default: x(() => [
3366
3359
  s.value ? (h(), K(g, {
@@ -3380,7 +3373,6 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3380
3373
  }, 8, ["action-button-text"])) : (h(), S("form", {
3381
3374
  key: 2,
3382
3375
  "data-testid": "form-content",
3383
- novalidate: r.noValidate,
3384
3376
  onReset: Ve(A, ["prevent"]),
3385
3377
  onSubmit: Ve(M, ["prevent"])
3386
3378
  }, [
@@ -3391,7 +3383,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3391
3383
  "data-testid": "form-error",
3392
3384
  message: e.errorMessage
3393
3385
  }, null, 8, ["message"])) : D("", !0),
3394
- L("div", Qo, [
3386
+ L("div", Zo, [
3395
3387
  Y(m.$slots, "form-actions", {}, () => [
3396
3388
  N(_, {
3397
3389
  appearance: "tertiary",
@@ -3427,7 +3419,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3427
3419
  }, 8, ["disabled"])
3428
3420
  ], !0)
3429
3421
  ])
3430
- ], 40, Zo)),
3422
+ ], 32)),
3431
3423
  N(T, {
3432
3424
  "close-on-blur": !1,
3433
3425
  "data-testid": "form-view-configuration-slideout",
@@ -3466,10 +3458,10 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3466
3458
  });
3467
3459
  };
3468
3460
  }
3469
- }), Ul = /* @__PURE__ */ re(Xo, [["__scopeId", "data-v-3def74fe"]]), el = {
3461
+ }), jl = /* @__PURE__ */ re(Qo, [["__scopeId", "data-v-46e6a6e5"]]), Xo = {
3470
3462
  key: 0,
3471
3463
  "data-testid": "first-col"
3472
- }, tl = /* @__PURE__ */ H({
3464
+ }, el = /* @__PURE__ */ H({
3473
3465
  __name: "EntityBaseTableCell",
3474
3466
  props: {
3475
3467
  keyName: {
@@ -3499,7 +3491,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3499
3491
  }, l = () => {
3500
3492
  var v, A, M;
3501
3493
  u.value = ((v = r.value) == null ? void 0 : v.getBoundingClientRect().width) || 0, d.value = ((A = n.value) == null ? void 0 : A.clientWidth) || 0, c.value = ((M = s.value) == null ? void 0 : M.innerText) || "";
3502
- }, s = R({}), u = R(0), d = R(0), c = R(""), p = k(() => [r.value, n.value]), f = Ae(
3494
+ }, s = B({}), u = B(0), d = B(0), c = B(""), p = k(() => [r.value, n.value]), f = Ae(
3503
3495
  p,
3504
3496
  (v) => {
3505
3497
  if (i.value && (o(), "ResizeObserver" in window && window)) {
@@ -3519,13 +3511,13 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3519
3511
  }), $n(() => {
3520
3512
  f();
3521
3513
  }), (v, A) => {
3522
- const M = B("KTooltip");
3514
+ const M = R("KTooltip");
3523
3515
  return h(), S("span", {
3524
3516
  ref_key: "contentRef",
3525
3517
  ref: s,
3526
3518
  class: "content-wrapper"
3527
3519
  }, [
3528
- i.value ? (h(), S("span", el, [
3520
+ i.value ? (h(), S("span", Xo, [
3529
3521
  N(M, {
3530
3522
  "max-width": "300",
3531
3523
  placement: "bottomStart",
@@ -3540,10 +3532,10 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3540
3532
  ], 512);
3541
3533
  };
3542
3534
  }
3543
- }), nl = /* @__PURE__ */ re(tl, [["__scopeId", "data-v-c4379fd4"]]), rl = { class: "toolbar-container" }, il = {
3535
+ }), tl = /* @__PURE__ */ re(el, [["__scopeId", "data-v-c4379fd4"]]), nl = { class: "toolbar-container" }, rl = {
3544
3536
  key: 0,
3545
3537
  class: "toolbar-button-container"
3546
- }, al = ["data-testid"], ol = /* @__PURE__ */ H({
3538
+ }, il = ["data-testid"], al = /* @__PURE__ */ H({
3547
3539
  __name: "EntityBaseTable",
3548
3540
  props: {
3549
3541
  // table header configuration
@@ -3685,7 +3677,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3685
3677
  "data-rowid": y.id,
3686
3678
  "data-testid": y.name,
3687
3679
  ...n.rowAttributes(y)
3688
- }), d = R({}), c = (y) => {
3680
+ }), d = B({}), c = (y) => {
3689
3681
  var g;
3690
3682
  return (g = d.value) == null ? void 0 : g.$el.querySelector(`[data-rowid="${y.id}"]`);
3691
3683
  }, p = (y) => {
@@ -3716,7 +3708,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3716
3708
  n.preferencesStorageKey && M(n.preferencesStorageKey, y);
3717
3709
  };
3718
3710
  return (y, g) => {
3719
- const $ = B("KIcon"), F = B("KButton"), _ = B("KDropdown"), j = B("KTable"), T = B("KCard");
3711
+ const $ = R("KIcon"), F = R("KButton"), _ = R("KDropdown"), j = R("KTable"), T = R("KCard");
3720
3712
  return h(), K(T, {
3721
3713
  class: "kong-ui-entity-base-table",
3722
3714
  title: e.title,
@@ -3754,9 +3746,9 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3754
3746
  "onUpdate:tablePreferences": m
3755
3747
  }, _e({
3756
3748
  toolbar: x(({ state: w }) => [
3757
- he(L("div", rl, [
3749
+ he(L("div", nl, [
3758
3750
  Y(y.$slots, "toolbar-filter", {}, void 0, !0),
3759
- y.$slots["toolbar-button"] ? (h(), S("div", il, [
3751
+ y.$slots["toolbar-button"] ? (h(), S("div", rl, [
3760
3752
  Y(y.$slots, "toolbar-button", {}, void 0, !0)
3761
3753
  ])) : D("", !0)
3762
3754
  ], 512), [
@@ -3797,14 +3789,14 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3797
3789
  ]),
3798
3790
  _: 2
3799
3791
  }, 1032, ["width"])
3800
- ], 8, al)
3792
+ ], 8, il)
3801
3793
  ]),
3802
3794
  _: 2
3803
3795
  }, [
3804
3796
  ie(e.tableHeaders, (w, U) => ({
3805
3797
  name: U,
3806
3798
  fn: x(({ row: q, rowKey: J, rowValue: pe }) => [
3807
- N(nl, {
3799
+ N(tl, {
3808
3800
  "key-name": String(U),
3809
3801
  "row-el": c(q)
3810
3802
  }, {
@@ -3834,13 +3826,13 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3834
3826
  }, 8, ["title", "title-tag"]);
3835
3827
  };
3836
3828
  }
3837
- }), ql = /* @__PURE__ */ re(ol, [["__scopeId", "data-v-99908c24"]]), ll = {
3829
+ }), Ul = /* @__PURE__ */ re(al, [["__scopeId", "data-v-99908c24"]]), ol = {
3838
3830
  key: 0,
3839
3831
  class: "kong-ui-entity-delete-error"
3840
- }, sl = {
3832
+ }, ll = {
3841
3833
  key: 1,
3842
3834
  class: "description"
3843
- }, cl = /* @__PURE__ */ H({
3835
+ }, sl = /* @__PURE__ */ H({
3844
3836
  __name: "EntityDeleteModal",
3845
3837
  props: {
3846
3838
  visible: {
@@ -3885,7 +3877,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3885
3877
  i("proceed");
3886
3878
  };
3887
3879
  return (s, u) => {
3888
- const d = B("KAlert"), c = B("KPrompt");
3880
+ const d = R("KAlert"), c = R("KPrompt");
3889
3881
  return h(), K(c, {
3890
3882
  "action-button-appearance": "danger",
3891
3883
  "action-button-disabled": e.actionPending,
@@ -3898,7 +3890,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3898
3890
  onProceed: l
3899
3891
  }, {
3900
3892
  default: x(() => [
3901
- e.error ? (h(), S("div", ll, [
3893
+ e.error ? (h(), S("div", ol, [
3902
3894
  N(d, { appearance: "danger" }, {
3903
3895
  default: x(() => [
3904
3896
  V(O(e.error), 1)
@@ -3924,7 +3916,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3924
3916
  key: "0"
3925
3917
  } : void 0
3926
3918
  ]), 1032, ["keypath"]),
3927
- r.description || s.$slots.description ? (h(), S("div", sl, [
3919
+ r.description || s.$slots.description ? (h(), S("div", ll, [
3928
3920
  Y(s.$slots, "description", {}, () => [
3929
3921
  L("p", null, O(r.description), 1)
3930
3922
  ], !0)
@@ -3934,13 +3926,13 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3934
3926
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
3935
3927
  };
3936
3928
  }
3937
- }), Pl = /* @__PURE__ */ re(cl, [["__scopeId", "data-v-4361d622"]]), ul = {
3929
+ }), ql = /* @__PURE__ */ re(sl, [["__scopeId", "data-v-4361d622"]]), cl = {
3938
3930
  fill: "none",
3939
3931
  height: "20",
3940
3932
  viewBox: "0 0 20 20",
3941
3933
  width: "20",
3942
3934
  xmlns: "http://www.w3.org/2000/svg"
3943
- }, dl = {
3935
+ }, ul = {
3944
3936
  id: "mask0_180_20349",
3945
3937
  height: "20",
3946
3938
  maskUnits: "userSpaceOnUse",
@@ -3948,7 +3940,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3948
3940
  width: "20",
3949
3941
  x: "0",
3950
3942
  y: "0"
3951
- }, fl = ["fill"], pl = { mask: "url(#mask0_180_20349)" }, hl = ["fill"], Et = /* @__PURE__ */ H({
3943
+ }, dl = ["fill"], fl = { mask: "url(#mask0_180_20349)" }, pl = ["fill"], Et = /* @__PURE__ */ H({
3952
3944
  __name: "IconFilter",
3953
3945
  props: {
3954
3946
  color: {
@@ -3957,26 +3949,26 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3957
3949
  }
3958
3950
  },
3959
3951
  setup(e) {
3960
- return (t, n) => (h(), S("svg", ul, [
3961
- L("mask", dl, [
3952
+ return (t, n) => (h(), S("svg", cl, [
3953
+ L("mask", ul, [
3962
3954
  L("rect", {
3963
3955
  fill: e.color,
3964
3956
  height: "20",
3965
3957
  width: "20"
3966
- }, null, 8, fl)
3958
+ }, null, 8, dl)
3967
3959
  ]),
3968
- L("g", pl, [
3960
+ L("g", fl, [
3969
3961
  L("path", {
3970
3962
  d: "M8 14.5V13H12V14.5H8ZM5 10.75V9.25H15V10.75H5ZM3 7V5.5H17V7H3Z",
3971
3963
  fill: e.color
3972
- }, null, 8, hl)
3964
+ }, null, 8, pl)
3973
3965
  ])
3974
3966
  ]));
3975
3967
  }
3976
- }), ml = {
3968
+ }), hl = {
3977
3969
  key: 1,
3978
3970
  class: "kong-ui-entity-filter"
3979
- }, gl = { class: "kong-ui-entity-filter-menu" }, yl = ["data-testid"], vl = ["onClick", "onKeydown"], bl = { class: "menu-item-indicator" }, xl = { class: "menu-item-body" }, Cl = ["for"], _l = { class: "menu-item-buttons" }, kl = { class: "filter-clear-button-container" }, Al = /* @__PURE__ */ H({
3971
+ }, ml = { class: "kong-ui-entity-filter-menu" }, gl = ["data-testid"], yl = ["onClick", "onKeydown"], vl = { class: "menu-item-indicator" }, bl = { class: "menu-item-body" }, xl = ["for"], Cl = { class: "menu-item-buttons" }, _l = { class: "filter-clear-button-container" }, kl = /* @__PURE__ */ H({
3980
3972
  __name: "EntityFilter",
3981
3973
  props: {
3982
3974
  // filter config, either exact match or fuzzy match
@@ -3996,7 +3988,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
3996
3988
  },
3997
3989
  emits: ["update:modelValue"],
3998
3990
  setup(e, { emit: t }) {
3999
- const { i18n: { t: n } } = z.useI18n(), r = e, i = t, a = R(!1), o = R({}), l = R(/* @__PURE__ */ new Set()), s = k(() => {
3991
+ const { i18n: { t: n } } = z.useI18n(), r = e, i = t, a = B(!1), o = B({}), l = B(/* @__PURE__ */ new Set()), s = k(() => {
4000
3992
  const m = [];
4001
3993
  return new URLSearchParams(r.modelValue).forEach((y, g) => {
4002
3994
  y !== "" && m.push(g);
@@ -4043,7 +4035,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4043
4035
  m && (a.value = !1), i("update:modelValue", new URLSearchParams(y).toString());
4044
4036
  };
4045
4037
  return (m, y) => {
4046
- const g = B("KInput"), $ = B("KButton"), F = B("KSelect");
4038
+ const g = R("KInput"), $ = R("KButton"), F = R("KSelect");
4047
4039
  return e.config.isExactMatch ? (h(), K(g, {
4048
4040
  key: 0,
4049
4041
  autocomplete: "off",
@@ -4065,7 +4057,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4065
4057
  ])
4066
4058
  ]),
4067
4059
  _: 1
4068
- }, 8, ["model-value", "placeholder"])) : (h(), S("div", ml, [
4060
+ }, 8, ["model-value", "placeholder"])) : (h(), S("div", hl, [
4069
4061
  N($, {
4070
4062
  appearance: "tertiary",
4071
4063
  "data-testid": "filter-button",
@@ -4083,7 +4075,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4083
4075
  }, null, 512), [
4084
4076
  [me, a.value]
4085
4077
  ]),
4086
- he(L("div", gl, [
4078
+ he(L("div", ml, [
4087
4079
  (h(!0), S(le, null, ie(u.value, (_) => {
4088
4080
  var j, T;
4089
4081
  return h(), S("div", {
@@ -4099,19 +4091,19 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4099
4091
  onKeydown: Ln((w) => c(_.value), ["enter"])
4100
4092
  }, [
4101
4093
  V(O(_.label) + " ", 1),
4102
- he(L("span", bl, null, 512), [
4094
+ he(L("span", vl, null, 512), [
4103
4095
  [me, s.value.includes(_.value)]
4104
4096
  ]),
4105
4097
  N(I(Lo), {
4106
4098
  class: ue(["menu-item-expand-icon", { expanded: l.value.has(_.value) }]),
4107
4099
  color: I(Ar)
4108
4100
  }, null, 8, ["class", "color"])
4109
- ], 42, vl),
4110
- he(L("div", xl, [
4101
+ ], 42, yl),
4102
+ he(L("div", bl, [
4111
4103
  L("label", {
4112
4104
  class: "menu-item-label",
4113
4105
  for: b(_.value)
4114
- }, O(I(n)("filter.fieldLabel")), 9, Cl),
4106
+ }, O(I(n)("filter.fieldLabel")), 9, xl),
4115
4107
  ((T = (j = e.config.schema) == null ? void 0 : j[_.value]) == null ? void 0 : T.type) === "select" ? (h(), K(F, {
4116
4108
  key: 0,
4117
4109
  id: b(_.value),
@@ -4131,7 +4123,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4131
4123
  ], 512), [
4132
4124
  [me, l.value.has(_.value)]
4133
4125
  ]),
4134
- he(L("div", _l, [
4126
+ he(L("div", Cl, [
4135
4127
  N($, {
4136
4128
  appearance: "tertiary",
4137
4129
  "data-testid": "apply-filter",
@@ -4157,9 +4149,9 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4157
4149
  ], 512), [
4158
4150
  [me, l.value.has(_.value)]
4159
4151
  ])
4160
- ], 8, yl);
4152
+ ], 8, gl);
4161
4153
  }), 128)),
4162
- L("div", kl, [
4154
+ L("div", _l, [
4163
4155
  N($, {
4164
4156
  appearance: "tertiary",
4165
4157
  size: "small",
@@ -4177,7 +4169,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4177
4169
  ]));
4178
4170
  };
4179
4171
  }
4180
- }), Hl = /* @__PURE__ */ re(Al, [["__scopeId", "data-v-8cfadde3"]]), Vl = /* @__PURE__ */ H({
4172
+ }), Pl = /* @__PURE__ */ re(kl, [["__scopeId", "data-v-8cfadde3"]]), Hl = /* @__PURE__ */ H({
4181
4173
  __name: "EntityToggleModal",
4182
4174
  props: {
4183
4175
  visible: {
@@ -4209,7 +4201,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4209
4201
  },
4210
4202
  emits: ["cancel", "proceed"],
4211
4203
  setup(e, { emit: t }) {
4212
- const { i18n: { t: n }, i18nT: r } = z.useI18n(), i = e, a = t, o = R(!1), l = k(
4204
+ const { i18n: { t: n }, i18nT: r } = z.useI18n(), i = e, a = t, o = B(!1), l = k(
4213
4205
  () => i.action === "enable" ? n("toggleModal.enable.title", { entityType: i.entityType }) : n("toggleModal.disable.title", { entityType: i.entityType })
4214
4206
  ), s = k(
4215
4207
  () => i.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
@@ -4226,7 +4218,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4226
4218
  }
4227
4219
  };
4228
4220
  return (c, p) => {
4229
- const f = B("KPrompt");
4221
+ const f = R("KPrompt");
4230
4222
  return h(), K(Nn, { to: "body" }, [
4231
4223
  N(f, {
4232
4224
  "action-button-disabled": o.value,
@@ -4256,7 +4248,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4256
4248
  ]);
4257
4249
  };
4258
4250
  }
4259
- }), Yl = /* @__PURE__ */ H({
4251
+ }), Vl = /* @__PURE__ */ H({
4260
4252
  __name: "PermissionsWrapper",
4261
4253
  props: {
4262
4254
  /**
@@ -4278,7 +4270,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4278
4270
  }
4279
4271
  },
4280
4272
  setup(e) {
4281
- const t = e, n = R(void 0), r = k(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4273
+ const t = e, n = B(void 0), r = k(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4282
4274
  return Ae(() => t.authFunction, async () => {
4283
4275
  n.value = await t.authFunction();
4284
4276
  }, { immediate: !0 }), (i, a) => r.value ? Y(i.$slots, "default", {
@@ -4286,13 +4278,13 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4286
4278
  isAllowed: n.value
4287
4279
  }) : D("", !0);
4288
4280
  }
4289
- }), wl = { class: "form-section-wrapper" }, Sl = {
4281
+ }), Al = { class: "form-section-wrapper" }, wl = {
4290
4282
  key: 1,
4291
4283
  class: "form-section-description"
4292
- }, Il = {
4284
+ }, Sl = {
4293
4285
  key: 2,
4294
4286
  class: "form-section-footer"
4295
- }, El = { class: "form-section-content" }, Tl = /* @__PURE__ */ H({
4287
+ }, Il = { class: "form-section-content" }, El = /* @__PURE__ */ H({
4296
4288
  __name: "EntityFormSection",
4297
4289
  props: {
4298
4290
  title: {
@@ -4325,7 +4317,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4325
4317
  return (n, r) => (h(), S("fieldset", {
4326
4318
  class: ue(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }])
4327
4319
  }, [
4328
- L("div", wl, [
4320
+ L("div", Al, [
4329
4321
  e.hideInfoHeader ? D("", !0) : (h(), S("div", {
4330
4322
  key: 0,
4331
4323
  class: ue(["form-section-info", { sticky: e.stickyInfoHeader }])
@@ -4339,28 +4331,28 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4339
4331
  ]),
4340
4332
  _: 1
4341
4333
  })) : D("", !0),
4342
- e.description || I(t).description ? (h(), S("div", Sl, [
4334
+ e.description || I(t).description ? (h(), S("div", wl, [
4343
4335
  Y(n.$slots, "description", {}, () => [
4344
4336
  L("p", null, O(e.description), 1)
4345
4337
  ], !0)
4346
4338
  ])) : D("", !0),
4347
- I(t).footer ? (h(), S("div", Il, [
4339
+ I(t).footer ? (h(), S("div", Sl, [
4348
4340
  Y(n.$slots, "footer", {}, void 0, !0)
4349
4341
  ])) : D("", !0)
4350
4342
  ], 2)),
4351
- L("div", El, [
4343
+ L("div", Il, [
4352
4344
  Y(n.$slots, "default", {}, void 0, !0)
4353
4345
  ])
4354
4346
  ])
4355
4347
  ], 2));
4356
4348
  }
4357
- }), zl = /* @__PURE__ */ re(Tl, [["__scopeId", "data-v-4bb31634"]]), Fl = {
4349
+ }), Yl = /* @__PURE__ */ re(El, [["__scopeId", "data-v-4bb31634"]]), Tl = {
4358
4350
  class: "kong-ui-public-entity-link",
4359
4351
  "data-testid": "entity-link-parent"
4360
- }, Ol = {
4352
+ }, Fl = {
4361
4353
  key: 0,
4362
4354
  class: "deleted-entity"
4363
- }, $l = { key: 1 }, Ll = ["onClick"], Nl = /* @__PURE__ */ H({
4355
+ }, Ol = { key: 1 }, $l = ["onClick"], Ll = /* @__PURE__ */ H({
4364
4356
  __name: "EntityLink",
4365
4357
  props: {
4366
4358
  entityLinkData: {
@@ -4384,15 +4376,15 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4384
4376
  }
4385
4377
  },
4386
4378
  setup(e) {
4387
- const t = e, n = R(), { isTruncated: r } = z.useTruncationDetector(n), { i18n: { t: i } } = z.useI18n(), a = i("global.actions.copyId"), o = R(a), l = k(() => t.entityLinkData.deleted ?? !1), s = k(() => t.entityLinkData.id.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id), u = k(() => `${s.value.toString().slice(0, 5)} (deleted)`), d = async (c) => {
4379
+ const t = e, n = B(), { isTruncated: r } = z.useTruncationDetector(n), { i18n: { t: i } } = z.useI18n(), a = i("global.actions.copyId"), o = B(a), l = k(() => t.entityLinkData.deleted ?? !1), s = k(() => t.entityLinkData.id.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id), u = k(() => `${s.value.toString().slice(0, 5)} (deleted)`), d = async (c) => {
4388
4380
  await c(s.value || "") && (o.value = i("global.actions.copyToClipboard"), setTimeout(() => {
4389
4381
  o.value = a;
4390
4382
  }, 1800));
4391
4383
  };
4392
4384
  return (c, p) => {
4393
- const f = B("KTooltip"), b = B("KExternalLink"), v = B("KClipboardProvider");
4394
- return h(), S("div", Fl, [
4395
- l.value ? (h(), S("div", Ol, O(u.value), 1)) : s.value ? s.value ? (h(), K(b, {
4385
+ const f = R("KTooltip"), b = R("KExternalLink"), v = R("KClipboardProvider");
4386
+ return h(), S("div", Tl, [
4387
+ l.value ? (h(), S("div", Fl, O(u.value), 1)) : s.value ? s.value ? (h(), K(b, {
4396
4388
  key: 2,
4397
4389
  class: "entity-link",
4398
4390
  "hide-icon": !e.newWindow,
@@ -4414,7 +4406,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4414
4406
  }, 8, ["text"])
4415
4407
  ]),
4416
4408
  _: 1
4417
- }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (h(), S("div", $l, O(" – "))),
4409
+ }, 8, ["hide-icon", "href", "target"])) : D("", !0) : (h(), S("div", Ol, O(" – "))),
4418
4410
  s.value && e.allowCopy ? (h(), K(f, {
4419
4411
  key: o.value,
4420
4412
  class: "copy-uuid-tooltip",
@@ -4435,7 +4427,7 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4435
4427
  "data-testid": "copy-id",
4436
4428
  size: I(Ir)
4437
4429
  }, null, 8, ["color", "size"])
4438
- ], 8, Ll)
4430
+ ], 8, $l)
4439
4431
  ]),
4440
4432
  _: 1
4441
4433
  })
@@ -4445,37 +4437,37 @@ const co = { class: "yaml-config" }, Sn = /* @__PURE__ */ H({
4445
4437
  ]);
4446
4438
  };
4447
4439
  }
4448
- }), Wl = /* @__PURE__ */ re(Nl, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Jl, useDeleteUrlBuilder: Gl, useErrors: Zl, useExternalLinkCreator: Ql, useFetchUrlBuilder: Xl, useFetcher: es, useDebouncedFilter: ts, useStringHelpers: ns, useHelpers: rs, useGatewayFeatureSupported: is, useTruncationDetector: as, useValidators: os } = z;
4440
+ }), zl = /* @__PURE__ */ re(Ll, [["__scopeId", "data-v-ff8e5179"]]), { useAxios: Wl, useDeleteUrlBuilder: Jl, useErrors: Gl, useExternalLinkCreator: Zl, useFetchUrlBuilder: Ql, useFetcher: Xl, useDebouncedFilter: es, useStringHelpers: ts, useHelpers: ns, useGatewayFeatureSupported: rs, useTruncationDetector: is, useValidators: as } = z;
4449
4441
  export {
4450
4442
  mo as ConfigCardDisplay,
4451
- Rt as ConfigCardItem,
4443
+ Bt as ConfigCardItem,
4452
4444
  ne as ConfigurationSchemaSection,
4453
4445
  P as ConfigurationSchemaType,
4454
- jl as EntityBaseConfigCard,
4455
- Ul as EntityBaseForm,
4446
+ Dl as EntityBaseConfigCard,
4447
+ jl as EntityBaseForm,
4456
4448
  jn as EntityBaseFormType,
4457
- ql as EntityBaseTable,
4458
- Pl as EntityDeleteModal,
4459
- Hl as EntityFilter,
4460
- zl as EntityFormSection,
4461
- Wl as EntityLink,
4462
- Vl as EntityToggleModal,
4449
+ Ul as EntityBaseTable,
4450
+ ql as EntityDeleteModal,
4451
+ Pl as EntityFilter,
4452
+ Yl as EntityFormSection,
4453
+ zl as EntityLink,
4454
+ Hl as EntityToggleModal,
4463
4455
  Dn as EntityTypes,
4464
4456
  ve as FetcherStatus,
4465
4457
  br as InternalLinkItem,
4466
4458
  Kt as JsonCodeBlock,
4467
- Yl as PermissionsWrapper,
4459
+ Vl as PermissionsWrapper,
4468
4460
  Sn as YamlCodeBlock,
4469
- Jl as useAxios,
4470
- ts as useDebouncedFilter,
4471
- Gl as useDeleteUrlBuilder,
4472
- Zl as useErrors,
4473
- Ql as useExternalLinkCreator,
4474
- Xl as useFetchUrlBuilder,
4475
- es as useFetcher,
4476
- is as useGatewayFeatureSupported,
4477
- rs as useHelpers,
4478
- ns as useStringHelpers,
4479
- as as useTruncationDetector,
4480
- os as useValidators
4461
+ Wl as useAxios,
4462
+ es as useDebouncedFilter,
4463
+ Jl as useDeleteUrlBuilder,
4464
+ Gl as useErrors,
4465
+ Zl as useExternalLinkCreator,
4466
+ Ql as useFetchUrlBuilder,
4467
+ Xl as useFetcher,
4468
+ rs as useGatewayFeatureSupported,
4469
+ ns as useHelpers,
4470
+ ts as useStringHelpers,
4471
+ is as useTruncationDetector,
4472
+ as as useValidators
4481
4473
  };