@kong-ui-public/entities-shared 3.34.2-pr.2723.c1ccba4bc.0 → 3.34.2-pr.2726.648af5c39.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,12 +1,12 @@
1
- import { inject as qt, ref as N, computed as $, unref as A, toValue as he, watch as be, toRef as zn, provide as Ht, defineComponent as z, createBlock as M, openBlock as h, resolveDynamicComponent as Pe, normalizeClass as fe, withCtx as _, createElementBlock as T, createCommentVNode as j, createElementVNode as L, toDisplayString as O, Fragment as ue, renderList as ce, resolveComponent as P, createVNode as K, createTextVNode as q, useCssVars as Vt, useId as Qn, useSlots as Ue, renderSlot as U, createSlots as $e, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as Yt, onMounted as it, onBeforeMount as rt, withModifiers as Re, Teleport as Wt, onUnmounted as ei, withDirectives as ke, vShow as Ce, withKeys as ti, warn as ni } from "vue";
1
+ import { inject as qt, ref as M, computed as $, unref as A, toValue as ge, watch as be, toRef as zn, provide as Ht, defineComponent as z, createBlock as N, openBlock as g, resolveDynamicComponent as De, normalizeClass as fe, withCtx as _, createElementBlock as T, createCommentVNode as P, createElementVNode as L, toDisplayString as O, Fragment as ue, renderList as ce, resolveComponent as D, createVNode as K, createTextVNode as q, useCssVars as Vt, useId as Qn, useSlots as Ue, renderSlot as U, createSlots as $e, normalizeProps as Zn, guardReactiveProps as Xn, mergeProps as Yt, onMounted as it, onBeforeMount as rt, withModifiers as Re, Teleport as Wt, onUnmounted as ei, withDirectives as ke, vShow as Ce, withKeys as ti, warn as ni } from "vue";
2
2
  import mt from "axios";
3
3
  import { createI18n as ii, i18nTComponent as ri } from "@kong-ui-public/i18n";
4
- import { BadgeMethodAppearances as ai, KExternalLink as oi, KButton as ht, KTruncate as li, KBadge as si } from "@kong/kongponents";
4
+ import { BadgeMethodAppearances as ai, KExternalLink as oi, KButton as gt, KTruncate as li, KBadge as si } from "@kong/kongponents";
5
5
  import { createdBundledHighlighter as ci, createSingletonShorthands as ui } from "@shikijs/core";
6
6
  import { createJavaScriptRegexEngine as di } from "@shikijs/engine-javascript";
7
- import { BookIcon as Jt, LanguageShellIcon as gt, LanguageBashIcon as yt, AddIcon as Gt, CloseIcon as fi, ChevronDownIcon as pi, CopyIcon as mi } from "@kong/icons";
8
- import { useRouter as hi } from "vue-router";
9
- var gi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(gi || {}), yi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(Se || {});
7
+ import { BookIcon as Jt, LanguageShellIcon as ht, LanguageBashIcon as yt, AddIcon as Gt, CloseIcon as fi, ChevronDownIcon as pi, CopyIcon as mi } from "@kong/icons";
8
+ import { useRouter as gi } from "vue-router";
9
+ var hi = /* @__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.Secret = "secret", e.RedisConfiguration = "redis configuration", e))(hi || {}), yi = /* @__PURE__ */ ((e) => (e.Edit = "edit", e.Create = "create", e))(yi || {}), me = /* @__PURE__ */ ((e) => (e[e.InitialLoad = 0] = "InitialLoad", e[e.Loading = 1] = "Loading", e[e.Idle = 2] = "Idle", e[e.NoResults = 3] = "NoResults", e[e.NoRecords = 4] = "NoRecords", e[e.Error = 5] = "Error", e))(me || {}), Se = /* @__PURE__ */ ((e) => (e.CaCertificate = "ca_certificate", e.Certificate = "certificate", e.Consumer = "consumer", e.ConsumerGroup = "consumer_group", e.GatewayService = "service", e.Key = "key", e.KeySet = "set", e.Plugin = "plugin", e.Route = "route", e.SNI = "sni", e.Upstream = "upstream", e.Target = "target", e.Vault = "vault", e.Partial = "partial", e.BackendCluster = "backend_cluster", e.VirtualCluster = "virtual_cluster", e.Listener = "listener", e.ProducePolicy = "produce_policy", e.ConsumePolicy = "consume_policy", e.ClusterPolicy = "cluster_policy", e.ListenerPolicy = "listener_policy", e.SchemaRegistry = "schema_registry", e.StaticKey = "static_key", e.AuthServer = "auth_server", e.AuthServerScopes = "auth_server_scopes", e.AuthServerClaims = "auth_server_claims", e.AuthServerClients = "auth_server_clients", e.Other = "other", e))(Se || {});
10
10
  const qe = Object.values(Se), vi = [
11
11
  "ca_certificate",
12
12
  "certificate",
@@ -211,7 +211,10 @@ const wi = {
211
211
  confirmText: "Yes, disable"
212
212
  }
213
213
  }, Ki = {
214
- hint: "The {token} environment variable must be added first. See {link} for details.",
214
+ hint: {
215
+ konnect: "The {token} environment variable must be added first. See {link} for details.",
216
+ kongManager: "If your Admin API is secured, set up authentication following {link}."
217
+ },
215
218
  documentation: "the documentation"
216
219
  }, Ni = {
217
220
  global: wi,
@@ -284,10 +287,10 @@ function Mi(e, t, n, i = {
284
287
  n || (n = "1000");
285
288
  const { axiosInstance: r } = at(e.axiosRequestConfig), { i18n: { t: o } } = He(), { debounce: a } = xi(), l = a(async (B) => {
286
289
  await x(B);
287
- }, 200), s = N(!1), c = N(""), d = N(""), u = N([]), p = N([]), m = N(void 0), y = $(() => {
290
+ }, 200), s = M(!1), c = M(""), d = M(""), u = M([]), p = M([]), m = M(void 0), y = $(() => {
288
291
  const B = `${e.apiBaseUrl}${A(t)}`;
289
292
  return e.app === "konnect" ? B.replace(/{controlPlaneId}/gi, (e == null ? void 0 : e.controlPlaneId) || "") : e.app === "kongManager" ? B.replace(/\/{workspace}/gi, e != null && e.workspace ? `/${e.workspace}` : "") : B;
290
- }), { isValidUuid: g } = zt(), k = async () => {
293
+ }), { isValidUuid: h } = zt(), k = async () => {
291
294
  try {
292
295
  s.value = !0;
293
296
  const { data: B } = await r.get(`${y.value}?size=${n}`);
@@ -297,8 +300,8 @@ function Mi(e, t, n, i = {
297
300
  } finally {
298
301
  s.value = !1;
299
302
  }
300
- }, C = N(""), x = async (B) => {
301
- var D, X, S;
303
+ }, C = M(""), x = async (B) => {
304
+ var j, X, S;
302
305
  if (C.value !== B) {
303
306
  if (C.value = B ?? "", !B) {
304
307
  u.value = p.value;
@@ -311,7 +314,7 @@ function Mi(e, t, n, i = {
311
314
  i.fetchedItemsKey in F ? u.value = F[i.fetchedItemsKey] : F != null && F[i.exactMatchKey ?? "id"] ? u.value = [F] : u.value = [];
312
315
  } else {
313
316
  const w = [];
314
- g(B) && i.searchKeys.includes("id") ? w.push((async () => {
317
+ h(B) && i.searchKeys.includes("id") ? w.push((async () => {
315
318
  const { data: v } = await r.get(`${y.value}/${B}`);
316
319
  return [v[i.fetchedItemsKey] ?? v];
317
320
  })()) : w.push(
@@ -321,7 +324,7 @@ function Mi(e, t, n, i = {
321
324
  })
322
325
  );
323
326
  const F = await Promise.all(w), f = /* @__PURE__ */ new Set();
324
- u.value = [], (D = F == null ? void 0 : F.forEach) == null || D.call(F, (v) => {
327
+ u.value = [], (j = F == null ? void 0 : F.forEach) == null || j.call(F, (v) => {
325
328
  var b;
326
329
  (b = v == null ? void 0 : v.forEach) == null || b.call(v, (V) => {
327
330
  f.has(V.id) || (f.add(V.id), u.value.push(V));
@@ -355,13 +358,13 @@ function Mi(e, t, n, i = {
355
358
  debouncedQueryChange: l
356
359
  };
357
360
  }
358
- function ji(e, t) {
361
+ function Pi(e, t) {
359
362
  const n = A(t), i = $(
360
363
  () => e.apiBaseUrl.startsWith("/") ? new URL(`${window.location.origin}${n}`) : new URL(n)
361
364
  );
362
365
  return i.value.search = "", (r) => `${i.value.href}/${r}`;
363
366
  }
364
- function Di() {
367
+ function ji() {
365
368
  const { i18n: { t: e } } = He();
366
369
  return {
367
370
  getErrorFieldsFromError: (i) => {
@@ -433,7 +436,7 @@ function Di() {
433
436
  }
434
437
  };
435
438
  }
436
- function Pi(e) {
439
+ function Di(e) {
437
440
  const t = window.location.origin, n = t.endsWith("/") ? t : `${t}/`;
438
441
  try {
439
442
  const i = e.join("/"), r = `${n}${i}`, o = e.some((l) => l.trim() === "");
@@ -446,39 +449,39 @@ function Pi(e) {
446
449
  }
447
450
  function Qt(e, t) {
448
451
  const n = $(() => {
449
- const r = he(e);
452
+ const r = ge(e);
450
453
  return r.app === "konnect" || !!r.isExactMatch;
451
454
  }), i = $(() => {
452
- const r = he(t);
455
+ const r = ge(t);
453
456
  return r.startsWith("/") ? new URL(`${window.location.origin}${r}`) : new URL(r);
454
457
  });
455
458
  return (r) => {
456
459
  const { page: o, pageSize: a, offset: l, sortColumnKey: s, sortColumnOrder: c, query: d } = r;
457
460
  try {
458
461
  let u = new URL(i.value.href);
459
- return n.value && d ? (u.search = "", u = he(e).isExactMatch ? new URL(`${u.href}/${d}`) : new URL(`${u.href}?filter[name][contains]=${d}`)) : (n.value || new URLSearchParams(d).forEach((p, m) => {
462
+ return n.value && d ? (u.search = "", u = ge(e).isExactMatch ? new URL(`${u.href}/${d}`) : new URL(`${u.href}?filter[name][contains]=${d}`)) : (n.value || new URLSearchParams(d).forEach((p, m) => {
460
463
  u.searchParams.append(m, p);
461
464
  }), s && u.searchParams.append("sort_by", s), c === "desc" && u.searchParams.append("sort_desc", "1"), u.searchParams.append("size", String(a))), l && o !== 1 && u.searchParams.append("offset", String(l)), u.href;
462
465
  } catch (u) {
463
- return console.error("RouteList(fetcher)", u), he(t);
466
+ return console.error("RouteList(fetcher)", u), ge(t);
464
467
  }
465
468
  };
466
469
  }
467
470
  const bt = /* @__PURE__ */ new Map();
468
471
  function Ui(e, t, n) {
469
- const i = N(!0), r = he(e), { axiosInstance: o } = at(r.axiosRequestConfig), a = Qt(e, t), l = N({
472
+ const i = M(!0), r = ge(e), { axiosInstance: o } = at(r.axiosRequestConfig), a = Qt(e, t), l = M({
470
473
  status: me.Idle
471
474
  }), s = async (u) => {
472
475
  var m;
473
- const p = he(n) || "data";
476
+ const p = ge(n) || "data";
474
477
  try {
475
478
  l.value = i.value ? { status: me.InitialLoad } : { status: me.Loading }, i.value = !1;
476
479
  let y = a(u);
477
480
  y.includes("filter[name]") && (y = `${y}&page[size]=${u.pageSize}&page[number]=${u.page}`);
478
- const g = await o.get(y);
479
- if (g.status >= 400)
480
- throw g;
481
- const k = g.data, C = p && p.replace(/[^\w-_]/gi, "");
481
+ const h = await o.get(y);
482
+ if (h.status >= 400)
483
+ throw h;
484
+ const k = h.data, C = p && p.replace(/[^\w-_]/gi, "");
482
485
  let x;
483
486
  k[C] ? x = Array.isArray(k[C]) ? k[C] : [k[C]] : Array.isArray(k) ? x = k : x = Object.keys(k).length ? [k] : [];
484
487
  const B = {
@@ -498,19 +501,19 @@ function Ui(e, t, n) {
498
501
  response: B
499
502
  }, B;
500
503
  } catch (y) {
501
- const g = {
504
+ const h = {
502
505
  data: [],
503
506
  total: 0
504
507
  };
505
508
  return u.query && (((m = y.response) == null ? void 0 : m.status) === 404 || y.status === 404) ? (l.value = {
506
509
  status: me.NoResults,
507
- response: g,
510
+ response: h,
508
511
  error: y.response ? y : { response: y }
509
- }, g) : (l.value = {
512
+ }, h) : (l.value = {
510
513
  status: me.Error,
511
- response: g,
514
+ response: h,
512
515
  error: y.response ? y : { response: y }
513
- }, g);
516
+ }, h);
514
517
  }
515
518
  }, c = r.cacheIdentifier, d = Zt(c);
516
519
  return { fetcher: s, fetcherState: l, fetcherCacheKey: d };
@@ -518,9 +521,9 @@ function Ui(e, t, n) {
518
521
  function Zt(e) {
519
522
  if (e) {
520
523
  let t = bt.get(e);
521
- return t || (t = N(1), bt.set(e, t)), t;
524
+ return t || (t = M(1), bt.set(e, t)), t;
522
525
  }
523
- return N(1);
526
+ return M(1);
524
527
  }
525
528
  function qi() {
526
529
  const e = (i, r = "_") => i ? i.split(r).map((o) => o.toLowerCase() === "id" ? o.toUpperCase() : o.charAt(0).toUpperCase() + o.substring(1)).join(" ") : "", t = /(?:^|[\s-:'"])\w/g;
@@ -585,7 +588,7 @@ function Gi(e) {
585
588
  return !(a && _t(r, a, "<") || l && _t(r, l, ">"));
586
589
  }
587
590
  function zi(e) {
588
- const t = N(0), n = N(0), i = N(!1);
591
+ const t = M(0), n = M(0), i = M(!1);
589
592
  return be(e, (o) => {
590
593
  o && !i.value && (t.value = o.offsetWidth, n.value = o.scrollWidth, i.value = !0);
591
594
  }), {
@@ -607,25 +610,25 @@ const Qe = Symbol("schema"), Zi = (e) => {
607
610
  };
608
611
  function er(e) {
609
612
  let t = "";
610
- const n = N(!1), i = N(null), r = $(() => {
613
+ const n = M(!1), i = M(null), r = $(() => {
611
614
  let a;
612
- return n.value ? a = !0 : i.value ? a = i.value.hasData || e && he(e) : a = !1, !a;
615
+ return n.value ? a = !0 : i.value ? a = i.value.hasData || e && ge(e) : a = !1, !a;
613
616
  });
614
617
  return {
615
618
  tableState: i,
616
619
  hasRecords: n,
617
620
  hideTableToolbar: r,
618
621
  handleStateChange: (a) => {
619
- a.hasData ? n.value = !0 : a.state === "success" && !a.hasData && (!e || !t) && (n.value = !1), e && (t = he(e)), i.value = { ...a };
622
+ a.hasData ? n.value = !0 : a.state === "success" && !a.hasData && (!e || !t) && (n.value = !1), e && (t = ge(e)), i.value = { ...a };
620
623
  }
621
624
  };
622
625
  }
623
626
  const W = {
624
627
  useAxios: at,
625
628
  useDebouncedFilter: Mi,
626
- useDeleteUrlBuilder: ji,
627
- useErrors: Di,
628
- useExternalLinkCreator: Pi,
629
+ useDeleteUrlBuilder: Pi,
630
+ useErrors: ji,
631
+ useExternalLinkCreator: Di,
629
632
  useFetcher: Ui,
630
633
  useFetcherCacheKey: Zt,
631
634
  useFetchUrlBuilder: Qt,
@@ -665,14 +668,14 @@ const W = {
665
668
  var s;
666
669
  return t.isArrayItem ? (s = o.value) != null && s.name ? i(o.value.name, "_") : n("baseConfigCard.general.entryTitle", { index: t.index }) : "";
667
670
  });
668
- return (s, c) => (h(), M(Pe(e.isArrayItem ? "fieldset" : "div"), {
671
+ return (s, c) => (g(), N(De(e.isArrayItem ? "fieldset" : "div"), {
669
672
  class: fe(e.isArrayItem ? "config-card-fieldset" : "config-card-json-item")
670
673
  }, {
671
674
  default: _(() => [
672
- e.isArrayItem ? (h(), T("legend", tr, [
675
+ e.isArrayItem ? (g(), T("legend", tr, [
673
676
  L("b", null, O(l.value), 1)
674
- ])) : j("", !0),
675
- (h(!0), T(ue, null, ce(Object.keys(a.value), (d, u) => (h(), M(nn, {
677
+ ])) : P("", !0),
678
+ (g(!0), T(ue, null, ce(Object.keys(a.value), (d, u) => (g(), N(nn, {
676
679
  key: `${r.value}-property-${u}`,
677
680
  item: {
678
681
  key: d,
@@ -701,8 +704,8 @@ const W = {
701
704
  setup(e) {
702
705
  const { i18n: { t } } = W.useI18n();
703
706
  return (n, i) => {
704
- const r = P("KButton");
705
- return h(), T("div", null, [
707
+ const r = D("KButton");
708
+ return g(), T("div", null, [
706
709
  K(r, {
707
710
  appearance: "tertiary",
708
711
  class: "navigation-button",
@@ -727,8 +730,8 @@ const W = {
727
730
  setup(e) {
728
731
  const { i18n: { t } } = W.useI18n();
729
732
  return (n, i) => {
730
- const r = P("KBadge");
731
- return h(), M(r, {
733
+ const r = D("KBadge");
734
+ return g(), N(r, {
732
735
  appearance: e.status ? "success" : "neutral"
733
736
  }, {
734
737
  default: _(() => [
@@ -759,7 +762,7 @@ const W = {
759
762
  async function Te({ codeElement: e, code: t, language: n, theme: i }) {
760
763
  e.innerHTML = await mr(t, { lang: n, theme: i === "dark" ? "catppuccin-mocha" : "catppuccin-latte", structure: "inline" });
761
764
  }
762
- const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["data-testid"], vr = ["data-testid"], br = ["data-testid"], kr = { key: 1 }, Cr = ["data-testid"], xr = ["data-testid"], Ar = ["data-testid"], _r = ["data-testid"], wr = {
765
+ const gr = { class: "config-card-details-row" }, hr = ["data-testid"], yr = ["data-testid"], vr = ["data-testid"], br = ["data-testid"], kr = { key: 1 }, Cr = ["data-testid"], xr = ["data-testid"], Ar = ["data-testid"], _r = ["data-testid"], wr = {
763
766
  name: "ConfigCardItem",
764
767
  components: { JsonCardItem: tn, StatusBadge: ar, InternalLinkItem: rr }
765
768
  }, Sr = /* @__PURE__ */ z({
@@ -782,16 +785,16 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
782
785
  },
783
786
  emits: ["navigation-click"],
784
787
  setup(e, { emit: t }) {
785
- Vt((D) => ({
788
+ Vt((j) => ({
786
789
  v0b2cd434: p.value ? "none" : `solid ${A(ur)} ${A(lr)}`,
787
790
  bb02ad32: u.value && c.value ? "block" : "flex",
788
791
  d92de3ce: u.value && c.value ? "100%" : n.slim ? "50%" : "25%",
789
792
  d9295818: u.value && c.value ? "100%" : n.slim ? "50%" : "75%"
790
793
  }));
791
794
  const n = e, i = t, r = Qn(), o = Ue(), { i18n: { t: a, formatIsoDate: l, formatUnixTimeStamp: s } } = W.useI18n(), c = $(() => n.item.value !== void 0 && n.item.value !== null && n.item.value !== ""), d = $(() => !!(n.item.tooltip || o["label-tooltip"])), u = $(() => n.item.type === Y.Json || n.item.type === Y.JsonArray), p = $(() => n.item.type === Y.JsonArray), m = W.useSubSchema(n.item.key), y = $(() => {
792
- var D;
793
- return n.item.type ? n.item.type : (D = m == null ? void 0 : m.value) != null && D.encrypted ? Y.Redacted : void 0;
794
- }), g = $(() => {
795
+ var j;
796
+ return n.item.type ? n.item.type : (j = m == null ? void 0 : m.value) != null && j.encrypted ? Y.Redacted : void 0;
797
+ }), h = $(() => {
795
798
  switch (y.value) {
796
799
  case Y.ID:
797
800
  return {
@@ -872,8 +875,8 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
872
875
  attrs: {
873
876
  "data-testid": `${n.item.key}-internal-link`,
874
877
  item: n.item,
875
- onNavigationClick: (D) => {
876
- i("navigation-click", D);
878
+ onNavigationClick: (j) => {
879
+ i("navigation-click", j);
877
880
  }
878
881
  }
879
882
  };
@@ -923,15 +926,15 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
923
926
  text: n.item.value
924
927
  };
925
928
  }
926
- }), k = N(), C = N(), { isTruncated: x } = W.useTruncationDetector(k), { isTruncated: B } = W.useTruncationDetector(C);
927
- return (D, X) => {
928
- const S = P("KTooltip"), w = P("KLabel"), F = P("KBadge"), f = P("KCopy");
929
- return h(), T("div", hr, [
929
+ }), k = M(), C = M(), { isTruncated: x } = W.useTruncationDetector(k), { isTruncated: B } = W.useTruncationDetector(C);
930
+ return (j, X) => {
931
+ const S = D("KTooltip"), w = D("KLabel"), F = D("KBadge"), f = D("KCopy");
932
+ return g(), T("div", gr, [
930
933
  L("div", {
931
934
  class: "config-card-details-label",
932
935
  "data-testid": `${e.item.key}-label`
933
936
  }, [
934
- U(D.$slots, "label", { item: e.item }, () => [
937
+ U(j.$slots, "label", { item: e.item }, () => [
935
938
  K(w, { "tooltip-attributes": { maxWidth: "500px" } }, $e({
936
939
  default: _(() => [
937
940
  K(S, {
@@ -955,7 +958,7 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
955
958
  L("div", {
956
959
  "data-testid": `${e.item.key}-label-tooltip`
957
960
  }, [
958
- U(D.$slots, "label-tooltip", {}, () => [
961
+ U(j.$slots, "label-tooltip", {}, () => [
959
962
  q(O(e.item.tooltip), 1)
960
963
  ], !0)
961
964
  ], 8, yr)
@@ -964,22 +967,22 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
964
967
  } : void 0
965
968
  ]), 1024)
966
969
  ], !0)
967
- ], 8, gr),
970
+ ], 8, hr),
968
971
  L("div", {
969
972
  class: "config-card-details-value",
970
973
  "data-testid": `${e.item.key}-property-value`
971
974
  }, [
972
- U(D.$slots, e.item.key, {
975
+ U(j.$slots, e.item.key, {
973
976
  rowValue: e.item.value
974
977
  }, () => [
975
- c.value ? (h(), T("div", kr, [
976
- (h(), M(Pe(g.value.tag), Zn(Xn(g.value.attrs)), {
978
+ c.value ? (g(), T("div", kr, [
979
+ (g(), N(De(h.value.tag), Zn(Xn(h.value.attrs)), {
977
980
  default: _(() => [
978
- g.value.additionalComponent === "KBadge" ? (h(), T("div", {
981
+ h.value.additionalComponent === "KBadge" ? (g(), T("div", {
979
982
  key: 0,
980
983
  "data-testid": `${e.item.key}-badge-tags`
981
984
  }, [
982
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(F, {
985
+ (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(F, {
983
986
  key: `${e.item.key}-badge-tag-${b}`,
984
987
  class: "config-badge",
985
988
  "data-testid": `${e.item.key}-badge-tag-${b}`,
@@ -991,22 +994,22 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
991
994
  ]),
992
995
  _: 2
993
996
  }, 1032, ["data-testid", "tooltip"]))), 128))
994
- ], 8, Cr)) : g.value.additionalComponent === "KCopy" ? (h(), T("div", {
997
+ ], 8, Cr)) : h.value.additionalComponent === "KCopy" ? (g(), T("div", {
995
998
  key: 1,
996
999
  class: "copy-uuid-array",
997
1000
  "data-testid": `${e.item.key}-copy-uuid-array`
998
1001
  }, [
999
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(f, Yt({ ref_for: !0 }, g.value.childAttrs, {
1002
+ (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(f, Yt({ ref_for: !0 }, h.value.childAttrs, {
1000
1003
  key: `${e.item.key}-copy-uuid-${b}`,
1001
1004
  "data-testid": `${e.item.key}-copy-uuid-${b}`,
1002
1005
  text: v
1003
1006
  }), null, 16, ["data-testid", "text"]))), 128))
1004
- ], 8, xr)) : g.value.additionalComponent === "KMethodBadge" ? (h(), T("div", {
1007
+ ], 8, xr)) : h.value.additionalComponent === "KMethodBadge" ? (g(), T("div", {
1005
1008
  key: 2,
1006
1009
  class: "method-badge-array",
1007
1010
  "data-testid": `${e.item.key}-badge-methods`
1008
1011
  }, [
1009
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(F, {
1012
+ (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(F, {
1010
1013
  key: `${e.item.key}-badge-method-${b}`,
1011
1014
  appearance: Object.values(A(ai)).includes(v.toLowerCase()) ? v.toLowerCase() : "custom",
1012
1015
  class: "config-badge",
@@ -1017,17 +1020,17 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
1017
1020
  ]),
1018
1021
  _: 2
1019
1022
  }, 1032, ["appearance", "data-testid"]))), 128))
1020
- ], 8, Ar)) : g.value.additionalComponent === "JsonCardItem" ? (h(), T("div", {
1023
+ ], 8, Ar)) : h.value.additionalComponent === "JsonCardItem" ? (g(), T("div", {
1021
1024
  key: 3,
1022
1025
  "data-testid": `${n.item.key}-json-array-content`
1023
1026
  }, [
1024
- (h(!0), T(ue, null, ce(e.item.value, (v, b) => (h(), M(tn, {
1027
+ (g(!0), T(ue, null, ce(e.item.value, (v, b) => (g(), N(tn, {
1025
1028
  key: `json-array-item-${b}`,
1026
1029
  index: b,
1027
1030
  "is-array-item": "",
1028
1031
  item: v
1029
1032
  }, null, 8, ["index", "item"]))), 128))
1030
- ], 8, _r)) : (h(), M(S, {
1033
+ ], 8, _r)) : (g(), N(S, {
1031
1034
  key: 4,
1032
1035
  text: A(B) ? e.item.value : ""
1033
1036
  }, {
@@ -1036,14 +1039,14 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
1036
1039
  ref_key: "textContent",
1037
1040
  ref: C,
1038
1041
  class: fe(["attrs-data-text", { truncated: e.truncated }])
1039
- }, O(g.value.text), 3)
1042
+ }, O(h.value.text), 3)
1040
1043
  ]),
1041
1044
  _: 1
1042
1045
  }, 8, ["text"]))
1043
1046
  ]),
1044
1047
  _: 1
1045
1048
  }, 16))
1046
- ])) : (h(), T("div", {
1049
+ ])) : (g(), T("div", {
1047
1050
  key: 0,
1048
1051
  "data-testid": `${e.item.key}-no-value`
1049
1052
  }, " – ", 8, br))
@@ -1094,9 +1097,9 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
1094
1097
  return r.length < 2 ? 0 : 41 + (t.requestMethod === "post" ? r[r.length - 1] : r[r.length - 2]).length;
1095
1098
  });
1096
1099
  return (r, o) => {
1097
- const a = P("KBadge"), l = P("KCodeBlock");
1098
- return h(), T("div", $r, [
1099
- t.fetcherUrl ? (h(), T("div", Tr, [
1100
+ const a = D("KBadge"), l = D("KCodeBlock");
1101
+ return g(), T("div", $r, [
1102
+ t.fetcherUrl ? (g(), T("div", Tr, [
1100
1103
  K(a, {
1101
1104
  appearance: t.requestMethod
1102
1105
  }, {
@@ -1112,8 +1115,8 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
1112
1115
  "single-line": "",
1113
1116
  theme: "dark"
1114
1117
  }, null, 8, ["code"])
1115
- ])) : j("", !0),
1116
- t.entityRecord ? (h(), M(l, {
1118
+ ])) : P("", !0),
1119
+ t.entityRecord ? (g(), N(l, {
1117
1120
  key: 1,
1118
1121
  id: "json-codeblock",
1119
1122
  class: fe({ "json-content": t.fetcherUrl }),
@@ -1121,7 +1124,7 @@ const hr = { class: "config-card-details-row" }, gr = ["data-testid"], yr = ["da
1121
1124
  language: "json",
1122
1125
  theme: "dark",
1123
1126
  onCodeBlockRender: A(Te)
1124
- }, null, 8, ["class", "code", "onCodeBlockRender"])) : j("", !0)
1127
+ }, null, 8, ["class", "code", "onCodeBlockRender"])) : P("", !0)
1125
1128
  ]);
1126
1129
  };
1127
1130
  }
@@ -1152,13 +1155,13 @@ function Or(e, t) {
1152
1155
  function Br(e) {
1153
1156
  return e === 0 && Number.NEGATIVE_INFINITY === 1 / e;
1154
1157
  }
1155
- var Lr = an, Rr = Er, Kr = Ir, Nr = Or, Mr = Br, jr = Fr, ee = {
1158
+ var Lr = an, Rr = Er, Kr = Ir, Nr = Or, Mr = Br, Pr = Fr, ee = {
1156
1159
  isNothing: Lr,
1157
1160
  isObject: Rr,
1158
1161
  toArray: Kr,
1159
1162
  repeat: Nr,
1160
1163
  isNegativeZero: Mr,
1161
- extend: jr
1164
+ extend: Pr
1162
1165
  };
1163
1166
  function on(e, t) {
1164
1167
  var n = "", i = e.reason || "(unknown reason)";
@@ -1186,7 +1189,7 @@ function We(e, t, n, i, r) {
1186
1189
  function Je(e, t) {
1187
1190
  return ee.repeat(" ", t - e.length) + e;
1188
1191
  }
1189
- function Dr(e, t) {
1192
+ function jr(e, t) {
1190
1193
  if (t = Object.create(t || null), !e.buffer) return null;
1191
1194
  t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
1192
1195
  for (var n = /\r?\n|\r|\0/g, i = [0], r = [], o, a = -1; o = n.exec(e.buffer); )
@@ -1215,7 +1218,7 @@ function Dr(e, t) {
1215
1218
  `;
1216
1219
  return l.replace(/\n$/, "");
1217
1220
  }
1218
- var Pr = Dr, Ur = [
1221
+ var Dr = jr, Ur = [
1219
1222
  "kind",
1220
1223
  "multi",
1221
1224
  "resolve",
@@ -1532,21 +1535,21 @@ function ca(e, t) {
1532
1535
  function ua(e) {
1533
1536
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 !== 0 || ee.isNegativeZero(e));
1534
1537
  }
1535
- var hn = new ie("tag:yaml.org,2002:float", {
1538
+ var gn = new ie("tag:yaml.org,2002:float", {
1536
1539
  kind: "scalar",
1537
1540
  resolve: oa,
1538
1541
  construct: la,
1539
1542
  predicate: ua,
1540
1543
  represent: ca,
1541
1544
  defaultStyle: "lowercase"
1542
- }), gn = dn.extend({
1545
+ }), hn = dn.extend({
1543
1546
  implicit: [
1544
1547
  fn,
1545
1548
  pn,
1546
1549
  mn,
1547
- hn
1550
+ gn
1548
1551
  ]
1549
- }), yn = gn, vn = new RegExp(
1552
+ }), yn = hn, vn = new RegExp(
1550
1553
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
1551
1554
  ), bn = new RegExp(
1552
1555
  "^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
@@ -1584,7 +1587,7 @@ var Cn = new ie("tag:yaml.org,2002:merge", {
1584
1587
  resolve: ma
1585
1588
  }), ot = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
1586
1589
  \r`;
1587
- function ha(e) {
1590
+ function ga(e) {
1588
1591
  if (e === null) return !1;
1589
1592
  var t, n, i = 0, r = e.length, o = ot;
1590
1593
  for (n = 0; n < r; n++)
@@ -1594,7 +1597,7 @@ function ha(e) {
1594
1597
  }
1595
1598
  return i % 8 === 0;
1596
1599
  }
1597
- function ga(e) {
1600
+ function ha(e) {
1598
1601
  var t, n, i = e.replace(/[\r\n=]/g, ""), r = i.length, o = ot, a = 0, l = [];
1599
1602
  for (t = 0; t < r; t++)
1600
1603
  t % 4 === 0 && t && (l.push(a >> 16 & 255), l.push(a >> 8 & 255), l.push(a & 255)), a = a << 6 | o.indexOf(i.charAt(t));
@@ -1611,8 +1614,8 @@ function va(e) {
1611
1614
  }
1612
1615
  var xn = new ie("tag:yaml.org,2002:binary", {
1613
1616
  kind: "scalar",
1614
- resolve: ha,
1615
- construct: ga,
1617
+ resolve: ga,
1618
+ construct: ha,
1616
1619
  predicate: va,
1617
1620
  represent: ya
1618
1621
  }), ba = Object.prototype.hasOwnProperty, ka = Object.prototype.toString;
@@ -1745,7 +1748,7 @@ function Bn(e, t) {
1745
1748
  line: e.line,
1746
1749
  column: e.position - e.lineStart
1747
1750
  };
1748
- return n.snippet = Pr(n), new oe(t, n);
1751
+ return n.snippet = Dr(n), new oe(t, n);
1749
1752
  }
1750
1753
  function I(e, t) {
1751
1754
  throw Bn(e, t);
@@ -1769,7 +1772,7 @@ var It = {
1769
1772
  t.tagMap[r] = o;
1770
1773
  }
1771
1774
  };
1772
- function ge(e, t, n, i) {
1775
+ function he(e, t, n, i) {
1773
1776
  var r, o, a, l;
1774
1777
  if (t < n) {
1775
1778
  if (l = e.input.slice(t, n), i)
@@ -1850,32 +1853,32 @@ function Ma(e, t, n) {
1850
1853
  break;
1851
1854
  }
1852
1855
  }
1853
- l && (ge(e, o, a, !1), ct(e, e.line - s), o = a = e.position, l = !1), ve(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
1856
+ l && (he(e, o, a, !1), ct(e, e.line - s), o = a = e.position, l = !1), ve(m) || (a = e.position + 1), m = e.input.charCodeAt(++e.position);
1854
1857
  }
1855
- return ge(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
1858
+ return he(e, o, a, !1), e.result ? !0 : (e.kind = u, e.result = p, !1);
1856
1859
  }
1857
- function ja(e, t) {
1860
+ function Pa(e, t) {
1858
1861
  var n, i, r;
1859
1862
  if (n = e.input.charCodeAt(e.position), n !== 39)
1860
1863
  return !1;
1861
1864
  for (e.kind = "scalar", e.result = "", e.position++, i = r = e.position; (n = e.input.charCodeAt(e.position)) !== 0; )
1862
1865
  if (n === 39)
1863
- if (ge(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1866
+ if (he(e, i, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39)
1864
1867
  i = e.position, e.position++, r = e.position;
1865
1868
  else
1866
1869
  return !0;
1867
- else de(n) ? (ge(e, i, r, !0), ct(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1870
+ else de(n) ? (he(e, i, r, !0), ct(e, Z(e, !1, t)), i = r = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a single quoted scalar") : (e.position++, r = e.position);
1868
1871
  I(e, "unexpected end of the stream within a single quoted scalar");
1869
1872
  }
1870
- function Da(e, t) {
1873
+ function ja(e, t) {
1871
1874
  var n, i, r, o, a, l;
1872
1875
  if (l = e.input.charCodeAt(e.position), l !== 34)
1873
1876
  return !1;
1874
1877
  for (e.kind = "scalar", e.result = "", e.position++, n = i = e.position; (l = e.input.charCodeAt(e.position)) !== 0; ) {
1875
1878
  if (l === 34)
1876
- return ge(e, n, e.position, !0), e.position++, !0;
1879
+ return he(e, n, e.position, !0), e.position++, !0;
1877
1880
  if (l === 92) {
1878
- if (ge(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), de(l))
1881
+ if (he(e, n, e.position, !0), l = e.input.charCodeAt(++e.position), de(l))
1879
1882
  Z(e, !1, t);
1880
1883
  else if (l < 256 && Fn[l])
1881
1884
  e.result += On[l], e.position++;
@@ -1886,12 +1889,12 @@ function Da(e, t) {
1886
1889
  } else
1887
1890
  I(e, "unknown escape sequence");
1888
1891
  n = i = e.position;
1889
- } else de(l) ? (ge(e, n, i, !0), ct(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1892
+ } else de(l) ? (he(e, n, i, !0), ct(e, Z(e, !1, t)), n = i = e.position) : e.position === e.lineStart && Ve(e) ? I(e, "unexpected end of the document within a double quoted scalar") : (e.position++, i = e.position);
1890
1893
  }
1891
1894
  I(e, "unexpected end of the stream within a double quoted scalar");
1892
1895
  }
1893
- function Pa(e, t) {
1894
- var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, y = /* @__PURE__ */ Object.create(null), g, k, C, x;
1896
+ function Da(e, t) {
1897
+ var n = !0, i, r, o, a = e.tag, l, s = e.anchor, c, d, u, p, m, y = /* @__PURE__ */ Object.create(null), h, k, C, x;
1895
1898
  if (x = e.input.charCodeAt(e.position), x === 91)
1896
1899
  d = 93, m = !1, l = [];
1897
1900
  else if (x === 123)
@@ -1901,7 +1904,7 @@ function Pa(e, t) {
1901
1904
  for (e.anchor !== null && (e.anchorMap[e.anchor] = l), x = e.input.charCodeAt(++e.position); x !== 0; ) {
1902
1905
  if (Z(e, !0, t), x = e.input.charCodeAt(e.position), x === d)
1903
1906
  return e.position++, e.tag = a, e.anchor = s, e.kind = m ? "mapping" : "sequence", e.result = l, !0;
1904
- n ? x === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), k = g = C = null, u = p = !1, x === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ee(e, t, Ke, !1, !0), k = e.tag, g = e.result, Z(e, !0, t), x = e.input.charCodeAt(e.position), (p || e.line === i) && x === 58 && (u = !0, x = e.input.charCodeAt(++e.position), Z(e, !0, t), Ee(e, t, Ke, !1, !0), C = e.result), m ? we(e, l, y, k, g, C, i, r, o) : u ? l.push(we(e, null, y, k, g, C, i, r, o)) : l.push(g), Z(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1907
+ n ? x === 44 && I(e, "expected the node content, but found ','") : I(e, "missed comma between flow collection entries"), k = h = C = null, u = p = !1, x === 63 && (c = e.input.charCodeAt(e.position + 1), se(c) && (u = p = !0, e.position++, Z(e, !0, t))), i = e.line, r = e.lineStart, o = e.position, Ee(e, t, Ke, !1, !0), k = e.tag, h = e.result, Z(e, !0, t), x = e.input.charCodeAt(e.position), (p || e.line === i) && x === 58 && (u = !0, x = e.input.charCodeAt(++e.position), Z(e, !0, t), Ee(e, t, Ke, !1, !0), C = e.result), m ? we(e, l, y, k, h, C, i, r, o) : u ? l.push(we(e, null, y, k, h, C, i, r, o)) : l.push(h), Z(e, !0, t), x = e.input.charCodeAt(e.position), x === 44 ? (n = !0, x = e.input.charCodeAt(++e.position)) : n = !1;
1905
1908
  }
1906
1909
  I(e, "unexpected end of the stream within a flow collection");
1907
1910
  }
@@ -1948,7 +1951,7 @@ function Ua(e, t) {
1948
1951
  `, s) : e.result += ee.repeat(`
1949
1952
  `, o ? 1 + s : s), o = !0, a = !0, s = 0, n = e.position; !de(u) && u !== 0; )
1950
1953
  u = e.input.charCodeAt(++e.position);
1951
- ge(e, n, e.position, !1);
1954
+ he(e, n, e.position, !1);
1952
1955
  }
1953
1956
  return !0;
1954
1957
  }
@@ -1968,11 +1971,11 @@ function Ot(e, t) {
1968
1971
  return l ? (e.tag = i, e.anchor = r, e.kind = "sequence", e.result = o, !0) : !1;
1969
1972
  }
1970
1973
  function qa(e, t, n) {
1971
- var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, y = null, g = null, k = !1, C = !1, x;
1974
+ var i, r, o, a, l, s, c = e.tag, d = e.anchor, u = {}, p = /* @__PURE__ */ Object.create(null), m = null, y = null, h = null, k = !1, C = !1, x;
1972
1975
  if (e.firstTabInLine !== -1) return !1;
1973
1976
  for (e.anchor !== null && (e.anchorMap[e.anchor] = u), x = e.input.charCodeAt(e.position); x !== 0; ) {
1974
1977
  if (!k && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, I(e, "tab characters must not be used in indentation")), i = e.input.charCodeAt(e.position + 1), o = e.line, (x === 63 || x === 58) && se(i))
1975
- x === 63 ? (k && (we(e, u, p, m, y, null, a, l, s), m = y = g = null), C = !0, k = !0, r = !0) : k ? (k = !1, r = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = i;
1978
+ x === 63 ? (k && (we(e, u, p, m, y, null, a, l, s), m = y = h = null), C = !0, k = !0, r = !0) : k ? (k = !1, r = !0) : I(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, x = i;
1976
1979
  else {
1977
1980
  if (a = e.line, l = e.lineStart, s = e.position, !Ee(e, n, Sn, !1, !0))
1978
1981
  break;
@@ -1980,7 +1983,7 @@ function qa(e, t, n) {
1980
1983
  for (x = e.input.charCodeAt(e.position); ve(x); )
1981
1984
  x = e.input.charCodeAt(++e.position);
1982
1985
  if (x === 58)
1983
- x = e.input.charCodeAt(++e.position), se(x) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (we(e, u, p, m, y, null, a, l, s), m = y = g = null), C = !0, k = !1, r = !1, m = e.tag, y = e.result;
1986
+ x = e.input.charCodeAt(++e.position), se(x) || I(e, "a whitespace character is expected after the key-value separator within a block mapping"), k && (we(e, u, p, m, y, null, a, l, s), m = y = h = null), C = !0, k = !1, r = !1, m = e.tag, y = e.result;
1984
1987
  else if (C)
1985
1988
  I(e, "can not read an implicit mapping pair; a colon is missed");
1986
1989
  else
@@ -1990,7 +1993,7 @@ function qa(e, t, n) {
1990
1993
  else
1991
1994
  return e.tag = c, e.anchor = d, !0;
1992
1995
  }
1993
- if ((e.line === o || e.lineIndent > t) && (k && (a = e.line, l = e.lineStart, s = e.position), Ee(e, t, Ne, !0, r) && (k ? y = e.result : g = e.result), k || (we(e, u, p, m, y, g, a, l, s), m = y = g = null), Z(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1996
+ if ((e.line === o || e.lineIndent > t) && (k && (a = e.line, l = e.lineStart, s = e.position), Ee(e, t, Ne, !0, r) && (k ? y = e.result : h = e.result), k || (we(e, u, p, m, y, h, a, l, s), m = y = h = null), Z(e, !0, -1), x = e.input.charCodeAt(e.position)), (e.line === o || e.lineIndent > t) && x !== 0)
1994
1997
  I(e, "bad indentation of a mapping entry");
1995
1998
  else if (e.lineIndent < t)
1996
1999
  break;
@@ -2033,11 +2036,11 @@ function Ya(e) {
2033
2036
  return e.position === t && I(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), ye.call(e.anchorMap, n) || I(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
2034
2037
  }
2035
2038
  function Ee(e, t, n, i, r) {
2036
- var o, a, l, s = 1, c = !1, d = !1, u, p, m, y, g, k;
2039
+ var o, a, l, s = 1, c = !1, d = !1, u, p, m, y, h, k;
2037
2040
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, o = a = l = Ne === n || $n === n, i && Z(e, !0, -1) && (c = !0, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)), s === 1)
2038
2041
  for (; Ha(e) || Va(e); )
2039
2042
  Z(e, !0, -1) ? (c = !0, l = o, e.lineIndent > t ? s = 1 : e.lineIndent === t ? s = 0 : e.lineIndent < t && (s = -1)) : l = !1;
2040
- if (l && (l = c || r), (s === 1 || Ne === n) && (Ke === n || Sn === n ? g = t : g = t + 1, k = e.position - e.lineStart, s === 1 ? l && (Ot(e, k) || qa(e, k, g)) || Pa(e, g) ? d = !0 : (a && Ua(e, g) || ja(e, g) || Da(e, g) ? d = !0 : Ya(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : Ma(e, g, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ot(e, k))), e.tag === null)
2043
+ if (l && (l = c || r), (s === 1 || Ne === n) && (Ke === n || Sn === n ? h = t : h = t + 1, k = e.position - e.lineStart, s === 1 ? l && (Ot(e, k) || qa(e, k, h)) || Da(e, h) ? d = !0 : (a && Ua(e, h) || Pa(e, h) || ja(e, h) ? d = !0 : Ya(e) ? (d = !0, (e.tag !== null || e.anchor !== null) && I(e, "alias node should not have any properties")) : Ma(e, h, Ke === n) && (d = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : s === 0 && (d = l && Ot(e, k))), e.tag === null)
2041
2044
  e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
2042
2045
  else if (e.tag === "?") {
2043
2046
  for (e.result !== null && e.kind !== "scalar" && I(e, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + e.kind + '"'), u = 0, p = e.implicitTypes.length; u < p; u += 1)
@@ -2117,7 +2120,7 @@ function Ga(e, t) {
2117
2120
  var za = Ja, Qa = Ga, Rn = {
2118
2121
  loadAll: za,
2119
2122
  load: Qa
2120
- }, Kn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ut = 65279, Za = 9, Oe = 10, Xa = 13, eo = 32, to = 33, no = 34, Xe = 35, io = 37, ro = 38, ao = 39, oo = 42, Mn = 44, lo = 45, je = 58, so = 61, co = 62, uo = 63, fo = 64, jn = 91, Dn = 93, po = 96, Pn = 123, mo = 124, Un = 125, re = {};
2123
+ }, Kn = Object.prototype.toString, Nn = Object.prototype.hasOwnProperty, ut = 65279, Za = 9, Oe = 10, Xa = 13, eo = 32, to = 33, no = 34, Xe = 35, io = 37, ro = 38, ao = 39, oo = 42, Mn = 44, lo = 45, Pe = 58, so = 61, co = 62, uo = 63, fo = 64, Pn = 91, jn = 93, po = 96, Dn = 123, mo = 124, Un = 125, re = {};
2121
2124
  re[0] = "\\0";
2122
2125
  re[7] = "\\a";
2123
2126
  re[8] = "\\b";
@@ -2133,7 +2136,7 @@ re[133] = "\\N";
2133
2136
  re[160] = "\\_";
2134
2137
  re[8232] = "\\L";
2135
2138
  re[8233] = "\\P";
2136
- var ho = [
2139
+ var go = [
2137
2140
  "y",
2138
2141
  "Y",
2139
2142
  "yes",
@@ -2150,7 +2153,7 @@ var ho = [
2150
2153
  "off",
2151
2154
  "Off",
2152
2155
  "OFF"
2153
- ], go = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2156
+ ], ho = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
2154
2157
  function yo(e, t) {
2155
2158
  var n, i, r, o, a, l, s;
2156
2159
  if (t === null) return {};
@@ -2192,7 +2195,7 @@ function Co(e, t) {
2192
2195
  return !0;
2193
2196
  return !1;
2194
2197
  }
2195
- function De(e) {
2198
+ function je(e) {
2196
2199
  return e === eo || e === Za;
2197
2200
  }
2198
2201
  function Le(e) {
@@ -2202,20 +2205,20 @@ function Lt(e) {
2202
2205
  return Le(e) && e !== ut && e !== Xa && e !== Oe;
2203
2206
  }
2204
2207
  function Rt(e, t, n) {
2205
- var i = Lt(e), r = i && !De(e);
2208
+ var i = Lt(e), r = i && !je(e);
2206
2209
  return (
2207
2210
  // ns-plain-safe
2208
2211
  (n ? (
2209
2212
  // c = flow-in
2210
2213
  i
2211
- ) : i && e !== Mn && e !== jn && e !== Dn && e !== Pn && e !== Un) && e !== Xe && !(t === je && !r) || Lt(t) && !De(t) && e === Xe || t === je && r
2214
+ ) : i && e !== Mn && e !== Pn && e !== jn && e !== Dn && e !== Un) && e !== Xe && !(t === Pe && !r) || Lt(t) && !je(t) && e === Xe || t === Pe && r
2212
2215
  );
2213
2216
  }
2214
2217
  function xo(e) {
2215
- return Le(e) && e !== ut && !De(e) && e !== lo && e !== uo && e !== je && e !== Mn && e !== jn && e !== Dn && e !== Pn && e !== Un && e !== Xe && e !== ro && e !== oo && e !== to && e !== mo && e !== so && e !== co && e !== ao && e !== no && e !== io && e !== fo && e !== po;
2218
+ return Le(e) && e !== ut && !je(e) && e !== lo && e !== uo && e !== Pe && e !== Mn && e !== Pn && e !== jn && e !== Dn && e !== Un && e !== Xe && e !== ro && e !== oo && e !== to && e !== mo && e !== so && e !== co && e !== ao && e !== no && e !== io && e !== fo && e !== po;
2216
2219
  }
2217
2220
  function Ao(e) {
2218
- return !De(e) && e !== je;
2221
+ return !je(e) && e !== Pe;
2219
2222
  }
2220
2223
  function Ie(e, t) {
2221
2224
  var n = e.charCodeAt(t), i;
@@ -2227,12 +2230,12 @@ function qn(e) {
2227
2230
  }
2228
2231
  var Hn = 1, tt = 2, Vn = 3, Yn = 4, Ae = 5;
2229
2232
  function _o(e, t, n, i, r, o, a, l) {
2230
- var s, c = 0, d = null, u = !1, p = !1, m = i !== -1, y = -1, g = xo(Ie(e, 0)) && Ao(Ie(e, e.length - 1));
2233
+ var s, c = 0, d = null, u = !1, p = !1, m = i !== -1, y = -1, h = xo(Ie(e, 0)) && Ao(Ie(e, e.length - 1));
2231
2234
  if (t || a)
2232
2235
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
2233
2236
  if (c = Ie(e, s), !Le(c))
2234
2237
  return Ae;
2235
- g = g && Rt(c, d, l), d = c;
2238
+ h = h && Rt(c, d, l), d = c;
2236
2239
  }
2237
2240
  else {
2238
2241
  for (s = 0; s < e.length; c >= 65536 ? s += 2 : s++) {
@@ -2241,17 +2244,17 @@ function _o(e, t, n, i, r, o, a, l) {
2241
2244
  s - y - 1 > i && e[y + 1] !== " ", y = s);
2242
2245
  else if (!Le(c))
2243
2246
  return Ae;
2244
- g = g && Rt(c, d, l), d = c;
2247
+ h = h && Rt(c, d, l), d = c;
2245
2248
  }
2246
2249
  p = p || m && s - y - 1 > i && e[y + 1] !== " ";
2247
2250
  }
2248
- return !u && !p ? g && !a && !r(e) ? Hn : o === Be ? Ae : tt : n > 9 && qn(e) ? Ae : a ? o === Be ? Ae : tt : p ? Yn : Vn;
2251
+ return !u && !p ? h && !a && !r(e) ? Hn : o === Be ? Ae : tt : n > 9 && qn(e) ? Ae : a ? o === Be ? Ae : tt : p ? Yn : Vn;
2249
2252
  }
2250
2253
  function wo(e, t, n, i, r) {
2251
2254
  e.dump = function() {
2252
2255
  if (t.length === 0)
2253
2256
  return e.quotingType === Be ? '""' : "''";
2254
- if (!e.noCompatMode && (ho.indexOf(t) !== -1 || go.test(t)))
2257
+ if (!e.noCompatMode && (go.indexOf(t) !== -1 || ho.test(t)))
2255
2258
  return e.quotingType === Be ? '"' + t + '"' : "'" + t + "'";
2256
2259
  var o = e.indent * Math.max(1, n), a = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - o), l = i || e.flowLevel > -1 && n >= e.flowLevel;
2257
2260
  function s(c) {
@@ -2327,7 +2330,7 @@ function To(e, t, n) {
2327
2330
  l = n[o], e.replacer && (l = e.replacer.call(n, String(o), l)), (pe(e, t, l, !1, !1) || typeof l > "u" && pe(e, t, null, !1, !1)) && (i !== "" && (i += "," + (e.condenseFlow ? "" : " ")), i += e.dump);
2328
2331
  e.tag = r, e.dump = "[" + i + "]";
2329
2332
  }
2330
- function jt(e, t, n, i) {
2333
+ function Pt(e, t, n, i) {
2331
2334
  var r = "", o = e.tag, a, l, s;
2332
2335
  for (a = 0, l = n.length; a < l; a += 1)
2333
2336
  s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (pe(e, t + 1, s, !0, !0, !1, !0) || typeof s > "u" && pe(e, t + 1, null, !0, !0, !1, !0)) && ((!i || r !== "") && (r += et(e, t)), e.dump && Oe === e.dump.charCodeAt(0) ? r += "-" : r += "- ", r += e.dump);
@@ -2351,7 +2354,7 @@ function Io(e, t, n, i) {
2351
2354
  p = "", (!i || r !== "") && (p += et(e, t)), c = a[l], d = n[c], e.replacer && (d = e.replacer.call(n, c, d)), pe(e, t + 1, c, !0, !0, !0) && (u = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, u && (e.dump && Oe === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, u && (p += et(e, t)), pe(e, t + 1, d, !0, u) && (e.dump && Oe === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, r += p));
2352
2355
  e.tag = o, e.dump = r || "{}";
2353
2356
  }
2354
- function Dt(e, t, n) {
2357
+ function jt(e, t, n) {
2355
2358
  var i, r, o, a, l, s;
2356
2359
  for (r = n ? e.explicitTypes : e.implicitTypes, o = 0, a = r.length; o < a; o += 1)
2357
2360
  if (l = r[o], (l.instanceOf || l.predicate) && (!l.instanceOf || typeof t == "object" && t instanceof l.instanceOf) && (!l.predicate || l.predicate(t))) {
@@ -2369,7 +2372,7 @@ function Dt(e, t, n) {
2369
2372
  return !1;
2370
2373
  }
2371
2374
  function pe(e, t, n, i, r, o, a) {
2372
- e.tag = null, e.dump = n, Dt(e, n, !1) || Dt(e, n, !0);
2375
+ e.tag = null, e.dump = n, jt(e, n, !1) || jt(e, n, !0);
2373
2376
  var l = Kn.call(e.dump), s = i, c;
2374
2377
  i && (i = e.flowLevel < 0 || e.flowLevel > t);
2375
2378
  var d = l === "[object Object]" || l === "[object Array]", u, p;
@@ -2379,7 +2382,7 @@ function pe(e, t, n, i, r, o, a) {
2379
2382
  if (d && p && !e.usedDuplicates[u] && (e.usedDuplicates[u] = !0), l === "[object Object]")
2380
2383
  i && Object.keys(e.dump).length !== 0 ? (Io(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (Eo(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2381
2384
  else if (l === "[object Array]")
2382
- i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? jt(e, t - 1, e.dump, r) : jt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (To(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2385
+ i && e.dump.length !== 0 ? (e.noArrayIndent && !a && t > 0 ? Pt(e, t - 1, e.dump, r) : Pt(e, t, e.dump, r), p && (e.dump = "&ref_" + u + e.dump)) : (To(e, t, e.dump), p && (e.dump = "&ref_" + u + " " + e.dump));
2383
2386
  else if (l === "[object String]")
2384
2387
  e.tag !== "?" && wo(e, e.dump, t, o, s);
2385
2388
  else {
@@ -2428,9 +2431,9 @@ function dt(e, t) {
2428
2431
  throw new Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
2429
2432
  };
2430
2433
  }
2431
- var Ro = ie, Ko = ln, No = dn, Mo = gn, jo = yn, Do = lt, Po = Rn.load, Uo = Rn.loadAll, qo = Lo.dump, Ho = oe, Vo = {
2434
+ var Ro = ie, Ko = ln, No = dn, Mo = hn, Po = yn, jo = lt, Do = Rn.load, Uo = Rn.loadAll, qo = Lo.dump, Ho = oe, Vo = {
2432
2435
  binary: xn,
2433
- float: hn,
2436
+ float: gn,
2434
2437
  map: un,
2435
2438
  null: fn,
2436
2439
  pairs: _n,
@@ -2447,9 +2450,9 @@ var Ro = ie, Ko = ln, No = dn, Mo = gn, jo = yn, Do = lt, Po = Rn.load, Uo = Rn.
2447
2450
  Schema: Ko,
2448
2451
  FAILSAFE_SCHEMA: No,
2449
2452
  JSON_SCHEMA: Mo,
2450
- CORE_SCHEMA: jo,
2451
- DEFAULT_SCHEMA: Do,
2452
- load: Po,
2453
+ CORE_SCHEMA: Po,
2454
+ DEFAULT_SCHEMA: jo,
2455
+ load: Do,
2453
2456
  loadAll: Uo,
2454
2457
  dump: qo,
2455
2458
  YAMLException: Ho,
@@ -2473,16 +2476,16 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2473
2476
  return Object.keys(i).length === 0 && i.constructor === Object ? "" : Wn.dump(i).trim();
2474
2477
  });
2475
2478
  return (i, r) => {
2476
- const o = P("KCodeBlock");
2477
- return h(), T("div", Go, [
2478
- t.entityRecord ? (h(), M(o, {
2479
+ const o = D("KCodeBlock");
2480
+ return g(), T("div", Go, [
2481
+ t.entityRecord ? (g(), N(o, {
2479
2482
  key: 0,
2480
2483
  id: "yaml-codeblock",
2481
2484
  code: n.value,
2482
2485
  language: "yaml",
2483
2486
  theme: "dark",
2484
2487
  onCodeBlockRender: A(Te)
2485
- }, null, 8, ["code", "onCodeBlockRender"])) : j("", !0)
2488
+ }, null, 8, ["code", "onCodeBlockRender"])) : P("", !0)
2486
2489
  ]);
2487
2490
  };
2488
2491
  }
@@ -2525,11 +2528,11 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2525
2528
  `), c === null)
2526
2529
  return d ? m += `${p}}` : m = "{}", m;
2527
2530
  const y = Object.fromEntries(Object.entries(c).filter(([, k]) => k !== null));
2528
- let g = "";
2531
+ let h = "";
2529
2532
  for (const [k, C] of Object.entries(y))
2530
- Array.isArray(C) ? C.length === 0 ? g = "[]" : (g = `[
2531
- `, g += a(C, void 0, p), g += `${p}${te}]`) : C && typeof C == "object" ? (g = `{
2532
- `, g += o(C, void 0, p), g += `${p}${te}}`) : g = String(C ?? ""), typeof C == "string" && (g = `"${g}"`), m += `${p}${te}${k} = ${g}
2533
+ Array.isArray(C) ? C.length === 0 ? h = "[]" : (h = `[
2534
+ `, h += a(C, void 0, p), h += `${p}${te}]`) : C && typeof C == "object" ? (h = `{
2535
+ `, h += o(C, void 0, p), h += `${p}${te}}`) : h = String(C ?? ""), typeof C == "string" && (h = `"${h}"`), m += `${p}${te}${k} = ${h}
2533
2536
  `;
2534
2537
  return d ? m += `${p}}
2535
2538
  ` : m;
@@ -2541,9 +2544,9 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2541
2544
  d && (c.length === 0 ? m += `${p}${d} = [` : m += `${p}${d} = [
2542
2545
  `);
2543
2546
  for (let y = 0; y < c.length; y++) {
2544
- const g = c[y];
2545
- typeof g == "object" ? (m += `${p}${te}{
2546
- `, m += o(g, void 0, p), m += `${p}${te}}`) : typeof g == "string" ? m += `${p}${te}"${g}"` : m += `${p}${te}${String(g ?? "")}`, y < c.length - 1 && (m += ","), m += `
2547
+ const h = c[y];
2548
+ typeof h == "object" ? (m += `${p}${te}{
2549
+ `, m += o(h, void 0, p), m += `${p}${te}}`) : typeof h == "string" ? m += `${p}${te}"${h}"` : m += `${p}${te}${String(h ?? "")}`, y < c.length - 1 && (m += ","), m += `
2547
2550
  `;
2548
2551
  }
2549
2552
  return d && (c.length === 0 ? m += `]
@@ -2555,20 +2558,20 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2555
2558
  Array.isArray(p) ? d += a(p, u) : typeof p == "object" ? d += o(p, u) : d += r(p, u);
2556
2559
  return d;
2557
2560
  }, s = $(() => {
2558
- var m, y, g, k, C, x, B;
2559
- const c = Object.fromEntries(Object.entries(t.entityRecord).filter(([, D]) => D != null)), d = t.entityRecord.config ? Object.fromEntries(Object.entries((m = t.entityRecord) == null ? void 0 : m.config).filter(([, D]) => D != null)) : void 0;
2561
+ var m, y, h, k, C, x, B;
2562
+ const c = Object.fromEntries(Object.entries(t.entityRecord).filter(([, j]) => j != null)), d = t.entityRecord.config ? Object.fromEntries(Object.entries((m = t.entityRecord) == null ? void 0 : m.config).filter(([, j]) => j != null)) : void 0;
2560
2563
  if (d && (c.config = d), Object.keys(c).length === 0)
2561
2564
  return "";
2562
2565
  delete c.id;
2563
2566
  let u = "", p = "";
2564
- if ((y = c.service) != null && y.id ? (p = "service", delete c.service) : (g = c.route) != null && g.id ? (p = "route", delete c.route) : (k = c.consumer) != null && k.id ? (p = "consumer", delete c.consumer) : (C = c.consumer_group) != null && C.id ? (p = "consumer_group", delete c.consumer_group) : (x = c.certificate) != null && x.id ? (p = "certificate", delete c.certificate) : (B = c.set) != null && B.id && (p = "set", delete c.set), n.value) {
2565
- const D = t.subEntityType ? `${t.entityType}_${t.subEntityType}` : t.entityType;
2566
- u += `resource "konnect_event_gateway_${D}" "my_eventgateway${D.replaceAll("_", "")}" {
2567
+ if ((y = c.service) != null && y.id ? (p = "service", delete c.service) : (h = c.route) != null && h.id ? (p = "route", delete c.route) : (k = c.consumer) != null && k.id ? (p = "consumer", delete c.consumer) : (C = c.consumer_group) != null && C.id ? (p = "consumer_group", delete c.consumer_group) : (x = c.certificate) != null && x.id ? (p = "certificate", delete c.certificate) : (B = c.set) != null && B.id && (p = "set", delete c.set), n.value) {
2568
+ const j = t.subEntityType ? `${t.entityType}_${t.subEntityType}` : t.entityType;
2569
+ u += `resource "konnect_event_gateway_${j}" "my_eventgateway${j.replaceAll("_", "")}" {
2567
2570
  `, u += `${te}provider = konnect-beta
2568
2571
  `;
2569
2572
  } else if (t.entityType === "plugin") {
2570
- const D = t.credentialType.replace(/-/g, "_") || (c.name + "").replace(/-/g, "_");
2571
- delete c.name, u += `resource "konnect_gateway_plugin_${D}" "my_${D}" {
2573
+ const j = t.credentialType.replace(/-/g, "_") || (c.name + "").replace(/-/g, "_");
2574
+ delete c.name, u += `resource "konnect_gateway_plugin_${j}" "my_${j}" {
2572
2575
  `;
2573
2576
  } else i.value ? (u += `resource "konnect_${t.entityType}" "my_${t.entityType}" {
2574
2577
  `, u += `${te}provider = konnect-beta
@@ -2582,16 +2585,16 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2582
2585
  `, u;
2583
2586
  });
2584
2587
  return (c, d) => {
2585
- const u = P("KCodeBlock");
2586
- return h(), T("div", zo, [
2587
- t.entityRecord ? (h(), M(u, {
2588
+ const u = D("KCodeBlock");
2589
+ return g(), T("div", zo, [
2590
+ t.entityRecord ? (g(), N(u, {
2588
2591
  key: 0,
2589
2592
  id: "terraform-codeblock",
2590
2593
  code: s.value,
2591
2594
  language: "terraform",
2592
2595
  theme: "dark",
2593
2596
  onCodeBlockRender: A(Te)
2594
- }, null, 8, ["code", "onCodeBlockRender"])) : j("", !0)
2597
+ }, null, 8, ["code", "onCodeBlockRender"])) : P("", !0)
2595
2598
  ]);
2596
2599
  };
2597
2600
  }
@@ -2666,15 +2669,15 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2666
2669
  const s = JSON.parse(JSON.stringify(l));
2667
2670
  return delete s.created_at, delete s.updated_at, s;
2668
2671
  }), a = $(() => t.fetcherUrl.replace(/(\?|&)__ui_data=true/, ""));
2669
- return (l, s) => (h(), T(ue, null, [
2670
- e.format === "structured" ? (h(), T("div", Qo, [
2671
- (h(!0), T(ue, null, ce(e.propListTypes, (c) => (h(), T("div", {
2672
+ return (l, s) => (g(), T(ue, null, [
2673
+ e.format === "structured" ? (g(), T("div", Qo, [
2674
+ (g(!0), T(ue, null, ce(e.propListTypes, (c) => (g(), T("div", {
2672
2675
  key: `config-card-details-${c}-props`,
2673
2676
  class: fe(`config-card-details-${c}-props`),
2674
2677
  "data-testid": `config-card-details-${c}-props`
2675
2678
  }, [
2676
- c !== "basic" ? (h(), T("div", Xo, O(c === "advanced" ? A(i)("baseConfigCard.sections.advanced") : c === "plugin" ? A(i)("baseConfigCard.sections.plugin") : A(i)("baseConfigCard.sections.policy")), 1)) : j("", !0),
2677
- (h(!0), T(ue, null, ce(e.propertyCollections[c], (d) => U(l.$slots, `config-card-item-${d.key}`, {
2679
+ c !== "basic" ? (g(), T("div", Xo, O(c === "advanced" ? A(i)("baseConfigCard.sections.advanced") : c === "plugin" ? A(i)("baseConfigCard.sections.plugin") : A(i)("baseConfigCard.sections.policy")), 1)) : P("", !0),
2680
+ (g(!0), T(ue, null, ce(e.propertyCollections[c], (d) => U(l.$slots, `config-card-item-${d.key}`, {
2678
2681
  key: d.key,
2679
2682
  item: d
2680
2683
  }, () => [
@@ -2700,24 +2703,24 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2700
2703
  ]), 1032, ["item"])
2701
2704
  ], !0)), 128))
2702
2705
  ], 10, Zo))), 128))
2703
- ])) : j("", !0),
2704
- e.format === "json" && o.value ? (h(), M(rn, {
2706
+ ])) : P("", !0),
2707
+ e.format === "json" && o.value ? (g(), N(rn, {
2705
2708
  key: 1,
2706
2709
  config: t.config,
2707
2710
  "entity-record": o.value,
2708
2711
  "fetcher-url": a.value,
2709
2712
  "request-method": "get"
2710
- }, null, 8, ["config", "entity-record", "fetcher-url"])) : j("", !0),
2711
- e.format === "yaml" && o.value ? (h(), M(Jn, {
2713
+ }, null, 8, ["config", "entity-record", "fetcher-url"])) : P("", !0),
2714
+ e.format === "yaml" && o.value ? (g(), N(Jn, {
2712
2715
  key: 2,
2713
2716
  "entity-record": o.value
2714
- }, null, 8, ["entity-record"])) : j("", !0),
2715
- e.format === "terraform" && o.value ? (h(), M(Gn, {
2717
+ }, null, 8, ["entity-record"])) : P("", !0),
2718
+ e.format === "terraform" && o.value ? (g(), N(Gn, {
2716
2719
  key: 3,
2717
2720
  "entity-record": o.value,
2718
2721
  "entity-type": t.entityType,
2719
2722
  "sub-entity-type": t.subEntityType
2720
- }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : j("", !0)
2723
+ }, null, 8, ["entity-record", "entity-type", "sub-entity-type"])) : P("", !0)
2721
2724
  ], 64));
2722
2725
  }
2723
2726
  }), tl = /* @__PURE__ */ le(el, [["__scopeId", "data-v-a7689049"]]), nl = {
@@ -2867,7 +2870,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2867
2870
  label: r("baseForm.configuration.terraform"),
2868
2871
  value: "terraform"
2869
2872
  });
2870
- const c = s[0].value, d = N(c), u = (f) => {
2873
+ const c = s[0].value, d = M(c), u = (f) => {
2871
2874
  d.value = f == null ? void 0 : f.value, n("configFormatChange", d.value);
2872
2875
  }, p = (f, v) => {
2873
2876
  localStorage.setItem(f, v);
@@ -2921,7 +2924,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2921
2924
  // the last property displayed
2922
2925
  section: ae.Basic
2923
2926
  }
2924
- }, y = N(!1), g = N(!1), k = N(""), C = N({}), x = $(() => {
2927
+ }, y = M(!1), h = M(!1), k = M(""), C = M({}), x = $(() => {
2925
2928
  var b, V, J;
2926
2929
  if (!C.value)
2927
2930
  return [];
@@ -2972,7 +2975,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
2972
2975
  section: ae.Plugin
2973
2976
  };
2974
2977
  }).filter((E) => !E.hidden);
2975
- }), D = $(() => {
2978
+ }), j = $(() => {
2976
2979
  var V, J;
2977
2980
  if (!C.value || !i.policyConfigKey)
2978
2981
  return [];
@@ -3003,7 +3006,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3003
3006
  basic: (f = x.value) == null ? void 0 : f.filter((R) => R.section === ae.Basic),
3004
3007
  advanced: (v = x.value) == null ? void 0 : v.filter((R) => R.section === ae.Advanced),
3005
3008
  plugin: (V = B.value) == null ? void 0 : V.concat((b = x.value) == null ? void 0 : b.filter((R) => R.section === ae.Plugin)),
3006
- policy: (E = D.value) == null ? void 0 : E.concat((J = x.value) == null ? void 0 : J.filter((R) => R.section === ae.Policy))
3009
+ policy: (E = j.value) == null ? void 0 : E.concat((J = x.value) == null ? void 0 : J.filter((R) => R.section === ae.Policy))
3007
3010
  };
3008
3011
  }), S = $(() => {
3009
3012
  const f = [];
@@ -3016,7 +3019,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3016
3019
  return be(y, (f) => {
3017
3020
  n("loading", f);
3018
3021
  }, { immediate: !0 }), rt(async () => {
3019
- g.value = !1, y.value = !0;
3022
+ h.value = !1, y.value = !0;
3020
3023
  try {
3021
3024
  const { data: f } = await l.get(w.value);
3022
3025
  if (i.dataKey)
@@ -3030,13 +3033,13 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3030
3033
  }), n("fetch:success", f);
3031
3034
  } catch (f) {
3032
3035
  const v = o(f);
3033
- k.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, g.value = !0, n("fetch:error", f);
3036
+ k.value = v.startsWith("code") ? r("baseConfigCard.errors.load") : v, h.value = !0, n("fetch:error", f);
3034
3037
  } finally {
3035
3038
  y.value = !1;
3036
3039
  }
3037
3040
  }), (f, v) => {
3038
- const b = P("KLabel"), V = P("KSelect"), J = P("KButton"), E = P("KSkeleton"), R = P("KEmptyState"), G = P("KCard");
3039
- return h(), M(G, {
3041
+ const b = D("KLabel"), V = D("KSelect"), J = D("KButton"), E = D("KSkeleton"), R = D("KEmptyState"), G = D("KCard");
3042
+ return g(), N(G, {
3040
3043
  class: "kong-ui-entity-base-config-card",
3041
3044
  "title-tag": e.titleTag
3042
3045
  }, $e({
@@ -3059,7 +3062,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3059
3062
  items: s,
3060
3063
  onChange: u
3061
3064
  }, null, 8, ["modelValue"]),
3062
- e.configCardDoc ? (h(), M(J, {
3065
+ e.configCardDoc ? (g(), N(J, {
3063
3066
  key: 0,
3064
3067
  appearance: "tertiary",
3065
3068
  class: "book-icon",
@@ -3075,16 +3078,16 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3075
3078
  ], 8, rl)
3076
3079
  ]),
3077
3080
  _: 1
3078
- })) : j("", !0)
3081
+ })) : P("", !0)
3079
3082
  ])
3080
3083
  ]),
3081
3084
  default: _(() => [
3082
- y.value ? (h(), M(E, {
3085
+ y.value ? (g(), N(E, {
3083
3086
  key: 0,
3084
3087
  "data-testid": "config-card-loader",
3085
3088
  "table-columns": 2,
3086
3089
  type: "table"
3087
- })) : g.value ? (h(), M(R, {
3090
+ })) : h.value ? (g(), N(R, {
3088
3091
  key: 1,
3089
3092
  "data-testid": "config-card-fetch-error",
3090
3093
  "icon-variant": "error"
@@ -3093,7 +3096,7 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3093
3096
  L("h3", null, O(k.value), 1)
3094
3097
  ]),
3095
3098
  _: 1
3096
- })) : j("", !0),
3099
+ })) : P("", !0),
3097
3100
  L("div", al, [
3098
3101
  K(tl, {
3099
3102
  "code-block-record-formatter": e.codeBlockRecordFormatter,
@@ -3134,26 +3137,29 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3134
3137
  }), Fs = /* @__PURE__ */ le(ol, [["__scopeId", "data-v-f2b42324"]]), ll = { class: "deck-config config-card-code-block" }, sl = /* @__PURE__ */ z({
3135
3138
  __name: "DeckCodeBlock",
3136
3139
  props: {
3140
+ app: {},
3137
3141
  entityRecord: {},
3138
3142
  entityType: {},
3139
3143
  geoApiServerUrl: {},
3140
- controlPlaneName: {}
3144
+ controlPlaneName: {},
3145
+ kongAdminApiUrl: {},
3146
+ workspace: {}
3141
3147
  },
3142
3148
  setup(e) {
3143
3149
  const t = e, { i18n: n, i18nT: i } = W.useI18n(), r = [
3144
3150
  { value: "bash", label: "Linux / macOS Bash" },
3145
3151
  { value: "powershell", label: "Windows PowerShell" }
3146
- ], o = N(navigator.userAgent.toLowerCase().includes("windows") ? "powershell" : "bash"), a = $(() => {
3152
+ ], o = M(navigator.userAgent.toLowerCase().includes("windows") ? "powershell" : "bash"), a = $(() => {
3147
3153
  const d = {
3148
3154
  _format_version: "3.0"
3149
3155
  };
3150
- return t.controlPlaneName && (d._konnect = {
3156
+ return t.controlPlaneName ? d._konnect = {
3151
3157
  control_plane_name: t.controlPlaneName
3152
- }), d;
3158
+ } : t.workspace && (d._workspace = t.workspace), d;
3153
3159
  }), l = $(() => {
3154
- var m, y, g, k, C;
3160
+ var m, y, h, k, C;
3155
3161
  const d = Object.fromEntries(Object.entries(t.entityRecord).filter(([, x]) => x !== null && x !== "" && (Array.isArray(x) ? x.length !== 0 : !0)));
3156
- t.entityType === Se.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (y = d.route) != null && y.id && (d.route = d.route.id), (g = d.consumer) != null && g.id && (d.consumer = d.consumer.id), (k = d.consumer_group) != null && k.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === Se.Key && (C = d.key_set) != null && C.id && (d.key_set = d.key_set.id);
3162
+ t.entityType === Se.Plugin ? ((m = d.service) != null && m.id && (d.service = d.service.id), (y = d.route) != null && y.id && (d.route = d.route.id), (h = d.consumer) != null && h.id && (d.consumer = d.consumer.id), (k = d.consumer_group) != null && k.id && (d.consumer_group = d.consumer_group.id)) : t.entityType === Se.Key && (C = d.key_set) != null && C.id && (d.key_set = d.key_set.id);
3157
3163
  const u = t.entityType === Se.KeySet ? "key_sets" : t.entityType + "s", p = {
3158
3164
  ...a.value,
3159
3165
  [u]: [d]
@@ -3161,32 +3167,34 @@ const Go = { class: "yaml-config config-card-code-block" }, Jn = /* @__PURE__ */
3161
3167
  return Wn.dump(p, { quotingType: '"' }).trim();
3162
3168
  }), s = $(() => o.value === "bash" ? "export DECK_KONNECT_TOKEN='YOUR_KONNECT_PAT'" : '$env:DECK_KONNECT_TOKEN = "YOUR_KONNECT_PAT"'), c = $(() => {
3163
3169
  let d = "deck gateway apply -";
3164
- return t.geoApiServerUrl && (d += ` --konnect-addr ${t.geoApiServerUrl}`), o.value === "bash" ? `echo '
3170
+ return t.geoApiServerUrl ? d += ` --konnect-addr ${t.geoApiServerUrl}` : t.kongAdminApiUrl && (d += ` --kong-addr ${t.kongAdminApiUrl}`), o.value === "bash" ? `echo '
3165
3171
  ${l.value}
3166
3172
  ' | ${d}` : `@'
3167
3173
  ${l.value}
3168
3174
  '@ | ${d}`;
3169
3175
  });
3170
3176
  return (d, u) => {
3171
- const p = P("KSelect"), m = P("KBadge"), y = P("KCodeBlock");
3172
- return h(), T("div", ll, [
3177
+ const p = D("KSelect"), m = D("KBadge"), y = D("KCodeBlock");
3178
+ return g(), T("div", ll, [
3173
3179
  K(p, {
3174
3180
  modelValue: o.value,
3175
- "onUpdate:modelValue": u[0] || (u[0] = (g) => o.value = g),
3181
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => o.value = h),
3176
3182
  items: r
3177
3183
  }, {
3178
- "item-template": _(({ item: g }) => [
3179
- g.value === "powershell" ? (h(), M(A(gt), { key: 0 })) : (h(), M(A(yt), { key: 1 })),
3180
- q(" " + O(g.label), 1)
3184
+ "item-template": _(({ item: h }) => [
3185
+ h.value === "powershell" ? (g(), N(A(ht), { key: 0 })) : (g(), N(A(yt), { key: 1 })),
3186
+ q(" " + O(h.label), 1)
3181
3187
  ]),
3182
- "selected-item-template": _(({ item: g }) => [
3183
- g.value === "powershell" ? (h(), M(A(gt), { key: 0 })) : (h(), M(A(yt), { key: 1 })),
3184
- q(" " + O(g.label), 1)
3188
+ "selected-item-template": _(({ item: h }) => [
3189
+ h.value === "powershell" ? (g(), N(A(ht), { key: 0 })) : (g(), N(A(yt), { key: 1 })),
3190
+ q(" " + O(h.label), 1)
3185
3191
  ]),
3186
3192
  _: 1
3187
3193
  }, 8, ["modelValue"]),
3188
3194
  L("p", null, [
3189
- K(A(i), { keypath: "deckCodeBlock.hint" }, {
3195
+ K(A(i), {
3196
+ keypath: `deckCodeBlock.hint.${e.app}`
3197
+ }, {
3190
3198
  token: _(() => [
3191
3199
  K(m, null, {
3192
3200
  default: _(() => [...u[1] || (u[1] = [
@@ -3196,36 +3204,39 @@ ${l.value}
3196
3204
  })
3197
3205
  ]),
3198
3206
  link: _(() => [
3199
- K(A(oi), { href: "https://developer.konghq.com/deck/get-started/" }, {
3207
+ K(A(oi), {
3208
+ href: e.app === "konnect" ? "https://developer.konghq.com/deck/get-started/" : "https://developer.konghq.com/deck/gateway/configuration/"
3209
+ }, {
3200
3210
  default: _(() => [
3201
3211
  q(O(A(n).t("deckCodeBlock.documentation")), 1)
3202
3212
  ]),
3203
3213
  _: 1
3204
- })
3214
+ }, 8, ["href"])
3205
3215
  ]),
3206
3216
  _: 1
3207
- })
3217
+ }, 8, ["keypath"])
3208
3218
  ]),
3209
- K(y, {
3219
+ e.app === "konnect" ? (g(), N(y, {
3220
+ key: 0,
3210
3221
  id: "deck-env-codeblock",
3211
3222
  code: s.value,
3212
3223
  language: o.value,
3213
3224
  "single-line": "",
3214
3225
  theme: "dark",
3215
3226
  onCodeBlockRender: A(Te)
3216
- }, null, 8, ["code", "language", "onCodeBlockRender"]),
3217
- t.entityRecord ? (h(), M(y, {
3218
- key: 0,
3227
+ }, null, 8, ["code", "language", "onCodeBlockRender"])) : P("", !0),
3228
+ t.entityRecord ? (g(), N(y, {
3229
+ key: 1,
3219
3230
  id: "deck-codeblock",
3220
3231
  code: c.value,
3221
3232
  language: o.value,
3222
3233
  theme: "dark",
3223
3234
  onCodeBlockRender: A(Te)
3224
- }, null, 8, ["code", "language", "onCodeBlockRender"])) : j("", !0)
3235
+ }, null, 8, ["code", "language", "onCodeBlockRender"])) : P("", !0)
3225
3236
  ]);
3226
3237
  };
3227
3238
  }
3228
- }), cl = /* @__PURE__ */ le(sl, [["__scopeId", "data-v-22097768"]]), ul = ["novalidate"], dl = /* @__PURE__ */ z({
3239
+ }), cl = /* @__PURE__ */ le(sl, [["__scopeId", "data-v-a014ea37"]]), ul = ["novalidate"], dl = /* @__PURE__ */ z({
3229
3240
  __name: "EntityBaseForm",
3230
3241
  props: {
3231
3242
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -3349,7 +3360,7 @@ ${l.value}
3349
3360
  emits: ["loading", "fetch:success", "fetch:error", "submit", "cancel", "codeBlockTabChange"],
3350
3361
  setup(e, { expose: t, emit: n }) {
3351
3362
  var X;
3352
- const i = n, r = e, o = hi(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: l } = W.useErrors(), { axiosInstance: s } = W.useAxios((X = r.config) == null ? void 0 : X.axiosRequestConfig), c = N(!1), d = $(() => !!r.editId), u = N(!1), p = N(""), m = $(() => r.canSubmit === !1 || r.isReadonly), y = N(!1), g = $(() => {
3363
+ const i = n, r = e, o = gi(), { i18n: { t: a } } = W.useI18n(), { getMessageFromError: l } = W.useErrors(), { axiosInstance: s } = W.useAxios((X = r.config) == null ? void 0 : X.axiosRequestConfig), c = M(!1), d = $(() => !!r.editId), u = M(!1), p = M(""), m = $(() => r.canSubmit === !1 || r.isReadonly), y = M(!1), h = $(() => {
3353
3364
  var w, F;
3354
3365
  let S = `${r.config.apiBaseUrl}${r.fetchUrl}`;
3355
3366
  return r.config.app === "konnect" ? S = S.replace(/{controlPlaneId}/gi, ((w = r.config) == null ? void 0 : w.controlPlaneId) || "") : r.config.app === "kongManager" && (S = S.replace(/\/{workspace}/gi, (F = r.config) != null && F.workspace ? `/${r.config.workspace}` : "")), r.editId ? (S = S.replace(/{id}/gi, r.editId), S) : (S = S.replace(/\/{id}/gi, ""), S);
@@ -3361,7 +3372,7 @@ ${l.value}
3361
3372
  i("cancel");
3362
3373
  }, B = () => {
3363
3374
  m.value || i("submit");
3364
- }, D = N([
3375
+ }, j = M([
3365
3376
  {
3366
3377
  title: a("baseForm.configuration.json"),
3367
3378
  hash: "#json"
@@ -3371,10 +3382,10 @@ ${l.value}
3371
3382
  hash: "#yaml"
3372
3383
  }
3373
3384
  ]);
3374
- return r.config.app === "konnect" && r.entityType !== Se.Other && D.value.splice(1, 0, {
3385
+ return r.config.app === "konnect" && r.entityType !== Se.Other && j.value.splice(1, 0, {
3375
3386
  title: a("baseForm.configuration.terraform"),
3376
3387
  hash: "#terraform"
3377
- }), r.config.app === "konnect" && r.config.enableDeckTab && vi.includes(r.entityType) && D.value.push({
3388
+ }), r.config.app === "konnect" && r.config.enableDeckTab && vi.includes(r.entityType) && j.value.push({
3378
3389
  title: a("baseForm.configuration.deck"),
3379
3390
  hash: "#deck"
3380
3391
  }), be(() => c.value, (S) => {
@@ -3383,7 +3394,7 @@ ${l.value}
3383
3394
  if (r.editId)
3384
3395
  try {
3385
3396
  u.value = !1, c.value = !0;
3386
- const { data: S } = await s.get(g.value);
3397
+ const { data: S } = await s.get(h.value);
3387
3398
  i("fetch:success", S);
3388
3399
  } catch (S) {
3389
3400
  const w = l(S);
@@ -3396,13 +3407,13 @@ ${l.value}
3396
3407
  formCancel: x,
3397
3408
  formSubmit: B
3398
3409
  }), (S, w) => {
3399
- const F = P("KSkeleton"), f = P("KEmptyState"), v = P("KAlert"), b = P("KButton"), V = P("KTabs"), J = P("KSlideout");
3400
- return h(), M(Pe(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3410
+ const F = D("KSkeleton"), f = D("KEmptyState"), v = D("KAlert"), b = D("KButton"), V = D("KTabs"), J = D("KSlideout");
3411
+ return g(), N(De(e.wrapperComponent), { class: "kong-ui-entity-base-form" }, {
3401
3412
  default: _(() => [
3402
- c.value ? (h(), M(F, {
3413
+ c.value ? (g(), N(F, {
3403
3414
  key: 0,
3404
3415
  type: "form"
3405
- })) : u.value ? (h(), M(f, {
3416
+ })) : u.value ? (g(), N(f, {
3406
3417
  key: 1,
3407
3418
  "action-button-text": A(a)("baseForm.actions.back"),
3408
3419
  "data-testid": "form-fetch-error",
@@ -3413,7 +3424,7 @@ ${l.value}
3413
3424
  L("h3", null, O(p.value), 1)
3414
3425
  ]),
3415
3426
  _: 1
3416
- }, 8, ["action-button-text"])) : (h(), T("form", {
3427
+ }, 8, ["action-button-text"])) : (g(), T("form", {
3417
3428
  key: 2,
3418
3429
  "data-testid": "form-content",
3419
3430
  novalidate: r.noValidate,
@@ -3421,13 +3432,13 @@ ${l.value}
3421
3432
  onSubmit: Re(B, ["prevent"])
3422
3433
  }, [
3423
3434
  U(S.$slots, "default", {}, void 0, !0),
3424
- e.errorMessage ? (h(), M(v, {
3435
+ e.errorMessage ? (g(), N(v, {
3425
3436
  key: 0,
3426
3437
  appearance: "danger",
3427
3438
  "data-testid": "form-error",
3428
3439
  message: e.errorMessage
3429
- }, null, 8, ["message"])) : j("", !0),
3430
- e.hideActions ? j("", !0) : (h(), M(Wt, {
3440
+ }, null, 8, ["message"])) : P("", !0),
3441
+ e.hideActions ? P("", !0) : (g(), N(Wt, {
3431
3442
  key: 1,
3432
3443
  disabled: !e.actionTeleportTarget,
3433
3444
  to: e.actionTeleportTarget
@@ -3488,14 +3499,14 @@ ${l.value}
3488
3499
  L("div", null, O(A(a)("baseForm.configuration.message")), 1),
3489
3500
  K(V, {
3490
3501
  "data-testid": "form-view-configuration-slideout-tabs",
3491
- tabs: D.value,
3502
+ tabs: j.value,
3492
3503
  onChange: w[3] || (w[3] = (E) => i("codeBlockTabChange", E.replace("#", "")))
3493
3504
  }, {
3494
3505
  json: _(() => [
3495
3506
  K(rn, {
3496
3507
  config: e.config,
3497
3508
  "entity-record": r.formFields,
3498
- "fetcher-url": g.value,
3509
+ "fetcher-url": h.value,
3499
3510
  "request-method": r.editId ? "put" : "post"
3500
3511
  }, null, 8, ["config", "entity-record", "fetcher-url", "request-method"])
3501
3512
  ]),
@@ -3513,11 +3524,14 @@ ${l.value}
3513
3524
  ]),
3514
3525
  deck: _(() => [
3515
3526
  K(cl, {
3527
+ app: e.config.app,
3516
3528
  "control-plane-name": e.config.app === "konnect" ? e.config.controlPlaneName : void 0,
3517
3529
  "entity-record": r.formFields,
3518
3530
  "entity-type": e.entityType,
3519
- "geo-api-server-url": e.config.app === "konnect" ? e.config.geoApiServerUrl : void 0
3520
- }, null, 8, ["control-plane-name", "entity-record", "entity-type", "geo-api-server-url"])
3531
+ "geo-api-server-url": e.config.app === "konnect" ? e.config.geoApiServerUrl : void 0,
3532
+ "kong-admin-api-url": e.config.app === "kongManager" ? e.config.kongAdminApiUrl : void 0,
3533
+ workspace: e.config.app === "kongManager" ? e.config.workspace : void 0
3534
+ }, null, 8, ["app", "control-plane-name", "entity-record", "entity-type", "geo-api-server-url", "kong-admin-api-url", "workspace"])
3521
3535
  ]),
3522
3536
  _: 1
3523
3537
  }, 8, ["tabs"])
@@ -3529,7 +3543,7 @@ ${l.value}
3529
3543
  });
3530
3544
  };
3531
3545
  }
3532
- }), Os = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-23f330b9"]]), fl = ["data-truncate"], pl = /* @__PURE__ */ z({
3546
+ }), Os = /* @__PURE__ */ le(dl, [["__scopeId", "data-v-f38ef70b"]]), fl = ["data-truncate"], pl = /* @__PURE__ */ z({
3533
3547
  __name: "EntityBaseTableCell",
3534
3548
  props: {
3535
3549
  keyName: {
@@ -3564,11 +3578,11 @@ ${l.value}
3564
3578
  var C, x, B;
3565
3579
  let k = ((C = n.value) == null ? void 0 : C.clientWidth) || 0;
3566
3580
  if (n.value && "getComputedStyle" in window) {
3567
- const D = window.getComputedStyle(n.value);
3568
- k -= (parseFloat(D.paddingLeft) || 0) + (parseFloat(D.paddingRight) || 0);
3581
+ const j = window.getComputedStyle(n.value);
3582
+ k -= (parseFloat(j.paddingLeft) || 0) + (parseFloat(j.paddingRight) || 0);
3569
3583
  }
3570
3584
  d.value = ((x = i.value) == null ? void 0 : x.getBoundingClientRect().width) || 0, u.value = k, p.value = ((B = c.value) == null ? void 0 : B.innerText) || "";
3571
- }, c = N({}), d = N(0), u = N(0), p = N(""), m = $(() => [i.value, n.value]), y = be(
3585
+ }, c = M({}), d = M(0), u = M(0), p = M(""), m = $(() => [i.value, n.value]), y = be(
3572
3586
  m,
3573
3587
  (k) => {
3574
3588
  if (o.value && (l(), "ResizeObserver" in window && window)) {
@@ -3582,26 +3596,26 @@ ${l.value}
3582
3596
  }
3583
3597
  },
3584
3598
  { immediate: !0, flush: "post", deep: !0 }
3585
- ), g = $(() => o.value ? d.value > u.value : !1);
3599
+ ), h = $(() => o.value ? d.value > u.value : !1);
3586
3600
  return it(() => {
3587
3601
  s();
3588
3602
  }), ei(() => {
3589
3603
  y();
3590
3604
  }), (k, C) => {
3591
- const x = P("KTooltip");
3592
- return h(), T("span", {
3605
+ const x = D("KTooltip");
3606
+ return g(), T("span", {
3593
3607
  ref_key: "contentRef",
3594
3608
  ref: c,
3595
3609
  class: "content-wrapper"
3596
3610
  }, [
3597
- o.value ? (h(), T("span", {
3611
+ o.value ? (g(), T("span", {
3598
3612
  key: 0,
3599
3613
  "data-truncate": o.value || void 0
3600
3614
  }, [
3601
3615
  K(x, {
3602
3616
  "max-width": "300",
3603
3617
  placement: "bottom-start",
3604
- text: g.value ? p.value : ""
3618
+ text: h.value ? p.value : ""
3605
3619
  }, {
3606
3620
  default: _(() => [
3607
3621
  U(k.$slots, "default", {}, void 0, !0)
@@ -3612,7 +3626,7 @@ ${l.value}
3612
3626
  ], 512);
3613
3627
  };
3614
3628
  }
3615
- }), ml = /* @__PURE__ */ le(pl, [["__scopeId", "data-v-a3a65cac"]]), hl = { class: "toolbar-container" }, gl = {
3629
+ }), ml = /* @__PURE__ */ le(pl, [["__scopeId", "data-v-a3a65cac"]]), gl = { class: "toolbar-container" }, hl = {
3616
3630
  key: 0,
3617
3631
  class: "toolbar-button-container"
3618
3632
  }, yl = {
@@ -3792,7 +3806,7 @@ ${l.value}
3792
3806
  "data-rowid": f.id,
3793
3807
  "data-testid": f.name,
3794
3808
  ...n.rowAttributes(f)
3795
- }), c = N({}), d = (f) => {
3809
+ }), c = M({}), d = (f) => {
3796
3810
  var v;
3797
3811
  return (v = c.value) == null ? void 0 : v.$el.querySelector(`[data-rowid="${f.id}"]`);
3798
3812
  }, u = (f) => {
@@ -3811,12 +3825,12 @@ ${l.value}
3811
3825
  i("empty-state-cta-clicked"), y();
3812
3826
  }, y = () => {
3813
3827
  i("clear-search-input");
3814
- }, g = $(() => n.disableRowClick ? void 0 : (f, v) => {
3828
+ }, h = $(() => n.disableRowClick ? void 0 : (f, v) => {
3815
3829
  i("click:row", v);
3816
3830
  }), k = (f) => {
3817
3831
  i("sort", f);
3818
- }, { hideTableToolbar: C, handleStateChange: x } = W.useTableState(() => n.query), { setTablePreferences: B, getTablePreferences: D } = _i(), X = N(D(a.value, n.defaultTablePreferences)), S = $(() => {
3819
- const f = D(a.value);
3832
+ }, { hideTableToolbar: C, handleStateChange: x } = W.useTableState(() => n.query), { setTablePreferences: B, getTablePreferences: j } = _i(), X = M(j(a.value, n.defaultTablePreferences)), S = $(() => {
3833
+ const f = j(a.value);
3820
3834
  return {
3821
3835
  ...n.initialFetcherParams,
3822
3836
  ...f
@@ -3831,8 +3845,8 @@ ${l.value}
3831
3845
  ...n.paginationAttributes
3832
3846
  }));
3833
3847
  return (f, v) => {
3834
- const b = P("KTableData"), V = P("KCard");
3835
- return h(), M(V, {
3848
+ const b = D("KTableData"), V = D("KCard");
3849
+ return g(), N(V, {
3836
3850
  class: "kong-ui-entity-base-table",
3837
3851
  title: e.title,
3838
3852
  "title-tag": e.titleTag
@@ -3869,17 +3883,17 @@ ${l.value}
3869
3883
  sortable: !e.disableSorting,
3870
3884
  "table-preferences": X.value,
3871
3885
  onEmptyStateActionClick: m,
3872
- "onRow:click": g.value,
3886
+ "onRow:click": h.value,
3873
3887
  onSort: v[0] || (v[0] = (J) => k(J)),
3874
3888
  onState: p,
3875
3889
  "onUpdate:tablePreferences": w
3876
3890
  }, $e({
3877
3891
  toolbar: _(() => [
3878
- L("div", hl, [
3892
+ L("div", gl, [
3879
3893
  U(f.$slots, "toolbar-filter", {}, void 0, !0),
3880
- f.$slots["toolbar-button"] ? (h(), T("div", gl, [
3894
+ f.$slots["toolbar-button"] ? (g(), T("div", hl, [
3881
3895
  U(f.$slots, "toolbar-button", {}, void 0, !0)
3882
- ])) : j("", !0)
3896
+ ])) : P("", !0)
3883
3897
  ])
3884
3898
  ]),
3885
3899
  "action-items": _(({ row: J }) => [
@@ -3923,9 +3937,9 @@ ${l.value}
3923
3937
  key: "1"
3924
3938
  }
3925
3939
  ]), 1032, ["cache-identifier", "client-sort", "empty-state-action-message", "empty-state-action-route", "empty-state-icon-variant", "empty-state-message", "empty-state-title", "error", "error-state-message", "error-state-title", "fetcher", "fetcher-cache-key", "headers", "hide-pagination", "hide-pagination-when-optional", "hide-toolbar", "initial-fetcher-params", "loading", "pagination-attributes", "row-key", "search-input", "sort-handler-function", "sortable", "table-preferences", "onRow:click"]),
3926
- f.$slots["outside-actions"] && A(C) ? (h(), T("div", yl, [
3940
+ f.$slots["outside-actions"] && A(C) ? (g(), T("div", yl, [
3927
3941
  U(f.$slots, "outside-actions", {}, void 0, !0)
3928
- ])) : j("", !0)
3942
+ ])) : P("", !0)
3929
3943
  ]),
3930
3944
  _: 3
3931
3945
  }, 8, ["title", "title-tag"]);
@@ -3982,8 +3996,8 @@ ${l.value}
3982
3996
  r("proceed");
3983
3997
  };
3984
3998
  return (s, c) => {
3985
- const d = P("KAlert"), u = P("KPrompt");
3986
- return h(), M(u, {
3999
+ const d = D("KAlert"), u = D("KPrompt");
4000
+ return g(), N(u, {
3987
4001
  "action-button-appearance": "danger",
3988
4002
  "action-button-disabled": e.actionPending,
3989
4003
  "action-button-text": "Yes, delete",
@@ -3995,14 +4009,14 @@ ${l.value}
3995
4009
  onProceed: l
3996
4010
  }, {
3997
4011
  default: _(() => [
3998
- e.error ? (h(), T("div", bl, [
4012
+ e.error ? (g(), T("div", bl, [
3999
4013
  K(d, { appearance: "danger" }, {
4000
4014
  default: _(() => [
4001
4015
  q(O(e.error), 1)
4002
4016
  ]),
4003
4017
  _: 1
4004
4018
  })
4005
- ])) : j("", !0),
4019
+ ])) : P("", !0),
4006
4020
  K(A(n), {
4007
4021
  class: "message",
4008
4022
  keypath: i.entityName ? "deleteModal.messageWithName" : "deleteModal.message",
@@ -4021,11 +4035,11 @@ ${l.value}
4021
4035
  key: "0"
4022
4036
  } : void 0
4023
4037
  ]), 1032, ["keypath"]),
4024
- i.description || s.$slots.description ? (h(), T("div", kl, [
4038
+ i.description || s.$slots.description ? (g(), T("div", kl, [
4025
4039
  U(s.$slots, "description", {}, () => [
4026
4040
  L("p", null, O(i.description), 1)
4027
4041
  ], !0)
4028
- ])) : j("", !0)
4042
+ ])) : P("", !0)
4029
4043
  ]),
4030
4044
  _: 3
4031
4045
  }, 8, ["action-button-disabled", "confirmation-text", "title", "visible"]);
@@ -4045,7 +4059,7 @@ ${l.value}
4045
4059
  width: "20",
4046
4060
  x: "0",
4047
4061
  y: "0"
4048
- }, _l = ["fill"], wl = { mask: "url(#mask0_180_20349)" }, Sl = ["fill"], Pt = /* @__PURE__ */ z({
4062
+ }, _l = ["fill"], wl = { mask: "url(#mask0_180_20349)" }, Sl = ["fill"], Dt = /* @__PURE__ */ z({
4049
4063
  __name: "IconFilter",
4050
4064
  props: {
4051
4065
  color: {
@@ -4054,7 +4068,7 @@ ${l.value}
4054
4068
  }
4055
4069
  },
4056
4070
  setup(e) {
4057
- return (t, n) => (h(), T("svg", xl, [
4071
+ return (t, n) => (g(), T("svg", xl, [
4058
4072
  L("mask", Al, [
4059
4073
  L("rect", {
4060
4074
  fill: e.color,
@@ -4093,7 +4107,7 @@ ${l.value}
4093
4107
  },
4094
4108
  emits: ["update:modelValue"],
4095
4109
  setup(e, { emit: t }) {
4096
- const { i18n: { t: n } } = W.useI18n(), i = e, r = t, o = N(!1), a = N({}), l = N(/* @__PURE__ */ new Set()), s = $(() => {
4110
+ const { i18n: { t: n } } = W.useI18n(), i = e, r = t, o = M(!1), a = M({}), l = M(/* @__PURE__ */ new Set()), s = $(() => {
4097
4111
  const S = [];
4098
4112
  return new URLSearchParams(i.modelValue).forEach((w, F) => {
4099
4113
  w !== "" && S.push(F);
@@ -4122,7 +4136,7 @@ ${l.value}
4122
4136
  r("update:modelValue", S);
4123
4137
  }, m = () => {
4124
4138
  p("");
4125
- }, y = (S) => `filter-${S}`, g = (S) => {
4139
+ }, y = (S) => `filter-${S}`, h = (S) => {
4126
4140
  var w, F;
4127
4141
  return (((F = (w = i.config.schema) == null ? void 0 : w[S]) == null ? void 0 : F.values) ?? []).map((f) => typeof f == "string" ? { value: f, label: f } : f);
4128
4142
  }, k = (S) => {
@@ -4138,7 +4152,7 @@ ${l.value}
4138
4152
  }, B = (S = !1) => {
4139
4153
  const w = Object.keys(a.value).reduce((F, f) => (a.value[f] && (F[f] = `${a.value[f]}`), F), {});
4140
4154
  S && (o.value = !1), r("update:modelValue", new URLSearchParams(w).toString());
4141
- }, D = (S) => {
4155
+ }, j = (S) => {
4142
4156
  var w, F;
4143
4157
  return !!((F = (w = i.config.schema) == null ? void 0 : w[S]) != null && F.filterFunction);
4144
4158
  }, X = (S, w) => {
@@ -4147,8 +4161,8 @@ ${l.value}
4147
4161
  return (F == null ? void 0 : F.filterFunction) === void 0 ? !0 : F.filterFunction(w);
4148
4162
  };
4149
4163
  return (S, w) => {
4150
- const F = P("KInput"), f = P("KButton"), v = P("KSelect");
4151
- return e.config.isExactMatch ? (h(), M(F, {
4164
+ const F = D("KInput"), f = D("KButton"), v = D("KSelect");
4165
+ return e.config.isExactMatch ? (g(), N(F, {
4152
4166
  key: 0,
4153
4167
  autocomplete: "off",
4154
4168
  class: "kong-ui-entity-filter-input",
@@ -4158,7 +4172,7 @@ ${l.value}
4158
4172
  "onUpdate:modelValue": p
4159
4173
  }, {
4160
4174
  before: _(() => [
4161
- K(Pt)
4175
+ K(Dt)
4162
4176
  ]),
4163
4177
  after: _(() => [
4164
4178
  ke(K(A(fi), {
@@ -4171,14 +4185,14 @@ ${l.value}
4171
4185
  ])
4172
4186
  ]),
4173
4187
  _: 1
4174
- }, 8, ["model-value", "placeholder"])) : (h(), T("div", $l, [
4188
+ }, 8, ["model-value", "placeholder"])) : (g(), T("div", $l, [
4175
4189
  K(f, {
4176
4190
  appearance: "tertiary",
4177
4191
  "data-testid": "filter-button",
4178
4192
  onClick: d
4179
4193
  }, {
4180
4194
  default: _(() => [
4181
- K(Pt),
4195
+ K(Dt),
4182
4196
  q(" " + O(A(n)("filter.filterButtonText")) + " " + O(s.value.length > 0 ? `(${s.value.length})` : ""), 1)
4183
4197
  ]),
4184
4198
  _: 1
@@ -4190,9 +4204,9 @@ ${l.value}
4190
4204
  [Ce, o.value]
4191
4205
  ]),
4192
4206
  ke(L("div", Tl, [
4193
- (h(!0), T(ue, null, ce(c.value, (b) => {
4207
+ (g(!0), T(ue, null, ce(c.value, (b) => {
4194
4208
  var V, J;
4195
- return h(), T("div", {
4209
+ return g(), T("div", {
4196
4210
  key: b.value,
4197
4211
  class: "kong-ui-entity-filter-menu-item",
4198
4212
  "data-testid": b.value
@@ -4218,16 +4232,16 @@ ${l.value}
4218
4232
  class: "menu-item-label",
4219
4233
  for: y(b.value)
4220
4234
  }, O(A(n)("filter.fieldLabel")), 9, Bl),
4221
- ((J = (V = e.config.schema) == null ? void 0 : V[b.value]) == null ? void 0 : J.type) === "select" ? (h(), M(v, {
4235
+ ((J = (V = e.config.schema) == null ? void 0 : V[b.value]) == null ? void 0 : J.type) === "select" ? (g(), N(v, {
4222
4236
  key: 0,
4223
4237
  id: y(b.value),
4224
4238
  modelValue: a.value[b.value],
4225
4239
  "onUpdate:modelValue": (E) => a.value[b.value] = E,
4226
- "enable-filtering": D(b.value),
4240
+ "enable-filtering": j(b.value),
4227
4241
  "filter-function": (E) => X(b.value, E),
4228
- items: g(b.value),
4242
+ items: h(b.value),
4229
4243
  placeholder: A(n)("filter.selectPlaceholder")
4230
- }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (h(), M(F, {
4244
+ }, null, 8, ["id", "modelValue", "onUpdate:modelValue", "enable-filtering", "filter-function", "items", "placeholder"])) : (g(), N(F, {
4231
4245
  key: 1,
4232
4246
  id: y(b.value),
4233
4247
  modelValue: a.value[b.value],
@@ -4317,7 +4331,7 @@ ${l.value}
4317
4331
  },
4318
4332
  emits: ["cancel", "proceed"],
4319
4333
  setup(e, { emit: t }) {
4320
- const { i18n: { t: n }, i18nT: i } = W.useI18n(), r = e, o = t, a = N(!1), l = $(
4334
+ const { i18n: { t: n }, i18nT: i } = W.useI18n(), r = e, o = t, a = M(!1), l = $(
4321
4335
  () => r.action === "enable" ? n("toggleModal.enable.title", { entityType: r.entityType }) : n("toggleModal.disable.title", { entityType: r.entityType })
4322
4336
  ), s = $(
4323
4337
  () => r.action === "enable" ? n("toggleModal.enable.confirmText") : n("toggleModal.disable.confirmText")
@@ -4334,8 +4348,8 @@ ${l.value}
4334
4348
  }
4335
4349
  };
4336
4350
  return (u, p) => {
4337
- const m = P("KPrompt");
4338
- return h(), M(Wt, { to: "body" }, [
4351
+ const m = D("KPrompt");
4352
+ return g(), N(Wt, { to: "body" }, [
4339
4353
  K(m, {
4340
4354
  "action-button-disabled": a.value,
4341
4355
  "action-button-text": s.value,
@@ -4386,13 +4400,13 @@ ${l.value}
4386
4400
  }
4387
4401
  },
4388
4402
  setup(e) {
4389
- const t = e, n = N(void 0), i = $(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4403
+ const t = e, n = M(void 0), i = $(() => n.value === !0 || n.value !== void 0 && t.forceShow === !0);
4390
4404
  return be(() => t.authFunction, async () => {
4391
4405
  n.value = await t.authFunction();
4392
4406
  }, { immediate: !0 }), (r, o) => i.value ? U(r.$slots, "default", {
4393
4407
  key: 0,
4394
4408
  isAllowed: n.value
4395
- }) : j("", !0);
4409
+ }) : P("", !0);
4396
4410
  }
4397
4411
  }), ne = [];
4398
4412
  for (let e = 0; e < 256; ++e)
@@ -4402,7 +4416,7 @@ function Nl(e, t = 0) {
4402
4416
  }
4403
4417
  let ze;
4404
4418
  const Ml = new Uint8Array(16);
4405
- function jl() {
4419
+ function Pl() {
4406
4420
  if (!ze) {
4407
4421
  if (typeof crypto > "u" || !crypto.getRandomValues)
4408
4422
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
@@ -4410,13 +4424,13 @@ function jl() {
4410
4424
  }
4411
4425
  return ze(Ml);
4412
4426
  }
4413
- const Dl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ut = { randomUUID: Dl };
4414
- function Pl(e, t, n) {
4427
+ const jl = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ut = { randomUUID: jl };
4428
+ function Dl(e, t, n) {
4415
4429
  var r;
4416
4430
  if (Ut.randomUUID && !e)
4417
4431
  return Ut.randomUUID();
4418
4432
  e = e || {};
4419
- const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? jl();
4433
+ const i = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? Pl();
4420
4434
  if (i.length < 16)
4421
4435
  throw new Error("Random bytes length must be >= 16");
4422
4436
  return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Nl(i);
@@ -4456,18 +4470,18 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4456
4470
  }
4457
4471
  },
4458
4472
  setup(e) {
4459
- const t = Ue(), n = Pl();
4460
- return (i, r) => (h(), T("div", {
4473
+ const t = Ue(), n = Dl();
4474
+ return (i, r) => (g(), T("div", {
4461
4475
  "aria-labelledby": e.title ? A(n) : void 0,
4462
4476
  class: fe(["kong-ui-entity-form-section", { "has-divider": e.hasDivider }]),
4463
4477
  role: "group"
4464
4478
  }, [
4465
4479
  L("div", ql, [
4466
- e.hideInfoHeader ? j("", !0) : (h(), T("div", {
4480
+ e.hideInfoHeader ? P("", !0) : (g(), T("div", {
4467
4481
  key: 0,
4468
4482
  class: fe(["form-section-info", { sticky: e.stickyInfoHeader }])
4469
4483
  }, [
4470
- e.title ? (h(), M(Pe(e.titleTag), {
4484
+ e.title ? (g(), N(De(e.titleTag), {
4471
4485
  key: 0,
4472
4486
  id: A(n),
4473
4487
  class: "form-section-title"
@@ -4476,15 +4490,15 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4476
4490
  q(O(e.title), 1)
4477
4491
  ]),
4478
4492
  _: 1
4479
- }, 8, ["id"])) : j("", !0),
4480
- e.description || A(t).description ? (h(), T("div", Hl, [
4493
+ }, 8, ["id"])) : P("", !0),
4494
+ e.description || A(t).description ? (g(), T("div", Hl, [
4481
4495
  U(i.$slots, "description", {}, () => [
4482
4496
  L("p", null, O(e.description), 1)
4483
4497
  ], !0)
4484
- ])) : j("", !0),
4485
- A(t).footer ? (h(), T("div", Vl, [
4498
+ ])) : P("", !0),
4499
+ A(t).footer ? (g(), T("div", Vl, [
4486
4500
  U(i.$slots, "footer", {}, void 0, !0)
4487
- ])) : j("", !0)
4501
+ ])) : P("", !0)
4488
4502
  ], 2)),
4489
4503
  L("div", Yl, [
4490
4504
  U(i.$slots, "default", {}, void 0, !0)
@@ -4510,31 +4524,31 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4510
4524
  },
4511
4525
  setup(e) {
4512
4526
  const t = Ue();
4513
- return (n, i) => (h(), T("div", Jl, [
4527
+ return (n, i) => (g(), T("div", Jl, [
4514
4528
  L("header", Gl, [
4515
- e.step != null ? (h(), T("div", zl, O(e.step), 1)) : j("", !0),
4529
+ e.step != null ? (g(), T("div", zl, O(e.step), 1)) : P("", !0),
4516
4530
  L("div", Ql, [
4517
4531
  L("h2", Zl, [
4518
4532
  U(n.$slots, "title", {}, () => [
4519
4533
  q(O(e.title), 1)
4520
4534
  ], !0)
4521
4535
  ]),
4522
- e.description || t.description ? (h(), T("div", Xl, [
4536
+ e.description || t.description ? (g(), T("div", Xl, [
4523
4537
  U(n.$slots, "description", {}, () => [
4524
4538
  q(O(e.description), 1)
4525
4539
  ], !0)
4526
- ])) : j("", !0)
4540
+ ])) : P("", !0)
4527
4541
  ]),
4528
- t.extra ? (h(), T("div", es, [
4542
+ t.extra ? (g(), T("div", es, [
4529
4543
  U(n.$slots, "extra", {}, void 0, !0)
4530
- ])) : j("", !0)
4544
+ ])) : P("", !0)
4531
4545
  ]),
4532
4546
  L("div", ts, [
4533
4547
  U(n.$slots, "default", {}, void 0, !0)
4534
4548
  ])
4535
4549
  ]));
4536
4550
  }
4537
- }), js = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-cb6d2e95"]]), is = {
4551
+ }), Ps = /* @__PURE__ */ le(ns, [["__scopeId", "data-v-cb6d2e95"]]), is = {
4538
4552
  class: "kong-ui-public-entity-link",
4539
4553
  "data-testid": "entity-link-parent"
4540
4554
  }, rs = {
@@ -4564,7 +4578,7 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4564
4578
  }
4565
4579
  },
4566
4580
  setup(e) {
4567
- const t = e, n = N(), { isTruncated: i } = W.useTruncationDetector(n), { i18n: { t: r } } = W.useI18n(), o = r("global.actions.copyId"), a = N(o), l = $(() => t.entityLinkData.deleted ?? !1), s = $(() => {
4581
+ const t = e, n = M(), { isTruncated: i } = W.useTruncationDetector(n), { i18n: { t: r } } = W.useI18n(), o = r("global.actions.copyId"), a = M(o), l = $(() => t.entityLinkData.deleted ?? !1), s = $(() => {
4568
4582
  var u;
4569
4583
  return (u = t.entityLinkData.id) != null && u.toString().includes(":") ? t.entityLinkData.id.toString().split(":")[1] : t.entityLinkData.id;
4570
4584
  }), c = $(() => {
@@ -4576,9 +4590,9 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4576
4590
  }, 1800));
4577
4591
  };
4578
4592
  return (u, p) => {
4579
- const m = P("KTooltip"), y = P("KExternalLink"), g = P("KClipboardProvider");
4580
- return h(), T("div", is, [
4581
- l.value ? (h(), T("div", rs, O(c.value), 1)) : s.value ? s.value ? (h(), M(y, {
4593
+ const m = D("KTooltip"), y = D("KExternalLink"), h = D("KClipboardProvider");
4594
+ return g(), T("div", is, [
4595
+ l.value ? (g(), T("div", rs, O(c.value), 1)) : s.value ? s.value ? (g(), N(y, {
4582
4596
  key: 2,
4583
4597
  class: "entity-link",
4584
4598
  "hide-icon": !e.newWindow,
@@ -4600,8 +4614,8 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4600
4614
  }, 8, ["text"])
4601
4615
  ]),
4602
4616
  _: 1
4603
- }, 8, ["hide-icon", "href", "target"])) : j("", !0) : (h(), T("div", as, O(" – "))),
4604
- s.value && e.allowCopy ? (h(), M(m, {
4617
+ }, 8, ["hide-icon", "href", "target"])) : P("", !0) : (g(), T("div", as, O(" – "))),
4618
+ s.value && e.allowCopy ? (g(), N(m, {
4605
4619
  key: a.value,
4606
4620
  class: "copy-uuid-tooltip",
4607
4621
  "max-width": "160",
@@ -4609,7 +4623,7 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4609
4623
  text: a.value
4610
4624
  }, {
4611
4625
  default: _(() => [
4612
- K(g, null, {
4626
+ K(h, null, {
4613
4627
  default: _(({ copyToClipboard: k }) => [
4614
4628
  L("span", {
4615
4629
  class: "entity-link-copy-id",
@@ -4627,11 +4641,11 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4627
4641
  })
4628
4642
  ]),
4629
4643
  _: 1
4630
- }, 8, ["text"])) : j("", !0)
4644
+ }, 8, ["text"])) : P("", !0)
4631
4645
  ]);
4632
4646
  };
4633
4647
  }
4634
- }), Ds = /* @__PURE__ */ le(ls, [["__scopeId", "data-v-96efdfa5"]]), ss = { class: "kong-ui-public-entity-empty-state" }, cs = { class: "entity-empty-state-content" }, us = {
4648
+ }), js = /* @__PURE__ */ le(ls, [["__scopeId", "data-v-96efdfa5"]]), ss = { class: "kong-ui-public-entity-empty-state" }, cs = { class: "entity-empty-state-content" }, us = {
4635
4649
  key: 0,
4636
4650
  class: "empty-state-image"
4637
4651
  }, ds = {
@@ -4646,10 +4660,10 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4646
4660
  }, ms = {
4647
4661
  key: 0,
4648
4662
  class: "entity-empty-state-message"
4649
- }, hs = {
4663
+ }, gs = {
4650
4664
  key: 1,
4651
4665
  class: "entity-empty-state-action"
4652
- }, gs = {
4666
+ }, hs = {
4653
4667
  key: 2,
4654
4668
  class: "entity-empty-state-card-container"
4655
4669
  }, ys = {
@@ -4699,18 +4713,18 @@ const Ul = ["aria-labelledby"], ql = { class: "form-section-wrapper" }, Hl = {
4699
4713
  },
4700
4714
  emits: ["click:create", "click:learn-more"],
4701
4715
  setup(e) {
4702
- const t = e, { i18n: { t: n } } = W.useI18n(), i = N(!1), r = $(() => i.value && !!t.actionButtonText), o = $(() => vt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4716
+ const t = e, { i18n: { t: n } } = W.useI18n(), i = M(!1), r = $(() => i.value && !!t.actionButtonText), o = $(() => vt.includes(t.appearance) ? t.appearance : ["primary", t.appearance]);
4703
4717
  return rt(async () => {
4704
4718
  i.value = await t.canCreate();
4705
4719
  }), it(() => ni(`EntityEmptyState is deprecated and will be removed in future releases. Please use the KEmptyState component instead.
4706
4720
  Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) => {
4707
- const s = P("KCard");
4708
- return h(), T("div", ss, [
4721
+ const s = D("KCard");
4722
+ return g(), T("div", ss, [
4709
4723
  L("div", cs, [
4710
- a.$slots.image ? (h(), T("div", us, [
4724
+ a.$slots.image ? (g(), T("div", us, [
4711
4725
  U(a.$slots, "image", {}, void 0, !0)
4712
- ])) : j("", !0),
4713
- e.title || a.$slots.title ? (h(), T("div", ds, [
4726
+ ])) : P("", !0),
4727
+ e.title || a.$slots.title ? (g(), T("div", ds, [
4714
4728
  L("h1", {
4715
4729
  class: fe(o.value)
4716
4730
  }, [
@@ -4718,13 +4732,13 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4718
4732
  q(O(e.title), 1)
4719
4733
  ], !0)
4720
4734
  ], 2)
4721
- ])) : j("", !0),
4722
- e.description || a.$slots.default ? (h(), T("div", fs, [
4735
+ ])) : P("", !0),
4736
+ e.description || a.$slots.default ? (g(), T("div", fs, [
4723
4737
  U(a.$slots, "default", {}, () => [
4724
4738
  L("p", null, O(e.description), 1)
4725
4739
  ], !0)
4726
- ])) : j("", !0),
4727
- e.pricing || a.$slots.pricing ? (h(), T("div", ps, [
4740
+ ])) : P("", !0),
4741
+ e.pricing || a.$slots.pricing ? (g(), T("div", ps, [
4728
4742
  L("p", null, [
4729
4743
  L("b", null, O(A(n)("emptyState.pricingTitle")), 1),
4730
4744
  l[2] || (l[2] = q()),
@@ -4732,14 +4746,14 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4732
4746
  q(O(e.pricing), 1)
4733
4747
  ], !0)
4734
4748
  ])
4735
- ])) : j("", !0)
4749
+ ])) : P("", !0)
4736
4750
  ]),
4737
- a.$slots.message ? (h(), T("div", ms, [
4751
+ a.$slots.message ? (g(), T("div", ms, [
4738
4752
  U(a.$slots, "message", {}, void 0, !0)
4739
- ])) : j("", !0),
4740
- r.value || e.learnMore || a.$slots.actions ? (h(), T("div", hs, [
4753
+ ])) : P("", !0),
4754
+ r.value || e.learnMore || a.$slots.actions ? (g(), T("div", gs, [
4741
4755
  U(a.$slots, "actions", {}, () => [
4742
- r.value ? (h(), M(A(ht), {
4756
+ r.value ? (g(), N(A(gt), {
4743
4757
  key: 0,
4744
4758
  appearance: "primary",
4745
4759
  "data-testid": "entity-create-button",
@@ -4751,8 +4765,8 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4751
4765
  q(" " + O(e.actionButtonText), 1)
4752
4766
  ]),
4753
4767
  _: 1
4754
- }, 8, ["size"])) : j("", !0),
4755
- e.learnMore ? (h(), M(A(ht), {
4768
+ }, 8, ["size"])) : P("", !0),
4769
+ e.learnMore ? (g(), N(A(gt), {
4756
4770
  key: 1,
4757
4771
  appearance: "secondary",
4758
4772
  "data-testid": "entity-learn-more-button",
@@ -4764,18 +4778,18 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4764
4778
  q(" " + O(A(n)("emptyState.learnMore")), 1)
4765
4779
  ]),
4766
4780
  _: 1
4767
- }, 8, ["size"])) : j("", !0)
4781
+ }, 8, ["size"])) : P("", !0)
4768
4782
  ], !0)
4769
- ])) : j("", !0),
4770
- e.features.length ? (h(), T("div", gs, [
4771
- (h(!0), T(ue, null, ce(e.features, (c, d) => (h(), M(s, {
4783
+ ])) : P("", !0),
4784
+ e.features.length ? (g(), T("div", hs, [
4785
+ (g(!0), T(ue, null, ce(e.features, (c, d) => (g(), N(s, {
4772
4786
  key: c,
4773
4787
  class: "entity-empty-state-card"
4774
4788
  }, {
4775
4789
  title: _(() => [
4776
- a.$slots[`feature-${d}-icon`] ? (h(), T("div", ys, [
4790
+ a.$slots[`feature-${d}-icon`] ? (g(), T("div", ys, [
4777
4791
  U(a.$slots, `feature-${d}-icon`, {}, void 0, !0)
4778
- ])) : j("", !0),
4792
+ ])) : P("", !0),
4779
4793
  L("div", vs, O(c.title), 1)
4780
4794
  ]),
4781
4795
  default: _(() => [
@@ -4785,14 +4799,14 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4785
4799
  ]),
4786
4800
  _: 2
4787
4801
  }, 1024))), 128))
4788
- ])) : j("", !0),
4789
- a.$slots.bottom ? (h(), T("div", ks, [
4802
+ ])) : P("", !0),
4803
+ a.$slots.bottom ? (g(), T("div", ks, [
4790
4804
  U(a.$slots, "bottom", {}, void 0, !0)
4791
- ])) : j("", !0)
4805
+ ])) : P("", !0)
4792
4806
  ]);
4793
4807
  };
4794
4808
  }
4795
- }), Ps = /* @__PURE__ */ le(Cs, [["__scopeId", "data-v-645aae54"]]), xs = { key: 1 }, Us = /* @__PURE__ */ z({
4809
+ }), Ds = /* @__PURE__ */ le(Cs, [["__scopeId", "data-v-645aae54"]]), xs = { key: 1 }, Us = /* @__PURE__ */ z({
4796
4810
  __name: "TableTags",
4797
4811
  props: {
4798
4812
  /** The tags to display in the table */
@@ -4820,9 +4834,9 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4820
4834
  });
4821
4835
  return (i, r) => {
4822
4836
  var o;
4823
- return ((o = n.value) == null ? void 0 : o.length) > 0 ? (h(), M(A(li), { key: 0 }, {
4837
+ return ((o = n.value) == null ? void 0 : o.length) > 0 ? (g(), N(A(li), { key: 0 }, {
4824
4838
  default: _(() => [
4825
- (h(!0), T(ue, null, ce(n.value, (a) => (h(), M(A(si), {
4839
+ (g(!0), T(ue, null, ce(n.value, (a) => (g(), N(A(si), {
4826
4840
  key: a,
4827
4841
  "max-width": e.tagMaxWidth,
4828
4842
  onClick: r[0] || (r[0] = Re(() => {
@@ -4835,7 +4849,7 @@ Docs: https://kongponents.konghq.com/components/empty-state.html.`)), (a, l) =>
4835
4849
  }, 1032, ["max-width"]))), 128))
4836
4850
  ]),
4837
4851
  _: 1
4838
- })) : (h(), T("span", xs, "-"));
4852
+ })) : (g(), T("span", xs, "-"));
4839
4853
  };
4840
4854
  }
4841
4855
  }), { useAxios: qs, useDeleteUrlBuilder: Hs, useErrors: Vs, useExternalLinkCreator: Ys, useFetchUrlBuilder: Ws, useFetcher: Js, useFetcherCacheKey: Gs, useDebouncedFilter: zs, useStringHelpers: Qs, useHelpers: Zs, useGatewayFeatureSupported: Xs, useTruncationDetector: ec, useValidators: tc, useSchemaProvider: nc, useTableState: ic } = W;
@@ -4851,13 +4865,13 @@ export {
4851
4865
  yi as EntityBaseFormType,
4852
4866
  Bs as EntityBaseTable,
4853
4867
  Ls as EntityDeleteModal,
4854
- Ps as EntityEmptyState,
4868
+ Ds as EntityEmptyState,
4855
4869
  Rs as EntityFilter,
4856
- js as EntityFormBlock,
4870
+ Ps as EntityFormBlock,
4857
4871
  Ms as EntityFormSection,
4858
- Ds as EntityLink,
4872
+ js as EntityLink,
4859
4873
  Ks as EntityToggleModal,
4860
- gi as EntityTypes,
4874
+ hi as EntityTypes,
4861
4875
  bi as EventGatewayTypesArray,
4862
4876
  me as FetcherStatus,
4863
4877
  ki as IdentityTypesArray,